/* Tough Weathersat — stylesheet
   Shares the Tough Weather design system: token-based light/dark theme. */

:root {
    color-scheme: light;
    --page: #f9f9f7;
    --surface: #fcfcfb;
    --ink: #0b0b0b;
    --ink-2: #52514e;
    --muted: #898781;
    --grid: #e1e0d9;
    --baseline: #c3c2b7;
    --border: rgba(11, 11, 11, 0.10);
    --accent: #2a78d6;
    --series-blue: #2a78d6;
    --series-orange: #eb6834;
    --series-aqua: #1baf7a;
    --series-violet: #4a3aa7;
    --status-good: #0ca30c;
    --status-warning: #fab219;
    --status-serious: #ec835a;
    --status-critical: #d03b3b;
    --shadow: 0 1px 2px rgba(11, 11, 11, 0.04), 0 4px 16px rgba(11, 11, 11, 0.05);
}

@media (prefers-color-scheme: dark) {
    :root:where(:not([data-theme="light"])) {
        color-scheme: dark;
        --page: #0d0d0d;
        --surface: #1a1a19;
        --ink: #ffffff;
        --ink-2: #c3c2b7;
        --muted: #898781;
        --grid: #2c2c2a;
        --baseline: #383835;
        --border: rgba(255, 255, 255, 0.10);
        --accent: #3987e5;
        --series-blue: #3987e5;
        --series-orange: #d95926;
        --series-aqua: #199e70;
        --series-violet: #9085e9;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --muted: #898781;
    --grid: #2c2c2a;
    --baseline: #383835;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #3987e5;
    --series-blue: #3987e5;
    --series-orange: #d95926;
    --series-aqua: #199e70;
    --series-violet: #9085e9;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg, canvas { max-width: 100%; }

.hero-grid > *, .tile-grid > *, .split-grid > *, .image-grid > *,
.sky-grid > *, .hero-main > * {
    min-width: 0;
}

h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: 1.05rem; }
h3 { font-size: 0.95rem; }
[hidden] { display: none !important; }
a { color: var(--accent); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}
.topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.brand-sub { font-size: 0.78rem; color: var(--muted); }

.topbar-nav {
    display: inline-flex;
    background: var(--page);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
    overflow-x: auto;
    max-width: 100%;
}
.topbar-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 7px;
    white-space: nowrap;
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a.active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.topbar-status { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
    display: grid; place-items: center;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--baseline); }
.theme-toggle svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root:not([data-theme="dark"]) .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-theme="dark"]) .icon-sun { display: block; }
    :root:not([data-theme="light"]):not([data-theme="dark"]) .icon-moon { display: none; }
}

/* ---------- Layout ---------- */
.page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 20px;
}
.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.card-source { font-size: 0.8rem; color: var(--muted); }
.card-footnote {
    margin: 14px 0 0;
    font-size: 0.76rem;
    color: var(--muted);
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.section-head h2 { font-size: 1.15rem; }
.placeholder { color: var(--muted); font-size: 0.9rem; padding: 8px 0; }

.meta-label { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.meta-value { font-weight: 600; font-size: 0.95rem; }

/* ---------- Hero (next pass) ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.2fr) 1.6fr;
    gap: 16px;
    align-items: stretch;
}
.hero-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    border-top: 3px solid var(--accent);
}
.hero-label { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-countdown {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.hero-desc { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
.hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    border-top: 1px solid var(--grid);
    padding-top: 14px;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 1px; }

/* ---------- Tiles ---------- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.tile { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; justify-content: center; }
.tile-label { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tile-value { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }
.tile-value small { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.tile-sub { font-size: 0.78rem; color: var(--ink-2); }

.rate-meter {
    height: 6px;
    border-radius: 3px;
    background: var(--grid);
    overflow: hidden;
    margin: 6px 0 3px;
}
.rate-meter-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent);
}

/* ---------- Badges ---------- */
.badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--page);
    border: 1px solid var(--border);
    color: var(--ink-2);
    white-space: nowrap;
}
.badge-good { color: var(--status-good); border-color: currentColor; }
.badge-warn { color: var(--status-serious); border-color: currentColor; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--page);
    color: var(--ink-2);
    white-space: nowrap;
}
.status-badge::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
}
.st-received { color: var(--status-good); border-color: currentColor; }
.st-received::before { background: var(--status-good); }
.st-live { color: var(--status-critical); border-color: currentColor; }
.st-live::before { background: var(--status-critical); animation: pulse 1.2s ease-in-out infinite; }
.st-missed { color: var(--muted); }
.st-missed::before { background: var(--muted); }
.st-scheduled { color: var(--ink-2); }
.st-scheduled::before { background: var(--accent); }
@keyframes pulse { 50% { opacity: 0.35; } }

.elev {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 1px 9px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-variant-numeric: tabular-nums;
}
.elev-high { color: var(--status-good); }
.elev-mid { color: var(--accent); }
.elev-low { color: var(--muted); }

/* ---------- SAGE briefing ---------- */
.sage-card { border-top: 3px solid var(--accent); }
.sage-mark {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 9px;
    vertical-align: 1px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.sage-summary {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}
.briefing-rows { display: flex; flex-direction: column; }
.briefing-row {
    display: flex;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--grid);
    font-size: 0.9rem;
}
.briefing-row:last-child { border-bottom: none; }
.briefing-when { flex: 0 0 80px; color: var(--muted); font-weight: 500; }
.briefing-text { color: var(--ink-2); }
.footnote-link { color: var(--accent); text-decoration: none; }
.footnote-link:hover { text-decoration: underline; }

/* ---------- Tables ---------- */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th, .data-table td {
    text-align: left;
    padding: 9px 12px 9px 0;
    border-bottom: 1px solid var(--grid);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table thead th {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 600;
}
.data-table .cell-muted { color: var(--muted); }
.data-table .cell-strong { font-weight: 600; }
tr.row-soon td { background: color-mix(in srgb, var(--accent) 6%, transparent); }

/* ---------- Split layout ---------- */
.split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    align-items: start;
}

/* ---------- Image grid ---------- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.image-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 11, 11, 0.08), 0 8px 24px rgba(11, 11, 11, 0.08);
}
.image-card a.thumb {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--grid);
}
.image-card a.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-info { padding: 10px 14px 12px; }
.image-satellite { font-weight: 600; font-size: 0.9rem; }
.image-time { font-size: 0.8rem; color: var(--ink-2); }
.image-meta { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-2);
}
.empty-state h3 { margin-bottom: 4px; }
.empty-state p { margin: 2px 0; font-size: 0.9rem; color: var(--muted); }
.empty-icon {
    width: 44px; height: 44px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--page);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    color: var(--muted);
}
.empty-icon svg { width: 22px; height: 22px; }

/* ---------- Controls ---------- */
.select-control, .date-control {
    font: inherit;
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--page);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 12px;
}
.select-control:hover, .date-control:hover { border-color: var(--baseline); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-2);
    background: var(--page);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 14px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover { color: var(--ink); border-color: var(--baseline); }
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn.disabled { opacity: 0.45; pointer-events: none; }
.btn svg { width: 15px; height: 15px; }
.btn-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }

.control-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.pagination .page-info { font-size: 0.85rem; color: var(--muted); }

/* ---------- Timeline (schedule) ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
    display: flex;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--grid);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time {
    flex: 0 0 56px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
}
.timeline-item.past .timeline-time { color: var(--muted); font-weight: 500; }
.timeline-content {
    flex: 1;
    min-width: 0;
    border-left: 3px solid var(--grid);
    padding-left: 14px;
}
.timeline-item.current .timeline-content { border-left-color: var(--status-critical); }
.timeline-item.future .timeline-content { border-left-color: var(--accent); }
.timeline-item.received-item .timeline-content { border-left-color: var(--status-good); }
.timeline-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.timeline-sat { font-weight: 600; }
.timeline-item.past .timeline-sat { color: var(--ink-2); }
.timeline-details {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--ink-2);
}
.timeline-details .meta-label { margin-right: 5px; }
.timeline-details span { white-space: nowrap; }
.timeline-view { margin-top: 6px; }

.date-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 13px;
    background: var(--page);
    text-decoration: none;
    white-space: nowrap;
}
.date-chip:hover { color: var(--ink); border-color: var(--baseline); }
.date-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}
.date-chip .chip-note { font-size: 0.72rem; opacity: 0.75; }

/* ---------- Station / metadata grids ---------- */
.sky-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 16px;
}
.sky-item { display: flex; flex-direction: column; gap: 1px; }

/* ---------- Charts ---------- */
.chart-box { position: relative; height: 260px; }

/* ---------- Image viewer ---------- */
.view-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.image-view {
    background: var(--page);
    border: 1px solid var(--grid);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}
.image-view img { display: block; width: 100%; height: auto; }
.view-title-sub { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.view-section { margin-top: 18px; }
.view-section h3 {
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--grid);
    padding-top: 20px;
}
.footer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
}
.footer-stat { display: flex; flex-direction: column; gap: 1px; }
.footer-note {
    margin: 16px 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}
.footer-note a { color: var(--accent); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; }
    .sky-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .page { padding: 16px; gap: 22px; }
    .topbar-inner { padding: 10px 16px; }
    .brand-sub { display: none; }
    .hero-countdown { font-size: 2.4rem; }
    .sky-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-time { flex-basis: 46px; }
}
@media (max-width: 480px) {
    .card { padding: 14px 16px; }
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .tile-value { font-size: 1.25rem; }
    .hero-countdown { font-size: 2.1rem; }
    .image-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .chart-box { height: 220px; }
}

/* ===================== Tough Status ===================== */
.banner {
    display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 22px 26px; margin-bottom: 20px; box-shadow: var(--shadow);
    border-left: 6px solid var(--status-good);
}
.banner-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--status-good);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--status-good) 18%, transparent); }
.banner-title { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 3px; }
.banner-sub { margin: 0; color: var(--ink-2); font-size: .95rem; }
.banner-meta { font-size: .82rem; color: var(--ink-2); text-align: right; white-space: nowrap; }
.banner-meta .muted { color: var(--muted); }
.banner-degraded, .banner-notice { border-left-color: var(--status-warning); }
.banner-degraded .banner-dot, .banner-notice .banner-dot { background: var(--status-warning);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--status-warning) 18%, transparent); }
.banner-outage { border-left-color: var(--status-critical); }
.banner-outage .banner-dot { background: var(--status-critical);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--status-critical) 18%, transparent); }
.banner-unknown { border-left-color: var(--baseline); }
.banner-unknown .banner-dot { background: var(--baseline); box-shadow: none; }

.comp-list { display: flex; flex-direction: column; }
.comp { padding: 14px 0; border-bottom: 1px solid var(--grid); }
.comp:last-child { border-bottom: none; padding-bottom: 4px; }
.comp-main { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.comp-name a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: .98rem; }
.comp-name a:hover { color: var(--accent); }
.comp-desc { display: block; font-size: .8rem; color: var(--muted); }
.comp-right { display: flex; align-items: center; gap: 10px; }
.comp-stat { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.comp-stat.warn { color: var(--status-serious); font-weight: 600; }

.status-pill {
    display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 99px;
    letter-spacing: .01em; white-space: nowrap;
}
.st-operational { background: color-mix(in srgb, var(--status-good) 15%, transparent); color: var(--status-good); }
.st-degraded    { background: color-mix(in srgb, var(--status-warning) 20%, transparent); color: #9a6a00; }
:root[data-theme="dark"] .st-degraded { color: var(--status-warning); }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .st-degraded { color: var(--status-warning); } }
.st-outage      { background: color-mix(in srgb, var(--status-critical) 15%, transparent); color: var(--status-critical); }
.st-offline     { background: var(--grid); color: var(--ink-2); }
.st-unknown     { background: var(--grid); color: var(--muted); }

.uptime-bar { display: flex; gap: 2px; height: 26px; }
.uptime-bar span { flex: 1; border-radius: 2px; background: var(--grid); min-width: 0; }
.uptime-bar .u-good { background: var(--status-good); }
.uptime-bar .u-warn { background: var(--status-warning); }
.uptime-bar .u-bad  { background: var(--status-critical); }
.uptime-bar .u-none { background: var(--grid); }
.uptime-foot { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }

.feed-list { display: flex; flex-direction: column; }
.feed { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--grid); }
.feed:last-child { border-bottom: none; }
.feed-body { flex: 1; min-width: 0; }
.feed-name { font-weight: 600; font-size: .95rem; }
.feed-detail { font-size: .84rem; color: var(--ink-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--baseline); }
.dot-operational { background: var(--status-good); }
.dot-degraded { background: var(--status-warning); }
.dot-outage { background: var(--status-critical); }
.dot-offline { background: var(--baseline); }
.dot-sev-crit { background: var(--status-critical); }
.dot-sev-warn { background: var(--status-warning); }
.dot-sev-good { background: var(--status-good); }
.dot-sev-info { background: var(--accent); }

.inc-day { margin-top: 10px; }
.inc-day h3 { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 8px; }
.inc { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--grid); }
.inc:last-child { border-bottom: none; }
.inc .dot { margin-top: 6px; }
.inc-title { font-weight: 600; font-size: .93rem; }
.inc-time { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 6px; font-variant-numeric: tabular-nums; }
.inc-msg { font-size: .86rem; color: var(--ink-2); }
.empty { color: var(--muted); font-size: .92rem; margin: 4px 0; }

@media (max-width: 720px) {
    .banner { grid-template-columns: auto 1fr; }
    .banner-meta { grid-column: 1 / -1; text-align: left; white-space: normal; }
    .uptime-bar { height: 20px; gap: 1px; }
}
