:root { color-scheme: light; --page: #f9f9f7; --surface: #fcfcfb; --text: #0b0b0b; --text-2: #52514e; --muted: #898781; --grid: #e1e0d9; --axis: #c3c2b7; --border: rgba(11, 11, 11, 0.10); --wash: rgba(11, 11, 11, 0.04); /* categorical (fixed order) */ --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948; /* status (reserved) */ --good: #0ca30c; --warning: #fab219; --serious: #ec835a; --critical: #d03b3b; --good-text: #006300; --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace; --sans: system-ui, -apple-system, "Segoe UI", sans-serif; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --page: #0d0d0d; --surface: #1a1a19; --text: #f0efec; --text-2: #c3c2b7; --muted: #898781; --grid: #2c2c2a; --axis: #383835; --border: rgba(255,255,255,0.10); --wash: rgba(255,255,255,0.05); --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767; --good-text: #0ca30c; } } :root[data-theme="dark"] { color-scheme: dark; --page: #0d0d0d; --surface: #1a1a19; --text: #f0efec; --text-2: #c3c2b7; --muted: #898781; --grid: #2c2c2a; --axis: #383835; --border: rgba(255,255,255,0.10); --wash: rgba(255,255,255,0.05); --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767; --good-text: #0ca30c; } * { box-sizing: border-box; } html, body { margin: 0; } body { background: var(--page); color: var(--text); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; } .muted { color: var(--muted); } main { max-width: 1280px; margin: 0 auto; padding: 0 16px 16px; display: grid; gap: 16px; } .top { max-width: 1280px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .brand { font-weight: 600; font-size: 15px; } .brand .muted { font-weight: 400; margin-left: 6px; } .conn { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; } .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; } .dot.live { background: var(--good); } .dot.dead { background: var(--critical); } #theme { margin-left: 8px; background: none; border: 1px solid var(--border); color: var(--text-2); border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 14px; } #theme:hover { background: var(--wash); } .card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; min-width: 0; } h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } h2 .sub { font-weight: 400; color: var(--muted); font-size: 12px; } .grid { display: grid; gap: 16px; } .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: minmax(0, 1fr); } } /* Clock */ .clock { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; } @media (max-width: 900px) { .clock { grid-template-columns: minmax(0, 1fr); } } .clock .label { color: var(--muted); font-size: 12px; letter-spacing: .12em; font-weight: 600; } .utc { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(44px, 9vw, 104px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; } .date { font-size: clamp(16px, 2.2vw, 22px); color: var(--text-2); margin-top: 4px; } .status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--border); background: var(--wash); } .status .status-icon { font-size: 12px; } .status.good .status-icon { color: var(--good); } .status.warning .status-icon { color: var(--warning); } .status.critical .status-icon { color: var(--critical); } .status.unknown .status-icon { color: var(--muted); } .tile .status { margin-top: 6px; padding: 3px 9px; font-size: 12px; gap: 6px; max-width: 100%; white-space: nowrap; overflow: hidden; } .tile .status .status-icon { font-size: 10px; } .tile .status #status-text { overflow: hidden; text-overflow: ellipsis; } .tiles + .reasons { margin: -6px 0 12px; } .reasons { margin: 6px 0 10px; padding-left: 18px; color: var(--text-2); font-size: 13px; } .reasons:empty { display: none; } /* Hover help */ [title].tile, .kv dt[title], th[title], figcaption[title], .snr-head [title] { cursor: help; } .kv dt[title], .tile[title] .tile-label, th[title], figcaption[title], .snr-head [title] { text-decoration: underline dotted var(--axis); text-underline-offset: 3px; } /* Key/value lists */ .kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; } .kv dt { color: var(--text-2); } .kv dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13px; overflow-wrap: anywhere; } .kv.compact { gap: 2px 14px; font-size: 13px; } .kv .srv[hidden] { display: none; } /* Stat tiles */ .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } .tile { background: var(--wash); border-radius: 8px; padding: 10px 12px; min-width: 0; } .tile-label { color: var(--text-2); font-size: 12px; } .tile-value { font-size: 24px; font-weight: 600; line-height: 1.2; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tile-value .of { color: var(--muted); font-weight: 400; font-size: 18px; } .tile-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } @media (max-width: 480px) { .tile-value { font-size: 19px; } } .err { color: var(--critical); font-size: 13px; margin: 10px 0 0; } /* Sources table */ .table-wrap { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: 13px; } th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 4px 6px 6px; border-bottom: 1px solid var(--axis); white-space: nowrap; } td { padding: 6px 6px; border-bottom: 1px solid var(--grid); white-space: nowrap; font-variant-numeric: tabular-nums; } td.num, th.num { text-align: right; } td.mono { font-family: var(--mono); } tr.selected td { background: var(--wash); } tr.selected td:first-child { box-shadow: inset 3px 0 0 var(--good); } .state { font-family: var(--mono); font-weight: 700; } .name-cell { max-width: 150px; overflow: hidden; text-overflow: ellipsis; } .reach { display: inline-flex; gap: 2px; vertical-align: middle; } .reach i { width: 6px; height: 10px; border-radius: 2px; background: var(--grid); display: inline-block; } .reach i.on { background: var(--text-2); } .legend-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; } /* Range toggle */ .range { margin-left: auto; display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; } .range button { background: none; border: 0; color: var(--text-2); font: inherit; font-size: 12px; font-weight: 500; padding: 4px 10px; cursor: pointer; } .range button + button { border-left: 1px solid var(--border); } .range button.on { background: var(--wash); color: var(--text); font-weight: 600; } /* Charts */ .chart { margin: 0; position: relative; min-width: 0; } .chart figcaption { font-size: 12px; color: var(--text-2); margin-bottom: 4px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .chart figcaption .lg { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); } .chart figcaption .lg i { width: 12px; height: 2px; border-radius: 1px; display: inline-block; } .chart canvas { width: 100%; height: 160px; display: block; touch-action: pan-y; } .tip { position: fixed; z-index: 10; pointer-events: none; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-variant-numeric: tabular-nums; white-space: nowrap; } .tip .t { color: var(--muted); margin-bottom: 2px; } .tip .row { display: flex; align-items: center; gap: 6px; } .tip .row i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .tip .row b { margin-left: auto; padding-left: 12px; font-weight: 600; } /* Sky plot */ .sky-wrap { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px; align-items: start; } @media (max-width: 520px) { .sky-wrap { grid-template-columns: minmax(0, 1fr); } #sky { max-width: 300px; margin: 0 auto; } } #sky { width: 100%; height: auto; display: block; } #sky .ring { fill: none; stroke: var(--grid); stroke-width: 1; } #sky .ring.horizon { stroke: var(--axis); } #sky .spoke { stroke: var(--grid); stroke-width: 1; } #sky .card-pt { fill: var(--muted); font-size: 10px; text-anchor: middle; dominant-baseline: central; } #sky .el { fill: var(--muted); font-size: 8px; } #sky .sat { stroke: var(--surface); stroke-width: 2; cursor: default; } #sky .sat.hollow { fill: var(--surface) !important; stroke-width: 2; } #sky .prn { fill: var(--text-2); font-size: 7.5px; text-anchor: middle; pointer-events: none; } .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; border: 2px solid var(--text-2); } .sw.filled { background: var(--text-2); } .const td:first-child { display: flex; align-items: center; gap: 6px; } .const td i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } /* SNR bars */ .snr-head { font-size: 12px; color: var(--text-2); margin: 14px 0 6px; } .snr { display: flex; gap: 2px; height: 130px; overflow-x: auto; overflow-y: hidden; } .snr .col { flex: 1 0 16px; max-width: 28px; display: flex; flex-direction: column; height: 100%; } .snr .v { font-size: 10px; color: var(--text-2); text-align: center; font-variant-numeric: tabular-nums; height: 14px; } .snr .track { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid var(--axis); } .snr .fill { border-radius: 4px 4px 0 0; min-height: 2px; } .snr .col.unused .fill { opacity: .35; } .snr .col:hover .fill { filter: brightness(1.15); } .snr .lab { font-size: 10px; color: var(--muted); text-align: center; padding-top: 2px; font-variant-numeric: tabular-nums; } .foot { text-align: center; font-size: 12px; padding: 4px 16px 20px; } .sources .sub2 { font-size: 11px; color: var(--muted); }