:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif;color:#253247;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}.site{max-width:900px;margin:0 auto;padding:0 28px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf2}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:600;letter-spacing:-.5px}.brand strong{font-weight:400;color:#738094}.brand-mark{width:34px;height:34px;border-radius:8px;background:#293b53;color:#fff;display:grid;place-items:center;font-size:19px;font-weight:650}.top-right{display:flex;align-items:center;gap:7px;color:#8793a3;font-size:12px}.update-indicator{width:7px;height:7px;background:#30b47b;border-radius:50%}main{padding-top:52px}.intro{margin-bottom:30px}.intro h1{font-size:30px;font-weight:650;letter-spacing:-.9px;margin:0 0 11px}.intro p{font-size:14px;color:#78869a;margin:0}.summary{min-height:100px;display:flex;align-items:center;gap:18px;border:1px solid #b9e3d1;background:#f1faf6;border-radius:7px;padding:24px 27px}.summary-icon{width:42px;height:42px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:25px;font-weight:600;flex-shrink:0}.summary h2{margin:0 0 6px;font-size:18px;font-weight:650}.summary p{margin:0;font-size:13px;opacity:.82}.summary.operational{color:#168455;background:#effaf4;border-color:#b6e5cd}.summary.outage{color:#b74444;background:#fff4f3;border-color:#f3c7c4}.summary.degraded{color:#9d741f;background:#fff9e9;border-color:#f0dda3}.summary.unknown,.summary.pending{color:#64748b;background:#f7f9fc;border-color:#dfe6ee}.section{margin-top:45px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}.section-head h2{font-size:17px;font-weight:650;margin:0}.section-note{font-size:12px;color:#94a0af}.services{border:1px solid #e3e8ef;border-radius:8px;overflow:hidden}.service{padding:22px 24px;border-bottom:1px solid #e8ecf1}.service:last-child{border-bottom:0}.service-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-name{font-size:15px;font-weight:650}.state{font-size:12px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#21875d}.state-dot{height:8px;width:8px;background:currentColor;border-radius:50%}.state.outage{color:#ce5555}.state.degraded{color:#b58b32}.state.unknown{color:#8996a7}.service-metrics{display:flex;gap:28px;flex-wrap:wrap;margin:17px 0 18px}.metric{display:flex;align-items:center;gap:7px;font-size:12px}.metric-label{color:#8996a7}.metric strong{font-weight:600;color:#475569}.timeline{display:flex;gap:3px;width:100%}.bar{flex:1;min-width:1px;height:24px;border-radius:2px;background:#dce3e9}.bar.operational{background:#37b37e}.bar.outage{background:#e66b67}.bar.degraded{background:#e8ba54}.bar.unknown{background:#dce3e9}.timeline-labels{display:flex;justify-content:space-between;color:#9aa6b5;font-size:11px;margin-top:8px}.footnote{color:#9aa6b5;font-size:11px;margin:12px 0 0}.panel{border:1px solid #e3e8ef;border-radius:8px;overflow:hidden}.empty-state{display:flex;align-items:center;justify-content:center;gap:12px;padding:29px;color:#8492a3;font-size:13px}.empty-symbol{border:1px solid #cbded3;color:#45a47b;width:23px;height:23px;border-radius:50%;display:grid;place-items:center}.item{padding:20px 24px;border-bottom:1px solid #e8ecf1}.item:last-child{border-bottom:0}.item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.item h3{font-size:14px;margin:0}.item-tag{font-size:11px;color:#63748a;background:#f1f4f7;padding:5px 8px;border-radius:4px}.item-date{font-size:12px;color:#94a0af;margin:8px 0 0}.item-body{font-size:13px;line-height:1.7;white-space:pre-wrap;color:#5e6d80;margin:10px 0 0}.loading{padding:25px;color:#94a0af;font-size:13px}footer{border-top:1px solid #e9edf2;margin:65px 0 25px;padding-top:22px;display:flex;justify-content:space-between;gap:10px;color:#a2adba;font-size:11px}@media(max-width:600px){.site{padding:0 17px}.topbar{height:72px}.brand{font-size:16px}.top-right{font-size:10px}.intro h1{font-size:26px}main{padding-top:37px}.summary{padding:18px;gap:12px}.summary h2{font-size:16px}.summary-icon{width:35px;height:35px;font-size:21px}.service{padding:18px 15px}.service-metrics{gap:10px 18px}.metric{font-size:11px}.section{margin-top:36px}footer{flex-direction:column}}

.incident-steps{margin-top:17px;padding-left:18px;border-left:2px solid #dce5ec}.incident-step{position:relative;padding:0 0 17px 15px;font-size:12px;color:#435166}.incident-step:before{content:'';position:absolute;left:-23px;top:3px;width:8px;height:8px;border-radius:50%;background:#51ad86;border:2px solid white}.incident-step:last-child{padding-bottom:0}.incident-step .item-body{margin-top:5px}.admin-wrap{max-width:820px;margin:35px auto;padding:0 20px}.admin-card{padding:24px;border:1px solid #e1e6ed;border-radius:10px;margin:18px 0;background:#fff}.admin-card label{display:block;font-size:13px;margin:14px 0 6px;font-weight:600}.admin-card input,.admin-card select,.admin-card textarea{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:11px;font:inherit}.admin-card button{margin-top:16px;background:#293b53;color:#fff;border:0;border-radius:7px;padding:11px 17px;cursor:pointer}.admin-card button:disabled{opacity:.5}.admin-muted{color:#64748b;font-size:13px}.admin-result{white-space:pre-wrap;font-size:13px;margin-top:12px}

.service-category{font-size:15px;margin:27px 0 12px;color:#435166;font-weight:700}.health-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px 18px;border-top:1px solid #edf0f4;padding-top:14px;margin:0 0 17px}.health-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#8190a2}.health-line strong{font-size:12px;font-weight:600;color:#42526a;text-align:right}

/* v1.2: keep each bot health metric in its own responsive cell */
.health-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:8px;align-items:stretch}
.health-line{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start;gap:8px;padding:4px 0;font-size:12px}
.health-line span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.health-line strong{min-width:0;overflow-wrap:anywhere;word-break:break-word;text-align:right;line-height:1.5}
@media(max-width:700px){.health-details{grid-template-columns:minmax(0,1fr)}.health-line{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}}

/* HTML User Collector readiness (not an outage) */
.state.pending{color:#b58b32}.bar.pending{background:#e8ba54}

/* v1.7 — compact and aligned monitoring layout; presentation only */
.services{display:block}
.service-category{box-sizing:border-box;margin:0;padding:17px 20px 8px;border-top:1px solid #e8ecf1;font-size:14px;line-height:1.4;color:#334155}
.service-category:first-child{border-top:0}
.service{box-sizing:border-box;padding:13px 20px 15px}
.service-top{min-height:24px;gap:12px}
.service-name{font-size:14px;line-height:1.4}
.service-metrics{gap:5px 22px;margin:9px 0 12px;align-items:center}
.metric{gap:5px;font-size:11px;white-space:nowrap}
.health-details{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:0;padding:10px 0 11px;margin:0 0 9px;align-items:start}
.health-line{box-sizing:border-box;min-width:0;display:grid;grid-template-columns:minmax(104px, 35%) minmax(0,1fr);column-gap:8px;align-items:baseline;padding:4px 0;font-size:11.5px;line-height:1.45}
.health-line span{min-width:0;line-height:1.45;overflow-wrap:normal;word-break:normal}
.health-line strong{min-width:0;line-height:1.45;text-align:left;overflow-wrap:anywhere;word-break:normal;font-weight:600}
.timeline{gap:3px}
.bar{height:20px}
.timeline-labels{margin-top:6px}
@media(max-width:850px){
 .health-details{grid-template-columns:minmax(0,1fr);row-gap:1px}
 .health-line{grid-template-columns:minmax(110px,32%) minmax(0,1fr)}
}
@media(max-width:600px){
 .service-category{padding:14px 14px 7px}
 .service{padding:12px 14px 14px}
 .service-metrics{gap:6px 13px;margin:9px 0 11px}
 .health-line{grid-template-columns:minmax(92px,36%) minmax(0,1fr);font-size:11px}
 .bar{height:18px}
}
