/* Personal account dashboard. Kept separate from the numerology results page. */
.account-page {
    --account-bg: #101214;
    --account-surface: #191c1e;
    --account-border: #ffffff12;
    --account-text: #f0eee8;
    --account-muted: #a2a6a5;
    --account-gold: #dfc28a;
    background: var(--account-bg);
    color: var(--account-text);
    font-size: 14px;
    line-height: 1.65;
}
.account-page [hidden] { display: none !important; }
.account-page a, .account-page button { -webkit-tap-highlight-color: transparent; }
.account-page :is(a, button, input, select):focus-visible { outline: 2px solid var(--account-gold); outline-offset: 4px; }
.account-page button { cursor: pointer; }
.account-page button:disabled { cursor: wait; opacity: .55; }
.account-page :is(h1, h2, h3) { font-family: 'Outfit', system-ui, sans-serif; font-weight: 500; line-height: 1.25; }
.account-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.account-icon { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.account-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.account-skip { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 20px; background: var(--account-gold); color: #171510; border-radius: 10px; }
.account-skip:focus { top: 12px; }
.account-page .auth-menu { position: absolute; right: 0; width: 224px; padding: 8px; border: 1px solid #dfc28a33; border-radius: 14px; background: #1b1e22; box-shadow: 0 16px 40px #0006; flex-direction: column; z-index: 1100; }
.account-page .auth-menu #authUserName { padding: 12px; border-bottom: 1px solid var(--account-border); overflow-wrap: anywhere; }
.account-page .auth-menu :is(a, button) { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--account-gold); text-align: left; font-size: 13px; }
.account-page .auth-menu button { color: #e7a09c; }
.account-page .auth-menu :is(a, button):hover { background: #ffffff08; }
.account-page #authProfilePic { border-radius: 50%; cursor: pointer; }
.account-page header.header .logo > .premium-brand-mark { display: grid !important; }
.account-page header.header .logo > .premium-brand-copy { display: flex !important; }

.account-layout { max-width: 1360px; margin: 112px auto 0; padding: 0 28px; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 36px; align-items: start; }
.account-sidebar { position: sticky; top: 106px; min-height: calc(100svh - 134px); padding: 4px 24px 20px 0; border-right: 1px solid var(--account-border); display: flex; flex-direction: column; }
.account-identity { padding: 8px 4px 28px; }
.account-avatar-wrap { width: 56px; position: relative; margin-bottom: 16px; }
.account-avatar { width: 56px; height: 56px; border-radius: 18px; object-fit: cover; background: var(--account-surface); border: 1px solid #dfc28a40; }
.account-avatar-wrap > span { position: absolute; width: 11px; height: 11px; right: -2px; bottom: 1px; border: 3px solid var(--account-bg); border-radius: 50%; background: #93b7a0; }
.account-identity h2 { font-size: 18px; overflow-wrap: anywhere; margin-bottom: 5px; }
.account-identity p { color: var(--account-muted); font-size: 11px; overflow-wrap: anywhere; }
.account-member { display: inline-block; margin-top: 12px; font-size: 8px; font-weight: 600; letter-spacing: 1.4px; color: var(--account-gold); }
.account-nav-label { margin: 10px 12px 12px; font-size: 9px; font-weight: 500; letter-spacing: 1.7px; color: #929695; }
.account-nav { display: flex; flex-direction: column; gap: 6px; }
.account-nav > a { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; color: #b1b5b3; transition: background .2s, color .2s; }
.account-nav > a:hover { background: #ffffff04; color: var(--account-text); }
.account-nav > a[aria-current="page"] { color: var(--account-gold); background: linear-gradient(95deg, #dfc28a16, #dfc28a07); border-color: #dfc28a21; }
.account-nav > a > :nth-child(2) { flex: 1; }
.account-nav-indicator { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: none; }
[aria-current="page"] .account-nav-indicator { display: block; }
.account-nav-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 6px; background: #ffffff08; font-size: 10px; }
.account-sidebar-bottom { margin-top: auto; padding-top: 44px; }
.account-guidance { padding: 20px 16px; border: 1px solid #dfc28a20; border-radius: 12px; background: linear-gradient(140deg, #dfc28a09, transparent); }
.account-guidance > span { color: var(--account-gold); font-size: 28px; line-height: 1; }
.account-guidance h3 { margin: 14px 0 9px; font-size: 16px; line-height: 1.5; }
.account-guidance p { font-size: 11px; color: var(--account-muted); }
.account-guidance a { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; color: var(--account-gold); font-size: 11px; }
.account-side-action { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; margin-top: 14px; border: 0; border-radius: 8px; background: transparent; color: var(--account-muted); font-size: 11px; }
.account-side-action:hover { background: #ffffff05; color: var(--account-text); }
.account-signout { margin-top: 0; color: #b99b97; }

.account-main { min-width: 0; }
.account-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 0 26px; }
.account-eyebrow { font-size: 9px; font-weight: 500; letter-spacing: 1.9px; color: var(--account-muted); }
.account-page-heading h1 { margin: 12px 0 8px; font-size: clamp(28px, 2.65vw, 38px); letter-spacing: -.9px; overflow-wrap: anywhere; }
.account-page #dashboardTitle:focus { outline: none; }
.account-page-heading > div > p:last-child { font-size: 12px; color: var(--account-muted); }
.account-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 600; line-height: 1.5; transition: background .2s, border-color .2s; }
.account-button-gold { background: linear-gradient(110deg, #e8d1a4, #d8b675); color: #242016; box-shadow: 0 4px 16px #0002; }
.account-button-gold:hover { background: #efdbb5; }
.account-button-quiet { background: #ffffff03; border-color: #ffffff16; color: #c0c4c1; }
.account-button-quiet:hover { background: #ffffff08; border-color: #dfc28a55; }
.account-page-heading > button { flex-shrink: 0; }
.account-welcome { position: relative; isolation: isolate; min-height: 276px; overflow: hidden; border: 1px solid #dfc28a38; border-radius: 16px; background: radial-gradient(ellipse at 90% 50%, #dfc28a10, transparent 70%), linear-gradient(115deg, #232621, #191e1c 75%, #171c1a); }
.account-welcome-copy { position: relative; z-index: 1; width: 65%; padding: 32px 36px; }
.account-welcome .account-eyebrow { color: var(--account-gold); font-size: 8px; }
.account-welcome h2 { margin: 15px 0 12px; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.6px; }
.account-welcome h2 > span { color: var(--account-gold); }
.account-welcome-copy > p:not(.account-eyebrow) { max-width: 355px; font-size: 12px; color: #b4b7ad; line-height: 1.8; }
.account-welcome .account-button { margin-top: 24px; }
.account-compass { position: absolute; z-index: 0; width: 350px; height: 350px; right: -12px; top: 50%; transform: translateY(-50%); background: url('assets/cosmic-compass.svg') center / contain no-repeat; opacity: .5; pointer-events: none; }
.account-welcome-caption { position: absolute; bottom: 20px; right: 49px; color: #b8a884; font-size: 7px; letter-spacing: 2.2px; }

.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.account-stat { display: flex; flex-direction: column; min-width: 0; padding: 20px 22px 16px; border: 1px solid var(--account-border); border-radius: 12px; background: linear-gradient(135deg, #1b1e20, #181b1d); transition: border-color .2s, background .2s; }
.account-stat:hover { border-color: #dfc28a40; background: #202321; }
.account-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #bac0bc; font-size: 11px; }
.account-stat-top .account-icon { color: #b8b5a2; width: 17px; height: 17px; }
.account-stat strong { display: block; font: 500 32px/1.3 'Outfit', system-ui, sans-serif; margin: 12px 0; font-variant-numeric: tabular-nums; }
.account-stat-note { display: flex; justify-content: space-between; gap: 8px; color: #979e99; font-size: 9px; }
.account-stat-note > span { font-size: 13px; color: #c1c4ba; }
.account-stat-gold { border-color: #dfc28a26; background: linear-gradient(135deg, #25271f, #1b1e1b); }
.account-stat-gold strong, .account-stat-gold .account-icon { color: var(--account-gold); }

.account-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 24px; }
.account-content-grid.account-full-width { grid-template-columns: minmax(0, 1fr); }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.account-section-heading h2 { font-size: 20px; letter-spacing: -.3px; }
.account-section-heading p:not(.account-eyebrow) { font-size: 11px; color: var(--account-muted); margin-top: 4px; }
.account-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--account-gold); font-size: 11px; font-weight: 500; }
.account-text-link:hover { color: #f4dfb8; }
.account-section-heading > a { flex-shrink: 0; min-height: 44px; }
.account-order-list { display: flex; flex-direction: column; gap: 16px; }
.account-page .order-card { min-width: 0; padding: 22px; border: 1px solid var(--account-border); border-radius: 12px; background: var(--account-surface); }
.account-page .order-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--account-border); }
.account-page .order-id { font-size: 9px; letter-spacing: .8px; color: #aab0ac; overflow-wrap: anywhere; }
.account-page .order-date { margin-top: 5px; font-size: 11px; color: #e2e5de; }
.account-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 5px 9px; border: 1px solid #dfc28a25; border-radius: 6px; background: #dfc28a0d; color: #ddc38e; font-size: 9px; font-weight: 500; }
.account-status::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.account-status-completed, .account-status-ready { color: #aacdb5; border-color: #aacdb52b; background: #aacdb50a; }
.account-status-shipped { color: #afc3dc; border-color: #afc3dc2b; background: #afc3dc0a; }
.account-status-cancelled, .account-status-payment { color: #e0aaa3; border-color: #e0aaa32b; background: #e0aaa30a; }
.account-order-items { display: flex; flex-direction: column; gap: 16px; }
.account-page .order-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.account-item-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; overflow: hidden; border: 1px solid #dfc28a16; border-radius: 9px; background: #ffffff05; color: var(--account-gold); }
.account-item-icon img { width: 100%; height: 100%; object-fit: contain; }
.account-item-copy { min-width: 0; }
.account-item-copy h3 { font-family: var(--font-body); font-size: 12px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.account-item-copy p { font-size: 10px; color: var(--account-muted); margin-top: 3px; overflow-wrap: anywhere; }
.account-item-action { margin-top: 9px; }
.account-item-action .account-button { min-height: 38px; padding: 8px 12px; font-size: 10px; }
.account-item-note { font-size: 10px; color: #b5b9b0; line-height: 1.7; }
.account-page .order-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--account-border); }
.account-total-label { font-size: 9px; color: var(--account-muted); }
.account-page .order-total { font: 500 20px/1.5 'Outfit', system-ui, sans-serif; color: var(--account-text); font-variant-numeric: tabular-nums; }
.account-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-order-actions .account-button { min-height: 38px; padding: 8px 11px; font-size: 10px; }
.account-tracking { border-top: 1px solid var(--account-border); padding-top: 14px; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--account-muted); }
.account-tracking > div { min-width: 0; overflow-wrap: anywhere; }
.account-tracking strong { color: #bdcfe5; font-weight: 500; }
.account-tracking code { display: inline-block; margin-left: 5px; font-size: 10px; color: #e0e3dc; user-select: all; overflow-wrap: anywhere; }
.account-order-note { font-size: 10px; color: var(--account-muted); margin-top: 14px; }

.account-overview-rail { display: flex; flex-direction: column; gap: 18px; padding-top: 3px; }
.account-reading-card { padding: 22px; border: 1px solid #dfc28a2b; border-radius: 12px; background: linear-gradient(135deg, #25281f, #1b201b); }
.account-reading-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.account-small-icon { display: grid; place-items: center; color: var(--account-gold); }
.account-reading-heading .account-eyebrow { font-size: 7px; letter-spacing: 1.3px; color: #c1b38e; }
.account-reading-card h2, .account-help-card h2 { font-size: 19px; margin-bottom: 10px; }
.account-reading-card > p { font-size: 11px; color: #b0b7a8; overflow-wrap: anywhere; }
.account-number-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; border: 1px solid #dfc28a19; border-radius: 10px; padding: 14px 0; background: #00000010; }
.account-number-grid > div { text-align: center; }
.account-number-grid > div + div { border-left: 1px solid #dfc28a19; }
.account-number-grid strong { display: block; font: 500 30px/1.3 'Outfit', system-ui, sans-serif; color: var(--account-gold); }
.account-number-grid span { display: block; margin-top: 5px; color: #b6bba9; font-size: 9px; }
.account-reading-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #dfc28a1f; color: var(--account-gold); font-size: 11px; }
.account-help-card { padding: 22px; border: 1px solid var(--account-border); border-radius: 12px; background: #171a1c; }
.account-help-card > .account-icon { width: 23px; height: 23px; color: #bcb7a4; margin-bottom: 16px; }
.account-help-card p { font-size: 11px; color: var(--account-muted); line-height: 1.8; margin-bottom: 14px; }
.account-help-card a { min-height: 44px; }
.account-toolbar { display: flex; gap: 12px; margin-bottom: 20px; padding: 12px; border: 1px solid var(--account-border); border-radius: 10px; background: #181b1d; }
.account-search { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; padding-left: 12px; color: var(--account-muted); }
.account-page .account-search input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 4px; border: 0; border-radius: 6px; background: transparent; color: var(--account-text); font: 12px var(--font-body); }
.account-search input::placeholder { color: #999f9a; }
.account-page .account-toolbar select { width: 190px; min-height: 44px; border: 1px solid #ffffff15; border-radius: 8px; padding: 10px 28px 10px 12px; background: #202425; color: #c5c9c2; font: 11px var(--font-body); color-scheme: dark; }
.account-report-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.account-report-filters button { min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff15; border-radius: 8px; background: #191c1e; color: #adb4ad; font-size: 11px; }
.account-report-filters button[aria-pressed="true"] { border-color: #dfc28a50; color: var(--account-gold); background: #dfc28a0d; }
.account-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-report-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--account-border); border-radius: 12px; background: var(--account-surface); min-width: 0; }
.account-report-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.account-report-card h3 { font-size: 19px; line-height: 1.45; overflow-wrap: anywhere; }
.account-report-recipient { font-size: 12px; color: #cacdc3; margin-top: 8px; overflow-wrap: anywhere; }
.account-report-meta { color: var(--account-muted); font-size: 10px; margin-top: 12px; }
.account-report-description { color: var(--account-muted); font-size: 11px; margin-top: 14px; line-height: 1.8; }
.account-report-card .account-item-action { padding-top: 22px; margin-top: auto; }
.account-report-card .account-button { width: 100%; min-height: 44px; }
.account-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; padding: 42px 24px; border: 1px dashed #dfc28a30; border-radius: 12px; background: #191c1b; text-align: center; }
.account-empty > .account-icon { width: 30px; height: 30px; color: var(--account-gold); margin-bottom: 20px; }
.account-empty h3 { font-size: 22px; margin-bottom: 10px; }
.account-empty p { max-width: 340px; font-size: 12px; color: var(--account-muted); }
.account-empty .account-button { margin-top: 24px; }
.account-load-state { display: flex; align-items: center; gap: 16px; min-height: 150px; padding: 30px; margin-bottom: 26px; background: var(--account-surface); border: 1px solid var(--account-border); border-radius: 12px; }
.account-load-state h2 { font-size: 18px; }
.account-load-state p { font-size: 12px; color: var(--account-muted); margin-top: 6px; }
.account-load-state .account-button { margin-top: 16px; }
.account-loader { width: 24px; height: 24px; flex-shrink: 0; border: 2px solid #dfc28a25; border-top-color: var(--account-gold); border-radius: 50%; animation: account-spin 1s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }
.account-discover { margin-top: 32px; }
.account-discover .account-eyebrow { font-size: 8px; margin-bottom: 10px; }
.account-discover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.account-discover-grid > a { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--account-border); border-radius: 12px; background: #171a1b; transition: border-color .2s; }
.account-discover-grid > a:hover { border-color: #dfc28a40; }
.account-discover-icon { font-size: 24px; line-height: 1; color: var(--account-gold); margin-bottom: 18px; }
.account-discover-grid h3 { font-size: 17px; margin-bottom: 8px; }
.account-discover-grid p { font-size: 10px; color: var(--account-muted); margin-bottom: 18px; }
.account-discover-grid .account-text-link { font-size: 10px; margin-top: auto; }
.account-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding: 18px 0 24px; border-top: 1px solid var(--account-border); font-size: 9px; color: #989e98; }
.account-footer > span > span { padding: 0 6px; color: var(--account-gold); }
.account-footer > div { display: flex; gap: 20px; }
.account-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.account-footer a:hover { color: var(--account-gold); }

.account-auth { min-height: 100svh; display: grid; place-items: center; padding: 120px 24px 48px; background: radial-gradient(ellipse at 50% 45%, #dfc28a08, transparent 60%); }
.account-auth-card { width: 100%; max-width: 480px; text-align: center; padding: 40px; border: 1px solid #dfc28a25; border-radius: 20px; background: linear-gradient(135deg, #22261f, #181c1b 70%); box-shadow: 0 30px 80px #0003; }
.account-auth-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border: 1px solid #dfc28a45; border-radius: 50%; color: var(--account-gold); font-size: 25px; }
.account-auth .account-eyebrow { color: var(--account-gold); font-size: 8px; }
.account-auth h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.7px; margin: 18px 0; }
.account-auth-card > p:not(.account-eyebrow):not(.account-auth-note) { color: #b3bbae; font-size: 13px; line-height: 1.9; }
.account-auth .account-button { width: 100%; margin-top: 28px; min-height: 48px; font-size: 12px; }
.account-auth-note { color: #a6aea2; font-size: 10px; margin: 14px 0 28px; }

/* Match the dashboard's silhouette while Firebase restores the real session. */
.account-loading-sidebar { padding: 12px 24px 0 0; border-right: 1px solid var(--account-border); min-height: calc(100svh - 134px); }
.account-loading-avatar { width: 56px; height: 56px; border-radius: 18px; margin-bottom: 20px; }
.account-loading-name { width: 65%; height: 18px; margin-bottom: 10px; }
.account-loading-email { width: 85%; height: 10px; }
.account-loading-nav { display: grid; gap: 10px; margin-top: 60px; }
.account-loading-nav > span { height: 48px; }
.account-loading-main { min-width: 0; padding-top: 8px; }
.account-loading-eyebrow { width: 150px; height: 8px; margin-bottom: 20px; }
.account-loading-title { width: min(70%, 340px); height: 38px; margin-bottom: 12px; }
.account-loading-description { width: min(85%, 300px); height: 12px; margin-bottom: 28px; }
.account-loading-hero { width: 100%; height: 308px; border-radius: 16px; }
.account-loading-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.account-loading-stats > span { height: 144px; border-radius: 12px; }
.account-loading-content { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; }
.account-loading-content > span { height: 270px; border-radius: 12px; }

@media (max-width: 1200px) {
    .account-layout { gap: 26px; grid-template-columns: 208px minmax(0, 1fr); padding: 0 24px; }
    .account-sidebar { padding-right: 20px; }
    .account-content-grid { grid-template-columns: minmax(0, 1fr) 236px; gap: 18px; }
    .account-welcome-copy { padding: 28px; width: 68%; }
    .account-compass { right: -60px; opacity: .35; }
    .account-welcome-caption { right: 24px; }
    .account-stat { padding: 18px; }
}
@media (max-width: 1100px) {
    .account-layout { margin-top: calc(var(--mobile-header) + 28px); }
    .account-sidebar { top: calc(var(--mobile-header) + 24px); }
    .account-content-grid { grid-template-columns: minmax(0, 1fr); }
    .account-overview-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 6px; }
    .account-stats { gap: 12px; }
    .account-stat { padding: 16px; }
    .account-stat-note { font-size: 8px; }
    .account-discover-grid { gap: 12px; }
    .account-discover-grid > a { padding: 18px; }
}
@media (max-width: 800px) {
    .account-layout { display: block; padding: 0 22px; margin-top: calc(var(--mobile-header) + 20px); }
    .account-sidebar { position: static; min-height: 0; padding: 0; border-right: 0; margin-bottom: 26px; }
    .account-identity { display: flex; align-items: center; gap: 14px; padding: 0 2px 20px; }
    .account-avatar-wrap { margin: 0; flex-shrink: 0; width: 44px; }
    .account-avatar { width: 44px; height: 44px; border-radius: 14px; }
    .account-identity-copy { min-width: 0; }
    .account-identity h2 { font-size: 15px; margin-bottom: 2px; }
    .account-identity p { font-size: 10px; }
    .account-member, .account-nav-label, .account-sidebar-bottom { display: none; }
    .account-nav { flex-direction: row; gap: 6px; padding: 5px; background: #1b1e20; border: 1px solid var(--account-border); border-radius: 12px; }
    .account-nav > a { flex: 1; justify-content: center; gap: 8px; padding: 10px 8px; min-width: 0; min-height: 44px; font-size: 11px; }
    .account-nav > a > :nth-child(2) { flex: none; }
    .account-nav-indicator, [aria-current="page"] .account-nav-indicator, .account-nav-count { display: none; }
    .account-nav > a[aria-current="page"] { background: #dfc28a12; border-color: #dfc28a22; }
    .account-nav .account-icon { width: 15px; height: 15px; }
    .account-page-heading { padding: 0 0 22px; }
    .account-page-heading h1 { font-size: 30px; }
    .account-eyebrow { font-size: 8px; letter-spacing: 1.6px; }
    .account-welcome { min-height: 258px; }
    .account-welcome-copy { width: 70%; padding: 28px; }
    .account-stats { margin-bottom: 28px; }
    .account-stat strong { font-size: 28px; }
    .account-stat-note { font-size: 9px; }
    .account-loading-sidebar { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; min-height: 0; padding: 0; border: 0; margin-bottom: 26px; }
    .account-loading-avatar { grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; border-radius: 14px; }
    .account-loading-name { grid-column: 2; grid-row: 1; align-self: end; width: 110px; height: 15px; margin-bottom: 6px; }
    .account-loading-email { grid-column: 2; grid-row: 2; width: min(85%, 180px); height: 10px; }
    .account-loading-nav { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 20px; padding: 5px; border: 1px solid var(--account-border); border-radius: 12px; }
    .account-loading-nav > span { height: 44px; }
    .account-loading-main { padding-top: 0; }
    .account-loading-hero { height: 258px; }
    .account-loading-content { grid-template-columns: minmax(0, 1fr); }
    .account-loading-content > span + span { display: none; }
}
@media (max-width: 560px) {
    .account-layout { padding: 0 max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px)); }
    .account-page-heading { align-items: flex-start; gap: 10px; }
    .account-page-heading h1 { font-size: 27px; }
    .account-page-heading > div > p:last-child { font-size: 11px; max-width: 230px; }
    .account-page-heading > button { width: 44px; min-height: 44px; padding: 10px; margin-top: 24px; }
    .account-page-heading > button > span { display: none; }
    .account-welcome { min-height: 280px; border-radius: 14px; }
    .account-welcome-copy { width: 100%; padding: 26px 24px; }
    .account-welcome h2 { font-size: 29px; }
    .account-welcome-copy > p:not(.account-eyebrow) { max-width: 280px; font-size: 11px; }
    .account-welcome .account-button { margin-top: 22px; }
    .account-compass { width: 280px; height: 280px; right: -138px; top: 42%; opacity: .13; }
    .account-welcome-caption { display: none; }
    .account-stats { gap: 8px; margin: 16px 0 26px; }
    .account-stat { padding: 14px 11px; border-radius: 10px; }
    .account-stat-top { font-size: 9px; align-items: flex-start; }
    .account-stat-top .account-icon { display: none; }
    .account-stat strong { margin: 9px 0 7px; font-size: 27px; }
    .account-stat-note { font-size: 8px; line-height: 1.6; }
    .account-stat-note > span { display: none; }
    .account-section-heading h2 { font-size: 20px; }
    .account-section-heading p:not(.account-eyebrow) { font-size: 10px; }
    .account-page .order-card { padding: 18px; }
    .account-page .order-header { gap: 8px; }
    .account-item-action .account-button, .account-order-actions .account-button { min-height: 44px; }
    .account-overview-rail { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .account-reading-card, .account-help-card { padding: 22px; }
    .account-reading-heading { margin-bottom: 18px; }
    .account-number-grid { padding: 16px 0; }
    .account-report-grid { grid-template-columns: minmax(0, 1fr); }
    .account-toolbar { flex-direction: column; gap: 8px; padding: 10px; }
    .account-page .account-toolbar select { width: 100%; }
    .account-report-filters { gap: 6px; }
    .account-report-filters button { padding: 10px; font-size: 10px; }
    .account-empty { padding: 36px 20px; }
    .account-load-state { padding: 24px 20px; }
    .account-discover-grid { grid-template-columns: minmax(0, 1fr); }
    .account-discover-grid > a { position: relative; padding: 20px 20px 20px 68px; }
    .account-discover-icon { position: absolute; top: 23px; left: 22px; }
    .account-discover-grid p { font-size: 11px; margin-bottom: 12px; }
    .account-footer { margin-top: 28px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 9px; }
    .account-auth-card { padding: 30px 24px; }
    .account-auth h1 { font-size: 32px; }
    .account-auth-card > p:not(.account-eyebrow):not(.account-auth-note) { font-size: 12px; }
    .account-loading-title { height: 30px; }
    .account-loading-hero { height: 280px; }
    .account-loading-stats { gap: 8px; margin: 16px 0 26px; }
    .account-loading-stats > span { height: 122px; }
}
@media (max-width: 359px) {
    .account-nav > a { gap: 5px; font-size: 10px; }
    .account-welcome-copy { padding: 24px 20px; }
    .account-welcome h2 { font-size: 26px; }
    .account-stat { padding: 12px 9px; }
    .account-stat-top { font-size: 8px; }
    .account-stat-note { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .account-loader { animation: none; }
}
