:root{--bg: #0d1315;--panel: rgba(16, 29, 33, .88);--line: rgba(120, 176, 177, .24);--text: #eff7f5;--muted: #97b8b1;--accent: #ff8d5c;--accent-2: #56d7c8;--danger: #ff6262;--shadow: 0 24px 70px rgba(0, 0, 0, .35);font-family:Space Grotesk,Segoe UI,sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(255,141,92,.22),transparent 28%),radial-gradient(circle at bottom right,rgba(86,215,200,.17),transparent 32%),linear-gradient(180deg,#101718,#091012)}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--text);background:transparent;overflow-x:hidden}button,input,select{font:inherit}input,select{width:100%;min-width:0;border:1px solid var(--line);background:#ffffff0a;color:var(--text);border-radius:12px;padding:.8rem .95rem}button{border:0;border-radius:999px;padding:.7rem 1rem;cursor:pointer;transition:transform .15s ease,opacity .15s ease}button:hover{transform:translateY(-1px);opacity:.96}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(86,215,200,.7);outline-offset:2px}button:disabled{cursor:wait;opacity:.55;transform:none}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.9rem .85rem;border-bottom:1px solid rgba(255,255,255,.07);vertical-align:top}th{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}h1,h2,h3,h4,p{margin-top:0}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh;min-width:0}.sidebar{padding:2rem 1.4rem;border-right:1px solid rgba(255,255,255,.06);background:#060c0ea6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:flex;flex-direction:column;gap:1.5rem;min-width:0}.main-panel{padding:2rem;display:flex;flex-direction:column;gap:1rem;min-width:0}.hero,.panel,.auth-panel,.notice-bar{background:var(--panel);border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow);border-radius:28px;padding:1.35rem;min-width:0}.notice-bar{color:var(--accent-2)}.notice-error{color:#ffd1d1;border-color:#ff626273}.notice-success{color:#c8f5dc}.risk-banner{padding:.8rem 1rem;border-radius:14px;color:#ffe1b3;background:#ffa54921;border:1px solid rgba(255,165,73,.35)}.risk-banner button{margin-left:.75rem}.live-toolbar,.pagination{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;color:var(--muted);font-size:.86rem}.live-toolbar{justify-content:flex-end}.freshness{color:#bdeccf}.freshness.refreshing{color:#ffe1b3}.freshness-chip{border:1px solid var(--line);border-radius:999px;padding:.22rem .55rem}.freshness-error{color:#ffd1d1;border-color:#ff62628c}.freshness-pending{color:#ffe1b3}.freshness-fresh{color:#bdeccf}.preflight{border-left:3px solid var(--accent);padding:.65rem .8rem;color:#ffe1b3;background:#ff8d5c14;border-radius:8px;font-size:.9rem}.preflight.ready{border-left-color:var(--accent-2);color:#c8f5dc}.table-meta{color:var(--muted);font-size:.85rem}.pagination{justify-content:flex-end;padding-top:.75rem}.trace-cell{min-width:200px;color:var(--muted);font-size:.82rem}.trace-cell span{display:inline}.trace-warning,.stat-risk strong{color:#ffe1b3}.nav-toggle{display:none}.grid.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.stack{display:flex;flex-direction:column;gap:.85rem}.eyebrow{margin:0;color:var(--accent-2);text-transform:uppercase;letter-spacing:.15em;font-size:.78rem}.lede,.muted-cell,.notice,.toggle,.stat-block span{color:var(--muted)}.tab-list{display:flex;flex-direction:column;gap:.5rem}.tab{text-align:left;padding:.95rem 1rem;border-radius:16px;background:transparent;color:var(--text)}.tab.active{background:linear-gradient(135deg,#ff8d5c3d,#56d7c829);border:1px solid rgba(255,255,255,.08)}.sidebar-footer,.toolbar,.toolbar-form,.actions,.mini-grid,.stats-grid{display:flex;gap:.75rem}.sidebar-footer{margin-top:auto}.toolbar{align-items:center;justify-content:space-between;margin-bottom:1rem;flex-wrap:wrap}.toolbar-form,.actions,.mini-grid,.stats-grid{flex-wrap:wrap}.toolbar-form>*,.mini-grid>*{flex:1 1 140px}.actions{align-items:flex-start}.actions button{white-space:nowrap}td.actions{min-width:220px}.stats-grid{margin-top:1rem}.stat-block{min-width:180px;display:flex;flex-direction:column;gap:.35rem}.primary{background:linear-gradient(135deg,var(--accent),#ffb36b);color:#18120e}.secondary{background:#ffffff14;color:var(--text)}.danger{background:#ff626226;color:#ffd1d1}.status-pill{display:inline-flex;align-items:center;padding:.25rem .7rem;border-radius:999px;font-size:.82rem;border:1px solid rgba(255,255,255,.08)}tr.bet-row-open td{background:#5699ff1a}tr.bet-row-won td{background:#43c4841a}tr.bet-row-lost td{background:#ff62621a}tr.bet-row-uncertain td{background:#ffa5491f}tr.bet-row-void td{background:#97b8b114}.status-pill.bet-row-uncertain{background:#ffa5492e;color:#ffe1b3}.status-pill.bet-row-void{background:#97b8b129;color:#d6e7e2}.status-pill.bet-row-open{background:#5699ff2e;color:#b9d4ff}.status-pill.bet-row-won{background:#43c4842e;color:#bdeccf}.status-pill.bet-row-lost{background:#ff62622e;color:#ffd1d1}.status-active{background:#43c4842e;color:#bdeccf}.status-inactive{background:#97b8b11f;color:#d6e7e2}tr.runtime-stale td{background:#ffa5491f}.muted,.hint{color:var(--muted)}.toggle{display:flex;align-items:center;gap:.6rem}.toggle input{width:auto}.log-viewer{background:#060b0de6;border-radius:18px;padding:1rem;width:100%;max-width:100%;overflow:auto}.log-viewer pre{white-space:pre-wrap;word-break:break-word;color:#c8e8df;max-height:360px;overflow:auto;margin:0}.table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:760px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth-panel{width:min(520px,100%)}@media (max-width: 1200px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;top:0;bottom:0;left:0;width:min(320px,88vw);transform:translate(-105%);transition:transform .2s ease;border-right:1px solid rgba(255,255,255,.12);padding-top:4.75rem}.sidebar-open{transform:translate(0)}.nav-toggle{display:block;position:fixed;z-index:21;top:1rem;left:1rem;background:#101d21f5;color:var(--text)}.main-panel{padding-top:4.6rem}.grid.two-columns{grid-template-columns:1fr}}@media (max-width: 720px){.sidebar{padding:4.75rem 1rem 1rem}.main-panel{padding:4.6rem 1rem 1rem}.hero,.panel,.auth-panel,.notice-bar{padding:1rem;border-radius:22px}.table-wrap table{min-width:620px}td.actions{min-width:200px}.stats-grid .stat-block{min-width:calc(50% - .75rem)}.live-toolbar{justify-content:flex-start}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
