/* ZERO MAX 8.45.6 — a consistent dark cinematic design language across the
 * complete user interface. This file changes presentation only, never finance,
 * authorization, legal copy, or the status colors for profit/loss/warnings.
 */
:root,[data-theme="dark"]{
 --bg:#071320;--panel:#101e2d;--panel2:#152536;--line:#42506a;
 --text:#f7f8fa;--muted:#c0cad7;--mint:#e3b870;--accent:#f4ce8a;
 --zm-input:#0c1d30;--zm-surface:#122236;--zm-soft:#1b3045;
 --zm-deep:#061321;--zm-contrast:#fff;--zm-button-text:#111821;
 --zm-tint:rgba(231,186,104,.10);--zm-header:rgba(6,18,32,.95);
 --lux-gold:#f0c87e;--lux-copper:#d49b4e;
}
[data-theme="light"]{
 --bg:#faf6ee;--panel:#fffcf7;--panel2:#eee8dc;--line:#d3c8b6;
 --text:#182231;--muted:#536071;--mint:#aa702e;--accent:#9d6d2d;
 --zm-input:#fffdf9;--zm-surface:#fffdf9;--zm-soft:#f3eadc;
 --zm-deep:#eee8de;--zm-contrast:#192230;--zm-button-text:#fff;
 --zm-tint:rgba(195,141,62,.09);--zm-header:rgba(254,250,243,.96)
}
html{scroll-behavior:smooth;} body{color:var(--text);background:var(--bg);}
:where(button,input,select,textarea,a):focus-visible{outline:3px solid #fbd791!important;outline-offset:3px!important;}
::selection{color:#0e1a25;background:#f5cf84;}
:where(.btn.btn-primary,.signup-entry,.signup-invite-link,.auth-form button[type="submit"],.auth-box .auth-mode-tab.active){
 border-radius:999px;background:linear-gradient(180deg,#ffedb9 0%,#f3ca7c 55%,#cb9247 100%);color:#111b27;border:1px solid #f1c576;
 box-shadow:inset 0 2px #fff8,0 8px 27px #0005;transition:filter .18s,transform .18s,box-shadow .18s;
}
:where(.btn.btn-primary,.signup-entry,.signup-invite-link,.auth-form button[type="submit"]):not(:disabled):hover{filter:brightness(1.07);transform:translateY(-2px);box-shadow:inset 0 2px #fff8,0 13px 30px #0005;}
:where(.btn.btn-outline){border:1px solid #cfb38788;color:var(--text);background:linear-gradient(150deg,#2836468a,#111c2c9c);border-radius:999px;}
:where(.site-header){background:var(--zm-header);border-bottom:1px solid #e6bc7345;backdrop-filter:blur(15px);}
:where(.site-header .brand,.auth-info .brand,.side .brand){color:var(--text);font-weight:850;letter-spacing:-.045em;}
:where(.brand em,.brand .zm-gold-a){color:#f4ca82!important;}
:where(.auth-page,.zm-directions-page,.legal-page,.zm-cert-page){background:linear-gradient(165deg,#061524 0%,#0b1c2b 57%,#0d1928 100%);color:#f7f8fa;min-height:100vh;}
[data-theme="light"] :where(.auth-page,.zm-directions-page,.legal-page,.zm-cert-page){background:linear-gradient(160deg,#f8f3e9,#e7ded1);color:#152536;}
:where(.auth-page,.legal-page,.zm-directions-page,.zm-cert-page) :where(h1,h2,h3){letter-spacing:-.035em;}
.auth-page .auth-shell{box-shadow:0 30px 90px #0009;border:1px solid #d7b67c3e;border-radius:26px;overflow:hidden;}
.auth-page .auth-info{background-color:#0a1827!important;background-image:linear-gradient(150deg,#07132198,#071321eb),url("/assets/cinema/dark-ascent.webp")!important;background-size:cover!important;background-position:42% center!important;}
.auth-page .auth-info :is(h1,p,small){text-shadow:0 2px 9px #0008;}
.auth-page .auth-info h1{color:#fdf8eb!important;font-family:Inter,"Arial Black",system-ui,sans-serif!important;font-weight:850!important;font-size:clamp(32px,3vw,46px);}
.auth-page .auth-box{background:linear-gradient(135deg,#132438,#0d1c2a);color:#f7f5f0;}
.auth-page .auth-form input,.auth-page select,.auth-page .auth-captcha{background:#0c1d30!important;color:#f5f4ef!important;border:1px solid #9e987d75!important;}
.auth-page input:focus{border-color:#efc781!important;}
.auth-page :is(.auth-mode-tabs,.auth-mode-tab){border-color:#6e665c90;}
.auth-page .auth-mode-tab.active{color:#171b22!important;background:linear-gradient(180deg,#f8dfad,#dba55a)!important;}
.auth-page :is(.register-card,.auth-panel,.auth-box,.legal-scroll){color:inherit;}
.zm-directions-page .zm-direction-intro{position:relative;background:linear-gradient(95deg,#071525e8,#08172577),url("/assets/cinema/dark-ascent.webp") center 45%/cover no-repeat;border-bottom:1px solid #dfab6359;}
.zm-directions-page .zm-direction-intro h1{font:850 clamp(40px,5.2vw,76px)/1.05 Inter,system-ui,sans-serif;letter-spacing:-.05em;color:#fff9ed;}
.zm-directions-page .zm-direction-index a{background:linear-gradient(150deg,#172b40,#0c1e30);border:1px solid #c5a8787f;box-shadow:0 9px 29px #0004;border-radius:18px;color:#fff;}
.zm-directions-page .zm-direction-index a:hover{border-color:#f4cc82;box-shadow:0 13px 32px #0007,0 0 18px #b8833b3b;}
.zm-directions-page .zm-direction-section{border-color:#cfa56643;}
.zm-directions-page .zm-direction-section h2{color:#f4d192;font-family:Inter,system-ui,sans-serif!important;font-weight:800;}
.zm-directions-page .zm-direction-features{border-left-color:#f4c881;background:rgba(230,181,108,.08);}
.legal-page .legal-paper,.legal-page .legal-shell,.legal-page .legal-card,.legal-page .legal-content{box-shadow:0 13px 45px #0002;}
.legal-page :where(.legal-paper,.legal-card,.legal-content){background:var(--panel);color:var(--text);border-color:var(--line);}
.legal-page :where(h1,h2,h3){font-family:Inter,system-ui,sans-serif!important;font-weight:780!important;}
.legal-page :where(h1,h2){color:var(--text);}
.legal-page :where(a){text-underline-offset:3px;}
.legal-page :where(a:hover){color:#f3ca83;}
:where(.side,.panel,.ws-card,.console-card,.stat-card,.view-card,.zm-quick-panel){border-color:var(--line);}
:where(.side .brand,.console-intro h1){color:var(--text);}
:where(.side a.active,.side .active,.nav-item.active){border-color:#e0b568;background:var(--zm-tint);}
:where(.footer){background:#061321;color:#d0d5e0;border-top:1px solid #ae824b45;}
/* Never replace status semantics with the brand gold. */
:where(.profit,.positive,.gain,.is-positive){color:#45c693;}
:where(.loss,.negative,.is-negative){color:#ee8788;}
@media(max-width:760px){.auth-page .auth-shell{border-radius:18px}.auth-page .auth-info h1{font-size:28px}.zm-directions-page .zm-direction-intro h1{font-size:36px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;} :where(.btn.btn-primary,.signup-entry,.signup-invite-link){transition:none;transform:none!important;}}

/* 8.45.6 finishing pass: actively remove the legacy mint controls on
 * non-financial screens. The prior token migration alone was not sufficient. */
body.auth-page .auth-info{
  background:linear-gradient(105deg,rgba(6,17,28,.76),rgba(9,22,35,.89)),url('/assets/cinema/dark-ascent.webp') center 54%/cover no-repeat!important;
  color:#f7f3ed!important;
}
body.auth-page .auth-info h1{font:750 clamp(28px,3.4vw,45px)/1.12 Inter,system-ui,sans-serif;color:#fff9ed!important;letter-spacing:-.05em;}
body.auth-page .auth-info p,body.auth-page .auth-info small{color:#cbd2dc!important;}
body.auth-page .brand .mark,body.zm-directions-page .brand .mark{display:none!important;}
body.auth-page .brand em,body.zm-directions-page .brand em{color:#f3c67c!important;}
body.auth-page .auth-shell{background:#0c1c2e;border:1px solid #d0a76550;box-shadow:0 35px 95px #0007;}
body.auth-page .auth-box{background:#0c1b2d;color:#fff7e9;}
body.auth-page .auth-mode-tabs{border-color:#b38a544f;background:#071525;}
body.auth-page .auth-mode-tab.active{background:linear-gradient(135deg,#fee6ae,#e8b96d 60%,#bd843d)!important;color:#172231!important;box-shadow:0 8px 20px #d79b3f35!important;}
body.auth-page .signup-invite-link,body.auth-page .signup-entry,body.auth-page .auth-form button.btn-primary{
  background:linear-gradient(135deg,#fbe8b9,#ebc17d 58%,#ca9249)!important;color:#102032!important;
  border:1px solid #f1cc8e!important;box-shadow:0 10px 24px #d09d4f20,inset 0 1px #fff9!important;
}
body.auth-page .auth-form input,body.auth-page .auth-form select,body.auth-page .locale-select{border-color:#816f5b;background:#0c2033;color:#f9f4eb;}
body.auth-page .auth-form input:focus-visible{border-color:#f5ce83;}
body.auth-page .auth-captcha [data-captcha-question]{color:#f5cb83;}
body.auth-page .auth-links a,body.auth-page .auth-panel a:not(.signup-entry){color:#f2c781;}
body.zm-directions-page .zm-direction-intro{background:linear-gradient(94deg,#071525e8,#0817258e),url('/assets/cinema/dark-ascent.webp') center 54%/cover no-repeat!important;}
body.zm-directions-page .zm-direction-index span,body.zm-directions-page .zm-direction-index-number,
body.zm-directions-page .zm-direction-main-nav a:hover{color:#e7b871!important;}
body.zm-directions-page .zm-direction-index a:hover{border-color:#e9bd75!important;box-shadow:0 12px 26px #0004;transform:translateY(-2px);}
body.zm-directions-page .zm-direction-features{border-left-color:#d9aa68!important;background:#c69c5314;}
body.zm-directions-page .eyebrow{color:#f1c681!important;}
body.zm-directions-page .zm-direction-intro h1{color:#fff9ed!important;}
body.zm-directions-page .btn-primary{background:linear-gradient(120deg,#ffe7af,#eaba6f,#c28a45)!important;color:#102034!important;border-color:#efc77f!important;}
:where(.legal-top a,.legal-nav a,.legal-links a,.legal-paper a,.legal-intro a,.legal-box a){color:#e1b473;}
:where(.legal-note,.legal-alert,.legal-callout){border-left-color:#d8ae6e!important;}
@media(prefers-reduced-motion:reduce){body.zm-directions-page .zm-direction-index a{transition:none!important;transform:none!important;}}
/* Keep the directions headline distinct from the decorative scene on desktops. */
@media(min-width:900px){body.zm-directions-page .zm-direction-intro h1{max-width:690px;font-size:clamp(42px,4.6vw,66px);}}
