/* Dedicated strategy-style bot page; keep the chart mounted to preserve replay. */
.bot-control-page{flex:1;min-height:0;overflow:auto;padding:clamp(10px,2vw,28px);color:#e6e1d5}
main.bot-page-active>header,main.bot-page-active>.inventory,main.bot-page-active>footer{display:none}
.bot-page-header{display:flex;align-items:center;gap:20px;margin:0 0 24px;flex-wrap:wrap}
.bot-page-header>div{flex:1}.bot-page-header small{font-size:10px;letter-spacing:.18em;color:#c7b784}
.bot-page-header h1{font-size:28px;margin:6px 0}.bot-page-header p{font-size:13px;color:#bcb2a0;margin:0}
.bot-page-header button{min-height:42px;padding:10px 16px;font-size:13px}
.bot-mode{border:1px solid #b99a58;color:#e5c370;padding:9px 14px;border-radius:25px;font-size:11px}
.bot-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;border-bottom:1px solid #80663177;padding-bottom:12px}
.bot-tabs button{padding:10px 18px;min-height:40px;font-size:13px}.bot-tabs button[aria-pressed=true]{background:linear-gradient(#e9cd88,#aa8035);color:#171208}
.bot-page-content{max-width:1400px;margin:auto}.bot-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.bot-metrics article{padding:20px;display:flex;flex-direction:column;gap:14px}.bot-metrics label{font-size:12px}.bot-metrics strong{font-size:20px;color:#e5c370;overflow-wrap:anywhere}
.bot-block{padding:22px;margin-bottom:18px}.bot-block h2{font-size:19px;margin-bottom:16px}.bot-block p,.bot-block li{font-size:14px;line-height:1.65}.bot-block li{margin-bottom:12px}
.bot-block .muted{font-size:12px}.bot-buttons{display:flex;gap:10px;flex-wrap:wrap}.bot-buttons button{min-height:40px;padding:9px 14px;font-size:13px}
.bot-rule-grid{display:flex;gap:30px;flex-wrap:wrap;margin:16px 0;font-size:14px}.bot-rule-grid b{color:#e5c370;margin-left:8px}
.bot-event-list{font:13px/1.8 monospace}.bot-event-list>div{padding:10px 4px;border-bottom:1px solid #80663155}.bot-event-list:empty:after{content:'No events yet. Start the sample bot, then advance replay.';color:#bcb2a0}
#paper-status{color:#e5c370;font-size:14px}#data-health{font-size:16px;color:#e5c370}#bot-clock{font-size:14px}
@media(max-width:700px){.bot-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bot-block{padding:16px}.bot-page-header{gap:12px}.bot-page-header h1{font-size:23px}.bot-mode{display:none}.bot-tabs{gap:5px}.bot-tabs button{padding:9px 11px}.bot-metrics article{padding:14px}.bot-metrics strong{font-size:16px}}
@media(max-width:380px){.bot-metrics{grid-template-columns:1fr}}
