:root{--bg:#030503;--bg2:#060a07;--panel:#070d08;--panel2:#0a120c;--line:#17231a;--line2:#26382b;--lime:#b9ff00;--green:#72ff86;--red:#ff6c6c;--amber:#ffd15a;--text:#eef4ef;--muted:#829086;--dim:#4e5a51;--mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--mono)}body{overflow-x:hidden}.screen-noise{position:fixed;inset:0;pointer-events:none;z-index:100;background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px);background-size:100% 4px;mix-blend-mode:screen;opacity:.45}.screen-noise:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 0,rgba(185,255,0,.055),transparent 33%),radial-gradient(circle at 0 70%,rgba(114,255,134,.035),transparent 30%)}button,input,a{font:inherit}.term-topbar{height:58px;border-bottom:1px solid var(--line);background:rgba(3,5,3,.96);display:grid;grid-template-columns:275px minmax(350px,1fr) auto;align-items:center;padding:0 18px;position:sticky;top:0;z-index:40}.term-brand{display:flex;align-items:center;gap:11px}.capy-mini{width:30px;height:30px;border:1px solid #34451a;border-radius:7px;background-image:url('/assets/copybara-terminal.webp');background-size:112%;background-position:center;box-shadow:0 0 18px rgba(185,255,0,.08)}.term-brand>span:last-child{display:flex;flex-direction:column}.term-brand b{font:800 13px var(--sans);letter-spacing:.1em}.term-brand small{font-size:7px;color:var(--dim);margin-top:2px}.term-path{height:32px;display:flex;align-items:center;gap:4px;color:var(--muted);font-size:10px;border:1px solid var(--line);background:#050805;border-radius:6px;padding:0 10px;overflow:hidden;white-space:nowrap}.term-path span{color:var(--green)}.term-path b{color:#c6d0c8;font-weight:500}.term-path i{font-style:normal;color:var(--lime);margin:0 4px}.term-path em{font-style:normal;color:#69766d;overflow:hidden;text-overflow:ellipsis}.cursor{display:inline-block;width:7px;height:13px;background:var(--lime);animation:blink 1s steps(1) infinite;vertical-align:-2px}@keyframes blink{50%{opacity:0}}.term-statuses{display:flex;align-items:center;gap:8px;margin-left:14px}.status-pill,.dash-link{height:30px;border:1px solid var(--line2);border-radius:6px;padding:0 10px;display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:7px;text-decoration:none;background:#070b08}.status-pill i{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 9px var(--green)}.status-pill b{color:var(--green)}.status-pill.native i{background:var(--lime);box-shadow:0 0 9px var(--lime)}.status-pill.native b{color:var(--lime)}.dash-link:hover{border-color:var(--green);color:var(--green)}
.terminal-shell{max-width:1800px;margin:0 auto;padding:12px 16px 20px}.terminal-toolbar{display:flex;align-items:center;gap:7px;min-height:42px;border:1px solid var(--line);background:#050805;border-radius:7px;padding:6px}.mode-switch,.feed-filters{display:flex;border:1px solid var(--line);border-radius:5px;padding:2px;background:#030503}.mode-switch button,.feed-filters button,.action{border:0;background:transparent;color:var(--dim);font-size:7px;font-weight:800;letter-spacing:.05em;height:27px;padding:0 10px;border-radius:4px;cursor:pointer}.mode-switch button.active,.feed-filters button.active{background:#10180f;color:var(--green)}.action{border:1px solid var(--line);background:#070b08;color:var(--muted)}.action:hover{border-color:var(--line2);color:var(--text)}.action.primary{background:var(--green);color:#021104;border-color:var(--green)}.action.arm{color:var(--lime);border-color:#34451a}.action.arm.armed{background:var(--lime);color:#071000}.action:disabled{opacity:.35;cursor:not-allowed}.action kbd{font-size:6px;border:1px solid rgba(0,0,0,.25);padding:1px 3px;margin-left:4px}.feed-filters{margin-left:auto}.search-box{height:29px;min-width:210px;border:1px solid var(--line);border-radius:5px;background:#030503;display:flex;align-items:center;gap:6px;padding:0 8px}.search-box span{color:var(--lime)}.search-box input{border:0;outline:0;background:transparent;color:var(--text);width:100%;font-size:8px}.search-box input::placeholder{color:#39423b}#utcClock{font-size:8px;color:var(--dim);min-width:86px;text-align:right}.health-bar{height:31px;margin-top:8px;border:1px solid #302f17;background:#0e0e07;border-radius:5px;display:flex;align-items:center;padding:0 10px;gap:8px;color:#a69c53;font-size:7px}.health-bar i{width:5px;height:5px;border-radius:50%;background:var(--amber)}.health-bar b{margin-left:auto;color:#706b3e;font-weight:500}.health-bar.live{border-color:#1d3524;background:#071008;color:#79a984}.health-bar.live i{background:var(--green);box-shadow:0 0 8px var(--green)}
.counter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:8px}.counter-grid article{position:relative;overflow:hidden;min-height:76px;border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:12px}.counter-grid article:after{content:"";position:absolute;bottom:0;left:0;width:42%;height:2px;background:linear-gradient(90deg,var(--green),transparent);opacity:.25}.counter-grid span{display:block;font-size:7px;color:var(--dim);font-weight:800}.counter-grid b{display:block;font:800 22px var(--sans);margin:7px 0 2px}.counter-grid small{font-size:7px;color:#566159}.counter-grid article:nth-child(4) b{color:var(--green)}
.terminal-grid{display:grid;grid-template-columns:260px minmax(600px,1fr) 360px;gap:8px;margin-top:8px;align-items:start}.left-rail,.right-rail,.center-stage{display:flex;flex-direction:column;gap:8px}.panel{border:1px solid var(--line);background:var(--panel);border-radius:7px;overflow:hidden}.block-head{height:39px;display:flex;align-items:center;padding:0 11px;border-bottom:1px solid var(--line)}.block-head span{font-size:8px;font-weight:800;color:var(--text);letter-spacing:.06em}.block-head b{margin-left:auto;font-size:6px;color:var(--green)}.rules-list{padding:8px 10px}.rule-row{height:39px;border-bottom:1px solid #111a13;display:grid;grid-template-columns:1fr auto;align-items:center}.rule-row:last-child{border-bottom:0}.rule-row span{font-size:7px;color:var(--muted)}.rule-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;overflow:hidden}.rule-control button{width:24px;height:23px;border:0;background:#050805;color:var(--dim);cursor:pointer}.rule-control button:hover{color:var(--lime);background:#0c120a}.rule-control b{min-width:52px;text-align:center;font-size:8px;color:var(--text);font-weight:600}.fixed-rules{border-top:1px solid var(--line);padding:7px 10px 10px}.fixed-rules div{display:flex;align-items:center;height:24px}.fixed-rules span{font-size:6px;color:var(--dim)}.fixed-rules b{margin-left:auto;font-size:7px;color:#aab3ac;font-weight:600}.leader-list{padding:7px}.leader-row{display:grid;grid-template-columns:21px 1fr auto;align-items:center;min-height:38px;border-bottom:1px solid #101812;padding:0 4px;cursor:pointer}.leader-row:last-child{border:0}.leader-row:hover{background:#0b110c}.leader-rank{color:var(--dim);font-size:7px}.leader-name b{display:block;font-size:7px}.leader-name small{font-size:6px;color:var(--dim)}.leader-pnl{font-size:7px;color:var(--green);font-weight:700}
.feed-panel{min-height:540px}.feed-head{height:62px;padding:0 13px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.feed-head>div:first-child span{display:block;font-size:10px;font-weight:800}.feed-head small{display:block;font-size:7px;color:var(--dim);margin-top:4px}.feed-meta{margin-left:auto;display:grid;grid-template-columns:6px auto;column-gap:7px;align-items:center}.feed-meta i{width:5px;height:5px;border-radius:50%;background:var(--green);grid-row:1/3;box-shadow:0 0 8px var(--green)}.feed-meta b{font-size:7px;color:var(--green)}.feed-meta span{font-size:6px;color:var(--dim)}.feed-columns{height:30px;display:grid;grid-template-columns:64px 1.4fr 1fr 1.15fr 78px 1.3fr;align-items:center;padding:0 11px;color:var(--dim);font-size:6px;font-weight:800;border-bottom:1px solid var(--line)}.candidate-feed{max-height:446px;overflow:auto}.candidate-row{position:relative;display:grid;grid-template-columns:64px 1.4fr 1fr 1.15fr 78px 1.3fr;align-items:center;min-height:57px;padding:0 11px;border-bottom:1px solid #111a13;cursor:pointer;transition:.16s ease}.candidate-row:hover{background:#0a110b}.candidate-row.selected{background:#0b170d;box-shadow:inset 2px 0 var(--green)}.candidate-row.flash{animation:rowflash .8s ease}@keyframes rowflash{0%{background:#1d2610}100%{background:transparent}}.cell-time{font-size:7px;color:var(--dim)}.token-cell b{display:block;font-size:9px}.token-cell small,.wallet-cell small,.market-cell small{display:block;font-size:6px;color:var(--dim);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet-cell b{display:block;font-size:7px;color:#cbd5cd}.market-cell b{display:block;font-size:7px;font-weight:600}.score-cell{display:flex;align-items:center;gap:6px}.score-cell b{font-size:10px}.scorebar{width:36px;height:3px;background:#172019;border-radius:2px;overflow:hidden}.scorebar i{display:block;height:100%;background:var(--dim)}.candidate-row.pass .scorebar i{background:var(--green)}.candidate-row.pass .score-cell b{color:var(--green)}.decision-cell b{font-size:8px}.decision-cell small{display:block;font-size:6px;color:var(--dim);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.candidate-row.pass .decision-cell b{color:var(--green)}.candidate-row.skip .decision-cell b{color:#78827a}.candidate-row.paper .decision-cell b{color:var(--lime)}
.console-panel{height:270px}.console-head{height:34px;display:flex;align-items:center;padding:0 10px;border-bottom:1px solid var(--line);font-size:7px}.console-head span{font-weight:800}.console-head b{margin-left:auto;color:var(--dim);font-weight:500}.console-head button{margin-left:9px;background:transparent;border:0;color:var(--dim);font-size:6px;cursor:pointer}.console-log{height:190px;overflow:auto;padding:8px 10px;background:#030503;font-size:7px;line-height:1.65}.log-line{display:flex;gap:8px;white-space:pre-wrap}.log-line time{color:#344039}.log-line .type{width:45px;color:#68756b}.log-line .msg{color:#aab4ac}.log-line.pass .type,.log-line.pass .msg strong{color:var(--green)}.log-line.skip .type{color:#7b827d}.log-line.warn .type{color:var(--amber)}.log-line.native .type{color:var(--lime)}.command-line{height:44px;border-top:1px solid var(--line);display:flex;align-items:center;padding:0 10px;gap:8px;background:#050805}.command-line>span:first-child{color:var(--green);font-size:8px}.command-line input{flex:1;background:transparent;border:0;outline:0;color:var(--text);font-size:8px}
.inspector-panel{min-height:475px}.inspector-brand{height:112px;position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:radial-gradient(circle at 84% 56%,rgba(185,255,0,.055),transparent 34%),linear-gradient(90deg,#080e09,#040604)}.inspector-brand img{position:absolute;width:148px;height:auto;right:9px;bottom:2px;top:auto;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 12px rgba(185,255,0,.14));opacity:.98;transform-origin:center bottom;animation:inspectorCapyIdle 1.35s steps(2,end) infinite;will-change:transform}.inspector-brand:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#070d08 30%,rgba(7,13,8,.78) 47%,transparent 76%);pointer-events:none}.inspector-brand span{position:absolute;left:12px;top:15px;z-index:2;font-size:7px;color:var(--lime);font-weight:800;letter-spacing:.08em}@keyframes inspectorCapyIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}.inspector-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.inspector-empty b{font-size:10px;color:var(--dim)}.inspector-empty span{font-size:7px;color:#3f4942;max-width:210px;margin-top:8px;line-height:1.5}.hidden{display:none!important}.inspector{padding:13px}.inspect-title{display:flex;align-items:flex-start}.inspect-title h2{font:800 20px var(--sans);margin:0}.inspect-title h2 span{color:var(--green)}.inspect-title .score-orb{margin-left:auto;width:50px;height:50px;border:1px solid var(--line2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green);font-weight:800;font-size:11px;background:#08100a;box-shadow:0 0 20px rgba(114,255,134,.04)}.inspect-sub{font-size:7px;color:var(--dim);margin:4px 0 12px}.inspect-market{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.inspect-market div{border:1px solid var(--line);background:#050805;padding:8px;border-radius:4px}.inspect-market span{display:block;font-size:6px;color:var(--dim)}.inspect-market b{display:block;font-size:8px;margin-top:5px}.decision-box{margin-top:9px;border:1px solid var(--line);border-radius:5px;padding:9px;background:#050805}.decision-box.pass{border-color:#24472d}.decision-box>span{font-size:6px;color:var(--dim)}.decision-box h3{font-size:11px;margin:5px 0}.decision-box.pass h3{color:var(--green)}.wall-checks{margin-top:8px}.wall-check{display:grid;grid-template-columns:15px 1fr auto;min-height:27px;align-items:center;border-bottom:1px solid #101812}.wall-check i{font-style:normal;font-size:8px;color:var(--dim)}.wall-check.ok i,.wall-check.ok b{color:var(--green)}.wall-check span{font-size:7px;color:#839087}.wall-check b{font-size:6px;color:#707b73}.inspect-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}.inspect-actions button,.inspect-actions a{height:33px;border-radius:5px;border:1px solid var(--line2);background:#08100a;color:var(--text);font-size:7px;font-weight:800;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.inspect-actions .queue{background:var(--lime);color:#071000;border-color:var(--lime)}.inspect-actions .queue:disabled{opacity:.35;cursor:not-allowed}.positions-panel{min-height:260px}.positions-list{padding:7px}.position-empty{height:170px;display:flex;align-items:center;justify-content:center;color:#465047;font-size:7px;text-align:center}.position-row{padding:9px 6px;border-bottom:1px solid #111a13}.position-top,.position-meta{display:flex;align-items:center}.position-top b{font-size:8px}.position-top span{margin-left:auto;font-size:8px;color:var(--green);font-weight:700}.position-top span.neg{color:var(--red)}.position-meta{font-size:6px;color:var(--dim);margin-top:5px;gap:8px}.position-meta button{margin-left:auto;border:0;background:transparent;color:#7d8880;font-size:6px;cursor:pointer}.position-bar{height:3px;background:#162018;border-radius:2px;margin-top:7px;overflow:hidden}.position-bar i{display:block;height:100%;background:var(--green);width:50%}
.toast{position:fixed;right:18px;bottom:18px;transform:translateY(20px);opacity:0;pointer-events:none;background:#0d160f;border:1px solid var(--line2);color:var(--text);border-radius:6px;padding:10px 12px;font-size:8px;z-index:100;transition:.2s}.toast.show{opacity:1;transform:none}.toast.good{border-color:#2d5635;color:var(--green)}.toast.bad{border-color:#532c2c;color:#ff9898}
::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:#050805}::-webkit-scrollbar-thumb{background:#1a281d;border-radius:6px}@media(max-width:1200px){.terminal-grid{grid-template-columns:230px 1fr}.right-rail{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.counter-grid{grid-template-columns:repeat(3,1fr)}.term-topbar{grid-template-columns:220px 1fr}.term-statuses{display:none}}@media(max-width:820px){.term-topbar{grid-template-columns:1fr}.term-path{display:none}.terminal-toolbar{flex-wrap:wrap}.feed-filters{margin-left:0}.search-box{flex:1}.terminal-grid{grid-template-columns:1fr}.left-rail,.right-rail{grid-column:auto;display:flex}.counter-grid{grid-template-columns:repeat(2,1fr)}.feed-columns,.candidate-row{grid-template-columns:52px 1.2fr 1fr 84px}.feed-columns span:nth-child(4),.candidate-row .market-cell,.feed-columns span:nth-child(5),.candidate-row .score-cell{display:none}.term-brand small{display:none}}
/* Embedded web-terminal view used by the product site */
body.embedded{overflow:hidden}
body.embedded .screen-noise{opacity:.28}
body.embedded .term-topbar,body.embedded .terminal-toolbar,body.embedded .health-bar,body.embedded .counter-grid,body.embedded .left-rail,body.embedded .right-rail{display:none!important}
body.embedded .terminal-shell{max-width:none;margin:0;padding:0}
body.embedded .terminal-grid{display:block;margin:0}
body.embedded .center-stage{gap:0}
body.embedded .feed-panel{min-height:350px;border:0;border-radius:0}
body.embedded .feed-head{height:54px}
body.embedded .candidate-feed{max-height:266px}
body.embedded .candidate-row{min-height:44px}
body.embedded .console-panel{height:170px;border:0;border-top:1px solid var(--line);border-radius:0}
body.embedded .console-head{height:30px}
body.embedded .console-log{height:96px}
body.embedded .command-line{height:44px}

/* v26 command-first web terminal */
.command-starter{margin-top:8px;min-height:54px;border:1px solid #2d421a;background:linear-gradient(90deg,#0b1007,#060906 62%,#091006);border-radius:7px;display:grid;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:14px;padding:8px 10px;box-shadow:inset 0 0 30px rgba(185,255,0,.018)}
.starter-copy{display:flex;flex-direction:column;gap:4px}.starter-copy span{font-size:7px;color:var(--lime);font-weight:800;letter-spacing:.07em}.starter-copy b{font-size:7px;color:#768078;font-weight:500}.starter-actions{display:flex;gap:5px;flex-wrap:wrap}.starter-actions button{height:29px;border:1px solid #27352a;border-radius:5px;background:#060a07;color:#9fa9a1;padding:0 10px;font-size:7px;cursor:pointer;transition:.15s}.starter-actions button:first-child{border-color:#49641d;color:var(--lime)}.starter-actions button:hover{border-color:var(--lime);color:var(--lime);background:#0b1208}.starter-state{display:flex;align-items:center;gap:7px;min-width:150px;justify-content:flex-end}.starter-state i{width:6px;height:6px;border-radius:50%;background:#697169}.starter-state span{font-size:6px;color:#697169;font-weight:800;letter-spacing:.04em}.command-starter.running{border-color:#244a2c;background:linear-gradient(90deg,#071109,#050805 65%,#071109)}.command-starter.running .starter-state i{background:var(--green);box-shadow:0 0 9px var(--green)}.command-starter.running .starter-state span{color:var(--green)}
.wallet-desk-panel{margin-top:8px}.wallet-desk-head{height:55px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 13px}.wallet-desk-head>div:first-child span{display:block;font-size:9px;font-weight:800;letter-spacing:.06em}.wallet-desk-head small{display:block;font-size:6px;color:var(--dim);margin-top:4px}.wallet-desk-meta{margin-left:auto;display:grid;grid-template-columns:6px auto;column-gap:7px;align-items:center}.wallet-desk-meta i{width:5px;height:5px;border-radius:50%;background:#697169;grid-row:1/3}.wallet-desk-meta b{font-size:7px;color:#77817a}.wallet-desk-meta span{font-size:6px;color:var(--dim)}.wallet-desk-panel.running .wallet-desk-meta i{background:var(--green);box-shadow:0 0 8px var(--green)}.wallet-desk-panel.running .wallet-desk-meta b{color:var(--green)}.wallet-desk-columns,.wallet-desk-row{display:grid;grid-template-columns:90px minmax(180px,1.2fr) minmax(100px,.7fr) 100px 100px minmax(240px,2fr);align-items:center;padding:0 13px}.wallet-desk-columns{height:28px;border-bottom:1px solid var(--line);font-size:6px;color:var(--dim);font-weight:800;letter-spacing:.04em}.wallet-desk{max-height:350px;overflow:auto}.wallet-desk-row{min-height:42px;border-bottom:1px solid #101812;font-size:7px;transition:.15s}.wallet-desk-row.bump{animation:walletbump .6s ease}.wallet-desk-row:hover{background:#09100a}.wallet-mode{font-weight:800;color:var(--amber)}.wallet-mode.paper{color:var(--lime)}.wallet-trader b,.wallet-pair b{font-size:7px}.wallet-trader small,.wallet-pair small{display:block;color:var(--dim);font-size:6px;margin-top:3px}.wallet-pnl,.wallet-delta{font-weight:800;color:var(--green)}.wallet-pnl.neg,.wallet-delta.neg{color:var(--red)}.wallet-spark{letter-spacing:.06em;color:#6fd87b;white-space:nowrap;overflow:hidden;text-overflow:clip}.wallet-spark.neg{color:#c75f5f}@keyframes walletbump{0%{background:#192310}100%{background:transparent}}
.event-tag{display:block;font-size:5px;font-weight:800;letter-spacing:.06em;color:#6f7a71;margin-top:3px}.candidate-row.event-new .event-tag{color:var(--lime)}.candidate-row.event-copy .event-tag,.candidate-row.event-pnl .event-tag{color:var(--green)}
@media(max-width:1000px){.command-starter{grid-template-columns:1fr}.starter-state{justify-content:flex-start}.wallet-desk-columns,.wallet-desk-row{grid-template-columns:70px 1.2fr .8fr 80px 80px 1.3fr}}
body.embedded .command-starter,body.embedded .wallet-desk-panel{display:none!important}

@media(prefers-reduced-motion:reduce){.inspector-brand img{animation:none}}

/* v27 — adaptive terminal density for desktop / 2K / 4K */
@media (min-width:1440px){
  .terminal-shell{max-width:1900px;padding:14px 20px 26px}
  .term-topbar{height:64px;grid-template-columns:300px minmax(420px,1fr) auto;padding-inline:22px}.capy-mini{width:34px;height:34px}.term-brand b{font-size:15px}.term-brand small{font-size:8px}.term-path{height:35px;font-size:11px}.status-pill,.dash-link{height:33px;font-size:8px}
  .terminal-toolbar{min-height:46px;padding:7px;gap:8px}.mode-switch button,.feed-filters button,.action{height:30px;font-size:8px;padding-inline:12px}.action kbd{font-size:7px}.search-box{height:32px;min-width:240px}.search-box input,#utcClock{font-size:9px}.health-bar{height:34px;font-size:8px}
  .counter-grid{gap:8px}.counter-grid article{min-height:84px;padding:13px}.counter-grid span,.counter-grid small{font-size:8px}.counter-grid b{font-size:24px}
  .terminal-grid{grid-template-columns:285px minmax(690px,1fr) 390px;gap:9px}.block-head{height:43px}.block-head span{font-size:9px}.block-head b{font-size:7px}.rule-row{height:43px}.rule-row span{font-size:8px}.rule-control b{font-size:9px}.fixed-rules span{font-size:7px}.fixed-rules b{font-size:8px}.leader-row{min-height:42px}.leader-rank,.leader-name b,.leader-pnl{font-size:8px}.leader-name small{font-size:7px}
  .feed-panel{min-height:600px}.feed-head{height:68px}.feed-head>div:first-child span{font-size:11px}.feed-head small{font-size:8px}.feed-meta b{font-size:8px}.feed-meta span{font-size:7px}.feed-columns{height:34px;font-size:7px;grid-template-columns:72px 1.4fr 1fr 1.15fr 86px 1.3fr}.candidate-feed{max-height:495px}.candidate-row{min-height:62px;grid-template-columns:72px 1.4fr 1fr 1.15fr 86px 1.3fr}.cell-time{font-size:8px}.token-cell b{font-size:10px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:7px}.wallet-cell b,.market-cell b{font-size:8px}.score-cell b{font-size:11px}.decision-cell b{font-size:9px}.event-tag{font-size:6px}
  .console-panel{height:300px}.console-head{height:38px;font-size:8px}.console-head button{font-size:7px}.console-log{font-size:8px;line-height:1.7}.command-line{height:50px;font-size:9px}.command-line input{font-size:9px}
  .inspector-brand{height:112px}.inspector-brand img{width:164px}.inspector-brand span{font-size:8px}.inspector-empty b{font-size:11px}.inspector-empty span{font-size:8px}.inspector{padding:15px}.inspect-title h2{font-size:22px}.inspect-title .score-orb{width:54px;height:54px;font-size:12px}.inspect-sub{font-size:8px}.inspect-market span{font-size:7px}.inspect-market b{font-size:9px}.decision-box>span{font-size:7px}.decision-box h3{font-size:12px}.wall-check{min-height:30px}.wall-check i{font-size:9px}.wall-check span{font-size:8px}.wall-check b{font-size:7px}.inspect-actions button,.inspect-actions a{height:36px;font-size:8px}
  .position-empty{font-size:8px}.position-top b,.position-top span{font-size:9px}.position-meta,.position-meta button{font-size:7px}.toast{font-size:9px}
  .command-starter{min-height:60px;grid-template-columns:minmax(290px,1fr) auto auto;padding:9px 12px}.starter-copy span,.starter-copy b{font-size:8px}.starter-actions button{height:32px;font-size:8px}.starter-state span{font-size:7px}
  .wallet-desk-head{height:60px}.wallet-desk-head>div:first-child span{font-size:10px}.wallet-desk-head small{font-size:7px}.wallet-desk-meta b{font-size:8px}.wallet-desk-meta span{font-size:7px}.wallet-desk-columns,.wallet-desk-row{grid-template-columns:100px minmax(190px,1.2fr) minmax(110px,.7fr) 110px 110px minmax(260px,2fr)}.wallet-desk-columns{height:31px;font-size:7px}.wallet-desk{max-height:390px}.wallet-desk-row{min-height:46px;font-size:8px}.wallet-trader b,.wallet-pair b{font-size:8px}.wallet-trader small,.wallet-pair small{font-size:7px}
  body.embedded .feed-head{height:58px}body.embedded .candidate-feed{max-height:300px}body.embedded .candidate-row{min-height:48px}body.embedded .console-panel{height:190px}body.embedded .console-log{height:108px}body.embedded .command-line{height:48px}
}

@media (min-width:1920px){
  .terminal-shell{max-width:2200px;padding:16px 24px 30px}.term-topbar{height:70px;grid-template-columns:330px minmax(500px,1fr) auto;padding-inline:26px}.capy-mini{width:38px;height:38px}.term-brand b{font-size:17px}.term-brand small{font-size:9px}.term-path{height:38px;font-size:12px}.status-pill,.dash-link{height:36px;font-size:9px}
  .terminal-toolbar{min-height:50px}.mode-switch button,.feed-filters button,.action{height:33px;font-size:9px}.action kbd{font-size:8px}.search-box{height:35px;min-width:270px}.search-box input,#utcClock{font-size:10px}.health-bar{height:37px;font-size:9px}
  .counter-grid article{min-height:92px;padding:15px}.counter-grid span,.counter-grid small{font-size:9px}.counter-grid b{font-size:27px}
  .terminal-grid{grid-template-columns:310px minmax(780px,1fr) 430px;gap:10px}.block-head{height:47px}.block-head span{font-size:10px}.block-head b{font-size:8px}.rule-row{height:46px}.rule-row span{font-size:9px}.rule-control b{font-size:10px}.fixed-rules span{font-size:8px}.fixed-rules b{font-size:9px}.leader-row{min-height:46px}.leader-rank,.leader-name b,.leader-pnl{font-size:9px}.leader-name small{font-size:8px}
  .feed-panel{min-height:660px}.feed-head{height:74px}.feed-head>div:first-child span{font-size:12px}.feed-head small{font-size:9px}.feed-meta b{font-size:9px}.feed-meta span{font-size:8px}.feed-columns{height:38px;font-size:8px;grid-template-columns:80px 1.4fr 1fr 1.15fr 94px 1.3fr}.candidate-feed{max-height:545px}.candidate-row{min-height:67px;grid-template-columns:80px 1.4fr 1fr 1.15fr 94px 1.3fr}.cell-time{font-size:9px}.token-cell b{font-size:11px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:8px}.wallet-cell b,.market-cell b{font-size:9px}.score-cell b{font-size:12px}.decision-cell b{font-size:10px}.event-tag{font-size:7px}
  .console-panel{height:330px}.console-head{height:42px;font-size:9px}.console-head button{font-size:8px}.console-log{font-size:9px}.command-line,.command-line input{font-size:10px}
  .inspector-brand{height:124px}.inspector-brand img{width:180px}.inspector-brand span{font-size:9px}.inspector-empty b{font-size:12px}.inspector-empty span{font-size:9px}.inspect-title h2{font-size:24px}.inspect-title .score-orb{width:58px;height:58px;font-size:13px}.inspect-sub{font-size:9px}.inspect-market span{font-size:8px}.inspect-market b{font-size:10px}.decision-box>span{font-size:8px}.decision-box h3{font-size:13px}.wall-check i{font-size:10px}.wall-check span{font-size:9px}.wall-check b{font-size:8px}.inspect-actions button,.inspect-actions a{height:39px;font-size:9px}.position-empty{font-size:9px}.position-top b,.position-top span{font-size:10px}.position-meta,.position-meta button{font-size:8px}.toast{font-size:10px}
  .command-starter{min-height:66px}.starter-copy span,.starter-copy b{font-size:9px}.starter-actions button{height:35px;font-size:9px}.starter-state span{font-size:8px}.wallet-desk-head{height:66px}.wallet-desk-head>div:first-child span{font-size:11px}.wallet-desk-head small{font-size:8px}.wallet-desk-meta b{font-size:9px}.wallet-desk-meta span{font-size:8px}.wallet-desk-columns{height:35px;font-size:8px}.wallet-desk{max-height:430px}.wallet-desk-row{min-height:50px;font-size:9px}.wallet-trader b,.wallet-pair b{font-size:9px}.wallet-trader small,.wallet-pair small{font-size:8px}
  body.embedded .feed-head{height:62px}body.embedded .candidate-feed{max-height:330px}body.embedded .candidate-row{min-height:52px}body.embedded .console-panel{height:205px}body.embedded .console-log{height:118px}body.embedded .command-line{height:50px}
}

@media (min-width:2560px){
  .terminal-shell{max-width:2500px;padding:20px 28px 36px}.term-topbar{height:78px;grid-template-columns:370px minmax(580px,1fr) auto}.capy-mini{width:42px;height:42px}.term-brand b{font-size:19px}.term-brand small{font-size:10px}.term-path{height:42px;font-size:13px}.status-pill,.dash-link{height:40px;font-size:10px}
  .terminal-toolbar{min-height:56px}.mode-switch button,.feed-filters button,.action{height:37px;font-size:10px}.search-box{height:39px;min-width:300px}.search-box input,#utcClock{font-size:11px}.health-bar{height:41px;font-size:10px}
  .counter-grid article{min-height:102px;padding:17px}.counter-grid span,.counter-grid small{font-size:10px}.counter-grid b{font-size:30px}
  .terminal-grid{grid-template-columns:350px minmax(920px,1fr) 480px;gap:12px}.block-head{height:52px}.block-head span{font-size:11px}.block-head b{font-size:9px}.rule-row{height:51px}.rule-row span{font-size:10px}.rule-control b{font-size:11px}.fixed-rules span{font-size:9px}.fixed-rules b{font-size:10px}.leader-row{min-height:51px}.leader-rank,.leader-name b,.leader-pnl{font-size:10px}.leader-name small{font-size:9px}
  .feed-panel{min-height:740px}.feed-head{height:82px}.feed-head>div:first-child span{font-size:13px}.feed-head small{font-size:10px}.feed-meta b{font-size:10px}.feed-meta span{font-size:9px}.feed-columns{height:42px;font-size:9px;grid-template-columns:90px 1.4fr 1fr 1.15fr 104px 1.3fr}.candidate-feed{max-height:610px}.candidate-row{min-height:74px;grid-template-columns:90px 1.4fr 1fr 1.15fr 104px 1.3fr}.cell-time{font-size:10px}.token-cell b{font-size:12px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:9px}.wallet-cell b,.market-cell b{font-size:10px}.score-cell b{font-size:13px}.decision-cell b{font-size:11px}.event-tag{font-size:8px}
  .console-panel{height:370px}.console-head{height:46px;font-size:10px}.console-head button{font-size:9px}.console-log{font-size:10px}.command-line,.command-line input{font-size:11px}
  .inspector-brand{height:138px}.inspector-brand img{width:200px}.inspector-brand span{font-size:10px}.inspector-empty b{font-size:13px}.inspector-empty span{font-size:10px}.inspect-title h2{font-size:27px}.inspect-title .score-orb{width:64px;height:64px;font-size:14px}.inspect-sub{font-size:10px}.inspect-market span{font-size:9px}.inspect-market b{font-size:11px}.decision-box>span{font-size:9px}.decision-box h3{font-size:14px}.wall-check i{font-size:11px}.wall-check span{font-size:10px}.wall-check b{font-size:9px}.inspect-actions button,.inspect-actions a{height:43px;font-size:10px}.position-empty{font-size:10px}.position-top b,.position-top span{font-size:11px}.position-meta,.position-meta button{font-size:9px}
  .command-starter{min-height:72px}.starter-copy span,.starter-copy b{font-size:10px}.starter-actions button{height:39px;font-size:10px}.starter-state span{font-size:9px}.wallet-desk-head{height:72px}.wallet-desk-head>div:first-child span{font-size:12px}.wallet-desk-head small{font-size:9px}.wallet-desk-meta b{font-size:10px}.wallet-desk-meta span{font-size:9px}.wallet-desk-columns{height:39px;font-size:9px}.wallet-desk{max-height:480px}.wallet-desk-row{min-height:56px;font-size:10px}.wallet-trader b,.wallet-pair b{font-size:10px}.wallet-trader small,.wallet-pair small{font-size:9px}
}

/* v27.1 — keep terminal text comfortably readable on high-density desktop screens */
@media (min-width:1920px){
  .terminal-shell{max-width:1960px}
  .term-brand small,.status-pill,.dash-link,.mode-switch button,.feed-filters button,.action,.search-box input,#utcClock,.health-bar{font-size:10px}
  .counter-grid span,.counter-grid small{font-size:10px}.counter-grid b{font-size:29px}
  .block-head span{font-size:11px}.block-head b{font-size:9px}.rule-row span{font-size:10px}.rule-control b{font-size:11px}.fixed-rules span{font-size:9px}.fixed-rules b{font-size:10px}.leader-rank,.leader-name b,.leader-pnl{font-size:10px}.leader-name small{font-size:9px}
  .feed-head>div:first-child span{font-size:13px}.feed-head small{font-size:10px}.feed-meta b{font-size:10px}.feed-meta span{font-size:9px}.feed-columns{font-size:9px}.cell-time{font-size:10px}.token-cell b{font-size:13px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:9px}.wallet-cell b,.market-cell b{font-size:10px}.score-cell b{font-size:13px}.decision-cell b{font-size:11px}.event-tag{font-size:8px}
  .console-head{font-size:10px}.console-head button{font-size:9px}.console-log{font-size:10px}.command-line,.command-line input{font-size:11px}
  .inspector-brand span,.inspect-sub{font-size:10px}.inspector-empty span{font-size:10px}.inspect-market span{font-size:9px}.inspect-market b{font-size:11px}.decision-box>span{font-size:9px}.decision-box h3{font-size:14px}.wall-check span{font-size:10px}.wall-check b{font-size:9px}.inspect-actions button,.inspect-actions a{font-size:10px}.position-empty{font-size:10px}.position-top b,.position-top span{font-size:11px}.position-meta,.position-meta button{font-size:9px}
  .starter-copy span,.starter-copy b,.starter-actions button{font-size:10px}.starter-state span{font-size:9px}.wallet-desk-head small,.wallet-desk-meta span{font-size:9px}.wallet-desk-meta b{font-size:10px}.wallet-desk-columns{font-size:9px}.wallet-desk-row{font-size:10px}.wallet-trader b,.wallet-pair b{font-size:10px}.wallet-trader small,.wallet-pair small{font-size:9px}
}
@media (min-width:2560px){
  .terminal-shell{max-width:2240px}
  .term-brand small,.status-pill,.dash-link,.mode-switch button,.feed-filters button,.action,.search-box input,#utcClock,.health-bar{font-size:11px}
  .counter-grid span,.counter-grid small{font-size:11px}.counter-grid b{font-size:32px}
  .block-head span{font-size:12px}.block-head b{font-size:10px}.rule-row span{font-size:11px}.rule-control b{font-size:12px}.fixed-rules span{font-size:10px}.fixed-rules b{font-size:11px}.leader-rank,.leader-name b,.leader-pnl{font-size:11px}.leader-name small{font-size:10px}
  .feed-head>div:first-child span{font-size:14px}.feed-head small{font-size:11px}.feed-meta b{font-size:11px}.feed-meta span{font-size:10px}.feed-columns{font-size:10px}.cell-time{font-size:11px}.token-cell b{font-size:14px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:10px}.wallet-cell b,.market-cell b{font-size:11px}.score-cell b{font-size:14px}.decision-cell b{font-size:12px}.event-tag{font-size:9px}
  .console-head{font-size:11px}.console-head button{font-size:10px}.console-log{font-size:11px}.command-line,.command-line input{font-size:12px}
  .inspector-brand span,.inspect-sub{font-size:11px}.inspector-empty span{font-size:11px}.inspect-market span{font-size:10px}.inspect-market b{font-size:12px}.decision-box>span{font-size:10px}.decision-box h3{font-size:15px}.wall-check span{font-size:11px}.wall-check b{font-size:10px}.inspect-actions button,.inspect-actions a{font-size:11px}.position-empty{font-size:11px}.position-top b,.position-top span{font-size:12px}.position-meta,.position-meta button{font-size:10px}
  .starter-copy span,.starter-copy b,.starter-actions button{font-size:11px}.starter-state span{font-size:10px}.wallet-desk-head small,.wallet-desk-meta span{font-size:10px}.wallet-desk-meta b{font-size:11px}.wallet-desk-columns{font-size:10px}.wallet-desk-row{font-size:11px}.wallet-trader b,.wallet-pair b{font-size:11px}.wallet-trader small,.wallet-pair small{font-size:10px}
}
@media (min-width:3200px){
  .terminal-shell{max-width:2600px}.term-topbar{height:86px;grid-template-columns:410px minmax(680px,1fr) auto}.term-brand b{font-size:22px}.term-brand small{font-size:12px}.term-path{height:46px;font-size:14px}.status-pill,.dash-link{height:44px;font-size:12px}
  .terminal-toolbar{min-height:62px}.mode-switch button,.feed-filters button,.action{height:41px;font-size:12px}.search-box{height:43px;min-width:340px}.search-box input,#utcClock,.health-bar{font-size:12px}.health-bar{height:45px}
  .counter-grid article{min-height:112px}.counter-grid span,.counter-grid small{font-size:12px}.counter-grid b{font-size:36px}.terminal-grid{grid-template-columns:390px minmax(1080px,1fr) 520px}
  .block-head span{font-size:13px}.rule-row span{font-size:12px}.leader-rank,.leader-name b,.leader-pnl{font-size:12px}.leader-name small{font-size:11px}.feed-columns{font-size:11px}.cell-time{font-size:12px}.token-cell b{font-size:15px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:11px}.wallet-cell b,.market-cell b,.decision-cell b{font-size:12px}.score-cell b{font-size:15px}.console-log,.command-line,.command-line input{font-size:12px}
}

/* v27.2 — final high-resolution type floor */
@media (min-width:1920px){
  .status-pill,.dash-link,.mode-switch button,.feed-filters button,.action,.search-box input,#utcClock,.health-bar{font-size:11px}
  .counter-grid span,.counter-grid small{font-size:11px}.counter-grid b{font-size:30px}
  .block-head span{font-size:12px}.block-head b{font-size:10px}.rule-row span{font-size:11px}.rule-control b{font-size:12px}.fixed-rules span{font-size:10px}.fixed-rules b{font-size:11px}.leader-rank,.leader-name b,.leader-pnl{font-size:11px}.leader-name small{font-size:10px}
  .feed-head>div:first-child span{font-size:14px}.feed-head small{font-size:11px}.feed-meta b{font-size:11px}.feed-meta span{font-size:10px}.feed-columns{font-size:10px}.cell-time{font-size:11px}.token-cell b{font-size:14px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:10px}.wallet-cell b,.market-cell b{font-size:11px}.score-cell b{font-size:14px}.decision-cell b{font-size:12px}.event-tag{font-size:9px}
  .console-head{font-size:11px}.console-head button{font-size:10px}.console-log{font-size:11px}.command-line,.command-line input{font-size:12px}
  .inspector-brand span,.inspect-sub{font-size:11px}.inspector-empty b{font-size:14px}.inspector-empty span{font-size:11px}.inspect-market span{font-size:10px}.inspect-market b{font-size:12px}.decision-box>span{font-size:10px}.decision-box h3{font-size:15px}.wall-check i{font-size:12px}.wall-check span{font-size:11px}.wall-check b{font-size:10px}.inspect-actions button,.inspect-actions a{font-size:11px}.position-empty{font-size:11px}.position-top b,.position-top span{font-size:12px}.position-meta,.position-meta button{font-size:10px}
  .starter-copy span,.starter-copy b,.starter-actions button{font-size:11px}.starter-state span{font-size:10px}.wallet-desk-head>div:first-child span{font-size:13px}.wallet-desk-head small,.wallet-desk-meta span{font-size:10px}.wallet-desk-meta b{font-size:11px}.wallet-desk-columns{font-size:10px}.wallet-desk-row{font-size:11px}.wallet-trader b,.wallet-pair b{font-size:11px}.wallet-trader small,.wallet-pair small{font-size:10px}
}
@media (min-width:2560px){
  .status-pill,.dash-link,.mode-switch button,.feed-filters button,.action,.search-box input,#utcClock,.health-bar{font-size:12px}
  .counter-grid span,.counter-grid small{font-size:12px}.counter-grid b{font-size:34px}
  .block-head span{font-size:13px}.block-head b{font-size:11px}.rule-row span{font-size:12px}.rule-control b{font-size:13px}.fixed-rules span{font-size:11px}.fixed-rules b{font-size:12px}.leader-rank,.leader-name b,.leader-pnl{font-size:12px}.leader-name small{font-size:11px}
  .feed-head>div:first-child span{font-size:15px}.feed-head small{font-size:12px}.feed-meta b{font-size:12px}.feed-meta span{font-size:11px}.feed-columns{font-size:11px}.cell-time{font-size:12px}.token-cell b{font-size:15px}.token-cell small,.wallet-cell small,.market-cell small,.decision-cell small{font-size:11px}.wallet-cell b,.market-cell b{font-size:12px}.score-cell b{font-size:15px}.decision-cell b{font-size:13px}.event-tag{font-size:10px}
  .console-head{font-size:12px}.console-head button{font-size:11px}.console-log{font-size:12px}.command-line,.command-line input{font-size:13px}
  .inspector-brand span,.inspect-sub{font-size:12px}.inspector-empty b{font-size:15px}.inspector-empty span{font-size:12px}.inspect-market span{font-size:11px}.inspect-market b{font-size:13px}.decision-box>span{font-size:11px}.decision-box h3{font-size:16px}.wall-check i{font-size:13px}.wall-check span{font-size:12px}.wall-check b{font-size:11px}.inspect-actions button,.inspect-actions a{font-size:12px}.position-empty{font-size:12px}.position-top b,.position-top span{font-size:13px}.position-meta,.position-meta button{font-size:11px}
  .starter-copy span,.starter-copy b,.starter-actions button{font-size:12px}.starter-state span{font-size:11px}.wallet-desk-head>div:first-child span{font-size:14px}.wallet-desk-head small,.wallet-desk-meta span{font-size:11px}.wallet-desk-meta b{font-size:12px}.wallet-desk-columns{font-size:11px}.wallet-desk-row{font-size:12px}.wallet-trader b,.wallet-pair b{font-size:12px}.wallet-trader small,.wallet-pair small{font-size:11px}
}
