.account-page { min-height: 100vh; }
[hidden] { display: none !important; }
.member-header { min-height: 72px; }
.member-header nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.member-header nav a, .member-header .text-button { color: #a9bec4; font: inherit; font-size: .82rem; font-weight: 760; }
.member-header nav a:hover, .member-header nav a.active, .member-header .text-button:hover { color: var(--intent-mint); }
.member-header .text-button { border: 0; background: transparent; cursor: pointer; }
.account-location { color: var(--intent-mint); }
.member-nav-toggle { display: none; min-height: 40px; padding: 0 13px; border: 1px solid var(--intent-line); border-radius: 10px; color: var(--intent-white); background: rgba(255,255,255,.04); font: inherit; font-weight: 800; }

.account-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 118px 0 72px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .65fr); align-items: center; gap: clamp(48px, 9vw, 140px); min-height: calc(100vh - 180px); }
.auth-story h1 { margin: 22px 0; font-family: var(--intent-display); font-size: clamp(4rem, 7vw, 7.2rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.auth-story h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--intent-blue-bright); }
.auth-story > p { max-width: 680px; color: #b4c5ca; font-size: 1.1rem; line-height: 1.7; }
.privacy-note { display: grid; gap: 6px; max-width: 620px; margin-top: 34px; padding: 20px; border-left: 3px solid var(--intent-mint); border-radius: 10px; color: var(--intent-muted); background: rgba(73,242,162,.055); }
.privacy-note strong { color: var(--intent-white); }
.auth-panel, .account-card, .admin-panel { border: 1px solid var(--intent-line); border-radius: 20px; background: linear-gradient(145deg, rgba(11,40,51,.94), rgba(4,18,24,.9)); box-shadow: 0 26px 76px rgba(0,0,0,.22); }
.auth-panel { padding: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 5px; border-radius: 14px; background: rgba(1,12,17,.6); }
.auth-tabs button { min-height: 44px; border: 0; border-radius: 10px; color: var(--intent-muted); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.auth-tabs button.active { color: var(--intent-white); background: rgba(36,113,255,.2); box-shadow: inset 0 0 0 1px rgba(36,113,255,.35); }
.account-form { display: grid; gap: 17px; padding: 26px 12px 12px; }
.account-form header { margin-bottom: 4px; }.account-form h2 { margin: 0; font-size: 1.7rem; }.account-form p { margin: 7px 0 0; color: var(--intent-muted); line-height: 1.5; }
.account-form label, .inline-form label, .admin-create-form label, .modal-grid label { display: grid; gap: 7px; color: #d3dfe2; font-size: .75rem; font-weight: 760; }
.account-form input, .inline-form input, .copy-row input, .admin-create-form input, .admin-create-form select, .admin-toolbar input, .admin-toolbar select, .modal-grid select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(111,199,216,.22); border-radius: 10px; outline: none; color: var(--intent-white); background: #071d25; font: inherit; }
.account-form input:focus, .inline-form input:focus, .admin-create-form input:focus, .admin-create-form select:focus, .admin-toolbar input:focus, .admin-toolbar select:focus { border-color: var(--intent-blue-bright); box-shadow: 0 0 0 3px rgba(32,184,255,.11); }
.account-form small { color: #78929a; font-weight: 500; }.wide { width: 100%; }.compact { min-height: 44px; }
.form-status { min-height: 24px; margin: 16px 0 0; color: #ffbd78; font-size: .82rem; }
.security-shell { display: grid; min-height: calc(100vh - 180px); place-items: center; }.security-panel { width: min(560px, 100%); }
.mfa-qr, .download-qr { display: grid; place-items: center; padding: 14px; border-radius: 15px; background: #fff; }.mfa-qr { width: min(280px, 100%); margin: 0 auto; }.mfa-qr svg, .download-qr svg { display: block; width: 100%; height: auto; }.mfa-secret { padding: 12px; border-radius: 9px; color: var(--intent-mint); background: rgba(0,0,0,.3); text-align: center; word-break: break-all; }#mfa-setup-form { display: grid; gap: 16px; }#recovery-codes { padding: 18px; border: 1px solid rgba(73,242,162,.25); border-radius: 12px; color: var(--intent-mint); background: rgba(0,0,0,.3); columns: 2; line-height: 1.8; }

.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 10px 0 30px; }
.portal-heading h1 { margin: 12px 0 5px; font-family: var(--intent-display); font-size: clamp(3rem, 5.5vw, 5.7rem); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.portal-heading p { max-width: 760px; margin: 0; color: var(--intent-muted); line-height: 1.65; }
.account-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }.account-card { padding: 24px; }.account-card > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }.account-card h2 { margin: 5px 0 0; font-size: 1.5rem; letter-spacing: -.03em; }.card-label { color: var(--intent-blue-bright); font-size: .65rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid rgba(73,242,162,.25); border-radius: 999px; color: #9ff6cb; background: rgba(73,242,162,.07); font-size: .68rem; font-weight: 800; white-space: nowrap; }.status-pill.caution { border-color: rgba(236,169,91,.3); color: #ffc582; background: rgba(236,169,91,.08); }
.membership-hero { display: flex; align-items: center; gap: 15px; margin: 4px 0 20px; }.membership-mark, .platform-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(36,113,255,.3); border-radius: 14px; color: var(--intent-mint); background: rgba(36,113,255,.12); font-size: 1.3rem; font-weight: 900; }.membership-hero div { display: grid; gap: 4px; }.membership-hero strong { color: #ffc16f; font-family: var(--intent-display); font-size: 1.7rem; letter-spacing: .02em; text-transform: uppercase; }.membership-hero small { color: var(--intent-muted); }
.detail-list, .release-facts { margin: 0 0 22px; }.detail-list div, .release-facts div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); }.detail-list dt, .release-facts dt { color: var(--intent-muted); }.detail-list dd, .release-facts dd { margin: 0; color: var(--intent-white); font-weight: 760; text-align: right; overflow-wrap: anywhere; }.card-copy { color: var(--intent-muted); line-height: 1.65; }.quiet-note { padding: 13px; border-left: 2px solid var(--intent-blue-bright); border-radius: 8px; color: #8fa4aa; background: rgba(36,113,255,.055); font-size: .78rem; line-height: 1.55; }
.loading-state { padding: 70px 20px; color: var(--intent-muted); text-align: center; }

.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }.platform-card { display: grid; align-content: start; gap: 16px; min-height: 560px; }.platform-card > header { align-items: center; margin-bottom: 0; }.platform-card h2 { margin: 0; font-size: 2rem; }.platform-card .download-qr { width: 210px; margin: 10px auto; }.release-facts { margin-top: auto; font-size: .75rem; }.qr-placeholder { display: grid; width: 210px; height: 210px; place-items: center; margin: 24px auto; border: 1px dashed rgba(111,199,216,.22); border-radius: 18px; background: repeating-linear-gradient(45deg,rgba(255,255,255,.03),rgba(255,255,255,.03) 10px,rgba(255,255,255,.06) 10px,rgba(255,255,255,.06) 20px); }.qr-placeholder span { padding: 7px 12px; border-radius: 999px; color: #ffc582; background: #12252d; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }.install-note { margin-top: 20px; padding: 18px; border: 1px solid rgba(73,242,162,.18); border-radius: 14px; color: var(--intent-muted); background: rgba(73,242,162,.05); line-height: 1.6; }.install-note strong { color: var(--intent-white); }

.family-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.sync-boundary { grid-column: 1 / -1; }.member-list { display: grid; gap: 10px; }.member { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid rgba(111,199,216,.13); border-radius: 13px; background: rgba(255,255,255,.025); }.member-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #041218; background: var(--intent-mint); font-weight: 900; }.member strong, .member small { display: block; }.member small { margin-top: 3px; color: var(--intent-muted); }.member em { color: var(--intent-blue-bright); font-size: .66rem; font-style: normal; font-weight: 850; text-transform: uppercase; }.inline-form { display: grid; gap: 12px; margin-top: 20px; }.invite-result { margin-top: 18px; padding: 16px; border: 1px solid rgba(73,242,162,.24); border-radius: 14px; background: rgba(73,242,162,.055); }.invite-result p { color: var(--intent-muted); font-size: .8rem; line-height: 1.5; }.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.copy-row button { min-width: 70px; border: 0; border-radius: 10px; color: #031319; background: var(--intent-mint); font: inherit; font-weight: 900; cursor: pointer; }.sync-flow { display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: center; gap: 10px; margin: 16px 0 24px; }.sync-flow div { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; }.sync-flow strong { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #041218; background: var(--intent-mint); }.sync-flow i { height: 2px; background: linear-gradient(90deg,var(--intent-blue),var(--intent-mint)); }

/* Administration */
.intent-admin-page { min-height: 100vh; color: var(--intent-white); background: #06151c; font-family: var(--intent-body); }.admin-sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; display: flex; width: 238px; flex-direction: column; border-right: 1px solid rgba(111,199,216,.14); background: #0a2030; }.admin-brand { min-height: 76px; padding: 14px 18px; border-bottom: 1px solid rgba(111,199,216,.12); }.admin-brand img { width: 42px; height: 42px; }.admin-brand span { display: grid; font-size: 1.12rem; }.admin-brand small { margin-top: 3px; color: #476477; font-size: .5rem; letter-spacing: .17em; }.admin-sidebar nav { display: grid; gap: 3px; padding: 18px 10px; }.admin-sidebar nav span { margin: 15px 9px 5px; color: #4e6c7d; font-size: .58rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }.admin-sidebar nav button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; color: #9eb8c7; background: transparent; font: inherit; font-size: .78rem; font-weight: 700; text-align: left; cursor: pointer; }.admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: var(--intent-mint); background: rgba(73,242,162,.1); }.admin-identity { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; margin-top: auto; padding: 17px; border-top: 1px solid rgba(111,199,216,.12); }.admin-identity > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #031319; background: var(--intent-mint); font-weight: 900; }.admin-identity div { display: grid; gap: 2px; }.admin-identity small { color: #668495; font-size: .65rem; }.admin-identity a { color: #82a9bd; font-size: .65rem; }.admin-menu-toggle { display: none; }
.admin-main { min-height: 100vh; margin-left: 238px; }.admin-topbar { position: sticky; z-index: 30; top: 0; display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 24px; border-bottom: 1px solid rgba(111,199,216,.14); background: rgba(6,21,28,.94); backdrop-filter: blur(16px); }.admin-topbar h1 { margin: 0; font-family: var(--intent-display); font-size: 1.25rem; }.admin-topbar div { display: flex; align-items: center; gap: 14px; }.admin-topbar a, .admin-topbar button { border: 0; color: #91aab7; background: transparent; font: inherit; font-size: .72rem; cursor: pointer; }.admin-topbar a:hover, .admin-topbar button:hover { color: var(--intent-white); }#admin-console, #admin-loading { padding: 20px; }.admin-pane { display: none; }.admin-pane.active { display: block; }.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }.admin-stats article { display: grid; gap: 5px; min-height: 122px; padding: 18px; border: 1px solid rgba(111,199,216,.14); border-radius: 12px; background: #102736; }.admin-stats span { color: #718f9f; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.admin-stats strong { color: var(--intent-mint); font-family: var(--intent-display); font-size: 2.2rem; }.admin-stats small { color: #567383; }.admin-dashboard-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }.admin-panel { padding: 18px; border-radius: 12px; box-shadow: none; }.admin-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }.admin-panel h2, .admin-panel h3 { margin: 0; font-size: .95rem; }.admin-panel header button { border: 0; color: var(--intent-blue-bright); background: transparent; cursor: pointer; }.metric-list, .activity-list { display: grid; }.metric-list div, .activity-item { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }.metric-list span, .activity-item small { color: #7793a1; }.activity-item div { display: grid; gap: 3px; }.activity-item time { color: #54717f; font-size: .68rem; white-space: nowrap; }.empty-admin { padding: 24px 10px; color: #6e8b99; text-align: center; }.pane-heading { display: flex; justify-content: space-between; gap: 20px; margin: 5px 0 20px; }.pane-heading span { color: var(--intent-blue-bright); font-size: .65rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }.pane-heading h2 { margin: 6px 0; font-family: var(--intent-display); font-size: 2rem; }.pane-heading p { margin: 0; color: #819da9; }.admin-create-form { display: grid; grid-template-columns: 1fr 1.15fr 1.2fr .8fr auto; gap: 9px; align-items: end; margin-bottom: 18px; padding: 16px; border: 1px solid rgba(111,199,216,.14); border-radius: 12px; background: #0d2330; }.admin-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) 190px 190px; gap: 8px; margin: 16px 0 10px; }.table-wrap { overflow-x: auto; border: 1px solid rgba(111,199,216,.14); border-radius: 12px; background: #0d2330; }.table-wrap table { width: 100%; border-collapse: collapse; }.table-wrap th { padding: 11px 13px; color: #567483; font-size: .59rem; letter-spacing: .11em; text-align: left; text-transform: uppercase; background: #112b3b; }.table-wrap td { padding: 13px; border-top: 1px solid rgba(111,199,216,.09); color: #a8bdc6; font-size: .78rem; }.table-wrap td strong, .table-wrap td small { display: block; }.table-wrap td strong { color: var(--intent-white); }.table-wrap td small { margin-top: 3px; color: #587583; }.table-wrap button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(111,199,216,.2); border-radius: 7px; color: var(--intent-white); background: rgba(36,113,255,.13); cursor: pointer; }.access-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: var(--intent-mint); background: rgba(73,242,162,.08); font-size: .62rem; font-weight: 800; }.access-model-grid, .release-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }.access-model-grid p, .release-entry p { color: #819da9; line-height: 1.6; }.release-entry { padding: 20px; }.release-entry h3 { margin: 8px 0 4px; }.release-entry dl { margin: 16px 0 0; }.release-entry dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.06); }.release-entry dt { color: #6f8d9a; }.release-entry dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.modal-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(1,9,13,.82); backdrop-filter: blur(7px); }.user-modal { width: min(620px,100%); border: 1px solid rgba(111,199,216,.2); border-radius: 16px; background: #102738; box-shadow: 0 35px 100px rgba(0,0,0,.5); }.user-modal > header { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid rgba(111,199,216,.14); }.user-modal header span { color: var(--intent-blue-bright); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.user-modal h2 { margin: 6px 0 2px; }.user-modal p { margin: 0; color: #7894a2; }.user-modal header button { align-self: start; padding: 8px 12px; border: 1px solid rgba(111,199,216,.2); border-radius: 7px; color: #acc0c8; background: transparent; cursor: pointer; }.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 20px; }.modal-grid .check-label { display: flex; align-items: center; gap: 9px; min-height: 46px; }.user-modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 17px 20px; border-top: 1px solid rgba(111,199,216,.14); }

.admin-dashboard-grid > *, .admin-panel { min-width: 0; }
@media (max-width: 980px) { .account-overview-grid, .platform-grid, .family-layout { grid-template-columns: 1fr; }.sync-boundary { grid-column: auto; }.admin-stats { grid-template-columns: repeat(2,1fr); }.admin-dashboard-grid, .access-model-grid, .release-list { grid-template-columns: 1fr; }.admin-create-form { grid-template-columns: 1fr 1fr; }.admin-toolbar { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .member-nav-toggle { display: inline-flex; align-items: center; }.member-header nav { position: absolute; top: calc(100% + 1px); right: 12px; display: none; width: min(290px,calc(100vw - 24px)); align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--intent-line); border-radius: 14px; background: #09222c; box-shadow: 0 24px 60px rgba(0,0,0,.4); }.member-header nav.open { display: flex; }.member-header nav a, .member-header .text-button, .account-location { padding: 12px; text-align: left; }.account-shell { width: min(100% - 24px,1160px); padding-top: 96px; }.auth-layout { grid-template-columns: 1fr; gap: 30px; }.auth-story { padding-top: 24px; }.auth-story h1 { font-size: clamp(3.2rem,16vw,5rem); }.portal-heading { align-items: stretch; flex-direction: column; }.portal-heading h1 { font-size: clamp(3rem,15vw,5rem); }.sync-flow { grid-template-columns: 1fr; }.sync-flow i { width: 2px; height: 20px; margin-left: 18px; }.admin-sidebar { position: sticky; top: 0; width: 100%; height: auto; }.intent-admin-page { display: block; }.admin-brand { min-height: 64px; }.admin-menu-toggle { display: block; margin: 0 12px 10px; padding: 9px; border: 1px solid rgba(111,199,216,.2); border-radius: 8px; color: var(--intent-white); background: #102b39; }.admin-sidebar nav { display: none; max-height: 55vh; overflow-y: auto; }.admin-sidebar nav.open { display: grid; }.admin-identity { display: none; }.admin-main { margin-left: 0; }.admin-topbar { position: static; padding: 0 14px; }.admin-topbar div a { display: none; }.admin-stats { grid-template-columns: 1fr 1fr; }.admin-create-form { grid-template-columns: 1fr; }.modal-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .account-card { padding: 19px; border-radius: 16px; }.platform-card .download-qr, .qr-placeholder { width: 180px; height: auto; min-height: 180px; }.member { grid-template-columns: 42px 1fr; }.member em { grid-column: 2; }.admin-stats { grid-template-columns: 1fr; }.admin-topbar div { gap: 7px; }.admin-topbar button { font-size: .65rem; }.user-modal footer { align-items: stretch; flex-direction: column; }#recovery-codes { columns: 1; } }
