
:root{
  --eq-black:#050607;--eq-black2:#090b0f;--eq-panel:#101319;--eq-panel2:#151a22;
  --eq-gold:#d69a2d;--eq-gold2:#ffbd4a;--eq-gold3:#7d4c08;--eq-cream:#fff3d6;
  --eq-text:#f7f3e9;--eq-muted:#a9adb7;--eq-line:rgba(230,169,60,.30);
}
html{background:var(--eq-black)}
body{
  background:
    radial-gradient(circle at 80% -10%,rgba(255,176,51,.13),transparent 30%),
    radial-gradient(circle at 15% 5%,rgba(188,123,22,.10),transparent 26%),
    linear-gradient(180deg,#080a0d 0%,#050607 100%) !important;
  color:var(--eq-text);
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.28;
  background-image:
    linear-gradient(rgba(255,185,65,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,185,65,.025) 1px,transparent 1px);
  background-size:42px 42px;
}
.eq-shellbar{
  position:sticky;top:0;z-index:9000;min-height:68px;padding:8px 18px!important;
  display:flex;align-items:center;gap:10px!important;
  background:rgba(6,8,11,.94)!important;
  border-bottom:1px solid rgba(230,169,60,.32)!important;
  box-shadow:0 12px 45px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(18px);
}
.eq-shellbar img{width:42px!important;height:42px!important;object-fit:cover!important;border-radius:10px!important;border:1px solid rgba(230,169,60,.34)}
.eq-shellbar .brand{font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase;color:#f7d48c!important}
.eq-shellbar a{
  color:#d9d9db!important;border:1px solid transparent!important;border-radius:10px!important;
  padding:9px 12px!important;text-decoration:none!important;font-weight:750!important;
}
.eq-shellbar a:hover{color:#fff!important;background:rgba(214,154,45,.08)!important;border-color:rgba(214,154,45,.22)!important}
.eq-shellbar a.active{
  color:#111!important;background:linear-gradient(135deg,#ffd06e,#c47a13)!important;
  border-color:#ffd277!important;box-shadow:0 0 20px rgba(231,164,52,.18)!important
}
.eq-shellbar .who{color:#aeb3bc!important;font-size:12px!important}.eq-shellbar .who b{color:#f1b745!important}
.panel,.box,.card,.kpi,.c,.coach,.section-block{
  border-color:rgba(214,154,45,.22)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.22);
}
input,select,textarea{
  border-color:rgba(214,154,45,.25)!important;background:#0b0e13!important;color:#fff!important
}
input:focus,select:focus,textarea:focus{
  border-color:#dba13a!important;box-shadow:0 0 0 3px rgba(218,158,48,.13)!important
}
button.primary,.primary,.gold{
  background:linear-gradient(135deg,#f4bf5c,#b86d0e)!important;color:#100c05!important;
  border:1px solid #ffd47b!important;box-shadow:0 8px 26px rgba(214,154,45,.14)
}
.eq-module-hero{
  display:flex;align-items:center;gap:18px;padding:18px 20px;margin:18px 0;
  border:1px solid rgba(214,154,45,.25);border-radius:18px;
  background:linear-gradient(135deg,rgba(20,16,10,.90),rgba(8,10,13,.94));
}
.eq-module-hero img{width:90px;height:90px;object-fit:cover;border-radius:15px;border:1px solid rgba(214,154,45,.30)}
.eq-module-hero .kicker{color:#e4ad4a;letter-spacing:.16em;font-size:11px;font-weight:900;text-transform:uppercase}
.eq-module-hero h1{margin:5px 0 3px;font-size:clamp(26px,4vw,38px)}
.eq-module-hero p{margin:0;color:#a9adb7}
.eq-powered{font-size:11px;color:#777f89;letter-spacing:.06em}
.eq-access-overlay{
  position:fixed;inset:0;z-index:12000;display:grid;place-items:center;
  background:radial-gradient(circle at 50% 25%,rgba(195,126,21,.14),transparent 35%),#050607;
}
.eq-access-card{
  width:min(480px,90vw);padding:28px;text-align:center;border-radius:22px;
  background:linear-gradient(180deg,#11151c,#0a0d12);border:1px solid rgba(214,154,45,.30);
  box-shadow:0 30px 90px rgba(0,0,0,.55)
}
.eq-access-card h2{color:#eab452}
@media(max-width:800px){
  .eq-shellbar{flex-wrap:wrap}
  .eq-shellbar .spacer{display:none}
  .eq-shellbar .who{width:100%;order:8}
}

/* ========================================================================== */
/* v4.0.12 — EXECUTIVE BLACK / GOLD VISUAL REFRESH                            */
/* VISUAL-ONLY LAYER: no application logic, routes, auth or data behavior.    */
/* ========================================================================== */
:root{--eq-gold:#d89a2b;--eq-gold2:#f2bd55;--eq-line:rgba(216,154,43,.28);--eq-surface:rgba(10,11,13,.88);--eq-surface2:rgba(15,16,19,.92)}
body[data-eq-module]{font-family:Inter,Arial,Helvetica,sans-serif!important;background:#050607!important;color:#f5f3ee!important}
body[data-eq-module]::before{z-index:0!important;opacity:.38!important;background-image:radial-gradient(circle at 79% 11%,rgba(216,154,43,.10),transparent 22%),linear-gradient(rgba(216,154,43,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(216,154,43,.018) 1px,transparent 1px)!important;background-size:auto,48px 48px,48px 48px!important}
body[data-eq-module]>*{position:relative;z-index:1}

/* Unified platform header — one Equinox identity, not repeated throughout. */
body[data-eq-module] .eq-shellbar{min-height:82px!important;padding:10px 24px!important;gap:14px!important;background:rgba(4,5,6,.96)!important;border-bottom:1px solid rgba(216,154,43,.28)!important;box-shadow:0 12px 38px rgba(0,0,0,.34)!important}
body[data-eq-module] .eq-shellbar>img{width:64px!important;height:64px!important;object-fit:cover!important;object-position:18% 28%!important;border:0!important;border-radius:8px!important;filter:drop-shadow(0 0 12px rgba(216,154,43,.12))}
body[data-eq-module] .eq-shellbar .brand{font-size:14px!important;letter-spacing:.12em!important;color:#e9b654!important;margin-right:24px!important;white-space:nowrap}
body[data-eq-module] .eq-shellbar a{font-size:13px!important;padding:10px 13px!important;border-radius:8px!important}
body[data-eq-module] .eq-shellbar a.active{color:#e8ad43!important;background:rgba(216,154,43,.06)!important;border:1px solid rgba(216,154,43,.18)!important;border-bottom-color:#d89a2b!important;box-shadow:0 9px 18px -13px #f2bd55!important}
body[data-eq-module] .eq-shellbar .who b{color:#e8ad43!important}

/* Shared executive surfaces */
body[data-eq-module] .panel,body[data-eq-module] .card,body[data-eq-module] .top,body[data-eq-module] .toolbar,body[data-eq-module] form,body[data-eq-module] .setter-panel,body[data-eq-module] .section-block{background:linear-gradient(145deg,rgba(14,15,17,.94),rgba(7,8,10,.96))!important;border:1px solid rgba(216,154,43,.22)!important;box-shadow:0 18px 48px rgba(0,0,0,.24)!important}
body[data-eq-module] input,body[data-eq-module] select,body[data-eq-module] textarea{background:#0b0d10!important;border:1px solid rgba(216,154,43,.25)!important;color:#f6f3ed!important}
body[data-eq-module] input:focus,body[data-eq-module] select:focus,body[data-eq-module] textarea:focus{border-color:#d89a2b!important;box-shadow:0 0 0 3px rgba(216,154,43,.10)!important}
body[data-eq-module] button{transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}
body[data-eq-module] button:hover{transform:translateY(-1px)}
body[data-eq-module] .ghost{background:#0b0d10!important;color:#eeeae2!important;border:1px solid rgba(216,154,43,.24)!important}
body[data-eq-module] .primary,body[data-eq-module] .gold{background:linear-gradient(135deg,#f0b94e,#b76e12)!important;color:#100c05!important;border:1px solid #e8b34c!important}

/* REVIEW CENTER — clean, spacious, Equinox-first. */
body[data-eq-module="review"] .wrap{width:min(1460px,calc(100% - 40px))!important;margin:20px auto 28px!important}
body[data-eq-module="review"] .top{min-height:190px!important;padding:34px 42px!important;margin-bottom:22px!important;position:relative!important;overflow:hidden!important;align-items:center!important}
body[data-eq-module="review"] .top::after{content:"";position:absolute;right:4%;top:8%;width:390px;height:170px;opacity:.42;pointer-events:none;background:radial-gradient(circle at 72% 48%,rgba(216,154,43,.17),transparent 28%),repeating-radial-gradient(circle at 72% 48%,transparent 0 22px,rgba(216,154,43,.10) 23px 24px)}
body[data-eq-module="review"] .header-logo{display:none!important}
body[data-eq-module="review"] .header-brand{gap:0!important}
body[data-eq-module="review"] .brand{color:#e7ad43!important;font-size:13px!important;letter-spacing:.19em!important}
body[data-eq-module="review"] h1{font-size:clamp(34px,4vw,48px)!important;letter-spacing:-.025em!important;margin-top:10px!important}
body[data-eq-module="review"] .top .muted{font-size:17px!important;margin-top:8px!important}
body[data-eq-module="review"] .nav{gap:12px!important;margin:0 0 -1px 18px!important}
body[data-eq-module="review"] .nav button{min-width:180px!important;padding:15px 22px!important;border-radius:10px 10px 0 0!important;background:#0a0c0f!important;color:#eeeae2!important;border:1px solid rgba(216,154,43,.20)!important}
body[data-eq-module="review"] .nav button.active{background:rgba(216,154,43,.08)!important;color:#efb64b!important;border-color:rgba(216,154,43,.45)!important;box-shadow:0 10px 24px -18px #f2bd55!important}
body[data-eq-module="review"] #appView>.panel{border-radius:18px!important;padding:20px!important}
body[data-eq-module="review"] .toolbar{padding:16px!important;margin-bottom:16px!important;border-radius:14px!important}
body[data-eq-module="review"] .cards{min-height:250px!important}
body[data-eq-module="review"] .card{background:linear-gradient(145deg,#0e1014,#090a0d)!important;border-color:rgba(216,154,43,.20)!important;border-radius:14px!important}
body[data-eq-module="review"] .field,body[data-eq-module="review"] .ai-flag,body[data-eq-module="review"] .ai-metric,body[data-eq-module="review"] .ai-box{background:#0b0d10!important;border-color:rgba(216,154,43,.17)!important}
body[data-eq-module="review"] .empty{min-height:220px!important;display:grid!important;place-items:center!important;font-size:16px!important;color:#a8a39a!important;border:1px solid rgba(216,154,43,.13)!important;border-radius:14px!important;background:radial-gradient(circle at 50% 35%,rgba(216,154,43,.055),transparent 30%)!important}

/* GNRG DASHBOARD — client identity inside the Equinox platform. */
body[data-eq-module="gnrg"] .shell{max-width:1480px!important;padding:20px!important}
body[data-eq-module="gnrg"] .top{padding:24px 26px!important;border-radius:18px!important;margin-bottom:16px!important;position:relative!important;overflow:hidden!important}
body[data-eq-module="gnrg"] .top::after{content:"";position:absolute;right:4%;top:-25px;width:330px;height:150px;opacity:.30;pointer-events:none;background:repeating-radial-gradient(circle at 70% 55%,transparent 0 20px,rgba(216,154,43,.11) 21px 22px)}
body[data-eq-module="gnrg"] .brand{gap:26px!important}
body[data-eq-module="gnrg"] .brand img{width:220px!important;height:105px!important;object-fit:contain!important;background:#fff!important;padding:12px 16px!important;border-radius:12px!important;border:1px solid rgba(216,154,43,.22)!important;filter:none!important}
body[data-eq-module="gnrg"] .brand h1{font-size:32px!important;color:#f5f3ee!important}
body[data-eq-module="gnrg"] .eyebrow{color:#69b532!important}
body[data-eq-module="gnrg"] .stats{gap:12px!important}
body[data-eq-module="gnrg"] .stat{background:linear-gradient(145deg,#101216,#0a0c0f)!important;border:1px solid rgba(216,154,43,.17)!important;border-top:1px solid rgba(216,154,43,.17)!important;border-radius:14px!important;min-height:108px!important}
body[data-eq-module="gnrg"] .stat:after{display:none!important}
body[data-eq-module="gnrg"] .stat strong{color:#f7f4ed!important;font-size:30px!important}
body[data-eq-module="gnrg"] .toolbar{border-radius:14px!important;padding:14px 18px!important}
body[data-eq-module="gnrg"] .table-card{border-radius:14px!important;overflow:hidden!important}
body[data-eq-module="gnrg"] .table th{background:#0c0e11!important;color:#c9c3b7!important;border-bottom:1px solid rgba(216,154,43,.25)!important}
body[data-eq-module="gnrg"] .table td{border-color:rgba(216,154,43,.11)!important}
body[data-eq-module="gnrg"] .table tbody tr:hover{background:rgba(216,154,43,.035)!important}
body[data-eq-module="gnrg"] .site-footer{border:1px solid rgba(216,154,43,.18)!important;border-radius:14px!important;margin-top:16px!important;padding:18px!important;color:#aaa59c!important}
body[data-eq-module="gnrg"] .powered-by-equinox img{width:34px!important;height:34px!important;border-radius:7px!important}
body[data-eq-module="gnrg"] .drawer-panel{background:#080a0d!important;color:#f5f3ee!important;border-left:1px solid rgba(216,154,43,.28)!important}
body[data-eq-module="gnrg"] .drawer-head{background:rgba(8,10,13,.97)!important;border-color:rgba(216,154,43,.22)!important}

/* APPOINTMENT INTAKE — same visual language, form remains unchanged. */
body[data-eq-module="intake"] .wrap{width:min(1420px,calc(100% - 40px))!important;margin:20px auto 30px!important}
body[data-eq-module="intake"] .header{min-height:170px!important;padding:34px 38px!important;margin-bottom:18px!important;position:relative!important;overflow:hidden!important;border-radius:18px!important}
body[data-eq-module="intake"] .header::after{content:"";position:absolute;right:5%;top:0;width:360px;height:170px;opacity:.34;pointer-events:none;background:repeating-radial-gradient(circle at 70% 50%,transparent 0 21px,rgba(216,154,43,.10) 22px 23px)}
body[data-eq-module="intake"] .header>img{display:none!important}
body[data-eq-module="intake"] .header .brand{font-size:13px!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:#e7ad43!important}
body[data-eq-module="intake"] .header h1{font-size:clamp(34px,4vw,46px)!important;letter-spacing:-.025em!important;margin:10px 0 5px!important}
body[data-eq-module="intake"] .header .subtitle{font-size:16px!important;color:#aaa59c!important}
body[data-eq-module="intake"] form{border-radius:18px!important;padding:24px!important}
body[data-eq-module="intake"] .section{border-bottom-color:rgba(216,154,43,.16)!important}
body[data-eq-module="intake"] .section-title{color:#e5aa3e!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-size:14px!important}
body[data-eq-module="intake"] .setter-panel{border-radius:18px!important;background:linear-gradient(145deg,#101216,#090a0d)!important}
body[data-eq-module="intake"] .mini-card{background:#0b0d10!important;border-color:rgba(216,154,43,.18)!important}
body[data-eq-module="intake"] .diego-coach{background:rgba(216,154,43,.055)!important;border-color:rgba(216,154,43,.24)!important}

@media(max-width:900px){
 body[data-eq-module] .eq-shellbar{padding:8px 12px!important}
 body[data-eq-module] .eq-shellbar>img{width:46px!important;height:46px!important}
 body[data-eq-module] .eq-shellbar .brand{font-size:12px!important;margin-right:0!important}
 body[data-eq-module="review"] .top,body[data-eq-module="intake"] .header{padding:24px!important;min-height:150px!important}
 body[data-eq-module="gnrg"] .brand img{width:180px!important;height:88px!important}
}
@media(max-width:620px){
 body[data-eq-module] .eq-shellbar .brand{width:auto!important}
 body[data-eq-module="review"] .wrap,body[data-eq-module="intake"] .wrap{width:min(100% - 20px,1460px)!important}
 body[data-eq-module="review"] .nav{margin-left:0!important}
 body[data-eq-module="review"] .nav button{min-width:0!important;flex:1!important}
 body[data-eq-module="gnrg"] .brand img{width:170px!important;height:82px!important}
}

/* v4.0.13B — GNRG APPOINTMENT DRAWER POSITION HOTFIX
   The executive visual layer sets direct body children to position:relative.
   The appointment drawer is also a direct body child and must remain fixed. */
body[data-eq-module="gnrg"] > #drawer.drawer{
  position:fixed!important;
  inset:0!important;
  z-index:20000!important;
  display:flex;
  justify-content:flex-end;
  pointer-events:auto!important;
}
body[data-eq-module="gnrg"] > #drawer.drawer.hidden{display:none!important;}
body[data-eq-module="gnrg"] > #drawer.drawer .drawer-panel{
  position:relative!important;
  z-index:20001!important;
  height:100vh!important;
  max-height:100vh!important;
}
