/* A scoped room, separate from chart geometry and study settings. */
.br-launch{border-color:#4a4666!important;color:#c2b1ff!important}.br-launch>span{font-size:17px}
.bot-room{color:#dce5ef;background:#101723;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.bot-room *{box-sizing:border-box}.bot-room [hidden]{display:none!important}.bot-room button,.bot-room input,.bot-room select{font:inherit}.bot-room button{cursor:pointer}.bot-room button:disabled{cursor:wait;opacity:.45}.bot-room button:focus-visible,.bot-room select:focus-visible,.br-station:focus-visible{outline:2px solid #b4a0ff;outline-offset:4px}.bot-room h2,.bot-room h3,.bot-room h4,.bot-room p{margin:0}.bot-room svg{flex-shrink:0}
.br-header{display:flex;align-items:center;gap:17px;padding:25px 30px 22px;border-bottom:1px solid #293347;background:#131b28}.br-brand-mark{width:45px;height:45px;display:grid;place-items:center;border:1px solid #6d5f9f;border-radius:13px;background:#29243f;color:#cdb6ff;font-size:27px;box-shadow:0 0 25px #ac84ff14}.br-kicker{color:#8a9aaf;font:9px ui-monospace,SFMono-Regular,monospace;letter-spacing:1.8px}.br-header h2{font-size:27px;font-weight:560;letter-spacing:-1.1px;margin-top:5px}.br-header h2>span{color:#b4a0ff}.br-header-right{display:flex;gap:22px;align-items:center;margin-left:auto}.br-paper-tag{font:9px ui-monospace,monospace;letter-spacing:1.3px;border:1px solid #385045;background:#1d302a;color:#a0dabb;padding:7px 10px;border-radius:4px}.br-icon{border:1px solid #334157;background:#1a2534;color:#a5b6c9;width:32px;height:32px;border-radius:50%;font-size:23px!important;line-height:1}.br-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 30px 10px}.br-mode-switch{display:flex;gap:4px;padding:4px;border:1px solid #303c50;border-radius:8px;background:#0b1320}.br-mode-switch button{border:0;background:none;color:#91a2b8;border-radius:5px;font-size:11px;padding:9px 15px}.br-mode-switch button[aria-pressed=true]{background:#2a304b;color:#e2d8ff;box-shadow:0 1px 6px #0003}.br-mode-switch button span{color:#c6acff;margin-left:12px}.br-toolbar-options{display:flex;gap:20px;align-items:center}.br-motion{font-size:11px;color:#a3b4c6;display:flex;align-items:center;gap:7px}.br-motion input{accent-color:#b4a0ff;width:13px;height:13px}.br-button{border:1px solid #344256;border-radius:6px;background:#1c2838;padding:9px 12px;color:#c1d0e1;font-size:11px!important;line-height:1.45;min-height:34px;transition:background .15s,border-color .15s}.br-button:hover:not(:disabled){background:#2b3b50;border-color:#6a7e96}.br-button.br-primary{background:#b4a0ff;border-color:#b4a0ff;color:#13172a;font-weight:650}.br-button.br-primary:hover:not(:disabled){background:#cfbeff}.br-text-button{border:0;background:none;color:#c5b3ff;font-size:11px!important;padding:8px 0;text-align:left}.br-wide{width:100%;margin-top:14px}.br-mode-notice{font-size:10px;color:#8d9fb5;padding:0 30px 15px;line-height:1.6;min-height:31px}.br-demo .br-mode-notice{color:#e0be7b}.br-layout{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:0;border-top:1px solid #293348}.br-floor-column{min-width:0;padding:22px;background:#0d1521}.br-stage{border:1px solid #2b3b50;border-radius:12px;background:radial-gradient(ellipse at 52% 60%,#27304466,transparent 70%),#101b29;overflow:hidden;position:relative}.br-stage-heading{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:23px 24px 0}.br-stage-heading h3{font-size:17px;font-weight:500;letter-spacing:-.5px;margin:7px 0;color:#d1ddec}.br-stage-heading p{font-size:10px;color:#7f94ab}.br-room-status{font:8px ui-monospace,monospace;letter-spacing:.7px;color:#9cafc5;white-space:nowrap;margin-top:3px}.br-demo .br-room-status{color:#e8c581}.br-scene-wrap{margin-top:6px;overflow:hidden}.br-scene{display:block;width:100%;height:auto;max-height:620px;overflow:visible}.br-stage-footer{padding:0 24px 16px;display:flex;justify-content:space-between;align-items:center;color:#617991;font:8px ui-monospace,monospace;letter-spacing:1px;gap:12px}.br-stage-footer i{display:inline-block;width:5px;height:5px;background:#b4a0ff;border-radius:50%;margin-right:7px}.br-crew{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0 24px}.br-crew-card{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #29384c;border-radius:8px;background:#121e2e;padding:14px 11px;color:#a3b2c7;min-width:0;transition:background .2s,border-color .2s}.br-crew-card[aria-pressed=true]{border-color:var(--bot-color);background:color-mix(in srgb,var(--bot-color) 10%,#131d2c)}.br-crew-card:hover{background:#1d2b3e}.br-crew-icon{color:var(--bot-color);font-size:22px}.br-crew-card>span:nth-child(2){min-width:0}.br-crew-card small{font:8px ui-monospace,monospace;letter-spacing:1.7px;display:block;color:#7f92a8}.br-crew-card b{display:block;color:var(--bot-color);font-size:11px;letter-spacing:1.3px;margin:5px 0}.br-crew-card em{display:block;color:#8fa3b9;font:9px ui-monospace,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.br-crew-arrow{margin-left:auto;align-self:flex-start;color:#657c96;font-size:11px}
.br-inspector{border-left:1px solid #2a3549;background:#151e2c;padding:25px 23px;min-width:0}.br-bot-intro{position:relative;min-height:108px;padding-right:80px}.br-bot-intro>.br-kicker{font-size:8px;letter-spacing:1px;line-height:1.8;color:var(--bot-color)}.br-bot-intro h3{font-size:23px;letter-spacing:1.5px;font-weight:550;margin:8px 0}.br-bot-intro h3>span{font-size:13px;color:var(--bot-color);margin-left:7px}.br-portrait{position:absolute;right:0;top:0;border:1px solid #394760;border-radius:13px;width:69px;height:79px;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--bot-color) 18%,transparent),transparent),#17283b;overflow:hidden}.br-portrait svg{width:100%;height:100%;padding:6px}.br-bot-state{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--bot-color);line-height:1.5}.br-bot-state i{width:5px;height:5px;border-radius:50%;background:currentColor}.br-bot-state[data-state=unavailable],.br-bot-state[data-state=stale],.br-bot-state[data-state=blocked]{color:#f0bb78}.br-bot-intro>p{font-size:11px;line-height:1.7;color:#899eb6;margin:13px -80px 18px 0}.br-campaign-label{display:block;color:#99abc0;font-size:10px;margin:20px 0 15px}.bot-room select{display:block;width:100%;min-width:0;border:1px solid #3b4960;border-radius:5px;background:#101a29;color:#ccdaeb;padding:9px 8px;font-size:11px;margin-top:7px;color-scheme:dark}.br-speech{border:1px solid #3c3e59;border-radius:0 9px 9px;background:#22263c;padding:14px 15px;position:relative;margin:16px 0}.br-speech:before{content:'';position:absolute;left:-1px;top:-8px;border-style:solid;border-width:0 8px 8px 0;border-color:transparent transparent #3c3e59 transparent}.br-speech small{color:#bca8f0;font:8px ui-monospace,monospace;letter-spacing:1px}.br-speech p{color:#c1c9dc;font-size:11px;line-height:1.75;margin-top:7px;overflow-wrap:anywhere}.br-metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #2d3a50;border-bottom:1px solid #2d3a50;gap:17px 12px;padding:17px 0;margin:18px 0}.br-metrics small{display:block;color:#8196ae;font-size:9px;line-height:1.6}.br-metrics strong{display:block;font:13px ui-monospace,monospace;color:#d4e1ee;margin-top:5px;overflow-wrap:anywhere}.br-position{border:1px solid #34455b;border-radius:8px;background:#101b2a;margin:20px 0;overflow:hidden}.br-position-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:13px;border-bottom:1px solid #293a50;font:9px ui-monospace,monospace;color:#b6a4f5}.br-position-title b{font-weight:500;color:#95dfb9}.br-position-title b span{color:#8a9eb8;margin-left:5px;font-size:8px}.br-price-ladder{padding:9px 13px}.br-price-ladder>div{display:flex;align-items:center;gap:9px;padding:8px 0;font-size:10px;color:#8fa6bd}.br-price-ladder b{margin-left:auto;font:13px ui-monospace,monospace;color:#d2e0ed}.br-price-ladder i{width:5px;height:5px;border-radius:50%}.br-target-dot{background:#91e1b6}.br-entry-dot{background:#b4a0ff}.br-stop-dot{background:#ed8b97}.br-position-bottom{border-top:1px solid #2d3b50;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:11px 13px;font:9px ui-monospace,monospace;color:#8299b2;line-height:1.6}.br-empty-position{padding:20px 10px;text-align:center;border:1px dashed #354158;border-radius:7px;margin:17px 0}.br-empty-position>span{display:block;font-size:24px;color:#73689f;margin:2px 0 10px}.br-empty-position b{font-size:11px;font-weight:500;color:#a5b6cb}.br-empty-position p{font-size:10px;line-height:1.7;margin-top:8px;color:#748aa5}.br-probability{border-bottom:1px solid #2d3c52;padding:2px 0 18px}.br-probability .br-section-heading{margin:0 0 12px}.br-probability h4{font-size:11px;font-weight:500}.br-probability .br-section-heading>span{font-size:7px;letter-spacing:.5px}.br-probability>strong{display:block;font-size:17px;letter-spacing:-.4px;font-weight:500;color:#bfaafc}.br-probability>p,.br-probability>small{display:block;color:#7f95ad;line-height:1.7;font-size:10px;margin-top:8px}.br-saved-time{margin:17px 0}.br-saved-time small{font:8px ui-monospace,monospace;letter-spacing:1px;color:#7b91ab}.br-saved-time b{display:block;font:11px ui-monospace,monospace;color:#b3c4d9;margin:8px 0}.br-saved-time p{font-size:9px;color:#7b92ab;line-height:1.8;overflow-wrap:anywhere;margin-top:7px}.br-account-actions{display:flex;flex-wrap:wrap;gap:8px}.br-account-actions>.br-button{flex:1;min-width:105px;font-size:10px!important;padding:9px 7px}.br-control-note,.br-mini-note{font-size:9px;color:#748ba5;line-height:1.8;margin-top:10px!important}.br-position .br-mini-note{padding:0 13px 10px}.br-readiness,.br-risk{margin:22px 0}.br-readiness h4,.br-risk h4{font-weight:500;font-size:13px;margin-bottom:10px}.br-readiness p,.br-risk p{font-size:11px;line-height:1.8;color:#8b9fb7}.br-build-list{border-top:1px solid #334058;margin-top:17px;padding-top:12px}.br-build-list>span{display:flex;align-items:center;gap:9px;font-size:10px;color:#8ba0bb;padding:8px 0}.br-build-list i{font-style:normal;color:#b4a0ff}.br-demo-reminder{padding:12px;border:1px solid #5c4a33;border-radius:5px;font:9px ui-monospace,monospace;color:#dfc08a;background:#2e291f;line-height:1.7}.br-settlement{font:13px ui-monospace,monospace;padding:12px 13px;border-top:1px solid #2d3b50}.br-settlement.gain{color:#91e1b6}.br-settlement.loss{color:#f19aa5}.br-replay-heading{font-size:12px;color:#cebaff;margin:18px 0 10px}.br-replay-heading small{display:block;font:9px ui-monospace,monospace;color:#8ea4bc;margin-top:7px}.br-frozen{margin:16px 0;font-size:10px;color:#a7bad0}.br-frozen summary{cursor:pointer}.br-frozen pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:#0c1725;border:1px solid #33445a;border-radius:5px;padding:12px;color:#96abc4;font:9px/1.8 ui-monospace,monospace}
.br-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.br-section-heading h3{font-size:15px;font-weight:500;letter-spacing:-.3px;margin-top:6px}.br-section-heading>span{font:8px ui-monospace,monospace;color:#6d87a2;letter-spacing:.8px;text-align:right;line-height:1.7}.br-activity{padding:0 2px}.br-events{display:flex;flex-direction:column;max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#34475e transparent}.br-event{width:100%;display:flex;align-items:center;gap:12px;background:#111c2b;border:1px solid #29394d;margin-bottom:6px;border-radius:6px;padding:12px 14px;text-align:left;color:#a8bdd3}.br-event:hover,.br-event.selected{background:#20253c;border-color:#6d5a9a}.br-event-icon{font-size:17px;color:#b5a3e7}.br-event>span:nth-child(2){min-width:0;flex:1}.br-event b{font-size:11px;font-weight:500}.br-event small{display:block;font-size:9px;line-height:1.7;color:#7b93ae;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.br-event time{font:9px ui-monospace,monospace;color:#7d93ad;white-space:nowrap}.br-event em{font-style:normal;color:#8e7eae}.br-empty-activity{display:flex;gap:16px;align-items:center;border:1px dashed #30425b;border-radius:8px;padding:20px;background:#101a28}.br-empty-activity>span{font-size:28px;color:#9c87d0}.br-empty-activity b{font-size:11px;font-weight:500;color:#acbfd6}.br-empty-activity p{font-size:10px;line-height:1.7;color:#738ea9;margin-top:6px;max-width:400px}.br-empty-activity .br-button{margin-left:auto;white-space:nowrap;font-size:10px!important}.br-demo-controls{padding:17px;border:1px solid #51433a;background:#201f25;border-radius:9px;margin:0 0 24px}.br-demo-controls>.br-section-heading{flex-wrap:wrap}.br-demo-controls .br-kicker{color:#b39772}.br-demo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.br-demo-actions>label{font-size:9px;color:#9a8e83;display:flex;align-items:center;gap:5px}.br-demo-actions select{margin:0;padding:6px;font-size:10px;width:auto}.br-demo-actions button{font-size:9px!important;padding:7px 10px;min-height:30px}.br-demo-steps{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.br-demo-steps button{background:#191c25;border:1px solid #3d3b44;border-radius:5px;padding:9px 3px;color:#8d919f;font-size:9px}.br-demo-steps button>span{display:block;font:8px ui-monospace,monospace;margin-bottom:5px;color:#706c79}.br-demo-steps button[aria-current=step]{background:#45374f;color:#e3c4ff;border-color:#9e7cb9}.br-demo-steps button.done{border-color:#59605a;color:#b3c5b7}.br-demo-controls>p{font-size:10px;line-height:1.8;color:#aca0a3;margin-top:13px}.br-footer{border-top:1px solid #2b374b;display:flex;justify-content:space-between;gap:20px;padding:15px 30px;font-size:9px;color:#677e99;background:#121b28}.br-footer>span:last-child{font:8px ui-monospace,monospace;letter-spacing:1.4px;white-space:nowrap}
/* Animation is decorative. Only data states select these motions. */
.br-station{cursor:pointer;outline:none}.br-station .br-station-ring{transition:fill-opacity .2s,stroke-opacity .2s}.br-station:hover .br-station-ring,.br-station:focus-visible .br-station-ring{stroke-opacity:.9;fill-opacity:.13}.br-station[aria-pressed=true] .br-station-ring{stroke-opacity:.85;fill-opacity:.1;stroke-dasharray:none;stroke-width:2}.br-station-caption{pointer-events:none}.br-breathe{animation:br-breathe 3.8s ease-in-out infinite}.br-eyes{transform-origin:0 -20px;animation:br-blink 6s infinite}.br-station[data-state=planned] .br-antenna{opacity:.45}.br-station[data-state=planned] .br-scan{display:none}.br-station[data-state=planned] .br-screen-trace{opacity:.35}.br-scan{animation:br-scan 3.5s linear infinite}.br-station[data-state=checking] .br-arm,.br-station[data-state=watching] .br-arm,.br-station[data-state=open] .br-arm,.br-station[data-state=waiting] .br-arm{animation:br-type .65s ease-in-out infinite}.br-arm-right{animation-delay:.32s!important}.br-station[data-state=waiting] .br-arm{animation-duration:2s}.br-station[data-state=pending] .br-antenna,.br-station[data-state=review] .br-antenna,.br-station[data-state=checking] .br-antenna{animation:br-pulse 1s ease-in-out infinite}.br-station[data-state=open] .br-station-ring{stroke:#91e1b6;animation:br-pulse 2s ease-in-out infinite}.br-station[data-state=paused] .br-eyes{transform:scaleY(.15);animation:none}.br-station[data-state=unavailable] .br-scan,.br-station[data-state=stale] .br-scan{display:none}.br-station[data-state=unavailable] .br-screen-trace,.br-station[data-state=stale] .br-screen-trace{opacity:.3}.br-station[data-state=stale] .br-antenna,.br-station[data-state=unavailable] .br-antenna{fill:#e8b879}.br-station[data-state=settled] .br-arm-right{animation:br-wave 1.5s ease-in-out 2;transform-origin:19px 6px}.br-demo .br-data-path{stroke:#b4a0ff;animation:br-flow 2s linear infinite}.br-demo [data-station=meridian][data-state=review] .br-avatar-travel{animation:br-walk-review 5s ease-in-out infinite}.br-demo [data-station=sentinel][data-state=review] .br-shield{animation:br-pulse 1s infinite}.br-no-motion *{animation:none!important;transition:none!important}
@keyframes br-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes br-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.12)}}@keyframes br-type{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes br-pulse{0%,100%{opacity:.45}50%{opacity:1}}@keyframes br-scan{from{transform:translateY(0)}to{transform:translateY(37px)}}@keyframes br-flow{to{stroke-dashoffset:-60}}@keyframes br-wave{0%,100%{transform:rotate(0)}40%,70%{transform:rotate(-90deg)}55%{transform:rotate(-65deg)}}@keyframes br-walk-review{0%,100%{transform:translate(0,0)}35%,70%{transform:translate(-179px,-140px)}}
.br-scene,.br-portrait svg{stroke:none;fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.br-stage-controls{text-align:right;flex-shrink:0}.br-quick-demo{display:flex;gap:5px;margin-top:12px;justify-content:flex-end}.br-quick-demo .br-button{font-size:9px!important;padding:6px 9px;min-height:28px}.br-demo #brSceneCaption{color:#c7b3ff}
.bot-room #brCampaign{width:100%;max-width:none}
@media(prefers-reduced-motion:reduce){.bot-room *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Trading Room is a workspace page. Floor and controls fit the viewport; details use tabs. */
body.room-active{overflow:hidden}
.room-active .single-workspace{height:100dvh;min-height:0;padding:0 20px;overflow:hidden}
.room-active .single-workspace>:not(.app-header):not(.bot-room){display:none!important}
.room-active .chart-controls>:not(#botRoomBtn):not(#roomChartBtn){display:none!important}
.room-active .app-header{flex-shrink:0;height:58px;min-height:58px}
.room-active .br-launch{background:#29243f;border-color:#b4a0ff!important}
.bot-room:not([hidden]){display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;width:100%;overflow:hidden}
.bot-room .br-header{flex-shrink:0;padding:12px 20px;position:static;gap:12px;border-bottom:0}
.bot-room .br-header h2{font-size:23px;letter-spacing:-.7px;margin:3px 0 0}
.bot-room .br-brand-mark{width:36px;height:36px;font-size:22px;border-radius:10px}
.bot-room .br-toolbar{flex-shrink:0;padding:6px 20px 9px;gap:12px}
.bot-room .br-mode-notice{flex-shrink:0;font-size:9px;min-height:0;padding:0 20px 8px;line-height:1.5}
.bot-room .br-mobile-nav{display:none}
.bot-room .br-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;flex:1;min-height:0;overflow:hidden}
.bot-room .br-floor-column{display:flex;flex-direction:column;gap:10px;min-height:0;min-width:0;padding:16px;overflow:hidden}
.bot-room .br-stage{display:flex;flex:1;flex-direction:column;min-height:0}
.bot-room .br-stage-heading{flex-shrink:0;padding:16px 18px 0;gap:10px;align-items:flex-start}
.bot-room .br-stage-heading h3{font-size:15px;margin:5px 0}
.bot-room .br-stage-heading p{font-size:10px}
.bot-room .br-room-status{font-size:7px;letter-spacing:0;line-height:1.6}
.bot-room .br-scene-wrap{flex:1;min-height:0;display:flex;justify-content:center;margin:0;overflow:hidden}
.bot-room .br-scene{width:100%;height:100%;max-height:none;min-height:0;overflow:visible}
.bot-room .br-stage-footer{flex-shrink:0;font-size:7px;padding:0 16px 10px}
.bot-room .br-crew{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:8px}
.bot-room .br-crew-card{padding:10px 8px;gap:8px}
.bot-room .br-crew-card b{font-size:11px;letter-spacing:.8px;margin:4px 0}
.bot-room .br-crew-card small{font-size:7px;letter-spacing:1px}
.bot-room .br-crew-card em{font-size:8px}
.bot-room .br-crew-icon{font-size:20px}
.bot-room .br-floor-ticker{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:27px;border-top:1px solid #29394d;padding-top:4px}
.bot-room .br-floor-ticker>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:9px;line-height:1.6;color:#92a5bb;flex:1;min-width:0}
.bot-room .br-floor-ticker>button{font-size:9px!important;white-space:nowrap;padding:4px 0}
.bot-room .br-inspector{display:flex;flex-direction:column;min-height:0;padding:16px 18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#52647e #101a29}
.bot-room #brBotHead{flex-shrink:0}
.bot-room .br-bot-intro{min-height:64px;padding-right:66px}
.bot-room .br-bot-intro h3{font-size:20px;margin:6px 0}
.bot-room .br-portrait{height:60px;width:52px;border-radius:9px}
.bot-room .br-campaign-label{flex-shrink:0;font-size:9px;margin:10px 0}
.bot-room #brCampaign{margin-top:5px;padding:7px;font-size:10px;max-width:100%}
.bot-room .br-detail-tabs{display:flex;gap:3px;flex-shrink:0;margin:4px 0 12px;padding-bottom:9px;border-bottom:1px solid #2b3a50}
.bot-room .br-detail-tabs>button{flex:1;min-width:0;border:0;border-radius:4px;padding:7px 3px;font-size:10px;color:#8d9eb6;background:transparent}
.bot-room .br-detail-tabs>button[aria-pressed=true]{color:#dccfff;background:#302c49}
.bot-room .br-detail-content{flex:1 0 auto;min-width:0;overflow:visible;display:flex;flex-direction:column;gap:12px}
.bot-room .br-detail-content h4{font-size:12px;font-weight:500}
.bot-room .br-speech{margin:0;padding:10px 12px;flex-shrink:0}
.bot-room .br-speech p{font-size:11px;line-height:1.6;margin-top:6px}
.bot-room .br-metrics{margin:0;padding:12px 0;gap:12px 10px;flex-shrink:0}
.bot-room .br-metrics strong{font-size:12px;margin-top:3px}
.bot-room .br-metrics small{font-size:9px}
.bot-room .br-saved-time{margin:0}
.bot-room .br-saved-time p{line-height:1.6}
.bot-room .br-account-actions{flex-shrink:0;gap:7px;padding-top:12px;border-top:1px solid #2b3a50;margin-top:12px}
.bot-room .br-account-actions>.br-button{padding:8px 9px;min-height:34px}
.bot-room .br-account-actions .br-control-note,.bot-room .br-action-status{width:100%;font-size:9px;line-height:1.5;margin:0!important}
.bot-room .br-action-status{color:#f0bb78;overflow-wrap:anywhere}
.bot-room .br-position,.bot-room .br-empty-position{margin:0;flex-shrink:0}
.bot-room .br-replay-heading{margin:0;font-size:10px;line-height:1.5}
.bot-room .br-readiness,.bot-room .br-risk{margin:0}
.bot-room .br-probability{padding:0 0 10px;flex-shrink:0}
.bot-room .br-probability>strong{font-size:16px;margin-top:8px}
.bot-room .br-probability>p{font-size:10px;margin-top:6px;line-height:1.5}
.bot-room .br-evidence-page{flex:1;min-height:0;margin:0;background:#0d1725;border:1px solid #2b3a50;padding:10px;border-radius:5px;font:10px/1.5 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;color:#9bb0c7}
.bot-room .br-events{max-height:none;overflow:hidden;gap:8px;flex:1;min-height:0}
.bot-room .br-event{margin:0;padding:10px;gap:8px;flex-shrink:0}
.bot-room .br-event>span:first-child{flex:1;min-width:0}
.bot-room .br-event time{font-size:8px;display:block;margin-top:7px}
.bot-room .br-event small{font-size:9px;margin-top:4px}
.bot-room .br-pagination{display:flex;align-items:center;gap:8px;flex-shrink:0}
.bot-room .br-pagination>span{font:10px ui-monospace,monospace;color:#8ca3be;margin-right:auto}
.bot-room .br-pagination button{min-height:30px;padding:5px 10px;font-size:10px!important}
.bot-room .br-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 10px;margin:14px 0 10px}
.bot-room .br-setup-grid label{font-size:10px;color:#96abc3}
.bot-room .br-setup-grid input{width:100%;min-width:0;display:block;border:1px solid #3b4960;border-radius:5px;background:#101a29;color:#d6e1ef;font:12px ui-monospace,monospace;padding:8px;margin-top:5px}
.bot-room .br-setup-summary{font-size:10px;line-height:1.7;color:#8fa3bd}
.bot-room .br-demo-controls{flex-shrink:0;margin:0;padding:10px;display:flex;flex-direction:column;gap:8px}
.bot-room .br-demo-actions{gap:8px}
.bot-room .br-demo-steps{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
.bot-room .br-demo-steps button{padding:5px 2px;font-size:9px}
.bot-room .br-demo-steps button>span{display:none}
.bot-room .br-footer{flex-shrink:0;padding:8px 18px;font-size:8px}
@media(min-width:1600px){.bot-room .br-layout{grid-template-columns:minmax(0,1fr) 430px}.bot-room .br-inspector{padding:22px}.bot-room .br-floor-column{padding:22px}.bot-room .br-stage-heading h3{font-size:18px}}
@media(max-width:1100px){.bot-room .br-layout{grid-template-columns:minmax(0,1fr) 350px}.bot-room .br-floor-column{padding:12px;gap:8px}.bot-room .br-inspector{padding:12px}.bot-room .br-crew-card{padding:9px 5px;gap:5px}.bot-room .br-crew-icon,.bot-room .br-crew-arrow{display:none}.bot-room .br-room-status{display:none}.bot-room .br-stage-heading h3{font-size:13px}}
@media(max-width:900px){
 .room-active .single-workspace{padding:0 10px}.room-active .app-header{height:52px;min-height:52px;flex-wrap:nowrap}
 .bot-room .br-header{padding:10px 12px;gap:9px}.bot-room .br-header h2{font-size:20px}.bot-room .br-header .br-kicker{font-size:7px}.bot-room .br-paper-tag{display:none}.bot-room .br-header-right{gap:8px}
 .bot-room .br-mobile-nav{display:flex;gap:3px;background:#0b1320;border:1px solid #303c50;padding:3px;border-radius:6px}.bot-room .br-mobile-nav button{border:0;background:none;padding:7px;color:#92a5bc;border-radius:4px;font-size:10px;white-space:nowrap}.bot-room .br-mobile-nav [aria-pressed=true]{background:#302c49;color:#e0d3ff}
 .bot-room .br-toolbar{padding:3px 12px 8px;gap:8px}.bot-room .br-mode-switch button{font-size:10px;padding:7px 9px}.bot-room .br-mode-switch button span{display:none}.bot-room .br-toolbar-options{gap:8px}.bot-room .br-motion{font-size:9px}.bot-room .br-toolbar-options>.br-button{font-size:9px!important;padding:5px 7px;min-height:30px}.bot-room .br-mode-notice{padding:0 12px 7px;font-size:8px;line-height:1.4}
 .bot-room .br-layout{display:flex;min-height:0}.bot-room .br-floor-column,.bot-room .br-inspector{width:100%;flex:1;min-height:0}.bot-room[data-mobile-view=floor] .br-inspector,.bot-room[data-mobile-view=desk] .br-floor-column{display:none}.bot-room .br-inspector{border-left:0;padding:12px 16px}
 .bot-room .br-stage-heading h3{font-size:15px}.bot-room .br-crew{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.bot-room .br-crew-card{padding:10px 6px}.bot-room .br-crew-card b{font-size:10px;letter-spacing:.5px}.bot-room .br-crew-card small{font-size:6px;letter-spacing:.5px}.bot-room .br-crew-card em{font-size:7px}.bot-room .br-stage-footer{font-size:6px;padding:0 10px 10px;letter-spacing:.5px}
 .bot-room .br-bot-intro{min-height:60px}.bot-room .br-campaign-label{margin:7px 0}.bot-room .br-detail-tabs{margin:3px 0 10px;padding-bottom:8px}.bot-room .br-detail-tabs>button{padding:7px 3px}.bot-room .br-detail-content{gap:10px}.bot-room .br-account-actions{margin-top:10px;padding-top:10px}
 .bot-room .br-footer{padding:6px 12px}.bot-room .br-footer>span:last-child{display:none}.bot-room .br-demo-actions{gap:6px}.bot-room .br-demo-actions>label{font-size:8px}.bot-room .br-demo-actions button{font-size:9px!important;padding:6px}.bot-room .br-demo-steps button{font-size:7px}
}
@media(max-width:480px){.bot-room .br-header h2{font-size:17px}.bot-room .br-brand-mark{display:none}.bot-room .br-toolbar{gap:5px;padding-inline:8px}.bot-room .br-toolbar-options{gap:5px}.bot-room .br-mode-switch button{font-size:9px;padding:6px 7px}.bot-room .br-motion{font-size:8px;gap:3px}.bot-room .br-toolbar-options>.br-button{font-size:8px!important;padding:4px}.bot-room .br-mode-notice{font-size:7px}.room-active .workspace-brand small{display:none}.bot-room .br-stage-heading{padding:12px}.bot-room .br-stage-heading h3{font-size:12px}.bot-room .br-stage-heading .br-kicker{font-size:7px}.bot-room .br-stage-heading p{font-size:9px}.bot-room .br-floor-column{padding:10px}.bot-room .br-floor-ticker>span{font-size:8px}.bot-room .br-floor-ticker>button{font-size:8px!important}.bot-room .br-demo-actions{justify-content:space-between;gap:3px}.bot-room .br-demo-actions select{font-size:9px;padding:5px}.bot-room .br-event{padding:9px}.bot-room .br-event b{font-size:10px}}
@media(max-height:720px){.bot-room .br-header{padding-block:7px}.bot-room .br-header h2{font-size:19px}.bot-room .br-brand-mark{height:30px;width:30px}.bot-room .br-toolbar{padding-block:4px}.bot-room .br-mode-switch button{padding-block:6px}.bot-room .br-footer{display:none}.bot-room .br-inspector{padding-block:10px}.bot-room .br-bot-intro{min-height:48px}.bot-room .br-bot-intro h3{font-size:16px;margin:3px 0}.bot-room .br-bot-intro>.br-kicker{font-size:7px}.bot-room .br-portrait{width:40px;height:46px}.bot-room .br-bot-state{font-size:9px}.bot-room .br-campaign-label{margin:5px 0}.bot-room #brCampaign{padding:5px;margin-top:3px}.bot-room .br-detail-tabs{margin:2px 0 8px;padding-bottom:6px}.bot-room .br-detail-content{gap:8px}.bot-room .br-speech{padding:8px 10px}.bot-room .br-speech p{font-size:10px;line-height:1.5}.bot-room .br-metrics{padding:8px 0;gap:8px}.bot-room .br-saved-time p{font-size:8px}.bot-room .br-account-actions{padding-top:8px;margin-top:8px}.bot-room .br-setup-grid{margin:8px 0;gap:7px}.bot-room .br-setup-grid input{padding:6px;margin-top:3px}.bot-room .br-setup-summary{font-size:9px;line-height:1.6}.bot-room .br-mini-note{font-size:8px;margin-top:6px!important}.bot-room .br-event{padding:7px}.bot-room .br-event time{margin-top:4px}.bot-room .br-events{gap:6px}}

.bot-room .br-portrait svg{display:block}
.bot-room .br-research-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font:9px ui-monospace,monospace;color:#a7bad0}
.bot-room .br-research-label b{font-size:8px;font-weight:500;color:#b4a0ff;border:1px solid #454060;border-radius:3px;padding:4px 6px}
@media(max-height:720px){.bot-room #brInspector[data-detail=research]{gap:4px}.bot-room #brInspector[data-detail=research] .br-mini-note{margin-top:0!important;line-height:1.5}}
@media(max-width:480px) and (max-height:720px){.bot-room #brInspector[data-detail=research] .br-research-label{display:none}}

@media(max-height:720px){.bot-room .br-saved-time p{display:none}.bot-room .br-saved-time b{margin:4px 0}.bot-room .br-detail-content{gap:6px}.bot-room .br-probability>p{font-size:9px}.bot-room .br-probability>strong{font-size:14px;margin-top:5px}.bot-room .br-position-title{padding:9px}.bot-room .br-price-ladder{padding:5px 10px}.bot-room .br-price-ladder>div{padding:6px 0}.bot-room .br-position-bottom{padding:8px 10px}.bot-room .br-position .br-mini-note{padding:0 10px 8px}.bot-room .br-settlement{padding:8px 10px}}

/* Connected mode is event-driven. Waiting/open/report-ready states are still. */
.bot-room .br-crew{grid-template-columns:repeat(5,minmax(0,1fr))}
.bot-room .br-crew-arrow{display:none}
.bot-room .br-crew-card{gap:6px}
.bot-room .br-crew-card b{font-size:10px;letter-spacing:.6px}
.bot-room .br-crew-card small{letter-spacing:.7px}
.bot-room:not(.br-demo) .br-scene *, .bot-room:not(.br-demo) .br-portrait *{animation:none}
.br-backend-links .br-data-path{opacity:.12}
.br-report-sheet{opacity:0;pointer-events:none}
.bot-room:not(.br-demo) .br-station[data-activity]:not([data-activity=""]) .br-arm{animation:br-backend-type .48s ease-in-out infinite}
.bot-room:not(.br-demo) .br-station[data-activity]:not([data-activity=""]) .br-breathe{animation:br-backend-focus 1.6s ease-in-out infinite;transform-origin:0 30px}
.bot-room:not(.br-demo) .br-station[data-activity]:not([data-activity=""]) .br-scan{animation:br-scan 1.2s linear infinite}
.bot-room:not(.br-demo) .br-station[data-activity]:not([data-activity=""]) .br-station-ring{stroke-opacity:1;fill-opacity:.17;stroke-dasharray:6 9;animation:br-flow 2s linear infinite}
.bot-room:not(.br-demo) .br-station[data-activity]:not([data-activity=""]) .br-antenna{animation:br-pulse .65s ease-in-out infinite}
.bot-room:not(.br-demo) .br-data-path[data-active=true]{opacity:.85;animation:br-flow 1.2s linear infinite}
.bot-room:not(.br-demo) [data-station=sentinel][data-activity=decision] .br-shield{animation:br-shield-check 1.5s ease-in-out infinite;transform-origin:49px -42px;transform-box:view-box}
.bot-room:not(.br-demo) [data-station=sage][data-activity=research] .br-report-sheet,.br-demo [data-station=sage][data-state=researching] .br-report-sheet{opacity:1;animation:br-report-file 2.6s ease-in-out infinite}
.bot-room .br-crew-card[data-activity]:not([data-activity=""]){border-color:var(--bot-color);box-shadow:inset 0 -2px var(--bot-color)}
.bot-room .br-crew-card[data-activity]:not([data-activity=""]) em{color:var(--bot-color)}
.bot-room .br-detail-tabs [hidden]{display:none}
.bot-room .br-research-label{color:#f0a5cb;font-size:8px}
.bot-room .br-research-label b{color:#f0a5cb;border-color:#64435d;white-space:nowrap}
@keyframes br-backend-type{0%,100%{transform:translate(0,0)}50%{transform:translate(-2px,-10px)}}
@keyframes br-backend-focus{0%,100%{transform:rotate(0)}50%{transform:rotate(-6deg) translateY(-3px)}}
@keyframes br-report-file{0%{transform:translate(10px,20px) rotate(-8deg);opacity:0}20%,65%{transform:translate(40px,-45px) rotate(7deg);opacity:1}100%{transform:translate(75px,5px) rotate(0);opacity:0}}
@keyframes br-shield-check{50%{opacity:.5}}
@media(max-width:1250px){.bot-room .br-crew-icon{display:none}.bot-room .br-crew-card b{font-size:9px}.bot-room .br-crew-card{padding-inline:6px}}
@media(max-width:480px){.bot-room .br-crew{gap:4px}.bot-room .br-crew-card{padding:9px 4px}.bot-room .br-crew-card b{font-size:8px;letter-spacing:0}.bot-room .br-crew-card small{font-size:6px;letter-spacing:0}.bot-room .br-crew-card em{font-size:6px}.bot-room .br-mode-notice{font-size:8px}.bot-room .br-stage-heading p{font-size:9px;line-height:1.5}.bot-room .br-stage-footer{letter-spacing:0}}

.bot-room .br-research-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

/* Echo joins the same viewport-bound room. */
.bot-room .br-crew{grid-template-columns:repeat(6,minmax(0,1fr))}
.bot-room .br-source-link{font-size:11px;color:#8fc5ff;overflow-wrap:anywhere;text-decoration:none}
.bot-room .br-source-link:hover{text-decoration:underline}
.bot-room .br-station[data-activity=sentiment] .br-antenna{filter:drop-shadow(0 0 6px #78b7ff)}
.bot-room .br-account-actions:has([data-action=refresh-sentiment]){display:grid;grid-template-columns:1fr 1fr}
.bot-room .br-account-actions [data-action=export-sentiment]{grid-column:1/-1}
@media(max-width:760px){.bot-room .br-crew{grid-template-columns:repeat(3,minmax(0,1fr))}.bot-room .br-crew-card{padding-block:7px}.bot-room .br-crew-card em{font-size:8px}.bot-room .br-crew-card b{font-size:10px}}

.bot-room .br-account-actions [data-action=configure-x]{grid-column:1/-1}
.br-x-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:28px;border:1px solid #384a65;border-radius:16px;background:#101b2c;color:#e5eefb;box-shadow:0 24px 100px #0009;font:13px/1.6 system-ui,sans-serif}
.br-x-dialog::backdrop{background:#020814c9;backdrop-filter:blur(5px)}
.br-x-dialog h2{font-size:24px;line-height:1.2;margin:10px 0 14px}
.br-x-dialog p{color:#a8bbd4;margin:12px 0}
.br-x-dialog .br-kicker{font-size:10px;color:#7ebaff;letter-spacing:1.6px}
.br-x-field{display:grid;gap:6px;margin:15px 0;font-size:12px}
.br-x-field input,.br-x-field select{width:100%;max-width:none;box-sizing:border-box;border:1px solid #394d68;border-radius:7px;background:#0a1322;color:#e5eefb;padding:11px;font:inherit}
.br-x-check{display:flex;align-items:flex-start;gap:9px;margin:14px 0;cursor:pointer}
.br-x-check input{margin-top:4px;accent-color:#7ebaff}
.br-x-dialog a{color:#83bdff}.br-x-dialog .br-x-billing{font-size:11px}.br-x-dialog #brXError{color:#ffacac}
.br-x-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.br-x-dialog .br-button{padding:10px 15px;border:1px solid #3b506e;border-radius:7px;background:#17263c;color:#e5eefb;font:inherit;cursor:pointer}
.br-x-dialog .br-primary{background:#8ac1ff;color:#081323;border-color:#8ac1ff}.br-x-dialog button:disabled{opacity:.5}
@media(max-width:480px){.br-x-dialog{padding:20px}.br-x-dialog h2{font-size:21px}.br-x-dialog p{margin:10px 0}.br-x-field{margin:12px 0}}
/* K1: native dialogs preserve entered credentials and selected channels during polling. */
.br-k1-dialog {max-height:88dvh;overflow:auto;}
.br-k1-dialog .br-x-field textarea {width:100%;max-width:100%;box-sizing:border-box;background:#0b1523;color:#dbe7f2;border:1px solid #3c5067;border-radius:8px;padding:10px;font:inherit;}
.br-k1-channels {max-height:30dvh;overflow:auto;margin:12px 0;border:1px solid #33485e;border-radius:10px;}
.br-k1-channels label {display:flex;gap:10px;align-items:start;padding:10px 12px;border-bottom:1px solid #283b4d;cursor:pointer;}
.br-k1-channels input {flex:0 0 auto;margin-top:4px;}
.br-k1-channels span {min-width:0;overflow-wrap:anywhere;}
.br-k1-channels small {display:block;color:#8ea6bd;font-size:11px;}
.br-k1-progress {max-height:24dvh;overflow:auto;font-size:12px;color:#b3c6d8;}
.br-k1-progress p {border-bottom:1px solid #2c3c50;padding:8px 0;margin:0;}
.br-k1-message {white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.6;padding:14px;background:#0b1725;border-radius:10px;}
.br-k1-images img {max-width:100%;height:auto;border-radius:8px;}
.br-k1-images figure {margin:12px 0;}
.br-k1-images figcaption {font-size:11px;color:#9bb1c7;overflow-wrap:anywhere;}
.br-k1-dialog .br-x-actions {flex-wrap:wrap;}
.br-k1-level-list {display:grid;gap:8px;max-height:48dvh;overflow:auto;margin:14px 0;}
.br-k1-level {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:12px;background:#102033;color:#e0eaf5;border:1px solid #30465c;border-radius:10px;cursor:pointer;}
.br-k1-level:hover,.br-k1-level:focus-visible {border-color:#e9c77e;outline-offset:2px;}
.br-k1-level small {display:block;margin-top:5px;color:#a9bacb;line-height:1.5;font-size:11px;}
.br-k1-level em {font-size:11px;font-style:normal;color:#e9c77e;}
.br-k1-checks {display:grid;gap:8px;padding:10px 14px;background:#102033;border-radius:10px;}
.br-k1-levels-dialog[open] {display:flex;flex-direction:column;box-sizing:border-box;height:min(750px,calc(100dvh - 32px));max-height:calc(100dvh - 24px);overflow:hidden;}
.br-k1-levels-dialog>.br-k1-level-list {flex:1;min-height:70px;max-height:none;}
.br-k1-levels-dialog>:not(.br-k1-level-list) {flex-shrink:0;}
@media(max-width:400px){.bot-room .br-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.bot-room .br-detail-tabs>button{min-height:30px;font-size:11px;padding:6px}}
@media(max-width:480px){.br-k1-dialog{max-height:92dvh;padding:18px;}.br-k1-dialog h2{font-size:22px;}.br-k1-dialog p{font-size:12px;}}
/* All seven crew members share the floor; keep the selector compact on phones. */
@media(min-width:761px){.bot-room .br-crew{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:760px){.bot-room .br-crew{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* One scroll surface for the entire desk, including messages and account controls. */
.bot-room .br-inspector:focus-visible{outline:2px solid #b4a0ff;outline-offset:-3px}
.bot-room .br-inspector .br-events,.bot-room .br-inspector .br-evidence-page,.bot-room .br-k1-progress{flex:0 0 auto;max-height:none;overflow:visible}
.bot-room .br-k1-feed-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-shrink:0}
.bot-room .br-k1-feed-heading h4{font-size:14px;margin:0}
.bot-room .br-k1-feed-heading h4 span{font:11px ui-monospace,monospace;color:#e9c77e;margin-left:5px}
.bot-room .br-k1-feed-heading p{font-size:10px;color:#9db1c9;margin:6px 0 0}
.bot-room .br-k1-feed-heading button{font-size:10px;min-height:34px;padding:7px 9px}
.bot-room .br-k1-feed{display:grid;gap:12px}
.bot-room .br-k1-card{padding:14px;border:1px solid #34445a;border-radius:10px;background:linear-gradient(140deg,#182434,#111c2b);min-width:0}
.bot-room .br-k1-card header{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#e9c77e}
.bot-room .br-k1-card time{font-size:10px;color:#91a8c1}
.bot-room .br-k1-card .br-k1-card-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#dce6f3;margin:12px 0}
.bot-room .br-k1-card footer{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:12px;border-top:1px solid #2d3d51;padding-top:10px}
.bot-room .br-k1-card footer>span{font-size:9px;line-height:1.5;color:#9ab0c8;overflow-wrap:anywhere}
.bot-room .br-k1-card footer button{flex-shrink:0;font-size:10px;padding:7px 9px;min-height:32px}
.bot-room .br-k1-text-button{border:0;background:transparent;color:#c7b5ff;font:11px inherit;padding:4px 0;cursor:pointer}
.bot-room .br-k1-level-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.bot-room .br-k1-level-chips button{background:#222c39;color:#f1d697;border:1px solid #66583d;border-radius:5px;padding:6px 8px;cursor:pointer;font-size:11px;line-height:1.5;text-align:left}
.bot-room .br-k1-level-chips span{font-size:9px;margin-left:4px;color:#aabbd0}
.bot-room .br-k1-level-chips [data-status=reached]{border-color:#365c59;color:#92d1c2}
.bot-room .br-k1-feed-end{display:grid;gap:10px;text-align:center;padding:8px 0}
.bot-room .br-k1-feed-end small,.bot-room .br-k1-feed-end p{font-size:10px;color:#9bb1c9;margin:0}
/* Portfolio is a full-width scrollable view on every screen size. */
.bot-room .br-mobile-nav{display:flex;gap:3px;background:#101724;border:1px solid #334056;padding:3px;border-radius:7px}
.bot-room .br-mobile-nav button{background:transparent;border:0;color:#9db1c9;padding:7px 10px;font-size:11px;border-radius:4px}
.bot-room .br-mobile-nav button[aria-pressed=true]{background:#32304b;color:#e2d9ff}
.bot-room[data-mobile-view=portfolio]:not(.br-demo) .br-layout{display:none}
.br-portfolio{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px clamp(14px,4vw,64px);scrollbar-gutter:stable;background:#0e1724;border-top:1px solid #2b394d}
.pf-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.bot-room .pf-heading h3{font-size:24px;letter-spacing:-.6px;margin:6px 0}
.pf-heading p,.pf-scope{font-size:12px;color:#9cacc2;line-height:1.6}
.pf-connection{display:flex;justify-content:space-between;gap:16px;background:#182536;border:1px solid #3d536b;border-radius:8px;padding:14px 18px;margin-bottom:16px}
.pf-connection>div{display:grid;gap:5px}.pf-connection strong{font-size:13px;color:#e9c77e}.pf-connection b{font-size:12px;font-weight:500}
.pf-connection span{font-size:11px;color:#a0b4ce;overflow-wrap:anywhere}.pf-connection[data-state=connected] strong{color:#91e1b6}
.pf-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px}
.pf-totals>div{border:1px solid #32435c;border-radius:8px;background:#172235;padding:16px}.pf-totals small{display:block;color:#a2b6cf;font-size:11px}.pf-totals strong{display:block;color:#e0eafa;font-size:30px;font-weight:550;margin-top:7px}
.bot-room .pf-scope{margin:10px 0 20px;font-size:11px}.pf-checks{border:1px solid #304058;border-radius:8px;padding:14px;margin:18px 0}.pf-checks>summary{cursor:pointer;font-size:13px;color:#d5e3f5}
.pf-campaigns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.pf-campaign{background:#152032;border-radius:6px;padding:12px;min-width:0}.pf-campaign>div{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.pf-campaign b{font-size:12px}.bot-room .pf-campaign p{font-size:12px;line-height:1.6;color:#b8c9dd;margin:9px 0;overflow-wrap:anywhere}.pf-campaign small{color:#8fa7c2;font-size:10px;line-height:1.7}
.pf-badge{display:inline-block;flex-shrink:0;border:1px solid #57677e;background:#223249;color:#b5c9df;border-radius:4px;font-size:10px;padding:5px 7px;white-space:nowrap}.pf-badge[data-state=open],.pf-badge[data-state=closed]{color:#a5e9c5;border-color:#417965;background:#1b392e}.pf-badge[data-state=waiting],.pf-badge[data-state=pending]{color:#ead59d;border-color:#6c623e;background:#34311e}.pf-badge[data-state=rejected],.pf-badge[data-state=unavailable],.pf-badge[data-state=stale],.pf-badge[data-state=unknown]{color:#f0b6a0;border-color:#7a5146;background:#39272a}
.pf-filters{display:flex;gap:14px;margin:18px 0}.pf-filters label{font-size:11px;color:#b5c7df;min-width:0;flex:1}.bot-room .pf-filters select{font-size:12px;min-height:40px}
.pf-trades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pf-trade{min-width:0;border:1px solid #36485e;border-radius:8px;background:#172235;padding:16px}.pf-trade-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pf-trade-head b{font-size:13px}.pf-trade-head small{display:block;font-size:10px;color:#96acc5;margin-top:6px}.pf-trade-line{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;font-size:11px;margin:16px 0 12px;color:#b6c9df}.pf-trade-line b{color:#d4c2ff;font-weight:500}.pf-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0;border-block:1px solid #30425b;font-size:10px;color:#9fb2c9}.pf-prices b{display:block;font:13px ui-monospace,monospace;color:#e3e9f2;margin-top:6px}.bot-room .pf-trade p{font-size:12px;color:#b9c8da;margin:12px 0;line-height:1.6;overflow-wrap:anywhere}.pf-trade-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.pf-trade-foot small{font-size:9px;color:#8b9fb7;overflow-wrap:anywhere;min-width:0}.pf-trade-foot button{white-space:nowrap;flex-shrink:0}
.pf-empty{grid-column:1/-1;padding:25px;border:1px dashed #3d536d;border-radius:8px}.pf-empty b{font-size:14px}.bot-room .pf-empty p{font-size:12px;color:#a5b8d0;margin-top:8px;line-height:1.6}
.pf-pagination{display:flex;gap:12px;justify-content:center;align-items:center;margin:18px 0;font-size:11px;color:#a9bad0}.pf-older{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:760px){.bot-room .br-header{flex-wrap:wrap}.bot-room .br-header-right{gap:8px}.bot-room .br-paper-tag{display:none}.pf-heading{align-items:flex-start}.bot-room .pf-heading h3{font-size:20px}.pf-heading>.br-button{max-width:110px}.pf-connection{flex-direction:column;gap:12px;padding:12px}.pf-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pf-totals>div{padding:12px}.pf-campaigns,.pf-trades{grid-template-columns:1fr}.pf-filters{flex-direction:column;gap:10px}.pf-campaign>div{flex-wrap:wrap}.pf-trade-head{flex-wrap:wrap}.pf-prices b{font-size:12px}.bot-room .br-mobile-nav button{padding:6px 8px;font-size:10px}.pf-heading>.br-button{font-size:10px!important}.pf-trade-foot{flex-wrap:wrap}}

/* One read-only timeline across saved backend sources. */
.bot-room[data-mobile-view=feed]:not(.br-demo) .br-layout{display:none}
.br-activity-feed{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px clamp(14px,4vw,64px);background:#0e1724;border-top:1px solid #2b394d}
.af-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.af-heading h3{font-size:26px;color:#e4eaf4;margin:7px 0}.af-heading p{font-size:12px;color:#9caec3;margin:8px 0 18px}.af-filters{display:flex;flex-wrap:wrap;gap:7px}.af-filters [aria-pressed=true]{background:#39324f;border-color:#a98bea;color:#ede1ff}.af-status{font-size:11px;color:#adc0d4;line-height:1.6;padding:13px 0;overflow-wrap:anywhere}.af-latest{margin-bottom:16px}
.af-events{list-style:none;padding:0;margin:0;max-width:1100px}.af-event{display:grid;grid-template-columns:17px minmax(0,1fr);gap:12px}.af-marker{position:relative;border-left:1px solid #33455d;margin-left:5px}.af-marker:before{content:'';position:absolute;left:-4px;top:19px;width:7px;height:7px;border-radius:50%;background:#bca6ed;box-shadow:0 0 0 4px #0e1724}.af-event[data-category=trades] .af-marker:before{background:#74d7b0}.af-event[data-category=k1] .af-marker:before{background:#e6bd73}.af-event[data-category=sentiment] .af-marker:before{background:#77bfed}
.af-event article{min-width:0;margin-bottom:12px;padding:16px 18px;background:#141f2e;border:1px solid #2c3b50;border-radius:9px;overflow-wrap:anywhere}.af-event-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.af-category{font:10px ui-monospace,monospace;color:#aebbd1}.af-state{font-size:10px;border:1px solid #48516b;color:#dacdec;background:#29283e;border-radius:4px;padding:3px 7px}.af-event h4{margin:9px 0;color:#e0e8f3;font-size:14px}.af-event p{font-size:12px;line-height:1.65;color:#aec0d3;white-space:pre-wrap}.af-trade{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:11px;color:#cad6e5;margin:12px 0}.af-event-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.af-event-bottom time,.af-event-bottom small{display:block;font-size:10px;color:#8c9fb9;line-height:1.7}.af-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.af-links a{font-size:11px;color:#c5b3ff;text-decoration:none}.af-caution{color:#e0bf80!important;font-size:11px!important}.af-older{margin:12px 0}.af-footnote,.af-empty p{color:#8fa3bc;font-size:11px;line-height:1.7}.af-empty{padding:28px 0;color:#c6d3e5}.af-footnote{max-width:850px}
@media(max-width:600px){.af-heading{flex-wrap:wrap;gap:0}.af-heading h3{font-size:22px}.af-heading>.br-button{margin-bottom:14px}.af-event article{padding:12px}.af-event{gap:6px;grid-template-columns:10px minmax(0,1fr)}.af-filters{gap:5px}.af-filters button{padding:7px 9px}.bot-room .br-mobile-nav{flex-wrap:wrap}.af-event-bottom{gap:6px}}

/* Bot-first floor. Keep the crew visible and give its evidence room to breathe. */
.bot-room{font-size:13px;line-height:1.5;--floor-border:#314156;--floor-muted:#9cafc5;--floor-panel:#152131;--floor-accent:#c6b4ff}
.bot-room .br-header{padding:14px 20px;gap:14px}
.bot-room .br-header h2{font-size:25px;letter-spacing:-.7px}
.bot-room .br-kicker{font-size:10px;letter-spacing:1.2px;line-height:1.5}
.bot-room .br-header-right{gap:14px;min-width:0}
.bot-room .br-paper-tag{font-size:10px;white-space:nowrap}
.bot-room .br-mobile-nav{gap:4px;flex-wrap:nowrap;padding:4px}
.bot-room .br-mobile-nav button{font-size:12px;padding:9px 13px;min-height:38px;white-space:nowrap}
.bot-room .br-mobile-nav button:hover{background:#242d42;color:#e4dcfa}
.bot-room .br-mobile-nav button[aria-pressed=true]{background:#37324f;color:#f0e9ff}
.bot-room .br-toolbar{padding:0 20px 10px;gap:14px;flex-wrap:wrap}
.bot-room .br-toolbar-options{gap:14px;margin-left:auto}
.bot-room .br-mode-switch button{font-size:12px;padding:7px 12px;min-height:34px}
.bot-room .br-motion{font-size:12px;gap:7px}
.bot-room .br-motion input{width:15px;height:15px}
.bot-room .br-button,.bot-room .br-text-button{font-size:12px!important;min-height:36px}
.bot-room .br-button{padding:8px 12px}
.bot-room .br-mode-notice{font-size:12px;line-height:1.5;padding:0 20px 12px;color:var(--floor-muted);overflow-wrap:anywhere}
.bot-room .br-layout{grid-template-columns:minmax(0,1fr) minmax(380px,31%)}
.bot-room .br-floor-column{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#43536a transparent;padding:18px;gap:14px}
.bot-room .br-stage{flex:1 0 310px;min-height:310px;background:radial-gradient(ellipse at 52% 55%,#27304477,transparent 70%),#101b29}
.bot-room .br-stage-heading{padding:16px 18px 0;gap:15px;flex-wrap:wrap}
.bot-room .br-stage-heading h3{font-size:16px;letter-spacing:-.3px;margin:5px 0}
.bot-room .br-stage-heading p{font-size:12px;line-height:1.55;max-width:540px}
.bot-room .br-room-status{display:block;font-size:11px;letter-spacing:.2px;white-space:normal;line-height:1.5}
.bot-room .br-scene-wrap{min-height:210px;flex:1}
.bot-room .br-scene{height:100%;min-height:210px;max-height:480px}
.bot-room .br-stage-footer{font-size:10px;line-height:1.5;letter-spacing:.3px;padding:8px 16px 12px;flex-wrap:wrap}
.bot-room .br-crew{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:stretch}
.bot-room .br-crew-card{align-items:flex-start;gap:9px;padding:12px 10px;min-height:100px;border-color:#334259;background:#142030}
.bot-room .br-crew-card>span:nth-child(2){flex:1;min-width:0}
.bot-room .br-crew-icon{display:block;font-size:22px;line-height:1.3;margin-top:12px;flex-shrink:0}
.bot-room .br-crew-card b{font-size:12px;letter-spacing:.75px;margin:4px 0 6px}
.bot-room .br-crew-card small{font-size:10px;letter-spacing:.5px;line-height:1.5}
.bot-room .br-crew-card em{font:11px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;white-space:normal;overflow:visible;text-overflow:clip;color:#b0bfd0}
.bot-room .br-crew-card .br-crew-summary{display:block;font:11px/1.45 Inter,ui-sans-serif,system-ui,sans-serif;color:#adbed1;letter-spacing:0;margin-top:5px;overflow-wrap:anywhere}
.bot-room .br-crew-time{display:block;font:10px/1.5 ui-monospace,monospace;color:#8fa5bf;margin-top:7px;letter-spacing:0;white-space:normal}
.bot-room .br-crew-card[aria-pressed=true]{box-shadow:inset 0 2px var(--bot-color);background:color-mix(in srgb,var(--bot-color) 9%,#142030)}
.bot-room .br-floor-ticker{gap:12px;padding-top:8px;align-items:flex-start}
.bot-room .br-floor-ticker>span{font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
.bot-room .br-floor-ticker>button{font-size:11px!important;padding:0;min-height:26px}
.bot-room .br-inspector{padding:20px;gap:0;scrollbar-gutter:stable}
.bot-room .br-bot-intro{min-height:76px;padding-right:70px}
.bot-room .br-bot-intro>.br-kicker{font-size:10px;letter-spacing:.7px}
.bot-room .br-bot-intro h3{font-size:22px;margin:7px 0}
.bot-room .br-portrait{width:56px;height:65px}
.bot-room .br-bot-state{font-size:12px;line-height:1.6}
.bot-room .br-campaign-label{font-size:12px;margin:12px 0}
.bot-room #brCampaign,.bot-room #brBotPicker{font-size:12px;line-height:1.5;min-height:39px;padding:9px;margin-top:6px}
.bot-room .br-bot-picker{display:none;font-size:12px;color:#aabbd0;margin:0 0 16px}
.bot-room .br-inspector-links{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.bot-room .br-inspector-links .br-button{flex:1 1 120px;text-align:center}
.bot-room .br-detail-tabs{gap:4px;flex-wrap:wrap;margin:5px 0 15px;padding-bottom:10px}
.bot-room .br-detail-tabs>button{font-size:11px;flex:1 0 28%;padding:8px 7px;min-height:35px}
.bot-room .br-detail-content{gap:15px}
.bot-room .br-detail-content h4{font-size:14px;line-height:1.5;font-weight:600}
.bot-room .br-speech{padding:14px 15px;border-radius:8px;background:#23283c}
.bot-room .br-speech:before{display:none}
.bot-room .br-speech small{font-size:10px;line-height:1.5;letter-spacing:.6px}
.bot-room .br-speech p{font-size:13px;line-height:1.7;margin-top:8px}
.bot-room .br-metrics{padding:15px 0;gap:15px 12px}
.bot-room .br-metrics small{font-size:11px;line-height:1.5}
.bot-room .br-metrics strong{font-size:14px;line-height:1.5;margin-top:5px}
.bot-room .br-mini-note,.bot-room .br-control-note,.bot-room .br-action-status,.bot-room .br-setup-summary{font-size:12px;line-height:1.65}
.bot-room .br-account-actions .br-control-note{font-size:11px;line-height:1.6}
.bot-room .br-account-actions{margin-top:18px;padding-top:15px;gap:9px}
.bot-room .br-account-actions>.br-button{font-size:12px!important;min-height:38px;padding:9px 11px}
.bot-room .br-saved-time small{font-size:10px;letter-spacing:.6px}
.bot-room .br-saved-time b{font-size:12px;line-height:1.6;margin:8px 0}
.bot-room .br-saved-time p{display:block;font-size:11px;line-height:1.65;margin-top:7px}
.bot-room .br-position-title{font-size:12px;padding:13px}
.bot-room .br-position-title b span{font-size:11px}
.bot-room .br-price-ladder>div{font-size:12px;padding:9px 0}
.bot-room .br-position-bottom{font-size:11px;padding:12px 13px}
.bot-room .br-probability>p,.bot-room .br-empty-position p,.bot-room .br-readiness p,.bot-room .br-risk p{font-size:12px;line-height:1.65}
.bot-room .br-empty-position b{font-size:13px}
.bot-room .br-build-list>span{font-size:12px;line-height:1.6}
.bot-room .br-event{padding:12px;gap:10px}
.bot-room .br-event b{font-size:12px;line-height:1.5}
.bot-room .br-event small{font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.bot-room .br-event time{font-size:11px;line-height:1.5;margin-top:8px}
.bot-room .br-evidence-page{font-size:11px;line-height:1.65;padding:13px}
.bot-room .br-pagination>span{font-size:11px;line-height:1.5}
.bot-room .br-pagination button{font-size:12px!important;min-height:35px}
.bot-room .br-setup-grid label{font-size:12px}
.bot-room .br-setup-grid input{font-size:13px;min-height:38px}
.bot-room .br-research-stack{display:grid;gap:14px}
.bot-room .br-research-label{display:flex;font-size:11px;flex-wrap:wrap;gap:7px}
.bot-room .br-research-label b{font-size:10px;line-height:1.5;white-space:normal}
.bot-room .br-research-stack .br-speech{margin:0}
.bot-room .br-footer{padding:8px 18px;font-size:10px;gap:12px;line-height:1.5}
.bot-room .br-footer>span:last-child{font-size:9px;letter-spacing:.8px}

/* Strategy comparisons and experiments share a full-width evidence workspace. */
.bot-room[data-mobile-view=strategies]:not(.br-demo) .br-layout,.bot-room[data-mobile-view=experiments]:not(.br-demo) .br-layout{display:none}
.bot-room .br-strategies,.bot-room .br-experiments{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#4e607b #101a29;padding:26px clamp(16px,3vw,48px);background:#0e1724;border-top:1px solid var(--floor-border)}
.bot-room .st-heading,.bot-room .ex-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.bot-room .ex-heading{display:block}
.bot-room .st-heading h3,.bot-room .ex-heading h3{font-size:26px;font-weight:600;letter-spacing:-.6px;margin:5px 0 9px;line-height:1.25}
.bot-room .st-heading p,.bot-room .ex-heading p{font-size:13px;line-height:1.65;color:var(--floor-muted);max-width:800px}
.bot-room .st-scope,.bot-room .ex-scope{font-size:12px;line-height:1.65;color:#a5b6cc;margin:13px 0 18px}
.bot-room .st-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 12px}
.bot-room .st-metric{padding:16px;border:1px solid var(--floor-border);border-radius:10px;background:#172234;min-width:0}
.bot-room .st-metric small{display:block;font-size:12px;color:#a8bbd1;line-height:1.5}
.bot-room .st-metric strong{display:block;font:22px/1.4 ui-monospace,monospace;color:#e1eafa;margin-top:7px;overflow-wrap:anywhere}
.bot-room .st-table-wrap{border:1px solid #34455d;border-radius:10px;overflow:auto;background:#131e2e}
.bot-room .st-table{width:100%;border-collapse:collapse;table-layout:auto;text-align:left;font-size:12px;line-height:1.6}
.bot-room .st-table th{padding:13px 14px;color:#a2b6d0;background:#1a2638;font-size:11px;font-weight:500;border-bottom:1px solid #384a63;vertical-align:bottom}
.bot-room .st-table td{padding:17px 14px;border-bottom:1px solid #2b3b51;vertical-align:top;min-width:0}
.bot-room .st-table td>small{display:block;color:#95abc6;font-size:11px;line-height:1.65;margin-top:7px;overflow-wrap:anywhere}
.bot-room .st-table td>b{display:block;font-weight:500;line-height:1.6}
.bot-room .st-table tbody tr:last-child td{border-bottom:0}
.bot-room .st-table tbody tr:hover{background:#172337}
.bot-room .st-name{min-width:160px}
.bot-room .st-name b{display:block;font-size:13px;color:#e1eafa;line-height:1.6}
.bot-room .st-name small,.bot-room .st-state small,.bot-room .st-number small{display:block;color:#95abc6;font-size:11px;line-height:1.65;margin-top:7px;overflow-wrap:anywhere}
.bot-room .st-table td:nth-child(2){min-width:150px;max-width:230px}
.bot-room .st-state,.bot-room .st-evidence,.bot-room .ex-badge{display:inline-block;border:1px solid #4b5870;border-radius:5px;padding:4px 8px;font-size:11px;line-height:1.5;background:#222e42;color:#c1d0e3;font-weight:500;white-space:normal}
.bot-room .st-state[data-state=open],.bot-room .st-evidence[data-state=review],.bot-room .ex-badge[data-state=eligible]{color:#a7e5c5;border-color:#3c6d5c;background:#1b352e}
.bot-room .st-state[data-state=blocked],.bot-room .st-state[data-state=unavailable],.bot-room .st-state[data-state=stale],.bot-room .st-evidence[data-state=unavailable],.bot-room .ex-badge[data-state=blocked]{color:#f1c28b;border-color:#76603f;background:#342c22}
.bot-room .st-evidence[data-state=collecting],.bot-room .ex-badge[data-state=running]{color:#cbbbf1;border-color:#62557f;background:#2a263d}
.bot-room .st-number{font-variant-numeric:tabular-nums;min-width:108px;color:#dbe6f5}
.bot-room .st-actions{min-width:140px}
.bot-room .st-actions .br-button{display:block;width:100%;margin-bottom:7px;white-space:normal;text-align:left;font-size:11px!important;padding:7px 9px}
.bot-room .st-actions .br-button:last-child{margin-bottom:0}
.bot-room .st-next{font-size:12px;color:#b7c7dc;line-height:1.6;margin-top:8px}
.bot-room .st-version{display:block;max-width:190px;font:10px/1.6 ui-monospace,monospace;color:#8fa5c0;margin-top:7px;overflow-wrap:anywhere}
.bot-room .st-empty{padding:22px;border:1px dashed #405471;border-radius:8px;color:#aebfd5;font-size:13px;line-height:1.7}
.bot-room .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.bot-room .st-footnote{padding:15px 0;color:#99afc8;font-size:12px;line-height:1.7}
.bot-room .st-footnote summary{cursor:pointer;color:#bccce0;margin-bottom:8px}
.bot-room .pf-history-notice,.bot-room .pf-history-warning{padding:13px 15px;border:1px solid #6c5c3f;border-radius:8px;background:#28251f;color:#e0c69c;font-size:12px;line-height:1.65;margin:14px 0}
.bot-room .pf-history-notice .br-button,.bot-room .pf-history-warning .br-button{margin-top:9px}
.bot-room .pf-connection span,.bot-room .pf-campaign small,.bot-room .pf-trade-head small,.bot-room .pf-trade-foot small,.bot-room .pf-scope{font-size:11px;line-height:1.65}
.bot-room .pf-badge{font-size:11px;white-space:normal}

.bot-room .ex-toolbar{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.bot-room .ex-toolbar label{font-size:12px;color:#a9bed7;min-width:220px;max-width:100%}
.bot-room .ex-toolbar select{font-size:12px;min-height:40px}
.bot-room .ex-notice{padding:13px 16px;border:1px solid #3b506c;border-radius:8px;background:#182538;font-size:12px;line-height:1.7;color:#b7c9df;margin:12px 0 20px;overflow-wrap:anywhere}
.bot-room .ex-notice[data-state=unavailable],.bot-room .ex-notice[data-state=stale],.bot-room .ex-notice[data-state=partial]{border-color:#776044;background:#302820;color:#f0cc99}
.bot-room .ex-workspace{display:grid;grid-template-columns:minmax(240px,28%) minmax(0,1fr);gap:20px;align-items:start}
.bot-room .ex-list{display:grid;gap:9px;min-width:0}
.bot-room .ex-list-item{display:flex;flex-direction:column;gap:9px;width:100%;text-align:left;background:#152131;border:1px solid #34455c;border-radius:9px;padding:15px;color:#d4e0f0;min-width:0}
.bot-room .ex-list-item:hover{background:#1c293b;border-color:#6e668f}
.bot-room .ex-list-item[aria-pressed=true]{background:#25253b;border-color:#a58bda;box-shadow:inset 3px 0 #b5a0ef}
.bot-room .ex-list-title{font-size:13px;font-weight:600;line-height:1.55;overflow-wrap:anywhere}
.bot-room .ex-list-meta,.bot-room .ex-list-progress{font-size:11px;color:#a5b7d0;line-height:1.6;overflow-wrap:anywhere}
.bot-room .ex-badge{align-self:flex-start}
.bot-room .ex-badge[data-state=draining]{color:#ecc797;border-color:#796143;background:#352b22}
.bot-room .ex-badge[data-state=approved]{color:#b0e9cc;border-color:#4b795f;background:#1d372e}
.bot-room .ex-badge[data-state=superseded]{color:#a5b2c6;border-color:#4b596c;background:#222c3b}
.bot-room .ex-detail{min-width:0;background:#142030;border:1px solid #34455d;border-radius:11px;padding:24px}
.bot-room .ex-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap}
.bot-room .ex-detail-heading h3,.bot-room .ex-detail-heading h4{font-size:21px;font-weight:600;letter-spacing:-.35px;line-height:1.4;margin:4px 0 8px}
.bot-room .ex-detail-heading small{font-size:11px;color:#9eb2cb;line-height:1.65}
.bot-room .ex-hypothesis{padding:17px 18px;background:#1f2a3e;border-left:3px solid #aa94de;border-radius:5px;margin:18px 0 22px}
.bot-room .ex-hypothesis h4{font-size:13px;color:#d3c2f6;margin-bottom:8px}
.bot-room .ex-hypothesis p{font-size:13px;line-height:1.7;color:#c8d4e5;overflow-wrap:anywhere}
.bot-room .ex-hypothesis p+p{margin-top:10px}
.bot-room .ex-arms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.bot-room .ex-arm{min-width:0;padding:17px;border:1px solid #3b4d64;border-radius:9px;background:#101b2b}
.bot-room .ex-arm h4{font-size:15px;font-weight:600;color:#dfd3fa;line-height:1.5;margin-bottom:14px}
.bot-room .ex-progress{display:grid;gap:7px;margin:12px 0;color:#a9bbd2;font-size:12px;line-height:1.5}
.bot-room .ex-progress label{display:block;font-size:12px;color:#acbfd7;line-height:1.6}
.bot-room .ex-progress progress{display:block;width:100%;height:7px;border:0;border-radius:5px;overflow:hidden;background:#28364b;accent-color:#baa4f3;margin:5px 0 9px}
.bot-room .ex-progress progress::-webkit-progress-bar{background:#28364b;border-radius:5px}
.bot-room .ex-progress progress::-webkit-progress-value{background:#baa4f3;border-radius:5px}
.bot-room .ex-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px;padding:15px 0;margin:13px 0 0;border-top:1px solid #304159}
.bot-room .ex-metrics>div{min-width:0}
.bot-room .ex-metrics dt{font-size:11px;color:#99afc8;line-height:1.6}
.bot-room .ex-metrics dd{font:14px/1.6 ui-monospace,monospace;color:#e0e9f7;margin:4px 0 0;overflow-wrap:anywhere}
.bot-room .ex-arm-status{font-size:12px;color:#b1c2d7;line-height:1.65;margin-top:12px;overflow-wrap:anywhere}
.bot-room .ex-rules{border:1px solid #35475f;border-radius:8px;padding:13px 16px;margin:20px 0;font-size:12px;color:#aebfd5;line-height:1.6;overflow:auto}
.bot-room .ex-rules summary{cursor:pointer;color:#d1dded}
.bot-room .ex-rules>p{margin-top:12px;font-size:12px;line-height:1.65}
.bot-room .ex-rules dl{margin:14px 0 0}.bot-room .ex-rules dt{color:#98aec8;margin-top:12px}
.bot-room .ex-rules dd{font:11px/1.7 ui-monospace,monospace;color:#c4d1e5;margin:5px 0 0;overflow-wrap:anywhere}
.bot-room .ex-rules-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:12px;text-align:left}
.bot-room .ex-rules-table th,.bot-room .ex-rules-table td{padding:9px 8px;border-bottom:1px solid #2f4056;vertical-align:top;overflow-wrap:anywhere}
.bot-room .ex-rules-table th{color:#bca9eb;font-weight:500}
.bot-room .ex-rules-table td{max-width:260px}
.bot-room .ex-next{padding:17px 18px;background:#20293b;border-radius:8px;color:#c3d0e3;font-size:13px;line-height:1.7;margin:18px 0}
.bot-room .ex-next h4{font-size:14px;color:#e2d6fa;margin-bottom:9px}
.bot-room .ex-next ul{padding-left:20px;margin:8px 0}
.bot-room .ex-next li{padding:3px 0;overflow-wrap:anywhere}
.bot-room .ex-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px;padding-top:17px;border-top:1px solid #34455a}
.bot-room .ex-actions p{width:100%;font-size:12px;color:#a3b8d1;line-height:1.65}
.bot-room .ex-empty{padding:25px;border:1px dashed #405471;border-radius:9px;font-size:13px;color:#c5d3e5;line-height:1.7}
.bot-room .ex-empty h3,.bot-room .ex-empty h4{font-size:17px;margin:0 0 9px}
.bot-room .ex-empty p{font-size:13px;color:#a5b9d2;margin-top:8px}

@media(min-width:1600px){
 .bot-room .br-layout{grid-template-columns:minmax(0,1fr) minmax(420px,29%)}
 .bot-room .br-stage{min-height:360px;flex-basis:360px}
 .bot-room .br-crew-card{padding:14px;min-height:108px}
}
@media(max-width:1180px) and (min-width:901px){
 .bot-room .br-header-right{gap:10px}.bot-room .br-paper-tag{display:none}
 .bot-room .br-mobile-nav button{padding:8px 10px}
 .bot-room .br-layout{grid-template-columns:minmax(0,1fr) 365px}
 .bot-room .br-floor-column{padding:13px}.bot-room .br-crew{grid-template-columns:repeat(3,minmax(0,1fr))}
 .bot-room .br-crew-icon{display:none}.bot-room .br-inspector{padding:17px}
 .bot-room .ex-workspace{grid-template-columns:230px minmax(0,1fr);gap:14px}
 .bot-room .ex-detail{padding:18px}
}
@media(max-width:900px){
 .bot-room .br-header{flex-wrap:wrap;padding:12px 14px;gap:9px 12px}
 .bot-room .br-header h2{font-size:22px}.bot-room .br-header .br-kicker{font-size:10px}
 .bot-room .br-header-right{width:100%;margin-left:0}.bot-room .br-paper-tag{display:none}
 .bot-room .br-mobile-nav{width:100%;gap:3px;flex-wrap:nowrap}
 .bot-room .br-mobile-nav button{flex:1;min-width:0;font-size:12px;padding:8px 6px;min-height:38px}
 .bot-room .br-toolbar{padding:0 14px 10px;gap:8px}.bot-room .br-toolbar-options{gap:10px}
 .bot-room .br-mode-switch button{font-size:11px;padding:6px 9px}.bot-room .br-mode-switch button span{display:none}
 .bot-room .br-motion{font-size:11px}.bot-room .br-mode-notice{padding:0 14px 10px;font-size:11px}
 .bot-room .br-layout{display:flex}.bot-room .br-floor-column{padding:12px;gap:12px}
 .bot-room .br-stage{flex:0 0 340px;min-height:340px}.bot-room .br-scene-wrap{min-height:210px}
 .bot-room .br-crew{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .bot-room .br-crew-card{padding:12px;min-height:102px}.bot-room .br-crew-icon{display:block}
 .bot-room .br-stage-heading h3{font-size:15px}.bot-room .br-stage-heading p{font-size:12px}
 .bot-room .br-stage-footer{font-size:10px}.bot-room .br-inspector{width:100%;padding:16px 18px}
 .bot-room[data-mobile-view=desk] .br-bot-picker{display:block}
 .bot-room .br-detail-tabs{display:flex;flex-wrap:wrap}.bot-room .br-detail-tabs>button{font-size:12px;flex:1 0 26%;min-height:36px}
 .bot-room .br-strategies,.bot-room .br-experiments{padding:20px 15px}
 .bot-room .st-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .bot-room .st-table-wrap{border:0;background:transparent;overflow:visible}
 .bot-room .st-table,.bot-room .st-table tbody{display:block;width:100%}
 .bot-room .st-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .bot-room .st-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#152132;border:1px solid #34455d;border-radius:10px;margin-bottom:14px;padding:5px 14px}
 .bot-room .st-table td{display:block;min-width:0;max-width:none;padding:13px 8px;border-bottom:1px solid #2f4057}
 .bot-room .st-table td:nth-child(2){min-width:0;max-width:none}
 .bot-room .st-table tbody tr:last-child td{border-bottom:1px solid #2f4057}
 .bot-room .st-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:#8fa7c4;margin-bottom:7px;line-height:1.5}
 .bot-room .st-table td.st-name{grid-column:1/-1;padding:14px 8px}.bot-room .st-name b{font-size:15px}
 .bot-room .st-table td.st-name:before,.bot-room .st-table td.st-actions:before{display:none}
 .bot-room .st-table td.st-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;border-bottom:0!important}
 .bot-room .st-actions .br-button{flex:1;min-width:110px;margin:0;font-size:12px!important;text-align:center}
 .bot-room .ex-workspace{grid-template-columns:1fr;gap:16px}
 .bot-room .ex-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(225px,40%);grid-template-columns:none;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:9px;scrollbar-width:thin;scrollbar-color:#5b4e7d #172136}
 .bot-room .ex-list-item{min-height:135px}.bot-room .ex-detail{padding:20px}
 .bot-room .br-footer{font-size:10px;padding:7px 14px}
}
@media(max-width:560px){
 .room-active .single-workspace{padding:0 7px}
 .bot-room .br-header{padding:11px 12px}.bot-room .br-header h2{font-size:21px}
 .bot-room .br-brand-mark{display:none}.bot-room .br-toolbar{padding:0 12px 9px}
 .bot-room .br-toolbar-options{gap:9px}.bot-room .br-toolbar-options>.br-button{font-size:11px!important;padding:7px 9px;min-height:34px}
 .bot-room .br-mode-notice{padding:0 12px 10px}
 .bot-room .br-stage{flex-basis:300px;min-height:300px}.bot-room .br-stage-heading{padding:13px 14px 0;gap:5px}
 .bot-room .br-stage-heading h3{font-size:14px}.bot-room .br-stage-heading .br-kicker{font-size:10px}
 .bot-room .br-stage-heading p{font-size:11px}.bot-room .br-room-status{font-size:11px}
 .bot-room .br-stage-footer{font-size:9px;padding:6px 12px 10px;gap:5px}
 .bot-room .br-scene-wrap,.bot-room .br-scene{min-height:170px}
 .bot-room .br-crew{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .bot-room .br-crew-card{padding:12px 10px;min-height:105px}.bot-room .br-crew-icon{font-size:20px}
 .bot-room .br-crew-card b{font-size:12px}.bot-room .br-crew-card small{font-size:10px}.bot-room .br-crew-card em{font-size:11px}
 .bot-room .br-inspector{padding:15px}.bot-room .br-bot-intro h3{font-size:22px}
 .bot-room .br-research-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bot-room .st-heading,.bot-room .ex-heading{flex-wrap:wrap;gap:10px;margin-bottom:15px}
 .bot-room .st-heading h3,.bot-room .ex-heading h3{font-size:23px}
 .bot-room .st-metric{padding:13px}.bot-room .st-metric strong{font-size:19px}
 .bot-room .st-table tbody tr{padding-inline:8px}.bot-room .st-table td{padding-inline:7px}
 .bot-room .st-actions .br-button{min-width:90px;font-size:11px!important}
 .bot-room .ex-toolbar label{width:100%;min-width:0}.bot-room .ex-detail{padding:16px}
 .bot-room .ex-detail-heading h3,.bot-room .ex-detail-heading h4{font-size:19px}
 .bot-room .ex-list{grid-auto-columns:84%}.bot-room .ex-arms{grid-template-columns:1fr;gap:12px}
 .bot-room .ex-hypothesis{padding:14px}.bot-room .ex-arm{padding:15px}
 .bot-room .ex-next{padding:15px}.bot-room .ex-actions .br-button{flex:1 1 130px}
 .bot-room .ex-rules{padding:12px}.bot-room .ex-rules-table th,.bot-room .ex-rules-table td{padding:8px 5px;font-size:11px}
 .bot-room .pf-heading{flex-wrap:wrap}.bot-room .pf-heading>.br-button{max-width:none}
 .bot-room .pf-trade-foot small{font-size:11px}.bot-room .af-status,.bot-room .af-footnote{font-size:12px}
 .bot-room .af-event-bottom time,.bot-room .af-event-bottom small{font-size:11px}
}

/* Keep bot selection immediately visible on phones. */
@media(max-width:720px){
 .bot-room .br-header{padding:12px}
 .bot-room .br-header>div>.br-kicker{display:none}
 .bot-room .br-header h2{font-size:22px;margin:0}
 .bot-room .br-toolbar{display:flex;flex-wrap:nowrap;gap:7px;padding:8px 12px}
 .bot-room .br-mode-switch{flex:1;min-width:0;gap:0;padding:3px}
 .bot-room .br-mode-switch button{font-size:10px;padding:7px 8px;white-space:nowrap}
 .bot-room .br-mode-switch button span{display:none}
 .bot-room .br-toolbar-options{gap:8px;flex-shrink:0}
 .bot-room .br-motion{font-size:10px;gap:4px}
 .bot-room .br-toolbar-options>[data-action=refresh]{font-size:0!important;padding:4px;width:34px;min-height:34px}
 .bot-room [data-action=refresh]:after{content:'↻';font-size:20px}
 .bot-room .br-mode-notice{display:none}
 .bot-room.br-demo .br-mode-notice{display:block;padding:0 12px 8px}
 .bot-room .br-crew{order:0}
 .bot-room .br-stage{order:1}
 .bot-room .br-demo-controls{order:2}
 .bot-room .br-floor-ticker{order:3}
 .bot-room .br-footer{display:none}
}

/* Portfolio totals stay discoverable; compact trade cards lead with the outcome. */
.bot-room .br-connected-label{color:#9db6cd;font-size:12px;min-width:0}
.bot-room .br-mobile-nav{max-width:100%}
.bot-room .br-portfolio-summary{flex-shrink:0;min-width:0}
.bot-room .pf-overview{border:1px solid #35465e;background:linear-gradient(115deg,#1e2b40,#172335);border-radius:10px;padding:17px 19px;margin-bottom:16px}
.bot-room .pf-overview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}
.bot-room .pf-overview-heading p{color:#9dafc6;font-size:11px;line-height:1.6;margin-top:5px}
.bot-room .pf-balance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bot-room .pf-balance-metrics small{display:block;font-size:11px;color:#a8bdd4}
.bot-room .pf-balance-metrics strong{display:block;font:600 25px/1.4 ui-monospace,monospace;letter-spacing:-.8px;color:#e1eafa;margin-top:6px;overflow-wrap:anywhere}
.bot-room .pf-balance-metrics strong span{font:10px Inter,ui-sans-serif,system-ui;letter-spacing:0;color:#9eafc6}
.bot-room [data-pnl=profit]{color:#82e4b1}.bot-room [data-pnl=loss]{color:#ff9e9e}.bot-room [data-pnl=flat]{color:#d1daea}
.bot-room .pf-overview-compact{padding:14px;margin:0}
.bot-room .pf-overview-compact .pf-balance-metrics{gap:10px}
.bot-room .pf-overview-compact .pf-balance-metrics strong{font-size:18px}
.bot-room .pf-overview-compact .pf-balance-metrics strong span{display:block;margin-top:2px}
.bot-room .pf-overview-compact .pf-overview-heading{margin-bottom:12px}
.bot-room .pf-overview-compact .pf-overview-heading button{flex-shrink:0;padding:0}
.bot-room .pf-connection{padding:10px 14px;gap:10px;margin-bottom:12px}
.bot-room .pf-totals{gap:8px}.bot-room .pf-totals>div{padding:10px 13px}.bot-room .pf-totals strong{font-size:22px;margin-top:3px}
.bot-room .pf-checks{padding:10px 13px;margin:12px 0}
.bot-room .pf-filters{flex-direction:row;margin:14px 0;gap:10px}
.bot-room .pf-scope{margin:8px 0 12px}
.bot-room .pf-ledger-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:15px;margin:18px 0 10px}
.bot-room .pf-ledger-title span{font-size:11px;color:#9db1c9;font-weight:400}
.bot-room .pf-trades{grid-template-columns:1fr;gap:10px}
.bot-room .pf-trade{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,2.1fr) minmax(130px,.58fr);gap:8px 14px;padding:12px 16px;border-radius:9px;background:#152132;align-items:center}
.bot-room .pf-trade-summary{align-self:start;min-width:0}
.bot-room .pf-trade-title{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;margin-bottom:9px}
.bot-room .pf-trade-title>b{font-size:13px;color:#e2eafa}
.bot-room .pf-side{font:10px ui-monospace,monospace;color:#a9b9ce;letter-spacing:.4px}
.bot-room .pf-side[data-side=long]{color:#8bdcc0}.bot-room .pf-side[data-side=short]{color:#f0ada1}
.bot-room .pf-trade-summary>small{display:block;font-size:10px;color:#99acc4;line-height:1.8;margin-top:9px}
.bot-room .pf-trade-summary p{font-size:11px;line-height:1.5;color:#bbcbdc;margin:8px 0 0}
.bot-room .pf-trade-visual{min-width:0}
.bot-room .pf-prices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 0 0;border:0;font-size:10px;color:#96abc4}
.bot-room .pf-prices b{font:12px/1.5 ui-monospace,monospace;margin-top:3px;color:#dce6f5;overflow-wrap:anywhere}
.bot-room .pf-trade-result{border-left:1px solid #33445b;padding-left:15px;min-width:0;display:grid;gap:2px;align-content:center}
.bot-room .pf-trade-result>small:first-child{font-size:10px;font-weight:600;letter-spacing:1px}
.bot-room .pf-trade-result>strong{font:600 28px/1.4 ui-monospace,monospace;letter-spacing:-1px;overflow-wrap:anywhere}
.bot-room .pf-trade-result>span{font-size:11px;color:#b1c0d4}
.bot-room .pf-trade-result>b{font:13px ui-monospace,monospace;margin:8px 0}
.bot-room .pf-trade-result>small:last-child{font-size:9px;line-height:1.6;color:#91a6bf}
.bot-room .pf-trade-result[data-pnl=unknown]{color:#acbdd2;gap:8px}
.bot-room .pf-trade-details{grid-column:1/-1;border-top:1px solid #2b3b51;padding-top:8px;min-width:0;font-size:10px;color:#9eafc6}
.bot-room .pf-trade-details>summary{cursor:pointer;width:fit-content}
.bot-room .pf-trade-details>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:8px;overflow-wrap:anywhere}
.bot-room .pf-trade-details small{max-width:100%;overflow-wrap:anywhere;font-size:10px}
.bot-room .pf-chart{margin:0;background:#0f1928;border:1px solid #2b3b51;border-radius:5px;overflow:hidden}
.bot-room .pf-chart svg{display:block;width:100%;height:auto;min-width:0;stroke:none;fill:none}
.bot-room .pf-chart figcaption{font-size:9px;line-height:1.5;color:#91a7c3;padding:3px 8px 6px}
.bot-room .pf-chart-holding{fill:#af97ff0b}
.bot-room .pf-chart-level line{stroke:#9facd3;stroke-width:.8;stroke-dasharray:3 4}
.bot-room .pf-chart-level text{fill:#bdc9e1;font:10px ui-monospace,monospace}
.bot-room .pf-chart-level[data-level=target] line{stroke:#76cba9}.bot-room .pf-chart-level[data-level=target] text{fill:#88d8b6}
.bot-room .pf-chart-level[data-level=stop] line{stroke:#e39595}.bot-room .pf-chart-level[data-level=stop] text{fill:#f0aaa6}
.bot-room .pf-candle{fill:#78cbb1;stroke:#78cbb1;stroke-width:1}
.bot-room .pf-candle[data-direction=down]{fill:#cf8e97;stroke:#cf8e97}
.bot-room .pf-chart-marker line{stroke:#c9b7ff80;stroke-width:.8;stroke-dasharray:2 3}
.bot-room .pf-chart-marker circle{fill:#0e1724;stroke:#ddcfff;stroke-width:1.5}
.bot-room .pf-chart-marker text{fill:#e5d9ff;font:600 9px ui-monospace,monospace}
.bot-room .pf-chart-time{fill:#8198b4;font:9px ui-monospace,monospace}
.bot-room .pf-chart-empty{display:flex;min-height:100px;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;border:1px dashed #394a61;background:#101b29;border-radius:5px;padding:14px;color:#a0b4ce;font-size:11px;line-height:1.5;text-align:center}
.bot-room .pf-trade-compact{grid-template-columns:minmax(150px,.75fr) minmax(0,2.1fr) minmax(130px,.58fr)}
@media(max-width:1050px){
 .bot-room .pf-trade{grid-template-columns:minmax(0,1fr) 130px;gap:12px}
 .bot-room .pf-trade-summary{grid-column:1}.bot-room .pf-trade-result{grid-column:2;grid-row:1;align-self:start}
 .bot-room .pf-trade-visual{grid-column:1/-1}.bot-room .pf-trade-details{grid-column:1/-1}
 .bot-room .pf-trade-closed .pf-trade-visual{width:100%}
 .bot-room .pf-overview-compact .pf-balance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .bot-room .br-header-right{width:100%}.bot-room .br-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:2px;min-width:0}
 .bot-room .br-mobile-nav button{padding:7px 3px;font-size:10px;min-width:0}
 .bot-room .br-connected-label{font-size:10px;flex:1}
 .bot-room .br-portfolio-summary{order:1}.bot-room .br-stage{order:2}.bot-room .br-demo-controls{order:3}
 .bot-room .pf-overview{padding:13px}.bot-room .pf-balance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .bot-room .pf-balance-metrics strong{font-size:21px}.bot-room .pf-balance-metrics strong span{display:block;margin-top:2px}
 .bot-room .pf-overview-heading p{font-size:10px}
 .bot-room .pf-trade{padding:12px;gap:10px;grid-template-columns:minmax(0,1fr) 112px}
 .bot-room .pf-trade-result{padding-left:10px}.bot-room .pf-trade-result>strong{font-size:25px}
 .bot-room .pf-trade-result>small:last-child{font-size:9px}.bot-room .pf-trade-summary>small{font-size:9px}
 .bot-room .pf-chart figcaption{font-size:9px}.bot-room .pf-prices{gap:6px;font-size:9px}.bot-room .pf-prices b{font-size:10px}
 .bot-room .pf-trade-title>b{font-size:12px}.bot-room .pf-trade-summary p{font-size:10px}
}
