*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#f5f5f5;color:#333;line-height:1.6}
.container{max-width:960px;margin:0 auto;padding:20px}
header{text-align:center;margin-bottom:30px;padding:30px 0;background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
header h1{font-size:24px;font-weight:600;margin-bottom:8px}
header .page-url{font-size:14px;color:#666;margin-bottom:16px}
.overall{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;border-radius:20px;font-size:16px;font-weight:600;color:#fff}
.overall .dot{width:10px;height:10px;border-radius:50%;background:#fff;display:inline-block}
.section{background:#fff;border-radius:8px;padding:24px;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.section h2{font-size:18px;font-weight:600;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #eee}
.site-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f0}
.site-row:last-child{border-bottom:none}
.site-name{font-weight:500}
.site-status{display:flex;align-items:center;gap:8px;font-size:14px;flex-shrink:0}
.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.status-dot.up{background:#2ecc71}
.status-dot.down{background:#e74c3c}
.status-dot.degraded{background:#f39c12}
.uptime-bar{display:flex;gap:1px;margin-top:8px;align-items:flex-end;height:30px;overflow:hidden;min-width:0}
.uptime-bar .day{flex:1;min-width:2px;border-radius:1px;cursor:pointer;position:relative}
.uptime-bar .day.up-day{background:#2ecc71;min-height:3px}
.uptime-bar .day.down-day{background:#e74c3c;min-height:3px}
.uptime-bar .day.degraded-day{background:#f39c12;min-height:3px}
.uptime-bar .day.no-data{background:#ddd;min-height:3px}
.uptime-percent{font-size:13px;color:#666;margin-top:4px}
.incident{margin-bottom:16px;padding:16px;border-radius:6px;border-left:4px solid #e74c3c;background:#fff5f5;overflow-wrap:break-word;word-break:break-word}
.incident.maintenance-item{border-left-color:#3498db;background:#f0f8ff}
.incident h3{font-size:15px;margin-bottom:4px}
.incident .meta{font-size:13px;color:#888;margin-bottom:8px}
.incident .body{font-size:14px;color:#555}
.incident .badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:12px;color:#fff;margin-right:6px}
.badge.investigating{background:#e74c3c}
.badge.identified{background:#e67e22}
.badge.monitoring{background:#f39c12}
.badge.resolved{background:#2ecc71}
.badge.scheduled{background:#3498db}
.badge.in_progress{background:#9b59b6}
.badge.completed{background:#2ecc71}
.resolved-section .incident{border-left-color:#2ecc71;background:#f0fff0}
.incident-summary{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none;padding:4px 0}
.incident-summary:hover{opacity:.8}
.expand-icon{font-size:10px;color:#999;transition:transform .2s;display:inline-block;width:14px;text-align:center;flex-shrink:0}
.incident-summary strong{font-size:14px}
.incident-summary-time{font-size:12px;color:#999;margin-left:auto;white-space:nowrap}
.incident-detail{display:block}
.incident.collapsed .incident-detail{display:none}
.toggle-all{font-size:13px;font-weight:400;color:#3498db;cursor:pointer;margin-left:12px}
.toggle-all:hover{text-decoration:underline}
.timeline{margin-top:12px;padding-left:24px;border-left:2px solid #e0e0e0;position:relative}
.timeline-item{position:relative;margin-bottom:16px;padding-left:20px}
.timeline-item:last-child{margin-bottom:0}
.timeline-dot{position:absolute;left:-31px;top:4px;width:12px;height:12px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #e0e0e0}
.timeline-dot.dot-investigating{background:#e74c3c}
.timeline-dot.dot-identified{background:#e67e22}
.timeline-dot.dot-monitoring{background:#f39c12}
.timeline-dot.dot-resolved{background:#2ecc71}
.timeline-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap}
.timeline-time{font-size:12px;color:#999}
footer{text-align:center;padding:20px;color:#999;font-size:13px}
footer a{color:#666;text-decoration:none}
.day[title]:hover::after{content:attr(title);position:absolute;bottom:110%;left:50%;transform:translateX(-50%);background:#333;color:#fff;padding:3px 8px;border-radius:4px;font-size:11px;white-space:nowrap;z-index:10}
@media(max-width:600px){
    .container{padding:10px}
    .section{padding:16px 12px}
    header{padding:20px 12px;margin-bottom:16px}
    header h1{font-size:20px}
    .overall{font-size:14px;padding:6px 14px}
    .site-row{flex-direction:column;align-items:stretch;gap:8px}
    .site-status{align-self:flex-end}
    .uptime-bar{height:24px}
    .timeline{padding-left:18px}
    .timeline-item{padding-left:16px}
    .timeline-dot{left:-25px;width:10px;height:10px}
    .timeline-header{flex-direction:column;align-items:flex-start;gap:2px}
    .incident{padding:12px;overflow-wrap:break-word;word-break:break-word}
    .incident .meta{font-size:12px}
}
