:root {
  color-scheme: light;
  --ink: #1a2034;
  --soft: #556074;
  --line: #dde1ea;
  --paper: #f4f5f9;
  --purple: #5143ba;
  --lime: #ccfa9e;
  --font: "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font: 16px/1.45 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #7753e7; outline-offset: 4px;
}
.hero a:focus-visible, .hero button:focus-visible { outline-color: white; }
.skip, .sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { clip-path: none; width: auto; height: auto; top: 8px; left: 8px; padding: 12px 18px; z-index: 9; background: white; }
.wrap { width: min(1168px, calc(100% - 64px)); margin-inline: auto; }
.mast { background: #fafbfe; border-bottom: 1px solid var(--line); }
.mast-inner, .foot-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.55rem; font-weight: 750; letter-spacing: -.056em; }
.wordmark img { display: block; flex: none; }
nav { display: flex; gap: 27px; }
nav a, .quiet-link, .foot-inner > a:last-child:not(.wordmark) { text-decoration: none; font-size: .9rem; color: var(--soft); font-weight: 550; padding-block: 8px; }
nav a:hover, .quiet-link:hover, .foot-inner > a:hover { color: var(--purple); }
section[id], #check { scroll-margin-top: 16px; }
main.wrap { padding-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.72fr) minmax(280px,1fr); gap: 16px; }
.hero, .panel, .metric { border-radius: 20px; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-width: 0; background: linear-gradient(110deg, #262354 5%, #343079 60%, #4a3f99); color: #fff; }
.hero-content { position: relative; z-index: 1; padding: 36px 40px 37px; }
.eyebrow { font-size: .73rem; font-weight: 680; letter-spacing: .115em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 9px; color: #e4defb; }
.beacon { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px #ccfa9e18; }
h1 { margin: 22px 0 16px; font-size: clamp(2.65rem,4.65vw,4.25rem); line-height: .99; letter-spacing: -.065em; font-weight: 670; }
.hero-desc { color: #ebe9fa; font-size: .97rem; line-height: 1.5; max-width: 390px; }
.hero-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.run { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 10px 19px; border: 0; border-radius: 11px; font-weight: 720; font-size: .95rem; color: #202e29; background: var(--lime); text-decoration: none; }
.run:hover:enabled, .run[href]:hover { background: #ddffba; }
.run:disabled { opacity: .65; }
.run[data-state="running"] { background: #f6e9c4; }
.run-icon { display: block; width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.run[data-state="running"] .run-icon { border: 0; width: 10px; height: 10px; border-radius: 2px; background: currentColor; }
.volume { color: #e0dcfa; font-family: var(--mono); font-size: .77rem; }
.orb { position: absolute; z-index: 0; pointer-events: none; width: 410px; height: 410px; right: -152px; top: -72px; border-radius: 50%; transform: rotate(-28deg) scaleX(1.13); background: radial-gradient(closest-side at 53% 42%,#8c7be72a,transparent 86%); }
.orb i { position: absolute; inset: 3%; border: 1px solid #a99ef04d; border-radius: 50%; }
.orb i:nth-child(2) { inset: 11%; border-color: #c9bfff68; }
.orb i:nth-child(3) { inset: 20%; }
.orb i:nth-child(4) { inset: 29%; border-color: #ccfa9e9c; }
.orb i:nth-child(5) { inset: 38%; }
.orb b { position: absolute; height: 11px; width: 11px; left: 29%; top: 46%; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #ccfa9e19; }
.panel, .metric { background: #fff; border: 1px solid var(--line); min-width: 0; }
.panel { padding: 25px 27px; }
.panel-title { font-size: 1.28rem; letter-spacing: -.038em; line-height: 1.2; font-weight: 675; }
.connection { display: flex; flex-direction: column; padding: 29px 27px 20px; }
.address-heading { margin-top: 26px; min-height: 21px; display: flex; align-items: center; gap: 9px; color: var(--soft); font-size: .82rem; }
.family, .code { font: 600 .7rem/1.4 var(--mono); border-radius: 4px; padding: 2px 5px; background: #e8f4ec; color: #26654a; }
.code { background: #f0eff8; color: #4e457b; }
.address { font: 600 clamp(1.42rem,2.5vw,2.2rem)/1.18 var(--mono); letter-spacing: -.055em; margin: 6px 0 11px; overflow-wrap: anywhere; }
.address[data-family="6"] { font-size: clamp(1.13rem,1.65vw,1.57rem); }
.tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.small-action { color: #403685; border: 1px solid #dedcf0; background: #f8f7fd; border-radius: 7px; padding: 6px 9px; font-size: .78rem; font-weight: 600; }
.small-action:hover:enabled, .export:enabled:hover { background: #edeafa; }
.small-action:disabled, .text-btn:disabled, .export:disabled { color: #657086; background-color: #f6f7fa; }
.connection-data { margin-top: auto; padding-top: 21px; }
.connection-data > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 9px 0; font-size: .85rem; }
.connection-data dt { color: var(--soft); }
.connection-data dd { text-align: right; font-weight: 630; }
.info-message { font-size: .77rem; color: var(--soft); }
.info-message:not(:empty) { padding-top: 4px; }
.noscript { padding: 12px; margin: 12px 0; background: #fff2d6; }
.measures { margin-top: 32px; }
.section-head,.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-head { margin-bottom: 12px; }
.section-head h2,.method h2 { font-size: clamp(1.55rem,2.4vw,2.1rem); font-weight: 660; line-height: 1.17; letter-spacing: -.05em; }
.status { display: flex; align-items: baseline; gap: 7px; color: var(--soft); font-size: .84rem; }
.status > span { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #8390a7; }
.status[data-state="running"] > span { background: #6550cc; }
.status[data-state="done"] > span { background: #168366; }
.status[data-state="failed"] > span,.status[data-state="stopped"] > span { background: #ac6328; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.metric { padding: 19px 22px 18px; }
.metric h3 { display: flex; align-items: center; gap: 9px; font-weight: 630; font-size: .96rem; }
.icon-tile { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.icon-tile svg,.export svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ping .icon-tile { background: #ece9fc; color: #6651b9; }
.down .icon-tile { background: #e1f4e9; color: #217555; }
.up .icon-tile { background: #e2edfa; color: #356eaa; }
.metric[data-state="active"] { border-color: #9286d7; box-shadow: 0 0 0 1px #9286d7; }
.reading { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 12px 0 5px; }
.reading strong { font: 580 clamp(1.8rem,3vw,2.8rem)/1.14 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.065em; overflow-wrap: anywhere; }
.reading span,.unit { font: .78rem var(--mono); color: var(--soft); }
.note,.sub,.empty,.range,.method-sub { color: var(--soft); font-size: .85rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 14px; margin-top: 15px; }
.sub { margin-top: 5px; }
.plot { margin-top: 18px; }
.plot svg { display: block; width: 100%; height: 73px; }
.grid-lines { fill: none; stroke: #e1e4ee; stroke-width: 1; stroke-dasharray: 3 4; }
.bars { fill: #7360c5; }
.samples { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; padding: 0; text-align: center; }
.samples li { display: grid; gap: 2px; min-width: 0; font: .75rem/1.3 var(--mono); }
.samples li span { color: var(--soft); margin-top: 4px; }
.samples b { font-weight: 650; overflow-wrap: anywhere; }
.range { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.range strong { color: var(--ink); font-family: var(--mono); }
.history { display: flex; flex-direction: column; align-items: stretch; }
.text-btn { background: none; color: var(--purple); border: 0; border-radius: 5px; padding: 5px; font-size: .82rem; }
.empty { margin: auto 0; padding: 19px 0; max-width: 305px; }
.export { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 39px; border: 1px solid #dedcf0; background: #f5f3fc; color: #443880; border-radius: 8px; padding: 6px 10px; font-size: .8rem; font-weight: 600; }
.export span { font: .69rem var(--mono); }
.export-status:not(:empty) { margin-top: 6px; font-size: .79rem; color: var(--soft); }
.table-scroll { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font: .78rem/1.4 var(--mono); }
td, th { text-align: right; border-bottom: 1px solid var(--line); padding: 5px 3px; white-space: nowrap; }
td:first-child, th:first-child { text-align: left; }
th { color: var(--soft); font: 550 .72rem var(--font); }
.method { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.36fr); gap: 20px; margin: 34px 0 40px; padding-top: 24px; border-top: 1px solid #cfd4df; }
.method-sub { margin-top: 6px; }
details { border-bottom: 1px solid #d5dae5; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; cursor: pointer; font-weight: 610; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #59469f; font: 1.3rem var(--mono); }
details[open] summary::after { content: "−"; }
details p { color: #4b566b; padding: 0 25px 13px 2px; font-size: .92rem; }
.foot { border-top: 1px solid var(--line); }
.foot-inner { min-height: 74px; }
.foot-inner .wordmark { font-size: 1.1rem; }
.not-found { min-height: 100vh; display: flex; flex-direction: column; }
.not-found .lost { flex: 1; padding-block: clamp(30px,9vh,110px); }
.lost .hero-content { padding: clamp(28px,6vw,75px); }
.lost .run { margin-top: 24px; }
@media(max-width:930px) {
  .wrap { width: calc(100% - 42px); }
  .hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(250px,1fr); }
  .hero-content { padding: 29px; }
  .orb { right: -225px; opacity: .78; }
  .connection, .panel { padding: 22px; }
  .detail-grid { grid-template-columns: 1fr 1.03fr; }
}
@media(max-width:690px) {
  .wrap { width: calc(100% - 32px); }
  .mast-inner { min-height: 60px; }
  .wordmark { font-size: 1.3rem; gap: 7px; }
  .wordmark img { width: 28px; height: 28px; }
  nav { gap: 13px; }
  nav a { font-size: .77rem; }
  main.wrap { padding-top: 16px; }
  .hero-grid,.detail-grid,.method { grid-template-columns: minmax(0,1fr); }
  .hero-content { padding: 27px; }
  .orb { right: -150px; opacity: .72; }
  .hero-desc { max-width: 325px; }
  .connection,.panel,.metric { border-radius: 15px; }
  .connection { padding: 18px 20px; }
  .address-heading { margin-top: 13px; }
  .connection-data { padding-top: 13px; }
  .measures { margin-top: 23px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .metric-grid { gap: 7px; }
  .metric { padding: 12px; }
  .metric h3 { align-items: flex-start; flex-direction: column; gap: 5px; font-size: .85rem; }
  .note { font-size: .74rem; }
  .reading { gap: 3px 5px; margin: 7px 0; }
  .reading strong { font-size: 1.65rem; }
  .method { gap: 10px; margin: 25px 0 27px; }
}
@media(max-width:415px) {
  .wrap { width: calc(100% - 24px); }
  nav { gap: 10px; }
  nav a:first-child { display: none; }
  .hero-content { padding: 23px 20px; }
  .orb { right: -255px; }
  .metric { padding: 10px 8px; }
  .metric h3 { font-size: .79rem; }
  .reading { flex-direction: column; }
  .reading strong { font-size: 1.5rem; }
  .panel { padding: 19px 16px; }
  .hero-action { gap: 9px; }
}
@media(prefers-reduced-motion:no-preference) {
  .run, .small-action, nav a { transition: background-color .15s, color .15s; }
}
