:root {
  color-scheme: light;
  --bg: #f5f5f2;
  --panel: #ffffff;
  --soft: #f6f7f5;
  --text: #26322e;
  --muted: #7a837e;
  --line: #e7eae5;
  --accent: #d78a55;
  --accent-soft: #fbf1e9;
  --green: #418b70;
  --red: #bb6c59;
  --ink: #293b33;
  --on-ink: #fff;
  --shadow: 0 3px 15px #25352b04, 0 1px 2px #25352b03;
  font: 14px/1.65 Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #171d1b;
  --panel: #202925;
  --soft: #25302a;
  --text: #e6ede7;
  --muted: #9ba89f;
  --line: #344039;
  --accent: #e1a477;
  --accent-soft: #362f27;
  --green: #85bea0;
  --red: #dfa18e;
  --ink: #d8e4d9;
  --on-ink: #25352a;
  --shadow: 0 3px 15px #0000000b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--ink); padding: 10px; color: var(--on-ink); }
.skip:focus { top: 10px; }
.icon { width: 19px; height: 19px; display: inline-block; flex-shrink: 0; vertical-align: middle; }
.header { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 20; }
.header-inner { max-width: 1336px; margin: auto; padding: 0 36px; min-height: 78px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; gap: 11px; align-items: center; white-space: nowrap; }
.brand-symbol { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: #f1ba91; border-radius: 11px; }
.brand-symbol .icon { width: 21px; height: 21px; }
.brand strong { font-size: 21px; letter-spacing: -.8px; font-weight: 650; }
.brand-subtitle { border-left: 1px solid var(--line); padding-left: 13px; margin-left: 4px; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.header nav { display: flex; align-items: center; gap: 5px; margin: 0 auto; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.header nav>a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; color: var(--muted); font-size: 12px; white-space: nowrap; border-radius: 8px; transition: background .18s, color .18s; }
.header nav>a .icon { width: 15px; height: 15px; }
.header nav>a:hover { color: var(--text); }
.header nav>a.active { background: var(--panel); color: var(--text); box-shadow: 0 1px 5px #1d322012; font-weight: 600; }
.header-actions { display: flex; gap: 9px; }
.icon-button { display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; width: 36px; height: 36px; color: var(--muted); flex-shrink: 0; transition: color .18s, background .18s; }
.icon-button .icon { width: 17px; height: 17px; }
.icon-button:hover { color: var(--text); background: var(--soft); }
main { max-width: 1300px; padding: 39px 36px 48px; min-height: calc(100vh - 166px); margin: auto; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 3px 0 30px; }
.hero-eyebrow { color: var(--muted); font-size: 9px; letter-spacing: 2.2px; display: flex; gap: 8px; align-items: center; font-weight: 550; }
.hero-eyebrow>span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.banner h1 { font-size: 35px; line-height: 1.35; font-weight: 600; letter-spacing: -1.2px; margin-top: 12px; }
.banner h1>span { color: var(--muted); }
.banner p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.banner-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; max-width: 320px; }
.banner-actions>.primary { min-width: 178px; padding: 13px 17px; }
.banner-actions .primary .icon:first-child { width: 18px; height: 18px; color: #efb78f; }
.banner-actions .primary .icon:last-child { width: 16px; height: 16px; margin-left: 13px; }
.scan-caption { flex-basis: 100%; text-align: right; font-size: 10px; color: var(--muted); padding-right: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 14px; background: var(--panel); font-size: 12px; min-height: 39px; white-space: nowrap; transition: background .18s, box-shadow .18s, transform .18s; }
.button .icon { width: 15px; height: 15px; }
.button:hover:not(:disabled) { background: var(--soft); box-shadow: var(--shadow); transform: translateY(-1px); }
.primary { border-color: var(--ink); background: var(--ink); color: var(--on-ink); font-weight: 550; box-shadow: 0 3px 8px #25372d12; }
.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 90%, var(--accent)); }
.secondary { color: var(--muted); }
.stop, .danger { color: var(--red); }
.statusbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; margin: 0 0 31px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activity-wrap { display: flex; gap: 7px; align-items: center; }
.activity-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.statusbar label { display: flex; align-items: center; gap: 7px; white-space: nowrap; cursor: pointer; }
.statusbar input { accent-color: var(--green); margin: 0; width: 12px; height: 12px; }
.notice { border: 1px solid color-mix(in srgb,var(--accent) 30%,var(--line)); border-radius: 9px; background: var(--accent-soft); color: var(--text); padding: 12px 16px; font-size: 12px; margin: 0 0 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.page.panel { padding: 25px; }
#page-network { padding: 0; border: 0; background: none; border-radius: 0; box-shadow: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-heading>div:first-child { flex: 1; min-width: 0; }
.section-eyebrow { font-size: 8px; letter-spacing: 1.7px; color: var(--muted); font-weight: 550; }
.section-heading h2 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; display: flex; gap: 10px; align-items: center; margin-top: 5px; }
.section-count { padding: 2px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 9px; letter-spacing: 0; font-weight: 400; background: var(--panel); }
.section-heading p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.source-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.source-card { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; min-width: 0; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.source-card:hover { border-color: color-mix(in srgb,var(--muted) 40%,var(--line)); box-shadow: 0 7px 22px #26382d08; }
.source-title { display: flex; gap: 9px; align-items: center; min-width: 0; }
.source-icon { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--text); flex-shrink: 0; }
.source-icon .icon { width: 17px; height: 17px; }
.source-names { min-width: 0; }
.source-names strong { display: block; font-size: 12px; font-weight: 600; }
.source-names small { display: block; color: var(--muted); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.source-state { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 8px; color: var(--muted); flex-shrink: 0; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #bdc5bd; flex-shrink: 0; }
.dot.done { background: var(--green); }
.dot.failed { background: var(--accent); }
.dot.running { background: var(--accent); animation: pulse 1s infinite; }
.ip-value { min-height: 34px; margin-top: 23px; font-size: 17px; font-weight: 500; letter-spacing: -.3px; overflow-wrap: anywhere; }
.ip-button { display: inline-flex; align-items: center; border: 0; background: transparent; font: 500 21px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: var(--text); padding: 0; max-width: 100%; text-align: left; overflow-wrap: anywhere; word-break: break-word; }
.ip-button:after { content: '↗'; font: 12px/1 system-ui; color: var(--muted); margin-left: 7px; opacity: 0; flex-shrink: 0; transition: opacity .18s; }
.ip-button:hover { color: var(--green); }
.ip-button:hover:after { opacity: 1; }
.source-place { color: var(--muted); font-size: 10px; min-height: 17px; overflow-wrap: anywhere; }
.source-description { font-size: 9px; color: var(--muted); margin-top: 8px; opacity: .85; }
.source-foot { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 10px; display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.source-host { font: 8px/1.5 "SFMono-Regular", Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.source-family { font-size: 7px; color: var(--muted); padding: 1px 4px; border: 1px solid var(--line); border-radius: 3px; flex-shrink: 0; }
.quick-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 30px 0 16px; }
.quick-heading h3 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; margin-top: 4px; }
.quiet-link { display: inline-flex; gap: 5px; align-items: center; font-size: 10px; color: var(--muted); }
.quiet-link .icon { width: 13px; height: 13px; }
.quiet-link:hover { color: var(--text); }
.quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.quick-card { min-width: 0; padding: 15px 17px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }
.quick-top { display: flex; align-items: center; gap: 8px; }
.site-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; font: 650 11px/1 system-ui; flex-shrink: 0; }
.site-mark .icon { width: 16px; height: 16px; }
.quick-name { font-size: 11px; font-weight: 550; min-width: 0; }
.service-region { margin-left: auto; color: var(--muted); font-size: 8px; border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.quick-metric { display: flex; align-items: flex-end; min-height: 40px; gap: 12px; margin-top: 5px; }
.latency { font: 500 31px/1.3 "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: var(--text); letter-spacing: -1.7px; font-variant-numeric: tabular-nums; }
.latency>small { font: 400 10px/1.4 system-ui; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.latency.waiting { color: #abb6ac; }
.latency.slow { color: var(--red); }
.sparkline { width: 68px; height: 33px; margin-left: auto; color: var(--green); opacity: .6; flex-shrink: 0; }
.quick-caption { display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: var(--muted); gap: 7px; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line); }
.quick-caption>span:first-child:before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 5px 1px 0; }
.network-note { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; margin-top: 19px; background: color-mix(in srgb,var(--green) 3%,var(--panel)); }
.network-note>.icon { width: 16px; height: 16px; color: var(--green); }
.footnote { font-size: 10px; color: var(--muted); line-height: 1.9; margin-top: 14px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 5px 0 18px; }
.table-toolbar>span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 5px; }
.filter { border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); padding: 6px 12px; font-size: 11px; transition: background .18s; }
.filter:hover { color: var(--text); }
.filter.active { color: var(--text); background: var(--soft); border-color: var(--line); font-weight: 550; }
.split-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.split-table { border-collapse: collapse; width: 100%; text-align: left; table-layout: fixed; min-width: 780px; }
.split-table th { background: var(--soft); color: var(--muted); font-size: 10px; font-weight: 500; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.split-table th:nth-child(1) { width: 25%; }
.split-table th:nth-child(2) { width: 10%; }
.split-table th:nth-child(3) { width: 24%; }
.split-table th:nth-child(4) { width: 26%; }
.split-table th:nth-child(5) { width: 15%; }
.split-table td { border-bottom: 1px solid var(--line); padding: 15px 18px; font-size: 11px; overflow-wrap: anywhere; }
.split-table tr:last-child td { border: 0; }
.split-table tbody tr:hover { background: var(--soft); }
.split-table .ip-button { font-size: 12px; font-weight: 450; }
.split-site { display: flex; gap: 10px; align-items: center; }
.split-site .site-mark { width: 30px; height: 30px; }
.split-site strong { display: block; font-size: 11px; font-weight: 550; }
.split-site small { display: block; color: var(--muted); font: 8px/1.6 "SFMono-Regular", Consolas, monospace; margin-top: 2px; }
.split-site .category { margin-left: 7px; font-size: 7px; border: 1px solid var(--line); color: var(--muted); border-radius: 3px; padding: 0 4px; font-weight: 400; }
.cell-note { color: var(--muted); font-size: 9px; display: block; margin-top: 3px; }
.muted { color: var(--muted); }
.pending { color: var(--accent); }
.unconfirmed { color: var(--muted); font-size: 10px; }
.country { font-size: 11px; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.service-card { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px; padding: 17px; min-width: 0; transition: background .18s; }
.service-card:hover { background: var(--soft); }
.service-name { font-size: 12px; font-weight: 550; }
.service-domain { font: 8px/1.7 "SFMono-Regular", Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.service-details { min-width: 0; flex: 1; }
.probe-explanation { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 5px; }
.service-actions { display: flex; justify-content: flex-end; gap: 3px; flex-wrap: wrap; }
.service-status { margin-left: auto; color: var(--muted); font-size: 10px; text-align: right; flex-shrink: 0; }
.service-status small { font-size: 8px; display: block; margin-top: 3px; }
.success { color: var(--green) !important; }
.flagged { color: var(--red) !important; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.tool { padding: 25px; display: flex; align-items: flex-start; flex-direction: column; }
.tool-icon { width: 37px; height: 37px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 11px; color: var(--green); margin-bottom: 15px; }
.tool h3 { font-size: 16px; font-weight: 550; }
.tool p { font-size: 11px; color: var(--muted); margin: 9px 0 19px; min-height: 36px; line-height: 1.9; }
.tool-result { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 16px; width: 100%; overflow-wrap: anywhere; }
.tool-result ul { list-style: none; margin: 0; padding: 0; }
.tool-result li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.tool form { width: 100%; }
.input-group { display: flex; gap: 8px; width: 100%; }
input[type=text], input:not([type]), select { border: 1px solid var(--line); background: var(--soft); border-radius: 7px; padding: 9px 11px; min-width: 0; font-size: 12px; max-width: 100%; }
.input-group input { flex: 1; width: 100%; }
input::placeholder { color: var(--muted); opacity: .7; }
.history-toolbar { display: flex; gap: 13px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.history-toolbar input { flex: 1; }
.history-row { display: grid; grid-template-columns: 1fr 1fr 1.6fr .8fr; gap: 15px; border-bottom: 1px solid var(--line); padding: 17px 5px; font-size: 12px; }
.history-row>div { min-width: 0; overflow-wrap: anywhere; }
.history-row small { display: block; font: 9px/1.7 "SFMono-Regular", Consolas, monospace; color: var(--muted); margin-top: 3px; }
.empty { padding: 45px; text-align: center; color: var(--muted); font-size: 12px; }
.history-head { font-size: 10px; color: var(--muted); }
.methodology { margin-top: 25px; border: 1px solid var(--line); border-radius: 9px; background: transparent; padding: 0 15px; color: var(--muted); font-size: 10px; }
.methodology summary { padding: 12px 0; cursor: pointer; display: flex; justify-content: space-between; list-style: none; }
.methodology summary>span { color: var(--muted); }
.methodology[open] summary { border-bottom: 1px solid var(--line); }
.methodology>div { padding: 10px 0; }
.methodology p { margin: 8px 0; line-height: 1.9; }
.methodology strong { color: var(--text); font-weight: 550; }
footer { border-top: 1px solid var(--line); max-width: 1228px; padding: 23px 0; margin: auto; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 9px; color: var(--muted); }
footer strong { color: var(--text); font-size: 11px; font-weight: 550; }
footer strong .icon { width: 14px; height: 14px; margin-right: 4px; color: var(--accent); }
.footer-divider { margin: 0 10px; color: var(--line); }
footer a:hover { color: var(--text); }
dialog { width: min(690px,calc(100vw - 32px)); max-height: 88vh; border: 1px solid var(--line); border-radius: 18px; padding: 29px; background: var(--panel); color: var(--text); box-shadow: 0 30px 100px #14251b30; }
dialog::backdrop { background: #14251b55; backdrop-filter: blur(4px); }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.modal-top h2 { font-size: 19px; font-weight: 550; margin-top: 4px; }
.eyebrow { font-size: 8px; letter-spacing: 2px; color: var(--accent); }
.modal-ip { font: 500 28px/1.5 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.modal-source { font-size: 10px; color: var(--muted); margin: 6px 0 21px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 19px; border: 1px solid var(--line); background: var(--soft); border-radius: 10px; }
.detail-grid span { color: var(--muted); display: block; font-size: 9px; margin-bottom: 3px; }
.detail-grid strong { font-size: 12px; font-weight: 450; overflow-wrap: anywhere; }
.risk-heading { font-size: 16px; font-weight: 550; margin: 23px 0 8px; }
.risk-score { font-size: 11px; color: var(--muted); }
.risk-meter { height: 6px; border-radius: 5px; background: var(--line); overflow: hidden; margin: 13px 0 19px; }
.risk-meter>div { height: 100%; background: var(--accent); }
.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; margin: 16px 0; }
.risk-row { border-bottom: 1px solid var(--line); padding-bottom: 8px; display: flex; justify-content: space-between; font-size: 11px; gap: 10px; }
.modal-actions { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-actions>span { font-size: 9px; color: var(--muted); }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); border-radius: 9px; padding: 12px 20px; font-size: 12px; box-shadow: 0 5px 20px #0002; max-width: 90vw; z-index: 100; }
.loading { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
@media(min-width:1500px) { main { padding-top: 45px; } .banner { padding-bottom: 36px; } }
@media(max-width:1200px) {
  .header-inner { gap: 20px; padding: 0 28px; }
  .brand-subtitle { display: none; }
  .header nav>a { padding: 8px 11px; }
  main { padding: 32px 28px 40px; }
  .source-card { padding: 15px; }
  .source-title { gap: 7px; }
  .source-state>span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .source-state { margin-left: auto; }
  .ip-button { font-size: 18px; }
  .quick-card { padding: 14px; }
  .quick-name { font-size: 10px; }
  footer { margin: 0 28px; }
}
@media(max-width:950px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding: 15px 25px 12px; gap: 13px; }
  .header nav { order: 3; width: 100%; justify-content: space-around; margin: 0; }
  .header nav>a { justify-content: center; flex: 1; }
  main { padding: 29px 25px 37px; }
  .banner h1 { font-size: 31px; }
  .source-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .source-card { padding: 19px; }
  .source-state>span:last-child { position: static; width: auto; height: auto; clip: auto; }
  .ip-button { font-size: 23px; }
  .ip-value { margin-top: 22px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { padding: 16px 18px 12px; }
  .quick-name { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .banner-actions { max-width: 245px; }
  .banner-actions>.primary { min-width: 166px; }
  .section-heading p { max-width: 480px; }
  .page.panel { padding: 22px; }
}
@media(max-width:600px) {
  .header-inner { padding: 14px 17px 11px; gap: 13px; }
  .brand-symbol { width: 31px; height: 31px; border-radius: 9px; }
  .brand-symbol .icon { width: 18px; height: 18px; }
  .brand strong { font-size: 20px; }
  .header-actions { gap: 7px; }
  .icon-button { width: 32px; height: 32px; border-radius: 9px; }
  .icon-button .icon { width: 16px; height: 16px; }
  .header nav { padding: 4px; gap: 1px; border-radius: 10px; }
  .header nav>a { padding: 7px 5px; gap: 4px; font-size: 10px; border-radius: 6px; }
  .header nav>a .icon { width: 12px; height: 12px; }
  main { padding: 27px 17px 30px; }
  .banner { display: block; padding: 0 0 24px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.8px; }
  .banner h1 { font-size: 29px; margin-top: 13px; letter-spacing: -1.3px; }
  .banner p { font-size: 11px; margin-top: 9px; max-width: 305px; }
  .banner-actions { max-width: none; justify-content: flex-start; gap: 10px; margin-top: 20px; }
  .banner-actions>.primary { padding: 11px 15px; min-width: 163px; font-size: 11px; }
  .banner-actions .primary .icon:last-child { margin-left: 7px; }
  .scan-caption { flex-basis: auto; font-size: 8px; text-align: left; padding: 0; max-width: 110px; }
  .statusbar { margin-bottom: 25px; padding: 11px 0; gap: 8px; font-size: 9px; align-items: flex-start; }
  .activity-wrap { gap: 5px; flex: 1; }
  .activity-dot { margin-top: 5px; width: 4px; height: 4px; }
  .statusbar label { gap: 5px; font-size: 8px; padding-top: 1px; }
  .statusbar input { width: 10px; height: 10px; }
  .section-heading { gap: 10px; align-items: flex-start; margin-bottom: 18px; }
  .section-eyebrow { font-size: 7px; letter-spacing: 1.4px; }
  .section-heading h2 { font-size: 19px; gap: 8px; }
  .section-count { font-size: 8px; padding: 1px 5px; }
  .section-heading p { font-size: 10px; line-height: 1.8; margin-top: 5px; }
  .section-heading>.button { padding: 7px 9px; min-height: 33px; font-size: 9px; margin-top: 7px; gap: 5px; }
  .section-heading>.button .icon { width: 12px; height: 12px; }
  .source-grid { gap: 10px; }
  .source-card { padding: 13px; border-radius: 11px; }
  .source-title { gap: 7px; }
  .source-icon { width: 27px; height: 27px; border-radius: 8px; }
  .source-icon .icon { width: 14px; height: 14px; }
  .source-names strong { font-size: 11px; }
  .source-names small { font-size: 7px; margin-top: 1px; max-width: 82px; }
  .source-state { gap: 0; }
  .source-state>span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .dot { width: 4px; height: 4px; }
  .ip-value { margin-top: 22px; min-height: 34px; font-size: 13px; }
  .ip-button { font-size: clamp(13px,3.6vw,17px); line-height: 1.5; }
  .ip-button:after { display: none; }
  .source-place { font-size: 9px; min-height: 15px; }
  .source-description { font-size: 8px; line-height: 1.7; margin-top: 6px; min-height: 27px; }
  .source-foot { margin-top: 13px; padding-top: 8px; gap: 5px; }
  .source-host { font-size: 6.5px; }
  .source-family { font-size: 6px; padding: 0 3px; }
  .quick-heading { margin-top: 27px; margin-bottom: 15px; }
  .quick-heading h3 { font-size: 18px; margin-top: 4px; }
  .quiet-link { font-size: 9px; }
  .quiet-link .icon { width: 11px; height: 11px; }
  .quick-grid { gap: 10px; }
  .quick-card { padding: 12px 13px 10px; border-radius: 11px; }
  .quick-top { gap: 7px; }
  .site-mark { width: 25px; height: 25px; border-radius: 7px; font-size: 9px; }
  .site-mark .icon { width: 14px; height: 14px; }
  .quick-name { font-size: 10px; }
  .service-region { font-size: 6px; padding: 0 3px; }
  .quick-metric { min-height: 43px; margin-top: 7px; }
  .latency { font-size: 28px; letter-spacing: -1.5px; }
  .latency>small { font-size: 8px; margin-left: 4px; }
  .sparkline { width: 38px; height: 25px; }
  .quick-caption { font-size: 7px; gap: 3px; margin-top: 6px; padding-top: 7px; }
  .quick-caption>span:first-child:before { width: 3px; height: 3px; margin-right: 4px; }
  .network-note { font-size: 9px; padding: 11px 12px; gap: 8px; line-height: 1.9; margin-top: 16px; align-items: flex-start; }
  .network-note>.icon { width: 14px; height: 14px; margin-top: 2px; }
  .footnote { font-size: 9px; margin-top: 12px; }
  .page.panel { padding: 18px 15px; border-radius: 12px; }
  #page-network { padding: 0; }
  .table-toolbar { display: block; margin-bottom: 15px; }
  .table-toolbar>span { display: block; margin-top: 10px; font-size: 9px; }
  .filters { gap: 3px; }
  .filter { padding: 5px 8px; font-size: 10px; }
  .split-table { min-width: 735px; }
  .split-table th { padding: 11px 13px; font-size: 9px; }
  .split-table td { padding: 13px; font-size: 10px; }
  .split-table .ip-button { font-size: 11px; }
  .split-site strong { font-size: 10px; }
  .split-site small { font-size: 7px; }
  .split-site .category { font-size: 6px; }
  .service-grid { gap: 10px; }
  .service-card { padding: 12px 10px; gap: 8px; flex-wrap: wrap; }
  .service-name { font-size: 11px; }
  .service-domain { font-size: 7px; }
  .service-status { width: 100%; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 7px; margin-top: 3px; font-size: 9px; }
  .service-status small { font-size: 7px; margin-top: 0; }
  .tools-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool { padding: 21px; }
  .tool-icon { width: 34px; height: 34px; margin-bottom: 13px; }
  .tool h3 { font-size: 15px; }
  .tool p { min-height: 0; font-size: 11px; margin: 8px 0 17px; }
  .tool-result { font-size: 10px; }
  .tool .button { font-size: 11px; }
  .history-toolbar { gap: 9px; flex-wrap: wrap; font-size: 11px; }
  .history-toolbar input { width: 70%; }
  .history-toolbar>.button { margin-left: auto; font-size: 10px; }
  .history-row { grid-template-columns: 1fr 1fr; gap: 9px; font-size: 11px; }
  .history-head { display: none; }
  .history-row small { font-size: 8px; }
  .empty { padding: 30px 15px; font-size: 11px; }
  .methodology { margin-top: 20px; font-size: 9px; padding: 0 13px; }
  .methodology p { font-size: 10px; }
  footer { margin: 0 17px; padding: 19px 0; gap: 8px; font-size: 8px; flex-wrap: wrap; }
  footer strong { font-size: 10px; }
  .footer-divider { margin: 0 5px; }
  dialog { padding: 22px; border-radius: 14px; max-height: 90vh; }
  .modal-top h2 { font-size: 17px; }
  .modal-ip { font-size: 22px; }
  .detail-grid { gap: 13px; padding: 15px; }
  .detail-grid strong { font-size: 11px; }
  .risk-heading { font-size: 15px; }
  .modal-actions { align-items: flex-start; }
  .modal-actions>span { font-size: 8px; max-width: 60%; }
  .modal-actions .button { font-size: 10px; }
  .risk-row { font-size: 10px; }
  .toast { font-size: 11px; width: max-content; max-width: 90vw; text-align: center; }
}
@media(max-width:370px) { main { padding-left: 14px; padding-right: 14px; } .header-inner { padding-left: 14px; padding-right: 14px; } .header nav>a { font-size: 9px; gap: 3px; } .header nav>a .icon { width: 11px; height: 11px; } .source-card { padding: 11px; } .source-icon { width: 24px; height: 24px; } .source-names strong { font-size: 10px; } .source-host { font-size: 6px; } .source-family { display: none; } .quick-card { padding: 11px; } .quick-name { font-size: 9px; } .service-region { display: none; } }
@media(prefers-reduced-motion:reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } }
/* Diagnostics and actionable result states. */
.slow-network { border-left: 1px solid var(--line); padding-left: 12px; }
.retry-button { display: inline-flex; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 9px; padding: 3px 5px; margin-top: 4px; cursor: pointer; }
.retry-button:hover:not(:disabled) { color: var(--text); background: var(--soft); }
.split-table .retry-button { display: block; }
.custom-site-form { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); background: var(--soft); border-radius: 9px; margin-bottom: 18px; }
.custom-site-form label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.custom-site-form input { flex: 1; background: var(--panel); }
#custom-site-result { margin: 0 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.tool-wide { grid-column: 1/-1; }
.dns-results { width: 100%; margin-top: 18px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; font-size: 11px; color: var(--muted); }
.dns-card { border: 1px solid var(--line); background: var(--soft); border-radius: 9px; padding: 15px; min-width: 0; }
.dns-card h4 { font-size: 12px; color: var(--text); font-weight: 550; margin: 0 0 8px; }
.dns-card pre { font: 10px/1.8 "SFMono-Regular",Consolas,monospace; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; margin: 9px 0; }
.quality-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.quality-metric { background: var(--soft); border: 1px solid var(--line); padding: 10px; border-radius: 7px; }
.quality-metric strong { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.quality-metric small { display: block; font-size: 8px; color: var(--muted); }
.quality-chart { width: 100%; height: 60px; display: block; color: var(--green); margin-top: 12px; border-bottom: 1px solid var(--line); }
@media(max-width:600px) { .statusbar { flex-wrap: wrap; } .statusbar .activity-wrap { flex-basis: 100%; margin-bottom: 4px; } .slow-network { margin-left: auto; padding-left: 10px; } .custom-site-form { flex-wrap: wrap; gap: 8px; } .custom-site-form label { flex-basis: 100%; font-size: 10px; } .custom-site-form input { width: 65%; } .custom-site-form .button { font-size: 10px; padding: 8px 9px; } .dns-results { grid-template-columns: 1fr; gap: 9px; } .dns-card { padding: 13px; } .tool-wide { grid-column: auto; } .tool .input-group { flex-wrap: wrap; } #dns-domain { flex-basis: 60%; } #dns-type { flex: 1; } #dns-submit { width: 100%; } .quality-metrics { gap: 6px; } .quality-metric { padding: 8px; } .quality-metric strong { font-size: 12px; } }

.status-options { display:flex; align-items:center; gap:14px; }
@media(max-width:600px) { .status-options { width:100%; } }
