.timeline-card{border:1px solid var(--line);border-radius:13px;padding:22px;background:#fff}
.history-bars{display:grid;grid-template-columns:repeat(90,minmax(0,1fr));gap:3px}
.history-day{display:block;width:100%;min-width:0;height:38px;padding:0;border:0;border-radius:3px;cursor:pointer;background:#59a57c;touch-action:manipulation}
.history-day.outage{background:var(--red)}
.history-day.unknown{background:#dce3e9}
.history-day:hover,.history-day.selected{filter:brightness(.8)}
.history-day:focus-visible{position:relative;z-index:1;outline-offset:2px}
.timeline-axis{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:var(--muted);font-size:11px}
.timeline-legend{display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--muted);font-size:11px;margin-top:20px}
.timeline-legend span{display:flex;align-items:center;gap:7px}
.timeline-key{width:8px;height:12px;border-radius:2px;background:#59a57c;flex-shrink:0}
.timeline-key.outage{background:var(--red)}
.timeline-help{color:var(--muted);font-size:11px;line-height:1.6;margin:12px 0 0}
#history-note{font-size:12px;line-height:1.6;margin:14px 0 0}
.timeline-tooltip{position:fixed;z-index:10;width:min(380px,calc(100vw - 32px));max-height:70vh;overflow:auto;overscroll-behavior:contain;padding:18px 20px;background:#fff;color:var(--ink);border:1px solid #ccdce7;border-radius:12px;box-shadow:0 8px 30px #17374f26;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.timeline-tooltip:focus-visible{outline:3px solid #278ccc;outline-offset:2px}
.timeline-date{margin:0;font-weight:650;color:var(--brand);font-size:13px}
.timeline-empty{margin:8px 0 0;color:var(--muted)}
.timeline-report{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.timeline-report h3{font-size:14px;line-height:1.5;margin:0 0 8px;color:#1e3e55}
.timeline-report .report-status{display:inline-block;font-size:11px;padding:2px 7px}
.timeline-message{white-space:pre-wrap;margin:10px 0;color:#526777}
.timeline-meta{white-space:pre-line;font-size:11px;color:var(--muted);margin:0}
@media(max-width:760px){.timeline-card{padding:18px 12px}.history-bars{gap:1px}.history-day{height:36px;border-radius:2px}.timeline-legend{gap:8px 14px}.timeline-axis{font-size:10px}}
