/* Generated by scripts/build-css-bundles.mjs. Do not edit directly. */
/* source: approved-theme.css */
:root {
  --hg-obsidian: #000507;
  --hg-charcoal: #061117;
  --hg-slate: #0b2029;
  --hg-panel: #06151c;
  --hg-panel-deep: #02090d;
  --hg-line: #29424d;
  --hg-line-bright: #48606a;
  --hg-silver: #d7dde0;
  --hg-silver-muted: #84959c;
  --hg-ivory: #f5f5f1;
  --hg-emerald: #00d9b4;
  --hg-emerald-bright: #00f0c7;
  --hg-emerald-deep: #007e6c;
  --hg-gold: #e1b84f;
  --hg-red: #ff5b50;
  --hg-blue: #178ce8;
  --hg-panel-shadow: 0 22px 54px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .035);
  --hg-text: #edf2f3;
  --hg-muted: #82939b;
  --hg-surface: linear-gradient(145deg, rgba(8, 26, 34, .985), rgba(2, 9, 13, .99));
  --hg-surface-soft: #041015;
}

html[data-theme="light"] {
  --hg-obsidian: #dce5e5;
  --hg-charcoal: #e9efee;
  --hg-slate: #f7f8f5;
  --hg-panel: #f8faf8;
  --hg-panel-deep: #e6edeb;
  --hg-line: #9eb1b5;
  --hg-line-bright: #667d84;
  --hg-silver: #20363d;
  --hg-silver-muted: #60767d;
  --hg-ivory: #fffef9;
  --hg-emerald: #008f79;
  --hg-emerald-bright: #00a98f;
  --hg-emerald-deep: #006f60;
  --hg-gold: #9f761b;
  --hg-red: #c53d34;
  --hg-blue: #116fae;
  --hg-panel-shadow: 0 16px 38px rgba(33, 55, 61, .14), inset 0 1px #fff;
  --hg-text: #152c33;
  --hg-muted: #60767d;
  --hg-surface: linear-gradient(145deg, rgba(255, 255, 251, .99), rgba(232, 239, 237, .99));
  --hg-surface-soft: #edf3f1;
}

html, body { min-height: 100%; }
body { font-family: Bahnschrift, "Arial Narrow", Inter, "Segoe UI", sans-serif; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .09;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.035) 4px);
  mix-blend-mode: soft-light;
}

/* Shared approved brand assets */
.brand-emblem-image { width: 106px; height: 116px; object-fit: contain; filter: drop-shadow(0 12px 12px #000) drop-shadow(0 0 14px rgba(0,217,180,.23)); }
.command-wordmark { min-width: 315px; padding-bottom: 12px !important; }
.command-wordmark > img { display: block; width: 315px; height: 43px; object-fit: contain; object-position: left center; filter: drop-shadow(0 4px 6px rgba(0,0,0,.62)); }
.command-wordmark > small { bottom: -1px !important; letter-spacing: .27em !important; color: #758991 !important; }
.premium-brand .brand-mark { display: none !important; }
.brand-wordmark-image { display:block; width:176px; height:27px; object-fit:contain; object-position:left center; filter:drop-shadow(0 4px 7px rgba(0,0,0,.6)); }
.premium-logo-lockup { display:flex !important; align-items:center; gap:13px !important; font-size:0 !important; }
.operator-wordmark-image { display:block; width:164px; height:25px; object-fit:contain; object-position:left center; filter:drop-shadow(0 4px 7px rgba(0,0,0,.65)); }
.paper-header .brand-lockup > div { display:flex !important; flex-direction:column; align-items:flex-start; justify-content:center; }
.paper-header .brand-lockup strong { margin:4px 0 0 1px !important; }
.shell .brand { min-width:280px; }
.shell .brand .operator-wordmark-image { width:172px; }
.shell .brand small { margin-left:4px; }
.admin-shell > .topbar > .admin-brand-lockup { display:flex !important; align-items:center; gap:13px; width:auto; }
.admin-shell > .topbar > .admin-brand-lockup::before { content:none !important; display:none !important; }
.admin-emblem-image { width:54px; height:62px; object-fit:contain; filter:drop-shadow(0 7px 10px #000) drop-shadow(0 0 9px rgba(0,217,180,.12)); }
.admin-brand-lockup > div { display:grid; grid-template-columns:1fr !important; grid-template-rows:auto auto; align-content:center; gap:3px; }
.admin-shell > .topbar > .admin-brand-lockup h1 { margin:0 !important; color:var(--hg-muted) !important; font-size:10px !important; font-weight:500 !important; letter-spacing:.18em !important; text-transform:uppercase; }
.admin-shell > .topbar > .admin-brand-lockup h1 { grid-column:1 !important; grid-row:2 !important; }

/* App chrome */
.premium-body { background: #000 !important; color: var(--hg-text) !important; }
.premium-body::before { opacity: .72 !important; background-size: auto, 48px 48px, 48px 48px !important; }
.premium-shell {
  border-color: var(--hg-line-bright) !important;
  background: var(--hg-obsidian) !important;
  box-shadow: 0 55px 180px rgba(0,0,0,.85), 0 0 0 1px rgba(0,217,180,.045), inset 0 1px rgba(255,255,255,.08) !important;
}
.premium-sidebar { background: linear-gradient(180deg,#06151c,#01080c 74%,#041016) !important; border-color: #1b333d !important; }
.premium-brand { height: 192px !important; gap: 7px !important; }
.premium-brand .brand-name { color: #eef2f2; text-shadow: 0 1px #fff3, 0 4px 12px #000; }
.premium-sidebar .nav-link { transition: color .22s ease, background .22s ease, border-color .22s ease !important; }
.premium-sidebar .nav-link:hover,.premium-sidebar .nav-link.active { color: var(--hg-emerald-bright) !important; background: linear-gradient(90deg,rgba(0,217,180,.11),rgba(0,217,180,.018)) !important; }
.command-header { border-color: #1c343e !important; }

/* Premium double-frame surface used by every section */
.console-panel,.premium-bot-grid .bot-card,.activity-grid .activity-card,.view-kpi-strip,.appearance-panel,
.paper-shell .panel,.paper-shell .bot-card,.summary-grid,.historical-card,
.shell .panel,.shell .chart-panel,.shell .control-deck,.shell .login-card,
.admin-shell .section-block,.admin-shell .metric-card,.admin-shell .admin-login,
.product,.audit-card,.price-grid article,.shield-card,.final-cta {
  color: var(--hg-text) !important;
  border: 1px solid var(--hg-line) !important;
  background: var(--hg-surface) !important;
  box-shadow: var(--hg-panel-shadow) !important;
}
.console-panel::before,.premium-bot-grid .bot-card::before,.activity-grid .activity-card::before,
.paper-shell .panel::before,.paper-shell .bot-card::before,.shell .panel::before,.shell .chart-panel::before,
.admin-shell .section-block::before,.admin-shell .metric-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 3px;
  pointer-events: none;
}
.console-panel::after,.premium-bot-grid .bot-card::after,.paper-shell .panel::after,.shell .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,rgba(255,255,255,.055),transparent 14%,transparent 84%,rgba(0,217,180,.035));
}
.view-heading { border-color: var(--hg-line) !important; }
.view-heading h1,.settings-card h2,.appearance-panel h2 { color: var(--hg-text) !important; }
.view-heading p,.settings-card > p,.appearance-panel p { color: var(--hg-muted) !important; }
.view-kpi-strip { background: var(--hg-surface-soft) !important; }
.view-kpi-strip > div { border-color: var(--hg-line) !important; }
.eyebrow,.console-label,.kicker { color: var(--hg-silver) !important; }
.positive-text,.capital-return b,.capital-return span { color: var(--hg-emerald) !important; }
.negative-text,.risk-value { color: var(--hg-red) !important; }
.gold-text { color: var(--hg-gold) !important; }

/* Approved raster instruments */
.premium-raster { overflow: visible !important; background: transparent !important; }
.premium-raster > img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(0,217,180,.12)); }
.sentinel-radar.premium-raster { border: 0 !important; box-shadow: none !important; width: 137px !important; height: 137px !important; right: 12px !important; top: 13px !important; }
.sentinel-radar.premium-raster::before,.sentinel-radar.premium-raster::after,.sentinel-radar.premium-raster > i,.sentinel-radar.premium-raster > span { display: none !important; }
.shield-hologram.premium-raster { border: 0 !important; box-shadow: none !important; width: 150px !important; height: 150px !important; right: 13px !important; top: 12px !important; }
.shield-hologram.premium-raster::before,.shield-hologram.premium-raster::after { display: none !important; }
.shield-hologram.premium-raster img { filter: drop-shadow(0 0 18px rgba(225,184,79,.18)); }
.protection-orbit.premium-raster { border: 0 !important; box-shadow: none !important; width: 230px !important; height: 230px !important; }
.protection-orbit.premium-raster::before,.protection-orbit.premium-raster::after { display: none !important; }
.protection-orbit.premium-raster img { width: 100%; height: 100%; object-fit: contain; }
.gold-orbit.premium-raster img { filter: drop-shadow(0 0 24px rgba(225,184,79,.2)); }

/* Strategy and data sections */
.premium-bot-grid .bot-card { position: relative; overflow: hidden; min-height: 440px; }
.premium-bot-grid .bot-card:hover { transform: translateY(-3px); border-color: var(--hg-line-bright) !important; }
.premium-bot-grid .bot-card.selected { border-color: rgba(0,217,180,.6) !important; box-shadow: inset 0 0 38px rgba(0,217,180,.055), var(--hg-panel-shadow) !important; }
.premium-bot-grid .bot-icon { border-color: var(--hg-line-bright) !important; background: radial-gradient(circle,#12333b,#041116) !important; color: var(--hg-emerald-bright) !important; box-shadow: inset 0 0 18px rgba(0,217,180,.08),0 0 18px rgba(0,217,180,.05); }
.performance-gridlines,.chart-wrap,.chart-stage { border: 1px solid var(--hg-line); background-color: var(--hg-panel-deep) !important; }
.journal-console { background-image: var(--hg-surface) !important; }
.journal-head,.journal-console .trade-row,.performance-summary dl div,.sentinel-command dl div,.shield-command dl div { border-color: var(--hg-line) !important; }
.journal-filters button { border-color: var(--hg-line) !important; background: var(--hg-panel-deep) !important; color: var(--hg-muted) !important; }
.journal-filters button.active { border-color: rgba(0,217,180,.55) !important; background: rgba(0,217,180,.08) !important; color: var(--hg-emerald) !important; }
.sentinel-command h2 { color: var(--hg-emerald) !important; }
.shield-command { border-color: rgba(225,184,79,.5) !important; background: radial-gradient(circle at 50% 24%,rgba(225,184,79,.09),transparent 36%),linear-gradient(145deg,#17140b,#05090b) !important; }
.shield-command h2,.shield-command dd { color: var(--hg-gold) !important; }

/* Settings theme selector */
.appearance-panel { position: relative; display: grid; grid-template-columns:minmax(260px,.8fr) minmax(460px,1.2fr); align-items:center; gap:36px; margin-top:10px; min-height:170px; padding:28px 32px !important; overflow:hidden; }
.appearance-panel h2 { margin: 13px 0 7px; font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.appearance-panel p { max-width: 520px; margin: 0; font-size: 10px; line-height: 1.65; }
.theme-selector { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.theme-selector button { display:flex; align-items:center; gap:11px; min-height:78px; padding:12px; border:1px solid var(--hg-line); border-radius:5px; background:var(--hg-panel-deep); color:var(--hg-text); cursor:pointer; text-align:left; transition:.2s ease; }
.theme-selector button:hover { transform:translateY(-2px); border-color:var(--hg-line-bright); }
.theme-selector button.active { border-color:var(--hg-emerald); box-shadow:inset 0 0 22px rgba(0,217,180,.08),0 0 16px rgba(0,217,180,.06); }
.theme-selector span,.theme-selector b,.theme-selector small { display:block; }
.theme-selector b { font-size:10px; letter-spacing:.11em; text-transform:uppercase; }
.theme-selector small { margin-top:5px; color:var(--hg-muted); font-size:10px; line-height:1.35; }
.theme-preview { flex:none; width:39px; height:49px; border:1px solid #526871; border-radius:3px; box-shadow:inset 0 0 0 4px rgba(255,255,255,.025); }
.dark-preview { background:linear-gradient(135deg,#071820 50%,#00b99a 51% 54%,#02080c 55%); }
.light-preview { background:linear-gradient(135deg,#fffef9 50%,#008f79 51% 54%,#dfe8e6 55%); }
.system-preview { background:linear-gradient(135deg,#071820 0 48%,#00b99a 49% 52%,#fffef9 53%); }

/* Shared operator pages */
.paper-shell,.shell,.admin-shell { color:var(--hg-text); }
.paper-header,.topbar { border-color:var(--hg-line) !important; }
.brand-lockup .brand-mark,.topbar .brand > span,.admin-shell > .topbar > div:first-child::before { background-image:url('/app/hedgeron-emblem-premium.webp') !important; background-color:transparent !important; background-size:contain !important; background-repeat:no-repeat !important; background-position:center !important; color:transparent !important; clip-path:none !important; }
.paper-shell .brand-lockup .brand-mark { width:58px !important; height:66px !important; }
.topbar .brand > span { width:50px !important; height:58px !important; border:0 !important; }
.paper-header,.topbar { background:linear-gradient(180deg,rgba(5,17,23,.97),rgba(2,8,12,.97)) !important; box-shadow:0 12px 34px rgba(0,0,0,.26); }
.paper-header nav a,.paper-header nav button,.topbar nav a,.topbar nav button { border-color:var(--hg-line) !important; background:linear-gradient(180deg,#0b2029,#041015) !important; color:var(--hg-silver) !important; }
.summary-metric,.paper-shell .bot-card,.historical-card { background:var(--hg-surface) !important; }
.event-row,.health-row,.trade-row { border-color:var(--hg-line) !important; }
.mode-lock { border-color:rgba(0,217,180,.35) !important; background:rgba(0,217,180,.055) !important; }

/* Landing shares the same materials */
.nav-shell,.landing-shell > header { border-color:var(--hg-line) !important; }
.logo > span { background:url('/app/hedgeron-emblem-premium.webp') center/contain no-repeat !important; color:transparent !important; border-radius:0 !important; }
.hero h1,.section h2,.final-cta h2 { color:var(--hg-text) !important; }
.hero h1 em,.kicker,.tag { color:var(--hg-emerald) !important; }
.button.primary { background:linear-gradient(90deg,#42f3d3,#00b99a) !important; color:#02110f !important; border-color:#54f6dc !important; }
.shield-card .shield-mark { background:url('/app/shield-premium.webp') center/contain no-repeat !important; color:transparent !important; clip-path:none !important; }
.nav-shell .premium-logo-lockup > span,body > footer .premium-logo-lockup > span { flex:none; }
.hero-visual .shield-card { border-radius:10px !important; background:radial-gradient(circle at 50% 28%,rgba(0,217,180,.08),transparent 34%),linear-gradient(145deg,#071820,#02090d) !important; }
.hero-visual .shield-card::before { content:""; position:absolute; inset:5px; border:1px solid rgba(255,255,255,.04); pointer-events:none; }
.product,.audit-card,.price-grid article,.final-cta,.steps article,.float-card { border-radius:7px !important; }

/* Premium light theme: dark brand chrome + executive ivory workspace */
html[data-theme="light"] body:not(.premium-body) { background:radial-gradient(circle at 78% -12%,rgba(0,143,121,.11),transparent 32%),linear-gradient(rgba(27,55,62,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(27,55,62,.035) 1px,transparent 1px),#e4ebea !important; background-size:auto,48px 48px,48px 48px,auto !important; color:var(--hg-text) !important; }
html[data-theme="light"] body:has(.nav-shell) { background:radial-gradient(circle at 76% 8%,rgba(0,143,121,.12),transparent 30%),linear-gradient(rgba(27,55,62,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(27,55,62,.035) 1px,transparent 1px),#e4ebea !important; background-size:auto,48px 48px,48px 48px,auto !important; color:#152c33 !important; }
html[data-theme="light"] body { --bg:#e4ebea; --panel:#f8faf8; --panel2:#edf3f1; --line:#a8b8bb; --text:#152c33; --muted:#60767d; --emerald:#008f79; --silver:#445d65; --amber:#9f761b; --red:#c53d34; }
html[data-theme="light"] .premium-body { background:#d6dfdf !important; }
html[data-theme="light"] .premium-shell { background:#e7eeee !important; box-shadow:0 38px 110px rgba(34,55,61,.28) !important; }
html[data-theme="light"] .premium-sidebar { background:linear-gradient(180deg,#071820,#02090d) !important; }
html[data-theme="light"] .command-header { margin:0 -14px; padding:0 14px; background:linear-gradient(180deg,#071820,#02090d); }
html[data-theme="light"] .selected-engine b,html[data-theme="light"] .command-header { color:#edf2f3; }
html[data-theme="light"] .console-panel::before,html[data-theme="light"] .premium-bot-grid .bot-card::before { border-color:rgba(15,47,56,.055); }
html[data-theme="light"] .console-panel::after { background:linear-gradient(115deg,rgba(255,255,255,.65),transparent 15%,transparent 84%,rgba(0,143,121,.045)); }
html[data-theme="light"] .capital-value { color:#183139 !important; text-shadow:0 1px #fff !important; }
html[data-theme="light"] .shield-console,html[data-theme="light"] .shield-command { color:#392e18 !important; border-color:rgba(159,118,27,.45) !important; background:radial-gradient(circle at 82% 52%,rgba(159,118,27,.09),transparent 35%),linear-gradient(145deg,#fffdf3,#ebe4cf) !important; }
html[data-theme="light"] .theme-selector button { background:#eef3f1; }
html[data-theme="light"] .performance-gridlines,html[data-theme="light"] .chart-wrap,html[data-theme="light"] .chart-stage { background-color:#f7faf8 !important; }
html[data-theme="light"] dialog { background:linear-gradient(145deg,#fffef9,#e9efed) !important; color:#152c33 !important; border-color:#93a8ad !important; }
html[data-theme="light"] input,html[data-theme="light"] select { background:#fffef9 !important; color:#152c33 !important; border-color:#9fb1b5 !important; }
html[data-theme="light"] .paper-header,html[data-theme="light"] .topbar,html[data-theme="light"] .nav-shell { background:linear-gradient(180deg,#071820,#02090d) !important; color:#edf2f3 !important; }
html[data-theme="light"] .hero { background:linear-gradient(180deg,rgba(255,255,251,.54),rgba(228,235,234,.12)) !important; }
html[data-theme="light"] .hero-copy > p,html[data-theme="light"] .section-intro > p,html[data-theme="light"] .shield-copy p,html[data-theme="light"] .product > p,html[data-theme="light"] .footnote { color:#60767d !important; }
html[data-theme="light"] .tag,html[data-theme="light"] .trust-line,html[data-theme="light"] .strip { color:#526b72 !important; }
html[data-theme="light"] .strip,html[data-theme="light"] .shield-section { border-color:#a8b8bb !important; }
html[data-theme="light"] .shield-section { background:radial-gradient(circle at 20% 45%,rgba(0,143,121,.11),transparent 30%),rgba(255,255,251,.34) !important; }
html[data-theme="light"] .paper-header nav a,html[data-theme="light"] .paper-header nav button,html[data-theme="light"] .topbar nav a,html[data-theme="light"] .topbar nav button,html[data-theme="light"] .nav-shell nav a,html[data-theme="light"] .nav-shell .theme-switch,html[data-theme="light"] .nav-shell .button.ghost { color:#c7d2d5 !important; background:#041015 !important; border-color:#29424d !important; }
html[data-theme="light"] .login-panel,html[data-theme="light"] .login-card,html[data-theme="light"] .admin-login { background:linear-gradient(145deg,#fffef9,#e9efed) !important; border-color:#9eb1b5 !important; color:#152c33 !important; }
html[data-theme="light"] .summary-grid,html[data-theme="light"] .historical-notice { background:#edf3f1 !important; border-color:#9eb1b5 !important; }
html[data-theme="light"] .event-row,html[data-theme="light"] .health-row,html[data-theme="light"] .protection-item { border-color:#b9c7c9 !important; }
html[data-theme="light"] .grid-core { background:radial-gradient(circle at 85% 50%,rgba(0,143,121,.12),transparent 34%),#eef4f2 !important; border-color:#a8b8bb !important; }
html[data-theme="light"] .brand-wordmark-image,html[data-theme="light"] .operator-wordmark-image { filter:drop-shadow(0 4px 7px rgba(0,0,0,.5)); }

@media (max-width:1220px) {
  .command-wordmark { min-width:245px; }
  .command-wordmark > img { width:245px; height:37px; }
  .appearance-panel { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .premium-sidebar .premium-brand,.premium-sidebar .side-bottom { display:none !important; }
  .premium-sidebar nav { position:absolute; inset:0; height:63px; }
  .premium-sidebar .nav-link:nth-child(6) { display:none !important; }
  .premium-sidebar .nav-link:nth-child(7) { display:flex !important; }
  .command-wordmark { min-width:180px; }
  .command-wordmark > img { width:180px; height:29px; }
  .appearance-panel { padding:22px 18px !important; }
  .theme-selector { grid-template-columns:1fr; }
  .theme-selector button { min-height:65px; }
  .brand-emblem-image { width:54px; height:60px; }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
}

/* source: canonical-platform.css */
/*
 * HEDGERON canonical platform skin
 * Derived from the locked Desktop Dark Master composition.
 * This file is the only post-Master visual layer for product surfaces.
 */
:root{
  --cp-void:#010406;
  --cp-navy:#031016;
  --cp-panel:#06151b;
  --cp-panel-deep:#02090d;
  --cp-titanium:#dce4e6;
  --cp-silver:#b6c2c6;
  --cp-muted:#8a9ca2;
  --cp-line:#21343b;
  --cp-line-soft:rgba(111,148,155,.2);
  --cp-emerald:#22e2c0;
  --cp-emerald-hot:#69ffe6;
  --cp-gold:#e3b84a;
  --cp-gold-hot:#ffe29a;
  --cp-red:#ff675d;
  --cp-ui:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  --cp-display:Bahnschrift,"Arial Narrow","Segoe UI",sans-serif;
  --cp-shadow:0 24px 64px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.035),inset 0 -1px rgba(0,0,0,.62);
  --cp-panel-bg:linear-gradient(145deg,rgba(7,23,30,.94),rgba(1,8,12,.985));
}

html{min-width:320px;background:var(--cp-void)}
body[data-surface],body:has(>.admin-shell){
  --bg:var(--cp-void);--bg2:var(--cp-navy);--panel:var(--cp-panel);--panel2:#081b22;
  --panel-solid:var(--cp-panel-deep);--line:var(--cp-line);--text:var(--cp-titanium);
  --muted:var(--cp-muted);--silver:var(--cp-silver);--emerald:var(--cp-emerald);
  --amber:var(--cp-gold);--red:var(--cp-red);--mint:var(--cp-emerald);--mint2:#0aa98f;
  margin:0;min-height:100vh;color:var(--cp-titanium);font-family:var(--cp-ui);
  font-variant-numeric:tabular-nums;background:
    radial-gradient(900px 620px at 65% -10%,rgba(21,91,91,.08),transparent 68%),
    radial-gradient(720px 600px at -10% 90%,rgba(35,62,75,.09),transparent 70%),
    linear-gradient(145deg,#010406,#061117 48%,#010406)!important;
  overflow-x:hidden;letter-spacing:.015em!important;
}
body[data-surface]:before,body:has(>.admin-shell):before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.095;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light;
}
body[data-surface] *,body:has(>.admin-shell) *{box-sizing:border-box}
.admin-shell [hidden]{display:none!important}
body[data-surface] button,body[data-surface] input,body[data-surface] select,
body:has(>.admin-shell) button,body:has(>.admin-shell) input,body:has(>.admin-shell) select{font:inherit}
body[data-surface] :is(button,a,input,select,label),body:has(>.admin-shell) :is(button,a,input,select,label){font-size:max(11.5px,1em)}
body[data-surface] button,body[data-surface] a,body:has(>.admin-shell) button,body:has(>.admin-shell) a{
  -webkit-tap-highlight-color:transparent;
}
body[data-surface] :focus-visible,body:has(>.admin-shell) :focus-visible{
  outline:2px solid var(--cp-emerald-hot)!important;outline-offset:3px!important;
}

/* Shared institutional surfaces */
body[data-surface] :is(.console-panel,.panel,.bot-card,.historical-card,.chart-panel,.control-deck,.login-card,.login-panel),
.admin-shell :is(.admin-login,.section-block,.metric-card){
  border:1px solid rgba(107,145,151,.3)!important;border-radius:2px!important;
  background:var(--cp-panel-bg)!important;box-shadow:var(--cp-shadow)!important;backdrop-filter:none!important;
}
body[data-surface] :is(.console-panel,.panel,.bot-card,.historical-card,.chart-panel,.control-deck,.login-card,.login-panel):before,
.admin-shell :is(.admin-login,.section-block,.metric-card):before{
  background:linear-gradient(115deg,rgba(255,255,255,.028),transparent 18% 78%,rgba(34,226,192,.018))!important;
}
body[data-surface] :is(.console-panel,.panel,.bot-card,.historical-card,.chart-panel,.control-deck,.login-card,.login-panel):after,
.admin-shell :is(.admin-login,.section-block,.metric-card):after{display:none!important}
body[data-surface] :is(.console-label,.eyebrow,.kicker),.admin-shell .eyebrow{
  color:#c9d4d6!important;font-family:var(--cp-display);font-size:11.5px!important;
  font-weight:650!important;letter-spacing:.13em!important;text-transform:uppercase;
}
body[data-surface] :is(p,small,dt,label),.admin-shell :is(p,small,dt,label){color:var(--cp-muted)}
body[data-surface] :is(input,select),.admin-shell :is(input,select){
  min-height:44px;border:1px solid rgba(107,145,151,.34)!important;border-radius:2px!important;
  background:#02090d!important;color:var(--cp-titanium)!important;padding:11px 13px!important;font-size:12px!important;
  box-shadow:inset 0 1px 10px rgba(0,0,0,.38)!important;
}
body[data-surface] :is(input,select):focus,.admin-shell :is(input,select):focus{
  border-color:rgba(34,226,192,.72)!important;box-shadow:0 0 0 3px rgba(34,226,192,.08)!important;
}
body[data-surface] :is(.primary,.button.primary,.control-deck>button,.login-card button,.login-panel button),
.admin-shell :is(.primary,.admin-login button){
  min-height:42px;border:1px solid rgba(55,224,195,.6)!important;border-radius:2px!important;
  background:linear-gradient(180deg,rgba(35,226,192,.18),rgba(7,77,67,.2))!important;
  color:var(--cp-emerald-hot)!important;box-shadow:inset 0 1px rgba(187,255,244,.11),0 9px 24px rgba(0,0,0,.3)!important;
  font:650 11.5px var(--cp-display)!important;letter-spacing:.1em!important;text-transform:uppercase;
}
body[data-surface] :is(.primary,.button.primary,.control-deck>button,.login-card button,.login-panel button):hover,
.admin-shell :is(.primary,.admin-login button):hover{border-color:var(--cp-emerald-hot)!important;background:rgba(34,226,192,.2)!important}
body[data-surface] :is(.secondary,.button.ghost,.theme-switch),.admin-shell :is(.secondary,.admin-link){
  min-height:38px;border:1px solid rgba(107,145,151,.34)!important;border-radius:2px!important;
  background:rgba(3,16,22,.78)!important;color:var(--cp-silver)!important;
  font:600 11.5px var(--cp-display)!important;letter-spacing:.08em!important;
}

/* Cabinet — preserve the locked Master composition, remove legacy gloss. */
body[data-surface="cabinet"] .premium-shell{
  position:relative;z-index:1;grid-template-columns:188px minmax(0,1fr)!important;
  width:min(1680px,calc(100% - 22px))!important;min-height:calc(100vh - 22px)!important;margin:11px auto!important;
  border:1px solid rgba(119,153,160,.34)!important;border-radius:24px!important;overflow:hidden!important;
  background:linear-gradient(135deg,rgba(5,18,24,.975),rgba(0,5,8,.992))!important;
  box-shadow:0 32px 96px rgba(0,0,0,.74),inset 0 1px rgba(255,255,255,.05)!important;
}
body[data-surface="cabinet"] .premium-shell:after{display:none!important}
body[data-surface="cabinet"] .premium-sidebar{
  min-height:calc(100vh - 22px)!important;padding:0 0 18px!important;border-right:1px solid rgba(88,125,134,.14)!important;
  background:linear-gradient(180deg,rgba(4,18,25,.99),rgba(1,10,14,.98) 72%,rgba(1,7,10,.99))!important;
  box-shadow:14px 0 36px rgba(0,0,0,.16)!important;
}
body[data-surface="cabinet"] .premium-brand{
  height:186px!important;gap:0!important;border-bottom:1px solid rgba(89,126,133,.12)!important;
  background:radial-gradient(circle at 50% 38%,rgba(26,205,176,.055),transparent 44%)!important;
}
body[data-surface="cabinet"] .brand-emblem-image{
  display:block!important;width:102px!important;height:112px!important;object-fit:contain!important;
  mix-blend-mode:normal!important;filter:drop-shadow(0 10px 12px #000) drop-shadow(0 0 10px rgba(34,226,192,.08))!important;
}
body[data-surface="cabinet"] .premium-brand .brand-mark{display:none!important}
body[data-surface="cabinet"] .brand-name{
  margin-top:-2px!important;padding-left:.34em;color:#dce4e6!important;font:650 12px/1 var(--cp-display)!important;
  letter-spacing:.34em!important;text-shadow:0 2px 5px #000!important;
}
body[data-surface="cabinet"] .premium-sidebar nav{margin:0!important;padding:18px 0!important;gap:0!important}
body[data-surface="cabinet"] .premium-sidebar .nav-link{
  min-height:57px!important;padding:0 23px!important;gap:14px!important;color:#9aa9ae!important;
  border-left:0!important;font-size:11.5px!important;font-weight:650!important;letter-spacing:.08em!important;
}
body[data-surface="cabinet"] .premium-sidebar .nav-link:hover,
body[data-surface="cabinet"] .premium-sidebar .nav-link.active{
  color:var(--cp-emerald-hot)!important;background:linear-gradient(90deg,rgba(25,226,191,.11),transparent 85%)!important;
  box-shadow:none!important;
}
body[data-surface="cabinet"] .premium-sidebar .nav-link.active:after{
  content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;background:var(--cp-emerald);box-shadow:0 0 16px var(--cp-emerald)
}
body[data-surface="cabinet"] .premium-user{border-color:rgba(108,141,147,.18)!important}
body[data-surface="cabinet"] .command-main{padding:0 14px 14px!important}
body[data-surface="cabinet"] .command-header{
  height:74px!important;grid-template-columns:minmax(250px,1.15fr) minmax(220px,.85fr) minmax(250px,1fr) 102px auto!important;
  border-bottom:1px solid rgba(91,129,137,.24)!important;background:linear-gradient(180deg,rgba(4,15,20,.97),rgba(1,9,13,.98))!important;
  box-shadow:0 12px 34px rgba(0,0,0,.25)!important;
}
body[data-surface="cabinet"] .command-wordmark{height:100%!important;padding:0 24px 0 14px!important;border-right:1px solid rgba(91,129,137,.18)!important}
body[data-surface="cabinet"] .command-wordmark img{display:block!important;width:286px!important;max-width:90%!important;height:auto!important;filter:drop-shadow(0 5px 8px #000)!important}
body[data-surface="cabinet"] .command-wordmark small{left:14px!important;bottom:8px!important;font-size:10px!important;color:var(--cp-muted)!important}
body[data-surface="cabinet"] .selected-engine{height:100%;align-content:center;border-left:0!important;border-right:1px solid rgba(91,129,137,.18)!important;padding:0 18px!important}
body[data-surface="cabinet"] .selected-engine small{font-size:10px!important}.selected-engine b{font-size:12px!important}.selected-engine em{font-size:11.5px!important}
body[data-surface="cabinet"] .running-lock{
  height:52%;margin:0 10px;border:0!important;border-right:1px solid rgba(91,129,137,.18)!important;border-radius:0!important;
  background:transparent!important;padding:0 18px!important;
}
body[data-surface="cabinet"] .running-lock b,body[data-surface="cabinet"] .running-lock span{font-size:11.5px!important}
body[data-surface="cabinet"] .last-sync small,body[data-surface="cabinet"] .last-sync b{font-size:11.5px!important}
body[data-surface="cabinet"] .command-header>.secondary{margin-right:4px!important}
body[data-surface="cabinet"] .command-board{gap:12px!important;padding-top:12px!important;height:calc(100vh - 110px)!important;min-height:750px!important}
body[data-surface="cabinet"] .console-panel{padding:18px 20px!important;overflow:hidden!important}
body[data-surface="cabinet"] .console-panel:after{display:none!important}
body[data-surface="cabinet"] .capital-value{color:#f0f4f5!important;text-shadow:0 2px #000,0 10px 25px rgba(0,0,0,.55)!important}
body[data-surface="cabinet"] .capital-return b,body[data-surface="cabinet"] .financial-console b{color:var(--cp-emerald)!important}
body[data-surface="cabinet"] .sentinel-console{background:linear-gradient(145deg,rgba(6,22,28,.95),rgba(1,8,12,.99))!important}
body[data-surface="cabinet"] .sentinel-console h2{color:#e9eef0!important;font-family:var(--cp-display)!important}
body[data-surface="cabinet"] .sentinel-radar{border:0!important;box-shadow:none!important;background:transparent!important}
body[data-surface="cabinet"] .sentinel-radar:before,body[data-surface="cabinet"] .sentinel-radar:after,
body[data-surface="cabinet"] .sentinel-radar span,body[data-surface="cabinet"] .sentinel-radar i{display:none!important}
body[data-surface="cabinet"] .sentinel-radar img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 0 10px rgba(34,226,192,.09))!important}
body[data-surface="cabinet"] .shield-console{
  border-color:rgba(214,167,55,.34)!important;background:linear-gradient(135deg,rgba(24,21,12,.92),rgba(5,10,11,.98))!important;
  box-shadow:var(--cp-shadow)!important;
}
body[data-surface="cabinet"] .shield-hologram{border:0!important;box-shadow:none!important;background:transparent!important}
body[data-surface="cabinet"] .shield-hologram:before,body[data-surface="cabinet"] .shield-hologram:after,
body[data-surface="cabinet"] .shield-hologram span{display:none!important}
body[data-surface="cabinet"] .shield-hologram img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 0 13px rgba(227,184,74,.12))!important}
body[data-surface="cabinet"] .chart-grid path{stroke:rgba(59,91,99,.35)!important}
body[data-surface="cabinet"] .portfolio-line{stroke:var(--cp-emerald)!important;filter:none!important}
body[data-surface="cabinet"] .recent-console .trade-row{font-size:11.5px!important}
body[data-surface="cabinet"] .view-heading{border-color:var(--cp-line)!important}
body[data-surface="cabinet"] .view-heading h1{color:#edf2f3!important;font-family:var(--cp-display)!important;font-size:30px!important;font-weight:500!important;letter-spacing:.055em!important;text-shadow:none!important}
body[data-surface="cabinet"] .view-heading p{font-size:12px!important}.view-heading .eyebrow{font-size:11.5px!important}
body[data-surface="cabinet"] .view-kpi-strip{border-radius:2px!important;background:#041015!important}
body[data-surface="cabinet"] .view-kpi-strip span,body[data-surface="cabinet"] .view-kpi-strip b{font-size:11.5px!important}
body[data-surface="cabinet"] :is(.settings-card,.appearance-panel,.performance-chart,.performance-summary,.sentinel-command,.shield-command){border-radius:2px!important}
body[data-surface="cabinet"] .theme-selector button{border-radius:2px!important;background:#041015!important;border-color:rgba(107,145,151,.3)!important;color:var(--cp-silver)!important}
body[data-surface="cabinet"] .theme-selector button[aria-pressed="true"]{border-color:var(--cp-emerald)!important;box-shadow:inset 3px 0 var(--cp-emerald)!important}

/* Replay, Paper and Safety Center share the same operator frame. */
body[data-surface="replay"] .shell,body[data-surface="paper"] .paper-shell,.admin-shell{
  position:relative;z-index:1;width:min(1680px,calc(100% - 22px))!important;max-width:none!important;
  min-height:calc(100vh - 22px)!important;margin:11px auto!important;padding:0 24px 42px!important;
  border:1px solid rgba(119,153,160,.34)!important;border-radius:24px!important;overflow:hidden!important;
  background:linear-gradient(135deg,rgba(5,18,24,.975),rgba(0,5,8,.992))!important;
  box-shadow:0 32px 96px rgba(0,0,0,.74),inset 0 1px rgba(255,255,255,.05)!important;
}
body[data-surface="replay"] .shell:after,body[data-surface="paper"] .paper-shell:after,.admin-shell:after{display:none!important}
body[data-surface="replay"] .topbar,body[data-surface="paper"] .paper-header,.admin-shell>.topbar{
  position:relative;z-index:3;height:84px!important;min-height:84px!important;margin:0!important;
  display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:18px!important;
  border-bottom:1px solid rgba(91,129,137,.24)!important;background:linear-gradient(180deg,rgba(4,15,20,.6),rgba(1,9,13,.15))!important;
}
body[data-surface="replay"] .topbar:after,body[data-surface="paper"] .paper-header:after,.admin-shell>.topbar:after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,var(--cp-emerald),transparent 28%,transparent 78%,#49616a);opacity:.25;
}
body[data-surface="replay"] .brand,body[data-surface="paper"] .brand-lockup,.admin-shell .admin-brand-lockup{
  height:100%;display:flex!important;align-items:center!important;gap:15px!important;min-width:0;
}
body[data-surface="replay"] .brand>span,body[data-surface="paper"] .brand-mark{display:block!important;width:54px!important;height:64px!important;flex:none!important;border:0!important;border-radius:0!important;background:url('/app/hedgeron-emblem-premium.webp') center/contain no-repeat!important;filter:drop-shadow(0 8px 10px #000)!important}
body[data-surface="replay"] .operator-wordmark-image,body[data-surface="paper"] .operator-wordmark-image,.admin-shell .operator-wordmark-image{
  display:block!important;width:min(270px,28vw)!important;height:auto!important;filter:drop-shadow(0 5px 8px #000)!important;
}
body[data-surface="replay"] .brand small,body[data-surface="paper"] .brand-lockup strong{
  display:block!important;margin-top:4px!important;border:0!important;padding:0!important;color:var(--cp-muted)!important;font-size:10px!important;letter-spacing:.19em!important;
}
body[data-surface="replay"] .safety,body[data-surface="paper"] .mode-lock{
  justify-self:center!important;display:flex!important;align-items:center!important;gap:10px!important;
  border:1px solid rgba(54,128,117,.42)!important;border-radius:2px!important;background:rgba(5,27,24,.36)!important;
  padding:10px 14px!important;box-shadow:none!important;
}
body[data-surface="replay"] .safety :is(strong,span),body[data-surface="paper"] .mode-lock :is(b,span){font-size:11.5px!important;letter-spacing:.09em!important}
body[data-surface="replay"] .safety i,body[data-surface="paper"] .mode-lock i{width:7px!important;height:7px!important;background:var(--cp-emerald)!important;box-shadow:0 0 12px rgba(34,226,192,.7)!important}
body[data-surface="replay"] .topbar nav,body[data-surface="paper"] .paper-header nav{justify-self:end!important;display:flex!important;gap:7px!important}
body[data-surface="replay"] .topbar nav :is(a,button),body[data-surface="paper"] .paper-header nav :is(a,button){
  min-height:38px!important;padding:9px 12px!important;border:1px solid rgba(107,145,151,.3)!important;border-radius:2px!important;
  background:rgba(3,16,22,.66)!important;color:var(--cp-silver)!important;font-size:11.5px!important;
}
body[data-surface="replay"] .login-card,body[data-surface="paper"] .login-panel,.admin-shell .admin-login{
  max-width:1080px!important;min-height:440px!important;margin:9vh auto 0!important;padding:54px!important;
  display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:64px!important;
  background:radial-gradient(circle at 18% 45%,rgba(34,226,192,.045),transparent 28%),var(--cp-panel-bg)!important;
}
body[data-surface="replay"] .login-card h1,body[data-surface="paper"] .login-panel h1,.admin-shell .admin-login h2{
  margin:14px 0!important;color:#edf2f3!important;font:480 42px/1.08 var(--cp-display)!important;letter-spacing:.01em!important;text-shadow:none!important;
}
body[data-surface="replay"] .login-card h1 em{color:var(--cp-silver)!important;font-family:var(--cp-display)!important}
body[data-surface="replay"] .login-card p,body[data-surface="paper"] .login-panel p,.admin-shell .admin-login p{font-size:12px!important;line-height:1.7!important}
body[data-surface="replay"] .login-card form,body[data-surface="paper"] .login-panel form,.admin-shell .admin-login form{display:grid!important;gap:12px!important;align-content:center!important}
body[data-surface="replay"] .hero-row{margin:34px 0 24px!important}
body[data-surface="replay"] .hero-row h1{font:500 38px/1 var(--cp-display)!important;letter-spacing:.03em!important;color:#edf2f3!important;text-shadow:none!important}
body[data-surface="replay"] .hero-row p{font-size:12px!important}
body[data-surface="replay"] .dataset-badge{border-left-color:var(--cp-line)!important}
body[data-surface="replay"] .dataset-badge :is(span,strong,small){font-size:11.5px!important}
body[data-surface="replay"] .control-deck{grid-template-columns:1.15fr .9fr .9fr .9fr 1fr!important;padding:18px!important;gap:10px!important}
body[data-surface="replay"] .metrics,body[data-surface="paper"] .summary-grid{
  border:1px solid rgba(107,145,151,.3)!important;border-radius:2px!important;background:#041015!important;box-shadow:var(--cp-shadow)!important;
}
body[data-surface="replay"] .metric,body[data-surface="paper"] .summary-metric{
  min-height:100px!important;padding:16px!important;border-color:rgba(91,129,137,.2)!important;background:linear-gradient(180deg,rgba(8,26,34,.85),rgba(4,16,21,.9))!important;
}
body[data-surface="replay"] .metric :is(span,strong),body[data-surface="paper"] .summary-metric :is(span,strong){font-size:11.5px!important}
body[data-surface="replay"] .chart-stage,body[data-surface="paper"] .chart-wrap{
  border:1px solid rgba(91,129,137,.16)!important;background:
    linear-gradient(rgba(57,90,97,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(57,90,97,.1) 1px,transparent 1px),#031015!important;
  background-size:58px 58px!important;
}
body[data-surface="paper"] .view-tabs{border-bottom:1px solid rgba(91,129,137,.2)!important;padding-bottom:9px!important}
body[data-surface="paper"] :is(.view-tabs button,.scope-tabs button){border-radius:2px!important;font-size:11.5px!important}
body[data-surface="paper"] :is(.view-tabs button.active,.scope-tabs button.active){border:1px solid rgba(34,226,192,.4)!important;background:rgba(6,27,25,.7)!important;color:var(--cp-emerald)!important}
body[data-surface="paper"] .bot-card{padding:18px!important}
body[data-surface="paper"] .bot-card:hover{border-color:rgba(107,145,151,.48)!important;transform:none!important}
body[data-surface="paper"] .bot-title :is(strong,span),body[data-surface="paper"] .state,
body[data-surface="paper"] .bot-values :is(span,strong),body[data-surface="paper"] .shield-line{font-size:11.5px!important}
body[data-surface="paper"] .coin{border-radius:50%!important;border:1px solid rgba(56,114,120,.45)!important;background:#082128!important;color:var(--cp-emerald)!important}
body[data-surface="paper"] .event-row,body[data-surface="paper"] .health-row{font-size:11.5px!important;border-color:rgba(91,129,137,.18)!important}
body[data-surface="paper"] .grid-core{border-radius:2px!important;background:#031015!important}

/* Safety Center */
.admin-shell>.topbar{grid-template-columns:1fr auto!important}
.admin-shell .admin-brand-lockup{display:flex!important}.admin-shell .admin-emblem-image{display:block!important;width:58px!important;height:68px!important;object-fit:contain!important;filter:drop-shadow(0 8px 10px #000)!important}
.admin-shell .admin-brand-lockup>div{display:grid!important;align-content:center!important}.admin-shell .admin-brand-lockup h1{margin:5px 0 0!important;color:var(--cp-muted)!important;font:600 11.5px var(--cp-display)!important;letter-spacing:.17em!important;text-transform:uppercase!important}
.admin-shell .top-actions{display:flex!important;justify-content:flex-end!important;gap:7px!important}.admin-shell .top-actions :is(a,button){padding:9px 12px!important;font-size:11.5px!important}
.admin-shell .admin-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important}.admin-shell .metric-card{min-height:126px!important;padding:20px!important}.admin-shell .metric-card :is(small,strong,span){font-size:11.5px!important}.admin-shell .metric-card strong{font-size:24px!important;color:#edf2f3!important}
.admin-shell .metric-icon{border-radius:50%!important;background:#082128!important;color:var(--cp-emerald)!important}
.admin-shell .section-block{margin-top:12px!important;padding:24px!important}.admin-shell .section-block h2{color:#edf2f3!important;font:500 21px var(--cp-display)!important;letter-spacing:.02em!important;text-shadow:none!important}
.admin-shell .section-block p,.admin-shell .alert-row{font-size:11.5px!important}.admin-shell .plan-strip{border-color:rgba(211,166,54,.3)!important;background:linear-gradient(135deg,rgba(24,21,12,.82),rgba(5,10,11,.98))!important}.admin-shell .alert-row{border-radius:2px!important;background:#041015!important}

/* Landing — editorial luxury, not a generic neon SaaS template. */
body[data-surface="landing"] .nav-shell{
  position:relative;z-index:5;width:min(1440px,calc(100% - 36px))!important;max-width:1440px!important;height:92px!important;margin:14px auto 0!important;padding:0 28px!important;
  border:1px solid rgba(119,153,160,.28)!important;border-radius:20px 20px 0 0!important;background:linear-gradient(180deg,rgba(4,16,21,.96),rgba(1,8,12,.97))!important;
  box-shadow:0 25px 70px rgba(0,0,0,.42)!important;
}
body[data-surface="landing"] .logo{min-width:280px!important}.brand-wordmark-image{display:block!important;width:280px!important;max-width:32vw!important;height:auto!important;filter:drop-shadow(0 5px 8px #000)!important}
body[data-surface="landing"] .logo>span{display:none!important}
body[data-surface="landing"] .nav-shell nav{margin-left:auto!important;gap:32px!important}.nav-shell nav a{color:var(--cp-muted)!important;font:600 11.5px var(--cp-display)!important;letter-spacing:.08em!important;text-transform:uppercase}.nav-shell nav a:hover{color:var(--cp-emerald-hot)!important}
body[data-surface="landing"] .theme-switch{padding:9px 12px!important}.theme-switch span{color:var(--cp-emerald)!important}
body[data-surface="landing"] main{position:relative;z-index:1;overflow:hidden!important}
body[data-surface="landing"] .hero{
  position:relative;max-width:1440px!important;min-height:690px!important;margin:0 auto!important;padding:92px 72px 82px!important;
  grid-template-columns:1.03fr .97fr!important;gap:70px!important;border:1px solid rgba(119,153,160,.22)!important;border-top:0!important;
  background:radial-gradient(560px 430px at 82% 44%,rgba(34,226,192,.055),transparent 70%),linear-gradient(135deg,rgba(5,18,24,.91),rgba(0,5,8,.97))!important;
}
body[data-surface="landing"] .hero:before{content:"";position:absolute;left:42px;right:42px;top:0;height:1px;background:linear-gradient(90deg,var(--cp-emerald),transparent 28%,transparent 72%,#5c737a);opacity:.28}
body[data-surface="landing"] .tag{border-radius:2px!important;border-color:rgba(72,137,130,.38)!important;background:rgba(5,27,24,.3)!important;color:#a8b7ba!important;font-size:11.5px!important}
body[data-surface="landing"] .hero h1{
  max-width:760px;margin:28px 0!important;color:#edf2f3!important;font:400 clamp(50px,5.1vw,76px)/.98 var(--cp-display)!important;
  letter-spacing:-.025em!important;text-shadow:0 2px #000,0 14px 34px rgba(0,0,0,.48)!important;
  background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;
  -webkit-text-fill-color:#edf2f3!important;-webkit-text-stroke:0!important;filter:none!important;
}
body[data-surface="landing"] .hero h1 em{color:var(--cp-emerald)!important;font:inherit!important;-webkit-text-fill-color:var(--cp-emerald)!important;-webkit-text-stroke:0!important}
body[data-surface="landing"] .hero-copy>p{max-width:650px!important;color:var(--cp-muted)!important;font-size:15px!important;line-height:1.75!important}
body[data-surface="landing"] .hero-actions{gap:10px!important;margin:34px 0!important}.hero-actions .button{min-height:46px!important;padding:12px 18px!important}
body[data-surface="landing"] .trust-line{color:#84979c!important;font-size:11.5px!important}.trust-line span:before{color:var(--cp-emerald)!important}
body[data-surface="landing"] .hero-visual{height:500px!important}.orb{border-color:rgba(34,226,192,.1)!important}.orb-one{width:430px!important;height:430px!important}.orb-two{width:550px!important;height:550px!important}
body[data-surface="landing"] .shield-card{
  width:330px!important;min-height:390px!important;padding:26px!important;border:1px solid rgba(211,166,54,.34)!important;border-radius:2px!important;
  display:grid!important;grid-template-rows:auto 174px auto auto auto!important;align-items:center!important;
  background:linear-gradient(135deg,rgba(24,21,12,.93),rgba(5,10,11,.99))!important;box-shadow:0 30px 90px #0009,inset 0 1px rgba(255,255,255,.04)!important;
}
body[data-surface="landing"] .shield-card:before{content:"";grid-row:2;display:block!important;width:150px;height:164px;margin:4px auto 0!important;background:url('/app/shield-premium.webp') center/contain no-repeat;filter:drop-shadow(0 0 15px rgba(227,184,74,.12))}
body[data-surface="landing"] .shield-mark{display:none!important}.shield-top{font-size:11.5px!important}.shield-top b{color:var(--cp-gold)!important}
body[data-surface="landing"] .shield-top{position:static!important;grid-row:1!important;align-self:stretch!important;z-index:2!important}
body[data-surface="landing"] .shield-card>strong{color:#e5d6a7!important;font:550 20px var(--cp-display)!important;letter-spacing:.04em!important}.shield-card>small,.signal{font-size:11.5px!important}
body[data-surface="landing"] .shield-card>strong{grid-row:3!important}body[data-surface="landing"] .shield-card>small{grid-row:4!important;margin:9px 0 14px!important}.shield-card .signal{grid-row:5!important}
body[data-surface="landing"] .float-card{border-radius:2px!important;border-color:rgba(107,145,151,.3)!important;background:rgba(3,15,20,.94)!important;box-shadow:0 18px 45px #0008!important}.float-card :is(span,small){font-size:11.5px!important}.float-card b{color:var(--cp-emerald)!important}
body[data-surface="landing"] .strip{max-width:1380px!important;border-color:rgba(91,129,137,.2)!important}.strip>div{padding:28px 34px!important}.strip :is(span,small){font-size:11.5px!important}
body[data-surface="landing"] .section{max-width:1320px!important;padding:112px 34px!important}.section h2,.final-cta h2{color:#edf2f3!important;font:450 42px/1.08 var(--cp-display)!important;letter-spacing:-.015em!important;text-shadow:none!important}.section-intro>p,.shield-copy p{font-size:12px!important}
body[data-surface="landing"] .product-grid,body[data-surface="landing"] .price-grid{gap:12px!important}
body[data-surface="landing"] :is(.product,.price-grid article,.steps article,.audit-card,.final-cta){
  border:1px solid rgba(107,145,151,.28)!important;border-radius:2px!important;background:var(--cp-panel-bg)!important;box-shadow:var(--cp-shadow)!important;
}
body[data-surface="landing"] .product{padding:25px!important}.product.featured{border-color:rgba(34,226,192,.48)!important}.product.featured:before{background:var(--cp-emerald)!important}.product-head>i{color:#50676e!important}.product-head small,.product>p,.product dt,.capital span,.footnote{font-size:11.5px!important}.product h3{font:600 18px var(--cp-display)!important}.big-metric strong{color:var(--cp-emerald)!important;font-family:var(--cp-display)!important}.big-metric span{font-size:11.5px!important}.capital{border-radius:2px!important;background:#031015!important}
body[data-surface="landing"] .shield-section{background:radial-gradient(circle at 20% 45%,rgba(22,72,67,.25),transparent 30%)!important;border-color:rgba(91,129,137,.2)!important}.steps article{padding:20px!important}.steps :is(h3,p,span){font-size:11.5px!important}.audit-card{padding:52px!important}.audit-card:after{opacity:.4!important}.audit-card>p,.audit-numbers span,.gate{font-size:11.5px!important}.final-cta{border-radius:2px!important;background:linear-gradient(110deg,rgba(10,39,35,.78),rgba(2,11,15,.96))!important}
body[data-surface="landing"]>footer{border-color:rgba(91,129,137,.2)!important;font-size:11.5px!important}

/* Executive Ivory — same hierarchy and material language, not a separate product. */
html[data-theme="light"]{
  --cp-void:#eef1ef;--cp-navy:#e3e9e7;--cp-panel:#f8faf9;--cp-panel-deep:#e7ecea;
  --cp-titanium:#142127;--cp-silver:#3e5057;--cp-muted:#62747a;--cp-line:#aebdb9;
  --cp-line-soft:rgba(52,80,83,.16);--cp-emerald:#087d6c;--cp-emerald-hot:#006a5a;
  --cp-gold:#936f13;--cp-gold-hot:#6c4d00;--cp-red:#b23831;
  --cp-shadow:0 22px 55px rgba(36,54,54,.12),inset 0 1px rgba(255,255,255,.92),inset 0 -1px rgba(51,70,69,.08);
  --cp-panel-bg:linear-gradient(145deg,rgba(255,255,255,.96),rgba(231,237,235,.98));
}
html[data-theme="light"] body[data-surface],html[data-theme="light"] body:has(>.admin-shell){
  background:radial-gradient(900px 620px at 65% -10%,rgba(18,126,112,.08),transparent 68%),linear-gradient(145deg,#f8faf9,#e7ecea 52%,#f4f6f5)!important;
  color:var(--cp-titanium)!important;
}
html[data-theme="light"] body[data-surface]:before,html[data-theme="light"] body:has(>.admin-shell):before{opacity:.035;mix-blend-mode:multiply}
html[data-theme="light"] body[data-surface] :is(.console-label,.eyebrow,.kicker),html[data-theme="light"] .admin-shell .eyebrow{color:#394c52!important}
html[data-theme="light"] body[data-surface] :is(input,select),html[data-theme="light"] .admin-shell :is(input,select){background:#fbfcfb!important;color:#142127!important}
html[data-theme="light"] body[data-surface="cabinet"] .premium-shell,
html[data-theme="light"] body[data-surface="replay"] .shell,
html[data-theme="light"] body[data-surface="paper"] .paper-shell,
html[data-theme="light"] .admin-shell{
  border-color:rgba(63,88,91,.3)!important;background:linear-gradient(135deg,rgba(249,251,250,.98),rgba(226,233,231,.99))!important;box-shadow:0 28px 85px rgba(29,47,47,.17),inset 0 1px #fff!important;
}
html[data-theme="light"] body[data-surface="cabinet"] .premium-sidebar{
  background:linear-gradient(180deg,#10272d,#07171c 72%,#061217)!important;border-right-color:rgba(16,45,50,.35)!important;
}
html[data-theme="light"] body[data-surface="cabinet"] .command-header,
html[data-theme="light"] body[data-surface="replay"] .topbar,
html[data-theme="light"] body[data-surface="paper"] .paper-header,
html[data-theme="light"] .admin-shell>.topbar{
  background:linear-gradient(180deg,#10272d,#07171c)!important;color:#e9eff0!important;border-bottom-color:#2f4d53!important;
}
html[data-theme="light"] body[data-surface="cabinet"] .command-header :is(b,small),
html[data-theme="light"] body[data-surface="replay"] .topbar :is(strong,span,small,a,button),
html[data-theme="light"] body[data-surface="paper"] .paper-header :is(strong,b,span,a,button),
html[data-theme="light"] .admin-shell>.topbar :is(h1,a,button){color:#dbe5e6!important}
html[data-theme="light"] body[data-surface="cabinet"] .console-panel,
html[data-theme="light"] body[data-surface="replay"] :is(.panel,.chart-panel,.control-deck,.login-card),
html[data-theme="light"] body[data-surface="paper"] :is(.panel,.bot-card,.historical-card,.login-panel),
html[data-theme="light"] .admin-shell :is(.admin-login,.section-block,.metric-card){color:#142127!important}
html[data-theme="light"] body[data-surface="cabinet"] .console-panel :is(p,span,dt,small){color:#52666c!important;opacity:1!important}
html[data-theme="light"] body[data-surface="cabinet"] .console-panel :is(strong,b,dd){color:#142127!important;opacity:1!important}
html[data-theme="light"] body[data-surface="cabinet"] .capital-value{
  color:#142127!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;
  -webkit-text-fill-color:#142127!important;-webkit-text-stroke:0!important;text-shadow:none!important;filter:none!important;
}
html[data-theme="light"] body[data-surface="cabinet"] .capital-return :is(b,span),
html[data-theme="light"] body[data-surface="cabinet"] .financial-console b,
html[data-theme="light"] body[data-surface="cabinet"] .sentinel-console dd,
html[data-theme="light"] body[data-surface="cabinet"] .position-console h2,
html[data-theme="light"] body[data-surface="cabinet"] .position-console dl div:last-child dd{color:var(--cp-emerald)!important}
html[data-theme="light"] body[data-surface="cabinet"] .sentinel-console{background:linear-gradient(145deg,#f8fbfa,#e5eeeb)!important}
html[data-theme="light"] body[data-surface="cabinet"] .sentinel-console h2{color:#142127!important}
html[data-theme="light"] body[data-surface="cabinet"] .sentinel-radar img{filter:drop-shadow(0 0 8px rgba(8,125,108,.12)) contrast(1.08)!important}
html[data-theme="light"] body[data-surface="cabinet"] .shield-console h2,
html[data-theme="light"] body[data-surface="cabinet"] .shield-console :is(dt,dd){color:var(--cp-gold)!important}
html[data-theme="light"] body[data-surface="cabinet"] .view-heading h1,
html[data-theme="light"] body[data-surface="replay"] :is(.hero-row h1,.login-card h1),
html[data-theme="light"] body[data-surface="paper"] .login-panel h1,
html[data-theme="light"] .admin-shell :is(.admin-login h2,.section-block h2){color:#142127!important}
html[data-theme="light"] body[data-surface="cabinet"] .shield-console,
html[data-theme="light"] body[data-surface="landing"] .shield-card,
html[data-theme="light"] .admin-shell .plan-strip{background:linear-gradient(135deg,#fffdf5,#eee7d5)!important}
html[data-theme="light"] body[data-surface="landing"] .nav-shell{background:linear-gradient(180deg,#10272d,#07171c)!important}
html[data-theme="light"] body[data-surface="landing"] .hero{background:radial-gradient(560px 430px at 82% 44%,rgba(8,125,108,.055),transparent 70%),linear-gradient(135deg,#f9fbfa,#e7ecea)!important}
html[data-theme="light"] body[data-surface="landing"] .hero h1,
html[data-theme="light"] body[data-surface="landing"] .section h2,
html[data-theme="light"] body[data-surface="landing"] .final-cta h2{color:#142127!important;text-shadow:none!important}
html[data-theme="light"] body[data-surface="landing"] .hero h1{-webkit-text-fill-color:#142127!important}
html[data-theme="light"] body[data-surface="landing"] .hero h1 em{color:var(--cp-emerald)!important;-webkit-text-fill-color:var(--cp-emerald)!important}
html[data-theme="light"] body[data-surface="landing"] .tag{color:#31494f!important;background:rgba(255,255,255,.72)!important;border-color:rgba(38,93,89,.28)!important}
html[data-theme="light"] body[data-surface="landing"] :is(.float-card,.capital){background:#f8faf9!important}

@media(max-width:1280px){
  body[data-surface="cabinet"] .premium-shell{grid-template-columns:82px minmax(0,1fr)!important}
  body[data-surface="cabinet"] .premium-brand{height:120px!important}.brand-emblem-image{width:58px!important;height:68px!important}
  body[data-surface="cabinet"] .premium-brand .brand-name,body[data-surface="cabinet"] .premium-sidebar .nav-link span,
  body[data-surface="cabinet"] .premium-user div{display:none!important}
  body[data-surface="cabinet"] .premium-sidebar .nav-link{justify-content:center!important;padding:0!important}
  body[data-surface="cabinet"] .command-header{grid-template-columns:minmax(220px,1fr) minmax(190px,.75fr) minmax(220px,.9fr) 90px auto!important}
  body[data-surface="landing"] .nav-shell nav{gap:18px!important}
}
@media(max-width:980px){
  body[data-surface="cabinet"] .premium-shell{display:block!important;width:100%!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;overflow:visible!important}
  body[data-surface="cabinet"] .premium-sidebar{position:fixed!important;z-index:60!important;left:0;right:0;bottom:0;width:100%!important;min-height:0!important;height:72px!important;padding:0!important;border:0!important;border-top:1px solid rgba(100,139,146,.32)!important;background:rgba(2,12,16,.98)!important;backdrop-filter:blur(22px)!important}
  body[data-surface="cabinet"] .premium-brand,body[data-surface="cabinet"] .premium-user,body[data-surface="cabinet"] .system-state,body[data-surface="cabinet"] .premium-sidebar .text-button{display:none!important}
  body[data-surface="cabinet"] .premium-sidebar nav{height:100%!important;display:grid!important;grid-template-columns:repeat(7,1fr)!important;padding:0!important}
  body[data-surface="cabinet"] .premium-sidebar .nav-link{min-height:0!important}.premium-sidebar .nav-link.active:after{left:22%!important;right:22%!important;top:0!important;bottom:auto!important;width:auto!important;height:1px!important}
  body[data-surface="cabinet"] .command-main{padding-bottom:82px!important}
  body[data-surface="cabinet"] .command-board{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;gap:10px!important}
  body[data-surface="cabinet"] .command-board>.console-panel{grid-area:auto!important;width:100%!important;min-height:220px!important;flex:0 0 auto!important}
  body[data-surface="cabinet"] .command-board>.capital-console{min-height:230px!important}
  body[data-surface="cabinet"] .command-board>.financial-console{min-height:190px!important}
  body[data-surface="cabinet"] .command-board>.sentinel-console,body[data-surface="cabinet"] .command-board>.shield-console{min-height:250px!important}
  body[data-surface="cabinet"] .command-board>.equity-console{min-height:340px!important}
  body[data-surface="cabinet"] .command-board>.recent-console{min-height:300px!important}
  body[data-surface="cabinet"] .command-header{grid-template-columns:1fr 1fr 92px auto!important}.command-header .selected-engine{display:none!important}.command-wordmark img{width:240px!important}.running-lock{margin:0!important;padding:0 10px!important}.running-lock span{display:none!important}
  body[data-surface="replay"] .shell,body[data-surface="paper"] .paper-shell,.admin-shell{width:100%!important;min-height:100vh!important;margin:0!important;border:0!important;border-radius:0!important;padding:0 14px 34px!important}
  body[data-surface="replay"] .topbar,body[data-surface="paper"] .paper-header,.admin-shell>.topbar{grid-template-columns:1fr auto!important}
  body[data-surface="replay"] .safety,body[data-surface="paper"] .mode-lock{grid-row:2;grid-column:1/-1;justify-self:stretch!important;justify-content:center!important;margin-bottom:10px!important}
  body[data-surface="replay"] .topbar,body[data-surface="paper"] .paper-header{height:auto!important;min-height:108px!important;padding:10px 0!important}
  body[data-surface="replay"] .operator-wordmark-image,body[data-surface="paper"] .operator-wordmark-image,.admin-shell .operator-wordmark-image{width:220px!important;max-width:30vw!important}
  body[data-surface="replay"] .control-deck{grid-template-columns:repeat(2,1fr)!important}.control-deck>button{grid-column:1/-1!important}
  body[data-surface="landing"] .nav-shell{width:100%!important;margin:0!important;border:0!important;border-radius:0!important}.nav-shell nav{display:none!important}
  body[data-surface="landing"] .hero{grid-template-columns:1fr!important;border-left:0!important;border-right:0!important;padding:72px 38px!important}.hero-visual{margin-top:20px!important}
}
@media(max-width:640px){
  body[data-surface="cabinet"] .command-header{grid-template-columns:1fr 112px!important;height:64px!important}.command-wordmark{border:0!important;padding:0 12px!important}.command-wordmark img{width:190px!important;max-width:100%!important}.command-wordmark small{display:none!important}.running-lock{border:0!important;justify-content:flex-end!important}.last-sync,.command-header>.secondary{display:none!important}
  body[data-surface="cabinet"] .premium-sidebar nav{grid-template-columns:repeat(5,1fr)!important}.premium-sidebar .nav-link:nth-child(5),.premium-sidebar .nav-link:nth-child(6){display:none!important}
  body[data-surface="cabinet"] .console-panel{padding:16px!important}.view-heading{align-items:flex-start!important;display:block!important}.view-heading h1{font-size:26px!important}
  body[data-surface="replay"] .topbar,body[data-surface="paper"] .paper-header,.admin-shell>.topbar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  body[data-surface="replay"] .brand>span,body[data-surface="paper"] .brand-mark,.admin-shell .admin-emblem-image{width:42px!important;height:50px!important}
  body[data-surface="replay"] .operator-wordmark-image,body[data-surface="paper"] .operator-wordmark-image,.admin-shell .operator-wordmark-image{width:150px!important;max-width:42vw!important}
  body[data-surface="replay"] .topbar nav a,body[data-surface="paper"] .paper-header nav a,.admin-shell .top-actions a{display:none!important}
  body[data-surface="paper"] .paper-header nav #refreshButton{display:none!important}
  body[data-surface="replay"] .safety :is(strong,span),body[data-surface="paper"] .mode-lock :is(b,span){font-size:11.5px!important}
  body[data-surface="replay"] .login-card,body[data-surface="paper"] .login-panel,.admin-shell .admin-login{grid-template-columns:1fr!important;gap:24px!important;min-height:0!important;margin-top:5vh!important;padding:26px!important}
  .admin-shell .admin-login-form{width:100%!important;max-width:none!important;justify-self:stretch!important;margin:0!important}
  body[data-surface="replay"] .login-card h1,body[data-surface="paper"] .login-panel h1,.admin-shell .admin-login h2{font-size:34px!important}
  body[data-surface="replay"] .hero-row{display:block!important}.dataset-badge{min-width:0!important;margin-top:18px!important}
  body[data-surface="replay"] .control-deck{grid-template-columns:1fr!important}.metrics,.summary-grid{grid-template-columns:repeat(2,1fr)!important}
  body[data-surface="paper"] .bot-grid{grid-template-columns:1fr!important}.bot-values{grid-template-columns:repeat(2,1fr)!important}.event-row{grid-template-columns:58px 1fr!important}.event-row>*:nth-child(3){display:none!important}
  .admin-shell .admin-brand-lockup h1{display:none!important}.admin-shell .admin-metrics{grid-template-columns:1fr!important}.admin-shell .top-actions{gap:4px!important}
  body[data-surface="landing"] .nav-shell{height:74px!important;padding:0 14px!important}.brand-wordmark-image{width:188px!important;max-width:52vw!important}.nav-shell>.button{padding:8px 10px!important}.theme-switch b{display:none!important}
  body[data-surface="landing"] .nav-shell>.button.ghost{display:none!important}
  body[data-surface="landing"] .hero{min-height:0!important;padding:54px 18px 66px!important}.hero h1{font-size:43px!important}.hero-copy>p{font-size:13px!important}.trust-line{display:grid!important;gap:9px!important}.hero-visual{height:420px!important;transform:scale(.9);margin-inline:-25px!important}.shield-card{width:295px!important}.float-card.left{left:-12px!important}.float-card.right{right:-12px!important}
  body[data-surface="landing"] .strip{grid-template-columns:1fr!important;margin:0 16px!important}.strip>div+div{border-left:0!important;border-top:1px solid var(--cp-line)!important}.section{padding:78px 18px!important}.section h2,.final-cta h2{font-size:34px!important}.section-intro{align-items:flex-start!important;flex-direction:column!important;gap:18px!important}.product-grid,.price-grid{grid-template-columns:1fr!important}.shield-section{grid-template-columns:1fr!important;gap:45px!important;padding-inline:18px!important}.audit-card{padding:34px 18px!important}.audit-numbers{gap:22px!important}.final-cta{margin:0 16px 70px!important;padding:30px 24px!important;align-items:flex-start!important;flex-direction:column!important;gap:20px!important}body[data-surface="landing"]>footer{margin:0 16px!important;display:grid!important;text-align:left!important}
}
@media(prefers-reduced-motion:reduce){body[data-surface] *,body:has(>.admin-shell) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.admin-shell .admin-login[hidden],.admin-shell #adminDashboard[hidden],.admin-shell .notice[hidden]{display:none!important}
.account-verification{margin:12px 0;padding:12px 14px;border:1px solid rgba(255,194,75,.28);background:linear-gradient(135deg,rgba(255,194,75,.07),rgba(3,19,23,.52));display:grid;grid-template-columns:auto 1fr;gap:5px 12px}.account-verification>span{letter-spacing:.16em;color:var(--text-muted)}.account-verification>b{text-align:right;letter-spacing:.12em}.account-verification>p{grid-column:1/-1;margin:0;color:var(--text-soft)}.account-verification.verified{border-color:rgba(0,232,184,.28);background:linear-gradient(135deg,rgba(0,232,184,.07),rgba(3,19,23,.52))}.text-action{border:0;background:transparent;color:var(--emerald);padding:4px 0;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.skip-link{position:fixed;z-index:10000;top:10px;left:10px;transform:translateY(-180%);padding:12px 16px;border:1px solid var(--cp-emerald,#00e5bd);border-radius:4px;background:#020b0f;color:#f5ffff;font:700 12px/1 Inter,sans-serif;letter-spacing:.08em;text-decoration:none;box-shadow:0 10px 35px rgba(0,0,0,.55)}.skip-link:focus{transform:translateY(0);outline:2px solid #fff;outline-offset:3px}body[data-surface] nav a,body[data-surface] footer a{display:inline-flex;align-items:center;min-height:24px}

/* source: corrective-ui-v1.css */
/*
 * HEDGERON Corrective UI Pass v1.0
 * Local fixes only. The approved Desktop Dark Master and identity assets remain locked.
 */

html,body{max-width:100%;overflow-x:clip}
body[data-surface] [hidden]{display:none!important}
body[data-surface="admin"] button:disabled{opacity:.38!important;cursor:not-allowed!important;filter:saturate(.25)!important;box-shadow:none!important}

/* P0.1 — Yield: keep the approved card language, remove the conflicting full-card pseudo overlay. */
body[data-surface="landing"] .product.featured::before{
  content:""!important;
  position:absolute!important;
  inset:5px!important;
  z-index:-1!important;
  border:1px solid rgba(205,236,239,.055)!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  transform:none!important;
  padding:0!important;
  background:radial-gradient(420px 220px at 12% 8%,rgba(34,226,192,.09),transparent 72%),linear-gradient(115deg,rgba(255,255,255,.03),transparent 20% 78%,rgba(34,226,192,.035))!important;
}

@media (max-width: 760px) {
  body[data-surface="cabinet"] .chart-period button { min-width:46px;min-height:46px;padding-inline:8px; }
}
body[data-surface="landing"] .verification-ribbon{
  position:absolute;z-index:4;right:-37px;top:23px;display:block;width:154px;padding:6px 0;
  transform:rotate(40deg);background:var(--cp-emerald);color:#03110e;
  text-align:center;font:800 10px/1 var(--cp-display);letter-spacing:.1em;pointer-events:none;
}

/* Every compact account dialog stays inside the mobile viewport. Grid children
 * must be allowed to shrink instead of widening the dialog to min-content. */
body[data-surface="cabinet"] dialog:not(.onboarding-dialog)>form{
  width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere;
}
body[data-surface="cabinet"] dialog:not(.onboarding-dialog) :is(input,select,button,code){min-width:0;max-width:100%}

/* P1.1 — zero capital uses the same legible typography token as populated capital. */
body[data-surface="cabinet"] .capital-value{
  -webkit-text-fill-color:#f0f4f5!important;-webkit-text-stroke:0!important;
  color:#f0f4f5!important;opacity:1!important;filter:none!important;
}

/* P2.1 — secondary replay link remains secondary but readable. */
body[data-surface="landing"] .hero-actions .button.text{color:#a2b1b5!important}

/* Replay canvas interaction and compact empty chart. */
body[data-surface="replay"] .chart-stage canvas{touch-action:pan-y}
body[data-surface="cabinet"] .performance-chart.is-empty{height:230px!important}
body[data-surface="cabinet"] .performance-chart.is-empty .performance-gridlines{height:160px!important}
body[data-surface="cabinet"] .recent-console .trade-list{position:absolute!important;z-index:1;top:62px;right:20px;bottom:66px;left:20px;max-height:none!important;overflow:auto;scroll-padding-bottom:12px}
body[data-surface="cabinet"] .recent-console .journal-button{position:absolute!important;top:auto!important;right:16px!important;bottom:13px!important;left:16px!important;z-index:2}

@media(max-width:767px){
  /* P1.6 — content clears both the fixed navigation and the iPhone home indicator. */
  body[data-surface="cabinet"] .premium-sidebar{
    height:calc(72px + env(safe-area-inset-bottom))!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
  body[data-surface="cabinet"] .command-main{
    padding-bottom:calc(72px + env(safe-area-inset-bottom) + 28px)!important;
  }
  body[data-surface="cabinet"] dialog{
    width:min(440px,calc(100vw - 28px));max-width:calc(100vw - 28px);
    max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
  }

  /* P0.5 — mobile ledger rows expose every required field without horizontal scrolling. */
  body[data-surface="replay"] .trade-table-wrap{overflow:visible!important;max-height:none!important}
  body[data-surface="replay"] .trade-table-wrap table,
  body[data-surface="replay"] .trade-table-wrap tbody{display:block;width:100%}
  body[data-surface="replay"] .trade-table-wrap thead{display:none}
  body[data-surface="replay"] .trade-table-wrap tr{
    display:grid;grid-template-columns:1fr 1fr;margin:10px 0;padding:12px;
    border:1px solid var(--line);background:color-mix(in srgb,var(--panel-solid) 72%,transparent);
  }
  body[data-surface="replay"] .trade-table-wrap td{
    display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;
    min-width:0;padding:9px 0;border-top:1px solid var(--line);white-space:normal;
    overflow-wrap:anywhere;text-align:left;font-size:11px;line-height:1.35;
  }
  body[data-surface="replay"] .trade-table-wrap td:nth-child(1),
  body[data-surface="replay"] .trade-table-wrap td:nth-child(2){border-top:0}
  body[data-surface="replay"] .trade-table-wrap td::before{
    content:attr(data-label);color:var(--muted);text-align:left;text-transform:uppercase;
    font-size:10px;line-height:1.2;letter-spacing:.08em;
  }
  body[data-surface="replay"] .trade-table-wrap td:last-child{grid-column:1/-1}

  /* P1.2 / 6 / 7 — content determines mobile height. */
  body[data-surface="cabinet"] .premium-bot-grid .bot-card{
    min-height:unset!important;height:auto!important;padding:26px!important;
  }
  body[data-surface="cabinet"] .settings-card,
  body[data-surface="cabinet"] .membership-card{
    min-height:unset!important;height:auto!important;align-self:start!important;
  }
  body[data-surface="cabinet"] .membership-card{padding-bottom:26px!important}
  body[data-surface="cabinet"] .performance-chart.is-empty{height:220px!important}
  body[data-surface="cabinet"] .performance-chart.is-empty .performance-gridlines{height:150px!important}

  /* P1.4 — two deliberate two-line phrases, never a six-line headline. */
  body[data-surface="landing"] .hero h1{
    max-width:100%!important;font-size:clamp(36px,9.4vw,40px)!important;
    line-height:1.02!important;letter-spacing:-.038em!important;
  }

  /* P1.5 — reduce only excessive mobile transitions between major sections. */
  body[data-surface="landing"] .products{padding-bottom:62px!important}
  body[data-surface="landing"] .shield-section{padding-top:62px!important;padding-bottom:62px!important;gap:34px!important}
  body[data-surface="landing"] .audit{padding-top:56px!important;padding-bottom:18px!important}
  body[data-surface="landing"] #pricing{padding-top:58px!important;padding-bottom:54px!important}
  body[data-surface="landing"] .final-cta{margin-bottom:48px!important}
}

@media(max-width:430px){
  body[data-surface="landing"] .hero{padding-top:48px!important;padding-bottom:54px!important}
  body[data-surface="landing"] .hero-visual{margin-inline:-10px!important;transform:scale(.88)!important}
  body[data-surface="landing"] .product{min-height:0!important;height:auto!important;padding:24px!important}
  body[data-surface="landing"] .big-metric{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  body[data-surface="landing"] .big-metric strong{font-size:48px!important;max-width:100%;white-space:nowrap}
  body[data-surface="landing"] .capital{gap:12px}.capital span{min-width:0}.capital b{flex:none}
  body[data-surface="landing"] .verification-ribbon{right:-39px;top:24px}
  body[data-surface="replay"] .chart-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body[data-surface="replay"] .chart-legend b{grid-column:1/-1;margin-left:0}
  body[data-surface="replay"] .chart-stage{height:240px!important}
  body[data-surface="replay"] .monthly-map{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-surface="replay"] .month-cell{aspect-ratio:auto;min-height:54px}
}

@media(max-width:375px){
  body[data-surface="landing"] .hero h1{font-size:36px!important}
  body[data-surface="landing"] .hero-actions{display:grid!important;grid-template-columns:1fr!important}
  body[data-surface="landing"] .hero-actions .button{width:100%}
  body[data-surface="landing"] .hero-visual{margin-inline:0!important;transform:scale(.84)!important;transform-origin:center top}
  body[data-surface="replay"] .trade-table-wrap tr{grid-template-columns:1fr}
  body[data-surface="replay"] .trade-table-wrap td:nth-child(2){border-top:1px solid var(--line)}
  body[data-surface="replay"] .trade-table-wrap td:last-child{grid-column:auto}
}

html[data-theme="light"] body[data-surface="cabinet"] .capital-value{
  -webkit-text-fill-color:#142127!important;color:#142127!important;text-shadow:none!important;
}

/* Light mode keeps these controls deliberately dark; their labels must remain foil-bright. */
html[data-theme="light"] body[data-surface="cabinet"] .theme-selector button :is(b,small),
html[data-theme="light"] body[data-surface="cabinet"] .theme-selector button span:not(.theme-preview),
html[data-theme="light"] body[data-surface="cabinet"] .membership-plans .plan-button.secondary :is(span,b){
  color:#dfe8e9!important;
}
html[data-theme="light"] body[data-surface="cabinet"] .membership-plans .plan-button.primary :is(span,b){
  color:#075f53!important;
}

/* Accessible mobile replacement for the desktop landing navigation. */
.mobile-nav{display:none;position:relative;margin-left:auto}.mobile-nav summary{list-style:none;min-width:58px;padding:10px 12px;border:1px solid rgba(75,213,185,.35);border-radius:3px;color:#dfe9e8;background:#041116;font:650 10px Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav>div{position:absolute;z-index:30;right:0;top:calc(100% + 10px);min-width:230px;padding:8px;border:1px solid rgba(75,213,185,.38);background:rgba(3,13,17,.98);box-shadow:0 28px 70px #000d}.mobile-nav a{display:block;padding:13px 12px;border-bottom:1px solid rgba(86,123,131,.22);color:#b9c7ca;text-decoration:none;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.mobile-nav a:last-child{border-bottom:0;color:#23e2c0}
@media(max-width:760px){body[data-surface="landing"] .mobile-nav{display:block}body[data-surface="landing"] .nav-shell>.button.ghost{display:none!important}}

/* Gold is reserved for Shield; account identity remains polished silver. */
body[data-surface="cabinet"] .premium-user .user-crest{background:linear-gradient(145deg,#fff,#b9c5ca 42%,#46555b 70%,#edf3f4)!important;color:#071015!important;filter:drop-shadow(0 0 9px rgba(210,224,228,.22))!important}
body[data-surface="paper"] #paperChartSummary{margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.45;letter-spacing:.025em}

/* Administrative evidence IDs stay compact, but never drop below the 10 px release gate. */
.admin-shell small{font-size:10px!important;line-height:1.35!important;overflow-wrap:anywhere}
html[data-theme="light"] .admin-shell .metric-card strong{color:#142127!important;text-shadow:none!important}
html[data-theme="light"] .admin-shell .alert-row{background:linear-gradient(145deg,#fbfcfb,#e7eeeb)!important;border-color:rgba(61,91,94,.28)!important;color:#142127!important}
html[data-theme="light"] .admin-shell .alert-row :is(strong,span){color:#23373d!important}
html[data-theme="light"] .admin-shell .alert-row small{color:#5d7278!important}
html[data-theme="light"] .admin-shell .alert-row.warning>strong{color:#795a10!important}
html[data-theme="light"] .admin-shell .alert-row.critical>strong{color:#b23831!important}

/* Acceptance v2: legible command labels and a dedicated Membership destination. */
body[data-surface="cabinet"] :is(.console-label,.view-kpi-strip span,.premium-bot-grid .bot-state,.premium-bot-grid h3 small,.premium-bot-grid .bot-card dt,.performance-summary dt,.activity-grid .activity-title span,.journal-filters button,.journal-head,.protection-ready,.sentinel-command dt,.shield-command dt,.sentinel-command dd,.shield-command dd,.settings-card .calculator label,.membership-plans span){font-size:max(10px,.625rem)!important;line-height:1.35!important}
body[data-surface="cabinet"] :is(#systemLabel,.system-state small,.command-header small,.selected-engine small,.subscription-state,.command-main>footer,.command-main>footer span){font-size:10px!important;line-height:1.35!important}
.membership-route-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:10px;margin-top:10px}
.membership-route-layout>.console-panel{min-height:560px;padding:34px!important}
.membership-assurance h2{max-width:520px;margin:22px 0 16px;font-size:29px;line-height:1.08;letter-spacing:.02em}
.membership-assurance ul{display:grid;gap:0;margin:34px 0;padding:0;list-style:none;border-top:1px solid var(--console-line-soft)}
.membership-assurance li{padding:17px 0;border-bottom:1px solid var(--console-line-soft);color:var(--console-muted);font-size:12px;letter-spacing:.035em}
.membership-assurance li:before{content:"✓";margin-right:11px;color:var(--console-emerald)}
.membership-action{display:flex!important;align-items:center;justify-content:center;min-height:48px;margin-top:28px;text-decoration:none!important;font-size:10px;letter-spacing:.13em}

@media(max-width:760px){
  .membership-route-layout{grid-template-columns:1fr}
  .membership-route-layout>.console-panel{min-height:0;padding:24px!important}
  body[data-surface="cabinet"] .premium-sidebar nav{grid-template-columns:repeat(5,1fr)!important}
  body[data-surface="cabinet"] .premium-sidebar nav>.nav-link,
  body[data-surface="cabinet"] .premium-sidebar .mobile-command-menu>summary{
    min-width:44px!important;
    min-height:44px!important;
    height:100%!important;
    align-self:stretch!important;
    padding:8px 4px!important;
  }
  body[data-surface="cabinet"] .premium-sidebar .nav-link:nth-child(5),
  body[data-surface="cabinet"] .premium-sidebar .nav-link:nth-child(6){display:flex!important}
  body[data-surface="cabinet"] .premium-sidebar .nav-link.replay-link,
  body[data-surface="cabinet"] .premium-sidebar .nav-link.settings-link{display:none!important}
}

/* WCAG 2.5.8: compact text actions still provide a reliable pointer target. */
body[data-surface="cabinet"] .recent-console header>a{
  display:inline-flex;
  min-width:24px;
  min-height:24px;
  align-items:center;
  justify-content:center;
}

html[data-theme="light"] body[data-surface="landing"] :is(.hero-copy>p,.section-intro>p,.product>p,.footnote,.proof-copy,.pricing-copy),
html[data-theme="light"] body[data-surface="cabinet"] :is(.console-muted,.console-panel p,.console-panel dt,.console-panel small),
html[data-theme="light"] body[data-surface="paper"] :is(.muted,.chart-axis,.chart-legend,.historical-card p),
html[data-theme="light"] body[data-surface="replay"] :is(.muted,.chart-axis,.chart-legend,.metric span){color:#4b5f65!important;opacity:1!important}
html[data-theme="light"] body[data-surface] :is(.eyebrow,.kicker,.console-label,.positive-text,.good){color:#006f60!important}
html[data-theme="light"] body[data-surface] :is(.gold,.shield-label,.warning){color:#755500!important}
body[data-surface="cabinet"] .audit-filter-row button{min-width:44px;min-height:32px}

/* Stabilization build 3: semantic hierarchy, accessible light theme and touch targets. */
body[data-surface] main h2.page-title,
body[data-surface] main h2.view-title,
body[data-surface] main h2.section-title {
  margin: 0;
  color: var(--ivory, #f6f7f4);
  font: 500 clamp(1.35rem, 2.2vw, 2.15rem)/1.12 var(--font-display, Inter, sans-serif);
  letter-spacing: .04em;
}

html[data-theme="light"] body[data-surface] main h2.page-title,
html[data-theme="light"] body[data-surface] main h2.view-title,
html[data-theme="light"] body[data-surface] main h2.section-title { color:#102a30!important; }

html[data-theme="light"] body[data-surface] :is(.muted,.chart-axis,.chart-legend,.historical-card p,.metric span,.microcopy,.meta) {
  color:#435a60!important;
  opacity:1!important;
}

html[data-theme="light"] body[data-surface] :is(.eyebrow,.kicker,.console-label,.positive-text,.good) { color:#006f60!important; }
html[data-theme="light"] body[data-surface] :is(.gold,.shield-label,.warning) { color:#755500!important; }

@media (max-width: 760px) {
  body[data-surface] :is(button,.button,.btn,[role="button"],input,select,.nav-link,.icon-button) { min-height:46px!important; }
  body[data-surface] :is(.icon-button,.mobile-nav a,.mobile-nav button) { min-width:46px!important; }
  body[data-surface="admin"] .admin-shell :is(button,input,select) { min-height:46px!important; }
  body[data-surface="paper"] .paper-shell :is(button,input,[role="button"]) { min-height:46px!important; }
  body[data-surface="paper"] .paper-header button { min-width:46px!important; }
  body[data-surface] :is(.microcopy,.metric-label,.chart-axis,.chart-legend,.meta) { font-size:max(10px,.625rem); }
}

/* source: partner.css */
:root{--partner-panel:linear-gradient(145deg,rgba(6,24,31,.97),rgba(2,10,14,.99));--partner-line:rgba(104,145,152,.3);--partner-soft:rgba(99,134,141,.72);--partner-text:#e9eff0;--partner-emerald:#22e2c0;--partner-gold:#d7b24e}
body[data-surface="partner"] [hidden]{display:none!important}
.partner-review{margin:14px 24px 0;padding:11px 15px;display:flex;align-items:center;gap:14px;border:1px solid rgba(34,226,192,.42);background:linear-gradient(90deg,rgba(8,43,37,.96),rgba(4,20,25,.96));box-shadow:inset 0 1px rgba(255,255,255,.04);color:#9db2b5;font-size:11px;letter-spacing:.04em}.partner-review b{color:var(--partner-emerald);font-size:11px;letter-spacing:.13em}.partner-review span{padding-left:14px;border-left:1px solid rgba(34,226,192,.25)}.partner-review+ .partner-notice{margin-top:8px}.partner-dashboard :disabled{cursor:not-allowed!important;opacity:.48!important}
.partner-review-badge{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid rgba(34,226,192,.42);border-radius:3px;background:rgba(8,43,37,.52);color:var(--partner-emerald);font-size:10px;font-weight:700;letter-spacing:.1em;white-space:nowrap}.partner-review-badge[hidden]{display:none!important}
*{box-sizing:border-box}body[data-surface="partner"]{margin:0;min-width:320px;color:var(--partner-text);font-family:Inter,Arial,sans-serif;font-variant-numeric:tabular-nums;background:#02090d}.partner-shell{width:min(1540px,calc(100% - 28px));min-height:calc(100vh - 28px);margin:14px auto;border:1px solid rgba(107,145,151,.34);border-radius:16px;background:radial-gradient(900px 520px at 68% -14%,rgba(19,94,83,.13),transparent 67%),linear-gradient(145deg,#061820,#02090d 58%,#031116);box-shadow:0 34px 110px #000b;overflow:hidden}.partner-header{height:82px;padding:0 24px;display:grid;grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr);align-items:center;gap:22px;border-bottom:1px solid rgba(86,123,131,.28);background:linear-gradient(180deg,rgba(7,25,32,.97),rgba(2,10,14,.98))}.partner-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}.partner-brand>img{width:52px;height:60px;object-fit:contain}.partner-brand>span{display:grid;gap:4px}.partner-brand span img{width:230px;height:auto}.partner-brand small{color:#84999e;font-size:10px;letter-spacing:.23em}.partner-mode{height:42px;display:flex;align-items:center;gap:10px;padding:0 16px;border-left:1px solid rgba(88,126,133,.25);border-right:1px solid rgba(88,126,133,.25);font-size:11.5px;letter-spacing:.1em}.partner-mode i{width:8px;height:8px;border-radius:50%;background:var(--partner-emerald);box-shadow:0 0 12px rgba(34,226,192,.24)}.partner-mode span{padding-left:10px;border-left:1px solid rgba(88,126,133,.25);color:#82989d}.partner-header nav{justify-self:end;display:flex;align-items:center;gap:8px}.partner-header nav :is(a,button),.table-refresh,.secondary-action{min-height:34px;padding:0 12px;border:1px solid rgba(94,132,139,.38);border-radius:3px;background:#031016;color:#b9c7ca;text-decoration:none;font:600 11.5px Inter,Arial,sans-serif;cursor:pointer}.partner-header nav :is(a,button):hover,.table-refresh:hover,.secondary-action:hover{border-color:rgba(34,226,192,.55);color:#e8f1f1}.partner-notice{margin:16px 24px 0;padding:12px 15px;border:1px solid rgba(34,226,192,.4);background:#08251f;color:#b8f4e9;font-size:13px}.partner-notice.error{border-color:#8c423c;background:#2d1715;color:#ffc0ba}.partner-login{max-width:1050px;margin:10vh auto;padding:48px;display:grid;grid-template-columns:1.25fr .75fr;gap:64px;border:1px solid var(--partner-line);border-radius:4px;background:var(--partner-panel);box-shadow:0 30px 80px #0008}.partner-kicker{display:block;color:var(--partner-emerald);font-size:11.5px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}.partner-login h1,.partner-title-row h1{margin:12px 0 14px;font:450 48px/1.05 Rajdhani,Inter,Arial,sans-serif;letter-spacing:-.02em}.partner-login p,.partner-title-row p,.payout-settings>p{color:#85999e;font-size:13px;line-height:1.55}.partner-login form,.payout-settings form{display:grid;gap:13px;align-content:center}.partner-login label,.payout-settings label,.link-panel label{display:grid;gap:7px;color:#8ca0a5;font-size:11.5px;letter-spacing:.04em}.partner-login input,.payout-settings :is(input,select),.link-panel input{width:100%;min-height:44px;padding:0 12px;border:1px solid rgba(95,132,139,.4);border-radius:3px;background:#020b0f;color:#e8eeee;font:500 13px Inter,Arial,sans-serif}.partner-login button,.payout-settings button{min-height:46px;border:1px solid rgba(34,226,192,.72);border-radius:3px;background:linear-gradient(180deg,#20d9b9,#08a78f);color:#02100e;font-weight:800;cursor:pointer}.partner-login form small{color:#70858a;font-size:11.5px;line-height:1.45}.partner-dashboard{padding:28px}.partner-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px}.partner-title-row h1{font-size:36px;margin-bottom:7px}.partner-title-row p{margin:0}.partner-updated{display:grid;text-align:right;gap:5px}.partner-updated span{font-size:11.5px;color:#71878d;letter-spacing:.1em}.partner-updated b{color:var(--partner-emerald);font:600 14px Rajdhani,Inter,Arial,sans-serif;letter-spacing:.08em}.partner-metrics{display:grid;grid-template-columns:1.35fr repeat(5,1fr);border:1px solid var(--partner-line);border-radius:4px;overflow:hidden;background:#031016;box-shadow:0 20px 55px #0007}.partner-metrics article{position:relative;min-width:0;min-height:132px;padding:22px;border-right:1px solid rgba(90,127,134,.24);background:linear-gradient(145deg,rgba(8,28,35,.96),rgba(3,13,17,.98))}.partner-metrics article:last-child{border-right:0}.partner-metrics article.primary{background:radial-gradient(circle at 82% 20%,rgba(34,226,192,.09),transparent 45%),linear-gradient(145deg,#09282c,#031015)}.partner-metrics article.available{background:radial-gradient(circle at 82% 20%,rgba(215,178,78,.065),transparent 45%),linear-gradient(145deg,#17170e,#061013)}.partner-metrics span{display:block;color:#82979c;font-size:11.5px;font-weight:600;letter-spacing:.085em}.partner-metrics strong{display:block;margin:17px 0 8px;color:#edf2f3;font:500 27px Rajdhani,Inter,Arial,sans-serif;white-space:nowrap}.partner-metrics .primary strong,.partner-metrics .available strong{color:var(--partner-emerald);font-size:34px}.partner-metrics .available strong{color:#e3c46e}.partner-metrics small{display:block;color:#667e84;font-size:11.5px;line-height:1.35}.partner-command-grid{display:grid;grid-template-columns:.85fr 1.25fr 1.25fr;gap:12px;margin-top:12px}.partner-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.partner-panel{min-width:0;padding:22px;border:1px solid var(--partner-line);border-radius:4px;background:var(--partner-panel);box-shadow:0 18px 48px #0006}.partner-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.partner-panel h2{margin:7px 0 0;color:#e7eeee;font:560 21px Rajdhani,Inter,Arial,sans-serif;letter-spacing:.02em}.tier-panel header>strong{color:var(--partner-emerald);font:500 32px Rajdhani,Inter,Arial,sans-serif}.tier-rail{height:7px;margin-top:31px;background:#10242a;overflow:hidden}.tier-rail i{display:block;width:0;height:100%;background:linear-gradient(90deg,#087e6f,var(--partner-emerald));transition:width .5s ease}.tier-scale{display:flex;justify-content:space-between;margin-top:9px;color:#7f9499;font-size:11.5px}.tier-scale b{color:#b4c2c4;font-weight:600}.tier-panel p{margin:23px 0 0;color:#778d92;font-size:11.5px;line-height:1.5}.status-pill,.security-mark{padding:5px 8px;border:1px solid rgba(34,226,192,.4);color:var(--partner-emerald);font-size:10px;font-weight:700;letter-spacing:.09em}.status-pill.gold{border-color:rgba(215,178,78,.5);color:var(--partner-gold)}.copy-line{display:grid;grid-template-columns:1fr auto}.copy-line input{border-right:0}.copy-line button{padding:0 16px;border:1px solid rgba(34,226,192,.55);border-radius:0 3px 3px 0;background:#08231f;color:var(--partner-emerald);font-weight:700;cursor:pointer}.campaign-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.secondary-action{margin-top:12px}.funnel-panel header>span{color:#80969b;font-size:11.5px}.funnel-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;align-items:center;margin-top:30px}.funnel-flow div{text-align:center}.funnel-flow strong{display:block;color:#eef2f3;font:500 27px Rajdhani,Inter,Arial,sans-serif}.funnel-flow span{color:#71868c;font-size:10px;letter-spacing:.08em}.funnel-flow i{height:1px;background:linear-gradient(90deg,rgba(34,226,192,.2),rgba(34,226,192,.7));position:relative}.funnel-flow i:after{content:"";position:absolute;right:0;top:-2px;border-left:4px solid var(--partner-emerald);border-top:2px solid transparent;border-bottom:2px solid transparent}.conversion-row{display:flex;justify-content:space-between;gap:20px;margin-top:24px;padding-top:15px;border-top:1px solid rgba(86,122,129,.22);color:#71878c;font-size:11.5px}.conversion-row b{color:var(--partner-emerald)}.partner-table{margin-top:18px;border-top:1px solid rgba(88,125,132,.25)}.partner-tr{display:grid;grid-template-columns:1.35fr .8fr .8fr 1fr;align-items:center;gap:12px;min-height:46px;padding:8px 4px;border-bottom:1px solid rgba(69,101,108,.2);color:#b6c4c7;font-size:11.5px}.partner-tr.commissions,.partner-tr.payouts{grid-template-columns:1fr .8fr .6fr .9fr .8fr}.partner-th{min-height:38px;color:#71868c;font-size:10px;font-weight:650;letter-spacing:.08em}.partner-tr .amount{color:var(--partner-emerald);font-weight:700;text-align:right}.partner-tr .amount.negative{color:#ef746c}.ledger-status{display:inline-block;color:#bdc9cb;font-size:10px;letter-spacing:.06em}.ledger-status.active,.ledger-status.available,.ledger-status.paid{color:var(--partner-emerald)}.ledger-status.pending,.ledger-status.held,.ledger-status.draft{color:#d7b24e}.ledger-status.reversed,.ledger-status.void{color:#ef746c}.partner-empty{grid-column:1/-1;padding:28px 4px;color:#70858a;font-size:11.5px}.payout-history{grid-column:1/-1}.payout-settings{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.6fr;gap:16px 42px}.payout-settings>header{grid-column:1}.payout-settings>p{grid-column:1;margin:0}.payout-settings form{grid-column:2;grid-row:1/3;grid-template-columns:.65fr 1.35fr 1fr auto;align-items:end}.payout-settings button{padding:0 18px}.partner-footer{display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;color:#516970;font-size:10px;font-weight:600;letter-spacing:.1em}.partner-footer i{width:4px;height:4px;border-radius:50%;background:var(--partner-emerald)}
html[data-theme="light"] body[data-surface="partner"]{--partner-panel:linear-gradient(145deg,#fff,#e8eeec);--partner-line:rgba(61,91,94,.3);--partner-soft:#53696e;--partner-text:#142127;background:#edf1ef}.partner-shell{color:var(--partner-text)}html[data-theme="light"] .partner-shell{background:linear-gradient(145deg,#f9fbfa,#e5ebe9);box-shadow:0 30px 90px rgba(35,55,55,.2)}html[data-theme="light"] .partner-header{background:linear-gradient(180deg,#10272d,#07171c);color:#e9eff0}html[data-theme="light"] :is(.partner-title-row h1,.partner-panel h2,.partner-metrics strong,.funnel-flow strong){color:#142127}html[data-theme="light"] :is(.partner-title-row p,.payout-settings>p,.partner-panel p,.partner-metrics small,.partner-tr){color:#53696e}html[data-theme="light"] .partner-metrics{background:#e5ebe9;box-shadow:0 18px 42px rgba(36,55,55,.14)}html[data-theme="light"] .partner-metrics article{background:linear-gradient(145deg,#fff,#e9efed)}html[data-theme="light"] .partner-metrics article.primary{background:radial-gradient(circle at 82% 20%,rgba(8,125,108,.09),transparent 45%),linear-gradient(145deg,#fff,#e2ece8)}html[data-theme="light"] .partner-metrics article.available{background:radial-gradient(circle at 82% 20%,rgba(147,111,19,.08),transparent 45%),linear-gradient(145deg,#fffdf6,#eee7d7)}html[data-theme="light"] .partner-login input,html[data-theme="light"] .payout-settings :is(input,select),html[data-theme="light"] .link-panel input{background:#fff;color:#142127}html[data-theme="light"] .partner-th{color:#4f666b}
@media(max-width:1180px){.partner-header{grid-template-columns:1fr auto}.partner-mode{display:none}.partner-metrics{grid-template-columns:repeat(3,1fr)}.partner-metrics article:nth-child(3){border-right:0}.partner-command-grid{grid-template-columns:1fr 1fr}.funnel-panel{grid-column:1/-1}.payout-settings{display:block}.payout-settings>p{max-width:700px}.payout-settings form{margin-top:18px;grid-template-columns:1fr 1fr}.payout-settings button{min-height:44px}}
@media(max-width:760px){.partner-shell{width:100%;min-height:100vh;margin:0;border:0;border-radius:0}.partner-header{height:auto;min-height:76px;padding:10px 14px}.partner-brand>img{width:40px;height:48px}.partner-brand span img{width:170px;max-width:44vw}.partner-brand small{display:none}.partner-header nav a{display:none}.partner-header nav button{padding:0 9px}.partner-login{margin:5vh 14px;padding:28px;grid-template-columns:1fr;gap:28px}.partner-login h1{font-size:38px}.partner-dashboard{padding:20px 14px}.partner-title-row{align-items:flex-start}.partner-title-row h1{font-size:30px}.partner-updated{display:none}.partner-metrics{grid-template-columns:repeat(2,1fr)}.partner-metrics article,.partner-metrics article:nth-child(3){border-right:1px solid rgba(90,127,134,.24)}.partner-metrics article:nth-child(even){border-right:0}.partner-command-grid,.partner-ledger-grid{grid-template-columns:1fr}.funnel-panel,.payout-history,.payout-settings{grid-column:auto}.campaign-fields,.payout-settings form{grid-template-columns:1fr}.funnel-flow{grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr}.partner-tr{grid-template-columns:1.2fr .7fr .8fr}.partner-tr>span:last-child{display:none}.partner-tr.commissions,.partner-tr.payouts{grid-template-columns:1fr .7fr .8fr .8fr}.partner-tr.commissions>span:nth-child(2),.partner-tr.payouts>span:nth-child(4){display:none}.partner-footer{flex-wrap:wrap;text-align:center;gap:10px}.partner-footer i{display:none}}
@media(max-width:430px){.partner-header nav [data-theme-cycle]{display:none}.partner-metrics article{min-height:118px;padding:16px}.partner-metrics strong{font-size:23px}.partner-metrics .primary strong,.partner-metrics .available strong{font-size:27px}.partner-panel{padding:18px}.funnel-flow strong{font-size:22px}.funnel-flow span{font-size:10px}.conversion-row{display:grid;gap:8px}.copy-line{grid-template-columns:minmax(0,1fr) auto}.partner-tr{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){body[data-surface="partner"] *{animation:none!important;transition:none!important}}
.table-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:var(--partner-muted,#82949b);font-size:11px;letter-spacing:.06em}.table-pagination .table-refresh{margin-left:auto}
.partner-title-row p a,.partner-legal a{color:var(--partner-emerald);text-decoration:none;border-bottom:1px solid rgba(34,226,192,.35)}.partner-metrics article.available{background:linear-gradient(145deg,rgba(8,28,35,.96),rgba(3,13,17,.98))}.partner-metrics .available strong{color:var(--partner-emerald)}
.ledger-status.pending,.ledger-status.held,.ledger-status.draft{color:#9fb6bd}.status-pill.gold{border-color:rgba(34,226,192,.4);color:var(--partner-emerald)}

/* source: commercial-entry.css */
/*
 * HEDGERON commercial entry layer.
 * Uses the locked Dark Master material system without changing trading surfaces.
 */

body[data-surface="landing"] .commercial-footer-links{display:flex;align-items:center;gap:18px}
body[data-surface="landing"] .commercial-footer-links a{color:var(--cp-silver,#b6c2c6);font-size:11px;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}
body[data-surface="landing"] .commercial-footer-links a:hover{color:var(--cp-emerald,#22e2c0)}

body[data-surface="cabinet"]>.client-access{position:relative;z-index:1;width:min(1480px,calc(100% - 28px));min-height:calc(100vh - 28px);margin:14px auto;overflow:hidden;border:1px solid rgba(107,145,151,.34);border-radius:16px;background:radial-gradient(880px 540px at 77% 34%,rgba(18,106,91,.11),transparent 68%),linear-gradient(145deg,#061820,#02090d 58%,#031116);box-shadow:0 34px 110px rgba(0,0,0,.72)}
body[data-surface="cabinet"]>.client-access:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 0 58%,rgba(34,226,192,.02) 58.1% 58.25%,transparent 58.35%),radial-gradient(circle at 77% 48%,transparent 0 128px,rgba(34,226,192,.07) 129px 130px,transparent 131px 176px,rgba(34,226,192,.035) 177px 178px,transparent 179px)}
.client-access-header{position:relative;z-index:2;height:86px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(86,123,131,.28);background:linear-gradient(180deg,rgba(7,25,32,.97),rgba(2,10,14,.98))}
.client-access-brand{display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none}.client-access-brand>img{width:52px;height:60px;object-fit:contain}.client-access-brand>span{display:grid;gap:5px}.client-access-brand span img{width:246px;height:auto}.client-access-brand small{color:#84999e;font-size:10px;letter-spacing:.23em}
.client-access-header>div{display:flex;align-items:center;gap:8px}.client-access-header :is(a,button){min-height:38px;padding:0 14px;border:1px solid rgba(94,132,139,.38);border-radius:2px;background:#031016;color:#b9c7ca;text-decoration:none;font:600 11.5px/36px var(--cp-ui,"Segoe UI",Arial,sans-serif);cursor:pointer}.client-access-header :is(a,button):hover{border-color:rgba(34,226,192,.55);color:#eef6f5}
.client-access-stage{position:relative;z-index:1;min-height:calc(100vh - 186px);padding:clamp(58px,7vw,112px) clamp(34px,6vw,96px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.75fr);align-items:center;gap:clamp(48px,7vw,116px)}
.client-access-copy{max-width:720px}.client-access-kicker,.partner-form-label{display:block;color:#22e2c0;font:650 11.5px/1 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:.14em;text-transform:uppercase}
.client-access-copy h1{margin:22px 0 24px;color:#eef3f4;font:420 clamp(54px,5vw,82px)/.94 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:-.025em;text-transform:uppercase}.client-access-copy h1 em{color:#22e2c0;font-style:normal}.client-access-copy>p{max-width:660px;margin:0;color:#8ea0a5;font-size:15px;line-height:1.7}
.client-access-actions{display:flex;gap:12px;margin-top:34px}.client-access-actions button{min-width:170px;min-height:48px;padding:0 20px;border-radius:2px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.client-access-primary{border:1px solid rgba(34,226,192,.72);background:linear-gradient(180deg,#22d7b9,#0a9c88);color:#02100e;box-shadow:inset 0 1px rgba(255,255,255,.2),0 12px 30px rgba(0,140,118,.12)}.client-access-secondary{border:1px solid rgba(119,153,160,.42);background:#031016;color:#d6e0e1}
.client-access-trust{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:30px;padding-top:21px;border-top:1px solid rgba(84,122,129,.23)}.client-access-trust span{display:flex;align-items:center;gap:8px;color:#81959a;font-size:11.5px}.client-access-trust i{color:#22e2c0;font:600 9px/1 var(--cp-display,Bahnschrift,Arial,sans-serif);font-style:normal;letter-spacing:.08em}
.client-instrument{position:relative;min-height:530px;padding:24px;border:1px solid rgba(104,145,152,.32);border-radius:3px;background:linear-gradient(145deg,rgba(7,25,31,.97),rgba(1,8,12,.99));box-shadow:0 28px 70px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.035)}.client-instrument:before{content:"";position:absolute;inset:7px;border:1px solid rgba(211,234,236,.04);pointer-events:none}.client-instrument-top{display:flex;align-items:center;justify-content:space-between;color:#81969b;font-size:10px;font-weight:650;letter-spacing:.12em}.client-instrument-top b{display:flex;align-items:center;gap:8px;color:#22e2c0}.client-instrument-top b i{width:7px;height:7px;border-radius:50%;background:#22e2c0;box-shadow:0 0 10px rgba(34,226,192,.28)}
.client-instrument-shield{display:grid;place-items:center;align-content:center;min-height:345px;text-align:center}.client-instrument-shield img{width:190px;height:190px;object-fit:contain;filter:saturate(.88) contrast(1.05)}.client-instrument-shield span{margin-top:-12px;color:#869a9f;font-size:10px;letter-spacing:.16em}.client-instrument-shield strong{margin-top:8px;color:#e8eeee;font:560 28px/1 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:.13em}.client-instrument-shield small{margin-top:9px;color:#7c9095;font-size:11.5px}
.client-instrument dl{margin:0;border-top:1px solid rgba(83,121,128,.24)}.client-instrument dl div{display:flex;justify-content:space-between;gap:18px;padding:11px 2px;border-bottom:1px solid rgba(73,108,115,.18)}.client-instrument dt{color:#70858a;font-size:10px;letter-spacing:.09em}.client-instrument dd{margin:0;color:#c6d2d4;font-size:10.5px;font-weight:650;letter-spacing:.07em;text-align:right}
.client-access>footer{position:relative;z-index:1;min-height:58px;padding:0 26px;display:flex;align-items:center;justify-content:center;gap:22px;border-top:1px solid rgba(78,116,123,.24);color:#526a70;font-size:10px;font-weight:650;letter-spacing:.13em}.client-access>footer i{width:4px;height:4px;border-radius:50%;background:#22e2c0}

.partner-access-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px;padding-top:22px;border-top:1px solid rgba(86,123,131,.24)}.partner-access-proof span{display:grid;gap:6px;color:#778d92;font-size:10.5px;line-height:1.35}.partner-access-proof b{color:#dde7e8;font:560 20px/1 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:.02em}.partner-form-label{margin-bottom:4px}
.partner-program{max-width:1340px;margin:0 auto 56px;padding:0 24px}.partner-program-intro{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(420px,1.2fr);gap:32px 80px;align-items:end;padding:50px 0 28px}.partner-program-intro .partner-kicker{grid-column:1/-1}.partner-program-intro h2{margin:0;color:#e8eeee;font:460 36px/1.06 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:-.01em}.partner-program-intro p{margin:0;color:#80949a;font-size:13px;line-height:1.65}.partner-tier-line{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(101,140,147,.3);background:#031016;box-shadow:0 20px 55px rgba(0,0,0,.42)}.partner-tier-line article{position:relative;min-height:148px;padding:24px;border-right:1px solid rgba(90,127,134,.22);background:linear-gradient(145deg,rgba(8,28,35,.96),rgba(3,13,17,.98))}.partner-tier-line article:last-child{border-right:0}.partner-tier-line article.elite{background:radial-gradient(circle at 80% 20%,rgba(215,178,78,.08),transparent 47%),linear-gradient(145deg,#17170e,#061013)}.partner-tier-line span{display:block;color:#80959a;font-size:10px;font-weight:650;letter-spacing:.11em}.partner-tier-line strong{display:block;margin:18px 0 10px;color:#22e2c0;font:500 36px/1 var(--cp-display,Bahnschrift,Arial,sans-serif)}.partner-tier-line .elite strong{color:#e3c46e}.partner-tier-line small{color:#6f858a;font-size:11.5px}.partner-program-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.partner-program-proof article{min-height:190px;padding:25px;border:1px solid rgba(101,140,147,.28);background:linear-gradient(145deg,rgba(7,23,30,.94),rgba(1,8,12,.985));box-shadow:0 18px 48px rgba(0,0,0,.35)}.partner-program-proof article>b{color:#22e2c0;font:600 11px/1 var(--cp-display,Bahnschrift,Arial,sans-serif);letter-spacing:.12em}.partner-program-proof h3{margin:22px 0 10px;color:#e5eded;font:560 21px/1.1 var(--cp-display,Bahnschrift,Arial,sans-serif)}.partner-program-proof p{margin:0;color:#7d9196;font-size:12px;line-height:1.6}.partner-legal{margin:22px 0 0;color:#667e84;font-size:10.5px;line-height:1.5;text-align:center}

html[data-theme="light"] body[data-surface="cabinet"]>.client-access{background:radial-gradient(880px 540px at 77% 34%,rgba(18,106,91,.08),transparent 68%),linear-gradient(145deg,#f9fbfa,#e4ebe9);box-shadow:0 30px 90px rgba(35,55,55,.2)}
html[data-theme="light"] .client-access-copy h1,html[data-theme="light"] .client-instrument-shield strong,html[data-theme="light"] .partner-program-intro h2,html[data-theme="light"] .partner-program-proof h3{color:#142127}
html[data-theme="light"] .client-access-copy>p,html[data-theme="light"] .client-access-trust span,html[data-theme="light"] .partner-program-intro p,html[data-theme="light"] .partner-program-proof p{color:#53696e}
html[data-theme="light"] .client-instrument,html[data-theme="light"] .partner-program-proof article{background:linear-gradient(145deg,#fff,#e8eeec);box-shadow:0 20px 48px rgba(36,55,55,.14)}
html[data-theme="light"] .partner-tier-line{background:#e5ebe9;box-shadow:0 18px 42px rgba(36,55,55,.14)}html[data-theme="light"] .partner-tier-line article{background:linear-gradient(145deg,#fff,#e9efed)}html[data-theme="light"] .partner-tier-line article.elite{background:radial-gradient(circle at 80% 20%,rgba(147,111,19,.07),transparent 47%),linear-gradient(145deg,#fffdf6,#eee7d7)}

@media(max-width:1100px){.client-access-stage{grid-template-columns:1fr minmax(370px,.72fr);gap:42px;padding-inline:42px}.client-access-copy h1{font-size:52px}.partner-program-intro{gap:30px}.partner-access-proof{grid-template-columns:1fr}.partner-tier-line{grid-template-columns:repeat(2,1fr)}.partner-tier-line article:nth-child(2){border-right:0}.partner-tier-line article:nth-child(-n+2){border-bottom:1px solid rgba(90,127,134,.22)}}
@media(max-width:760px){body[data-surface="cabinet"]>.client-access{width:100%;min-height:100vh;margin:0;border:0;border-radius:0}.client-access-header{height:76px;padding:0 14px}.client-access-brand>img{width:40px;height:48px}.client-access-brand span img{width:170px;max-width:42vw}.client-access-brand small{display:none}.client-access-header>div a{display:none}.client-access-stage{min-height:auto;padding:54px 20px 42px;grid-template-columns:1fr;gap:40px}.client-access-copy h1{margin-top:18px;font-size:clamp(41px,12vw,52px);line-height:.98}.client-access-copy>p{font-size:13.5px}.client-access-actions{display:grid;grid-template-columns:1fr 1fr}.client-access-actions button{min-width:0}.client-access-trust{display:grid;gap:10px}.client-instrument{min-height:480px}.client-instrument-shield{min-height:300px}.client-instrument-shield img{width:168px;height:168px}.client-access>footer{padding:20px;flex-wrap:wrap;gap:10px 14px;text-align:center}.client-access>footer i{display:none}.partner-program{padding:0 14px}.partner-program-intro{grid-template-columns:1fr;padding-top:34px}.partner-program-intro .partner-kicker{grid-column:auto}.partner-program-intro h2{font-size:29px}.partner-tier-line{grid-template-columns:1fr 1fr}.partner-program-proof{grid-template-columns:1fr}.partner-program-proof article{min-height:0}.partner-access-proof{display:none}}
.partner-tier-line article.elite{background:linear-gradient(145deg,rgba(8,28,35,.96),rgba(3,13,17,.98))}.partner-tier-line .elite strong{color:#22e2c0}
@media(max-width:430px){.client-access-header [data-theme-cycle]{padding:0 10px}.client-access-stage{padding-inline:16px}.client-access-copy h1{font-size:39px}.client-access-actions{grid-template-columns:1fr}.client-instrument{padding:18px;min-height:450px}.client-instrument-shield strong{font-size:23px}.partner-tier-line{grid-template-columns:1fr}.partner-tier-line article{min-height:126px;border-right:0;border-bottom:1px solid rgba(90,127,134,.22)}.partner-tier-line article:last-child{border-bottom:0}}
@media(prefers-reduced-motion:reduce){.client-access *,.partner-program *{animation:none!important;transition:none!important}}

/* source: executive-polish-v4.css */
/* HEDGERON executive polish v4
   Loaded last on commercial/review surfaces. The locked desktop Master is not
   linked to this file; only its separately defined mobile navigation changed. */

/* Branded first paint: review visitors never see a transient sign-in form. */
html.review-auth-pending body[data-surface="cabinet"],
html.review-auth-pending body[data-surface="partner"]{overflow:hidden!important}
html.review-auth-pending body[data-surface="cabinet"]>#clientAccess,
html.review-auth-pending body[data-surface="cabinet"]>#clientShell,
html.review-auth-pending body[data-surface="partner"]>.partner-shell{visibility:hidden!important}
html.review-auth-pending body[data-surface="cabinet"]:before,
html.review-auth-pending body[data-surface="partner"]:before{content:"";position:fixed;z-index:9998;inset:0;background:url('/app/hedgeron-wordmark-premium.webp') center calc(50% - 18px)/min(360px,62vw) auto no-repeat,radial-gradient(circle at 50% 42%,rgba(21,226,190,.10),transparent 27%),linear-gradient(145deg,#06151b,#010609 72%)}
html.review-auth-pending body[data-surface="cabinet"]:after,
html.review-auth-pending body[data-surface="partner"]:after{content:"SECURE REVIEW SESSION";position:fixed;z-index:9999;left:50%;top:calc(50% + 34px);transform:translateX(-50%);color:#71e9d5;font:650 10px/1.2 Inter,Arial,sans-serif;letter-spacing:.24em;white-space:nowrap;text-shadow:0 0 18px rgba(30,236,201,.45);animation:hedgeronBoot 1.25s ease-in-out infinite alternate}
@keyframes hedgeronBoot{from{opacity:.42}to{opacity:1}}

/* Mobile command navigation — five primary destinations plus a complete menu. */
.mobile-command-menu{display:none}
@media(max-width:760px){
  body[data-surface="cabinet"] .premium-sidebar nav{grid-template-columns:repeat(6,1fr)!important}
  body[data-surface="cabinet"] .premium-sidebar nav>.nav-link:nth-child(7),
  body[data-surface="cabinet"] .premium-sidebar nav>.contextual-help-nav{display:none!important}
  .mobile-command-menu{position:relative;display:block;color:#91a5aa}
  .mobile-command-menu summary{position:relative;height:100%;min-height:56px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer}
  .mobile-command-menu summary::-webkit-details-marker{display:none}
  .mobile-command-menu summary svg{width:21px;height:21px;fill:currentColor;stroke:none}
  .mobile-command-menu summary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .mobile-command-menu[open] summary{color:#41efd1;background:linear-gradient(180deg,rgba(27,231,196,.08),transparent)}
  .mobile-command-menu>div{position:fixed;z-index:120;right:8px;bottom:76px;width:min(292px,calc(100vw - 16px));padding:7px;border:1px solid rgba(84,233,207,.42);border-radius:7px;background:linear-gradient(145deg,rgba(7,27,34,.99),rgba(2,10,14,.995));box-shadow:0 30px 90px rgba(0,0,0,.82),inset 0 1px rgba(255,255,255,.06)}
  body[data-surface="cabinet"] .premium-sidebar .mobile-command-menu>div>a{display:flex!important;position:relative!important;min-height:50px!important;padding:0 14px!important;gap:12px!important;justify-content:flex-start!important;border:0!important;border-bottom:1px solid rgba(92,132,141,.22)!important;background:transparent!important;color:#c9d4d6!important;font-size:10px!important;letter-spacing:.09em!important;text-decoration:none!important}
  body[data-surface="cabinet"] .premium-sidebar .mobile-command-menu>div>a>span{display:inline!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important}
  body[data-surface="cabinet"] .premium-sidebar .mobile-command-menu>div>a:last-child{border-bottom:0!important}
  .mobile-command-menu>div>a svg{width:19px;height:19px;fill:none;stroke:#42e8ca;stroke-width:1.45}
}

/* Legibility gate: every visible operational label is at least 10 px. */
body[data-surface="cabinet"] :is(
  .command-wordmark small,.selected-engine small,.running-lock b,.running-lock span,.last-sync small,.last-sync b,
  .command-header .secondary,.console-label,.eyebrow,.financial-console span,.sentinel-console header span,
  .shield-console header small,.sentinel-console dt,.sentinel-console dd,.shield-console dt,.shield-console dd,
  .cycle-stats span,.cycle-labels span,.position-console dt,.position-console dd,.recent-console header a,
  .trade-row,.view-heading p,.view-kpi-strip span,.premium-bot-grid .bot-state,.premium-bot-grid h3 small,
  .premium-bot-grid dt,.performance-summary dt,.activity-title span,.client-grid-head,.client-mark,
  .activity-card dt,
  .client-ladder span,.shield-line,.journal-filters button,.journal-head,.protection-ready,
  .sentinel-command dt,.sentinel-command dd,.shield-command dt,.shield-command dd,.settings-card>p,
  .settings-card .calculator label,.membership-plans span,.command-main>footer,.command-main>footer span,
  .theme-selector small,.subscription-state,.empty-state,.system-state strong,.system-state small
){font-size:10px!important;line-height:1.38!important}

body[data-surface="cabinet"] :is(
  .premium-user b,.premium-user strong,.cycle-console>p,.cycle-labels,.chart-key,.chart-period,
  .chart-period b,.chart-footer,.chart-footer span,.shield-console p
){font-size:10px!important;line-height:1.38!important}

@media(min-width:761px){
  body[data-surface="cabinet"] .shield-console{padding-right:190px!important}
  body[data-surface="cabinet"] .shield-console dl{width:100%;max-width:205px}
  body[data-surface="cabinet"] .shield-console p{max-width:205px}
}

body[data-surface="paper"] :is(
  .paper-header .brand-lockup strong,.mode-lock b,.mode-lock span,.paper-header nav a,.paper-header nav button,
  .kicker,.view-tabs button,.view-tabs span,.scope-tabs button,.summary-metric span,.bot-title span,.state,
  .bot-values span,.shield-line,.legend,.protection-item strong,.pill,.protection-item p,.event-row,
  .health-row,.historical-notice,.historical-card>p,.period header,.period dt,.grid-meta,.chart-summary
){font-size:10px!important;line-height:1.38!important}
body[data-surface="paper"] .grid-core svg text{font-size:10px!important}

body[data-surface="landing"] :is(
  .nav-shell nav a,.nav-shell>.button,.theme-switch b,.tag,
  .shield-top span,.shield-top b,.signal span,.signal b,
  .float-card span,.float-card small,.strip small,.kicker,
  .verification-ribbon,.product-head small,.product dt,.capital span,
  .footnote,.footnote a,.steps p,.steps article>span,
  .audit-numbers span,.gate,.gate span,.gate b,
  .price-grid article>small,.price-grid article>span,.price-grid strong i,
  .commercial-footer-links a,.commercial-footer-links span
){font-size:10px!important;line-height:1.35!important}
body[data-surface="landing"]>footer,
body[data-surface="landing"]>footer p{font-size:10px!important;line-height:1.5!important}

/* The light canvas deliberately keeps the premium dark navigation bar. */
html.light body[data-surface="landing"] .theme-switch{
  color:#dce7e9!important;
  background:rgba(3,16,22,.78)!important;
  border-color:rgba(107,145,151,.48)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 8px 24px rgba(0,0,0,.18)!important
}
html.light body[data-surface="landing"] .theme-switch b{
  color:#dce7e9!important;
  text-shadow:0 1px 0 #000,0 0 14px rgba(220,231,233,.18)!important
}
html.light body[data-surface="landing"] .theme-switch span{
  color:#39e8d1!important;
  filter:drop-shadow(0 0 7px rgba(57,232,209,.42))
}

/* Obsidian material system: restrained depth, bright foil edges, emerald glass. */
:root:not(.light) body[data-surface="cabinet"],
:root:not(.light) body[data-surface="paper"],
:root:not(.light) body[data-surface="partner"]{background-color:#01070a!important;background-image:radial-gradient(ellipse at 78% -8%,rgba(27,219,187,.10),transparent 31%),radial-gradient(ellipse at 12% 108%,rgba(14,107,104,.08),transparent 34%),linear-gradient(rgba(92,146,151,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(92,146,151,.022) 1px,transparent 1px)!important;background-size:auto,auto,48px 48px,48px 48px!important}

:root:not(.light) body[data-surface="cabinet"] .console-panel,
:root:not(.light) body[data-surface="paper"] :is(.bot-card,.panel,.historical-card),
:root:not(.light) body[data-surface="partner"] :is(.partner-kpi,.partner-panel,.tier-card,.partner-program-proof article){border-color:rgba(111,158,166,.35)!important;background:radial-gradient(circle at 88% 0,rgba(34,227,194,.055),transparent 28%),linear-gradient(145deg,rgba(8,27,35,.985),rgba(2,10,14,.995))!important;box-shadow:inset 0 1px rgba(230,249,249,.065),inset 1px 0 rgba(129,184,191,.025),0 18px 52px rgba(0,0,0,.46)!important}

:root:not(.light) body[data-surface="cabinet"] .console-panel:after,
:root:not(.light) body[data-surface="paper"] :is(.bot-card,.panel):after{content:"";position:absolute;inset:4px;border:1px solid rgba(216,245,244,.025);border-radius:3px;pointer-events:none}

:root:not(.light) body[data-surface="cabinet"] .console-panel:hover,
:root:not(.light) body[data-surface="paper"] :is(.bot-card,.panel):hover{border-color:rgba(88,217,196,.48)!important;box-shadow:inset 0 1px rgba(236,255,255,.09),0 22px 58px rgba(0,0,0,.52),0 0 26px rgba(19,217,183,.035)!important}

body[data-surface="cabinet"] :is(.capital-value,.financial-console b,.performance-summary dd),
body[data-surface="paper"] :is(.summary-metric strong,.bot-values strong),
body[data-surface="partner"] :is(.partner-kpi strong,.partner-hero strong){font-variant-numeric:tabular-nums lining-nums;text-rendering:geometricPrecision}

:root:not(.light) body[data-surface="cabinet"] :is(.capital-value,.view-heading h1),
:root:not(.light) body[data-surface="paper"] :is(.panel h2,.bot-title strong),
:root:not(.light) body[data-surface="partner"] :is(h1,h2,.partner-kpi strong){text-shadow:0 1px rgba(255,255,255,.08),0 8px 28px rgba(0,0,0,.48)}

/* Client-specific hierarchy and precision. */
:root:not(.light) body[data-surface="cabinet"] .command-header{background:linear-gradient(180deg,rgba(5,20,27,.92),rgba(2,10,14,.72));box-shadow:0 12px 36px rgba(0,0,0,.18)}
:root:not(.light) body[data-surface="cabinet"] .premium-sidebar{background:radial-gradient(circle at 50% 6%,rgba(32,232,198,.07),transparent 18%),linear-gradient(180deg,#06161d,#02090d 72%)!important;box-shadow:18px 0 48px rgba(0,0,0,.24)}
:root:not(.light) body[data-surface="cabinet"] .capital-console:before{background:linear-gradient(112deg,rgba(255,255,255,.05),transparent 19%),radial-gradient(circle at 82% 45%,rgba(35,224,193,.075),transparent 26%)}
:root:not(.light) body[data-surface="cabinet"] .capital-value{background:linear-gradient(180deg,#fff 8%,#d8e0e2 43%,#8d9ca1 58%,#f4f7f7 76%,#aab7ba);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 5px 10px rgba(0,0,0,.5))}
:root:not(.light) body[data-surface="cabinet"] .asset-crystal{filter:drop-shadow(0 0 14px rgba(29,237,204,.34)) saturate(1.18)}
:root:not(.light) body[data-surface="cabinet"] .performance-chart{background-color:#031116!important;background-image:linear-gradient(rgba(47,231,202,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(47,231,202,.038) 1px,transparent 1px),radial-gradient(ellipse at 72% 18%,rgba(27,218,186,.06),transparent 38%)!important}
:root:not(.light) body[data-surface="cabinet"] .shield-console{border-color:rgba(181,140,46,.48)!important;background:radial-gradient(circle at 83% 48%,rgba(221,171,53,.12),transparent 27%),linear-gradient(145deg,#15150d,#050b0e 70%)!important}

/* Paper becomes an operator-grade instrument, not a generic metrics page. */
:root:not(.light) body[data-surface="paper"] .paper-header{padding-inline:2px;background:linear-gradient(180deg,rgba(7,23,30,.88),rgba(2,9,13,.35));box-shadow:0 16px 44px rgba(0,0,0,.22)}
:root:not(.light) body[data-surface="paper"] .summary-grid{border-color:rgba(104,153,161,.38)!important;background:linear-gradient(145deg,#071a21,#030b0f)!important;box-shadow:0 20px 60px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.06)!important}
:root:not(.light) body[data-surface="paper"] .summary-metric{background:radial-gradient(circle at 80% 0,rgba(33,230,196,.07),transparent 35%),linear-gradient(180deg,rgba(8,29,37,.95),rgba(3,13,17,.98))!important}
:root:not(.light) body[data-surface="paper"] .summary-metric strong{background:linear-gradient(180deg,#f9ffff,#aebcc0 72%,#f4fafa);-webkit-background-clip:text;background-clip:text;color:transparent}
:root:not(.light) body[data-surface="paper"] .summary-metric strong.positive{background:linear-gradient(180deg,#8cffe9,#16dab7 72%,#b3fff1);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 0 8px rgba(36,232,198,.18))}
:root:not(.light) body[data-surface="paper"] .chart-wrap{box-shadow:inset 0 0 70px rgba(0,0,0,.34),0 1px rgba(255,255,255,.025)}
body[data-surface="paper"] .pnl-breakdown{display:flex;flex-wrap:wrap;gap:7px 16px;margin:14px 0 2px;padding:10px 12px;border:1px solid rgba(91,129,137,.2);border-radius:3px;background:rgba(2,12,16,.46)}
body[data-surface="paper"] .pnl-breakdown span{color:#82959b;font-size:11.5px;letter-spacing:.035em}
body[data-surface="paper"] .pnl-breakdown b{margin-left:5px;color:#d7e0e2;font-variant-numeric:tabular-nums lining-nums}
body[data-surface="paper"] .pnl-breakdown b.positive{color:#35e3c2}
body[data-surface="paper"] .pnl-breakdown b.warning{color:#e9b95d}
html[data-theme="light"] body[data-surface="paper"] .pnl-breakdown{border-color:rgba(40,76,83,.24);background:rgba(231,239,238,.82)}
html[data-theme="light"] body[data-surface="paper"] .pnl-breakdown span{color:#4d6268}
html[data-theme="light"] body[data-surface="paper"] .pnl-breakdown b{color:#173038}

/* Partner surface inherits the same physical materials and stronger hierarchy. */
:root:not(.light) body[data-surface="partner"] .partner-header{background:linear-gradient(180deg,rgba(6,22,29,.96),rgba(2,9,13,.78));box-shadow:0 16px 50px rgba(0,0,0,.28)}
:root:not(.light) body[data-surface="partner"] .partner-dashboard:before{content:"";position:fixed;z-index:-1;right:-8vw;top:18vh;width:44vw;height:44vw;border-radius:50%;background:radial-gradient(circle,rgba(31,229,196,.07),transparent 64%);pointer-events:none}
:root:not(.light) body[data-surface="partner"] .partner-review{border-color:rgba(60,231,201,.42);background:linear-gradient(90deg,rgba(10,48,45,.78),rgba(4,19,24,.72));box-shadow:inset 0 1px rgba(255,255,255,.05),0 12px 32px rgba(0,0,0,.22)}

/* Telegram is presented as a security channel, not as a social widget. */
body[data-surface="cabinet"] .telegram-panel{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(430px,1.28fr);gap:42px;min-height:360px;margin-top:10px;padding:34px!important}
.telegram-copy h2{margin:18px 0 12px;font-size:28px;letter-spacing:.025em}.telegram-copy>p{max-width:470px;color:#8ca0a6;font-size:12px;line-height:1.7}
.telegram-security{display:flex;flex-wrap:wrap;gap:7px;margin-top:28px}.telegram-security span{padding:7px 9px;border:1px solid rgba(74,209,186,.25);border-radius:3px;color:#7ecfbe;background:rgba(18,106,92,.07);font-size:10px;letter-spacing:.09em}
.telegram-control{display:grid;align-content:start;gap:16px}.telegram-state{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid rgba(101,148,157,.34);border-radius:5px;background:linear-gradient(135deg,rgba(7,26,33,.82),rgba(3,12,16,.94))}.telegram-state>i{width:10px;height:10px;border-radius:50%;background:#59696d;box-shadow:0 0 0 5px rgba(114,134,138,.08)}.telegram-state>i.active{background:#27e1bd;box-shadow:0 0 0 5px rgba(39,225,189,.09),0 0 17px rgba(39,225,189,.7)}.telegram-state>span{display:grid;gap:4px}.telegram-state small{color:#7e9197;font-size:10px;letter-spacing:.12em}.telegram-state strong{color:#dce6e7;font-size:12px;letter-spacing:.035em}.telegram-state>b{margin-left:auto;color:#35e3c2;font-size:10px;letter-spacing:.12em}
#telegramPreferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#telegramPreferences label{display:flex;align-items:center;gap:9px;min-height:38px;padding:8px 10px;border:1px solid rgba(88,128,137,.22);border-radius:4px;color:#aab9bc;background:rgba(3,15,20,.55);font-size:10px;letter-spacing:.025em}#telegramPreferences input{width:14px;height:14px;margin:0;accent-color:#25dab8}#telegramPreferences button{grid-column:1/-1;min-height:39px}
.telegram-actions{display:flex;gap:8px}.telegram-actions button{min-height:40px}.telegram-actions .danger-action:not(:disabled){border-color:rgba(255,103,93,.32)!important;color:#dd8f89!important}.telegram-actions button:disabled,#telegramPreferences :disabled{opacity:.38;cursor:not-allowed}
.telegram-deliveries{border-top:1px solid rgba(91,133,141,.24)}.telegram-deliveries>div{display:grid;grid-template-columns:1fr auto auto;gap:13px;padding:8px 2px;border-bottom:1px solid rgba(91,133,141,.16);font-size:10px}.telegram-deliveries span{color:#a7b6b9}.telegram-deliveries time{color:#72868b}.telegram-deliveries p{margin:10px 0;color:#71858a;font-size:10px}
:root.light body[data-surface="cabinet"] .telegram-panel{background:linear-gradient(145deg,#fff,#edf4f3)!important}:root.light .telegram-copy>p,:root.light .telegram-state strong,:root.light #telegramPreferences label{color:#31484c}:root.light .telegram-state,:root.light #telegramPreferences label{background:rgba(240,248,247,.9)}

@media(prefers-reduced-motion:reduce){html.review-auth-pending body:after{animation:none}.console-panel,.bot-card,.panel{transition:none!important}}

@media(max-width:760px){
  html.review-auth-pending body[data-surface="cabinet"]:before,
  html.review-auth-pending body[data-surface="partner"]:before{background-size:min(280px,72vw),auto,auto}
  body[data-surface="cabinet"] .command-main>footer{font-size:10px!important}
  body[data-surface="paper"] .paper-shell{padding-bottom:34px}
  body[data-surface="partner"] .partner-header{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  body[data-surface="partner"] .partner-header nav>a,
  body[data-surface="partner"] .partner-header nav>button:not([data-theme-cycle]){display:none!important}
  body[data-surface="cabinet"] .telegram-panel{grid-template-columns:1fr;gap:22px;min-height:0;padding:23px!important}
  #telegramPreferences{grid-template-columns:1fr}.telegram-actions{display:grid;grid-template-columns:1fr 1fr}.telegram-actions .danger-action{grid-column:1/-1}
}

@media(max-width:430px){body[data-surface="partner"] .partner-header nav{display:none!important}}
