/* EQUINOX INTELLIGENCE v5.1 — EXECUTIVE APP POLISH
   VISUAL-ONLY SAFE LAYER. No JS/API/Supabase/auth/workflow changes. */
:root{--eq51-gold:#e6b14f;--eq51-line:rgba(230,177,79,.18);--eq51-glass:rgba(11,14,18,.82)}
body[data-eq-module]{background-image:radial-gradient(circle at 88% 4%,rgba(230,177,79,.055),transparent 24%),radial-gradient(circle at 12% 96%,rgba(78,116,150,.045),transparent 28%)!important}
body[data-eq-module] .eq-shellbar{position:sticky!important;top:0!important;z-index:900!important;background:rgba(4,6,8,.90)!important;backdrop-filter:blur(18px) saturate(130%)!important;border-bottom:1px solid var(--eq51-line)!important;box-shadow:0 12px 35px rgba(0,0,0,.22)!important}
body[data-eq-module] .eq-shellbar a{transition:background .18s ease,border-color .18s ease,transform .18s ease!important;border:1px solid transparent!important;border-radius:10px!important}
body[data-eq-module] .eq-shellbar a:hover{background:rgba(230,177,79,.055)!important;border-color:rgba(230,177,79,.13)!important;transform:translateY(-1px)}
body[data-eq-module] .eq-shellbar a.active{background:rgba(230,177,79,.075)!important;border-color:rgba(230,177,79,.20)!important}
body[data-eq-module] .card,body[data-eq-module] .panel,body[data-eq-module] .toolbar,body[data-eq-module] .table-card{box-shadow:0 18px 50px rgba(0,0,0,.18)!important}
body[data-eq-module] input:focus,body[data-eq-module] select:focus,body[data-eq-module] textarea:focus{outline:none!important;border-color:rgba(230,177,79,.58)!important;box-shadow:0 0 0 3px rgba(230,177,79,.08)!important}
body[data-eq-module] button,body[data-eq-module] .btn{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important}
body[data-eq-module] button:hover,body[data-eq-module] .btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
body[data-eq-module] button:active,body[data-eq-module] .btn:active{transform:translateY(0) scale(.985)}
/* Leads: clearer operational cards without changing content */
body[data-eq-module="leads"] .card{border-color:rgba(230,177,79,.16)!important;background:linear-gradient(145deg,rgba(15,19,24,.92),rgba(7,9,12,.94))!important}
body[data-eq-module="leads"] .card:hover{border-color:rgba(230,177,79,.28)!important;box-shadow:0 22px 55px rgba(0,0,0,.28)!important}
/* Review: approval workspace hierarchy */
body[data-eq-module="review"] .card{background:linear-gradient(150deg,rgba(15,18,22,.94),rgba(7,9,12,.96))!important}
/* Intake: make setter work area feel like one app */
body[data-eq-module="intake"] form{background:linear-gradient(150deg,rgba(14,17,21,.94),rgba(7,9,12,.96))!important}
body[data-eq-module="intake"] .mini-card{border:1px solid rgba(230,177,79,.13)!important}
/* GNRG / MIB company dashboard: stronger executive scan */
body[data-eq-module="gnrg"] .stat{background:linear-gradient(150deg,rgba(16,20,25,.96),rgba(7,9,12,.96))!important;border-color:rgba(230,177,79,.13)!important}
body[data-eq-module="gnrg"] .stat:hover{border-color:rgba(230,177,79,.27)!important;transform:translateY(-2px)}
body[data-eq-module="gnrg"] .table tbody tr{transition:background .15s ease!important}
body[data-eq-module="gnrg"] .table tbody tr:hover{background:rgba(230,177,79,.035)!important}
/* Mobile-first operational behavior */
@media(max-width:700px){
  body[data-eq-module]{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
  body[data-eq-module] .eq-shellbar{min-height:58px!important;padding:7px 8px!important;scroll-snap-type:x proximity!important}
  body[data-eq-module] .eq-shellbar a{min-height:42px!important;display:inline-flex!important;align-items:center!important;scroll-snap-align:start!important;padding:8px 11px!important}
  body[data-eq-module="review"] .wrap,body[data-eq-module="intake"] .wrap{width:calc(100% - 12px)!important;margin-top:7px!important}
  body[data-eq-module="review"] .top,body[data-eq-module="intake"] .header{min-height:auto!important;padding:18px!important}
  body[data-eq-module="review"] h1,body[data-eq-module="intake"] .header h1{font-size:clamp(27px,8vw,34px)!important;line-height:1.03!important}
  body[data-eq-module="intake"] form{padding:14px!important}
  body[data-eq-module="gnrg"] .shell{padding:6px!important}
  body[data-eq-module="gnrg"] .top{border-radius:14px!important;padding:14px!important}
  body[data-eq-module="gnrg"] .brand h1{font-size:24px!important;line-height:1.05!important}
  body[data-eq-module="gnrg"] .stats{gap:7px!important}
  body[data-eq-module="gnrg"] .stat{min-height:78px!important;padding:10px!important;border-radius:12px!important}
  body[data-eq-module="gnrg"] .stat strong{font-size:22px!important}
  body[data-eq-module="gnrg"] .stat span,body[data-eq-module="gnrg"] .stat small{font-size:10px!important}
  body[data-eq-module] input,body[data-eq-module] select,body[data-eq-module] textarea{font-size:16px!important} /* prevents iOS zoom */
}
@media(max-width:480px){
  body[data-eq-module="gnrg"] .brand img{width:128px!important;height:64px!important}
  body[data-eq-module="gnrg"] .toolbar{padding:9px!important;gap:7px!important}
  body[data-eq-module="review"] .nav button{min-height:42px!important}
}
@media(prefers-reduced-motion:reduce){body[data-eq-module] *{transition:none!important;transform:none!important}}
