:root {
    --blue: #0783b9;
    --blue-deep: #075a86;
    --blue-soft: #eaf8fd;
    --pink: #eb0874;
    --ink: #172033;
    --muted: #687386;
    --line: #d9e3eb;
    --soft: #f4f7fa;
    --success: #168a4a;
    --danger: #bd2727;
    --shadow: 0 18px 48px rgba(20, 55, 80, .12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #f3f6f9;
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.site-header {
    height: 78px;
    padding: 0 max(22px, calc((100vw - 1080px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 156px; height: auto; }
.site-navigation { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); margin-left: auto; }
.site-navigation a { color: var(--ink); font-weight: 750; text-decoration: none; }
.site-navigation a:hover, .site-navigation a:focus-visible { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.header-account { display: flex; align-items: center; gap: 14px; margin-left: clamp(18px, 3vw, 38px); }
.header-account form { margin: 0; }
.header-login { min-width: 112px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--blue); border-radius: 11px; padding: 8px 16px; }
.header-link, .link-button { border: 0; background: none; color: var(--blue-deep); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.account-nav { display: flex; align-items: center; gap: 8px; }
.account-nav form { margin: 0; }
.account-nav a, .account-nav button { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--blue-deep); font: inherit; font-weight: 780; text-decoration: none; cursor: pointer; }
.account-nav a.active { background: var(--blue-soft); }
.account-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page-shell { width: min(100% - 28px, 1080px); margin: 0 auto; padding: 34px 0 72px; }

.hero {
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #075981 0%, #078fc5 100%);
    border-radius: 26px;
    padding: 44px 32px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.hero::after { content: ""; position: absolute; width: 250px; height: 250px; right: -100px; top: -130px; border: 38px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.hero.compact { padding: 36px 26px; }
.hero h1 { position: relative; z-index: 1; margin: 8px auto 10px; max-width: 780px; font-size: clamp(28px, 4.4vw, 45px); line-height: 1.1; letter-spacing: -.025em; }
.hero p { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; font-size: 18px; line-height: 1.5; }
.eyebrow { position: relative; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.staff-hero { background: linear-gradient(135deg, #303a50, #56647a); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 30px; }
.form-panel { max-width: 900px; margin: 0 auto; }
.registration-form-panel { margin-top: -42px; position: relative; z-index: 2; }
.registration-hero { padding-bottom: 70px !important; }
.registration-steps { list-style: none; margin: 0 0 30px; padding: 0 0 23px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 1px solid var(--line); }
.registration-steps li { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; text-align: center; }
.registration-steps li span { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: #edf1f5; color: #687386; font-weight: 800; }
.registration-steps li.active { color: var(--blue-deep); }
.registration-steps li.active span { background: var(--blue); color: #fff; }
.existing-account-notice { margin: 0 0 24px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1.5px solid #75c9e8; border-radius: 15px; background: var(--blue-soft); }
.existing-account-notice strong { display: block; color: var(--blue-deep); font-size: 19px; }
.existing-account-notice p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.existing-account-notice .secondary-button { flex: 0 0 auto; }
.account-error-actions { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(178, 43, 43, .22); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.account-error-actions span { font-weight: 700; }
.account-error-actions a { color: var(--blue-deep); font-weight: 850; text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
label { display: flex; flex-direction: column; gap: 8px; font-weight: 750; }
.field-label { display: inline-flex; align-items: baseline; gap: 4px; line-height: 1.25; }
.required-mark { color: var(--pink); font-weight: 900; }
input { width: 100%; height: 54px; border: 1.5px solid #adbac7; border-radius: 13px; padding: 0 15px; font: inherit; color: var(--ink); background: #fff; transition: border-color .16s, box-shadow .16s; }
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 131, 185, .15); }
input.invalid { border: 2px solid var(--danger); }
.field-error { color: var(--danger); font-weight: 650; line-height: 1.35; }
.field-help { color: var(--muted); font-size: 13px; font-weight: 450; line-height: 1.35; }

.channel-picker { border: 0; padding: 0; margin: 0 0 28px; }
.channel-picker legend { font-size: 21px; font-weight: 850; margin-bottom: 14px; }
.choice-card { display: flex; flex-direction: row; align-items: flex-start; gap: 13px; padding: 17px; border: 1.5px solid var(--line); border-radius: 15px; margin-bottom: 11px; cursor: pointer; transition: border-color .16s, background .16s; }
.choice-card:has(input:checked) { border: 2px solid var(--blue); background: var(--blue-soft); }
.choice-card input, .consent-row input, .inline-check input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--blue); }
.choice-card span, .consent-row span { display: flex; flex-direction: column; gap: 4px; }
.choice-card small, .consent-row small { color: var(--muted); font-weight: 450; line-height: 1.45; }

.password-wrap { display: flex; position: relative; }
.password-wrap input { padding-right: 88px; }
.show-password { position: absolute; right: 7px; top: 7px; height: 40px; border: 0; background: var(--soft); color: var(--blue-deep); border-radius: 9px; padding: 0 11px; font: inherit; font-weight: 750; cursor: pointer; }
.password-tools { margin: 14px 0 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.generate-password { min-height: 42px; border: 1.5px solid var(--blue); border-radius: 10px; padding: 8px 14px; color: var(--blue-deep); background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.password-tools p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.password-feedback { width: 100%; min-height: 1.2em; color: var(--success); font-size: 14px; font-weight: 650; }
.password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; margin: 8px 0 28px; padding-left: 22px; color: var(--muted); }
.password-rules li.ok { color: var(--success); }

.consents { display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 25px; }
.consent-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.consent-row.highlighted { background: var(--blue-soft); border-color: #8dd3ef; }
.consent-row.invalid-consent { border: 2px solid var(--danger); background: #fff0f0; }
.consent-row em { font-style: normal; font-size: 10px; color: #fff; background: var(--pink); padding: 3px 6px; border-radius: 8px; }
.consent-row em.optional { background: #7b8492; }
.consent-row a { color: var(--blue-deep); }

.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; padding: 12px 21px; font: inherit; font-weight: 850; cursor: pointer; text-align: center; }
.primary-button { width: 100%; margin-top: 22px; border: 0; background: var(--pink); color: #fff; box-shadow: 0 8px 18px rgba(235, 8, 116, .19); }
.secondary-button { border: 2px solid var(--blue); background: #fff; color: var(--blue-deep); }
.button-link { text-decoration: none; }
.login-note { text-align: center; margin: 21px 0 0; }
.login-note a { color: var(--blue-deep); font-weight: 800; }
.login-registration-cta { margin: 0 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--blue-soft); border-color: #8dd3ef; }
.login-registration-cta strong { display: block; color: var(--blue-deep); font-size: 21px; }
.login-registration-cta p { margin: 6px 0 0; color: var(--muted); line-height: 1.45; }
.login-registration-cta .primary-button { width: auto; flex: 0 0 auto; margin: 0; text-decoration: none; }

.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; line-height: 1.45; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-error { background: #fff0f0; border: 1px solid #e6a0a0; color: #8d1d1d; }
.alert-success { background: #eaf9f0; border: 1px solid #91d3aa; color: #12683a; }
.alert-info { background: var(--blue-soft); border: 1px solid #8dd3ef; color: var(--blue-deep); }
.access-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.access-result strong { display: block; font-size: 18px; }
.access-result p { margin: 5px 0 0; color: inherit; }
.access-result .secondary-button { flex: 0 0 auto; }
.result-card { max-width: 650px; margin: 0 auto; text-align: center; }
.result-mail-warning { max-width: 650px; margin: 0 auto 18px; }
.result-mail-warning p { margin: 6px 0 0; }
.resend-confirmation { max-width: 650px; margin: 0 auto 18px; text-align: center; }
.resend-confirmation .secondary-button { width: 100%; }
.resend-confirmation .fine-print { margin-bottom: 0; }
.status-pill { display: inline-block; background: #eaf9f0; color: #116d3a; border-radius: 999px; padding: 8px 13px; font-weight: 800; }
.qr-frame { width: clamp(260px, 60vmin, 440px); max-width: 100%; max-height: calc(100vh - 120px); aspect-ratio: 1; margin: 20px auto; background: #fff; border-radius: 16px; padding: 18px; display: grid; place-items: center; overflow: hidden; }
.qr-frame img, .qr-visual, .qr-visual svg { width: 100%; height: 100%; object-fit: contain; }
.qr-visual { display: grid; place-items: center; min-width: 0; min-height: 0; }
.qr-visual[hidden], .qr-action-source { display: none; }
.qr-visual svg { display: block; max-width: 100%; max-height: 100%; }
.qr-frame .fullscreen-close { display: none; }
.qr-frame:fullscreen { position: relative; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border-radius: 0; padding: clamp(62px, 8vmin, 90px) clamp(18px, 8vw, 90px) clamp(18px, 8vmin, 90px); background: #fff; }
.qr-frame:fullscreen .fullscreen-close { display: block; position: absolute; top: 18px; right: 18px; z-index: 2; border: 0; border-radius: 999px; padding: 12px 18px; background: #102033; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.remote-code { font-size: clamp(34px, 8vw, 58px); letter-spacing: .08em; font-weight: 900; color: var(--blue-deep); background: var(--soft); border: 2px dashed var(--blue); border-radius: 14px; padding: 22px; margin: 20px 0; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.5; }
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-panels .form-panel h2 { margin-top: 0; }
.password-reset-panel { margin-top: 20px; }
.inline-check { display: flex; flex-direction: row; align-items: center; margin-top: 14px; }
.member-card-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 24px; align-items: stretch; margin-top: -45px; position: relative; z-index: 2; }
.member-card-layout-with-tabs { margin-top: 0; }
.member-card-primary { min-width: 0; display: flex; flex-direction: column; }
.digital-card { flex: 1 1 auto; position: relative; color: #fff; background: linear-gradient(135deg, #075981 0%, #078fc5 100%); border-radius: 22px; padding: 26px; text-align: center; box-shadow: 0 16px 40px rgba(20, 50, 75, .17); display: flex; flex-direction: column; align-items: center; gap: 8px; overflow: hidden; }
.digital-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -120px; border: 32px solid rgba(255,255,255,.07); border-radius: 50%; }
.digital-card > * { position: relative; z-index: 1; }
.digital-card > strong { font-size: 28px; }
.active-membership { color: #b9f36c; font-weight: 850; }
.active-membership span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; color: #fff; background: #61c94b; border-radius: 50%; }
.digital-card .qr-frame { margin: 6px auto; width: min(330px, 100%); }
.digital-card small { color: #fff; }
.centered { display: flex; margin: 20px auto; }
.remote-panel { max-width: 700px; margin: 28px auto 0; }
.remote-panel h2 { margin-top: 0; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.action-grid .secondary-button { width: 100%; }
.card-actions { width: 100%; margin: 12px auto 0; grid-template-columns: repeat(3, 1fr); }
.online-shopping-panel { display: flex; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; }
.online-shopping-panel h2 { margin: 0; color: var(--blue-deep); }
.online-shopping-panel p { margin: 12px 0 4px; color: var(--muted); line-height: 1.5; }
.online-shopping-panel .primary-button { text-decoration: none; }
.online-shopping-panel small { margin-top: 18px; color: var(--muted); line-height: 1.45; }
.legal-links { display: flex; justify-content: center; gap: 30px; margin: 28px auto 0; }
.legal-links a { color: var(--blue-deep); font-weight: 700; }
.legal-document { max-width: 850px; margin: 0 auto; }
.legal-document h1 { margin-top: 0; color: var(--blue-deep); }
.legal-document h2 { margin-top: 30px; color: var(--blue-deep); }
.legal-document p, .legal-document li { line-height: 1.65; }
/* Match the information editor's rich text without changing other customer pages. */
.information-content { overflow-x: auto; overflow-wrap: anywhere; }
.information-content .color { color: var(--color, inherit); }
.information-content small { font-size: .85em; }
.information-content .lead { font-size: 1.25em; line-height: 1.65; }
.information-content mark { background: #fef08a; color: #1f2937; padding: 0 .1em; }
.information-content blockquote { border-inline-start: 3px solid var(--line); margin: 1.2em 0; padding-inline-start: 1em; }
.information-content ul, .information-content ol { padding-inline-start: 1.6em; }
.information-content ul { list-style-type: disc; }
.information-content ol { list-style-type: decimal; }
.information-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.information-content td, .information-content th { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; min-width: 4em; }
.information-content th { background: #f2f6f9; text-align: start; font-weight: 700; }
.information-content td > :first-child, .information-content th > :first-child { margin-top: 0; }
.information-content td > :last-child, .information-content th > :last-child { margin-bottom: 0; }

.membership-management { max-width: 700px; margin: 28px auto 0; }
.membership-management h2 { margin-top: 0; }
.membership-management .secondary-button { width: 100%; }
.credential-expired .qr-frame, .credential-expired .remote-code { opacity: .28; filter: grayscale(1); }
.expired-message { margin: 18px 0 0; padding: 14px; border-radius: 12px; background: #fff0f0; color: #8d1d1d; font-weight: 700; }
.expired-message a { color: inherit; }
.code-form { max-width: 620px; margin: 0 auto; }
.code-input { text-transform: uppercase; font-size: 28px; letter-spacing: .1em; text-align: center; }
.script-box { margin: 24px 0; padding: 18px; border-left: 5px solid var(--blue); background: var(--soft); line-height: 1.55; }
.script-box p { margin-bottom: 0; }
.contact-card { max-width: 720px; margin: 0 auto; }
.contact-card h2 { margin-top: 0; color: var(--blue-deep); }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-weight: 850; }
.contact-list dd { margin: 0; line-height: 1.55; }
.contact-list a { color: var(--blue-deep); font-weight: 750; }
.page-footer-links { padding-top: 8px; }

.profile-hero { position: relative; overflow: hidden; min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 44px 62px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #075981 0%, #078fc5 100%); }
.profile-hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: -105px; top: -145px; border: 40px solid rgba(255,255,255,.07); border-radius: 50%; }
.profile-hero-copy, .profile-card-return { position: relative; z-index: 1; }
.profile-hero h1 { margin: 9px 0 8px; font-size: clamp(34px,4.5vw,48px); line-height: 1.05; letter-spacing: -.025em; }
.profile-hero p { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.9); }
.profile-card-return { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 2px solid #fff; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-weight: 850; text-decoration: none; white-space: nowrap; }
.profile-card-return svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.profile-tabs { position: relative; z-index: 2; width: min(100% - 70px,650px); margin: -30px auto 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(20,55,80,.1); }
.profile-tabs a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 11px; color: var(--blue-deep); font-weight: 820; text-decoration: none; }
.profile-tabs a.active { color: #fff; background: var(--blue-deep); }
.profile-tabs svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-install-panel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; margin: 0 0 24px; padding: 17px 20px; border: 1px solid #8dd3ef; border-radius: 18px; background: linear-gradient(135deg,#f7fcff,#eaf8fd); box-shadow: 0 10px 30px rgba(20,55,80,.08); }
.pwa-install-panel[hidden], .pwa-install-help[hidden] { display: none; }
.pwa-install-icon { width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(20,55,80,.1); }
.pwa-install-icon img { width: 100%; height: 100%; object-fit: cover; }
.pwa-install-copy { min-width: 0; }
.pwa-install-copy strong { display: block; color: var(--blue-deep); font-size: 18px; }
.pwa-install-copy p { margin: 4px 0 0; color: var(--muted); line-height: 1.42; }
.pwa-install-copy .pwa-install-help { color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.pwa-install-button { width: auto; min-width: 225px; margin: 0; }
@media (display-mode: standalone) { .pwa-install-panel { display: none; } }
.activation-banner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin: 0 0 24px; padding: 22px 24px; border: 1.5px solid #efbd55; border-radius: 18px; background: linear-gradient(135deg,#fff9e9,#fffdf7); box-shadow: 0 12px 32px rgba(112,78,10,.08); }
.activation-banner form { margin: 0; }
.activation-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #96620a; background: #ffe7ad; }
.activation-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.activation-copy { min-width: 0; }
.pending-pill { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 5px; color: #855608; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.pending-pill span { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #d28a0d; font-size: 11px; }
.activation-banner h2 { margin: 0 0 5px; font-size: 23px; color: #3d2a08; }
.activation-banner p { margin: 0; color: #6f572c; line-height: 1.5; }
.activation-banner p + p { margin-top: 4px; font-size: 14px; }
.activation-button { min-width: 265px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 18px; color: #fff; background: var(--pink); box-shadow: 0 8px 18px rgba(235,8,116,.19); font: inherit; font-weight: 850; text-align: center; cursor: pointer; }
.activation-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.78fr); gap: 24px; align-items: start; }
.profile-panel-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.profile-panel-head h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.profile-panel-head p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.profile-panel-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 13px; color: var(--blue-deep); background: var(--blue-soft); }
.profile-panel-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.profile-verification { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; color: #12683a; background: #eaf9f0; font-size: 11px; font-weight: 850; }
.profile-verification span { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); font-size: 10px; }
.profile-verification.pending { color: #855608; background: #fff1ca; }
.profile-verification.pending span { background: #d28a0d; }
.profile-important-help { color: var(--blue-deep); }
.profile-preferences { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.profile-preferences h3 { margin: 0 0 6px; font-size: 19px; }
.profile-preferences > p { margin: 0 0 16px; color: var(--muted); line-height: 1.45; }
.profile-switch-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfd; }
.profile-switch-row strong { display: block; }
.profile-switch-row small { display: block; margin-top: 4px; color: var(--muted); font-weight: 450; line-height: 1.4; }
.profile-switch { width: 48px; height: 28px; flex: 0 0 48px; position: relative; }
.profile-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-switch > span { position: absolute; inset: 0; border-radius: 999px; background: #b8c3cc; transition: background .16s; }
.profile-switch > span::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .16s; }
.profile-switch input:checked + span { background: var(--blue); }
.profile-switch input:checked + span::after { transform: translateX(20px); }
.profile-switch input:focus-visible + span { outline: 3px solid rgba(8,131,185,.25); outline-offset: 3px; }
.profile-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.profile-form-actions .primary-button, .profile-form-actions .secondary-button { width: auto; min-width: 114px; margin: 0; }
.profile-form-actions .primary-button { min-width: 210px; }
.profile-sidebar { display: grid; gap: 18px; }
.member-summary { overflow: hidden; padding: 0; }
.member-summary-top { position: relative; overflow: hidden; padding: 26px; color: #fff; background: linear-gradient(135deg,#075981,#078fc5); }
.member-summary-top::after { content: ""; position: absolute; width: 125px; height: 125px; right: -52px; top: -70px; border: 20px solid rgba(255,255,255,.08); border-radius: 50%; }
.member-avatar { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 15px; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.13); font-size: 21px; font-weight: 900; }
.member-summary-top > strong { display: block; font-size: 22px; }
.member-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; color: #c6f58c; font-size: 14px; font-weight: 850; }
.member-status > span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #58bf47; font-size: 11px; }
.member-status.pending { color: #ffe29b; }
.member-status.pending > span { background: #d28a0d; }
.member-summary-list { margin: 0; padding: 10px 24px 18px; }
.member-summary-list div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.member-summary-list div:last-child { border-bottom: 0; }
.member-summary-list dt { color: var(--muted); }
.member-summary-list dd { margin: 0; font-weight: 800; text-align: right; }
.profile-security h3 { margin: 0 0 8px; font-size: 20px; }
.profile-security p { margin: 0 0 18px; color: var(--muted); line-height: 1.45; }
.profile-security .secondary-button { width: 100%; }
.pending-card-panel { max-width: 700px; margin: 0 auto; text-align: center; }
.pending-card-panel h2 { margin: 12px 0 8px; color: var(--blue-deep); }
.pending-card-panel p { margin: 0 auto 20px; max-width: 570px; color: var(--muted); line-height: 1.55; }
.pending-card-panel .secondary-button { width: 100%; }
.pending-card-lock { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto; border-radius: 17px; color: #96620a; background: #fff1ca; }
.pending-card-lock svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.home-hero { position: relative; overflow: hidden; margin-bottom: -46px; padding: 56px 28px 100px; border-radius: 26px; color: #fff; text-align: center; background: linear-gradient(135deg, #075981 0%, #078fc5 100%); }
.home-hero::after { content: ""; position: absolute; width: 310px; height: 310px; right: -120px; top: -165px; border: 44px solid rgba(255,255,255,.07); border-radius: 50%; }
.home-hero > * { position: relative; z-index: 1; }
.home-hero h1 { max-width: 760px; margin: 12px auto; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.home-hero p { max-width: 650px; margin: 0 auto; font-size: 19px; line-height: 1.5; }
.home-hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.home-hero-actions .primary-button, .home-hero-actions .secondary-button { width: min(220px, 100%); margin: 0; }
.home-hero-actions .secondary-button { border-color: #fff; color: #fff; background: transparent; }
.home-entry-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: min(100% - 42px, 980px); margin: 0 auto; scroll-margin-top: 90px; }
.home-entry-card { display: flex; flex-direction: column; min-width: 0; padding: 34px; }
.home-entry-card h2 { margin: 14px 0 8px; color: var(--ink); font-size: 28px; line-height: 1.18; }
.home-entry-card > p { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.home-card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--pink); font-size: 24px; font-weight: 900; }
.home-card-icon.login-icon { color: var(--blue-deep); background: var(--blue-soft); }
.home-registration-card { border-color: #8dd3ef; background: linear-gradient(180deg, var(--blue-soft) 0, #fff 130px); }
.home-benefits { display: grid; gap: 16px; margin: 20px 0 2px; padding: 0; list-style: none; }
.home-benefits li { display: flex; align-items: center; gap: 11px; line-height: 1.4; }
.home-benefits li span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 14px; font-weight: 900; }
.home-registration-card .primary-button { margin-top: auto; }
.home-text-link { display: block; margin-top: 16px; color: var(--blue-deep); font-weight: 800; text-align: center; text-underline-offset: 3px; }
.home-login-form { display: grid; gap: 16px; }
.home-login-form .inline-check { margin-top: 0; }
.home-login-form .primary-button { margin-top: 0; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); box-shadow: 0 8px 18px rgba(7, 90, 134, .18); }
.home-access-link { width: 100%; margin-top: 16px; min-height: 50px; }
.home-how { padding: 60px 18px 12px; scroll-margin-top: 90px; }
.home-how h2 { margin: 0 0 28px; font-size: 32px; text-align: center; }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
.home-steps li { display: flex; align-items: flex-start; gap: 14px; }
.home-steps li > span { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 2px solid #82c8e6; border-radius: 50%; color: var(--blue-deep); background: var(--blue-soft); font-size: 22px; font-weight: 900; }
.home-steps strong { display: block; margin-top: 3px; font-size: 18px; }
.home-steps p { margin: 7px 0 0; color: var(--muted); line-height: 1.45; }
.home-assurance { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.home-assurance div { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.home-assurance div + div { border-left: 1px solid var(--line); }
.home-assurance-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: var(--blue); }
.home-assurance-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
    .site-navigation { gap: 14px; }
    .site-navigation a { font-size: 14px; }
    .header-account { margin-left: 16px; }
    .home-entry-grid { width: min(100% - 24px, 980px); }
}

@media (max-width: 700px) {
    .site-header { height: 66px; padding: 0 16px; }
    .brand img { width: 128px; }
    .site-navigation { display: none; }
    .header-account { margin-left: auto; gap: 8px; }
    .account-nav { margin-left: auto; }
    .account-nav a { display: none; }
    .account-nav button { padding: 7px 2px; }
    .account-nav button svg { display: none; }
    .header-login { min-width: 88px; min-height: 40px; padding: 7px 12px; }
    .page-shell { width: min(100% - 20px, 1080px); padding-top: 18px; }
    .hero, .hero.compact { padding: 28px 18px; border-radius: 18px; }
    .registration-hero { padding-bottom: 54px !important; }
    .hero h1 { font-size: 29px; }
    .hero p { font-size: 16px; }
    .panel { padding: 20px; border-radius: 17px; }
    .registration-form-panel { margin-top: -32px; }
    .registration-steps { gap: 3px; margin-bottom: 24px; }
    .registration-steps li { flex-direction: column; gap: 5px; font-size: 11px; }
    .registration-steps li strong { min-height: 27px; }
    .existing-account-notice { align-items: stretch; flex-direction: column; }
    .account-error-actions { align-items: flex-start; flex-direction: column; }
    .login-registration-cta { align-items: stretch; flex-direction: column; gap: 16px; }
    .access-result { align-items: stretch; flex-direction: column; }
    .form-grid, .two-panels, .password-rules, .action-grid, .card-actions { grid-template-columns: 1fr; }
    .form-grid { gap: 18px; }
    input { height: 52px; }
    .consent-row { padding: 14px 11px; }
    .primary-button, .secondary-button { width: 100%; }
    .generate-password { width: 100%; }
    .password-tools p { text-align: center; width: 100%; }
    .digital-card { margin: -34px 8px 0; padding: 18px; }
    .member-card-layout { grid-template-columns: 1fr; margin-top: -34px; gap: 18px; }
    .member-card-layout-with-tabs { margin-top: 0; }
    .member-card-layout .digital-card { margin: 0; }
    .digital-card > strong { font-size: 24px; }
    .online-shopping-panel { margin: 0 8px; }
    .legal-links { flex-direction: column; align-items: center; gap: 12px; }
    .remote-code { font-size: 34px; }
    .qr-frame { padding: 10px; }
    .contact-list div { grid-template-columns: 1fr; gap: 4px; }
    .choice-card small { font-size: 13px; }
    .home-hero { margin-bottom: -40px; padding: 38px 20px 78px; border-radius: 18px; text-align: left; }
    .home-hero h1 { margin: 10px 0; font-size: 38px; }
    .home-hero p { margin: 0; font-size: 17px; }
    .home-hero-actions { flex-direction: column; margin-top: 24px; }
    .home-hero-actions .primary-button, .home-hero-actions .secondary-button { width: 100%; }
    .home-entry-grid { grid-template-columns: 1fr; gap: 18px; width: min(100% - 18px, 980px); }
    .home-entry-card { padding: 24px 20px; }
    .home-entry-card h2 { font-size: 26px; }
    .home-how { padding: 46px 4px 6px; }
    .home-how h2 { font-size: 28px; text-align: left; }
    .home-steps { grid-template-columns: 1fr; gap: 22px; }
    .home-assurance { grid-template-columns: 1fr; }
    .home-assurance div { min-height: 76px; justify-content: flex-start; text-align: left; }
    .home-assurance div + div { border-top: 1px solid var(--line); border-left: 0; }
    .profile-hero { min-height: auto; display: block; padding: 29px 20px 61px; border-radius: 18px; }
    .profile-hero h1 { margin-top: 8px; font-size: 34px; }
    .profile-hero p { font-size: 16px; }
    .profile-card-return { width: 100%; margin-top: 20px; background: rgba(255,255,255,.1); }
    .profile-tabs { width: calc(100% - 20px); margin: -28px auto 18px; }
    .profile-tabs a { min-height: 50px; font-size: 14px; }
    .pwa-install-panel { grid-template-columns: 48px 1fr; gap: 12px; margin-bottom: 16px; padding: 16px; border-radius: 17px; }
    .pwa-install-icon { width: 48px; height: 48px; border-radius: 12px; }
    .pwa-install-copy strong { font-size: 17px; }
    .pwa-install-copy p { font-size: 14px; }
    .pwa-install-button { grid-column: 1 / -1; width: 100%; min-width: 0; }
    .activation-banner { grid-template-columns: 44px 1fr; gap: 12px; margin-bottom: 16px; padding: 18px; border-radius: 17px; }
    .activation-icon { width: 44px; height: 44px; border-radius: 12px; }
    .activation-icon svg { width: 24px; height: 24px; }
    .activation-banner h2 { font-size: 20px; }
    .activation-banner p { font-size: 14px; }
    .activation-banner p + p { font-size: 13px; }
    .activation-banner form { grid-column: 1 / -1; }
    .activation-button { width: 100%; min-width: 0; margin-top: 3px; }
    .profile-layout { grid-template-columns: 1fr; gap: 16px; }
    .profile-panel-head { margin-bottom: 22px; }
    .profile-panel-head h2 { font-size: 24px; }
    .profile-panel-head p { font-size: 14px; }
    .profile-panel-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .profile-form-actions { flex-direction: column-reverse; }
    .profile-form-actions .primary-button, .profile-form-actions .secondary-button { width: 100%; }
    .member-summary { border-radius: 17px; }
    .member-summary-top { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; padding: 18px; }
    .member-avatar { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; font-size: 17px; }
    .member-summary-top > strong { font-size: 19px; }
    .member-status { margin-top: 3px; }
    .member-summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 5px 18px 12px; }
    .member-summary-list div { display: block; padding: 11px 0; }
    .member-summary-list dt { font-size: 13px; }
    .member-summary-list dd { margin-top: 4px; text-align: left; font-size: 14px; }
}
