html[data-theme=light]{color-scheme:light}html[data-theme=dark]{color-scheme:dark}
.theme-picker{display:inline-flex;align-items:center;margin-left:auto;flex-shrink:0}.theme-picker select{-webkit-appearance:none;appearance:none;text-align:center;font:500 11px/1.3 var(--body);width:76px;min-height:44px;padding:0 8px;border-radius:11px;background:var(--card,#fff);color:var(--text,#171719);border:1px solid var(--line,#d6d8dc);cursor:pointer}.theme-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.theme-picker+nav{margin-left:0}
html[data-theme=dark]{--bg:#14191e;--surface:#1c2329;--card:#222a31;--card-2:#29333c;--line:#414c57;--text:#f3f1ed;--grey:#bdc5cd;--grey-2:#abb6c1;--orange-text:#ffad73;--orange-soft:#33291f;--ink:#151719}
/* Guide typography has fixed light-theme colors in proto.css. */
html[data-theme=dark] .g-dek{color:var(--grey)}
html[data-theme=dark] .guide p,html[data-theme=dark] .guide li,html[data-theme=dark] .guide .g-intro p{color:var(--text)}
/* Get-started step subtitles have a fixed light-theme color in journey.css. */
html[data-theme=dark] .journey-steps small{color:var(--grey-2)}
html[data-theme=dark] body:not(.space-dark){--bg:#14191e;--surface:#1c2329;--card:#222a31;--line:#414c57;--text:#f3f1ed;--grey:#bdc5cd;--grey-2:#abb6c1;background:#14191e!important;color:#f3f1ed}
html[data-theme=dark] .top{background:#171d23f5!important;border-color:#3a4651!important}html[data-theme=dark] .top .logo img,html[data-theme=dark] footer a[aria-label="LiftIQ home"] img{content:url('logo-on-dark.svg')}html[data-theme=dark] .top .nav>a:not(.btn),html[data-theme=dark] .top .nav button:not(.btn){color:#e3e7ea}html[data-theme=dark] .dd-panel,html[data-theme=dark] .nav.open{background:#232c34;color:#f3f1ed}
html[data-theme=dark] .btn-primary{color:#151719}html[data-theme=dark] .btn-ghost,html[data-theme=dark] .topic,html[data-theme=dark] .tile,html[data-theme=dark] .state-box,html[data-theme=dark] .chip,html[data-theme=dark] .pager button,html[data-theme=dark] .member-nav{background:#232c34;color:#e4e8eb;border-color:#465360}html[data-theme=dark] .chip.active{background:#ff9b56;color:#171719}html[data-theme=dark] .preview-notice{background:#252d34!important;border-color:#414d58!important;color:#bfc8d0!important}html[data-theme=dark] .preview-notice b{color:#e7e9eb!important}html[data-theme=dark] .preview-notice a{color:#ffb580!important}
html[data-theme=dark] .band-warm,html[data-theme=dark] .band-cream,html[data-theme=dark] .tint,html[data-theme=dark] .welcome-wrap,html[data-theme=dark] .setup-wrap,html[data-theme=dark] .quiet-hero,html[data-theme=dark] .quiet-member,html[data-theme=dark] .m-band,html[data-theme=dark] .m-hero{background:#1a2127!important;border-color:#3d4852;color:#e5e8eb}html[data-theme=dark] .closing,html[data-theme=dark] .signup-band{background:linear-gradient(145deg,#272b2c,#1a2127);border-color:#46515a}html[data-theme=dark] footer{background:#171d23!important;border-color:#3c4650!important;color:#c1c9d1}html[data-theme=dark] footer h4{color:#f3f1ed}html[data-theme=dark] .hl{color:#ffab70}
html[data-theme=dark] .member-studio .card,html[data-theme=dark] .journey-done{background:#222a31;border-color:#414e59}html[data-theme=dark] .member-studio .m-hero h1,html[data-theme=dark] .member-studio h1,html[data-theme=dark] .member-studio h2,html[data-theme=dark] .member-studio h3{color:#f3f1ed}html[data-theme=dark] .member-studio .lede,html[data-theme=dark] .member-studio .small,html[data-theme=dark] .member-studio .eyebrow,html[data-theme=dark] .member-studio .muted{color:#b9c3cc}html[data-theme=dark] .member-studio .nav-inline .btn{background:#29333c;color:#dce2e7;border-color:#48545f}
html[data-theme=dark] .auth-studio .auth-canvas{background:radial-gradient(at 0 80%,#3b281c,transparent 55%),#14191e}html[data-theme=dark] .auth-studio .auth-form{background:#20272e;border-color:#414c57;box-shadow:0 22px 50px -26px #0008}html[data-theme=dark] .auth-story h2,html[data-theme=dark] .auth-studio .auth-form h1{color:#f3f1ed}html[data-theme=dark] .auth-story h2 span{color:#ffad73}html[data-theme=dark] .auth-story p,html[data-theme=dark] .story-wordmark,html[data-theme=dark] .auth-form>.muted,html[data-theme=dark] .auth-form>.eyebrow,html[data-theme=dark] .auth-form>.small,html[data-theme=dark] .auth-form .small,html[data-theme=dark] .consent-note,html[data-theme=dark] #pw-hint{color:#b9c3cc!important}html[data-theme=dark] .auth-story figure{background:#232c34;border-color:#414c57}html[data-theme=dark] .auth-story figcaption,html[data-theme=dark] .auth-story>a{color:#cad1d7}
html[data-theme=dark] .auth-studio .auth-form .notice,html[data-theme=dark] .member-studio .notice,html[data-theme=dark] .qa-data-note{background:#2b343c;color:#c2cbd3;border-color:#46525d}html[data-theme=dark] .auth-studio .auth-form .notice b{color:#e5e9ec}html[data-theme=dark] .auth-form .notice a,html[data-theme=dark] .auth-form>.small a,html[data-theme=dark] .auth-form .linkish,html[data-theme=dark] .auth-form .check a{color:#ffc394}html[data-theme=dark] .field>label,html[data-theme=dark] .field>legend,html[data-theme=dark] .auth-form .check{color:#cbd3da!important}html[data-theme=dark] input,html[data-theme=dark] select:not([data-theme-select]){background:#192027;color:#f2f3f2;border-color:#586572}html[data-theme=dark] .auth-studio .field input{background:#192027;color:#f2f3f2;border-color:#586572}html[data-theme=dark] .auth-studio .field input:disabled{background:#29323a;color:#c4ccd3;border-color:#485560}html[data-theme=dark] input::placeholder{color:#aebbc6!important}html[data-theme=dark] .social-availability{border-color:#48525b}html[data-theme=dark] .social-availability summary,html[data-theme=dark] .social-status,html[data-theme=dark] .availability-label,html[data-theme=dark] .social-status b{color:#bdc6ce}
html[data-theme=dark] .journey-labels,html[data-theme=dark] .choice-intro,html[data-theme=dark] .setup-disclosure,html[data-theme=dark] .setup-top>a,html[data-theme=dark] .journey-done p,html[data-theme=dark] .journey-done dt{color:#bdc6ce}html[data-theme=dark] #choices legend,html[data-theme=dark] .journey-done dd{color:#f3f1ed}html[data-theme=dark] .image-choice{background:#252e36;border-color:#53606d}html[data-theme=dark] .image-choice .choice-text b{color:#f3f1ed}html[data-theme=dark] .image-choice .choice-text small{color:#c0c9d1}html[data-theme=dark] .image-choice:has(input:checked){background:#3a2d23;border-color:#ffad73;box-shadow:0 0 0 2px #ffad73}html[data-theme=dark] .journey-actions{background:#1a2127ef!important;border-color:#44515c}html[data-theme=dark] .journey-labels [aria-current]{color:#ffad73}html[data-theme=dark] .journey-progress{background:#45505a}html[data-theme=dark] .account-actions>a{background:#252e36;border-color:#4a5661}html[data-theme=dark] .account-actions b{color:#f3f1ed}html[data-theme=dark] .account-actions small,html[data-theme=dark] .account-actions span{color:#bcc6ce}html[data-theme=dark] .form-error:not(:empty),html[data-theme=dark] #journey-error{color:#ffaaa2}html[data-theme=dark] :focus-visible{outline-color:#ffc394}
/* Light personal space keeps the approved photographic hero and orange identity. */
html[data-theme=light]{--space-bg:#f5f5f3;--space-header:#ffffffed;--space-text:#22272c;--space-panel:#ffffff;--space-border:#d6dade;--space-muted:#59636c;--space-accent-text:#9c4100}
html[data-theme=light] .space-dark{color-scheme:light}html[data-theme=light] .space-dark .top .logo img{content:url('logo-light.svg')}html[data-theme=light] .space-dark .space-hero h1,html[data-theme=light] .space-dark .space-hero h2{color:#f5f1eb}html[data-theme=light] .space-dark .space-hero p{color:#c6cdd2}html[data-theme=light] .space-dark .space-hero .space-kicker{color:#f1b280}html[data-theme=light] .space-dark .space-hero .preference-chips span{color:#f2eee9}html[data-theme=light] .space-dark .space-hero .activity-details,html[data-theme=light] .space-dark .space-hero .activity-details summary{color:#d1d7dc}html[data-theme=light] .space-dark .space-hero .hero-content .fixture-plan-note{color:#ffc394}html[data-theme=light] .space-dark .activity-details p{color:#d1d7dc}html[data-theme=light] .space-dark .space-hero .btn-primary{color:#171719}html[data-theme=light] .space-dark .hero-content{color:#f5f1eb}html[data-theme=light] .space-dark .day-picker button[aria-pressed=true]{background:#fff0e3;border-color:#a24c0f}html[data-theme=light] .space-dark .day-picker button[aria-pressed=true] span{color:#9c4100}html[data-theme=light] .space-dark .fixture-plan-note{background:#fff1e4;border-color:#c79d7d;color:#85400d}html[data-theme=light] .space-dark .space-dock a[aria-current]{color:#171719}html[data-theme=light] .space-dark .space-hero .preference-chips span{background:#ffffff14;border-color:#ffffff33}
@media(max-width:760px){.top .wrap{gap:10px!important}.theme-picker select{width:70px;min-height:44px}.top .nav-inline>a[href*="apps.apple.com"]{display:none}.theme-picker{margin-left:auto}.top .nav-inline{margin-left:0}.auth-studio .top .wrap{gap:8px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html[data-theme=light] .space-dark .plan-empty{background:linear-gradient(140deg,#fff,#eef0ed)}html[data-theme=light] .space-dark .setup-wrap,html[data-theme=light] .space-dark .journey-actions{background:#f1f2ef!important}html[data-theme=light] .space-dark .journey-done{background:#fff}html[data-theme=light] .space-dark .image-choice:has(input:checked){background:#fff0e4}html[data-theme=light] .space-dark #fixture-gate .btn-ghost,html[data-theme=light] .space-dark .journey-actions .btn-ghost{background:#fff;color:#323a42;border-color:#bfc6cc}

html[data-theme=dark] footer a,html[data-theme=dark] footer .brand-links a{color:#c1c9d1}html[data-theme=dark] footer a:hover{color:#ffb580}html[data-theme=dark] .account-symbol{content:url('symbol-on-dark.svg')}

/* Shared reviewed navigation and editorial contrast in both appearances. */
html[data-theme=dark] .top .dd-panel a{color:#f3f1ed}
html[data-theme=dark] .top .dd-panel a.all{color:#ffad73}
html[data-theme=dark] .top .dd-panel a:hover{background:#34414d;color:#ffffff}
.ecircle{background:var(--card)}.ecircle h3 a{color:var(--text)}.ecircle .more{color:var(--orange-text)}
body[data-area=member] .member-nav{display:block;background:var(--card);border-bottom:1px solid var(--line)}
body[data-area=member] .member-nav .wrap{display:flex;flex-wrap:wrap;gap:0 16px}
body[data-area=member] .member-nav a{font-size:12px;padding:13px 6px;min-height:46px;color:var(--grey)}
body[data-area=member] .member-nav a[aria-current=page]{color:var(--orange-text);border-bottom-color:var(--orange-text);font-weight:700}
@media(max-width:760px){body[data-area=member] .member-nav .wrap{width:100%;padding:0 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}body[data-area=member] .member-nav a{white-space:normal;text-align:center;font-size:11px;min-height:44px;padding:10px 4px}}

/* Discreet appearance control, separate from navigation. Native button keyboard behaviour. */
.theme-control{display:flex;align-items:center;flex-shrink:0;margin-left:8px;order:3}.theme-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-width:64px;min-height:44px;padding:8px;border:0;border-radius:10px;background:transparent;color:var(--text);cursor:pointer}.theme-track{width:24px;height:14px;border:1px solid currentColor;border-radius:9px;padding:2px;display:flex;align-items:center}.theme-track i{width:8px;height:8px;border-radius:50%;background:currentColor}.theme-toggle[aria-checked=true] .theme-track i{transform:translateX(10px)}.theme-toggle:focus-visible{outline:3px solid var(--orange-text);outline-offset:3px}.theme-toggle:hover{background:var(--card)}.top .nav{margin-left:auto}.top .menu-btn{order:4}#appearance-settings select{min-height:44px;padding:8px;margin:12px 0}.signup-simple{text-align:center;display:grid;justify-items:center;gap:18px;padding:40px 0}.session-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.session-reading{display:flex;align-items:center;min-height:170px}.session-reading .eyebrow{color:var(--orange-text)}
html footer,html[data-theme=dark] footer{background:#242031!important;color:#e7e3ed!important;padding:48px 0 24px}html footer a,html[data-theme=dark] footer a,html footer .brand-links a{color:#e7e3ed}.footer-simple{display:flex;flex-direction:column;align-items:center;gap:22px}.footer-simple .footer-logo img{content:url('logo-on-dark.svg')!important}.footer-simple .brand-links{display:flex;gap:16px;margin:0}.footer-simple .brand-links a{display:grid;place-items:center;min-height:44px;min-width:44px}.footer-help{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}.footer-simple .legal{width:100%;border-top:1px solid #686073;margin-top:12px;padding-top:24px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.footer-simple .legal span:last-child{display:flex;gap:24px}
@media(max-width:760px){.theme-control{margin-left:auto}.top .menu-btn{margin-left:0}.session-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-simple .legal{justify-content:center;text-align:center}.top .nav.open{order:5}}
@media(max-width:420px){.session-grid{grid-template-columns:1fr}}

.ecard:not(:has(.media)){border:1px solid var(--line);border-radius:18px;background:var(--card);padding:12px}.ecard:not(:has(.media)) .ecircle{border-radius:12px;margin:0;padding:22px}.tile:not(:has(img)){border:1px solid var(--line);min-height:150px}.tile:not(:has(img))>div{padding:24px}.quiet-grid:not(:has(>img)){grid-template-columns:1fr;max-width:820px}.quiet-grid:not(:has(>img))>div{max-width:660px}

.session-grid .tile .media{aspect-ratio:4/3}.session-grid .tile .media img{width:100%;height:100%;object-fit:contain;background:var(--card)}
.session-grid img[src*="goal-fatloss"]{object-fit:cover;object-position:center 40%}
.session-grid .tile .media img[src*="goal-fatloss"]{object-fit:cover;object-position:center 40%}

/* Mobile navigation: visible state and a larger, non-shrinking touch target. */
.top .menu-btn{min-height:48px;min-width:76px;flex-shrink:0;border-color:currentColor;touch-action:manipulation}

/* Disconnected account pages never imply personal history or synthetic progress. */
.account-empty{background:var(--bg);color:var(--text)}.account-empty h1{margin:12px 0 24px}.account-empty-status{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--text)}.account-empty-status h2{font-size:24px;margin-bottom:12px}.account-empty p{color:var(--text);margin-top:10px}.account-empty-links{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}.account-empty-links a{padding:10px 14px;min-height:44px;color:var(--text);border:1px solid var(--line);border-radius:12px}.account-empty-links a[aria-current]{font-weight:700;background:var(--card-2)}.account-empty-grid h2{font-size:22px}.account-empty-grid .card{background:var(--card);color:var(--text)}
.session-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:1000px){.session-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:420px){.session-grid.four{grid-template-columns:1fr}}
