/* CipherBot — theme 2 ("ink & signal")
   Same navy / teal / blue as before, but flat and printed-looking: solid surfaces, hairline borders, tight corners,
   no glass, no glow, no floating blobs, no gradient text. It is only a look: no setting, saved choice or feature changes. */
:root{
  --bg:#0a0907;--s0:#080706;--s1:#100d08;--s2:#17130b;--s3:#1d170b;
  --bd:#2a2312;--bd2:#3d3218;--line:#231d0f;--panel2:#17130b;
  --glass:#100d08;--tx:#f3eee2;--mut:#a79e89;--dim:#766c58;
  --g:#d4af37;--c:#c8962e;--v:#c8962e;
  --grad:#d4af37;
  --r6:6px;--r8:8px;--r12:12px;
  --head:Inter,system-ui,-apple-system,sans-serif;
}
html body{background:var(--bg);letter-spacing:-.003em}
h1,h2,h3,h4{font-family:var(--head);letter-spacing:-.025em;font-weight:650}

/* ---- background: nothing floating, nothing glowing ---- */
.bg{background:var(--bg)!important}
.bg .orb,.bg .gridfx,.orb,.gridfx{display:none!important}

/* ---- top bar: a plain full-width strip ---- */
html body .top{margin:0!important;max-width:none!important;width:100%!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;background:var(--s0)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0 28px!important;min-height:58px;gap:6px}
.brand{font:700 19px var(--head);letter-spacing:-.04em}
.brand b{background:none!important;color:var(--g)!important;-webkit-text-fill-color:var(--g)!important}
.brand svg,.brand-mark{filter:none!important}
.top .links{margin-left:14px;gap:2px}
.top .links a{border-radius:var(--r6)!important;padding:19px 12px!important;font-weight:500!important;font-size:14px;color:var(--mut);position:relative;border-radius:0!important}
.top .links a:hover{background:none!important;color:var(--tx)}
.top .links a:hover:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:var(--g)}
.top .btn,.top .ibtn{border-radius:var(--r6)!important}

/* ---- surfaces ---- */
html body .card,html body .panel{background:var(--s1)!important;border:1px solid var(--bd)!important;border-radius:var(--r12)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body .panel:hover,html body .card:hover{border-color:var(--bd2)!important}
#app .panel>h3:first-child,#app .panel>.sy-head h3{padding-left:0!important}
#app .panel>h3:first-child:before,#app .panel>.sy-head h3:before,.panel>h3:before{display:none!important}
.panel>h3,.card h3{font-size:16px}

/* ---- buttons: solid, small corners, no glow ---- */
html body .btn{border-radius:var(--r8);background:var(--s2);border:1px solid var(--bd2);box-shadow:none;transform:none!important;font-weight:600}
html body .btn:hover{background:var(--s3);border-color:#7f6b3b}
html body .btn.p{background:var(--g)!important;color:#0c0a06!important;border:1px solid var(--g)!important;box-shadow:none!important}
html body .btn.p:hover{background:#6fe3e1!important;filter:none}
html body .btn.d{background:transparent;border-color:#5a2a3b;color:#ff7d95}
html body .btn.lg{border-radius:var(--r8)}
.pill,.chip{border-radius:var(--r6)!important}
.tg,.soontag{border-radius:4px!important;letter-spacing:.04em}
.dot.on{box-shadow:none!important;animation:none!important}

/* ---- form fields ---- */
input[type=number],input[type=text],input[type=email],input[type=password],select,textarea{background:var(--s0)!important;border:1px solid var(--bd2)!important;border-radius:var(--r8)!important}
input:focus,select:focus,textarea:focus{border-color:var(--g)!important;box-shadow:0 0 0 2px rgba(212,175,55,.22)!important}
.sw i{border-radius:99px;background:#44381c;border-color:var(--bd2)}
.sw input:checked+i{background:var(--g)!important;border-color:var(--g)!important;box-shadow:none!important}

/* ---- no gradient text anywhere ---- */
html body .hero h1 b,html body .stat,html body .stats3 .stat,html body .ph-head h1,html body .sec-t h2,html body [class*="grad"]{background:none!important;-webkit-text-fill-color:currentColor!important;animation:none!important}
html body .hero h1 b{color:var(--g)!important}
html body .stat,.stats3 .stat{color:var(--tx)!important}
.hero h1{font-weight:700;letter-spacing:-.045em;line-height:1.02}
.hero p.lead{color:var(--mut)}
.sec-t h2{font-weight:700;letter-spacing:-.035em}

/* ---- dashboard control panel ---- */
.shell{gap:22px!important;max-width:1440px!important}
html body .side{background:var(--s1)!important;border-radius:var(--r12)!important;padding:14px!important;top:76px!important}
.side .sv{border-bottom:1px solid var(--line)!important;padding:4px 4px 14px!important}
.side .sv .sicon,.sicon{background:var(--s3)!important;color:var(--g)!important;border:1px solid var(--bd2)!important;border-radius:var(--r8)!important;box-shadow:none!important;filter:none!important;width:40px!important;height:40px!important;font-size:16px!important}
.side .sv b{font-size:15px}.side .sv small{font:500 11px var(--mono);color:var(--dim);letter-spacing:.04em}
#app .tgrp,.tgrp{font:600 10px var(--mono)!important;letter-spacing:.18em!important;color:var(--dim)!important;margin:16px 8px 4px!important}
#app .tgrp:after{background:var(--line)!important}
html body .tab{border-radius:var(--r8)!important;padding:9px 11px!important;font-weight:500;font-size:14px}
html body .tab:hover{background:var(--s2)!important;color:var(--tx)}
html body .tab.on{background:var(--s3)!important;color:var(--tx)!important;box-shadow:inset 2px 0 0 var(--g)}
html body .tab.on:before{display:none!important}
html body .tab.on svg{filter:none!important}
.tdot{box-shadow:none!important}
.tab>span:first-child{filter:grayscale(1) brightness(1.25);opacity:.85}.tab.on>span:first-child{filter:none;opacity:1}

.phead h1{font-size:26px;letter-spacing:-.035em}
/* big hero blocks: flat panels with a faint grid, not glowing gradients */
html body .sx-hero,html body .aiu-hero,html body .hero-mini,html body .cmd,html body [class*="hero-card"]{background:var(--s1)!important;border:1px solid var(--bd)!important;border-radius:var(--r12)!important;box-shadow:none!important;background-image:radial-gradient(rgba(200,150,46,.10) 1px,transparent 1.2px)!important;background-size:18px 18px!important}
.hero-k,.hero-chip{border-radius:4px!important}
.hchip{border-radius:var(--r6)!important}
html body .statgrid>*,html body .cs-kpi{background:var(--s1)!important;border:1px solid var(--bd)!important;border-radius:var(--r12)!important;box-shadow:none!important;position:relative}
html body .statgrid>*:before{display:none}
.lockbar{border-radius:var(--r8)!important}
.row{border-color:var(--line)!important}
.tbl table{border-radius:var(--r8)}
.tbl th{font:600 10.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}

/* ---- popovers, toast, footer ---- */
.pop,.pmodal .pm-card,.toast,#toast>*{background:var(--s1)!important;border:1px solid var(--bd2)!important;border-radius:var(--r12)!important;box-shadow:0 12px 40px -12px #000!important;backdrop-filter:none!important}
.f2{background:var(--s0)!important}
.sitenotice{border-radius:0!important}
::selection{background:#d4af3755}

/* ---- ADMIN: its own look — console, amber signal, squarer ---- */
body.adm{--bg:#060914;--s0:#070604;--s1:#0a0f20;--s2:#2e2510;--s3:#3b2f14;--g:#ff9f1c;--grad:#ff9f1c;--bd:#42361a;--bd2:#65542b}
body.adm .brand b{color:var(--g)!important;-webkit-text-fill-color:var(--g)!important}
body.adm .bg{background:var(--bg)!important}
body.adm .top{border-bottom:1px solid #2a2208!important;background:#070604!important}
body.adm .top:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:repeating-linear-gradient(90deg,#ff9f1c 0 14px,transparent 14px 22px);opacity:.9}
body.adm .top{position:sticky}
body.adm .card,body.adm .panel,body.adm .side,body.adm .statgrid>*,body.adm .cs-kpi{border-radius:6px!important}
body.adm .btn{border-radius:5px}
body.adm .btn.p{background:var(--g)!important;border-color:var(--g)!important;color:#1a1200!important}
body.adm .btn.p:hover{background:#ffc93d!important}
body.adm .tab.on{box-shadow:inset 2px 0 0 #ff9f1c}
body.adm .side .sv .sicon{color:#ff9f1c!important}
body.adm .pill,body.adm .tg{border-radius:3px!important}
body.adm .phead{border-bottom:1px solid var(--bd);padding-bottom:14px}
body.adm .phead h1{font:700 22px var(--mono);letter-spacing:-.02em;text-transform:none}
body.adm .phead h1:before{content:"› ";color:#ff9f1c}
body.adm .stat,body.adm .cs-kpi b{font-family:var(--mono)!important}
body.adm .sw input:checked+i{background:#ff9f1c!important;border-color:#ff9f1c!important}
body.adm input:focus,body.adm select:focus,body.adm textarea:focus{border-color:#ff9f1c!important;box-shadow:0 0 0 2px rgba(255,159,28,.2)!important}
body.adm .panel>h3,body.adm .card>h3{font:650 14px var(--mono);letter-spacing:0;text-transform:none}

/* ---- remove the remaining glows ---- */
svg,svg *,.cs-gate-ic,.md-shield,.vt-lock,.au-dot.last{filter:none!important}
html body .sc:after{display:none!important}
html body #app .sc:before,html body .sc:before{height:2px!important;background:var(--ac,var(--c))!important;opacity:.85}
.hc-fab{border-radius:10px!important;background:var(--g)!important;color:#0c0a06!important;box-shadow:0 6px 20px -8px #000!important;font-weight:700}
.hc-box{border-radius:var(--r12)!important;background:var(--s1)!important;border:1px solid var(--bd2)!important;backdrop-filter:none!important}
.hmock,.mock,.hero-card,.hero .card{box-shadow:none!important;border-color:var(--bd2)!important}
.hero .card:after,.hero .card:before{display:none!important}
*{text-shadow:none!important}

/* ---- dashboard command center ---- */
html body .dhero{background:var(--s1)!important;border:1px solid var(--bd)!important;border-radius:var(--r12)!important;box-shadow:none!important;background-image:radial-gradient(rgba(200,150,46,.10) 1px,transparent 1.2px)!important;background-size:18px 18px!important;overflow:hidden}
.dhero .hero-bg,.hero-bg{display:none!important}
html body .hero-ic{background:var(--s3)!important;border:1px solid var(--bd2)!important;border-radius:var(--r8)!important;box-shadow:none!important;font-size:30px!important;width:64px!important;height:64px!important}
.hero-t h2,.dhero h2{font-size:30px;letter-spacing:-.04em;font-weight:700}
.hero-chips .hchip,.hero-act .btn{border-radius:var(--r8)!important}
.hchip{background:var(--s2)!important;border:1px solid var(--bd2)!important}
.hchip.on i{box-shadow:none!important}

/* gradient headings used "transparent" text; make them plain solid colour */
html body .ph-head h1,html body .sec-t h2,html body .au-odo-n,html body .stats3 .stat,html body .stat,html body h1,html body h2{color:var(--tx)!important;-webkit-text-fill-color:var(--tx)!important;background:none!important}
html body .hero h1 b{color:var(--g)!important;-webkit-text-fill-color:var(--g)!important}
html body .au-grad,html body .st-title h1{background:none!important;color:var(--g)!important;-webkit-text-fill-color:var(--g)!important;animation:none!important}
html body .plan.pro,html body .plan{background:var(--s1)!important;border:1px solid var(--bd)!important;border-radius:var(--r12)!important;box-shadow:none!important}
html body .plan.pro{border-color:var(--g)!important}

/* status page hero */
html body .sx-hero:before,html body .sx-hero:after,.sx-ecg,.sx-glow,.sx-hero .sx-ring{display:none!important}
html body .sx-ic,html body .sx-badge{box-shadow:none!important;filter:none!important;animation:none!important}
html body .sx-hero{background-image:radial-gradient(rgba(200,150,46,.08) 1px,transparent 1.2px)!important;padding:30px 32px!important}

@media(max-width:700px){html body .top{padding:8px 14px!important}.top .links a{padding:10px 12px!important}}
html body .tab.on{transform:none!important;margin:0!important;padding-left:11px!important}

/* =====================  PHONE VIEW  ===================== */
html[data-view=phone] body .top{flex-wrap:nowrap!important;gap:8px!important;padding:8px 12px!important;min-height:56px;position:sticky;top:0}
html[data-view=phone] body .top .brand{font-size:17px;gap:7px;min-width:0;flex:none}
html[data-view=phone] body .top .brand-mark{width:26px;height:26px}
html[data-view=phone] body .top .sp{flex:1;min-width:0}
html[data-view=phone] body .hbar{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px!important;margin-left:auto}
html[data-view=phone] body .hbar>a.btn,html[data-view=phone] body .hbar .pill{display:none!important}
html[data-view=phone] body .navbtn{width:40px;height:40px;flex:none;order:-1}
html[data-view=phone] body .top .ibtn{width:38px;height:38px;flex:none;border-radius:10px!important}
html[data-view=phone] body .vsw{transform:scale(.82);transform-origin:center;margin:0 -4px}
html[data-view=phone] body .acct .btn{font-size:0!important;padding:0!important;width:38px;height:38px;border-radius:10px!important;display:inline-grid;place-items:center;background:var(--s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238f9cbb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") center/18px no-repeat}
html[data-view=phone] body .acct .btn:has(img){background-image:none}
html[data-view=phone] body .acct .btn .ava{width:28px;height:28px}
html[data-view=phone] body main,html[data-view=phone] body .wrap{padding-bottom:84px}
html[data-view=phone] body .wrap{padding-left:16px;padding-right:16px}
html[data-view=phone] body .btn{min-height:42px}
html[data-view=phone] .hc-fab{width:48px;height:48px;padding:0!important;justify-content:center;border-radius:14px!important;right:12px;bottom:calc(14px + env(safe-area-inset-bottom))}
html[data-view=phone] .hc{right:12px;bottom:calc(14px + env(safe-area-inset-bottom))}
html[data-view=phone] .hero h1{font-size:clamp(34px,10.5vw,46px)}
html[data-view=phone] .hero{padding-top:20px;gap:26px}
html[data-view=phone] .sec-t{margin:56px 0 22px}
html[data-view=phone] .f2-in{grid-template-columns:1fr 1fr;gap:24px}
html[data-view=phone] .f2-brand{grid-column:1/-1}
