:root{color:#0f172a;background:#f5f7fb;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--blue: #2563eb;--ink: #0f172a;--muted: #71829d;--line: #e8edf5;--panel: #fff;--bg: #f5f7fb}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}.app-shell{min-height:100vh}.topbar{height:68px;padding:0 42px;display:flex;align-items:center;gap:42px;background:#fffffff0;border-bottom:1px solid #edf1f6;box-shadow:0 1px 5px #0f172a06}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;color:var(--ink);font-size:15px;font-weight:800;letter-spacing:-.02em}.brand-mark{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(145deg,#2563eb,#6d8ff5);box-shadow:0 5px 12px #2563eb3d}.brand-mark span{width:11px;height:11px;border:2px solid white;border-radius:4px;transform:rotate(45deg)}.brand-version{margin-left:1px;padding:3px 6px;border-radius:5px;color:#8290a7;background:#f2f5fa;font-size:10px;font-weight:700}.nav-tabs{display:flex;align-items:center;gap:5px;height:100%}.nav-button{height:34px;padding:0 15px;border:0;border-radius:9px;color:#52627a;background:transparent;font-size:13px;font-weight:700;transition:.18s ease}.nav-button:hover{color:#1d4ed8;background:#eff5ff}.nav-button.is-active{color:#1d4ed8;background:#eef5ff;box-shadow:0 2px 7px #2563eb14}.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto;color:#8390a4;font-size:11px;font-weight:650}.connection-dot{width:7px;height:7px;border-radius:99px}.connection-dot.is-online{background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.connection-dot.is-offline{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.avatar-button{width:31px;height:31px;margin-left:13px;border:1px solid #d7e1ee;border-radius:50%;color:#475569;background:#fff;font-size:12px;font-weight:800}.page-shell{max-width:1440px;margin:0 auto;padding:42px 42px 70px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}.eyebrow{color:#91a0b6;font-size:10px;font-weight:800;letter-spacing:.14em}h1,h2,p{margin:0}.page-heading h1{margin-top:8px;color:var(--ink);font-size:29px;line-height:1.15;letter-spacing:-.04em}.page-heading p{margin-top:9px;color:#7c8ba2;font-size:13px}.heading-actions{display:flex;align-items:center;gap:10px;padding-bottom:2px}.overview-status-center{margin-bottom:20px}.overview-status-center .panel-header{margin-bottom:18px}.runtime-freshness{display:inline-flex;align-items:center;gap:7px;color:#a16207;font-size:9px;font-weight:750}.runtime-freshness i{width:6px;height:6px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px #fef3c7}.runtime-freshness.is-fresh{color:#15803d}.runtime-freshness.is-fresh i{background:#22c55e;box-shadow:0 0 0 3px #dcfce7}.overview-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.overview-state{min-width:0;padding:15px 16px;border:1px solid #e8edf5;border-left:3px solid #94a3b8;border-radius:11px;background:#fbfcfe}.overview-state span,.overview-state small{display:block;color:#8c99ab;font-size:9px}.overview-state strong{display:block;margin:9px 0 7px;overflow:hidden;color:#26364d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.overview-state small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-state--ready{border-left-color:#22c55e;background:#f8fdf9}.overview-state--live{border-left-color:#3b82f6;background:#f8fbff}.overview-state--warning{border-left-color:#f59e0b;background:#fffcf5}.overview-state--danger{border-left-color:#ef4444;background:#fff8f8}.mode-badge,.demo-badge{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px;border-radius:8px;font-size:10px;font-weight:800;letter-spacing:.06em}.mode-badge i{width:6px;height:6px;border-radius:50%}.mode-badge--paper{color:#a16207;background:#fff8df}.mode-badge--paper i{background:#eab308}.mode-badge--readonly{color:#2563eb;background:#eff6ff}.mode-badge--readonly i{background:#3b82f6}.mode-badge--dry_run{color:#047857;background:#ecfdf5}.mode-badge--dry_run i{background:#10b981}.demo-badge{color:#7c3aed;background:#f3e8ff;letter-spacing:0}.outline-button,.primary-button,.text-button{border:1px solid #d9e3f0;border-radius:9px;color:#3f506b;background:#fff;font-size:12px;font-weight:750;transition:.18s ease}.outline-button{height:36px;padding:0 13px}.outline-button:hover{border-color:#9cb9ee;color:#1d4ed8;background:#f9fbff}.outline-button span,.primary-button span{margin-left:8px;font-size:15px}.primary-button{height:38px;padding:0 16px;border-color:var(--blue);color:#fff;background:var(--blue);box-shadow:0 7px 16px #2563eb2e}.primary-button:hover{background:#1d4ed8}.text-button{padding:5px 7px;border:0;color:#3b72dc;background:transparent}.notice{margin:-12px 0 20px;padding:11px 14px;border-radius:9px;font-size:12px;font-weight:650}.notice--success{color:#166534;background:#ecfdf3;border:1px solid #bbf7d0}.notice--error{color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3}.panel{border:1px solid rgba(15,23,42,.055);border-radius:15px;background:var(--panel);box-shadow:0 5px 22px #0f172a09}.overview-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.85fr);gap:20px;margin-bottom:20px}.overview-lower-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px}.panel{padding:22px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}.panel-header h2{color:#18253a;font-size:15px;letter-spacing:-.02em}.panel-header p{margin-top:5px;color:#9aa7b9;font-size:11px}.live-label{display:inline-flex;align-items:center;gap:6px;padding-top:4px;color:#16a34a;font-size:9px;font-weight:800;letter-spacing:.08em}.live-label i{width:5px;height:5px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #dcfce7}.live-label.is-waiting{color:#a16207}.live-label.is-waiting i{background:#f59e0b;box-shadow:0 0 0 3px #fef3c7}.spread-layout{display:grid;grid-template-columns:minmax(190px,1fr) 130px minmax(190px,1fr);align-items:center;gap:17px}.exchange-quote{padding:16px 17px 13px;border:1px solid #e7edf6;border-radius:12px;background:#fbfcfe}.exchange-quote--dark{border-color:#e4e9ef}.exchange-quote--blue{border-color:#dbe8fd;background:#fbfdff}.exchange-quote-head{display:flex;align-items:center;gap:9px;margin-bottom:15px}.exchange-logo{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#1f2937;font-size:12px;font-weight:800}.exchange-quote--blue .exchange-logo{background:#2563eb}.exchange-quote-head b{display:block;color:#253348;font-size:12px}.exchange-quote-head small{display:block;margin-top:3px;color:#98a5b7;font-size:9px}.quote-ok{margin-left:auto;color:#22c55e;font-size:10px}.quote-ok.is-offline{color:#cbd5e1}.quote-row{display:flex;align-items:baseline;justify-content:space-between;padding:7px 0;border-bottom:1px solid #eef2f7}.quote-row span{color:#99a5b6;font-size:10px}.quote-row strong{color:#26364d;font-size:15px;font-weight:780;letter-spacing:-.025em}.quote-row small{min-width:56px;color:#71829d;font-size:10px;text-align:right}.quote-foot{display:flex;justify-content:space-between;margin-top:11px;color:#a5b0c0;font-size:9px}.spread-center{text-align:center}.spread-value{color:#2563eb;font-size:19px;font-weight:820;letter-spacing:-.03em}.spread-value small{font-size:10px;font-weight:750}.spread-line{display:flex;align-items:center;justify-content:center;gap:4px;margin:16px 0 10px}.spread-line span{width:31px;height:1px;background:#cbdaf4}.spread-line b{width:7px;height:7px;border:2px solid #3b82f6;border-radius:50%;background:#fff}.spread-caption{color:#a1adbe;font-size:9px;line-height:1.5}.directional-spreads{display:grid;gap:5px;margin:10px 0 4px}.direction-row{display:flex;justify-content:space-between;gap:10px;padding:5px 7px;border-radius:6px;color:#8b98aa;background:#f7f9fc;font-size:8px;white-space:nowrap}.direction-row b{color:#5f6f84}.direction-row.is-best{color:#1d4ed8;background:#eff6ff}.direction-row.is-best b{color:#1d4ed8}.signal-decision-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:20px;overflow:hidden;border:1px solid #e9eef6;border-radius:10px;background:#e9eef6}.signal-decision-strip>div{min-width:0;padding:12px 13px;background:#fafcff}.signal-decision-strip span,.signal-decision-strip b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signal-decision-strip span{color:#94a3b8;font-size:8px}.signal-decision-strip b{margin-top:6px;color:#334155;font-size:10px}.strategy-summary-list{margin-top:-3px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:39px;border-bottom:1px solid #f0f3f7;color:#8694a8;font-size:11px}.summary-row:last-child{border-bottom:0}.summary-row b{color:#304158;font-size:12px;font-weight:750}.summary-row b.is-strong{color:#2563eb}.summary-row b.status-green{color:#16a34a}.summary-row b.status-red{color:#dc2626}.strategy-footnote{display:flex;gap:7px;align-items:center;margin-top:20px;padding:10px 11px;border-radius:8px;color:#9a6b10;background:#fffbeb;font-size:10px}.strategy-footnote.is-live{color:#1d4ed8;background:#eff6ff}.lock-icon{color:#eab308}.event-list{margin-top:-4px}.event-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid #f0f3f7}.event-row:last-child{border-bottom:0;padding-bottom:0}.event-dot{width:7px;height:7px;margin-top:5px;border-radius:50%}.event-dot--green{background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.event-dot--blue{background:#3b82f6;box-shadow:0 0 0 4px #dbeafe}.event-dot--gray{background:#94a3b8;box-shadow:0 0 0 4px #f1f5f9}.event-dot--amber{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.event-dot--red{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.event-row b{display:block;color:#3b4b62;font-size:11px}.event-row p{margin-top:4px;color:#9aa7b8;font-size:10px}.event-row time{color:#a7b2c1;font-size:10px;white-space:nowrap}.account-panel{min-width:0}.account-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.account-item{padding:14px 15px;border:1px solid #edf1f6;border-radius:11px;background:#fbfcfe}.account-item-head{display:flex;align-items:center;gap:8px;color:#3b4b62;font-size:11px}.account-exchange-mark{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#334155;font-size:10px;font-weight:800}.account-item:nth-child(2) .account-exchange-mark{background:#2563eb}.account-health{margin-left:auto;font-size:9px;font-weight:750}.account-health.is-ready{color:#16a34a}.account-health.is-warning{color:#d97706}.account-health.is-waiting{color:#a1adbc}.account-balance-label{display:block;margin-top:14px;color:#9aa7b8;font-size:9px}.account-item>strong{display:block;margin-top:5px;color:#26364d;font-size:17px;letter-spacing:-.02em}.account-item>small{display:block;margin-top:5px;color:#9aa7b8;font-size:10px}.overview-alert-panel{min-width:0}.overview-alert-list{display:grid;gap:9px}.overview-alert{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;padding:12px;border:1px solid #fde7bd;border-radius:10px;background:#fffbeb}.overview-alert>i{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#f59e0b}.overview-alert strong,.overview-alert span{display:block}.overview-alert strong{color:#92400e;font-size:10px}.overview-alert span{margin-top:4px;color:#a16207;font-size:9px;line-height:1.55}.overview-alert--danger{border-color:#fecaca;background:#fff7f7}.overview-alert--danger>i{background:#ef4444}.overview-alert--danger strong{color:#b91c1c}.overview-alert--danger span{color:#dc2626}.overview-alert-empty{display:flex;align-items:center;gap:13px;min-height:105px;padding:16px;border:1px solid #d9f4e1;border-radius:11px;background:#f6fdf8}.overview-alert-empty>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:#fff;background:#22c55e;font-size:13px}.overview-alert-empty strong{color:#166534;font-size:11px}.overview-alert-empty p{margin-top:5px;color:#65a378;font-size:9px;line-height:1.55}.overview-event-panel{margin-top:20px}.strategy-page-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:20px;align-items:start}.form-panel{padding-bottom:20px}.config-state-banner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:20px;padding:14px 16px;border:1px solid #dbeafe;border-radius:11px;background:#f8fbff}.config-state-banner div b,.config-state-banner div span{display:block}.config-state-banner div b{color:#41526a;font-size:11px}.config-state-banner div span{margin-top:5px;color:#1e3a5f;font-size:13px;font-weight:750}.config-state-banner i{color:#94a3b8;font-style:normal}.config-state-banner em{padding:6px 8px;border-radius:7px;color:#15803d;background:#dcfce7;font-size:10px;font-style:normal;font-weight:800}.config-state-banner.is-pending{border-color:#fde68a;background:#fffbeb}.config-state-banner.is-pending em{color:#a16207;background:#fef3c7}.form-section{padding:19px 0;border-top:1px solid #eef2f7}.form-section:first-of-type{padding-top:0;border-top:0}.form-section-title{margin-bottom:15px;color:#42536b;font-size:11px;font-weight:800}.auto-direction-note{margin-top:14px;padding:11px 12px;border:1px solid #dbeafe;border-radius:8px;color:#42618e;background:#f8fbff;font-size:10px;line-height:1.7}.form-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.form-section-heading .form-section-title{margin-bottom:0}.validation-button{height:30px;padding:0 10px;font-size:11px}.validation-result{margin-top:15px;padding:12px 13px;border:1px solid #d8f0df;border-radius:10px;background:#f7fcf8}.validation-result-head{display:flex;align-items:center;gap:8px;color:#4f6a59;font-size:11px}.validation-result-head strong{color:#15803d;font-size:12px}.validation-result-head span:last-child{margin-left:auto;color:#7d9b86}.validation-result-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.validation-result-grid{display:grid;grid-template-columns:1fr auto 1fr auto;gap:8px 12px;margin-top:12px;color:#849687;font-size:10px}.validation-result-grid b{color:#304c38;font-size:11px;font-weight:750}.validation-result-foot{margin-top:10px;padding-top:9px;border-top:1px solid #e2f1e5;color:#6b866f;font-size:10px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.net-protection-card{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:12px 18px;align-items:center;margin-top:16px;padding:15px 16px;border:1px solid #e3e9f1;border-radius:12px;background:#f8fafc;transition:.18s ease}.net-protection-card--active{border-color:#bed4f5;background:#f5f9ff;box-shadow:0 0 0 3px #f0f6ff}.net-protection-toggle{display:flex;align-items:center;gap:12px;cursor:pointer}.net-protection-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.net-protection-switch{position:relative;flex:0 0 auto;width:38px;height:22px;border-radius:999px;background:#cad4e2;transition:.18s ease}.net-protection-switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #2a394e33;transition:.18s ease}.net-protection-toggle input:checked+.net-protection-switch{background:#3b82f6}.net-protection-toggle input:checked+.net-protection-switch i{transform:translate(16px)}.net-protection-toggle input:focus-visible+.net-protection-switch{box-shadow:0 0 0 3px #dbeafe}.net-protection-copy{display:grid;gap:4px}.net-protection-copy b{color:#40536d;font-size:12px}.net-protection-copy small,.net-protection-card>p{color:#8492a7;font-size:10px;line-height:1.55}.net-protection-card>p b{color:#2563eb;font-weight:800}.net-protection-minimum{display:grid;gap:7px;color:#8795a9;font-size:11px;font-weight:650}.net-protection-minimum input:disabled{color:#aab4c2;cursor:not-allowed}.net-protection-card>p{grid-column:1 / -1;margin:0;padding-top:10px;border-top:1px solid #e4ebf4}.field{display:grid;gap:7px;color:#8795a9;font-size:11px;font-weight:650}.input-shell{display:flex;align-items:center;height:38px;border:1px solid #e1e8f1;border-radius:9px;background:#fbfcfe;transition:.18s ease}.input-shell:focus-within{border-color:#8fb2ed;background:#fff;box-shadow:0 0 0 3px #eff5ff}.input-shell input,.input-shell select{width:100%;height:100%;padding:0 11px;border:0;outline:0;color:#33455f;background:transparent;font-size:12px;font-weight:650}.input-shell select{cursor:pointer}.input-shell i{padding:0 10px;color:#a0acbc;font-size:10px;font-style:normal;white-space:nowrap}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:19px;border-top:1px solid #eef2f7}.safety-list{display:grid;gap:13px}.safety-row{display:flex;align-items:center;gap:9px;color:#66768b;font-size:11px}.safety-check,.safety-warning{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:800}.safety-check{color:#16a34a;background:#dcfce7}.safety-warning{color:#d97706;background:#fef3c7}.safety-note{margin-top:21px;padding:12px;border-left:3px solid #facc15;border-radius:4px;color:#8a6a19;background:#fffdf2;font-size:10px;line-height:1.7}.empty-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:19px;border-radius:17px;color:#4f7fdf;background:#eef5ff;font-size:36px}.live-check-page{display:grid;gap:20px}.live-check-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:28px;align-items:center;overflow:hidden;border-color:#dbeafe;background:radial-gradient(circle at 92% 18%,rgba(96,165,250,.16),transparent 30%),linear-gradient(135deg,#fff,#f8fbff)}.live-check-hero.is-blocked{border-color:#fde7bd;background:radial-gradient(circle at 92% 18%,rgba(251,191,36,.12),transparent 30%),linear-gradient(135deg,#fff,#fffdf8)}.live-check-kicker{display:inline-flex;align-items:center;gap:8px;color:#4f7fdf;font-size:9px;font-weight:850;letter-spacing:.12em}.live-check-kicker i{width:7px;height:7px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 4px #dbeafe}.live-check-hero-copy h2{margin-top:13px;color:#17243a;font-size:21px;letter-spacing:-.035em}.live-check-hero-copy p{max-width:760px;margin-top:9px;color:#71829a;font-size:11px;line-height:1.75}.live-check-hero-state{padding:17px 18px;border:1px solid #dbeafe;border-radius:12px;background:#ffffffd1}.live-check-hero-state span,.live-check-hero-state small{display:block;color:#8b99ac;font-size:9px}.live-check-hero-state strong{display:block;margin:8px 0 7px;color:#dc2626;font-size:18px}.live-check-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:20px}.live-check-status{display:inline-flex;align-items:center;min-height:26px;padding:5px 9px;border-radius:8px;color:#b91c1c;background:#fee2e2;font-size:9px;font-weight:800;white-space:nowrap}.live-check-status.is-ready{color:#15803d;background:#dcfce7}.live-check-status.is-waiting{color:#a16207;background:#fef3c7}.live-signal-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center}.live-signal-route>div{padding:15px 16px;border:1px solid #e5ebf4;border-radius:11px;background:#fafcff}.live-signal-route span,.live-signal-route strong,.live-signal-route small{display:block}.live-signal-route span{color:#8b99ac;font-size:9px}.live-signal-route strong{margin-top:8px;color:#26364d;font-size:15px}.live-signal-route small{margin-top:5px;color:#3b82f6;font-size:9px;font-weight:800}.live-signal-route>b{color:#8fa2be;font-size:18px}.live-signal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:16px;overflow:hidden;border:1px solid #e9eef6;border-radius:10px;background:#e9eef6}.live-signal-metrics>div{min-width:0;padding:12px 13px;background:#fff}.live-signal-metrics span,.live-signal-metrics strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-signal-metrics span{color:#94a3b8;font-size:8px}.live-signal-metrics strong{margin-top:6px;color:#334155;font-size:11px}.live-limit-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.live-limit-columns>div{min-width:0}.live-limit-columns>div+div{padding-left:20px;border-left:1px solid #edf1f6}.live-limit-columns h3{margin:0 0 7px;color:#52647c;font-size:10px}.live-limit-columns .summary-row{min-height:36px}.live-limit-columns .summary-row b{max-width:65%;overflow:hidden;font-size:11px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.live-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.live-account-card{display:grid;grid-template-columns:minmax(140px,1.25fr) repeat(3,minmax(100px,1fr));gap:18px;align-items:center;padding:15px 16px;border:1px solid #e7edf5;border-radius:11px;background:#fbfcfe}.live-account-head{display:flex;align-items:center;gap:9px}.live-account-head strong{color:#26364d;font-size:12px}.live-account-head>span{padding:4px 6px;border-radius:6px;color:#b91c1c;background:#fee2e2;font-size:8px;font-weight:800}.live-account-head>span.is-clean{color:#15803d;background:#dcfce7}.live-account-card>div:not(.live-account-head) span,.live-account-card>div:not(.live-account-head) b{display:block}.live-account-card>div:not(.live-account-head) span{color:#94a3b8;font-size:8px}.live-account-card>div:not(.live-account-head) b{margin-top:6px;color:#334155;font-size:11px}.live-gate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.live-gate-item{display:flex;gap:10px;min-width:0;padding:13px;border:1px solid #fee2e2;border-radius:10px;background:snow}.live-gate-item.is-ready{border-color:#dcfce7;background:#f9fdfa}.live-gate-icon{flex:0 0 auto;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;color:#b91c1c;background:#fee2e2;font-size:10px;font-weight:900}.live-gate-item.is-ready .live-gate-icon{color:#15803d;background:#dcfce7}.live-gate-item strong,.live-gate-item small{display:block}.live-gate-item strong{color:#334155;font-size:10px}.live-gate-item small{margin-top:5px;color:#8492a7;font-size:8px;line-height:1.55}.live-preparation-panel{border-color:#fde7bd;background:#fffdf8}.live-preparation-panel .panel-header{margin-bottom:18px}.live-preparation-notice{margin-bottom:16px;padding:10px 12px;border:1px solid #bbf7d0;border-radius:9px;color:#166534;background:#f0fdf4;font-size:10px;font-weight:650}.live-preparation-notice.is-error{border-color:#fecdd3;color:#b91c1c;background:#fff1f2}.live-preparation-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.live-preparation-step{display:flex;gap:10px;align-items:center;min-width:0;padding:12px 13px;border:1px solid #e8edf5;border-radius:10px;background:#fff}.live-preparation-step>span{flex:0 0 auto;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;color:#64748b;background:#eef2f7;font-size:9px;font-weight:850}.live-preparation-step strong,.live-preparation-step small{display:block}.live-preparation-step strong{color:#405169;font-size:10px}.live-preparation-step small{margin-top:4px;overflow:hidden;color:#8b98aa;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.live-preparation-step.is-done{border-color:#bbf7d0;background:#f7fcf8}.live-preparation-step.is-done>span{color:#15803d;background:#dcfce7}.live-preparation-step.is-current{border-color:#bfdbfe;background:#f8fbff}.live-preparation-step.is-current>span{color:#1d4ed8;background:#dbeafe}.live-preparation-step.is-locked{border-color:#fde68a;background:#fffbeb}.live-preparation-step.is-locked>span{color:#a16207;background:#fef3c7}.live-preparation-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px}.live-preparation-record,.live-preparation-control{min-width:0;padding:16px;border:1px solid #e7edf5;border-radius:11px;background:#fff}.live-preparation-record-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.live-preparation-record-head span{color:#53647a;font-size:10px;font-weight:800}.live-preparation-record-head b{padding:5px 7px;border-radius:7px;color:#1d4ed8;background:#dbeafe;font-size:8px}.live-preparation-record .summary-row{min-height:36px}.live-preparation-record .summary-row b{max-width:68%;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.live-preparation-empty{display:grid;justify-items:center;min-height:235px;align-content:center;text-align:center}.live-preparation-empty>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#4f7fdf;background:#eef5ff;font-size:21px}.live-preparation-empty strong{margin-top:12px;color:#41516a;font-size:11px}.live-preparation-empty p{max-width:340px;margin-top:6px;color:#8a97aa;font-size:9px;line-height:1.6}.live-preparation-control{display:flex;flex-direction:column;align-items:stretch;justify-content:center}.live-preparation-control h3{margin:0;color:#3f4d61;font-size:12px}.live-preparation-control p{margin-top:8px;color:#7f8da1;font-size:10px;line-height:1.7}.live-preparation-control p b{color:#1d4ed8}.live-preparation-control button{min-height:38px;margin-top:14px}.live-preparation-control>small{margin-top:8px;color:#8a97a9;font-size:8px;text-align:center}.live-execution-package{margin-top:10px;padding:3px 10px;border:1px solid #dbeafe;border-radius:9px;background:#f8fbff}.live-execution-package .summary-row{min-height:32px}.live-execution-package .summary-row b{max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-confirmation-input{width:100%;height:38px;margin-top:12px;padding:0 11px;border:1px solid #dbe3ee;border-radius:9px;outline:0;color:#334155;background:#fbfcfe;font-size:11px}.live-confirmation-input:focus{border-color:#8fb2ed;background:#fff;box-shadow:0 0 0 3px #eff5ff}.live-preparation-boundary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:17px;padding-top:14px;border-top:1px solid #f1e8d5}.live-submit-locks{display:flex;flex-wrap:wrap;gap:7px}.live-submit-locks span{padding:5px 7px;border-radius:7px;color:#9a670d;background:#fef3c7;font-size:8px;font-weight:750}.live-submit-locks span.is-open{color:#b91c1c;background:#fee2e2}.live-submit-locks span.is-verified{color:#166534;background:#dcfce7}.live-preparation-links{display:flex;align-items:center;gap:4px}.diagnostics-page{display:grid;gap:20px}.diagnostic-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.diagnostic-metric{padding:18px 19px;border:1px solid #e7edf5;border-left:3px solid #ef4444;border-radius:12px;background:snow;box-shadow:0 5px 20px #0f172a06}.diagnostic-metric.is-ready{border-left-color:#22c55e;background:#f9fdfa}.diagnostic-metric span,.diagnostic-metric small{display:block;color:#8b99ab;font-size:9px}.diagnostic-metric strong{display:block;margin:10px 0 7px;color:#26364d;font-size:17px}.diagnostic-exchange-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.diagnostic-exchange-card .summary-row{min-height:48px}.diagnostic-exchange-status,.diagnostic-overall{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;color:#b91c1c;background:#fee2e2;font-size:9px;font-weight:800}.diagnostic-exchange-status i{width:6px;height:6px;border-radius:50%;background:#ef4444}.diagnostic-exchange-status.is-ready,.diagnostic-overall.is-ready{color:#15803d;background:#dcfce7}.diagnostic-exchange-status.is-ready i{background:#22c55e}.diagnostic-preflight-panel .panel-header{margin-bottom:20px}.diagnostic-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.diagnostic-group{min-width:0;padding:16px;border:1px solid #e9eef6;border-radius:11px;background:#fbfcfe}.diagnostic-group h3{margin-bottom:8px;color:#334155;font-size:11px}.diagnostic-group .summary-row{min-height:44px}.diagnostic-group .summary-row b{text-align:right}.diagnostic-boundary-group{border-color:#dbeafe;background:#f8fbff}.review-page{display:grid;gap:20px}.run-record-browser{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;min-height:350px}.run-record-list{display:grid;align-content:start;gap:8px;padding-right:20px;border-right:1px solid #e8edf5}.run-record-list-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px;color:#334155;font-size:12px}.run-record-list-title span{color:#94a3b8;font-size:9px}.run-record-item{display:grid;gap:7px;width:100%;padding:13px;border:1px solid transparent;border-radius:11px;color:#64748b;background:#f8fafc;text-align:left;cursor:pointer}.run-record-item:hover,.run-record-item.is-active{border-color:#bfdbfe;background:#eff6ff}.run-record-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.run-record-item time,.run-record-item small{color:#94a3b8;font-size:9px}.run-record-item b{color:#334155;font-size:11px}.run-record-detail{min-width:0}.run-record-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #edf1f7}.run-record-detail-head span:first-child{color:#94a3b8;font-size:9px}.run-record-detail-head h2{margin-top:7px;color:#25364e;font-size:18px}.run-status{display:inline-flex;align-items:center;width:fit-content;padding:5px 8px;border-radius:999px;color:#475569;background:#e2e8f0;font-size:8px;font-weight:800;white-space:nowrap}.run-status--round_trip_completed{color:#15803d;background:#dcfce7}.run-status--emergency_neutralized,.run-status--no_fill,.run-status--no_signal{color:#b45309;background:#fef3c7}.run-status--failed{color:#b91c1c;background:#fee2e2}.run-status--claimed{color:#1d4ed8;background:#dbeafe}.run-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.run-meta-grid>div{display:grid;gap:7px;padding:13px;border:1px solid #e9eef6;border-radius:10px;background:#fafcff}.run-meta-grid span{color:#94a3b8;font-size:9px}.run-meta-grid b{overflow:hidden;color:#334155;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.run-error-box,.run-correlation-note{margin-top:15px;padding:13px 15px;border-radius:10px;font-size:10px;line-height:1.65}.run-error-box{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#991b1b;background:#fff1f2}.run-error-box strong{font-size:10px}.run-correlation-note{color:#6b7280;background:#f8fafc}.run-handoff-audit{margin-top:15px;padding:14px 15px;border:1px solid transparent;border-radius:10px;font-size:10px;line-height:1.6}.run-handoff-audit>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.run-handoff-audit span,.run-handoff-audit small{color:inherit;opacity:.78}.run-handoff-audit strong{font-size:10px}.run-handoff-audit p{margin:7px 0 4px}.run-handoff-audit--completed{border-color:#bbf7d0;color:#166534;background:#f0fdf4}.run-handoff-audit--recovered{border-color:#fde68a;color:#92400e;background:#fffbeb}.run-handoff-audit--failed{border-color:#fecdd3;color:#991b1b;background:#fff1f2}.run-handoff-audit--pending{border-color:#bfdbfe;color:#1d4ed8;background:#eff6ff}.run-empty-detail{margin-top:20px;padding:42px 20px;border:1px dashed #dbe3ee;border-radius:11px;color:#94a3b8;text-align:center;font-size:11px}.journal-order-table{margin-top:20px;overflow-x:auto;border:1px solid #e8edf5;border-radius:12px}.journal-order-head,.journal-order-row{display:grid;grid-template-columns:.6fr .8fr .55fr .8fr 1fr 1fr 1.5fr;align-items:center;gap:12px;min-width:820px;min-height:48px;padding:0 16px}.journal-order-head{color:#8997aa;background:#f7f9fc;font-size:9px;font-weight:800}.journal-order-row{color:#59697e;border-top:1px solid #eef2f7;font-size:10px}.journal-order-row strong{color:#29384d}.journal-order-row small{overflow:hidden;color:#8492a6;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.order-status{width:fit-content;color:#475569;font-size:9px}.order-status--filled{color:#15803d}.order-status--rejected,.order-status--unknown{color:#dc2626}.review-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.review-empty h2{color:#25364e;font-size:18px}.review-empty p{max-width:520px;margin-top:10px;color:#95a3b5;font-size:12px;line-height:1.8}.review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.review-metric{min-height:126px;padding:21px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 9px 24px #0f172a09}.review-metric span,.review-metric small{display:block;color:#8997aa;font-size:10px;font-weight:700}.review-metric strong{display:block;margin:13px 0 8px;color:#1e293b;font-size:21px;letter-spacing:-.025em}.review-metric--good strong,.is-good{color:#16a34a!important}.review-metric--bad strong,.is-bad{color:#dc2626!important}.review-metric--warn strong{color:#d97706}.review-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:20px}.review-complete{padding:6px 9px;border-radius:8px;color:#15803d;background:#edfdf3;font-size:9px;font-weight:800}.review-flow{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:center;gap:12px;margin-top:25px}.review-phase{padding:17px;border:1px solid #e8eef7;border-radius:12px;background:#f9fbff}.review-phase-title,.review-phase>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.review-phase-title{margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e6edf7}.review-phase-title strong{color:#1e3a66;font-size:13px}.review-phase-title span,.review-phase>div span{color:#8b99ad;font-size:10px}.review-phase>div:not(:first-child){min-height:27px}.review-phase>div b{color:#35445a;font-size:11px}.review-flow-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#2563eb;background:#eef5ff;font-size:15px}.review-note{margin-top:15px;color:#8290a4;font-size:10px;line-height:1.7}.review-balance-list{display:grid;gap:9px;margin-top:22px}.review-balance-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border:1px solid #e9eef6;border-radius:11px}.review-balance-row div{display:grid;gap:5px}.review-balance-row strong{color:#34445a;font-size:12px}.review-balance-row span{color:#8b99ad;font-size:9px}.review-balance-row b{font-size:12px}.review-fee-status{display:flex;justify-content:space-between;gap:16px;margin-top:16px;padding:13px 3px 0;border-top:1px solid #eef2f7;color:#8b99ad;font-size:10px}.review-fee-status b{color:#5d6b7e}.review-order-table{margin-top:20px;overflow:hidden;border:1px solid #e8edf5;border-radius:12px}.review-order-head,.review-order-row{display:grid;grid-template-columns:.7fr 1fr .7fr 1fr 1.1fr;align-items:center;gap:12px;min-height:46px;padding:0 16px}.review-order-head{color:#8997aa;background:#f7f9fc;font-size:9px;font-weight:800;letter-spacing:.04em}.review-order-row{color:#59697e;border-top:1px solid #eef2f7;font-size:11px}.review-order-row strong,.review-order-row b{color:#29384d}.side-buy{color:#16a34a;font-weight:800}.side-sell{color:#dc2626;font-weight:800}.review-history-list{margin-top:20px}.review-history-row{display:grid;grid-template-columns:1.2fr .5fr 1fr .8fr;gap:15px;padding:13px 4px;color:#7d8ba0;border-top:1px solid #eef2f7;font-size:10px}.review-history-row b{text-align:right}.loading-state{min-height:250px;display:flex;align-items:center;justify-content:center;gap:10px;color:#8492a7;font-size:12px}.loading-spinner{width:15px;height:15px;border:2px solid #dbe7fb;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.topbar{padding:0 22px;gap:20px}.page-shell{padding:32px 22px 55px}.overview-status-grid,.diagnostic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-main-grid,.overview-lower-grid,.strategy-page-grid,.live-check-main-grid,.diagnostic-exchange-grid,.diagnostic-groups,.review-grid{grid-template-columns:1fr}.live-account-card{grid-template-columns:minmax(130px,1.2fr) repeat(3,minmax(90px,1fr))}.live-gate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-preparation-body{grid-template-columns:1fr}.review-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.run-record-browser{grid-template-columns:250px minmax(0,1fr)}.run-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:670px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding:14px 16px}.nav-tabs{order:3;width:100%;height:34px;overflow-x:auto}.nav-button{padding:0 10px;white-space:nowrap}.connection-label{display:none}.page-shell{padding:27px 16px 45px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.heading-actions{width:100%;flex-wrap:wrap}.page-heading h1{font-size:25px}.overview-status-grid,.live-check-hero,.live-limit-columns,.live-account-grid,.live-gate-grid,.live-preparation-steps{grid-template-columns:1fr}.live-check-hero-state{width:100%}.live-limit-columns>div+div{padding-top:16px;padding-left:0;border-top:1px solid #edf1f6;border-left:0}.live-account-card{grid-template-columns:1fr 1fr}.live-account-head{grid-column:1 / -1}.live-signal-metrics{grid-template-columns:1fr}.live-preparation-step small{overflow:visible;white-space:normal}.live-preparation-record .summary-row{align-items:flex-start;flex-direction:column;gap:4px;padding:8px 0}.live-preparation-record .summary-row b{max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}.live-preparation-boundary{align-items:flex-start;flex-direction:column}.live-preparation-links{width:100%;justify-content:space-between}.diagnostic-metrics,.config-state-banner{grid-template-columns:1fr}.config-state-banner>i{transform:rotate(90deg)}.panel{padding:17px}.spread-layout{grid-template-columns:1fr;gap:12px}.signal-decision-strip,.account-items{grid-template-columns:1fr}.spread-center{order:2}.spread-center+.exchange-quote{order:3}.field-grid,.net-protection-card,.review-metrics,.run-record-browser{grid-template-columns:1fr}.run-record-list{max-height:330px;overflow-y:auto;padding-right:0;padding-bottom:18px;border-right:0;border-bottom:1px solid #e8edf5}.run-meta-grid{grid-template-columns:1fr 1fr}.review-flow{grid-template-columns:1fr}.review-flow-arrow{transform:rotate(90deg)}.review-order-table{overflow-x:auto}.review-order-head,.review-order-row{min-width:620px}.review-history-row{grid-template-columns:1fr .5fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.event-row{grid-template-columns:8px minmax(0,1fr)}.event-row time{grid-column:2}.topbar-actions{margin-left:auto}}
