:root{color-scheme:dark;--bg:#090d14;--rail:#0b1019;--panel:#101722;--border:#202d3d;--text:#eaf0f7;--muted:#8292a4;--soft:#aab8c8;--accent:#69e3c3;--accent-dim:#102b2c}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 88% 0%,#122034 0%,transparent 44%),var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:13px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}.shell{min-height:100vh;display:grid;grid-template-columns:238px 1fr}.rail{background:linear-gradient(180deg,#0d1520,#0a1018);border-right:1px solid #1c2938;padding:31px 18px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;font-size:13px;font-weight:800;letter-spacing:.14em}.brand small{display:block;font-size:8px;color:#8192a7;letter-spacing:.16em;margin-top:5px}.brand-mark{display:grid;place-items:center;border:1px solid #2e655f;border-radius:12px;height:39px;width:39px;font-size:21px;font-weight:800;letter-spacing:0;background:#0b282b;color:#caffed}.brand-glow{color:#3ecda8}.rail-label,.section-kicker,.eyebrow,.breadcrumbs,.soft-label,.table-footer,.rail-bottom,.status-tags,.read-only,.tag{font-size:10px;font-weight:700;letter-spacing:.13em}.rail-label{color:#586d80;margin-top:38px;padding-left:14px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;color:#9cabbb;text-decoration:none;border-radius:9px;font-weight:600;font-size:12px}.nav-item:hover{background:#15232f;color:#fff}.nav-item.active{color:#d7fff2;background:#142b2d;border:1px solid #254b49}.nav-icon{font-size:19px;width:23px;text-align:center}.nav-pip{width:6px;height:6px;background:#72edc5;border-radius:50%;margin-left:auto;box-shadow:0 0 9px #72edc5}.rail-bottom{margin-top:auto;color:#99aabb;line-height:1.8;border-top:1px solid #263141;padding:22px 12px 0}.rail-bottom small{display:block;color:#677a8a;letter-spacing:0}.rail-dot,.live-dot,.read-dot{display:inline-block;background:#728397;width:8px;height:8px;border-radius:50%;margin-right:7px}.main{min-width:0;max-width:1600px;width:100%;margin:auto;padding:0 43px 22px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1d2938}.breadcrumbs{color:#b8c7d9}.breadcrumbs span{padding:0 11px;color:#526579}.top-right{display:flex;align-items:center;gap:21px}.top-chip{font-size:10px;color:#91e1ca;letter-spacing:.11em;padding:8px 11px;background:#102d2a;border:1px solid #234c45;border-radius:5px;font-weight:700}.avatar{display:grid;place-items:center;height:31px;width:31px;background:#1d3850;border-radius:50%;font-size:10px;color:#c5d7ff;font-weight:700}.hero{min-height:279px;padding:40px 0 29px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.eyebrow{color:#77d8bd;display:flex;align-items:center;gap:10px}.eyebrow-line{display:block;width:28px;height:1px;background:#61cbae}.eyebrow-index{margin-left:9px;color:#5a7788}.hero h1{font-size:clamp(32px,3.3vw,50px);line-height:1.12;letter-spacing:-.055em;margin:21px 0 14px;font-weight:800}.hero h1 em{font-style:normal;color:#75eac5}.hero p{max-width:480px;color:#8ea2b2;font-size:13px;line-height:1.8}.hero-graphic{height:200px;width:320px;position:relative;margin-right:36px;display:grid;place-items:center}.orb{position:absolute;border:1px solid #26535a;border-radius:50%;transform:rotate(-30deg)}.orb-a{width:210px;height:135px;box-shadow:0 0 70px #1a726433;transform:rotate(-28deg)}.orb-b{width:150px;height:150px;border-color:#345f5c;transform:rotate(28deg)}.hero-symbol{font-size:90px;line-height:1;color:#74e5c4;text-shadow:0 0 60px #1bbf983b;font-weight:300}.hero-caption{position:absolute;bottom:0;right:0;font-size:9px;letter-spacing:.2em;color:#648c94}.status-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 23px;background:#111c27;border:1px solid #243446;border-radius:11px}.status-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.status-copy strong{font-size:12px}.status-copy>span:last-child{color:#748b9c;font-size:11px}.live-dot.connected{background:#63e3b7;box-shadow:0 0 12px #5ff3bf}.status-tags{display:flex;gap:7px;flex-wrap:wrap}.tag{color:#90a4b3;border:1px solid #2b3c4c;border-radius:4px;padding:7px 10px;font-size:9px}.tag.accent{color:#72e7c6;background:#102c2e;border-color:#28554e}.notice{margin-top:13px;min-height:0;color:#9eb4c3;line-height:1.6}.notice.error{color:#ffabb0}.notice.success{color:#7deac5}.grid-main{display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(340px,.95fr);gap:18px;margin-top:15px}.surface{background:linear-gradient(155deg,#111b27,#0f1721);border:1px solid #263344;border-radius:13px;padding:24px;min-width:0;box-shadow:0 12px 28px #00000014}.surface-head,.positions-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-kicker{color:#6f9d9d;font-size:9px}.surface h2{font-size:18px;letter-spacing:-.035em;margin:8px 0 0;font-weight:700}.head-circle{width:38px;height:38px;background:#102d2d;border:1px solid #2b5950;color:#80e3c1;border-radius:50%;display:grid;place-items:center;font-size:22px}.broker-profile{display:flex;align-items:center;gap:13px;padding:24px 0 21px;margin-top:8px;border-bottom:1px solid #233142}.broker-logo{border-radius:13px;background:linear-gradient(135deg,#23444d,#102333);display:grid;place-items:center;width:50px;height:50px;color:#e8ffff;font-size:34px;font-weight:800;letter-spacing:-.1em}.broker-logo span{color:#68e8cc;font-weight:400}.broker-profile h3{font-size:17px;margin:0 0 6px;letter-spacing:-.03em}.broker-profile h3 small{font-size:10px;font-weight:600;color:#90a5b3;letter-spacing:0;margin-left:5px}.broker-profile p{font-size:11px;color:#8ba1b1;margin:0}.pill{margin-left:auto;color:#a9b4c4;border:1px solid #3b4856;background:#17202a;padding:8px 9px;border-radius:5px;font-size:9px;font-weight:700;letter-spacing:.1em;white-space:nowrap}.pill.good{color:#81ecc4;background:#10312e;border-color:#28745e}.meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;padding:23px 0}.meta-grid span,.field label,.metric span,.account-select>span{display:block;color:#718b9d;font-size:10px;margin-bottom:8px}.meta-grid strong{font-size:11px;font-weight:600;color:#d8e5f1}.meta-grid .mute{color:#a8b7c2}.endpoint{display:flex;align-items:center;gap:9px;background:#0b131c;border:1px solid #304152;border-radius:8px;padding:5px 6px 5px 12px}.endpoint span{color:#55beab;font-size:20px}.endpoint input{flex:1;min-width:0;outline:0;border:0;background:transparent;color:#f0f7ff;padding:10px 2px;font-size:12px}.small-button{background:#1a3139;border:1px solid #316056;border-radius:6px;color:#a4ebd4;padding:10px 14px}.field small{display:block;color:#607a8b;margin:8px 0 0;line-height:1.5}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}.primary-button,.secondary-button{border-radius:7px;padding:12px 16px;font-size:11px;font-weight:700;border:1px solid transparent}.primary-button{background:#78e5c1;color:#0b2422;min-width:160px;display:flex;justify-content:space-between;gap:16px}.secondary-button{background:#172530;border-color:#2d4351;color:#d0dfe8}.connect-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #233142;margin-top:25px;padding-top:18px;color:#718a9b;font-size:10px}.lock{margin-right:5px;color:#79d9bd}.danger-link{border:0;background:transparent;color:#e6a0a3;font-size:11px}.soft-label{border:1px solid #384452;color:#8cabb0;padding:8px 9px;border-radius:5px;font-size:9px}.account-select{background:#0c151f;border:1px solid #2b3e4e;border-radius:8px;margin-top:28px;padding:15px}.account-select select{width:100%;border:0;background:transparent;color:#e8f5fa;outline:0;font-size:13px}.account-select option{background:#0d1620}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.metric{background:#0e1923;border:1px solid #233444;border-radius:9px;padding:17px 15px;min-height:116px}.metric strong{display:block;font-size:24px;font-weight:700;letter-spacing:-.04em;color:#dce8ef;margin:5px 0}.metric small{font-size:9px;color:#667f90}.summary-row{display:flex;gap:14px;margin-top:16px}.summary-row>div{flex:1;display:flex;align-items:center;gap:8px;background:#132630;border:1px solid #27434b;border-radius:7px;padding:12px}.summary-row span:nth-child(2){font-size:10px;color:#a8bac5}.summary-row strong{margin-left:auto;color:#8eebcf;font-size:19px}.stat-icon{color:#6ce0bc;font-size:17px}.data-note{font-size:10px;line-height:1.7;color:#6c8697;margin:18px 0 0}.positions{margin-top:18px;padding-bottom:11px}.title-count{background:#172f30;color:#79eac8;border-radius:5px;padding:5px 8px;font-size:11px;vertical-align:middle;margin-left:5px}.read-only{color:#91b6ad;font-size:9px}.read-dot{background:#67dcb6;width:6px;height:6px}.tabs{display:flex;gap:24px;border-bottom:1px solid #263746;margin-top:27px}.tab{border:0;background:transparent;color:#728b9d;padding:13px 1px;font-weight:600;font-size:11px;border-bottom:2px solid transparent}.tab.selected{border-bottom-color:#76e6c6;color:#c8fff0}.table-scroll{overflow:auto;min-height:135px}table{border-collapse:collapse;width:100%;text-align:left;min-width:520px}th{padding:19px 13px;color:#678497;font-size:9px;letter-spacing:.13em;font-weight:700}td{padding:15px 13px;border-top:1px solid #233341;color:#d5e3ed;font-size:11px}.empty{text-align:center;color:#718a9c;padding:42px 10px}.side-buy{color:#84e3b5}.side-sell{color:#f4a5a5}.table-footer{border-top:1px solid #223241;padding:15px 0 0;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#688296;font-size:9px}footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#4e6678;font-size:9px;letter-spacing:.12em;margin:29px 0 0}@media(max-width:1180px){.grid-main{grid-template-columns:1fr}.hero-graphic{width:230px}.main{padding:0 24px 22px}}@media(max-width:760px){.shell{display:block}.rail{padding:16px;gap:8px}.brand{margin-bottom:6px}.rail-label,.rail-bottom{display:none}.rail .nav-item{display:inline-flex;padding:9px}.main{padding:0 15px 22px}.topbar{height:55px}.hero{padding:31px 0 19px}.hero-graphic{display:none}.hero h1{font-size:34px}.status-strip{align-items:flex-start;flex-direction:column}.grid-main{grid-template-columns:minmax(0,1fr)}.surface{padding:18px}.broker-profile{flex-wrap:wrap}.pill{margin-left:0}.connect-footer{align-items:flex-start;flex-direction:column}.summary-row{flex-wrap:wrap}.summary-row>div{min-width:145px}footer{font-size:8px}}

/* Tan Replay C2.5a: read-only positions detail */
.c25-table{min-width:1020px}.c25-table th{white-space:nowrap}.c25-table td{white-space:nowrap;font-variant-numeric:tabular-nums}.c25-profit{color:#78eac5}.c25-loss{color:#f5a4a4}.c25-pending{color:#9bb1c0}.c25-explain{margin:14px 0 10px;font-size:10px;line-height:1.7;color:#7996a7}
