/* QingmuNet 1.3.1 — original notebook styling, local assets only. */
@font-face {
  font-family: 'Shantell Sans';
  src: url('/themes/QingmuNet/dist/fonts/shantell-sans-latin-700-normal.woff2?v=1.3.1') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fffef4;
  --card: #fffef7;
  --text: #383a36;
  --muted: #656f69;
  --border: #d6d9cc;
  --ink: #838979;
  --rule: #e5ece4;
  --margin-line: #edb9ae;
  --accent: #277c73;
  --soft: #e2f0e7;
  --green: #267569;
  --red: #bd505a;
  --amber: #8b6b18;
  --ct: #b97821;
  --cu: #7867b5;
  --cm: #288b80;
  --tape-yellow: #f0d989;
  --tape-cyan: #a1d7c9;
  --tape-pink: #ebbdc3;
  --tape-blue: #b6cce3;
  --paper-margin: 42px;
  --wash: #f4f4e7;
  --panel: #fbfaef;
  --hand: 'Shantell Sans', 'Kaiti SC', 'KaiTi', 'STKaiti', 'Chalkboard SE', -apple-system, sans-serif;
}
:root[data-appearance=dark] {
  color-scheme: dark;
  --bg: #183b32;
  --card: #21453c;
  --text: #f1f0da;
  --muted: #b2c5ba;
  --border: #476c5f;
  --ink: #a2c4b4;
  --rule: #214339;
  --margin-line: #7a6359;
  --accent: #a0ded0;
  --soft: #2e5749;
  --green: #9ddaca;
  --red: #ffaaa9;
  --amber: #eed278;
  --ct: #efc26e;
  --cu: #c6b5f0;
  --cm: #88d7c8;
  --tape-yellow: #af9450;
  --tape-cyan: #578f84;
  --tape-pink: #aa6d75;
  --tape-blue: #648ba7;
  --wash: #294c41;
  --panel: #24473d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(90deg, transparent var(--paper-margin), var(--margin-line) var(--paper-margin), var(--margin-line) calc(var(--paper-margin) + 1px), transparent calc(var(--paper-margin) + 1px)), repeating-linear-gradient(transparent 0 29px, var(--rule) 29px 30px);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  left: 12px;
  top: 100px;
  bottom: 15px;
  width: 13px;
  background: radial-gradient(circle at 6px 10px, var(--bg) 0 3px, var(--border) 3.5px 4.5px, transparent 5px) 0 0/13px 30px repeat-y;
  pointer-events: none;
}
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: wait; opacity: .5; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button svg { pointer-events: none; }
.topbar, main, footer { max-width: 1500px; margin: auto; padding-left: 66px; padding-right: 32px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 25px; }
.brand { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
.brand > div { min-width: 0; }
.brandmark { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border: 1.5px dashed var(--ink); border-radius: 11px 15px 10px 14px; background: var(--card); color: var(--text); transform: rotate(-5deg); }
.brandmark svg { width: 33px; height: 33px; }
.brand h1 { font-family: var(--hand); font-size: 26px; font-weight: 750; letter-spacing: -.5px; line-height: 1.5; margin: 0; padding: 0 7px; background: linear-gradient(transparent 26%, color-mix(in srgb, var(--tape-yellow) 64%, transparent) 26% 91%, transparent 91%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand p { margin: 5px 0 0 7px; font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.topbar nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.iconbutton { display: grid; place-items: center; width: 44px; height: 44px; border: 1px dashed var(--border); border-radius: 10px 13px 9px 12px; background: var(--card); color: var(--muted); flex-shrink: 0; }
.iconbutton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.iconbutton:hover { color: var(--accent); border-color: var(--accent); }
.adminbutton { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 15px; border: 1.5px dashed var(--accent); border-radius: 10px 8px 12px 8px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.overview { display: grid; grid-template-columns: .8fr .7fr 1.25fr 1.25fr; position: relative; padding: 20px 5px 17px; background: var(--card); border: 1.5px dashed var(--ink); border-radius: 13px 18px 12px 16px; box-shadow: 4px 5px 0 var(--tape-cyan); }
.overview::before, .node::before {
  content: '';
  position: absolute;
  top: -10px;
  left: calc(50% - 34px);
  width: 68px;
  height: 21px;
  background: color-mix(in srgb, var(--tape-yellow) 74%, transparent);
  clip-path: polygon(1% 3%, 97% 0, 100% 14%, 98% 29%, 100% 43%, 98% 59%, 100% 73%, 98% 100%, 1% 97%, 3% 82%, 0 65%, 2% 50%, 0 35%, 2% 19%);
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 1;
}
.overview > div { display: flex; flex-direction: column; min-width: 0; padding: 0 20px; }
.overview > div + div { border-left: 1px dashed var(--border); }
.label, small { font-size: 11px; color: var(--muted); }
.overview strong { margin: 5px 0 4px; font-family: var(--hand); font-size: 26px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.overview > div:nth-child(n+3) strong { font-size: 18px; }
.feed { font-size: 11px; color: var(--muted); }
.feed.live { color: var(--green); }
.feed.warn { color: var(--amber); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 22px; }
.section-title h2 { font-size: 17px; margin: 0 0 7px; font-weight: 650; }
.section-title h2 span { display: inline-grid; place-items: center; min-width: 24px; min-height: 22px; margin-left: 5px; padding: 0 4px; border: 1px dashed var(--ink); border-radius: 5px 8px 5px 7px; background: color-mix(in srgb, var(--tape-yellow) 42%, var(--card)); font-family: var(--hand); font-size: 12px; }
.section-title p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--muted); margin: 0; }
.dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; }
.ct { background: var(--ct); }
.cu { background: var(--cu); }
.cm { background: var(--cm); }
.filters { display: flex; align-items: center; gap: 9px; }
input, select { min-height: 44px; border: 1px dashed var(--ink); border-radius: 7px 10px 7px 9px; background: var(--card); padding: 9px 11px; font-size: 12px; }
input { width: 224px; }
input::placeholder { color: var(--muted); }
select { max-width: 145px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; align-items: start; }
.node { --note-color: var(--tape-cyan); position: relative; min-width: 0; padding: 23px 16px 9px; border: 1.5px dashed var(--ink); border-radius: 12px 9px 15px 9px; background: var(--card); box-shadow: 3px 4px 0 var(--note-color), 0 4px 14px #253c2d08; }
.node:nth-child(4n+2) { --note-color: var(--tape-pink); border-radius: 9px 16px 9px 12px; }
.node:nth-child(4n+3) { --note-color: var(--tape-yellow); border-radius: 14px 10px 12px 9px; }
.node:nth-child(4n+4) { --note-color: var(--tape-blue); border-radius: 10px 14px 9px 13px; }
.node::before { left: auto; right: 23px; background: color-mix(in srgb, var(--note-color) 76%, transparent); transform: rotate(4deg); }
.node:nth-child(even)::before { right: auto; left: 24px; transform: rotate(-4deg); }
.node-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.node-name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.flag { flex-shrink: 0; font-size: 19px; line-height: 1.2; transform: rotate(-3deg); }
.region-flag { display: block; width: 23px; height: 15px; border: 1px solid var(--border); border-radius: 3px; }
.node h3 { font-family: var(--hand); margin: 0; font-size: 22px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: flex; align-items: center; gap: 4px; flex-shrink: 0; border: 1px dashed color-mix(in srgb, var(--green) 55%, var(--border)); border-radius: 6px 8px 5px 8px; padding: 3px 7px; background: var(--soft); color: var(--green); font-size: 10px; white-space: nowrap; }
.status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status.off { background: color-mix(in srgb, var(--red) 10%, var(--card)); border-color: var(--red); color: var(--red); }
.status.unknown { background: var(--bg); border-color: var(--border); color: var(--muted); }
.system { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.system span:first-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.system span:last-child { font-size: 9px; letter-spacing: 1px; }
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 10px; margin-top: 15px; padding: 12px 10px; background: var(--wash); border: 1px dotted var(--border); border-radius: 7px 10px 7px 9px; }
.resource-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; grid-column: 1/-1; font-size: 11px; color: var(--text); font-weight: 500; }
.resource-note { font-size: 10px; color: var(--muted); font-weight: 400; }
.meter { min-width: 0; }
.meter-line { display: flex; align-items: baseline; flex-direction: column; gap: 2px; margin-bottom: 5px; font-size: 10px; }
.meter-line span { color: var(--muted); }
.meter-line b { font-family: var(--hand); font-size: 17px; font-weight: 700; }
.track { height: 7px; border: 1px dashed var(--border); border-radius: 3px 4px 2px 4px; background: color-mix(in srgb, var(--border) 16%, var(--card)); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 2px; background-color: var(--green); background-image: repeating-linear-gradient(125deg, #ffffff30 0 2px, transparent 2px 4px); transition: width .35s ease; }
.meter:nth-of-type(2) .track i { background-color: var(--red); }
.meter:nth-of-type(3) .track i { background-color: var(--cm); }
.meter:nth-of-type(4) .track i { background-color: var(--cu); }
.track i.hot { background-color: var(--red) !important; }
.track i.warm { background-color: var(--amber) !important; }
.capacity { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.trafficline { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 9px; border-top: 1px dashed var(--border); font-size: 10px; }
.trafficline span { color: var(--muted); }
.trafficline b { font-weight: 500; text-align: right; white-space: nowrap; line-height: 1.6; }
.trafficline b br { display: none; margin-right: 5px; }
.netsection { margin-top: 17px; padding-top: 0; }
.nettitle { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 7px; font-size: 11px; }
.nettitle b { font-weight: 650; overflow-wrap: anywhere; }
.nettitle span { color: var(--muted); white-space: nowrap; }
.latencies { display: grid; grid-template-columns: 1fr; gap: 0; }
.carrier { --carrier-color: var(--ct); display: grid; grid-template-columns: 48px 65px minmax(0, 1fr) 54px; gap: 4px; align-items: center; min-width: 0; min-height: 51px; border-bottom: 1px dotted var(--border); }
.cu-tile { --carrier-color: var(--cu); }
.cm-tile { --carrier-color: var(--cm); border-bottom: 0; }
.carrier-name { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 11px; color: var(--text); }
.carrier-label { display: flex; align-items: center; gap: 5px; }
.probe-type { margin-left: 11px; font-size: 9px; color: var(--muted); letter-spacing: .4px; }
.latency { display: flex; align-items: baseline; gap: 3px; font-family: var(--hand); font-size: 19px; font-weight: 700; color: var(--carrier-color); white-space: nowrap; }
.latency small { font-family: inherit; font-size: 9px; color: var(--muted); font-weight: 400; }
.latency.bad, .latency.wait { font-family: inherit; font-size: 10px; white-space: normal; line-height: 1.4; }
.latency.bad { color: var(--red); }
.latency.wait { color: var(--muted); }
.sample-note { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; color: var(--muted); font-size: 10px; text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
.sample-label { font-size: 9px; }
.sample-rate { font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sample-note.all-failed, .network-table .has-failures.all-failed, .detail-table .has-failures.all-failed { color: var(--red); }
.carrier:has(.all-failed) { background: color-mix(in srgb, var(--red) 4%, transparent); border-radius: 5px; }
.sample-note.warn { color: var(--amber); }
.spark-wrap { min-width: 0; }
.mini-chart { display: block; width: 100%; height: 30px; overflow: visible; }
.mini-chart path { fill: none; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mini-chart .spark-baseline { stroke: var(--border); stroke-width: .7; stroke-dasharray: 2 4; }
.mini-chart .spark-echo { opacity: .2; transform: translate(.6px, 1px); }
.failure { fill: var(--red); }
.spark-empty { display: block; text-align: center; font-size: 9px; color: var(--muted); }
.chart-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; margin-top: 7px; color: var(--muted); font-size: 9px; }
.inline-stats { margin-top: 12px; padding: 10px 8px 4px; background: var(--panel); border: 1px dotted var(--border); border-radius: 7px 9px 7px 10px; }
.inline-stats-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 11px; }
.inline-stats-heading b { font-weight: 600; }
.inline-stats-heading > span { color: var(--muted); font-size: 9px; }
.network-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; font-variant-numeric: tabular-nums; }
.network-table th, .network-table td { padding: 7px 2px; border-bottom: 1px dotted var(--border); text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.network-table thead th { font-size: 10px; line-height: 1.45; color: var(--muted); font-weight: 400; }
.network-table thead th > span { display: block; font-size: 9px; }
.network-table th:first-child { width: 19%; padding-left: 0; text-align: left; white-space: nowrap; }
.network-table th:nth-child(2) { width: 17%; }
.network-table th:nth-child(3) { width: 36%; }
.network-table th:last-child { width: 28%; }
.network-table tbody .dot { margin-right: 4px; width: 5px; height: 5px; }
.network-table tbody th { color: var(--muted); }
.network-table tbody tr:last-child th, .network-table tbody tr:last-child td { border-bottom: 0; }
.network-table .has-failures, .detail-table .has-failures { color: var(--amber); font-weight: 650; }
.stats-scope { margin: 7px 0 0; color: var(--amber); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.node-bottom { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-top: 10px; padding-top: 5px; color: var(--muted); font-size: 10px; }
.detailbutton { min-height: 44px; padding: 6px 8px; background: var(--soft); border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--border)); border-radius: 6px 8px 5px 7px; color: var(--accent); font-size: 11px; white-space: nowrap; }
.detailbutton span { display: inline-block; margin-left: 2px; }
.detailbutton:hover { text-decoration: underline; text-underline-offset: 4px; }
.empty { grid-column: 1/-1; padding: 45px 20px; border: 1.5px dashed var(--ink); border-radius: 10px 15px 9px 14px; background: var(--card); text-align: center; color: var(--muted); }
.notice { margin-top: 18px; padding: 12px 15px; border: 1px dashed var(--amber); border-radius: 8px 11px 8px 12px; background: color-mix(in srgb, var(--tape-yellow) 20%, var(--card)); color: var(--amber); font-size: 12px; overflow-wrap: anywhere; }
.explanation { margin: 28px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.8; }
footer { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 20px; padding-bottom: 25px; border-top: 1px dashed var(--ink); color: var(--muted); font-size: 10px; }
dialog { width: min(760px, calc(100% - 32px)); max-height: 85dvh; padding: 25px; background: var(--card); color: var(--text); border: 1.5px dashed var(--ink); border-radius: 13px 20px 12px 17px; box-shadow: 6px 6px 0 var(--tape-cyan), 0 18px 70px #0003; }
dialog::backdrop { background: #18352dc0; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.dialog-header h2 { font-family: var(--hand); font-size: 25px; margin: 4px 0 0; overflow-wrap: anywhere; }
.eyebrow { font-size: 12px; color: var(--accent); }
.chart { width: 100%; height: 108px; display: block; margin-top: 15px; overflow: visible; }
.chart text { fill: var(--muted); font-size: 9px; font-family: inherit; }
.chart .axis-unit { font-size: 8px; }
.chart .gridline { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
.chart path { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chart-empty { display: grid; place-items: center; height: 108px; margin-top: 15px; border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); font-size: 12px; }
.detail-chart { height: 230px; margin: 18px 0; }
.probe-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.probe-header { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.probe-header b { color: var(--text); font-weight: 600; }
input[type=range] { width: 100%; border: 0; padding: 0; margin: 5px 0 0; min-height: 36px; background: transparent; accent-color: var(--accent); cursor: ew-resize; }
input[type=range]:focus-visible { outline-offset: 0; }
.probe-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 9px 0 20px; }
.probe-readout > div { padding: 10px; border: 1px dashed var(--ink); border-radius: 6px 9px 5px 8px; background: var(--bg); min-width: 0; }
.probe-readout span { color: var(--muted); font-size: 11px; }
.probe-readout b { display: block; font-size: 11px; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.probe-failed { color: var(--red); }
.detail-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.detail-table td, .detail-table th { text-align: right; padding: 11px 8px; border-bottom: 1px dashed var(--border); }
.detail-table th { color: var(--muted); font-size: 12px; font-weight: 500; }
.detail-table td:first-child, .detail-table th:first-child { text-align: left; }
.detail-table thead th > span { display: block; font-size: 10px; font-weight: 400; }
.detail-tip { color: var(--muted); font-size: 12px; line-height: 1.9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(min-width:1500px) {
  .cards { gap: 26px; }
  .node { padding-inline: 20px; }
}
@media(max-width:1200px) {
  :root { --paper-margin: 30px; }
  .topbar, main, footer { padding-left: 50px; padding-right: 24px; }
  body::before { left: 9px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .node { padding: 22px 20px 6px; }
  .overview > div { padding-inline: 14px; }
  .overview > div:nth-child(n+3) strong { font-size: 15px; }
  .meter-line { flex-direction: row; justify-content: space-between; }
  .capacity, .resource-note { font-size: 10px; }
  .trafficline { font-size: 11px; }
  .carrier { grid-template-columns: 54px 78px minmax(0, 1fr) 60px; min-height: 53px; }
  .carrier-name { font-size: 12px; }
  .latency { font-size: 19px; }
  .sample-note { font-size: 10px; }
  .network-table { font-size: 12px; }
  .network-table thead th { font-size: 10px; }
  .network-table thead th > span { font-size: 9px; }
  .network-table th, .network-table td { padding: 8px 3px; }
  .inline-stats-heading { font-size: 11px; }
  .inline-stats-heading > span, .nettitle { font-size: 10px; }
}
@media(max-width:650px) {
  :root { --paper-margin: 8px; }
  body::before { display: none; }
  .topbar, main, footer { padding-left: 20px; padding-right: 18px; }
  .topbar { gap: 9px; padding-top: 20px; padding-bottom: 24px; }
  .brand { gap: 8px; }
  .brandmark { width: 36px; height: 36px; }
  .brandmark svg { width: 27px; height: 27px; }
  .brand h1 { font-size: 20px; padding-inline: 4px; }
  .brand p { font-size: 10px; letter-spacing: 0; margin-left: 4px; }
  .topbar nav { gap: 5px; }
  .iconbutton { width: 40px; }
  .adminbutton { font-size: 11px; padding-inline: 8px; }
  .adminbutton span { display: none; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px 0; }
  .overview > div { padding: 13px 15px; }
  .overview > div:nth-child(3) { border-left: 0; }
  .overview > div:nth-child(n+3) { border-top: 1px dashed var(--border); }
  .overview strong { font-size: 27px; }
  .overview > div:nth-child(n+3) strong { font-size: 16px; }
  .overview > div:nth-child(n+3) strong > span { display: block; }
  .overview > div:nth-child(n+3) strong > .separator { display: none; }
  .toolbar { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 26px; }
  .filters { width: 100%; }
  .filters input { width: 100%; min-width: 0; flex: 1; }
  .filters select { flex-shrink: 0; }
  .cards { grid-template-columns: 1fr; gap: 27px; }
  .node { padding: 21px 18px 5px; }
  .node-name { max-width: 74%; }
  .resources { gap: 12px 10px; }
  .meter-line { flex-direction: column; gap: 2px; }
  .meter-line b { font-size: 18px; }
  .resource-heading { font-size: 11px; }
  .nettitle, .inline-stats-heading { font-size: 11px; }
  .chart-meta, .node-bottom { font-size: 10px; }
  .sample-note { font-size: 11px; }
  .carrier { grid-template-columns: 48px 76px minmax(0, 1fr) 60px; gap: 5px; }
  .sample-label { font-size: 10px; }
  .sample-rate { font-size: 13px; }
  .network-table { font-size: 13px; }
  .network-table thead th { font-size: 11px; }
  .resources { padding: 13px 12px; }
  .inline-stats { padding: 12px 10px 6px; }
  .detailbutton { font-size: 12px; }
  dialog { padding: 20px 14px; }
  .detail-chart { height: 190px; }
  .detail-table td, .detail-table th { padding: 10px 4px; font-size: 11px; }
  .detail-tip { font-size: 11px; }
  .explanation { font-size: 10px; }
}
@media(max-width:359px) {
  .brandmark, .brand p { display: none; }
  .brand h1 { font-size: 17px; }
  .topbar nav { gap: 4px; }
  .adminbutton { padding-inline: 6px; }
  .node { padding-inline: 14px; }
  .carrier { grid-template-columns: 43px 62px minmax(0, 1fr) 51px; gap: 3px; }
  .sample-rate { font-size: 12px; }
  .sample-label { font-size: 9px; }
  .carrier-name { font-size: 11px; }
  .latency { font-size: 17px; }
  .sample-note { font-size: 9px; }
  .trafficline b br { display: block; }
  .network-table { font-size: 11px; }
  .network-table thead th { font-size: 9px; }
  .detail-table td, .detail-table th { font-size: 10px; padding-inline: 2px; }
  .probe-readout { gap: 5px; }
  .probe-readout > div { padding: 7px; }
}
@media(prefers-reduced-motion:reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
