:root { color-scheme: light dark; font: 16px/1.6 system-ui, sans-serif; color: #e8f0f2; background: #10191d; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 960px; margin: auto; padding: 56px 24px; }
.eyebrow { color: #8de1c3; font-size: .8rem; letter-spacing: .14em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.12; letter-spacing: -.045em; margin: 22px 0; }
h2, h3 { margin-top: 0; }
.intro { max-width: 700px; font-size: 1.15rem; }
.muted, footer { color: #adbdc5; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
button { font: inherit; font-weight: 650; padding: 11px 20px; border: 1px solid #56747c; border-radius: 9px; background: #23383f; color: #f0f7f7; cursor: pointer; }
button:first-child { background: #8de1c3; color: #10271e; border-color: #8de1c3; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible { outline: 3px solid #f9cb83; outline-offset: 4px; }
fieldset { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; border: 0; margin: 28px 0 20px; }
legend { font-weight: 650; margin-bottom: 10px; }
.mode { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 16px 20px; border: 1px solid #56747c; border-radius: 10px; cursor: pointer; }
.mode:has(input:checked) { border-color: #8de1c3; background: #193b32; }
.mode span { grid-column: 2; font-size: .85rem; color: #adbdc5; }
input { accent-color: #8de1c3; }
.limit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
select { font: inherit; padding: 8px 12px; border: 1px solid #56747c; border-radius: 8px; background: #18272d; color: #e8f0f2; }
progress { display: block; width: 100%; height: 8px; accent-color: #8de1c3; }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.badge { font-size: .75rem; color: #8de1c3; }
.identity { min-height: 130px; }
.identity p { margin: 6px 0; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid #30434a; }
.metrics span, .metrics strong, .metrics small { display: block; }
.metrics strong { font-size: clamp(1.7rem, 5vw, 2.6rem); font-variant-numeric: tabular-nums; line-height: 1.3; }
.metrics span, .metrics small { color: #adbdc5; font-size: .85rem; }
.note { min-height: 55px; }
a { color: #8de1c3; }
details { margin: 32px 0; color: #adbdc5; }
summary { cursor: pointer; color: #e8f0f2; }
.source { display: flex; gap: 10px; align-items: flex-start; width: calc(50% - 8px); padding: 12px; border: 1px solid #30434a; border-radius: 10px; }
.source input { margin-top: 7px; }.source span { display: block; font-size: .8rem; color: #adbdc5; }
.ws-option { display: block; margin: 18px 0; }
.route-result { background: #18272d; border: 1px solid #30434a; border-radius: 14px; padding: 22px; margin: 16px 0; }
.route-result h3 { margin-bottom: 6px; }.route-result .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
.latency { margin-top: 16px; font-size: .9rem; color: #adbdc5; }
.ceiling { color: #f9cb83; font-size: .9rem; }
@media (max-width: 560px) { .source { width: 100%; } }
.connections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0; }
section, .endpoint { background: #18272d; border: 1px solid #30434a; border-radius: 14px; padding: 24px; }
.address { overflow-wrap: anywhere; font-family: ui-monospace, monospace; }
.endpoint { margin: 16px 0; }
.endpoint p { overflow-wrap: anywhere; }
.pass { color: #8de1c3; }.fail, .missing { color: #f9cb83; }
footer { margin-top: 32px; border-top: 1px solid #30434a; padding-top: 20px; }
@media (max-width: 560px) { main { padding: 30px 18px; }.connections { grid-template-columns: 1fr; } }
