.algo-live-chart[data-v-c9ef73b1]{min-height:0;flex:1 1 auto;display:grid;grid-template-rows:auto auto minmax(300px,1fr) auto;overflow:hidden;background:var(--module-bg)}.chart-command-bar[data-v-c9ef73b1]{min-height:56px;display:grid;grid-template-columns:minmax(240px,1fr) minmax(230px,340px) auto;align-items:center;gap:12px;padding:7px 12px;border-bottom:1px solid var(--line);background:var(--surface)}.chart-instrument[data-v-c9ef73b1]{min-width:0;display:grid;grid-template-columns:minmax(0,auto) auto;align-items:baseline;gap:1px 12px}.chart-instrument span[data-v-c9ef73b1]{grid-column:1 / -1;color:var(--dim);font-size:9px;text-transform:uppercase}.chart-instrument strong[data-v-c9ef73b1]{overflow:hidden;color:var(--paper);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.chart-instrument b[data-v-c9ef73b1]{color:var(--accent-cyan);font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}.chart-strategy-picker[data-v-c9ef73b1]{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.chart-strategy-picker span[data-v-c9ef73b1]{color:var(--dim);font-size:9px;text-transform:uppercase}.chart-strategy-picker select[data-v-c9ef73b1]{width:100%;height:34px;min-width:0;padding:0 28px 0 9px;border:1px solid var(--line-strong);border-radius:5px;outline:none;background:var(--ground);color:var(--paper);font-size:11px}.chart-layer-controls[data-v-c9ef73b1]{display:flex;align-items:center;gap:5px}.chart-layer-controls button[data-v-c9ef73b1]{height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:var(--ground);color:var(--dim);font-size:9px;cursor:pointer}.chart-layer-controls button[data-v-c9ef73b1]:hover{border-color:var(--line-strong);color:var(--paper)}.chart-layer-controls button.active[data-v-c9ef73b1]{border-color:var(--amber);background:var(--amber-soft);color:var(--paper)}.chart-layer-controls button[data-v-c9ef73b1]:disabled{cursor:wait;opacity:.55}.chart-layer-controls button i[data-v-c9ef73b1]{width:7px;height:7px;border:1px solid currentColor;transform:rotate(45deg)}.chart-status-strip[data-v-c9ef73b1]{min-height:32px;display:flex;align-items:center;gap:14px;padding:0 12px;border-bottom:1px solid var(--line);background:var(--ground);color:var(--dim);font-size:9px}.chart-engine-state[data-v-c9ef73b1]{display:inline-flex;align-items:center;gap:5px;color:var(--dim);font-weight:750;text-transform:uppercase}.chart-engine-state i[data-v-c9ef73b1]{width:6px;height:6px;border-radius:50%;background:var(--dim)}.chart-engine-state.running[data-v-c9ef73b1]{color:var(--mint)}.chart-engine-state.running i[data-v-c9ef73b1]{background:var(--mint);box-shadow:0 0 0 3px color-mix(in srgb,var(--mint) 12%,transparent)}.chart-ohlc[data-v-c9ef73b1]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.chart-ohlc b[data-v-c9ef73b1]{margin-left:7px;color:var(--muted);font-size:8px}.chart-ohlc b[data-v-c9ef73b1]:first-child{margin-left:0}.chart-status-strip time[data-v-c9ef73b1]{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.chart-canvas-wrap[data-v-c9ef73b1]{position:relative;min-width:0;min-height:0;overflow:hidden}.chart-canvas[data-v-c9ef73b1]{position:absolute;top:0;right:0;bottom:0;left:0}.chart-position-rail[data-v-c9ef73b1]{position:absolute;z-index:4;top:9px;left:10px;max-width:min(840px,calc(100% - 96px));display:grid;gap:5px;pointer-events:none}.chart-position-rail article[data-v-c9ef73b1]{min-width:580px;display:grid;grid-template-columns:minmax(160px,1.5fr) repeat(4,minmax(72px,.7fr)) 32px;align-items:center;gap:8px;padding:6px 7px;border:1px solid var(--line-strong);border-left:3px solid var(--accent-cyan);border-radius:6px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 8px 24px #00000038;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:auto}.chart-position-rail article>span[data-v-c9ef73b1]{min-width:0;display:grid;gap:1px}.chart-position-rail article>span[data-v-c9ef73b1]:first-child{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1px 6px}.chart-position-rail article>span:first-child b[data-v-c9ef73b1]{grid-row:1 / 3;padding:2px 4px;border:1px solid var(--line-strong);border-radius:3px;color:var(--amber);font-size:8px}.chart-position-rail article>span:first-child small[data-v-c9ef73b1]{grid-column:2}.chart-position-rail small[data-v-c9ef73b1]{overflow:hidden;color:var(--dim);font-size:8px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chart-position-rail strong[data-v-c9ef73b1]{overflow:hidden;color:var(--paper);font-size:11px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.chart-position-rail .chart-position-pnl strong[data-v-c9ef73b1]{font-size:13px}.chart-position-rail .positive[data-v-c9ef73b1]{color:var(--mint)}.chart-position-rail .negative[data-v-c9ef73b1]{color:var(--coral)}.chart-position-rail button[data-v-c9ef73b1]{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--coral);border-radius:5px;background:var(--surface);color:var(--coral);cursor:pointer}.chart-position-rail button[data-v-c9ef73b1]:hover{background:var(--coral-soft)}.chart-empty-state[data-v-c9ef73b1]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-content:center;justify-items:center;gap:7px;padding:24px;background:var(--module-bg);text-align:center}.chart-empty-state svg[data-v-c9ef73b1]{color:var(--amber)}.chart-empty-state strong[data-v-c9ef73b1]{color:var(--paper);font-size:14px}.chart-empty-state span[data-v-c9ef73b1]{max-width:480px;color:var(--muted);font-size:10px;line-height:1.5}.chart-inline-error[data-v-c9ef73b1]{position:absolute;top:8px;left:50%;z-index:5;max-width:min(520px,calc(100% - 24px));padding:6px 9px;border:1px solid var(--coral);border-radius:5px;background:var(--surface);color:var(--coral);font-size:9px;transform:translate(-50%)}.chart-evidence-bar[data-v-c9ef73b1]{min-height:38px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:5px 12px;border-top:1px solid var(--line);background:var(--surface);color:var(--dim);font-size:9px}.chart-evidence-bar>span[data-v-c9ef73b1]:first-child{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.chart-evidence-bar>span:first-child i[data-v-c9ef73b1]{width:6px;height:6px;border-radius:50%;background:var(--mint)}.chart-evidence-bar>span[data-v-c9ef73b1]:nth-child(2){min-width:0;display:flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-evidence-bar b[data-v-c9ef73b1]{color:var(--muted);font-size:9px}.chart-evidence-bar small[data-v-c9ef73b1]{white-space:nowrap}:root[data-autobot-appearance=eye-safe]{border-radius:1px}@media(max-width:1120px){.chart-command-bar[data-v-c9ef73b1]{grid-template-columns:minmax(180px,1fr) minmax(210px,280px)}.chart-layer-controls[data-v-c9ef73b1]{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:680px){.algo-live-chart[data-v-c9ef73b1]{width:100%;min-width:0;grid-template-rows:auto auto minmax(360px,1fr) auto}.chart-command-bar[data-v-c9ef73b1]{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:7px 8px}.chart-instrument[data-v-c9ef73b1]{grid-template-columns:minmax(0,1fr) auto}.chart-instrument strong[data-v-c9ef73b1]{font-size:12px}.chart-instrument b[data-v-c9ef73b1]{font-size:16px}.chart-strategy-picker[data-v-c9ef73b1]{grid-column:1 / -1;grid-row:2}.chart-layer-controls[data-v-c9ef73b1]{grid-column:1 / -1;grid-row:3;justify-content:stretch;max-width:calc(100vw - 16px);overflow-x:auto;scrollbar-width:thin}.chart-layer-controls button[data-v-c9ef73b1]{flex:1 0 auto}.chart-status-strip[data-v-c9ef73b1]{gap:8px;padding-inline:8px}.chart-ohlc[data-v-c9ef73b1]{display:none}.chart-position-rail[data-v-c9ef73b1]{top:6px;right:6px;left:6px;max-width:none;overflow-x:auto}.chart-position-rail article[data-v-c9ef73b1]{min-width:520px}.chart-evidence-bar[data-v-c9ef73b1]{grid-template-columns:minmax(0,1fr) auto;padding-inline:8px}.chart-evidence-bar>span[data-v-c9ef73b1]:first-child{display:none}}@media(max-width:420px){.chart-command-bar[data-v-c9ef73b1],.chart-status-strip[data-v-c9ef73b1],.chart-evidence-bar[data-v-c9ef73b1]{padding-inline:6px}.chart-position-rail[data-v-c9ef73b1]{right:4px;left:4px}}.risk-scrim[data-v-e2eae20d]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;display:grid;place-items:center;padding:14px;background:#000000ad}.risk-editor[data-v-e2eae20d]{width:min(560px,100%);overflow:hidden;border:1px solid var(--border);border-radius:6px;background:var(--surface-strong);color:var(--text);box-shadow:0 20px 60px #00000059}.risk-editor>header[data-v-e2eae20d]{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border)}.risk-editor header small[data-v-e2eae20d],.risk-editor header strong[data-v-e2eae20d],.risk-editor header span[data-v-e2eae20d]{display:block}.risk-editor header small[data-v-e2eae20d]{color:var(--muted);font-size:9px;text-transform:uppercase}.risk-editor header strong[data-v-e2eae20d]{margin-top:2px;font-size:17px}.risk-editor header span[data-v-e2eae20d]{margin-top:3px;color:var(--muted);font-size:10px}.risk-editor header button[data-v-e2eae20d]{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--border);border-radius:4px;background:var(--surface-raised);color:inherit}.risk-tabs[data-v-e2eae20d]{display:grid;grid-template-columns:1fr 1fr;padding:8px;gap:5px;border-bottom:1px solid var(--border)}.risk-tabs button[data-v-e2eae20d]{height:36px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted)}.risk-tabs button.active[data-v-e2eae20d]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--text)}.risk-fields[data-v-e2eae20d]{padding:8px 16px}.risk-fields>label[data-v-e2eae20d],.trailing-fields label[data-v-e2eae20d]{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;min-height:54px;border-bottom:1px solid var(--border);gap:10px}.risk-fields label>span[data-v-e2eae20d]{font-size:10px;color:var(--muted)}.risk-fields input[data-v-e2eae20d],.risk-fields select[data-v-e2eae20d]{width:100%;height:36px;padding:0 9px;border:1px solid var(--border);border-radius:4px;background:var(--input);color:inherit}.risk-fields label small[data-v-e2eae20d]{grid-column:2;color:var(--muted);font-size:9px;margin-top:-8px;margin-bottom:7px}.trailing-fields[data-v-e2eae20d]{display:grid;grid-template-columns:1fr 1fr;gap:14px}.trailing-fields label[data-v-e2eae20d]{grid-template-columns:76px 1fr}.restore-note[data-v-e2eae20d]{display:flex;align-items:flex-start;gap:8px;margin:12px 0;padding:11px;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:10px;line-height:1.45}.risk-error[data-v-e2eae20d]{margin:0 16px 10px;padding:9px;border:1px solid color-mix(in srgb,var(--danger) 45%,transparent);color:var(--danger);font-size:10px}.risk-editor>footer[data-v-e2eae20d]{display:flex;justify-content:flex-end;gap:7px;padding:12px 16px;border-top:1px solid var(--border)}.risk-editor footer button[data-v-e2eae20d]{height:36px;display:flex;align-items:center;gap:6px;padding:0 13px;border:1px solid var(--border);border-radius:4px;background:var(--surface-raised);color:inherit}.risk-editor footer .primary[data-v-e2eae20d]{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}@media(max-width:580px){.risk-scrim[data-v-e2eae20d]{place-items:end center;padding:0}.risk-editor[data-v-e2eae20d]{width:100%;max-height:90dvh;border-radius:6px 6px 0 0}.risk-fields>label[data-v-e2eae20d]{grid-template-columns:1fr;gap:6px;padding:9px 0}.risk-fields label small[data-v-e2eae20d]{grid-column:1;margin:0}.trailing-fields[data-v-e2eae20d]{grid-template-columns:1fr}.trailing-fields label[data-v-e2eae20d]{grid-template-columns:76px 1fr}}.wizard-scrim[data-v-ae9b291e]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;background:#0000009e;display:grid;place-items:center;padding:18px}.settings-wizard[data-v-ae9b291e]{width:min(1180px,100%);height:min(940px,calc(100dvh - 36px));min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:var(--surface,#101417);border:1px solid var(--border,#30383e);box-shadow:0 22px 70px #00000073;border-radius:7px;overflow:hidden;color:var(--text,#e7e9e9)}.wizard-header[data-v-ae9b291e]{min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--border,#30383e);background:var(--surface-strong,#0c1012)}.wizard-header>button[data-v-ae9b291e]{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--border,#30383e);background:transparent;color:inherit;border-radius:5px}.wizard-title[data-v-ae9b291e]{display:flex;align-items:center;gap:11px}.wizard-title>span[data-v-ae9b291e]{width:34px;height:34px;display:grid;place-items:center;color:var(--accent,#d6a84b);background:color-mix(in srgb,var(--accent,#d6a84b) 12%,transparent);border-radius:5px}.wizard-title small[data-v-ae9b291e],.wizard-title h2[data-v-ae9b291e]{display:block;margin:0}.wizard-title small[data-v-ae9b291e]{text-transform:uppercase;font-size:10px;color:var(--muted,#94a0a6)}.wizard-title h2[data-v-ae9b291e]{font-size:17px;letter-spacing:0}.wizard-loading[data-v-ae9b291e]{grid-row:2/5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.wizard-loading small[data-v-ae9b291e]{color:var(--muted,#94a0a6)}.wizard-steps[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(5,1fr);padding:10px 18px;border-bottom:1px solid var(--border,#30383e);gap:7px}.wizard-steps button[data-v-ae9b291e]{display:flex;align-items:center;gap:8px;padding:8px;border:0;background:transparent;color:var(--muted,#94a0a6);text-align:left;border-radius:5px}.wizard-steps button span[data-v-ae9b291e]{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--border,#30383e);border-radius:50%;font-size:11px}.wizard-steps button strong[data-v-ae9b291e]{font-size:12px}.wizard-steps button.active[data-v-ae9b291e]{background:var(--surface-raised,#181e22);color:var(--text,#e7e9e9)}.wizard-steps button.active span[data-v-ae9b291e]{border-color:var(--accent,#d6a84b);color:var(--accent,#d6a84b)}.wizard-steps button.complete span[data-v-ae9b291e]{background:var(--positive,#31b57b);border-color:var(--positive,#31b57b);color:#07130d}.wizard-body[data-v-ae9b291e]{min-height:0;min-width:0;width:100%;margin:0;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:var(--muted,#94a0a6) var(--surface-raised,#181e22);padding:20px}.wizard-step-heading[data-v-ae9b291e]{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.wizard-step-heading span[data-v-ae9b291e]{font-size:10px;text-transform:uppercase;color:var(--accent,#d6a84b)}.wizard-step-heading h3[data-v-ae9b291e]{margin:3px 0;font-size:21px;letter-spacing:0}.wizard-step-heading p[data-v-ae9b291e]{margin:0;color:var(--muted,#94a0a6);font-size:12px}.wizard-step-heading em[data-v-ae9b291e]{font-style:normal;font-size:11px;color:var(--muted,#94a0a6);padding-top:4px}.strategy-picker[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.strategy-picker button[data-v-ae9b291e]{min-height:76px;padding:12px;text-align:left;background:var(--surface-raised,#181e22);border:1px solid var(--border,#30383e);color:inherit;border-radius:5px}.strategy-picker button strong[data-v-ae9b291e],.strategy-picker button small[data-v-ae9b291e]{display:block}.strategy-picker button small[data-v-ae9b291e]{margin-top:5px;color:var(--muted,#94a0a6);line-height:1.35}.strategy-picker button.active[data-v-ae9b291e]{border-color:var(--accent,#d6a84b);box-shadow:inset 3px 0 var(--accent,#d6a84b)}.field-groups[data-v-ae9b291e]{display:grid;gap:14px}.field-group>header[data-v-ae9b291e]{display:flex;align-items:center;justify-content:space-between;padding:0 2px 6px}.field-group>header strong[data-v-ae9b291e]{font-size:11px;text-transform:uppercase;color:var(--accent,#d6a84b)}.field-group>header small[data-v-ae9b291e]{font-size:9px;color:var(--muted,#94a0a6)}.field-grid[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border,#30383e);border-left:1px solid var(--border,#30383e)}.setting-field[data-v-ae9b291e]{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) minmax(138px,42%);align-items:center;gap:15px;padding:11px 13px;border-right:1px solid var(--border,#30383e);border-bottom:1px solid var(--border,#30383e)}.setting-field>span:first-child strong[data-v-ae9b291e],.setting-field>span:first-child small[data-v-ae9b291e]{display:block}.setting-field>span:first-child strong[data-v-ae9b291e]{font-size:12px}.setting-field>span:first-child small[data-v-ae9b291e]{font-size:10px;line-height:1.35;color:var(--muted,#94a0a6);margin-top:4px}.field-control[data-v-ae9b291e]{display:flex;align-items:center;min-width:0}.field-control input[data-v-ae9b291e],.field-control select[data-v-ae9b291e],.expiry-planner select[data-v-ae9b291e]{width:100%;height:36px;background:var(--input,#0b0f11);border:1px solid var(--border,#30383e);border-radius:4px;color:inherit;padding:0 10px;font:inherit}.field-control em[data-v-ae9b291e]{font-size:10px;font-style:normal;color:var(--muted,#94a0a6);margin-left:7px}.setting-field.switch>button[data-v-ae9b291e]{justify-self:end;min-width:74px;height:32px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border,#30383e);background:var(--input,#0b0f11);color:var(--muted,#94a0a6);border-radius:4px}.setting-field.switch>button i[data-v-ae9b291e]{width:8px;height:8px;border-radius:50%;background:currentColor}.setting-field.switch>button.active[data-v-ae9b291e]{color:var(--positive,#31b57b);border-color:color-mix(in srgb,var(--positive,#31b57b) 55%,var(--border,#30383e))}.expiry-planner[data-v-ae9b291e]{margin-bottom:15px;padding:14px;border:1px solid var(--border,#30383e);background:var(--surface-raised,#181e22);border-radius:5px}.expiry-planner>header[data-v-ae9b291e]{display:flex;gap:9px;align-items:center}.expiry-planner header strong[data-v-ae9b291e],.expiry-planner header small[data-v-ae9b291e]{display:block}.expiry-planner header small[data-v-ae9b291e]{color:var(--muted,#94a0a6);font-size:10px}.expiry-mode[data-v-ae9b291e]{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.expiry-mode button[data-v-ae9b291e]{padding:10px;text-align:left;background:var(--input,#0b0f11);border:1px solid var(--border,#30383e);color:inherit;border-radius:4px}.expiry-mode button strong[data-v-ae9b291e],.expiry-mode button small[data-v-ae9b291e]{display:block}.expiry-mode button small[data-v-ae9b291e]{font-size:10px;color:var(--muted,#94a0a6);margin-top:3px}.expiry-mode button.active[data-v-ae9b291e]{border-color:var(--accent,#d6a84b)}.expiry-week[data-v-ae9b291e]{display:grid;grid-template-columns:180px 1fr;align-items:center}.expiry-days[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.expiry-days label span[data-v-ae9b291e],.expiry-week span[data-v-ae9b291e]{display:block;font-size:10px;color:var(--muted,#94a0a6);margin-bottom:4px}.settings-review[data-v-ae9b291e]{margin-top:16px;border:1px solid var(--border,#30383e);border-radius:5px;overflow:hidden}.settings-review header[data-v-ae9b291e]{display:flex;justify-content:space-between;padding:10px 12px;background:var(--surface-raised,#181e22);font-size:12px}.settings-review dl[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(3,1fr);margin:0}.settings-review dl div[data-v-ae9b291e]{padding:11px 12px;border-top:1px solid var(--border,#30383e);border-right:1px solid var(--border,#30383e)}.settings-review dt[data-v-ae9b291e]{font-size:10px;color:var(--muted,#94a0a6)}.settings-review dd[data-v-ae9b291e]{margin:3px 0 0;font-size:12px}.wizard-error[data-v-ae9b291e]{display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px;color:var(--danger,#ff6b68);border:1px solid color-mix(in srgb,var(--danger,#ff6b68) 45%,transparent);background:color-mix(in srgb,var(--danger,#ff6b68) 8%,transparent);border-radius:5px}.wizard-error span[data-v-ae9b291e]{flex:1}.wizard-error button[data-v-ae9b291e]{border:0;background:transparent;color:inherit;text-decoration:underline}.wizard-footer[data-v-ae9b291e]{min-height:62px;padding:10px 18px;display:grid;grid-template-columns:160px 1fr 220px;align-items:center;border-top:1px solid var(--border,#30383e);background:var(--surface-strong,#0c1012)}.wizard-footer>span[data-v-ae9b291e]{text-align:center;font-size:11px;color:var(--muted,#94a0a6)}.wizard-footer button[data-v-ae9b291e]{height:38px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border,#30383e);border-radius:4px;background:transparent;color:inherit}.wizard-footer button.primary[data-v-ae9b291e]{background:var(--accent,#d6a84b);border-color:var(--accent,#d6a84b);color:var(--accent-contrast,#16120a)}.wizard-footer button[data-v-ae9b291e]:disabled{opacity:.45}.spin[data-v-ae9b291e]{animation:spin-ae9b291e .85s linear infinite}@keyframes spin-ae9b291e{to{transform:rotate(360deg)}}.wizard-header-actions[data-v-ae9b291e]{display:flex;align-items:center;gap:6px;flex:0 0 auto}.wizard-header-actions button[data-v-ae9b291e]{height:34px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--border,#30383e);background:transparent;color:inherit;border-radius:5px}.wizard-header-actions button[data-v-ae9b291e]:last-child{width:34px;padding:0}.wizard-file-message[data-v-ae9b291e]{display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px;color:var(--positive,#31b57b);border:1px solid color-mix(in srgb,var(--positive,#31b57b) 45%,transparent);background:color-mix(in srgb,var(--positive,#31b57b) 8%,transparent);border-radius:5px}.strategy-file-panel[data-v-ae9b291e]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:12px 13px;border:1px solid var(--border,#30383e);background:var(--surface-raised,#181e22);border-radius:5px}.strategy-file-panel>div strong[data-v-ae9b291e],.strategy-file-panel>div small[data-v-ae9b291e]{display:block}.strategy-file-panel>div strong[data-v-ae9b291e]{font-size:12px}.strategy-file-panel>div small[data-v-ae9b291e]{margin-top:3px;color:var(--muted,#94a0a6);font-size:10px}.strategy-file-panel>span[data-v-ae9b291e]{display:flex;gap:7px;flex:0 0 auto}.strategy-file-panel button[data-v-ae9b291e]{height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--border,#30383e);background:var(--input,#0b0f11);color:inherit;border-radius:4px}.strategy-file-panel button[data-v-ae9b291e]:last-child{border-color:color-mix(in srgb,var(--accent,#d6a84b) 55%,var(--border,#30383e));color:var(--accent,#d6a84b)}.strategy-picker[data-v-ae9b291e]{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);align-items:end;gap:14px}.strategy-picker label[data-v-ae9b291e]{display:grid;gap:5px}.strategy-picker label span[data-v-ae9b291e]{font-size:10px;color:var(--muted,#94a0a6);text-transform:uppercase}.strategy-picker label small[data-v-ae9b291e]{color:var(--accent,#d6a84b);font-size:10px}.strategy-picker select[data-v-ae9b291e]{width:100%;height:38px;padding:0 10px;border:1px solid var(--border,#30383e);border-radius:4px;background:var(--input,#0b0f11);color:inherit}.strategy-picker select[data-v-ae9b291e]:disabled{opacity:.72;cursor:not-allowed}.strategy-picker p[data-v-ae9b291e]{margin:0 0 8px;color:var(--muted,#94a0a6);font-size:11px;line-height:1.45}.expiry-week[data-v-ae9b291e]{grid-template-columns:180px minmax(0,1fr) auto;gap:8px}.expiry-week em[data-v-ae9b291e],.expiry-days em[data-v-ae9b291e]{color:var(--accent,#d6a84b);font-size:10px;font-style:normal;white-space:nowrap}.expiry-days label[data-v-ae9b291e]{display:grid;gap:4px}@media(max-width:760px){.wizard-scrim[data-v-ae9b291e]{padding:0}.settings-wizard[data-v-ae9b291e]{height:100dvh;border:0;border-radius:0}.wizard-header[data-v-ae9b291e]{min-height:56px;padding:0 10px;gap:8px}.wizard-title[data-v-ae9b291e]{min-width:0;flex:1}.wizard-title>div[data-v-ae9b291e]{min-width:0}.wizard-title h2[data-v-ae9b291e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-header-actions button[data-v-ae9b291e]{width:34px;padding:0}.wizard-header-actions button span[data-v-ae9b291e]{display:none}.wizard-steps[data-v-ae9b291e]{grid-template-columns:repeat(5,40px);justify-content:space-between;padding:8px 12px}.wizard-steps button[data-v-ae9b291e]{justify-content:center;padding:6px}.wizard-steps button strong[data-v-ae9b291e]{display:none}.wizard-body[data-v-ae9b291e]{padding:14px}.strategy-picker[data-v-ae9b291e]{grid-template-columns:1fr}.strategy-file-panel[data-v-ae9b291e]{display:block}.strategy-file-panel>span[data-v-ae9b291e]{margin-top:10px;display:grid;grid-template-columns:1fr 1fr}.strategy-file-panel button[data-v-ae9b291e]{justify-content:center}.field-grid[data-v-ae9b291e]{grid-template-columns:1fr}.setting-field[data-v-ae9b291e]{grid-template-columns:minmax(0,1fr) minmax(124px,44%)}.expiry-mode[data-v-ae9b291e],.expiry-days[data-v-ae9b291e]{grid-template-columns:1fr}.expiry-days label[data-v-ae9b291e]{display:grid;grid-template-columns:45px 1fr;align-items:center}.settings-review dl[data-v-ae9b291e]{grid-template-columns:1fr 1fr}.wizard-footer[data-v-ae9b291e]{grid-template-columns:84px 1fr 150px;padding:8px}.wizard-footer>span[data-v-ae9b291e]{display:none}}@media(max-width:420px){.wizard-title[data-v-ae9b291e]{gap:7px}.wizard-title>span[data-v-ae9b291e]{display:none}.wizard-title h2[data-v-ae9b291e]{font-size:15px}}.wizard-body[data-v-ae9b291e]::-webkit-scrollbar{width:12px}.wizard-body[data-v-ae9b291e]::-webkit-scrollbar-track{background:var(--surface-raised,#181e22)}.wizard-body[data-v-ae9b291e]::-webkit-scrollbar-thumb{background:var(--muted,#94a0a6);border:3px solid var(--surface-raised,#181e22);border-radius:8px}.setting-field[data-v-ae9b291e],.setting-field>span[data-v-ae9b291e],.field-control input[data-v-ae9b291e],.field-control select[data-v-ae9b291e],.expiry-days label[data-v-ae9b291e]{min-width:0}.setting-field strong[data-v-ae9b291e],.setting-field small[data-v-ae9b291e]{overflow-wrap:anywhere}.field-control em[data-v-ae9b291e]{flex-shrink:0}.wizard-footer[data-v-ae9b291e]{display:flex;justify-content:space-between;gap:12px;min-width:0}.wizard-footer>span[data-v-ae9b291e]{flex:1}.wizard-footer button[data-v-ae9b291e]{padding:0 16px;flex-shrink:0}.wizard-footer button.primary[data-v-ae9b291e]{min-width:180px}.saved-panel[data-v-ae9b291e]{max-height:70dvh;overflow:auto}@media(min-width:761px)and (max-width:1000px){.field-grid[data-v-ae9b291e]{grid-template-columns:1fr}.expiry-days[data-v-ae9b291e]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.expiry-week[data-v-ae9b291e]{grid-template-columns:minmax(0,1fr)}.expiry-days label[data-v-ae9b291e]{grid-template-columns:45px minmax(0,1fr)}.expiry-days em[data-v-ae9b291e]{grid-column:2}.wizard-footer button.primary[data-v-ae9b291e]{min-width:0;max-width:70%;height:auto;min-height:38px;padding:8px 12px}.wizard-footer button[data-v-ae9b291e]{padding:0 12px}}@media(max-width:380px){.setting-field[data-v-ae9b291e]:not(.switch){grid-template-columns:minmax(0,1fr);gap:8px}.field-control[data-v-ae9b291e]{width:100%}}@media(max-height:560px)and (min-width:761px){.wizard-scrim[data-v-ae9b291e]{padding:8px}.settings-wizard[data-v-ae9b291e]{height:calc(100dvh - 16px)}.wizard-header[data-v-ae9b291e]{min-height:48px}.wizard-steps[data-v-ae9b291e]{padding:5px 12px}.wizard-footer[data-v-ae9b291e]{min-height:52px;padding:6px 12px}}.range-picker[data-v-ae9b291e]{margin:0 0 18px}.range-switch[data-v-ae9b291e]{display:flex;gap:4px;margin-bottom:12px}.range-switch button[data-v-ae9b291e]{padding:8px 20px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text)}.range-switch button[aria-pressed=true][data-v-ae9b291e]{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.month-fields[data-v-ae9b291e]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.month-fields label[data-v-ae9b291e]{display:grid;gap:6px;font-size:12px}.month-fields input[data-v-ae9b291e]{min-width:0;width:100%;height:38px;padding:8px;background:var(--input);color:var(--text);border:1px solid var(--border);border-radius:4px}.range-picker>small[data-v-ae9b291e]{display:block;margin-top:8px;color:var(--muted);font-size:11px}@media(max-width:380px){.month-fields[data-v-ae9b291e]{grid-template-columns:1fr}}:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f8f8f2;background:#232323;font-synthesis:none;--ink: #f8f8f2;--muted: #ababab;--dim: #75715e;--ground: #232323;--surface: #2d2d2d;--surface-raised: #333333;--surface-hover: #3a3a3a;--line: #3e3e3e;--line-strong: #4a4a4a;--amber: #fd971f;--amber-soft: #3b3021;--mint: #a6e22e;--mint-soft: #2e3923;--mint-border: #647f32;--coral: #f92672;--coral-soft: #442431;--coral-border: #87304f;--accent-cyan: #66d9ef;--accent-purple: #ae81ff;--paper: #f8f8f2;--header-bg: #292929;--sidebar-bg: #282828;--module-bg: #232323;--overlay: rgb(7 8 9 / 72%);--shadow: 0 18px 44px rgb(0 0 0 / 34%);--text: var(--ink);--border: var(--line);--surface-strong: var(--surface-raised);--input: var(--ground);--positive: var(--mint);--danger: var(--coral);--warning: var(--amber);--accent: var(--amber);--accent-contrast: var(--ground);--sidebar-width: 242px;letter-spacing:0}:root[data-autobot-appearance=gruvbox]{--ink: #ebdbb2;--muted: #bdae93;--dim: #928374;--ground: #282828;--surface: #32302f;--surface-raised: #3c3836;--surface-hover: #504945;--line: #504945;--line-strong: #665c54;--amber: #fabd2f;--amber-soft: #453d25;--mint: #b8bb26;--mint-soft: #384022;--mint-border: #797d2c;--coral: #fb4934;--coral-soft: #4a2925;--coral-border: #a44738;--accent-cyan: #83a598;--accent-purple: #d3869b;--paper: #fbf1c7;--header-bg: #2d2b2a;--sidebar-bg: #252525;--module-bg: #282828;--overlay: rgb(20 18 16 / 78%)}:root[data-autobot-appearance=solarized]{--ink: #fdf6e3;--muted: #93a1a1;--dim: #839496;--ground: #002b36;--surface: #073642;--surface-raised: #0b3d48;--surface-hover: #124653;--line: #31555c;--line-strong: #496970;--amber: #b58900;--amber-soft: #3b391f;--mint: #859900;--mint-soft: #294126;--mint-border: #64742c;--coral: #dc322f;--coral-soft: #432b30;--coral-border: #914943;--accent-cyan: #2aa198;--accent-purple: #6c71c4;--paper: #fdf6e3;--header-bg: #07323c;--sidebar-bg: #032832;--module-bg: #002b36;--overlay: rgb(0 28 35 / 82%)}:root[data-autobot-appearance=vscode]{--ink: #f3f3f3;--muted: #cccccc;--dim: #9d9d9d;--ground: #1e1e1e;--surface: #252526;--surface-raised: #2d2d30;--surface-hover: #37373d;--line: #3e3e42;--line-strong: #5a5a5f;--amber: #cca700;--amber-soft: #3b351c;--mint: #4ec9b0;--mint-soft: #203c38;--mint-border: #407f73;--coral: #f14c4c;--coral-soft: #442527;--coral-border: #9a4548;--accent-cyan: #4fc1ff;--accent-purple: #c586c0;--paper: #ffffff;--header-bg: #252526;--sidebar-bg: #202020;--module-bg: #1e1e1e;--overlay: rgb(10 10 10 / 80%)}:root[data-autobot-appearance=eye-safe]{--ink: #f2f4f5;--muted: #c4c9cd;--dim: #a1aab2;--ground: #151719;--surface: #1d2023;--surface-raised: #252a2e;--surface-hover: #2d3338;--line: #4f5963;--line-strong: #73808b;--amber: #f0e442;--amber-soft: #36351d;--mint: #56b4e9;--mint-soft: #213541;--mint-border: #447a97;--coral: #e66b32;--coral-soft: #40271f;--coral-border: #9a4f2e;--accent-cyan: #56b4e9;--accent-purple: #cc79a7;--paper: #ffffff;--header-bg: #191c1f;--sidebar-bg: #181b1e;--module-bg: #131517;--overlay: rgb(10 12 14 / 80%);--shadow: 0 14px 34px rgb(0 0 0 / 32%)}:root[data-autobot-appearance=oled]{color-scheme:dark;--ink: #f4f4f4;--muted: #b8b8b8;--dim: #8c8c8c;--ground: #050505;--surface: #0d0d0d;--surface-raised: #151515;--surface-hover: #1d1d1d;--line: #2a2a2a;--line-strong: #454545;--amber: #f4b942;--amber-soft: #2c2515;--mint: #5fd3a1;--mint-soft: #132b22;--mint-border: #397d62;--coral: #ff6b7a;--coral-soft: #31171b;--coral-border: #963e48;--accent-cyan: #6dcde3;--accent-purple: #bd93f9;--paper: #ffffff;--header-bg: #090909;--sidebar-bg: #070707;--module-bg: #050505;--overlay: rgb(0 0 0 / 86%);--shadow: 0 18px 44px rgb(0 0 0 / 55%)}:root[data-autobot-appearance=carbon]{color-scheme:dark;--ink: #f2f3f4;--muted: #b4bac0;--dim: #8c949c;--ground: #101214;--surface: #171a1d;--surface-raised: #202428;--surface-hover: #282d32;--line: #343a40;--line-strong: #505860;--amber: #d9a441;--amber-soft: #332b1b;--mint: #62c69b;--mint-soft: #193129;--mint-border: #417f66;--coral: #ed7279;--coral-soft: #371d21;--coral-border: #94464d;--accent-cyan: #73bdd1;--accent-purple: #b39ddb;--paper: #ffffff;--header-bg: #15181b;--sidebar-bg: #121416;--module-bg: #101214;--overlay: rgb(6 8 10 / 82%)}:root[data-autobot-appearance=github-light]{color-scheme:light;--ink: #1f2328;--muted: #57606a;--dim: #6e7781;--ground: #f6f8fa;--surface: #ffffff;--surface-raised: #f0f3f6;--surface-hover: #eaeef2;--line: #d0d7de;--line-strong: #afb8c1;--amber: #9a6700;--amber-soft: #fff8c5;--mint: #1a7f37;--mint-soft: #dafbe1;--mint-border: #4ac26b;--coral: #cf222e;--coral-soft: #ffebe9;--coral-border: #ff8182;--accent-cyan: #0969da;--accent-purple: #8250df;--paper: #1f2328;--header-bg: #ffffff;--sidebar-bg: #f6f8fa;--module-bg: #ffffff;--overlay: rgb(31 35 40 / 34%);--shadow: 0 18px 44px rgb(31 35 40 / 15%)}:root[data-autobot-appearance=solarized-light]{color-scheme:light;--ink: #073642;--muted: #586e75;--dim: #657b83;--ground: #fdf6e3;--surface: #fffaf0;--surface-raised: #eee8d5;--surface-hover: #e4ddc8;--line: #c8c1ad;--line-strong: #a9a18d;--amber: #8a6900;--amber-soft: #f3e9bd;--mint: #4f6f00;--mint-soft: #e3ebc3;--mint-border: #839342;--coral: #c42d2a;--coral-soft: #f7d9d3;--coral-border: #d87569;--accent-cyan: #087d77;--accent-purple: #5f64b0;--paper: #073642;--header-bg: #f8f1df;--sidebar-bg: #eee8d5;--module-bg: #fdf6e3;--overlay: rgb(7 54 66 / 30%);--shadow: 0 18px 44px rgb(7 54 66 / 14%)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button,input{font:inherit;letter-spacing:0}button{color:inherit}.auth-check{min-height:100%;display:grid;place-content:center;grid-template-columns:auto minmax(280px,430px);gap:24px;padding:32px;background:var(--ground)}.auth-check h1{margin:5px 0 8px;font-size:clamp(28px,4vw,42px);font-weight:650}.auth-check p{margin:0;color:var(--muted)}.auth-mark{position:relative;display:grid;place-items:center;width:58px;height:58px;border:1px solid var(--line-strong);border-radius:50%;color:var(--amber)}.auth-mark i{position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:1px solid transparent;border-top-color:var(--mint);border-radius:50%;animation:spin 1.4s linear infinite}.auth-progress{height:2px;margin-top:22px;overflow:hidden;background:var(--line)}.auth-progress i{display:block;width:42%;height:100%;background:var(--amber);animation:authenticate 1.5s ease-in-out infinite}.eyebrow{color:var(--amber);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.login-view{min-height:100%;display:grid;place-items:center;padding:24px;background:var(--ground)}.brand-lockup{display:flex;align-items:center;gap:10px}.brand-lockup>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line-strong);border-radius:5px;color:var(--mint)}.brand-lockup strong{font-size:21px;font-weight:700}.brand-lockup small{margin-left:2px;padding:2px 6px;border:1px solid var(--line);border-radius:3px;color:var(--muted);font-size:9px;text-transform:uppercase}.login-panel{width:min(410px,100%);padding:26px;border:1px solid var(--line-strong);background:var(--surface)}.login-panel form{width:100%}.login-panel h1{margin:34px 0 4px;font-size:27px;font-weight:650}.login-panel form>p{margin:0 0 30px;color:var(--muted)}.login-panel label{display:grid;gap:8px;margin:18px 0;color:var(--muted);font-size:12px}.login-panel input{width:100%;height:48px;padding:0 14px;border:1px solid var(--line-strong);border-radius:5px;outline:none;background:var(--surface);color:var(--ink)}.login-panel input:focus{border-color:var(--amber);box-shadow:0 0 0 3px color-mix(in srgb,var(--amber) 14%,transparent)}.login-panel form>button{width:100%;height:46px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:24px;border:1px solid var(--amber);border-radius:4px;background:var(--amber);color:var(--ground);font-weight:750;cursor:pointer}.login-panel button:disabled{cursor:wait;opacity:.55}.login-error{padding:10px 12px;border-left:3px solid var(--coral);background:var(--coral-soft);color:var(--paper);font-size:12px}.app-shell{width:100%;height:100dvh;display:grid;grid-template:56px minmax(0,1fr) / var(--sidebar-width) minmax(0,1fr);background:var(--ground);transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{--sidebar-width: 68px}.shell-header{grid-column:2;grid-row:1;z-index:20;display:flex;align-items:center;min-width:0;border-bottom:1px solid var(--line);background:var(--header-bg)}.route-title{min-width:150px;display:flex;align-items:baseline;gap:9px;padding:0 16px}.route-title span{overflow:hidden;color:var(--dim);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.route-title strong{font-size:15px;white-space:nowrap}.context-toolbar{min-width:0;display:flex;align-items:center;gap:6px;margin-right:8px}.context-statuses{min-width:0;display:flex;align-items:center;gap:5px}.context-statuses span{max-width:150px;display:flex;align-items:center;gap:6px;overflow:hidden;padding:5px 8px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.context-statuses i{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--dim)}.context-statuses span.active{color:var(--mint)}.context-statuses span.active i{background:var(--mint);box-shadow:0 0 0 3px color-mix(in srgb,var(--mint) 13%,transparent)}.context-quick{display:flex;align-items:center;gap:5px}.context-quick button{height:34px;display:flex;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted);font-size:11px;cursor:pointer;white-space:nowrap}.context-quick button:hover,.context-quick button.active{border-color:var(--line-strong);color:var(--paper)}.context-quick button.good{border-color:var(--mint-border);color:var(--mint)}.context-quick button.danger{border-color:var(--coral-border);color:var(--coral)}.context-quick button:disabled,.context-popover button:disabled{cursor:not-allowed;opacity:.42}.context-more{position:relative}.context-popover{position:absolute;top:calc(100% + 9px);right:0;z-index:55;width:260px;max-height:min(520px,calc(100vh - 80px));overflow-y:auto;padding:7px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-raised);box-shadow:var(--shadow)}.context-popover header{display:grid;gap:2px;padding:7px 8px 10px;border-bottom:1px solid var(--line)}.context-popover header span{color:var(--dim);font-size:9px;text-transform:uppercase}.context-popover header strong{font-size:13px}.context-popover>button{width:100%;min-height:38px;display:flex;align-items:center;gap:9px;padding:7px 9px;border:0;border-left:2px solid transparent;background:transparent;color:var(--muted);text-align:left;cursor:pointer}.context-popover>button:hover,.context-popover>button.active{border-left-color:var(--amber);background:var(--surface-hover)}.context-popover>button.good{color:var(--mint)}.context-popover>button.danger{color:var(--coral)}.context-popover>label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:9px;color:var(--muted);font-size:11px}.context-popover select{height:31px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--paper)}.shell-clock{display:flex;align-items:center;gap:8px;margin-left:auto;padding:7px 12px;border-left:1px solid var(--line);border-right:1px solid var(--line);color:var(--muted)}.shell-clock svg{color:var(--amber)}.shell-clock strong{color:var(--paper);font-variant-numeric:tabular-nums;font-size:14px}.shell-clock span{font-size:10px}.shell-clock.live span{color:var(--mint)}.header-actions{display:flex;align-items:center;gap:6px;padding:0 10px}.icon-button,.mobile-menu{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);cursor:pointer}.icon-button:hover{border-color:var(--line-strong);color:var(--amber)}.strategy-supervisor-button,.appearance-button{height:36px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap}.appearance-button{width:36px;justify-content:center;padding:0}.strategy-supervisor-button:hover,.appearance-button:hover,.strategy-supervisor-button[aria-expanded=true],.appearance-button[aria-expanded=true]{border-color:var(--line-strong);background:var(--surface-hover);color:var(--paper)}.strategy-supervisor-button svg{color:var(--amber)}.appearance-button svg:first-child{color:var(--mint)}.appearance-menu{position:relative}.appearance-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:310px;max-height:min(680px,calc(100dvh - 72px));overflow:auto;padding:7px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-raised);box-shadow:var(--shadow)}.appearance-popover header{display:grid;gap:2px;padding:8px 9px 11px;border-bottom:1px solid var(--line)}.appearance-popover header span{color:var(--dim);font-size:9px;text-transform:uppercase}.appearance-popover header strong{font-size:13px}.appearance-popover>button{width:100%;display:grid;grid-template-columns:38px 1fr 16px;align-items:center;gap:8px;padding:9px;border:0;border-left:2px solid transparent;background:transparent;text-align:left;cursor:pointer}.appearance-popover>button:hover{background:var(--surface-hover)}.appearance-popover>button.active{border-left-color:var(--amber);background:var(--amber-soft)}.appearance-popover>button>span:not(.theme-swatches){display:grid;gap:2px}.theme-swatches{display:flex;align-items:center}.theme-swatches i{width:13px;height:20px;border:1px solid rgb(255 255 255 / 10%)}.theme-swatches i:first-child{border-radius:3px 0 0 3px}.theme-swatches i:last-child{border-radius:0 3px 3px 0}.appearance-popover>button strong{color:var(--paper);font-size:12px}.appearance-popover>button small{color:var(--muted);font-size:10px}.appearance-popover>button>i{width:7px;height:7px;justify-self:center;border:1px solid var(--line-strong);border-radius:50%}.appearance-popover>button.active>i{border-color:var(--mint);background:var(--mint)}.appearance-popover footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0 0;border-top:1px solid var(--line)}.appearance-popover footer button{min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted);font-size:10px;cursor:pointer}.appearance-popover footer button:hover{border-color:var(--line-strong);color:var(--paper)}.mobile-menu{display:none}.workspace-menu{position:relative}.workspace-button{height:40px;max-width:220px;display:flex;align-items:center;gap:8px;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:var(--surface);cursor:pointer}.workspace-button .avatar{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:5px;background:var(--surface-hover);color:var(--mint);font-size:12px;font-weight:800}.workspace-button>span:nth-child(2){min-width:0;display:grid;text-align:left}.workspace-button small{color:var(--dim);font-size:8px;text-transform:uppercase}.workspace-button strong{overflow:hidden;color:var(--paper);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workspace-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:50;width:290px;overflow:hidden;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-raised);box-shadow:var(--shadow)}.workspace-popover header{display:grid;gap:3px;padding:14px;border-bottom:1px solid var(--line)}.workspace-popover header span{color:var(--dim);font-size:10px;text-transform:uppercase}.workspace-popover header strong{font-size:13px}.workspace-search{display:flex;align-items:center;gap:7px;margin:10px;padding:0 9px;border:1px solid var(--line);border-radius:4px;color:var(--dim)}.workspace-search input{min-width:0;height:34px;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.workspace-list{max-height:290px;overflow-y:auto;padding:0 6px 8px}.workspace-list button{width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:9px 10px;border:0;border-left:2px solid transparent;background:transparent;text-align:left;cursor:pointer}.workspace-list button:hover{background:var(--surface-hover)}.workspace-list button.active{border-left-color:var(--amber);background:var(--amber-soft)}.workspace-list button span{font-size:12px}.workspace-list button small{grid-row:2;color:var(--dim);font-size:10px}.workspace-list button svg{grid-column:2;grid-row:1 / 3;align-self:center;color:var(--amber)}.workspace-popover footer{padding:7px;border-top:1px solid var(--line)}.workspace-popover footer button{width:100%;display:flex;align-items:center;gap:8px;padding:9px;border:0;background:transparent;color:var(--coral);cursor:pointer}.panel-scrim{position:fixed;z-index:65;top:0;right:0;bottom:0;left:0;border:0;background:var(--overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.strategy-panel{position:fixed;z-index:70;top:0;right:0;bottom:0;width:min(440px,94vw);display:flex;flex-direction:column;overflow-y:auto;border-left:1px solid var(--line-strong);background:var(--ground);box-shadow:-16px 0 44px #00000057}.strategy-panel>*{flex-shrink:0}.strategy-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--line);background:var(--header-bg)}.strategy-panel>header h2{margin:5px 0 2px;color:var(--paper);font-size:24px;line-height:1}.strategy-panel>header p{margin:0;color:var(--muted);font-size:11px}.strategy-stage{display:flex;align-items:flex-start;gap:10px;margin:14px 14px 0;padding:12px;border:1px solid #665632;border-radius:6px;background:var(--amber-soft);color:var(--amber)}.strategy-stage svg{flex:0 0 auto;margin-top:1px}.strategy-stage div{display:grid;gap:4px}.strategy-stage strong{color:var(--paper);font-size:12px}.strategy-stage span{color:var(--muted);font-size:10px;line-height:1.5}.strategy-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:14px;border:1px solid var(--line);border-radius:6px;overflow:hidden}.strategy-summary>div{min-width:0;display:grid;gap:4px;padding:12px;background:var(--surface)}.strategy-summary>div:nth-child(odd){border-right:1px solid var(--line)}.strategy-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.strategy-summary span{color:var(--dim);font-size:9px;text-transform:uppercase}.strategy-summary strong{overflow:hidden;color:var(--paper);font-size:16px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.strategy-summary strong.positive{color:var(--mint)}.strategy-summary strong.negative{color:var(--coral)}.strategy-bulk-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:-5px 14px 14px}.strategy-bulk-actions button{min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line-strong);border-radius:4px;background:var(--surface);color:var(--paper);font-size:10px;cursor:pointer}.strategy-bulk-actions button.danger{border-color:var(--coral-border);background:var(--coral-soft)}.strategy-instances,.strategy-foundation,.strategy-risk{padding:0 14px 14px}.strategy-risk{border-bottom:1px solid var(--line)}.strategy-risk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.strategy-risk-grid label,.strategy-create>label{min-width:0;display:grid;gap:5px;color:var(--muted);font-size:10px}.strategy-risk-grid label>span{display:flex;align-items:center;gap:5px}.strategy-risk-grid input[type=number],.strategy-create input,.strategy-create select{width:100%;min-width:0;height:34px;padding:0 8px;border:1px solid var(--line-strong);border-radius:4px;background:var(--ground);color:var(--paper);font:inherit;box-sizing:border-box}.strategy-primary-action{width:100%;min-height:35px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:9px;border:1px solid var(--mint-border);border-radius:4px;background:var(--mint-soft);color:var(--paper);font-size:11px;cursor:pointer}.strategy-heading-actions,.instance-actions{display:flex;align-items:center;gap:5px}.strategy-create{display:grid;gap:9px;margin-bottom:9px;padding:11px;border:1px solid var(--line-strong);border-radius:5px;background:var(--surface)}.strategy-expiry-plan{display:grid;gap:8px;padding:9px 0;border-block:1px solid var(--line)}.strategy-choice-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.strategy-choice-pair button{min-width:0;display:grid;gap:3px;padding:8px;border:1px solid var(--line-strong);border-radius:4px;background:var(--ground);color:var(--muted);text-align:left;cursor:pointer}.strategy-choice-pair button.active{border-color:var(--amber);background:var(--amber-soft);color:var(--paper)}.strategy-choice-pair strong{font-size:10px}.strategy-choice-pair small{color:var(--dim);font-size:8px;line-height:1.35}.strategy-expiry-plan label{min-width:0;display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:6px;color:var(--muted);font-size:9px}.strategy-expiry-plan label>span{font-weight:700;text-transform:uppercase}.strategy-expiry-plan label select{width:100%;min-width:0;height:34px;padding:0 7px;border:1px solid var(--line-strong);border-radius:4px;background:var(--ground);color:var(--paper);font:inherit}.strategy-expiry-plan label em{color:var(--amber);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;font-style:normal;white-space:nowrap}.strategy-expiry-days{display:grid;gap:5px}.strategy-empty{padding:18px 12px;border:1px dashed var(--line-strong);border-radius:5px;color:var(--dim);font-size:10px;text-align:center}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.section-heading>div{display:grid;gap:2px}.section-heading span{color:var(--dim);font-size:9px;text-transform:uppercase}.section-heading strong{color:var(--muted);font-size:11px}.section-heading button{width:31px;height:31px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);cursor:pointer}.strategy-instance{margin-bottom:8px;padding:14px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface)}.instance-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.instance-title small{color:var(--dim);font-size:9px}.strategy-state{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.strategy-state i{width:7px;height:7px;border-radius:50%;background:var(--dim)}.strategy-state.running{color:var(--mint)}.strategy-state.running i{background:var(--mint)}.strategy-instance h3{margin:13px 0 3px;color:var(--paper);font-size:17px}.strategy-instance>p{margin:0 0 13px;color:var(--dim);font-size:10px}.strategy-instance dl{display:grid;gap:7px;margin:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--ground)}.strategy-instance dl div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px}.strategy-instance dt{color:var(--dim);font-size:9px;text-transform:uppercase}.strategy-instance dd{min-width:0;margin:0;overflow:hidden;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.strategy-instance footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.strategy-instance footer>span{color:var(--amber);font-size:9px;text-transform:uppercase}.strategy-instance footer button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--paper);font-size:11px;cursor:pointer}.strategy-error{margin-top:8px;padding:9px;border-left:2px solid var(--coral);background:#d8787217;color:var(--coral);font-size:10px}.strategy-foundation{border-top:1px solid var(--line);padding-top:14px}.strategy-foundation h3{margin:0 0 10px;color:var(--paper);font-size:12px}.strategy-foundation ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.strategy-foundation li{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.strategy-foundation li svg{flex:0 0 auto;color:var(--mint)}.strategy-foundation li:last-child svg{color:var(--amber)}.strategy-panel-footer{margin-top:auto;display:grid;gap:3px;padding:14px 20px;border-top:1px solid var(--line);background:var(--sidebar-bg)}.strategy-panel-footer span{color:var(--dim);font-size:9px;text-transform:uppercase}.strategy-panel-footer strong{color:var(--muted);font-size:10px}.shell-sidebar{grid-column:1;grid-row:1 / -1;min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--sidebar-bg);overflow:hidden}.sidebar-head{min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid var(--line)}.sidebar-brand{min-width:0;display:flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;cursor:pointer}.sidebar-brand>span{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border:1px solid var(--line-strong);border-radius:5px;color:var(--mint)}.sidebar-brand strong{color:var(--paper);font-size:17px}.sidebar-brand small{padding:2px 5px;border:1px solid var(--line);border-radius:3px;color:var(--amber);font-size:8px;text-transform:uppercase}.mobile-close{display:none}.shell-sidebar nav{flex:1;overflow-y:auto;padding:12px 8px;scrollbar-width:thin}.mobile-strategy-entry{display:none!important}.shell-sidebar nav section{margin-bottom:18px}.shell-sidebar h2{margin:0 9px 6px;color:var(--dim);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.shell-sidebar nav button{position:relative;width:100%;min-height:39px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px;padding:5px 8px;border:0;border-radius:4px;background:transparent;color:var(--muted);text-align:left;cursor:pointer}.shell-sidebar nav button:hover{background:var(--surface)}.shell-sidebar nav button.active{background:var(--surface-hover);color:var(--paper)}.shell-sidebar nav button.active:before{content:"";position:absolute;left:-8px;width:3px;height:22px;background:var(--amber)}.shell-sidebar nav button>svg:first-child{color:var(--dim)}.shell-sidebar nav button.active>svg:first-child{color:var(--amber)}.shell-sidebar nav button>span{min-width:0;display:grid}.shell-sidebar nav button strong{overflow:hidden;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.shell-sidebar>footer{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:7px 9px;border-top:1px solid var(--line)}.shell-sidebar>footer button{height:32px;display:flex;align-items:center;gap:8px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted);cursor:pointer}.shell-sidebar>footer small{color:var(--dim);font-size:9px}.sidebar-collapsed .sidebar-brand strong,.sidebar-collapsed .sidebar-brand small,.sidebar-collapsed .shell-sidebar h2,.sidebar-collapsed .shell-sidebar nav button>span,.sidebar-collapsed .shell-sidebar>footer span,.sidebar-collapsed .shell-sidebar>footer small{display:none}.sidebar-collapsed .sidebar-head{justify-content:center;padding-inline:0}.sidebar-collapsed .shell-sidebar nav button{grid-template-columns:1fr;place-items:center;padding:6px}.sidebar-collapsed .shell-sidebar h2+button{margin-top:8px}.sidebar-collapsed .shell-sidebar>footer{justify-content:center}.module-region{position:relative;grid-column:2;grid-row:2;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--module-bg)}.module-frame-stage{position:relative;min-width:0;min-height:0;flex:1 1 auto;overflow:hidden}.module-frame-stage iframe{width:100%;height:100%;display:block;border:0;background:var(--module-bg)}.strategy-workspace-overview{flex:1 1 auto;min-height:0;overflow:auto;background:var(--ground);scrollbar-width:thin}.strategy-workspace-header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;border-bottom:1px solid var(--line);background:var(--header-bg)}.strategy-workspace-header>div:first-child{min-width:0;display:flex;align-items:baseline;gap:9px}.strategy-workspace-header>div>strong{overflow:hidden;color:var(--paper);font-size:18px;text-overflow:ellipsis;white-space:nowrap}.strategy-workspace-header>div>small{color:var(--dim);font-size:10px;text-transform:uppercase}.strategy-workspace-actions{display:flex;align-items:center;gap:8px}.primary-settings-action,.data-connect-action{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--line-strong);border-radius:4px;background:var(--surface);color:var(--muted);font-size:11px;cursor:pointer}.primary-settings-action:hover{border-color:var(--amber);color:var(--paper)}.strategy-settings-picker-scrim{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#00000094}.strategy-settings-picker{width:min(520px,100%);overflow:hidden;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface);box-shadow:0 20px 60px #0000006b}.strategy-settings-picker>header{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid var(--line);background:var(--header-bg)}.strategy-settings-picker>header small{color:var(--amber);font-size:9px;text-transform:uppercase}.strategy-settings-picker>header h2{margin:2px 0;color:var(--paper);font-size:18px}.strategy-settings-picker>header p{margin:0;color:var(--muted);font-size:10px}.strategy-settings-picker>header button{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted)}.strategy-settings-options{display:grid;gap:1px;padding:7px;background:var(--line)}.strategy-settings-options>button{min-width:0;min-height:58px;display:grid;grid-template-columns:86px minmax(0,1fr) 24px;grid-template-rows:auto auto;align-items:center;gap:1px 10px;padding:9px 11px;border:0;border-left:3px solid transparent;border-radius:3px;background:var(--surface);color:var(--paper);text-align:left;cursor:pointer}.strategy-settings-options>button:hover{border-left-color:var(--amber);background:var(--surface-hover)}.strategy-settings-options .strategy-state{grid-row:1 / 3}.strategy-settings-options strong,.strategy-settings-options small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-settings-options strong{align-self:end;font-size:14px}.strategy-settings-options small{align-self:start;color:var(--muted);font-size:10px}.strategy-settings-options svg{grid-column:3;grid-row:1 / 3;color:var(--amber)}.data-connect-action{border-color:var(--coral-border);color:var(--coral)}.data-connect-action.connected{border-color:var(--mint-border);background:var(--mint-soft);color:var(--mint)}.algo-view-toggle{height:32px;display:flex;align-items:stretch;padding:2px;border:1px solid var(--line-strong);border-radius:5px;background:var(--ground)}.algo-view-toggle button{min-width:82px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:0;border-radius:3px;background:transparent;color:var(--dim);font-size:10px;cursor:pointer}.algo-view-toggle button:hover{color:var(--paper)}.algo-view-toggle button.active{background:var(--surface-hover);color:var(--paper);box-shadow:inset 0 -2px 0 var(--amber)}.strategy-global-actions,.strategy-group-actions{display:flex;align-items:center;gap:6px}.strategy-global-actions button,.strategy-group-actions button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--line-strong);border-radius:4px;background:var(--surface);color:var(--paper);font-size:11px;cursor:pointer}.strategy-global-actions button:hover,.strategy-group-actions button:hover{border-color:var(--amber);background:var(--surface-hover)}.strategy-global-actions button.danger,.strategy-group-actions button.danger{border-color:var(--coral);color:var(--coral)}.strategy-group-actions button.force-entry{border-color:var(--amber-border);color:var(--amber)}.strategy-group-actions button.strategy-settings-action{color:var(--amber)}.strategy-global-actions button:disabled,.strategy-group-actions button:disabled{opacity:.42;cursor:default}.strategy-global-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));border-bottom:1px solid var(--line)}.strategy-global-metrics>div{min-width:0;min-height:72px;display:grid;align-content:center;gap:3px;padding:9px 12px;border-right:1px solid var(--line);background:var(--surface)}.strategy-global-metrics>div:last-child{border-right:0}.strategy-global-metrics span{color:var(--dim);font-size:10px;font-weight:700;text-transform:uppercase}.strategy-global-metrics strong{overflow:hidden;color:var(--paper);font-size:19px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.strategy-global-metrics>div:nth-child(6) strong{font-size:15px}.strategy-global-metrics small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.strategy-global-metrics .market-price-card strong{color:var(--amber);font-size:22px}.algorun-operating-grid{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:8px;padding:8px}.strategy-group-grid{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;padding:0}.strategy-group-grid>.strategy-group{width:100%}.strategy-group{min-width:0;overflow:hidden;border:1px solid var(--line);border-left:3px solid var(--dim);border-radius:5px;background:var(--surface)}.strategy-group.running{border-left-color:var(--mint)}.strategy-group.position{border-left-color:var(--amber);box-shadow:inset 3px 0 0 var(--amber-soft)}.strategy-group.blocked{border-left-color:var(--coral)}.strategy-group>header{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border-bottom:1px solid var(--line)}.strategy-group>header>div:first-child{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px}.strategy-group>header .strategy-state{grid-row:1 / 3}.strategy-group h2{min-width:0;margin:0;overflow:hidden;color:var(--paper);font-size:17px;text-overflow:ellipsis;white-space:nowrap}.strategy-group p{min-width:0;display:flex;align-items:center;gap:7px;margin:0;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.strategy-group p em{padding:1px 5px;border:1px solid var(--line-strong);border-radius:3px;color:var(--dim);font-size:8px;font-style:normal;text-transform:uppercase}.strategy-group-actions button{width:30px;min-height:30px;padding:0}.strategy-group-actions .strategy-collapse-action{margin-left:2px;border-color:var(--line-strong);color:var(--muted)}.strategy-group.collapsed .strategy-collapse-action{color:var(--amber)}.strategy-group-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.strategy-group-metrics>span{min-width:0;display:grid;gap:2px;padding:6px 9px;border-right:1px solid var(--line)}.strategy-group-metrics>span:last-child{border-right:0}.strategy-group-metrics small,.strategy-position-row small{color:var(--dim);font-size:9px;text-transform:uppercase}.strategy-group-metrics strong{overflow:hidden;color:var(--paper);font-size:15px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.strategy-position-list{min-width:0;overflow-x:auto;scrollbar-width:thin}.strategy-position-row{min-width:860px;display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(76px,.62fr) minmax(94px,.72fr) minmax(76px,.6fr) minmax(76px,.6fr) minmax(108px,.78fr) 101px;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid var(--line)}.strategy-position-row:last-child{border-bottom:0}.strategy-position-row>span{min-width:0;display:grid;gap:2px}.strategy-position-row strong{overflow:hidden;color:var(--paper);font-size:14px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.strategy-position-name{grid-template-columns:auto minmax(0,1fr)!important;align-items:center}.strategy-position-name b{grid-row:1 / 3;padding:2px 4px;border:1px solid var(--line-strong);border-radius:3px;color:var(--amber);font-size:8px}.strategy-position-name small{grid-column:2}.strategy-position-name strong{font-size:16px}.strategy-position-row .live-price strong{color:var(--amber);font-size:19px;text-shadow:0 0 16px var(--amber-soft)}.strategy-position-row .live-price strong{animation:quote-flash .42s ease-out}.strategy-position-row .position-pnl strong{font-size:19px}.position-actions{display:flex!important;justify-content:flex-end;gap:4px}.position-actions button{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--panel-strong);color:var(--muted)}.position-actions button:hover{color:var(--paper);border-color:var(--line-strong)}.position-actions button.danger{color:var(--negative)}.strategy-position-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:1px;padding:1px;border-bottom:1px solid var(--line);background:var(--line)}.strategy-position-details>span{min-width:0;display:grid;align-content:center;gap:3px;padding:8px;background:var(--ground)}.strategy-position-details small{color:var(--dim);font-size:9px;text-transform:uppercase}.strategy-position-details strong{overflow:hidden;color:var(--paper);font-size:11px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.strategy-position-details>span:nth-child(2){grid-column:span 2}.closed-position-heading{display:flex;justify-content:space-between;align-items:center;padding:6px 9px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--dim);font-size:8px;text-transform:uppercase}.closed-position-heading strong{font-size:9px}.closed-position-row{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(4,minmax(68px,.7fr));align-items:center;gap:8px;padding:7px 9px;border-bottom:1px solid var(--line);opacity:.78}.closed-position-row>span{min-width:0;display:grid;gap:2px}.closed-position-row small{color:var(--dim);font-size:8px;text-transform:uppercase}.closed-position-row strong{overflow:hidden;color:var(--paper);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.strategy-workspace-overview .positive{color:var(--mint)!important}.strategy-workspace-overview .negative{color:var(--coral)!important}.strategy-workspace-overview.chart-mode{min-height:0;max-height:none;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.strategy-no-position,.strategy-overview-empty{padding:10px;color:var(--dim);font-size:10px;text-align:center}.strategy-overview-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px}.strategy-state.prominent{min-width:88px;min-height:31px;justify-content:center;padding:0 8px;border:1px solid var(--line-strong);border-radius:4px;background:var(--ground);color:var(--muted);font-size:10px}.strategy-state.prominent.position{border-color:var(--amber-border);background:var(--amber-soft);color:var(--amber)}.strategy-state.prominent.ready,.strategy-state.prominent.waiting{border-color:var(--mint-border);background:var(--mint-soft);color:var(--mint)}.strategy-state.prominent.blocked{border-color:var(--coral-border);background:var(--coral-soft);color:var(--coral)}.strategy-state.prominent.paused{color:var(--dim)}.strategy-state.prominent.position i{background:var(--amber);box-shadow:0 0 8px var(--amber)}.strategy-state.prominent.ready i,.strategy-state.prominent.waiting i{background:var(--mint);box-shadow:0 0 8px var(--mint)}.strategy-state.prominent.blocked i{background:var(--coral)}.algo-gates{border-bottom:1px solid var(--line);background:var(--panel-strong)}.algo-gates-summary{width:100%;min-width:0;min-height:50px;display:grid;grid-template-columns:30px minmax(0,1fr) auto 20px;align-items:center;gap:8px;padding:7px 10px;border:0;background:transparent;color:var(--muted);text-align:left;cursor:pointer}.algo-gates-summary:hover{background:var(--surface-hover)}.algo-gates-summary .gate-icon{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:4px;color:var(--amber)}.algo-gates-summary>span:nth-child(2){min-width:0;display:grid;gap:2px}.algo-gates-summary small{color:var(--dim);font-size:9px;text-transform:uppercase}.algo-gates-summary strong{overflow:hidden;color:var(--paper);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.gate-counts{display:flex;align-items:center;gap:5px}.gate-counts b{padding:3px 6px;border:1px solid var(--mint-border);border-radius:3px;color:var(--mint);font-size:9px;font-weight:700;text-transform:uppercase}.gate-counts b:nth-child(2){border-color:var(--amber-border);color:var(--amber)}.gate-counts b.blocked{border-color:var(--coral-border);color:var(--coral)}.algo-gate-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;padding:1px;background:var(--line)}.algo-gate-row{min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px;background:var(--surface);color:var(--amber)}.algo-gate-row.pass{color:var(--mint)}.algo-gate-row.blocked{color:var(--coral)}.algo-gate-row>span:nth-child(2){min-width:0;display:grid;gap:2px}.algo-gate-row strong{overflow:hidden;color:var(--paper);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.algo-gate-row small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.gate-values{min-width:68px;display:grid;justify-items:end}.gate-values b{color:currentColor;font-size:11px}.algo-gate-empty{grid-column:1 / -1;padding:10px;background:var(--surface);color:var(--dim);font-size:10px;text-align:center}.algo-market-levels{position:sticky;top:0;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:5px;background:var(--surface)}.algo-market-levels>header{min-height:49px;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:7px;padding:7px 8px;border-bottom:1px solid var(--line)}.algo-market-levels>header>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:4px;color:var(--amber)}.algo-market-levels>header>div{min-width:0;display:grid;gap:1px}.algo-market-levels>header small,.levels-strategy-select>span{color:var(--dim);font-size:9px;text-transform:uppercase}.algo-market-levels>header strong{color:var(--paper);font-size:14px}.algo-market-levels button{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--panel-strong);color:var(--muted);cursor:pointer}.algo-market-levels.collapsed{align-self:start}.levels-strategy-select{display:grid;gap:4px;padding:8px;border-bottom:1px solid var(--line)}.levels-strategy-select select{min-width:0;width:100%;height:31px;padding:0 7px;border:1px solid var(--line-strong);border-radius:4px;background:var(--ground);color:var(--paper);font-size:10px}.levels-source{min-width:0;display:grid;gap:2px;padding:8px;border-bottom:1px solid var(--line)}.levels-source strong{overflow:hidden;color:var(--paper);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.levels-source small{color:var(--muted);font-size:9px}.levels-error{padding:7px 8px;border-bottom:1px solid var(--coral-border);background:var(--coral-soft);color:var(--coral);font-size:9px}.levels-block{padding:8px;border-bottom:1px solid var(--line)}.levels-block:last-child{border-bottom:0}.levels-block h3{display:flex;align-items:center;gap:6px;margin:0 0 5px;color:var(--dim);font-size:9px;text-transform:uppercase}.level-row{min-width:0;display:grid;grid-template-columns:minmax(58px,1fr) auto 52px;align-items:baseline;gap:6px;padding:4px 0;border-bottom:1px solid var(--line)}.level-row:last-child{border-bottom:0}.level-row span{color:var(--muted);font-size:10px}.level-row strong{color:var(--paper);font-size:12px;font-variant-numeric:tabular-nums}.level-row small{overflow:hidden;color:var(--dim);font-size:8px;text-align:right;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.levels-empty{padding:6px 0;color:var(--dim);font-size:9px}.pivot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line)}.pivot-grid>span{min-width:0;display:grid;gap:2px;padding:5px 6px;background:var(--ground)}.pivot-grid>span.primary{background:var(--amber-soft)}.pivot-grid small{color:var(--dim);font-size:8px}.pivot-grid strong{overflow:hidden;color:var(--paper);font-size:11px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}:root[data-autobot-appearance=eye-safe] .strategy-state.prominent.position,:root[data-autobot-appearance=eye-safe] .strategy-state.prominent.ready,:root[data-autobot-appearance=eye-safe] .strategy-state.prominent.waiting,:root[data-autobot-appearance=eye-safe] .strategy-state.prominent.blocked{border-width:2px}.authoritative-settings{position:absolute;z-index:75;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:52px minmax(0,1fr);background:var(--ground)}.authoritative-settings>header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid var(--line-strong);background:var(--header-bg)}.authoritative-settings>header>div{min-width:0;display:flex;align-items:baseline;gap:8px}.authoritative-settings>header span,.authoritative-settings>header small{color:var(--dim);font-size:9px;text-transform:uppercase}.authoritative-settings>header strong{color:var(--paper);font-size:14px}.authoritative-settings>header button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--muted);cursor:pointer}.authoritative-settings>header button:hover{border-color:var(--coral);color:var(--coral)}.settings-frame-stage{min-height:0}.settings-loading{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:7px;background:var(--ground);color:var(--muted);text-align:center}.settings-loading svg{color:var(--amber)}.settings-loading strong{color:var(--paper);font-size:13px}.settings-loading small{color:var(--dim);font-size:10px}.module-loading{position:absolute;top:8px;right:8px;z-index:10;width:min(360px,calc(100% - 16px));min-height:54px;display:grid;grid-template-columns:34px minmax(0,1fr) 5px;align-items:center;gap:9px;overflow:hidden;padding:8px 11px 10px;border:1px solid var(--line-strong);border-radius:5px;background:color-mix(in srgb,var(--surface-raised) 94%,transparent);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}.module-loading>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line-strong);border-radius:4px;color:var(--amber)}.module-loading>div:not(.module-progress){min-width:0;display:grid;grid-template-columns:1fr auto;gap:2px 8px}.module-loading strong{overflow:hidden;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.module-loading small{grid-column:1;color:var(--muted)}.module-loading em{grid-column:2;grid-row:1 / 3;align-self:center;color:var(--dim);font-size:11px;font-style:normal;font-variant-numeric:tabular-nums}.module-loading>i{width:5px;height:5px;border-radius:50%;background:var(--mint);animation:pulse 1s ease-in-out infinite}.module-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#252c27}.module-progress b{display:block;height:100%;background:var(--amber);box-shadow:0 0 12px #d7ad5759;transition:width .42s ease}.module-error{position:absolute;top:0;right:0;bottom:0;left:0;z-index:11;display:grid;place-content:center;gap:12px;background:var(--ground);text-align:center}.module-error button{border:1px solid var(--amber);border-radius:4px;padding:8px 12px;background:transparent;color:var(--amber)}.sidebar-scrim{display:none}:root[data-autobot-appearance=eye-safe] .strategy-summary strong.positive{border-bottom:2px solid var(--mint)}:root[data-autobot-appearance=eye-safe] .strategy-summary strong.negative{border-bottom:3px double var(--coral)}:root[data-autobot-appearance=eye-safe] .strategy-state.running i{border-radius:1px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes authenticate{0%{transform:translate(-110%)}50%{transform:translate(140%)}to{transform:translate(260%)}}@keyframes pulse{50%{opacity:.25;transform:scale(.8)}}@keyframes quote-flash{0%{background:var(--amber-soft)}to{background:transparent}}.spin{animation:spin 1s linear infinite}@media(max-width:900px){.app-shell,.app-shell.sidebar-collapsed{grid-template:54px minmax(0,1fr) / minmax(0,1fr)}.shell-header{grid-column:1;grid-row:1}.mobile-menu{display:grid;flex:0 0 36px;margin-left:9px}.route-title{min-width:0;padding:0 10px}.route-title span,.shell-clock span,.context-statuses{display:none}.context-quick button:nth-child(n+2){display:none}.context-quick button span{display:none}.context-quick button{width:36px;padding:0;justify-content:center}.context-toolbar{margin-left:2px;margin-right:2px}.context-popover{position:fixed;top:60px;right:8px;width:min(300px,calc(100vw - 16px))}.shell-clock{margin-left:auto;padding:6px 9px;border-left:0}.header-actions{padding:0 7px 0 4px}.header-actions>.icon-button{display:none}.strategy-supervisor-button,.appearance-button{width:36px;padding:0;justify-content:center}.strategy-supervisor-button span,.appearance-button span{display:none}.appearance-popover{position:fixed;top:60px;right:8px;width:min(320px,calc(100vw - 16px))}.workspace-button{max-width:135px;height:36px}.workspace-button>span:nth-child(2) small{display:none}.workspace-popover{position:fixed;top:60px;right:8px;width:min(340px,calc(100vw - 16px))}.shell-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:min(292px,86vw);transform:translate(-102%);box-shadow:16px 0 40px #0000006b;transition:transform .18s ease}.shell-sidebar.mobileOpen{transform:translate(0)}.sidebar-head{min-height:54px;padding:0 11px}.mobile-close{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:transparent}.sidebar-collapsed .sidebar-brand strong,.sidebar-collapsed .sidebar-brand small,.sidebar-collapsed .shell-sidebar h2,.sidebar-collapsed .shell-sidebar nav button>span,.sidebar-collapsed .shell-sidebar>footer span,.sidebar-collapsed .shell-sidebar>footer small{display:initial}.sidebar-collapsed .sidebar-head{justify-content:space-between;padding:0 11px}.sidebar-collapsed .shell-sidebar nav button{grid-template-columns:28px minmax(0,1fr);place-items:initial;padding:5px 8px}.sidebar-collapsed .shell-sidebar>footer{justify-content:space-between}.mobile-strategy-entry{display:grid!important;margin-bottom:14px;border:1px solid var(--line)!important;background:var(--surface)!important}.sidebar-scrim{position:fixed;z-index:35;top:0;right:0;bottom:0;left:0;display:block;border:0;background:var(--overlay)}.module-region{grid-column:1;grid-row:2}.algorun-operating-grid{grid-template-columns:minmax(0,1fr)}.algo-market-levels{position:static}}@media(max-width:680px){.login-view{padding:14px}.login-panel{padding:22px 18px}.auth-check{grid-template-columns:1fr;gap:18px}.shell-clock svg,.shell-clock span{display:none}.shell-clock{padding-inline:4px;border:0}.route-title{max-width:92px;padding-inline:7px 2px}.route-title strong{overflow:hidden;font-size:13px;text-overflow:ellipsis}.workspace-button{max-width:112px;padding:0 6px}.workspace-button .avatar{width:23px;height:23px;flex-basis:23px}.workspace-button svg{display:none}.strategy-supervisor-button{display:none}.strategy-choice-pair{grid-template-columns:1fr}.strategy-expiry-plan label{grid-template-columns:44px minmax(0,1fr)}.strategy-expiry-plan label em{grid-column:2}.strategy-risk-grid{grid-template-columns:1fr}.strategy-workspace-header{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;padding:7px 8px}.strategy-workspace-header>div:first-child{display:flex;gap:6px}.strategy-global-actions button{width:30px;min-height:30px;padding:0}.strategy-global-actions button span{display:none}.primary-settings-action{width:30px;padding:0}.primary-settings-action span{display:none}.authoritative-settings>header small{display:none}.strategy-workspace-actions{width:100%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));align-items:stretch;gap:4px}.strategy-workspace-actions>button{width:auto;min-width:0;min-height:34px;padding:0}.strategy-workspace-actions>button span{display:none}.strategy-workspace-actions .algo-view-toggle,.strategy-workspace-actions .strategy-global-actions{display:contents}.algo-view-toggle button{width:auto;min-width:0;min-height:34px;padding:0;border:1px solid var(--line-strong);border-radius:4px}.algo-view-toggle button span{display:none}.strategy-global-actions button{width:auto;min-width:0;min-height:34px;padding:0}.strategy-global-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-global-metrics>div:nth-child(2){border-right:0}.strategy-global-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.strategy-global-metrics>div:last-child{grid-column:1 / -1;border-right:0}.strategy-global-metrics>div{min-height:66px;padding:7px 9px}.strategy-global-metrics strong{font-size:16px}.strategy-global-metrics .market-price-card strong{font-size:19px}.algorun-operating-grid{gap:6px;padding:6px}.strategy-group-grid{padding:0}.strategy-state.prominent{min-width:76px;padding-inline:6px;font-size:9px}.strategy-group h2{font-size:15px}.algo-gates-summary{grid-template-columns:28px minmax(0,1fr) 18px}.gate-counts{display:none}.algo-gate-list{grid-template-columns:1fr}.strategy-position-list{overflow-x:visible}.strategy-position-row{min-width:0;grid-template-columns:minmax(0,1fr) minmax(76px,.72fr) minmax(88px,.82fr) 94px;grid-template-areas:"name name name actions" "entry ltp pnl pnl" "stop target pnl pnl";gap:7px 10px}.strategy-position-row .strategy-position-name{grid-area:name}.strategy-position-row .position-entry{grid-area:entry}.strategy-position-row .live-price{grid-area:ltp}.strategy-position-row .position-stop{grid-area:stop}.strategy-position-row .position-target{grid-area:target}.strategy-position-row .position-pnl{grid-area:pnl;align-self:stretch;justify-content:center;padding-left:10px;border-left:1px solid var(--line)}.strategy-position-row .position-actions{grid-area:actions;align-self:start}.strategy-position-details{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-position-details>span:nth-child(2){grid-column:1 / -1}.closed-position-row{grid-template-columns:minmax(124px,1.2fr) repeat(2,minmax(62px,.7fr))}.closed-position-row>span:nth-child(4){grid-column:2}.closed-position-row>span:nth-child(5){grid-column:3}}@media(max-width:420px){.route-title{display:none}.header-actions{margin-left:auto}.shell-clock{margin-left:0}.workspace-button{max-width:104px}.strategy-workspace-header{gap:7px}.strategy-workspace-header>div:first-child{min-width:0}.strategy-workspace-header>div>strong{font-size:16px}.strategy-workspace-header>div>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-workspace-actions{gap:3px}.strategy-group>header{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.strategy-group>header>div:first-child{grid-template-columns:72px minmax(0,1fr);gap:2px 6px}.strategy-state.prominent{min-width:0;width:72px;padding-inline:3px}.strategy-group p{gap:4px}.strategy-group p em{padding-inline:3px}.strategy-group-actions{justify-content:flex-end;gap:3px}.strategy-group-actions button{width:28px;min-height:28px}.strategy-group-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-group-metrics>span:nth-child(2){border-right:0}.strategy-group-metrics>span:nth-child(-n+2){border-bottom:1px solid var(--line)}.strategy-position-row{grid-template-columns:minmax(0,1fr) minmax(72px,.8fr) 88px;grid-template-areas:"name name actions" "entry ltp pnl" "stop target pnl";gap:6px 8px;padding-inline:8px}.strategy-position-row .live-price strong,.strategy-position-row .position-pnl strong{font-size:17px}.position-actions{width:100%}.algo-gates-summary strong{font-size:11px}.algo-gate-row{grid-template-columns:18px minmax(0,1fr)}.algo-gate-row .gate-values{grid-column:2;justify-items:start;grid-template-columns:auto auto;gap:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--background: var(--ground)}:root .app-shell{font-size:14px;line-height:1.45}:root .app-shell :is(button,input,select,textarea){font-family:inherit;letter-spacing:0}:root .app-shell button{cursor:pointer}:root .app-shell button:disabled{cursor:not-allowed}:root .app-shell :is(button,summary,input,select,textarea,a):focus-visible{outline:2px solid var(--accent-cyan);outline-offset:3px}:root .app-shell :is(small,.eyebrow){font-size:12px;line-height:1.4}:root .app-shell :is(input:not([type=checkbox]):not([type=range]),select,textarea){font-size:14px;min-height:36px}:root .app-shell table{font-size:13px;font-variant-numeric:tabular-nums}:root .app-shell :is(th,td){line-height:1.45;padding-block:10px}:root .app-shell td strong{font-size:15px}:root .app-shell th{font-weight:600}:root .app-shell tbody tr:hover{background:var(--surface-hover)}:root .app-shell :is(.matrix-header,.backtest-toolbar,.portfolio-toolbar,.simtrade-header,.cas-header){border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:12px 4px;gap:16px}:root .app-shell :is(.matrix-header,.backtest-toolbar,.portfolio-toolbar,.simtrade-header,.cas-header) button{min-height:36px;font-size:13px}:root .app-shell .shell-sidebar nav button{min-height:42px}:root .app-shell .shell-sidebar nav strong{font-size:14px}:root .app-shell .shell-sidebar h2{color:var(--muted);font-size:11px;padding-block:6px}:root .app-shell .route-title strong{font-size:16px}:root .app-shell .shell-clock strong{font-size:17px}:root .app-shell .shell-clock span{color:var(--muted);font-size:12px}:root .app-shell .strategy-workspace-header{gap:14px;padding-block:12px;flex-wrap:wrap}:root .app-shell :is(.strategy-global-actions,.strategy-group-actions){flex-wrap:wrap}:root .app-shell :is(.strategy-global-actions,.strategy-group-actions) button{min-height:36px;font-size:12px}:root .app-shell .strategy-global-metrics{margin-bottom:14px}:root .app-shell .strategy-global-metrics>div{padding:12px}:root .app-shell .strategy-global-metrics :is(span,small){font-size:12px;color:var(--muted)}:root .app-shell .strategy-global-metrics strong{font-size:22px}:root .app-shell .strategy-global-metrics>div:nth-child(6) strong{font-size:17px}:root .app-shell .strategy-position-row{padding-block:16px}:root .app-shell .strategy-position-row strong{font-size:16px}:root .app-shell .strategy-position-row :is(.live-price,.position-pnl) strong{font-size:23px;text-shadow:none}:root .app-shell :is(.strategy-no-position,.strategy-overview-empty){padding:22px 12px;font-size:13px;color:var(--muted)}:root .app-shell .algo-gates-summary strong{font-size:13px}:root .app-shell .algo-market-levels{align-self:start}:root .app-shell .level-row strong{font-size:14px}:root .app-shell :is(.level-row span,.levels-block h3,.pivot-grid small){font-size:12px;color:var(--muted)}:root .app-shell .pivot-grid strong{font-size:13px}:root .app-shell .appearance-popover{max-height:calc(100dvh - 84px);overflow:auto}:root .app-shell .quiet-updates{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:13px}:root .app-shell .quiet-updates input{width:18px;height:18px;accent-color:var(--accent)}:root[data-quiet-updates=true] .app-shell :is(.live-price strong,.market-price-card strong,.quote-flash,.flash-up,.flash-down){animation:none;text-shadow:none}:root .app-shell .settings-wizard{grid-template-rows:auto auto minmax(0,1fr) auto}:root .app-shell .wizard-body{min-height:0;overscroll-behavior:contain}:root .app-shell .wizard-footer{flex-shrink:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}:root .app-shell .setting-field>span{font-size:13px}:root .app-shell .field-group>header strong{font-size:13px;text-transform:none}:root .app-shell .field-groups{gap:24px}:root .app-shell .field-grid{gap:12px 20px}:root .app-shell .saved-panel{max-height:min(620px,calc(100dvh - 160px));overflow:auto}:root .app-shell .calendar-grid{grid-template-columns:repeat(7,30px)}:root .app-shell .week-labels{grid-template-columns:repeat(7,30px)}:root .app-shell .calendar-grid button{width:30px;height:30px;font-size:12px}:root .app-shell .calendar-months article{min-width:234px}:root .app-shell .backtest-empty p{max-width:32ch}:root .app-shell .portfolio-dialog{max-height:calc(100dvh - 28px);overflow:auto}:root .app-shell .portfolio-dialog footer{position:sticky;bottom:-14px;background:var(--surface-strong);padding-block:12px}:root .app-shell .portfolio-dialog :is(input,select){min-width:0;max-width:100%}:root .app-shell .portfolio-toolbar{flex-wrap:wrap}:root .app-shell .portfolio-summary span{font-size:12px}:root .app-shell .matrix-table th:first-child{left:0;z-index:3}:root .app-shell .module-region>:is(.backtest-native,.cas-page,.simtrade-native,.orb-native,.dashboard-view,.users-view,.native-view){flex:1;min-height:0;overflow:auto}:root .app-shell .backtest-native>*{flex-shrink:0}:root .app-shell .matrix-page{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}:root .app-shell .matrix-page>*{flex-shrink:0}:root .app-shell .matrix-table{flex:1 1 auto;min-width:0;min-height:120px;max-width:100%;max-height:none}:root .app-shell .pagination{min-height:42px}:root .app-shell :is(.result-summary span,.sim-summary span,.status-band small,.backtest-toolbar span,.portfolio-toolbar span){font-size:12px;color:var(--muted);text-transform:none}:root .app-shell .calendar-months h3{font-size:13px}:root .app-shell .calendar-grid :is(.profit.i3,.profit.i4){background:color-mix(in srgb,var(--positive) 40%,var(--input));color:var(--text);border-color:var(--positive)}:root .app-shell .calendar-grid :is(.loss.i3,.loss.i4){background:color-mix(in srgb,var(--danger) 40%,var(--input));color:var(--text);border-color:var(--danger)}@media(max-width:760px){:root .app-shell .portfolio-native{grid-template-rows:auto minmax(0,1fr)}:root .app-shell .portfolio-list{min-height:68px;align-items:center}:root .app-shell .portfolio-main{min-height:0;overflow:auto}:root .app-shell :is(input:not([type=checkbox]):not([type=range]),select,textarea){font-size:16px}:root .app-shell .shell-clock strong{font-size:15px}:root .app-shell .strategy-global-metrics>div{padding:9px}:root .app-shell .strategy-global-metrics strong{font-size:19px}:root .app-shell .strategy-global-metrics>div:nth-child(6) strong{font-size:16px}:root .app-shell :is(.strategy-global-actions,.strategy-group-actions) button{min-width:36px;min-height:40px}:root .app-shell .wizard-footer{grid-template-columns:minmax(70px,1fr) minmax(130px,2fr);gap:12px}:root .app-shell .wizard-footer>span{display:none}:root .app-shell .settings-wizard{max-width:100vw}}:root,:root[data-autobot-appearance=graphite]{color-scheme:dark;--ground: #131516;--surface: #1b1e20;--surface-raised: #222628;--surface-hover: #2c3133;--ink: #eef0ed;--muted: #acb3b3;--line: #353b3e;--line-strong: #657073;--mint: #79d3a9;--coral: #ff9e96;--amber: #e9c16e;--accent: #b6d6cb;--accent-contrast: #13281f;--accent-cyan: #a4cce7;--accent-purple: #c7bce5;--shadow: 0 16px 48px #0005}:root[data-autobot-appearance=midnight]{color-scheme:dark;--ground: #080a0c;--surface: #121619;--surface-raised: #1c2226;--surface-hover: #293238;--ink: #edf2f5;--muted: #a8b6bf;--line: #323e45;--line-strong: #627681;--accent: #b7cbd5;--accent-contrast: #10232b}:root[data-autobot-appearance=pine]{color-scheme:dark;--ground: #141b19;--surface: #1c2521;--surface-raised: #27312c;--surface-hover: #354039;--ink: #eff3eb;--muted: #b0bbae;--line: #3c4940;--line-strong: #6f8074;--accent: #a7c6ab;--accent-contrast: #162c1c}:root[data-autobot-appearance=daylight]{color-scheme:light;--ground: #f5f6f5;--surface: #ffffff;--surface-raised: #ecefed;--surface-hover: #e2e7e4;--ink: #212a27;--muted: #58645e;--line: #d5dcd7;--line-strong: #87968d;--mint: #12643e;--coral: #a63229;--amber: #7a570c;--accent: #275b4b;--accent-contrast: #ffffff;--accent-cyan: #236486;--accent-purple: #65518d;--shadow: 0 16px 48px #18302320}:root[data-color-vision=true]{--mint: #89caff;--coral: #ffbe7a;--amber: #e2c978}:root[data-color-vision=true][data-autobot-appearance=daylight]{--mint: #005f9e;--coral: #994800;--amber: #725700}:root{--dim: var(--muted);--paper: var(--ink);--text: var(--ink);--header-bg: var(--surface);--sidebar-bg: var(--surface);--module-bg: var(--ground);--panel-strong: var(--surface-raised);--surface-strong: var(--surface-raised);--input: var(--ground);--border: var(--line);--negative: var(--coral);--positive: var(--mint);--danger: var(--coral);--warning: var(--amber);--mint-soft: color-mix(in srgb, var(--mint) 10%, var(--surface));--coral-soft: color-mix(in srgb, var(--coral) 10%, var(--surface));--amber-soft: color-mix(in srgb, var(--amber) 10%, var(--surface));--mint-border: color-mix(in srgb, var(--mint) 45%, var(--line));--coral-border: color-mix(in srgb, var(--coral) 45%, var(--line));--amber-border: color-mix(in srgb, var(--amber) 45%, var(--line));color:var(--ink);background:var(--ground)}:root .app-shell{font-size:14px;line-height:1.5}:root .app-shell *{letter-spacing:0}:root .app-shell :is(h1,h2,h3,strong,b,dd){font-variant-numeric:tabular-nums}:root .app-shell :is(h1,h2,h3){font-weight:600}:root .app-shell :is(button,input,select,textarea){border-radius:5px}:root .app-shell button svg{flex-shrink:0}:root .app-shell :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}:root .app-shell :is(.positive,.bullish){color:var(--mint)}:root .app-shell :is(.negative,.bearish){color:var(--coral)}:root .app-shell .shell-sidebar nav button{border-radius:5px}:root .app-shell .shell-sidebar nav button.active{background:var(--surface-hover);color:var(--ink);border-color:var(--line);box-shadow:inset 2px 0 var(--accent)}:root .app-shell .shell-sidebar nav button.active svg{color:var(--accent)}:root .app-shell :is(.shell-header,.shell-sidebar){box-shadow:none}:root .app-shell :is(.backtest-toolbar,.portfolio-toolbar,.sim-toolbar,.matrix-header,.cas-header,.native-toolbar){border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:var(--ground);padding:16px}:root .app-shell :is(.result-summary,.portfolio-summary,.sim-summary){border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}:root .app-shell :is(.result-summary,.portfolio-summary,.sim-summary)>div{border:0;padding:16px;min-width:0}:root .app-shell :is(.result-summary,.portfolio-summary,.sim-summary) strong{font-size:22px;overflow-wrap:anywhere}:root .app-shell :is(.result-summary,.portfolio-summary,.sim-summary) span{text-transform:none}:root .app-shell :is(.eyebrow,.strategy-global-metrics span,.closed-position-row small,.strategy-position-row small){text-transform:none;font-weight:400}:root .app-shell .strategy-workspace-header{padding:14px 20px;gap:12px;background:var(--ground)}:root .app-shell .strategy-workspace-header>div:first-child{flex-wrap:wrap}:root .app-shell .strategy-workspace-header>div>small{text-transform:none}:root .app-shell .strategy-workspace-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}:root .app-shell .strategy-workspace-actions>button,:root .app-shell .algo-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:13px;cursor:pointer}:root .app-shell .strategy-workspace-actions>button:hover{color:var(--ink);background:var(--surface-hover)}:root .app-shell .strategy-workspace-actions>button.active,:root .app-shell .strategy-workspace-actions>button[aria-pressed=true],:root .app-shell .algo-view-toggle button.active{color:var(--ink);background:var(--surface-hover);box-shadow:inset 0 -2px var(--accent)}:root .app-shell .algo-view-toggle{height:auto;border:0;padding:0;gap:4px;background:transparent}:root .app-shell .strategy-workspace-actions>.kill-switch{color:var(--coral);border-color:var(--coral-border);background:var(--coral-soft);white-space:nowrap}:root .app-shell .data-connect-action.connected{color:var(--mint);border-color:transparent;background:transparent}:root .app-shell .strategy-global-actions{width:100%;justify-content:flex-end;padding-top:8px}:root .app-shell .strategy-global-metrics{margin:0 20px 20px;grid-template-columns:repeat(7,minmax(0,1fr));gap:18px;padding:12px 0 22px}:root .app-shell .strategy-global-metrics>div{padding:0;border:0;background:transparent;align-content:start;min-height:0;gap:7px}:root .app-shell .strategy-global-metrics strong{font-size:24px;font-weight:600;color:var(--ink)}:root .app-shell .strategy-global-metrics small{white-space:normal;overflow:visible;line-height:1.5}:root .app-shell .strategy-global-metrics>div:nth-child(6) strong{font-size:17px;white-space:normal;overflow-wrap:anywhere}:root .app-shell .mobile-market-detail{display:none}:root .app-shell .algorun-operating-grid{grid-template-columns:minmax(0,1fr);padding:0 20px 24px;gap:20px}:root .app-shell .algorun-operating-grid.with-levels{grid-template-columns:minmax(0,1fr) 280px}:root .app-shell .strategy-group-grid{gap:20px}:root .app-shell .strategy-group{border:1px solid var(--line);border-radius:6px;box-shadow:none;container-type:inline-size}:root .app-shell .strategy-group>header{padding:16px;min-height:78px;gap:16px}:root .app-shell .strategy-group>header>div:first-child{grid-template-columns:minmax(0,1fr);gap:3px}:root .app-shell .strategy-group>header .strategy-state{grid-row:auto;justify-self:start;order:3;margin-top:4px}:root .app-shell .strategy-group h2{font-size:17px;white-space:normal;overflow-wrap:anywhere}:root .app-shell .strategy-group p{white-space:normal;flex-wrap:wrap;overflow:visible;font-size:12px;gap:6px}:root .app-shell .strategy-group p em{border:0;padding:0;font-size:11px;text-transform:none}:root .app-shell .group-net{margin-left:auto;display:grid;gap:3px;text-align:right;flex-shrink:0}:root .app-shell .group-net strong{font-size:19px;font-weight:600}:root .app-shell .strategy-group-actions{gap:4px;flex-shrink:0}:root .app-shell .strategy-group-actions button{width:34px;min-height:36px;border-color:transparent;color:var(--muted);background:transparent}:root .app-shell .strategy-group-actions button:hover{background:var(--surface-hover);color:var(--ink);border-color:var(--line)}:root .app-shell .strategy-group-actions button.danger{color:var(--coral)}:root .app-shell .strategy-state.prominent{min-height:23px;min-width:0;padding:2px 6px;font-size:11px;background:var(--surface-raised)}:root .app-shell .strategy-state i{box-shadow:none}:root .app-shell .strategy-position-list{overflow-x:visible}:root .app-shell .strategy-position-row{min-width:0;grid-template-columns:minmax(170px,1.8fr) minmax(65px,.8fr) minmax(85px,1fr) minmax(65px,.8fr) minmax(65px,.8fr) minmax(100px,1.2fr) 112px;gap:14px;padding:22px 16px}:root .app-shell .strategy-position-row>span{gap:5px}:root .app-shell .strategy-position-name b{color:var(--muted);font-size:10px;font-weight:600}:root .app-shell .strategy-position-name strong{white-space:normal;overflow-wrap:anywhere}:root .app-shell .strategy-position-row :is(.live-price,.position-pnl) strong{font-size:25px;font-weight:600;color:var(--ink)}:root .app-shell .position-pnl{text-align:right}:root .app-shell .position-actions{gap:4px}:root .app-shell .position-actions button{width:34px;height:36px;flex-shrink:0;background:transparent}:root .app-shell .strategy-position-details{padding:14px 16px;gap:16px;background:var(--surface-raised)}:root .app-shell .strategy-position-details>span{background:transparent;padding:0}:root .app-shell .strategy-position-details strong{font-size:13px;white-space:normal}:root .app-shell .closed-position-row{opacity:1;padding:18px 16px;gap:16px}:root .app-shell .closed-position-row strong{font-size:15px;white-space:normal;overflow-wrap:anywhere}:root .app-shell .closed-position-heading{font-size:12px;padding:12px 16px;text-transform:none}:root .app-shell .strategy-group.collapsed .position-entry,:root .app-shell .strategy-group.collapsed .position-target{display:none}:root .app-shell .strategy-group.collapsed .strategy-position-row{grid-template-columns:minmax(170px,2fr) 1fr 1fr 1.2fr 112px}:root .app-shell .algo-gates{background:transparent;border:0;border-top:1px solid var(--line)}:root .app-shell .algo-gates-summary{grid-template-columns:auto minmax(0,1fr) auto 18px;gap:14px;padding:12px 16px;min-height:48px}:root .app-shell .gate-trend{display:flex;align-items:center;gap:5px;font-size:12px}:root .app-shell .gate-counts{font-size:12px;color:var(--muted)}:root .app-shell .gate-condition-table{padding:0 16px 12px}:root .app-shell .gate-condition-head,:root .app-shell .gate-condition-row{display:grid;grid-template-columns:minmax(140px,1.3fr) 1fr 1fr 100px;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}:root .app-shell .gate-condition-head{font-size:12px;color:var(--muted)}:root .app-shell .gate-condition-row{font-size:13px}:root .app-shell .gate-condition-row:last-child{border-bottom:0}:root .app-shell .gate-condition-row strong{font-weight:550}:root .app-shell .gate-condition-row small{display:block;margin-top:4px;color:var(--muted)}:root .app-shell .gate-condition-row .condition-status{display:flex;align-items:center;gap:6px}:root .app-shell .condition-status.pass{color:var(--mint)}:root .app-shell .condition-status.blocked{color:var(--amber)}:root .app-shell .condition-status.waiting,:root .app-shell .condition-status.inactive{color:var(--muted)}:root .app-shell .algo-gate-empty{padding:12px 16px;color:var(--muted)}.tradebook-drawer{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;width:min(850px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);overflow:auto;overscroll-behavior:contain}.tradebook-drawer::backdrop{background:#0009}.tradebook-drawer button,.tradebook-drawer select,.tradebook-drawer input{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:5px;padding:8px 10px;min-height:38px}.tradebook-drawer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.tradebook-drawer button:disabled{opacity:.5;cursor:not-allowed}.tradebook-drawer small,.tradebook-drawer dt{display:block;color:var(--muted);font-size:12px}.book-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--line);background:var(--surface);position:sticky;top:0;z-index:2}.book-header h2{margin:0;font-size:20px}.tradebook-drawer fieldset{border:0;min-width:0;padding:16px 22px;margin:0}.book-mode{display:flex;gap:6px;padding-bottom:16px}.book-mode button[aria-pressed=true]{background:var(--surface-hover);border-color:var(--accent)}.book-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.book-controls label{display:grid;gap:6px;color:var(--muted);font-size:12px}.book-controls .book-load{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.book-loading{display:flex;align-items:center;gap:12px;padding:12px 22px;color:var(--muted)}.book-loading progress{width:160px;max-width:50%;accent-color:var(--accent)}.book-error{color:var(--coral);padding:0 22px}.book-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 22px;border-block:1px solid var(--line)}.book-summary strong{display:block;margin-top:7px;font-size:22px;font-weight:600}.book-summary>div:nth-child(2) strong{font-size:17px}.book-result-heading{display:flex;align-items:center;gap:12px;padding:18px 22px;flex-wrap:wrap}.book-result-heading>div{flex:1}.book-result-heading select{max-width:220px}.book-days{padding:0 22px 22px}.book-days[aria-busy=true]{opacity:.5}.tradebook-drawer .book-day{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);justify-content:flex-start;padding:16px 0;gap:12px}.book-day b{margin-left:auto;font-size:16px}.book-day svg.expanded{transform:rotate(90deg)}.book-trade{border-bottom:1px solid var(--line);padding:20px 0}.book-trade header,.book-trade footer{display:flex;justify-content:space-between;align-items:start;gap:12px}.book-trade header>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.book-trade header strong{font-size:16px}.book-trade dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.book-trade dd{margin:6px 0 0;font-size:16px;font-weight:550}.book-trade footer{flex-wrap:wrap}.book-empty{padding:36px 0;display:flex;gap:12px;align-items:center;justify-content:center;color:var(--muted)}@container (max-width: 1020px){:root .app-shell .strategy-position-row,:root .app-shell .strategy-group.collapsed .strategy-position-row{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"name name name actions" "entry ltp stop pnl" "target target target pnl";gap:16px}:root .app-shell .strategy-position-row .strategy-position-name{grid-area:name}:root .app-shell .position-entry{grid-area:entry}:root .app-shell .live-price{grid-area:ltp}:root .app-shell .position-stop{grid-area:stop}:root .app-shell .position-target{grid-area:target}:root .app-shell .position-pnl{grid-area:pnl}:root .app-shell .position-actions{grid-area:actions}:root .app-shell .strategy-group>header{flex-wrap:wrap}:root .app-shell .strategy-group-actions{margin-left:auto}}@media(max-width:1450px){:root .app-shell .strategy-global-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 24px}:root .app-shell .algorun-operating-grid.with-levels{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){:root .app-shell .strategy-workspace-header{padding:12px;gap:10px}:root .app-shell .strategy-workspace-actions{gap:6px;width:100%}:root .app-shell .strategy-workspace-actions>button span{display:inline}:root .app-shell .strategy-workspace-actions>button,:root .app-shell .algo-view-toggle button{min-height:40px;padding:7px 9px;font-size:12px}:root .app-shell .strategy-global-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 12px 16px;gap:18px 12px;padding:12px 0 18px}:root .app-shell .strategy-global-metrics strong{font-size:22px}:root .app-shell .strategy-global-metrics>div{padding:0}:root .app-shell .strategy-global-metrics>div:nth-child(3),:root .app-shell .strategy-global-metrics>div:nth-child(6){display:none}:root .app-shell .mobile-market-detail{display:block}:root .app-shell .strategy-global-metrics>div:nth-child(7){grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center}:root .app-shell .strategy-global-metrics>div:nth-child(7) strong{font-size:18px;margin-left:auto}:root .app-shell .algorun-operating-grid{padding:0 10px 20px}:root .app-shell .strategy-group>header{display:flex;flex-wrap:wrap;padding:14px 12px;gap:12px}:root .app-shell .strategy-group>header>div:first-child{flex-basis:calc(100% - 128px)}:root .app-shell .group-net{max-width:116px}:root .app-shell .group-net strong{font-size:17px}:root .app-shell .group-net small{font-size:11px}:root .app-shell .strategy-group-actions{width:100%;justify-content:flex-end;gap:10px}:root .app-shell .strategy-group-actions button{width:40px;min-height:40px}:root .app-shell .strategy-state.prominent{width:auto;white-space:nowrap}:root .app-shell .gate-counts{display:inline}:root .app-shell .closed-position-row>span:nth-child(4),:root .app-shell .closed-position-row>span:nth-child(5){grid-column:auto}:root .app-shell .strategy-position-row,:root .app-shell .strategy-group.collapsed .strategy-position-row{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"name name name name" "ltp ltp pnl pnl" "entry stop target target" "actions actions actions actions";padding:18px 12px 12px;gap:18px 12px}:root .app-shell .strategy-position-row .strategy-position-name{grid-area:name}:root .app-shell .strategy-position-row .position-pnl{padding:0;border:0;align-self:start}:root .app-shell .strategy-position-row :is(.live-price,.position-pnl) strong{font-size:28px}:root .app-shell .strategy-position-row .position-actions{justify-content:flex-end;gap:10px}:root .app-shell .position-actions button{width:42px;height:40px}:root .app-shell .strategy-position-row .position-target{text-align:right}:root .app-shell .strategy-group.collapsed .strategy-position-row{grid-template-areas:"name name name name" "ltp ltp pnl pnl" "stop stop actions actions"}:root .app-shell .closed-position-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 12px}:root .app-shell .closed-position-row .strategy-position-name{grid-column:1/-1}:root .app-shell .algo-gates-summary{grid-template-columns:minmax(0,1fr) auto 18px;gap:8px;padding:12px}:root .app-shell .algo-gates-summary>strong{grid-column:1/-1;grid-row:2;white-space:normal}:root .app-shell .gate-counts{font-size:11px}:root .app-shell .gate-condition-table{padding-inline:12px}:root .app-shell .gate-condition-head{display:none}:root .app-shell .gate-condition-row{grid-template-columns:minmax(0,1fr) 100px;gap:12px}:root .app-shell .gate-condition-row>strong{grid-column:1;grid-row:1}:root .app-shell .gate-condition-row .condition-status{grid-column:2;grid-row:1}:root .app-shell .gate-condition-row .gate-observed:before{content:"Observed: ";color:var(--muted)}:root .app-shell .gate-condition-row .gate-required:before{content:"Required: ";color:var(--muted)}:root .app-shell .gate-condition-row :is(.gate-observed,.gate-required){grid-column:1/-1}.tradebook-drawer{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.book-header,.tradebook-drawer fieldset,.book-summary,.book-result-heading{padding:16px}.book-days{padding:0 16px 16px}.book-summary{grid-template-columns:1fr 1fr;gap:18px 12px}.book-summary>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line)}.book-summary strong{font-size:20px}.book-summary>div:nth-child(2) strong{font-size:15px}.book-controls{display:grid;grid-template-columns:1fr 1fr}.book-controls label{min-width:0;grid-column:1/-1}.book-controls input{width:100%;min-width:0;box-sizing:border-box;font-size:16px}.book-controls .book-load{grid-column:1/-1}.book-result-heading>div{flex-basis:100%}.book-result-heading select{flex:1;min-width:0}.book-trade dl{grid-template-columns:repeat(2,minmax(0,1fr))}.book-trade header{flex-wrap:wrap}.book-trade dd{font-size:15px;overflow-wrap:anywhere}.tradebook-drawer .book-day{gap:8px}.book-day strong,.book-day b{font-size:13px}.book-day small{font-size:11px}}@media(prefers-reduced-motion:reduce){:root .app-shell *,:root .app-shell *:before,:root .app-shell *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:720px){.app-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;box-sizing:border-box}.app-shell :is(button,summary){touch-action:manipulation}.app-shell :is(.native-toolbar,.backtest-toolbar,.desk-header,.cas-header){min-width:0;gap:8px}.app-shell :is(.native-toolbar,.backtest-toolbar,.desk-header,.cas-header) button{min-height:44px;min-width:44px}.app-shell :is(.workspace-menu,.appearance-menu){max-width:calc(100vw - 16px);max-height:calc(100dvh - 72px);overflow-y:auto}.app-shell :is(.settings-wizard,.action-dialog,.cas-settings){max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box}.app-shell :is(.wizard-footer,.cas-settings footer){flex-shrink:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}:root .app-shell .strategy-workspace-header{padding:8px 10px;gap:6px}:root .app-shell .strategy-workspace-overview.chart-mode{overflow-y:auto}:root .app-shell .strategy-workspace-overview.chart-mode>*{flex-shrink:0}:root .app-shell .strategy-workspace-overview.chart-mode .algo-live-chart{min-height:340px}:root .app-shell .strategy-workspace-actions{gap:4px}:root .app-shell .strategy-global-metrics{margin:0 10px 8px;gap:10px 12px;padding:8px 0}:root .app-shell .strategy-global-metrics strong{font-size:20px}:root .app-shell .strategy-global-metrics>div:nth-child(7){padding-top:6px;border-top:1px solid var(--border)}:root .app-shell .strategy-group>header{padding:10px;gap:8px}:root .app-shell .strategy-position-row{gap:12px;padding:12px 10px}.app-shell .backtest-toolbar>div:last-child{display:flex;flex-wrap:wrap;margin-top:8px;gap:6px}.app-shell .backtest-toolbar button{padding:8px;flex:1}.app-shell .backtest-toolbar button.run{grid-column:auto}.app-shell .result-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .result-summary div{min-width:0;padding:10px 6px}.app-shell .result-summary strong{font-size:15px;overflow-wrap:anywhere}.app-shell .result-summary span{font-size:11px}.app-shell .calendar-section>header{gap:8px;flex-wrap:wrap}.app-shell .calendar-section>header>div:last-child{display:flex;gap:6px}.app-shell .saved-panel{max-width:calc(100vw - 24px);max-height:65dvh;overflow:auto}.app-shell .desk-summary{margin:8px 0}.app-shell .desk-summary>div{padding:8px}.app-shell .desk-summary strong{font-size:20px}.app-shell .desk-tools{gap:6px}.app-shell .desk-tools nav button{min-height:44px}.app-shell .cas-header{flex-direction:column}.app-shell .cas-title{display:none}.app-shell .cas-actions{width:100%;flex-wrap:nowrap;gap:6px}.app-shell .cas-search{flex:1;min-width:0;height:44px;box-sizing:border-box}.app-shell .cas-search input{width:100%;min-width:0}.app-shell .cas-actions button{width:44px;flex-shrink:0}.app-shell .auction-clock{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .auction-clock>div{min-height:44px;padding:6px 8px}.app-shell .auction-clock>div:nth-child(n+3){display:none}.app-shell .cas-mobile-status{display:block;font-size:12px;color:var(--muted)}.app-shell .cas-mobile-status summary{min-height:44px;align-content:center}.app-shell .cas-mobile-status p{margin:0 0 8px}.app-shell .cas-filters{flex-wrap:nowrap;overflow-x:auto;flex-shrink:0}.app-shell .cas-filters button{min-height:44px;flex-shrink:0}.app-shell .cas-table{min-height:240px;max-height:none}.app-shell .cas-settings{overflow-y:auto}.app-shell .cas-settings footer{position:sticky;bottom:-16px;background:var(--surface)}.app-shell .summary-strip div{min-width:0;padding:10px 8px}.app-shell .summary-strip strong{overflow-wrap:anywhere}.app-shell .health-metrics{gap:8px}.app-shell .health-metrics article{min-width:0;padding:12px}}
