:root {
  color-scheme: light;
  --navy-950:#07151f; --navy-900:#0b1d29; --navy-800:#123143;
  --ink:#152632; --muted:#667985; --faint:#8da0aa; --line:#dce5e9;
  --surface:#ffffff; --canvas:#f3f7f8; --cyan:#0b7189; --cyan-soft:#e2f3f6;
  --green:#14805e; --green-soft:#e2f5ed; --amber:#b46818; --amber-soft:#fff0dc;
  --red:#bc3f45; --red-soft:#fbe7e9; --slate:#6b7c87; --slate-soft:#edf1f3;
  --shadow:0 14px 38px rgba(14,38,52,.07);
}
* { box-sizing:border-box; }
html { min-width:320px; background:var(--canvas); }
body { margin:0; color:var(--ink); background:linear-gradient(180deg,var(--navy-950) 0 168px,var(--canvas) 168px 100%); font:16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button,input,select { font:inherit; }
button { cursor:pointer; }
.app-shell { min-height:100vh; }
.app-header { height:72px; max-width:1480px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:space-between; gap:24px; color:#fff; }
.brand { display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:10px; background:rgba(255,255,255,.07); }
.brand-mark::before,.brand-mark::after,.brand-mark span { content:""; position:absolute; border:1.5px solid #55d7c2; border-radius:50%; }
.brand-mark { position:relative; }
.brand-mark::before { width:20px; height:20px; opacity:.35; }
.brand-mark::after { width:11px; height:11px; opacity:.65; }
.brand-mark span { width:4px; height:4px; border:0; background:#7de8d7; box-shadow:0 0 10px #62e2ce; }
.brand strong,.brand small { display:block; }
.brand strong { font-size:.95rem; letter-spacing:-.01em; }
.brand small { margin-top:1px; color:#9fb5c1; font-size:.75rem; }
.header-actions { display:flex; align-items:center; gap:10px; }
.source-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:#c5d4db; font-size:.78rem; }
.source-light,.button-light { width:7px; height:7px; border-radius:50%; background:#7de8d7; box-shadow:0 0 0 4px rgba(125,232,215,.11); }
.icon-button,.primary-button,.secondary-button { border:0; border-radius:10px; font-weight:750; transition:transform .15s ease, background .15s ease, opacity .15s ease; }
.icon-button { width:40px; height:40px; display:grid; place-items:center; color:#cad9df; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); }
.icon-button svg,.search-field svg { width:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.primary-button { min-height:40px; padding:0 16px; display:inline-flex; align-items:center; justify-content:center; gap:9px; color:#082027; background:#7de8d7; }
.primary-button:hover,.icon-button:hover { transform:translateY(-1px); }
.primary-button:disabled,.icon-button:disabled { cursor:wait; opacity:.55; transform:none; }
.secondary-button { min-height:40px; padding:0 16px; color:var(--ink); background:#edf2f4; }
main { max-width:1480px; margin:0 auto; padding:34px 32px 64px; }
.page-heading { min-height:102px; display:flex; justify-content:space-between; align-items:flex-start; gap:28px; color:#fff; }
.kicker,.panel-kicker { margin:0 0 5px; font-size:.72rem; line-height:1.2; font-weight:850; letter-spacing:.13em; }
.kicker { color:#69dcc9; }
.panel-kicker { color:var(--cyan); }
h1,h2,p { margin-top:0; }
h1 { margin-bottom:4px; font-size:clamp(1.75rem,3vw,2.35rem); line-height:1.1; letter-spacing:-.045em; }
h2 { margin-bottom:0; font-size:1.08rem; line-height:1.25; letter-spacing:-.025em; }
.subtle { margin:0; color:#a9bec7; font-size:.9rem; }
.run-state { display:inline-flex; align-items:center; gap:8px; margin-top:8px; padding:8px 12px; border:1px solid rgba(255,255,255,.15); border-radius:999px; color:#c7d7dd; font-size:.8rem; font-weight:750; }
.run-state span { width:8px; height:8px; border-radius:50%; background:#8197a1; }
.run-state.good span { background:#7de8d7; box-shadow:0 0 0 4px rgba(125,232,215,.12); }
.run-state.alert span { background:#ffb45f; }
.run-state.bad span { background:#ff777e; }
.summary-grid { display:grid; grid-template-columns:1.45fr repeat(4,1fr); gap:14px; margin-bottom:18px; }
.summary-card { min-height:132px; padding:20px; position:relative; overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.summary-card.primary { display:flex; align-items:center; justify-content:space-between; gap:18px; color:#fff; border-color:transparent; background:linear-gradient(135deg,#0c3446,#0b5462); }
.summary-card.primary::after { content:""; position:absolute; width:180px; height:180px; right:-80px; top:-92px; border:1px solid rgba(125,232,215,.18); border-radius:50%; box-shadow:0 0 0 22px rgba(125,232,215,.035),0 0 0 46px rgba(125,232,215,.025); }
.summary-label { color:var(--muted); font-size:.78rem; font-weight:800; letter-spacing:.02em; }
.summary-card.primary .summary-label { color:#b7d2d8; }
.summary-value { margin-top:10px; font-size:2.25rem; line-height:1; font-weight:850; letter-spacing:-.05em; }
.summary-note { margin-top:10px; color:var(--muted); font-size:.78rem; }
.summary-card.primary .summary-note { color:#b6cdd4; }
.score-ring { --score:0; width:78px; height:78px; position:relative; z-index:1; display:grid; place-items:center; flex:none; border-radius:50%; background:conic-gradient(#7de8d7 calc(var(--score) * 1%),rgba(255,255,255,.12) 0); }
.score-ring::before { content:""; width:62px; height:62px; position:absolute; border-radius:50%; background:#0d4252; }
.score-ring strong { position:relative; font-size:1.15rem; }
.summary-skeleton { min-height:132px; border-radius:16px; background:linear-gradient(90deg,#fff,#edf3f5,#fff); background-size:220% 100%; animation:skeleton 1.5s infinite; }
@keyframes skeleton { to { background-position:-220% 0; } }
.insights-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(290px,.7fr); gap:18px; margin-bottom:18px; }
.panel { background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.panel-heading,.results-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 22px; border-bottom:1px solid #e7edef; }
.quiet-badge { padding:5px 9px; border-radius:999px; color:var(--muted); background:#f0f4f5; font-size:.75rem; font-weight:750; }
.chart-wrap { min-height:208px; padding:18px 20px 14px; display:flex; align-items:center; }
.chart-wrap svg { width:100%; height:180px; overflow:visible; }
.chart-grid { stroke:#dfe7ea; stroke-width:1; }
.chart-area { fill:url(#areaGradient); }
.chart-line { fill:none; stroke:#0d8592; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.chart-point { fill:#fff; stroke:#0d8592; stroke-width:2; }
.chart-label { fill:#7a8c95; font-size:11px; }
.chart-empty { width:100%; text-align:center; color:var(--muted); font-size:.9rem; }
.platform-list { padding:8px 20px 17px; }
.platform-row { padding:12px 2px; border-bottom:1px solid #e9eef0; }
.platform-row:last-child { border-bottom:0; }
.platform-meta { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; font-size:.85rem; }
.platform-meta strong { font-size:.87rem; }
.platform-meta span { color:var(--muted); }
.platform-track { height:7px; overflow:hidden; display:flex; border-radius:999px; background:#e9eff1; }
.platform-track span { height:100%; }
.platform-track .up { background:var(--green); }
.platform-track .attention { background:var(--amber); }
.platform-track .down { background:var(--red); }
.platform-track .unknown { background:var(--slate); }
.results-panel { overflow:hidden; }
.results-heading { align-items:flex-end; }
.filters { display:flex; align-items:center; gap:9px; }
.search-field { min-width:240px; height:40px; padding:0 12px; display:flex; align-items:center; gap:9px; color:var(--faint); border:1px solid #d5e0e4; border-radius:10px; background:#fff; }
.search-field input { width:100%; border:0; outline:0; color:var(--ink); background:transparent; }
select { height:40px; padding:0 35px 0 12px; color:var(--ink); border:1px solid #d5e0e4; border-radius:10px; background:#fff; }
.table-wrap { overflow:auto; }
table { width:100%; min-width:1040px; border-collapse:collapse; }
th,td { padding:15px 16px; text-align:left; border-top:1px solid #e7edef; vertical-align:middle; }
th { color:#748791; background:#f8fafb; font-size:.72rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
tbody tr { transition:background .15s ease; }
tbody tr:hover { background:#f8fbfb; }
.site-cell { min-width:240px; }
.site-cell a { color:var(--ink); font-weight:780; text-decoration:none; }
.site-cell a:hover { color:var(--cyan); text-decoration:underline; }
.cell-meta { max-width:245px; margin-top:3px; overflow:hidden; display:block; color:var(--muted); font-size:.74rem; font-weight:450; text-overflow:ellipsis; white-space:nowrap; }
.status-pill { display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border-radius:999px; font-size:.75rem; font-weight:820; white-space:nowrap; }
.status-pill::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.status-pill.up { color:var(--green); background:var(--green-soft); }
.status-pill.attention { color:var(--amber); background:var(--amber-soft); }
.status-pill.verifying { color:#9b661f; background:#fff4ce; }
.status-pill.down { color:var(--red); background:var(--red-soft); }
.status-pill.unknown { color:var(--slate); background:var(--slate-soft); }
.response-cell { min-width:115px; }
.latency-bar { width:72px; height:4px; margin-top:5px; overflow:hidden; border-radius:999px; background:#e7edef; }
.latency-bar span { display:block; height:100%; border-radius:inherit; background:var(--cyan); }
.certificate { font-size:.82rem; font-weight:720; }
.certificate.good { color:var(--green); }
.certificate.warn { color:var(--amber); }
.evidence-cell { max-width:290px; color:var(--muted); font-size:.82rem; }
.empty-results { padding:42px; text-align:center; color:var(--muted); }
.status-guide { margin-top:18px; padding:16px 18px; display:grid; grid-template-columns:repeat(5,1fr); gap:12px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.65); }
.status-guide>div { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:9px; align-items:center; }
.status-guide .status-dot { grid-row:1 / 3; width:9px; height:9px; border-radius:50%; }
.status-dot.up { background:var(--green); }.status-dot.attention { background:var(--amber); }.status-dot.verifying { background:#c89228; }.status-dot.down { background:var(--red); }.status-dot.unknown { background:var(--slate); }
.status-guide strong { font-size:.8rem; }.status-guide small { color:var(--muted); font-size:.7rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
dialog { width:min(430px,calc(100vw - 32px)); padding:0; border:0; border-radius:18px; box-shadow:0 30px 90px rgba(3,20,30,.28); }
dialog::backdrop { background:rgba(4,20,30,.58); backdrop-filter:blur(3px); }
dialog form { padding:28px; }
.dialog-icon { width:42px; height:42px; margin-bottom:16px; display:grid; place-items:center; color:var(--green); border-radius:12px; background:var(--green-soft); }
dialog h2 { font-size:1.25rem; } dialog p { margin:7px 0 20px; color:var(--muted); font-size:.9rem; }
dialog label { display:grid; gap:6px; font-size:.8rem; font-weight:750; }
dialog input { height:43px; padding:0 12px; border:1px solid #ccd9de; border-radius:9px; }
.dialog-actions { margin-top:20px; display:flex; justify-content:flex-end; gap:9px; }
.toast { position:fixed; right:22px; bottom:22px; max-width:410px; padding:13px 16px; z-index:20; color:#fff; border-radius:11px; background:var(--navy-900); box-shadow:0 16px 40px rgba(4,20,30,.25); font-size:.85rem; }
@media (max-width:1120px) { .summary-grid { grid-template-columns:repeat(4,1fr); }.summary-card.primary { grid-column:span 2; }.insights-grid { grid-template-columns:1fr; }.platform-list { display:grid; grid-template-columns:repeat(3,1fr); gap:0 22px; } }
@media (max-width:800px) { body { background:linear-gradient(180deg,var(--navy-950) 0 218px,var(--canvas) 218px 100%); }.app-header { height:auto; min-height:72px; padding:14px 18px; }.source-badge { display:none; }.primary-button { padding:0 12px; }.page-heading { min-height:142px; }.summary-grid { grid-template-columns:repeat(2,1fr); }.summary-card.primary { grid-column:span 2; }.results-heading { align-items:flex-start; flex-direction:column; }.filters { width:100%; flex-wrap:wrap; }.search-field { width:100%; min-width:0; }.filters label:not(.search-field) { flex:1; }.filters select { width:100%; }.status-guide { grid-template-columns:repeat(2,1fr); }.platform-list { grid-template-columns:1fr; } }
@media (max-width:520px) { main { padding:28px 14px 42px; }.app-header { padding:13px 14px; }.brand small { display:none; }.header-actions { gap:7px; }.primary-button { font-size:.8rem; }.page-heading { flex-direction:column; gap:8px; }.run-state { margin-top:0; }.summary-grid { gap:10px; }.summary-card { min-height:116px; padding:16px; }.summary-card.primary { min-height:130px; }.summary-value { font-size:1.85rem; }.panel-heading,.results-heading { padding:18px; }.chart-wrap { padding:12px 10px; }.status-guide { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
