/* bot.css — Books › Bot in the command-center layout (canvas board "T3 command"; docs/SITE_MAP.md §12).
   Layout only: the status header, desk line and tables reuse today.css; tokens and type are style-v5.css. */
.bot-wrap{max-width:1400px}
.bot-line{grid-template-columns:repeat(8,minmax(0,1fr))}
.bot-line .k{padding:12px 12px}.bot-line .k b{font-size:17px}.bot-line .k small{font-size:12px}
.bot-col .ptable td{padding:9px 6px;font-size:12px}.bot-col .ptable th{padding:8px 6px;font-size:11px}
#bt-rvp td:first-child,#bt-score td:first-child{min-width:96px}#bt-open td:first-child{min-width:240px}#bt-ledger td:first-child{min-width:0}
#bt-score td:first-child{white-space:nowrap}
.ptable .nm{display:block}.ptable .nm small{display:block;margin-top:2px}.ptable .nm small.legs{font-family:var(--mono)}
.bot-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;margin-bottom:12px;align-items:start}
.bot-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.bot-h{display:flex;align-items:center;justify-content:space-between;padding:11px 16px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600}
.bot-meta{font-size:12px;color:var(--faint);font-weight:400;white-space:nowrap}
.bb-curve{width:100%;height:220px;display:block}
.bb-curve .ax{stroke:var(--line);stroke-width:1}.bb-curve .ln{fill:none;stroke:var(--green);stroke-width:1.8}
.bb-curve .ln.neg{stroke:var(--red)}.bb-curve .st{stroke:var(--faint);stroke-dasharray:3 3;stroke-width:1}
.bb-curve text{fill:var(--faint);font-family:var(--mono);font-size:11px}
.bot-list{display:flex;flex-direction:column}
.bot-list .r{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:9px 16px;border-bottom:1px solid var(--line);font-size:13px}
.bot-list .r:last-child{border-bottom:0}
.bot-list .r .t{font-family:var(--mono);font-size:12px;color:var(--faint)}
.bot-list .r .n{color:var(--ink)}.bot-list .r .n small{color:var(--faint);margin-left:6px}
.bot-list .r .s{font-family:var(--mono);font-size:12px;white-space:nowrap}
.bot-list .r .s.ok{color:var(--green)}.bot-list .r .s.warn{color:var(--amber)}.bot-list .r .s.bad{color:var(--red)}.bot-list .r .s.mut{color:var(--faint)}
.bot-cap{padding:14px 16px;font-size:13px;color:var(--soft);line-height:1.5}
.bot-cap b.big{display:block;font-family:var(--mono);font-size:26px;font-weight:600;color:var(--ink);margin-bottom:4px}
.bot-cap b.big.pos{color:var(--green)}.bot-cap b.big.neg{color:var(--red)}
.bot-cap .row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--line)}
.bot-cap .row:first-of-type{border-top:0}
.ptable td.mut{color:var(--faint)}.ptable .pos{color:var(--green)}.ptable .neg{color:var(--red)}.ptable .warn{color:var(--amber)}
.ptable .nm b{font-family:var(--body);font-weight:600;font-size:14px}.ptable .nm small{display:block;color:var(--faint);font-size:12px;margin-top:2px}
.ptable .legs{color:var(--faint);font-size:12px}
.pill{display:inline-block;font-family:var(--mono);font-size:12px;padding:2px 8px;border-radius:4px;background:var(--panel2);color:var(--soft)}
.pill.ok{background:var(--green-s);color:var(--green)}.pill.bad{background:var(--red-s);color:var(--red)}.pill.warn{background:var(--amber-s);color:var(--amber)}.pill.mut{color:var(--faint)}
@media (max-width:1100px){.bot-grid{grid-template-columns:1fr}.bot-line{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){.bot-line{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-list .r{grid-template-columns:56px minmax(0,1fr) auto}}
