.season-registration {
    max-width: 1040px;
    margin: 40px auto 100px;
    color: #222;
}

.season-registration *,
.season-registration *::before,
.season-registration *::after { box-sizing: border-box; }

.season-state {
    padding: 60px 24px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    text-align: center;
    font-size: 17px;
}

.season-state.is-error { color: #b42318; }

.season-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.season-steps li {
    position: relative;
    padding: 14px 8px;
    border-bottom: 3px solid #ddd;
    color: #888;
    text-align: center;
    font-size: 14px;
}

.season-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    border-radius: 50%;
    background: #eee;
    font-weight: 700;
}

.season-steps li.is-active { border-color: #0f3775; color: #0f3775; font-weight: 700; }
.season-steps li.is-active span { background: #0f3775; color: #fff; }
.season-steps li.is-complete { border-color: #5680bd; color: #355e98; }

.season-panel { display: none; }
.season-panel.is-active { display: block; }

.season-hero {
    padding: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #102b58, #1d4b91);
    color: #fff;
}

.season-kicker { margin: 0 0 9px; color: #b9d0f4; font-weight: 700; letter-spacing: .08em; }
.season-hero h2 { margin: 0 0 14px; color: #fff; font-size: 30px; line-height: 1.35; }
.season-hero > p:not(.season-kicker) { margin: 0; color: rgba(255,255,255,.88); line-height: 1.7; }

.season-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 28px 0 0;
}

.season-summary div { padding: 15px; border-radius: 8px; background: rgba(255,255,255,.1); }
.season-summary dt { margin-bottom: 5px; color: #b9d0f4; font-size: 13px; font-weight: 700; }
.season-summary dd { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }

.season-card {
    margin-top: 22px;
    padding: 34px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.season-card h3 { margin: 0 0 8px; color: #111; font-size: 23px; }
.season-help { margin: 0 0 26px; color: #666; line-height: 1.6; }
.season-grid { display: grid; gap: 20px; }
.season-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.season-grid .full { grid-column: 1 / -1; }

.season-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.season-grid .season-field { margin-bottom: 0; }
.season-field > span:first-child,
.season-auth-type > span { color: #333; font-size: 14px; font-weight: 700; }
.season-field b,
.season-auth-type b,
.season-signature b { color: #d92d20; }
.season-field input,
.season-field select,
.season-field textarea,
.season-auth-row input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
}

.season-field textarea { resize: vertical; line-height: 1.6; }
.season-field input:focus,
.season-field select:focus,
.season-field textarea:focus,
.season-auth-row input:focus { border-color: #1d4b91; outline: 2px solid rgba(29,75,145,.12); }
.season-field input[readonly] { background: #f3f5f8; color: #555; }
.season-field small { color: #777; font-size: 12px; text-align: right; }
.season-field small em { color: #0f3775; font-style: normal; }
.season-address-search { display: flex; gap: 8px; }
.season-address-search input { flex: 1 1 auto; min-width: 0; }
.season-address-search button { flex: 0 0 auto; padding: 0 18px; border: 1px solid #0f3775; border-radius: 5px; background: #0f3775; color: #fff; font-weight: 700; cursor: pointer; }
.season-address-search button:hover { background: #08275a; }
.season-address-search button[hidden] { display: none; }
.season-name-guide {
    margin: -6px 0 0;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f3f6fb;
    color: #37536f;
    font-size: 13px;
    line-height: 1.55;
}

.season-inline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.season-inline i { color: #777; font-style: normal; }
.season-radio { display: flex; align-items: center; min-height: 46px; gap: 25px; }
.season-radio label,
.season-auth-type label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.season-radio input,
.season-auth-type input,
.season-agree input { width: 18px; height: 18px; accent-color: #0f3775; }

.season-auth-type { display: flex; align-items: center; gap: 22px; margin: 25px 0 12px; }
.season-auth-row { display: grid; grid-template-columns: 160px 1fr 160px; gap: 10px; }
.season-status { min-height: 22px; margin: 10px 0 0; color: #177245; font-size: 13px; }
.season-status.is-error { color: #b42318; }

.season-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}
.season-button:disabled { cursor: wait; opacity: .6; }
.season-button.primary { background: #0f3775; color: #fff !important; }
.season-button.primary:hover { background: #0a2858; }
.season-button.secondary { border-color: #0f3775; background: #fff; color: #0f3775; }
.season-button.ghost { border-color: #ccc; background: #fff; color: #555; }
.season-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.season-draft-notice { margin: 18px 0 -12px; color: #777; font-size: 12px; text-align: right; }

.season-hero > p.season-period-notice {
    margin: 18px 0 0;
    padding: 14px 18px;
    border: 1px solid #f0c36d;
    border-radius: 7px;
    background: #fff8e8;
    color: #7a4d00;
    line-height: 1.55;
}

.season-view-grid,
.season-submitted-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 22px 0 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.season-view-grid > div,
.season-submitted-summary > div { min-width: 0; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.season-view-grid dt,
.season-submitted-summary dt { padding: 10px 13px; background: #f5f6f8; color: #444; font-size: 13px; font-weight: 700; }
.season-view-grid dd,
.season-submitted-summary dd { min-height: 44px; margin: 0; padding: 11px 13px; color: #222; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }

.season-document {
    max-height: 430px;
    overflow: auto;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fafafa;
    color: #444;
    line-height: 1.8;
}
#agreementContent { max-height: none; overflow: visible; }
.season-preline { white-space: pre-line; }
.season-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.season-agree input { flex: 0 0 auto; margin-top: 2px; }

.season-signature { margin-top: 30px; }
.season-signature > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.season-signature button { border: 0; background: none; color: #0f3775; cursor: pointer; text-decoration: underline; }
#signatureCanvas { display: block; width: 100%; height: 220px; border: 1px solid #bbb; border-radius: 7px; background: #fff; touch-action: none; cursor: crosshair; }
.season-signature p { margin: 7px 0 0; color: #777; font-size: 12px; }

.season-complete { padding: 80px 20px; text-align: center; }
.season-complete-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #0f3775; color: #fff; font-size: 38px; }
.season-complete h2 { margin: 24px 0 12px; color: #111; font-size: 28px; }
.season-complete p { margin: 0 0 30px; color: #222; }

@media (prefers-color-scheme: dark) {
    .season-complete h2,
    .season-complete p { color: #fff; }
}

@media (max-width: 767px) {
    .season-registration { margin: 25px 15px 70px; }
    .season-registration-tabs { overflow-x: auto; }
    .season-steps { gap: 2px; }
    .season-steps li { padding: 10px 2px; font-size: 0; }
    .season-steps li span { margin: 0; font-size: 13px; }
    .season-hero { padding: 28px 22px; border-radius: 8px; }
    .season-hero h2 { font-size: 23px; }
    .season-summary { grid-template-columns: 1fr; }
    .season-card { padding: 24px 18px; border-radius: 8px; }
    .season-grid.two { grid-template-columns: 1fr; }
    .season-grid .full { grid-column: auto; }
	.season-view-grid,
	.season-submitted-summary { grid-template-columns: 1fr; }
    .season-auth-type { align-items: flex-start; flex-wrap: wrap; }
    .season-auth-type > span { width: 100%; }
    .season-auth-row { grid-template-columns: 1fr 1fr; }
    .season-auth-row input { grid-column: 1 / -1; grid-row: 1; }
    .season-button { min-width: 0; }
    .season-actions .season-button { flex: 1; }
    #signatureCanvas { height: 180px; }
}
