.bots-console{display:grid;grid-template-columns:270px minmax(0,1fr) 330px;height:min(calc(100vh - 120px),860px);min-height:560px;background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* status dots: one color per state, the word is in the tooltip and for screen readers */
.dot{width:9px;height:9px;border-radius:50%;flex:none;display:inline-block;background:var(--green)}
.dot.h-failed,.dot.h-partial_failure,.dot.h-missing{background:var(--red)}
.dot.h-skipped_expected,.dot.h-pending,.dot.h-unknown{background:var(--yellow)}
.dot.h-running{background:var(--blue)}.dot.h-disabled{background:var(--gray)}
.bot-list{position:relative;border-right:1px solid var(--line);padding:12px;overflow:auto;display:flex;flex-direction:column;gap:2px;background:var(--panel2)}
.dashboard .bot-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;color:var(--text);border:0;border-radius:12px;padding:10px;font-weight:400}
.dashboard .bot-row:hover{background:#1118270a}.dashboard .bot-row.active{background:#11182712}
.bot-copy{min-width:0}.bot-copy strong{display:block;font-size:.94rem;font-weight:650}.bot-copy small{display:block;color:var(--muted);font-size:.73rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bot-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;background:#fff;border:1px solid var(--line);overflow:hidden;font-weight:800;font-size:.72rem;color:var(--muted)}
.bot-avatar img{width:100%;height:100%;object-fit:contain;padding:6px}.bot-avatar.bot-ios img{padding:2px}
.bot-row.minor .bot-avatar{width:34px;height:34px;font-size:.62rem;background:var(--inset)}.bot-row.minor strong{font-size:.84rem;color:var(--text2)}
.bot-avatar.big{width:84px;height:84px;margin:0 auto 12px;box-shadow:var(--shadow);font-size:1.2rem}.bot-avatar.big img{padding:10px}.bot-avatar.big.bot-ios img{padding:3px}
.bot-alert,.bot-count{min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:.7rem;font-weight:700;padding:0 7px}
.bot-alert{background:var(--red);color:#fff}.bot-count{color:var(--muted)}
.bot-divider{height:1px;background:var(--line);margin:8px 6px}
.bot-feed{display:flex;flex-direction:column;min-width:0;min-height:0}
.feed-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:18px 24px 12px;border-bottom:1px solid var(--line)}.feed-head h3{margin:0;font-size:1rem}.feed-head span{font-size:.74rem}
.feed-scroll{overflow:auto;padding:0 24px 24px;flex:1;outline:none}
.feed-day h4{position:sticky;top:0;z-index:1;margin:0;padding:16px 0 8px;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);background:linear-gradient(var(--panel) 78%,#fff0)}
.feed-item,.feed-fold>summary{display:grid;grid-template-columns:10px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid #f0f1f3}
.feed-fold>summary{cursor:pointer;list-style:none}.feed-fold>summary::-webkit-details-marker{display:none}
.feed-fold[open]{background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:0 12px;margin:6px -12px}
.feed-dot{width:9px;height:9px;border-radius:50%;margin-top:6px;background:var(--green)}
.h-failed .feed-dot,.h-partial_failure .feed-dot,.h-missing .feed-dot{background:var(--red)}.h-skipped_expected .feed-dot,.h-unknown .feed-dot,.feed-dot.h-skipped_expected{background:var(--yellow)}
.feed-line{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.feed-line strong{font-size:.86rem;font-weight:650}
.dashboard .feed-name{background:none;border:0;padding:0;color:var(--text);font-weight:650;font-size:.86rem;text-align:left;cursor:pointer;border-radius:4px}.dashboard .feed-name:hover{text-decoration:underline}
.feed-line time{color:var(--muted);font-size:.72rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.feed-body p{margin:3px 0 0;font-size:.8rem;line-height:1.5;color:var(--text2);word-break:break-word}
.h-failed p,.h-partial_failure p,.h-missing p{color:var(--red)}
.feed-empty,.feed-end{color:var(--muted);text-align:center;padding:30px 0;font-size:.8rem;margin:0}
.dashboard .feed-more{display:block;margin:18px auto 0}
.bot-panel{border-left:1px solid var(--line);overflow:auto;padding:26px 18px 18px}
.panel-hero{text-align:center;padding-bottom:6px}.panel-hero h3{margin:0;font-size:1.25rem}.panel-hero p{margin:5px 0 0;font-size:.8rem}
.panel-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 14px;margin-top:12px;font-size:.76rem;color:var(--muted)}.panel-stats span{display:inline-flex;align-items:center;gap:6px}
.panel-sub{margin:18px 8px 4px;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:700}
.auto-list{display:flex;flex-direction:column}
.auto-row{display:grid;grid-template-columns:9px minmax(0,1fr);gap:12px;align-items:start;padding:9px 8px;border-radius:10px;cursor:pointer;outline:none}.auto-row>.dot{margin-top:6px}
.auto-row:hover,.auto-row:focus-visible{background:var(--inset)}
.auto-row strong{display:block;font-size:.84rem;line-height:1.35;font-weight:600}
.auto-row small{display:block;color:var(--muted);font-size:.72rem;margin-top:2px}
.auto-row .run-row{margin-top:8px}.auto-row .run-row span{display:none}
.panel-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:22px 8px 0;padding-top:14px;border-top:1px solid var(--line);font-size:.7rem;color:var(--muted)}.panel-legend span{display:inline-flex;align-items:center;gap:6px}
@media(max-width:1100px){.bots-console{grid-template-columns:230px minmax(0,1fr) 290px}}
@media(max-width:900px){.bots-console{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
.bot-list{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:10px;border-radius:20px 20px 0 0}
.dashboard .bot-row{width:auto;grid-template-columns:auto auto auto;flex:none}.bot-copy small{display:none}.bot-divider{width:1px;height:auto;margin:6px 2px}
.bot-panel{order:2;border-left:0;border-bottom:1px solid var(--line);overflow:visible}
.bot-feed{order:3}.feed-scroll{max-height:70vh;padding:0 16px 20px}.feed-head{padding:16px 16px 10px}}
