/* ZERO'S EDGE | Metallic HQ design system | 2026-11-22
   Visual layer only: no simulator, financial rules, feeds or data handlers. */
.ze-metallic{
  --ze-night:#030405;
  --ze-obsidian:#090a0c;
  --ze-deep:#141619;
  --ze-metal:#e9edf0;
  --ze-silver:#b4c2c7;
  --ze-gold:#f0c678;
  --ze-gold-light:#fff0c8;
  --ze-gold-dark:#946b33;
  --ze-cyan:#55bbc1;
  --ze-gold-stroke:rgba(232,191,121,.33);
  --ze-steel-stroke:rgba(151,194,197,.25);
  --ze-depth:0 20px 54px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.045);
  color-scheme:dark;
}
@keyframes zeLightSweep{
  0%,60%{transform:translateX(-135%) skewX(-22deg);opacity:0}
  66%{opacity:.6}
  82%{opacity:.85}
  94%,100%{transform:translateX(370%) skewX(-22deg);opacity:0}
}
@keyframes zeAmbientEdge{
  0%,100%{box-shadow:0 0 0 1px rgba(226,186,112,.07),0 12px 34px #0007}
  50%{box-shadow:0 0 0 1px rgba(245,208,148,.16),0 12px 39px #0009,0 0 18px rgba(230,178,82,.13)}
}
@keyframes zeEntry{
  from{opacity:.2;transform:translateY(9px)}
  to{opacity:1;transform:translateY(0)}
}
.ze-metallic :is(a,button,select,input,textarea):focus-visible{
  outline:2px solid var(--ze-gold)!important;
  outline-offset:3px;
}
.ze-metallic :is(button,a){-webkit-tap-highlight-color:transparent}
.ze-metallic ::selection{background:#aa7b3f;color:#fffaf0}
/* HQ shell: maintain the four wall-mounted monitors and their existing positions. */
body.ze-hq{
  --bg:#04090e;--bg2:#0b171b;
  --panel:rgba(8,17,23,.92);--panel2:rgba(9,20,26,.96);
  --line:rgba(138,187,191,.22);--line-strong:rgba(239,196,118,.48);
  --cyan:#8ad7da;--cyan2:#45b2bb;--gold:#f0c678;
  --text:#e9f0ee;--muted:#a4b9be;--shadow:var(--ze-depth);
  background:radial-gradient(ellipse at 52% 14%,#11232a 0%,#070e13 43%,#030608 100%);
}
body.ze-hq .topbar{
  background:linear-gradient(118deg,#050b10f8 0%,#101b21f2 46%,#060b10f8 100%);
  border:1px solid rgba(198,214,213,.20);
  border-bottom-color:rgba(238,194,117,.44);
  border-radius:10px;
  box-shadow:0 13px 40px #000a,inset 0 1px rgba(255,240,206,.08);
  isolation:isolate;
}
body.ze-hq .topbar::before{
  content:"";position:absolute;left:8px;right:8px;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(247,218,158,.7) 18%,rgba(121,225,229,.34) 50%,transparent 100%);
}
body.ze-hq .topbar .brand h1{position:relative;overflow:hidden;isolation:isolate}
body.ze-hq .topbar .brand h1::after{
  content:"";position:absolute;top:-120%;bottom:-120%;width:24%;left:-31%;pointer-events:none;z-index:2;
  background:linear-gradient(90deg,transparent,#fff8e900 23%,rgba(255,245,221,.9) 50%,#fff8e900 77%,transparent);
  opacity:0;mix-blend-mode:screen;transform:translateX(-80%) skewX(-24deg)
}
body.ze-hq .topbar .brand .hq-brand-art{filter:drop-shadow(0 0 7px rgba(226,183,103,.15))}
body.ze-hq .top-center{color:#b3bec1;letter-spacing:1.9px}
body.ze-hq .top-right .kpi{
  border:1px solid rgba(158,182,184,.20);border-top-color:rgba(245,207,144,.3);
  background:linear-gradient(160deg,#17252a,#0b151b);border-radius:7px;
}
body.ze-hq .top-right .kpi .label{color:#c1a87e}
body.ze-hq .top-right .kpi strong{color:#f2f4ef}
body.ze-hq .ctrl-btn{
  color:#e9dabf;border:1px solid rgba(222,183,115,.4);border-radius:7px;
  background:linear-gradient(150deg,#253039,#0f1c22);box-shadow:inset 0 1px #ffffff12;
  transition:filter .2s,border-color .2s,box-shadow .2s;
}
body.ze-hq .ctrl-btn:hover{border-color:#f2cb8e;box-shadow:0 0 19px #b98d4d2b;filter:brightness(1.08)}
body.ze-hq .room{
  border:1px solid rgba(176,200,203,.16);
  background:linear-gradient(180deg,rgba(8,20,25,.67),rgba(3,8,12,.84)),#050c10;
  box-shadow:inset 0 35px 80px rgba(0,0,0,.32),0 0 75px #06191b33;
}
body.ze-hq .room::before{
  background:radial-gradient(ellipse at 50% 10%,rgba(63,172,183,.11),transparent 42%),
  linear-gradient(90deg,#0005,transparent 17%,transparent 83%,#0006);
}
body.ze-hq .wall-panels{filter:saturate(.8)}
body.ze-hq .wall-brand strong{
  color:#edece7;font-weight:900;letter-spacing:3px;
  text-shadow:0 1px 13px rgba(245,202,125,.23);
}
body.ze-hq .wall-brand span{background:linear-gradient(90deg,transparent,#f0c678,transparent)}
body.ze-hq .wall-light{background:linear-gradient(90deg,transparent,rgba(242,197,113,.5) 28%,rgba(107,203,207,.27) 52%,transparent)}
body.ze-hq .monitor-unit .screen{
  background:linear-gradient(157deg,#101e25ed,#050c11f5);
  border-color:rgba(151,183,187,.32);
  box-shadow:0 0 0 1px rgba(244,203,135,.07),0 18px 32px #000b,inset 0 0 29px #08161c70;
  transition:border-color .23s,box-shadow .23s,transform .23s;
}
body.ze-hq .monitor-unit:is(:hover,:focus-within) .screen{
  border-color:rgba(239,193,110,.72);
  box-shadow:0 0 0 1px rgba(241,201,128,.2),0 19px 39px #000c,0 0 25px rgba(206,159,68,.20);
}
body.ze-hq .screen-header{
  background:linear-gradient(105deg,#1b292e,#0c171e 52%,#1b2528);
  border-bottom-color:rgba(237,194,119,.31);
}
body.ze-hq .screen-header .title{color:#f0f0e8;letter-spacing:.7px}
body.ze-hq .screen-header .status{color:#add2c1}
body.ze-hq .screen-header .title span{color:#b1d7d9!important}
body.ze-hq .screen-footer{background:linear-gradient(90deg,#111b20,#0a141a);border-top-color:rgba(170,195,196,.19)}
body.ze-hq .screen-footer .cta,body.ze-hq .screen-overlay .action{color:#f0ca84}
body.ze-hq .screen-body{
  background:radial-gradient(ellipse at 50% 7%,rgba(69,163,173,.11),transparent 48%),#080f15;
}
body.ze-hq .hq-preview-tile,body.ze-hq .ror-hq-metric{
  border-color:rgba(144,181,182,.19);background:linear-gradient(130deg,rgba(22,35,39,.78),rgba(7,18,25,.83));
}
body.ze-hq .side-panel{
  border:1px solid rgba(171,198,200,.23);border-top-color:rgba(239,197,119,.45);
  background:linear-gradient(168deg,rgba(21,31,35,.94),rgba(7,15,20,.96));
  box-shadow:0 15px 42px #0009,inset 0 1px #fff1;
}
body.ze-hq .side-panel .panel-head{
  color:#f2d19c;border-bottom:1px solid #d8b2773e;
  background:linear-gradient(120deg,#1b2b30,#0e171d);
}
body.ze-hq .side-panel .panel-content{background:transparent}
body.ze-hq .hq-update-card,body.ze-hq .hq-update-item,
body.ze-hq .hq-apex-card,body.ze-hq .hq-apex-evaluation{
  border-color:#c0a47636;background:linear-gradient(155deg,#18272c,#0b161d);
}
body.ze-hq .hq-apex-code{animation:zeAmbientEdge 7.5s ease-in-out infinite}
body.ze-hq .quickbar button{border-color:#b78e5b65;color:#f1d4a4;background:linear-gradient(140deg,#1f292a,#0b141b)}
body.ze-hq .quickbar button:hover{border-color:#f0cd94}
/* Every native workspace, except the Reps iframe content, shares one material system. */
body.ze-hq .workspace{
  color:#f0ede5;background:radial-gradient(ellipse at 45% 0%,#15282c,#060d12 61%,#030608 100%);
}
body.ze-hq .workspace-toolbar{
  background:linear-gradient(106deg,#141f23,#091218 55%,#152122);
  border-bottom:1px solid rgba(231,183,109,.5);box-shadow:0 11px 35px #0007,inset 0 1px #ffffff08;
}
body.ze-hq .workspace-toolbar button{
  border-color:#b49a714d;color:#ead6b9;background:linear-gradient(165deg,#222d30,#0d171d);
  border-radius:7px;transition:border-color .2s,background .2s,color .2s;
}
body.ze-hq .workspace-toolbar button:hover{border-color:#f0c982;color:#fff5e0}
body.ze-hq .workspace-tabs button.active{
  border-color:#f3c987;background:linear-gradient(170deg,#604621,#27241c);
  box-shadow:inset 0 1px #fff2,0 0 16px rgba(230,168,63,.23);color:#fff0cf;
}
body.ze-hq .workspace-brand strong{color:#f2ebdb}
body.ze-hq .workspace-brand small{color:#d6b980}
body.ze-hq .workspace-address,body.ze-hq .workspace-frame-info{
  border-color:#596f694b;background:#0d1b20;color:#b4c6c6;
}
body.ze-hq .workspace-views{border-color:rgba(234,193,120,.29);background:#070e11}
body.ze-hq .workspace-views .workspace-native{
  background:radial-gradient(ellipse at 80% 0%,rgba(44,132,135,.12),transparent 40%),
    linear-gradient(160deg,#08151b,#050c11 53%,#060e12);
  color:#e7eeeb;
}
body.ze-hq .native-wrap{padding-top:clamp(18px,3vw,35px)}
body.ze-hq .native-eyebrow,body.ze-hq .hq-native-kicker{color:#e9c388;letter-spacing:.16em}
body.ze-hq .workspace-native h2{color:#f8f2e6;letter-spacing:-.025em}
body.ze-hq .native-lead{color:#b7c8c8;line-height:1.78}
body.ze-hq .native-grid article,body.ze-hq .hq-native-block{
  border:1px solid rgba(222,185,120,.27);border-radius:14px;
  background:linear-gradient(143deg,#17292f,#0d1921 52%,#080f16);
  box-shadow:var(--ze-depth);
}
body.ze-hq .native-grid article{position:relative;overflow:hidden}
body.ze-hq .native-grid article::before{
  content:"";position:absolute;top:0;left:0;width:42%;height:2px;
  background:linear-gradient(90deg,#f1cd91,transparent);pointer-events:none;
}
body.ze-hq .native-step{color:#dfba7e}
body.ze-hq .native-grid h3{color:#f1e9d6}
body.ze-hq .native-grid p{color:#b6c8c9}
body.ze-hq .native-primary,body.ze-hq .hq-info-links button{
  color:#21190e;border-color:#f2d5a5;
  background:linear-gradient(113deg,#ffe7b2,#d1a15b 53%,#f4d79b);
  box-shadow:inset 0 1px #fff9,0 8px 20px #0005;
}
body.ze-hq .native-secondary,body.ze-hq .hq-info-links a{
  border:1px solid #d2af7a6b;background:linear-gradient(120deg,#233034,#101c22);color:#f1d5a7;
}
body.ze-hq :is(.native-primary,.native-secondary,.hq-info-links a,.hq-info-links button):hover{
  filter:brightness(1.08);box-shadow:0 10px 26px #0009,0 0 16px #dda75223;
}
body.ze-hq .ze-psych-hero,body.ze-hq #hqMarketView .hq-market-clock,
body.ze-hq #hqVideoView .hq-video-player{
  border-color:rgba(236,195,127,.42);
  background-color:#0e1b22;box-shadow:0 24px 60px #0009,inset 0 1px #fff1;
}
body.ze-hq .ze-psych-card{
  border-color:#718f8761;background:linear-gradient(140deg,#1c3033,#0d1a21 70%,#0a1218);
}
body.ze-hq .ze-psych-card:hover{border-color:#f1c983;box-shadow:0 16px 38px #000a,0 0 26px #d9a95b2a}
body.ze-hq .ze-psych-card small{color:#efd09a}
body.ze-hq .ze-psych-card strong{color:#f4f0e7}
body.ze-hq .ze-psych-article{
  border-color:#d1af786c;background:linear-gradient(155deg,#17282d,#09161d 60%,#080f13);
}
body.ze-hq .ze-psych-challenge-feature{border-color:#e3bc7985;box-shadow:0 18px 42px #0008}
body.ze-hq #hqMarketView .hq-econ-expanded{
  border-color:#73908a70;background:linear-gradient(155deg,#122127,#09161c);
}
body.ze-hq #hqMarketView .hq-econ-row:hover{background:rgba(213,168,87,.10)}
body.ze-hq #hqMarketView .hq-econ-detail{border-color:#c7aa7952;background:#14242a}
body.ze-hq #hqVideoView .hq-video-actions{
  border-color:#d0ae795c;background:linear-gradient(125deg,#1c2e34,#101d24);
}
body.ze-hq #hqVideoView .hq-video-actions button{
  background:linear-gradient(110deg,#ffe4ab,#c99b5a,#f1d39c);border-color:#ffdfaf;
}
/* Explore / Compare and informational sheets: same precious-metal finish. */
body.ze-hq .hq-compare-shell,
body.ze-hq .hq-info-card,body.ze-hq .disclaimer-gate-card{
  border:1px solid rgba(235,190,116,.58);
  background:linear-gradient(150deg,#19282c,#0c171d 52%,#080e13);
  box-shadow:0 27px 80px #000b,0 0 30px rgba(232,185,98,.08),inset 0 1px #fff1;
}
body.ze-hq .hq-compare-card,body.ze-hq .hq-compare-section{
  border-color:rgba(231,193,122,.26);
}
body.ze-hq .hq-risk-platform-row{
  border-color:#b6a07972;background:linear-gradient(110deg,#1e3235,#101d22);
}
body.ze-hq .hq-info-close{border-color:#cb9e667a;color:#f4d5a2}
/* Shared branded public pages: competitions, terms and privacy. */
body.ze-site{
  --gold:#efc57c;--gold2:#fff0cf;--gold-dark:#976d39;
  --ink:#edf1ed;--muted:#b6c6c6;--soft:#849da1;
  --stroke:rgba(206,174,118,.27);--stroke-strong:rgba(243,201,132,.55);
  background:radial-gradient(ellipse at 85% 0%,#163039 0%,transparent 39%),
    radial-gradient(ellipse at 5% 30%,#101e25,transparent 46%),#040a0e!important;
  color:#e6ece9;
}
body.ze-site::before{opacity:.22}
body.ze-site .topbar{
  background:linear-gradient(105deg,rgba(7,14,19,.97),rgba(22,35,38,.96),rgba(7,14,19,.98));
  border-bottom:1px solid rgba(236,194,122,.40);
  box-shadow:0 14px 40px #0009,inset 0 1px #fff1;
}
body.ze-site .announcement-bar{
  color:#f1d8ab;background:linear-gradient(90deg,#111e22,#060e14,#101c21);
  border-bottom:1px solid #f4c98542;
}
body.ze-site .ze-brand-link{
  display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:min(44vw,235px);
  text-decoration:none;position:relative;overflow:hidden;
}
body.ze-site .ze-brand-link img{
  display:block;width:clamp(145px,19vw,225px);max-width:100%;height:auto;object-fit:contain;
  filter:drop-shadow(0 0 10px #e0ad5526);
}
body.ze-site .nav-brand-mark{display:none}
body.ze-site .nav-brand-title{color:#f7e6c9}
body.ze-site .nav-link{color:#c1d0cf}
body.ze-site .nav-link:hover,body.ze-site .nav-link.is-active{color:#f6d9a6}
body.ze-site :is(.nav-cta,.back-home-btn,.back-btn,.quick-link){
  border:1px solid #d1af7b89;border-radius:9px;
  background:linear-gradient(120deg,#283236,#101c22);color:#f7ddb0;
  box-shadow:inset 0 1px #fff1;transition:filter .2s,box-shadow .2s,transform .2s;
}
body.ze-site :is(.nav-cta,.back-home-btn,.back-btn,.quick-link):hover{
  border-color:#f4cd91;filter:brightness(1.08);box-shadow:0 8px 25px #0008,0 0 19px #ca9b4e29;
}
body.ze-site .hero-shell,body.ze-site .hero-card{
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 95% 5%,rgba(72,160,164,.20),transparent 49%),
    linear-gradient(120deg,#1c2f33,#0a161d 67%,#0c171d)!important;
  border:1px solid rgba(231,190,121,.52)!important;
  border-radius:19px;
  box-shadow:0 28px 70px #0009,inset 0 1px #ffffff14;
}
body.ze-site .hero-shell::before,body.ze-site .hero-card::before{
  content:"";position:absolute;pointer-events:none;left:0;right:0;top:0;height:2px;z-index:2;
  background:linear-gradient(90deg,transparent 1%,#f8dfad 23%,#c69346 46%,transparent 80%);
}
body.ze-site .hero-shell-inner{position:relative;z-index:2}
body.ze-site .section-label,body.ze-site .kicker{color:#e9c486}
body.ze-site .logo{color:#f1d09a;letter-spacing:.10em;text-shadow:0 1px 17px #d1a15923}
body.ze-site .headline,body.ze-site .hero-card h1{
  color:#fff2df!important;text-shadow:0 8px 27px #0008;
}
body.ze-site .tagline,body.ze-site .lead{color:#bbcfcd!important;line-height:1.75}
body.ze-site .terms-card,body.ze-site .info-card,
body.ze-site .competition-section-slider,body.ze-site .info-card,
body.ze-site .competition-slide,body.ze-site .card-grid .info-card{
  border-color:rgba(213,178,119,.35)!important;
  background:linear-gradient(150deg,#16272b,#0c1921 68%,#081117)!important;
  box-shadow:0 16px 48px #0007,inset 0 1px #fff1;
}
body.ze-site .terms-card h2,body.ze-site .competition-slide h2{color:#f1d7a7}
body.ze-site .terms-card p,body.ze-site .info-card p{color:#c0cecc}
body.ze-site .meta-pill,body.ze-site .badge{
  border-color:rgba(242,202,131,.4);
  background:linear-gradient(120deg,#253135,#152127);color:#f0d7aa;
}
body.ze-site :is(.btn,.btnGold,.nav-cta.is-primary){
  border:1px solid #f1d39e;color:#21180f;
  background:linear-gradient(120deg,#ffe6ae,#ce9f5c,#eed19a);
  box-shadow:inset 0 1px #fff8,0 9px 23px #0007;
}
body.ze-site .terms-card a,body.ze-site .info-card a{color:#e8c793}
body.ze-site .info-card .card-icon{color:#edc782}
body.ze-site .competition-slide-number{color:#e9c17d}
body.ze-site .competition-section-slider :is(button,a):focus-visible{outline-color:#f4cf92}
/* HQ content authoring only: do not re-skin Reps player-management views. */
body.ze-admin .zeAdminWorkspaces{
  border-color:#d7b57b61;background:linear-gradient(125deg,#1b292e,#0c151c);
  box-shadow:0 11px 30px #0008;
}
body.ze-admin .zeAdminWorkspacesTab.is-active{
  border-color:#edd19b88;background:linear-gradient(130deg,#3e3425,#171c21);
  color:#f7e0b8;box-shadow:inset 0 1px #fff2;
}
body.ze-admin .hqAdminScope{
  --bg:#050c11;--card:#101d22;--card2:#18272b;--line:#7f84754a;
  --ink:#eaf0ed;--muted:#acbfc0;--gold:#f1c784;--cyan:#8accd0;
  background:radial-gradient(ellipse at 85% 0%,#21343b,transparent 44%),
    linear-gradient(155deg,#09161b,#050d12)!important;
}
body.ze-admin .hqAdminScope .wrap{max-width:1240px}
body.ze-admin .hqAdminScope .head{
  padding:22px clamp(16px,3vw,29px);border-radius:15px;
  border:1px solid rgba(239,194,119,.52);
  background:linear-gradient(112deg,#1e3234,#0e1a21 70%);
  box-shadow:0 19px 40px #0007,inset 0 1px #fff2;
}
body.ze-admin .hqAdminScope h1{color:#fff1d5;letter-spacing:-.025em}
body.ze-admin .hqAdminScope .eyebrow{color:#f0c988}
body.ze-admin .hqAdminScope .panel,
body.ze-admin .hqAdminScope .psychEditor,body.ze-admin .hqAdminScope .psychLibrary{
  border:1px solid rgba(225,186,121,.32);
  background:linear-gradient(145deg,#192c31,#0c1921 60%,#0b141b);
  box-shadow:0 15px 40px #0007,inset 0 1px #fff1;
  border-radius:14px;
}
body.ze-admin .hqAdminScope .tabs{
  padding:7px;border-radius:12px;border:1px solid #ac925842;
  background:#0a171d;
}
body.ze-admin .hqAdminScope .tab{
  border-color:#506a6a5c;background:#18262c;color:#d5e1dc;border-radius:8px;
}
body.ze-admin .hqAdminScope .tab.active{
  color:#fce3b6;background:linear-gradient(125deg,#55402a,#252821);
  border-color:#e3b974;box-shadow:inset 0 1px #fff2,0 0 16px #e1af5e16;
}
body.ze-admin .hqAdminScope input,
body.ze-admin .hqAdminScope select,
body.ze-admin .hqAdminScope textarea{
  background:#07141c;color:#f2f4ec;border:1px solid #72878666;
  border-radius:9px;
}
body.ze-admin .hqAdminScope :is(input,select,textarea):focus{
  border-color:#e7ba74;box-shadow:0 0 0 3px #d7a55b20;
}
body.ze-admin .hqAdminScope label{color:#d5ded9}
body.ze-admin .hqAdminScope .action,
body.ze-admin .hqAdminScope .psychActions .save{
  position:relative;overflow:hidden;color:#21170d;
  background:linear-gradient(115deg,#ffe8b3,#d6a763 49%,#f5d89c);
  border-color:#f4d19a;
}
body.ze-admin .hqAdminScope .action:hover{filter:brightness(1.09)}
body.ze-admin .hqAdminScope .secondary{
  background:linear-gradient(145deg,#243439,#122128);
  border-color:#9eaa946b;color:#edf0e5;
}
body.ze-admin .hqAdminScope .list-card,body.ze-admin .hqAdminScope .zeUpdateCard{
  background:linear-gradient(125deg,#14252b,#0b171e);border-color:#7d957961;
}
body.ze-admin .hqAdminScope .psychIntro{
  border-color:#d0a66e82;background:linear-gradient(112deg,#233535,#111e26);
}
body.ze-admin .hqAdminScope .psychIntro strong{color:#f7e6bf}
body.ze-admin .hqAdminScope .psychPreview,
body.ze-admin .hqAdminScope .psychImagePreview{
  border-color:#b7a07778;background:#0b1921;
}
body.ze-admin .hqAdminScope .psychImageDrop{
  border-color:#cbb0828a;background:linear-gradient(155deg,#1a2e32,#0e1e25);
}
body.ze-admin .hqAdminScope .psychImageDrop:hover{border-color:#f3cd8b}
body.ze-admin .hqAdminScope .psychItem{
  border-color:#b39e7666;background:linear-gradient(150deg,#172a2f,#0c1a22);
}
/* Self-contained 7 Challenge assessment: retains its original markup and storage. */
body.ze-challenge{background:#071115!important;color:#e8eeeb}
body.ze-challenge .app-shell{background:transparent}
body.ze-challenge .hero{
  background:radial-gradient(ellipse at 90% 0%,#1b46474a,transparent 48%),
  linear-gradient(135deg,#172a30,#091920)!important;
  border-color:#e5be8080!important;
  box-shadow:0 20px 54px #0008,inset 0 1px #ffffff14;
}
body.ze-challenge :is(.card,.day-section,.result-panel,.summary-card){
  border-color:#d4b78053;
  background:linear-gradient(145deg,#14262d,#081720);
}
body.ze-challenge :is(button,.btn):hover{filter:brightness(1.07)}
@media(prefers-reduced-motion:no-preference){
  body.ze-hq:not(.in-workspace):not(.hq-visual-paused) .topbar .brand h1::after{
    animation:zeLightSweep 11s ease-in-out infinite;
  }
  body.ze-admin .hqAdminScope .action.save::after,
  body.ze-site :is(.hero-card,.hero-shell)::after{
    content:"";position:absolute;pointer-events:none;left:-35%;top:-150%;height:400%;width:15%;
    background:linear-gradient(90deg,transparent,rgba(255,248,225,.18),transparent);
    transform:translateX(-100%) skewX(-19deg);
    animation:zeLightSweep 15s ease-in-out infinite;
  }
  body.ze-hq .ze-psych-card:hover,body.ze-site .hero-card:hover{transition:box-shadow .25s,border-color .25s}
}
@media(max-width:850px){
  body.ze-hq .topbar .brand h1::after{display:none}
  body.ze-site .ze-brand-link img{width:clamp(130px,24vw,195px)}
  body.ze-site .hero-shell,body.ze-site .hero-card{border-radius:13px}
}
@media(max-width:600px){
  body.ze-hq .workspace-native .native-wrap{padding-top:8px}
  body.ze-site .ze-brand-link{max-width:46vw}
  body.ze-site .ze-brand-link img{width:min(41vw,165px)}
  body.ze-admin .hqAdminScope .head{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  .ze-metallic *, .ze-metallic *::before,.ze-metallic *::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}
html[data-hq-quality="performance"] body.ze-hq .topbar .brand h1::after{animation:none!important}


/* BLACK-FIRST REFINEMENT. Gold and silver carry the identity; teal is only a hint. */
body.ze-hq{
  --bg:#030405;--bg2:#0a0b0d;--panel:rgba(8,9,10,.97);--panel2:rgba(12,13,15,.98);
  --line:rgba(188,184,172,.25);--line-strong:rgba(239,196,118,.58);
  background:radial-gradient(ellipse at 50% -12%,rgba(92,77,54,.18),transparent 42%),#030405!important;
}
body.ze-hq .topbar{
  background:#000000!important;
}
body.ze-hq .top-right .kpi,body.ze-hq .ctrl-btn{
  background:linear-gradient(140deg,#1c1d1f,#0b0c0e)!important;
}
body.ze-hq .room{
  background:linear-gradient(180deg,rgba(8,9,11,.89),rgba(2,3,4,.96)),#040505!important;
  box-shadow:inset 0 30px 90px #0009,0 0 90px #0008;
}
body.ze-hq .room::before{
  background:radial-gradient(ellipse at 50% 7%,rgba(216,168,86,.06),transparent 39%),
  linear-gradient(90deg,#0007,transparent 20%,transparent 80%,#0008)!important;
}
body.ze-hq .room-ceiling{background:linear-gradient(180deg,#111214e8,transparent)!important}
body.ze-hq .monitor-unit .screen{
  background:linear-gradient(150deg,#161719,#08090c 65%,#050607)!important;
}
body.ze-hq .screen-header,body.ze-hq .side-panel .panel-head{
  background:linear-gradient(105deg,#202123,#121315 65%,#19191a)!important;
}
body.ze-hq .screen-footer{
  background:linear-gradient(105deg,#141516,#090a0c)!important;
}
body.ze-hq .screen-body{
  background:radial-gradient(ellipse at 50% 0%,rgba(214,168,89,.045),transparent 40%),#080a0c!important;
}
body.ze-hq .side-panel{
  background:linear-gradient(168deg,#191a1ceb,#090b0df5)!important;
}
body.ze-hq :is(.hq-preview-tile,.ror-hq-metric,.hq-apex-card,.hq-apex-evaluation,.hq-update-card,.hq-update-item){
  background:linear-gradient(145deg,#1b1c1e,#0b0c0f)!important;
}
body.ze-hq .workspace{
  background:radial-gradient(ellipse at 50% -10%,#24211d60,transparent 43%),#040506!important;
}
body.ze-hq .workspace-toolbar{
  background:linear-gradient(106deg,#19191b,#0b0c0e 55%,#181819)!important;
}
body.ze-hq .workspace-toolbar button{
  background:linear-gradient(155deg,#202122,#0d0e10)!important;
}
body.ze-hq .workspace-address,body.ze-hq .workspace-frame-info{
  background:#0b0d0f!important;border-color:rgba(188,173,144,.26);
}
body.ze-hq .workspace-views,body.ze-hq .workspace-views .workspace-native{
  background:radial-gradient(ellipse at 100% 0%,rgba(100,83,54,.08),transparent 39%),
  linear-gradient(160deg,#0c0d10,#050607 70%)!important;
}
body.ze-hq .native-grid article,body.ze-hq .hq-native-block,
body.ze-hq .ze-psych-card,body.ze-hq .ze-psych-article,
body.ze-hq .ze-psych-hero,body.ze-hq .ze-psych-challenge-feature{
  background:linear-gradient(148deg,#1a1b1d,#0b0d10 62%,#08090b)!important;
}
body.ze-hq .ze-psych-article,body.ze-hq .ze-psych-hero,
body.ze-hq .ze-psych-challenge-feature{border-color:rgba(223,185,121,.41)}
body.ze-hq #hqMarketView :is(.hq-market-clock,.hq-econ-expanded,.hq-econ-detail,.hq-econ-sources),
body.ze-hq #hqVideoView :is(.hq-video-actions,.hq-video-player),
body.ze-hq :is(.hq-compare-shell,.hq-info-card,.disclaimer-gate-card){
  background:linear-gradient(145deg,#1a1b1d,#0b0c0e 63%,#070809)!important;
}
body.ze-hq #hqMarketView .hq-econ-row:hover{background:rgba(222,176,95,.09)!important}
body.ze-hq .hq-compare-card{background:linear-gradient(140deg,#1b1b1c,#0c0d0f)!important}
body.ze-hq .hq-risk-platform-row{background:linear-gradient(130deg,#202022,#101113)!important}
body.ze-site{
  background:radial-gradient(ellipse at 70% -15%,rgba(151,108,55,.12),transparent 39%),
    linear-gradient(160deg,#0a0b0d,#030405 58%)!important;
}
body.ze-site .topbar{
  background:linear-gradient(113deg,#0e0f10f9,#1a1a1cf9,#08090af9)!important;
}
body.ze-site .announcement-bar{
  background:linear-gradient(100deg,#141414,#08090a 50%,#151515)!important;
}
body.ze-site .hero-shell,body.ze-site .hero-card{
  background:radial-gradient(ellipse at 95% 0%,rgba(210,165,89,.09),transparent 47%),
    linear-gradient(120deg,#222224,#0e0f11 65%,#090a0c)!important;
}
body.ze-site :is(.terms-card,.info-card,.competition-section-slider,.competition-slide,.card-grid .info-card){
  background:linear-gradient(145deg,#1b1c1e,#0b0c0e 68%)!important;
}
body.ze-site .meta-pill,body.ze-site .badge{
  background:linear-gradient(140deg,#252324,#141517)!important;
}
body.ze-admin .zeAdminWorkspaces{
  background:linear-gradient(125deg,#1b1b1d,#090a0c)!important;
}
body.ze-admin .hqAdminScope{
  background:radial-gradient(ellipse at 95% -12%,rgba(201,160,86,.10),transparent 40%),
    linear-gradient(150deg,#111214,#050607 65%)!important;
}
body.ze-admin .hqAdminScope :is(.head,.panel,.psychIntro,.psychEditor,.psychLibrary,.psychItem,.list-card,.zeUpdateCard){
  background:linear-gradient(140deg,#1d1d1f,#0c0d0f 65%)!important;
}
body.ze-admin .hqAdminScope :is(.tabs,.tab,.secondary,.psychImageDrop,.psychPreview,.psychImagePreview){
  background:linear-gradient(135deg,#1c1c1e,#0b0d10)!important;
}
body.ze-admin .hqAdminScope :is(input,textarea,select){background:#0a0b0d!important}
body.ze-challenge{background:#050607!important}
body.ze-challenge .hero,
body.ze-challenge :is(.card,.day-section,.result-panel,.summary-card){
  background:linear-gradient(145deg,#1d1d1e,#0a0b0e)!important;
}


/* Consistent use of the existing ZE wordmark on non-simulator pages. */
body.ze-site .ze-brand-link{isolation:isolate}
body.ze-site .ze-brand-link::after{
  content:"";position:absolute;inset:-80% auto -80% -30%;width:21%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,246,222,.73),transparent);
  mix-blend-mode:screen;opacity:0;transform:translateX(-100%) skewX(-22deg);
}
body.ze-site .ze-hero-wordmark{
  display:block;width:min(315px,70vw);height:auto;max-width:100%;object-fit:contain;
  margin:0 0 18px;filter:drop-shadow(0 0 11px rgba(229,181,101,.2));
}
body.ze-site .ze-competition-wordmark{display:none;margin:0 0 16px}
body.ze-site .competition-topbar-spacer{display:flex;justify-content:center;align-items:center}
body.ze-site .competition-topbar-spacer .ze-brand-link{max-width:235px}
body.ze-site .competition-topbar-spacer .ze-brand-link img{width:clamp(170px,19vw,230px)}
body.ze-admin .hqAdminScope .ze-admin-hq-brand{
  display:block;width:clamp(210px,27vw,340px);max-width:100%;height:auto;
  margin:0 0 10px;filter:drop-shadow(0 0 11px rgba(229,181,101,.17));
}
body.ze-admin .hqAdminScope .head a{
  border:1px solid #d3b27f80;border-radius:8px;
  padding:11px 15px;text-decoration:none;color:#efd5a8;
  background:linear-gradient(130deg,#222224,#111214);
}
body.ze-admin .hqAdminScope .head a:hover{border-color:#f5cc8e;color:#fff0d6}
@media(prefers-reduced-motion:no-preference){
  body.ze-site .ze-brand-link::after{animation:zeLightSweep 12s ease-in-out infinite}
}
@media(max-width:900px){
  body.ze-site .competition-topbar-spacer{justify-content:flex-start}
  body.ze-site .competition-topbar-spacer .ze-brand-link img{width:180px}
}
@media(max-width:560px){
  body.ze-site .competition-topbar-spacer{display:none}
  body.ze-site .ze-competition-wordmark{display:block}
  body.ze-site .ze-competition-wordmark img{display:block;width:min(215px,75vw);height:auto}
}


/* HQ native workspaces visual refresh. Static CSS, no timers or chart work. */
body.ze-hq .workspace-views .workspace-native{--hq-border:rgba(227,190,130,.35);--hq-gold:#f2d3a0;--hq-muted:#c5c2bc}
body.ze-hq .workspace-native .native-lead{color:var(--hq-muted);line-height:1.8}
body.ze-hq .workspace-native .native-wrap{padding-bottom:clamp(25px,4vw,52px)}
body.ze-hq .workspace-toolbar button{transition:transform .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
body.ze-hq .workspace-toolbar button:hover:not(:disabled){transform:translateY(-1px);border-color:#ebc58b;color:#fff2d7;box-shadow:0 6px 16px #0005}
body.ze-hq .workspace-toolbar button:active:not(:disabled){transform:none}
body.ze-hq .workspace-tabs button.active{background:linear-gradient(155deg,#372e23,#171819)!important;border-color:#e9c68e;box-shadow:inset 0 1px #fff1}
body.ze-hq #hqMindsetView .ze-psych-reader{max-width:960px}
body.ze-hq #hqMindsetView .ze-psych-back{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;
  border:1px solid rgba(227,190,128,.5);border-radius:10px;padding:11px 17px;margin-bottom:21px;
  background:linear-gradient(145deg,#25211d,#111214)!important;color:var(--hq-gold);
  font-size:12px;font-weight:800;letter-spacing:.025em;box-shadow:inset 0 1px #fff1;
  transition:transform .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
body.ze-hq #hqMindsetView .ze-psych-back:hover:not(:disabled){
  transform:translateY(-1px);border-color:#f5d099;color:#fff0d5;box-shadow:0 8px 20px #0006;
}
body.ze-hq #hqMindsetView .ze-psych-back:active:not(:disabled){transform:none}
body.ze-hq #hqMindsetView .ze-psych-article{
  border:1px solid var(--hq-border);border-radius:18px;padding:clamp(24px,4vw,52px);
  background:linear-gradient(150deg,#1b1b1d,#0d0e10 65%,#090a0c)!important;
  box-shadow:0 22px 52px #0009,inset 0 1px #fff1;
}
body.ze-hq #hqMindsetView .ze-psych-category{
  display:inline-block;padding:7px 11px;border:1px solid var(--hq-border);
  border-radius:999px;background:rgba(198,148,63,.08);color:#f0cd93;
}
body.ze-hq #hqMindsetView .ze-psych-article h2{margin:17px 0 19px;letter-spacing:-.025em}
body.ze-hq #hqMindsetView .ze-psych-summary{color:#d0cfcb;padding-bottom:21px;border-bottom:1px solid rgba(220,182,119,.2);margin-bottom:24px}
body.ze-hq #hqMindsetView .ze-psych-prose{font-size:clamp(15px,1.15vw,17px);line-height:1.85;color:#e0ded9}
body.ze-hq #hqMindsetView .ze-psych-prose :is(h2,h3,h4,h5){color:#f0d4a8}
body.ze-hq #hqMindsetView .ze-psych-prose blockquote{background:linear-gradient(110deg,#26221e,#17181a);border-left-color:#efc78c}
body.ze-hq #hqMindsetView .ze-psych-prose a{color:#eac48e}
body.ze-hq #hqMindsetView .ze-psych-prose a:hover{color:#fff0d1}
body.ze-hq #hqMindsetView .ze-psych-prose :is(code,pre){background-color:#161719;border-color:var(--hq-border)}
body.ze-hq #hqMindsetView .ze-psych-image{background:#08090b;border-color:var(--hq-border)}
body.ze-hq #hqMindsetView .ze-psych-hero,
body.ze-hq #hqMindsetView .ze-psych-challenge-feature{
  background:radial-gradient(ellipse at 92% 0%,rgba(191,146,75,.1),transparent 52%),linear-gradient(145deg,#1b1b1d,#0c0d0f 65%)!important;
  border-color:var(--hq-border);
}
body.ze-hq #hqMindsetView .ze-psych-count,
body.ze-hq #hqMindsetView .ze-psych-card span,
body.ze-hq #hqMindsetView .ze-psych-challenge-feature p{color:var(--hq-muted)}
body.ze-hq #hqMindsetView .ze-psych-filters button{
  background:#17181a;color:#d0c9bf;border-color:rgba(192,177,151,.35);
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
body.ze-hq #hqMindsetView .ze-psych-filters button:hover{background:#29231d;color:#fff1d5;border-color:#e6c38b}
body.ze-hq #hqMindsetView .ze-psych-filters button[aria-pressed="true"]{background:#382b1e;color:#ffedcc;border-color:#e5bd83}
body.ze-hq #hqMindsetView .ze-psych-card{
  border-color:var(--hq-border);border-radius:15px;
  background:linear-gradient(145deg,#1b1c1e,#0b0c0e 65%)!important;
  box-shadow:0 9px 24px #0005;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.ze-hq #hqMindsetView .ze-psych-card:hover,
body.ze-hq #hqMindsetView .ze-psych-card:focus-visible{
  transform:translateY(-2px);border-color:#e8c58f;box-shadow:0 15px 33px #0008,0 0 0 1px #dfbd8324;
}
body.ze-hq #hqMindsetView .ze-psych-empty,
body.ze-hq #hqMindsetView .ze-psych-challenge-bar,
body.ze-hq #hqMindsetView .ze-psych-challenge-status{background:#161719;border-color:var(--hq-border);color:#d0c9bd}
body.ze-hq #hqMindsetView .ze-psych-challenge-frame-shell,
body.ze-hq #hqMindsetView .ze-psych-video-stage{background:#08090a;border-color:var(--hq-border)}
body.ze-hq #hqMindsetView .ze-psych-challenge-feature button{transition:transform .18s ease,box-shadow .18s ease}
body.ze-hq #hqMindsetView .ze-psych-challenge-feature button:hover{transform:translateY(-1px);box-shadow:0 7px 18px #0005}
body.ze-hq #hqMarketView .native-wrap>.native-eyebrow,
body.ze-hq #hqVideoView .native-wrap>.native-eyebrow{background:#211e19;border-color:var(--hq-border);color:#eac990}
body.ze-hq #hqMarketView :is(.hq-market-clock,.hq-econ-expanded,.hq-econ-detail,.hq-econ-sources),
body.ze-hq #hqVideoView .hq-video-actions{
  background:linear-gradient(145deg,#1a1b1d,#0c0d0f 65%)!important;border-color:var(--hq-border);
}
body.ze-hq #hqMarketView .hq-econ-status{color:#c9c8c3}
body.ze-hq #hqMarketView .hq-live-calendar-heading{border-bottom-color:var(--hq-border)}
body.ze-hq #hqMarketView .hq-econ-expanded .hq-econ-row{
  transition:background-color .16s ease,border-color .16s ease;
}
body.ze-hq #hqMarketView .hq-econ-expanded .hq-econ-row:hover,
body.ze-hq #hqMarketView .hq-econ-expanded .hq-econ-row:focus-visible{
  background:rgba(223,174,89,.09)!important;border-color:rgba(236,197,131,.58);
}
body.ze-hq #hqMarketView .hq-market-grid a{
  background:linear-gradient(145deg,#1b1c1e,#0c0d0f)!important;border-color:var(--hq-border);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.ze-hq #hqMarketView .hq-market-grid a:hover{transform:translateY(-2px);border-color:#e9c58e;box-shadow:0 10px 22px #0006}
body.ze-hq #hqMarketView :is(.hq-econ-refresh,.hq-econ-detail a){
  border:1px solid var(--hq-border);border-radius:9px;
  background:linear-gradient(145deg,#24211d,#121315);color:#efce99;
  transition:transform .18s ease,border-color .18s ease,color .18s ease;
}
body.ze-hq #hqMarketView :is(.hq-econ-refresh,.hq-econ-detail a):hover{transform:translateY(-1px);border-color:#f1cb91;color:#fff0ce}
body.ze-hq #hqVideoView .hq-video-credit{color:#e9c88f}
body.ze-hq #hqVideoView .hq-video-actions :is(button,a){
  transition:transform .18s ease,border-color .18s ease,color .18s ease;
}
body.ze-hq #hqVideoView .hq-video-actions :is(button,a):hover:not(:disabled){transform:translateY(-1px)}
body.ze-hq #hqVideoView .hq-video-actions a:hover{color:#ffedc7}
body.ze-hq #hqVideoView .hq-video-player{border-color:var(--hq-border);background:#090a0c}
body.ze-hq :is(.workspace-toolbar button,.ze-psych-back,.ze-psych-card,.ze-psych-filters button,.ze-psych-challenge-feature button,.hq-market-grid a,.hq-econ-refresh,.hq-econ-detail a,.hq-video-actions button,.hq-video-actions a):focus-visible{outline:2px solid #f0c98d!important;outline-offset:3px}
@media(max-width:760px){
  body.ze-hq #hqMindsetView .ze-psych-reader{max-width:100%}
  body.ze-hq #hqMindsetView .ze-psych-article{padding:clamp(19px,4.6vw,28px)}
  body.ze-hq #hqMindsetView .ze-psych-back{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
  body.ze-hq :is(.workspace-toolbar button,.ze-psych-back,.ze-psych-card,.ze-psych-filters button,.ze-psych-challenge-feature button,.hq-market-grid a,.hq-econ-refresh,.hq-econ-detail a,.hq-video-actions button,.hq-video-actions a){transition:none!important;transform:none!important}
}
