@charset "UTF-8";

:root {
  color-scheme: light;
  --canvas: #f7f9ff;
  --surface: #fff;
  --surface-soft: #f8faff;
  --ink: #17213b;
  --text: #4d5872;
  --muted: #8993a9;
  --line: #eaf0f7;
  --line-strong: #dce4f1;
  --blue: #3166ff;
  --blue-hover: #2354e7;
  --blue-soft: #eef3ff;
  --green: #3166ff;
  --green-hover: #2354e7;
  --green-soft: #eef3ff;
  --success: #26a17b;
  --danger: #d46a6e;
  --amber: #c29544;
  --radius: 20px;
  --shadow: 0 5px 25px rgba(41, 64, 117, .035);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 360px; background: var(--canvas); }
body { margin: 0; color: var(--text); font-size: 13px; line-height: 1.65; background: radial-gradient(ellipse 750px 500px at 88% 3%, #eaf0ff80, transparent), radial-gradient(ellipse 600px 550px at 5% 15%, #f1eaff65, transparent), var(--canvas); }
button, input, select, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a4bcff; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .55; }
svg { display: block; flex-shrink: 0; }
::selection { background: #dbe6ff; color: #1d43a0; }
.app-shell { min-height: 100vh; }
.skip-link { position: fixed; z-index: 50; top: -80px; left: 16px; padding: 12px 18px; background: var(--blue); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { width: 100%; padding: 0 max(28px, calc((100vw - 1248px) / 2)); background: #ffffffd6; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 95px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; white-space: nowrap; }
.brand-mark { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #3d77ff, #3161f6); box-shadow: 0 5px 13px #3166ff25; font-size: 25px; font-weight: 650; line-height: 1; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 20px; line-height: 1.4; letter-spacing: .2px; font-weight: 650; }
.brand-copy > span { color: #a0a9bc; font-size: 9px; letter-spacing: 1.1px; }
.header-tag { display: inline-flex; align-items: center; gap: 7px; color: #9ba6bc; font-size: 11px; }
.header-tag .status-dot { background: #79a4ff; }
.nav-list { display: flex; align-items: center; gap: 8px; padding-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 39px; padding: 10px 14px; border: 0; border-radius: 30px; background: transparent; color: #8390a7; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .18s, color .18s; }
.nav-item svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: var(--blue-soft); color: var(--blue); }
.nav-item.active, .nav-item[aria-current="page"] { background: var(--blue); color: #fff; box-shadow: 0 4px 10px #3166ff17; }
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 5px; color: #f0f5ff; background: #ffffff24; border-radius: 20px; font-size: 9px; font-family: ui-monospace, monospace; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #64bfa3; flex-shrink: 0; }
.workspace { display: flex; flex-direction: column; min-width: 0; min-height: calc(100vh - 153px); }
.topbar { width: min(100%, 1304px); margin: 0 auto; padding: 0 28px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 10px; color: #a0aabd; }
.breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: #a9b4c6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.breadcrumb-divider { font-size: 10px; color: #c6cedb; padding: 0 1px; }
.breadcrumb strong { font-weight: 500; color: #7c8ba6; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.global-status { display: inline-flex; align-items: center; gap: 7px; color: #96a3ba; font-size: 10px; white-space: nowrap; }
.topbar-divider { height: 15px; width: 1px; background: #dfe6f1; }
.privacy-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #8d9bb2; white-space: nowrap; cursor: pointer; }
.privacy-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; display: inline-block; width: 28px; height: 16px; background: #dfe6f0; border: 1px solid #d9e1ee; border-radius: 10px; transition: background .2s; }
.switch-track:after { content: ""; display: block; position: absolute; width: 10px; height: 10px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #00000010; transition: transform .2s; }
.privacy-toggle input:checked + .switch-track { background: var(--blue); border-color: var(--blue); }
.privacy-toggle input:checked + .switch-track:after { transform: translateX(12px); }
.privacy-toggle input:focus-visible + .switch-track { outline: 3px solid #a4bcff; outline-offset: 4px; }
.button, button.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 19px; min-height: 38px; border: 1px solid var(--blue); border-radius: 30px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .18s, box-shadow .18s, transform .18s; }
.button:hover, button.primary:hover { background: var(--blue-hover); text-decoration: none; box-shadow: 0 5px 12px #3166ff20; }
.button:active { transform: translateY(1px); }
.button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button.secondary, button.secondary, a.secondary { background: #fff; border-color: var(--line-strong); color: #7890b5; }
.button.secondary:hover, button.secondary:hover, a.secondary:hover { background: #f5f8ff; border-color: #b8ccfa; color: var(--blue); }
.refresh-button { padding: 8px 15px; min-height: 34px; font-size: 10px; }
.main-content { flex: 1; width: 100%; max-width: 1304px; padding: 12px 28px 24px; margin: 0 auto; outline: none; }
.hero { position: relative; min-height: 100px; margin-bottom: 22px; padding-right: 170px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #92a8d1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; font-weight: 500; letter-spacing: 1.8px; }
.eyebrow > span:empty { display: inline-block; width: 14px; height: 1px; background: #88a8ed; }
.hero h1 { margin: 0 0 9px; color: var(--ink); font-size: 28px; font-weight: 650; line-height: 1.4; letter-spacing: -.65px; }
.hero p { margin: 0; color: #8b99b0; font-size: 12px; line-height: 1.9; max-width: 850px; }
.hero .hero-actions, .hero > .button { position: absolute; right: 0; top: 25px; }
.hero-aside, .hero-art { position: absolute; right: 20px; top: -6px; color: #c7d8fb; }
.hero-art svg { max-width: 135px; height: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid #e0e9fd; border-radius: 50px; font-size: 10px; color: #86a2d9; background: #f0f5ff; }
.hero-badge:before { content: ""; width: 5px; height: 5px; background: #7ba4f2; border-radius: 50%; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-card { position: relative; min-width: 0; padding: 20px 23px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-card:first-child { background: linear-gradient(125deg, #eef4ff, #f5f8ff); border-color: #e3ecff; }
.stat-card > p:first-child, .stat-label, .stat-card > span:first-child { display: block; font-size: 10px; line-height: 1.6; color: #98a6bc; margin: 0 0 8px; }
.stat-value { display: block; font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace; font-size: 29px; font-weight: 500; letter-spacing: -1px; line-height: 1.3; color: #425f90; }
.stat-card:first-child .stat-value { color: var(--blue); }
.stat-value small, .stat-value > span { font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; color: #a0afc5; margin-left: 4px; }
.stat-card > small, .stat-card .stat-hint, .stat-card .muted { display: block; font-size: 9px; margin-top: 7px; line-height: 1.7; color: #a6b2c6; }
.stat-card .stat-icon { position: absolute; top: 21px; right: 22px; color: #afc1de; }
.stat-icon svg { width: 17px; height: 17px; }
.stat-card p { margin: 6px 0 0; }
.stat-card .badge { position: absolute; right: 17px; top: 19px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 22px; }
.panel-body { padding: 22px 25px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 25px; border-bottom: 1px solid var(--line); }
.panel h2, .panel-title { font-size: 14px; line-height: 1.5; color: #425574; margin: 0; font-weight: 600; letter-spacing: .1px; }
.panel h3 { color: #526785; font-size: 13px; font-weight: 600; margin: 0 0 7px; }
.panel-subtitle, .panel-header p { font-size: 10px; color: #a2afc3; margin: 5px 0 0; }
.panel > .notice { margin: 18px 24px; }
.panel > h2, .panel > h3 { padding: 21px 25px 0; }
.panel > p { padding: 0 25px; }
.panel .panel-header h2 { padding: 0; }
.panel-header .muted { font-size: 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 25px; border-bottom: 1px solid var(--line); }
.toolbar .toolbar-title { display: flex; align-items: center; gap: 9px; }
.toolbar h2 { font-size: 13px; margin: 0; white-space: nowrap; }
.toolbar p { margin: 4px 0 0; font-size: 10px; color: var(--muted); }
.toolbar-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.toolbar .button { min-height: 31px; font-size: 10px; padding: 6px 12px; }
.toolbar input[type="search"], .toolbar input[type="text"] { min-width: 160px; }
.table-wrap { overflow: auto; max-width: 100%; scrollbar-width: thin; scrollbar-color: #dce5f5 transparent; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
thead { background: #fafcff; }
th { height: 42px; padding: 10px 25px; border-bottom: 1px solid var(--line); color: #8092ad; font-size: 10px; font-weight: 500; letter-spacing: .3px; }
td { height: 63px; padding: 12px 25px; border-bottom: 1px solid #eff3f9; vertical-align: middle; color: #8c9db5; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .18s; }
tbody tr:hover { background: #fafcff; }
td:first-child { color: #526b8b; }
th:last-child, td:last-child { text-align: right; }
td .mono { font-size: 11px; color: #6683b3; }
td small, td .subtext, td .site-domain, td .domain { display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #afbed2; font-size: 9px; margin-top: 3px; }
td .result-detail { white-space: normal; max-width: 350px; }
td .site-name, td strong { font-weight: 500; color: #506886; font-size: 12px; }
.site-cell { display: flex; align-items: center; gap: 11px; }
.site-icon, .site-avatar { width: 31px; height: 31px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #f0f5ff; color: #7297d7; font-size: 11px; font-weight: 600; }
.site-icon svg { width: 17px; height: 17px; }
.site-icon img, .site-avatar img { width: 20px; height: 20px; object-fit: contain; }
.site-meta { display: flex; flex-direction: column; gap: 2px; }
.category-tag { display: inline-block; font-size: 9px; line-height: 19px; padding: 0 7px; color: #9dafc9; background: #f7faff; border: 1px solid #eef3fc; border-radius: 5px; }
.badge, .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid transparent; border-radius: 5px; background: #f3f6fb; color: #9aaec8; font-size: 9px; line-height: 1.4; font-weight: 400; white-space: nowrap; }
.badge.success, .chip.success { color: #65ab95; background: #edf8f3; border-color: #e3f2eb; }
.badge.error, .chip.error { color: #cc9297; background: #fcf2f2; border-color: #f8e9e9; }
.badge.warning, .chip.warning { color: #c3a772; background: #fbf7ed; border-color: #f3eddd; }
.badge.running, .badge.loading, .badge.pending { color: #8ca8da; background: #f0f5ff; border-color: #e8efff; }
.success { color: var(--success); }
.error { color: var(--danger); }
.warning { color: var(--amber); }
.muted { color: var(--muted); }
.dim { color: #adb8cb; }
.mono, code, pre { font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, "Liberation Mono", monospace; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.row-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 5px 9px; border: 0; border-radius: 20px; background: transparent; color: #91aadd; font-size: 10px; white-space: nowrap; }
.row-action:hover { color: var(--blue); background: #f0f5ff; }
.row-action svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.notice { padding: 14px 18px; background: #eff5ff; border: 1px solid #e2edff; border-radius: 12px; color: #91a6ca; font-size: 10px; line-height: 1.85; margin: 16px 0 22px; }
.notice strong { font-weight: 600; color: #6f90c5; }
.notice.warning { background: #fcf8ef; border-color: #f3e9d2; color: #b4a077; }
.notice.error { background: #fcf1f2; border-color: #f3dfe1; color: #c48b91; }
.notice a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }
.notice ul { margin: 7px 0; padding-left: 18px; }
.notice-title { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; font-weight: 600; }
.notice-title svg { width: 14px; height: 14px; }
.progress { height: 3px; overflow: hidden; background: #edf3ff; border-radius: 5px; }
.progress > span, .progress > div { display: block; height: 100%; background: #7ca6ff; border-radius: 5px; transition: width .35s; }
.panel > .progress { border-radius: 0; }
.progress-label { font-size: 10px; color: #9aaed0; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; padding: 36px; text-align: center; color: #a5b5cf; }
.empty svg { width: 38px; height: 38px; color: #bed0f0; margin-bottom: 14px; }
.empty h3 { font-size: 14px; font-weight: 500; color: #8199c1; margin: 0 0 5px; }
.empty p { max-width: 430px; margin: 0; font-size: 11px; line-height: 1.9; }
.empty .button { margin-top: 18px; }
.form-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.panel > .form-row { margin: 22px 25px; }
.field { display: flex; flex: 1; min-width: 160px; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; font-weight: 500; color: #8a9cb7; }
.field small { font-size: 10px; color: #a9b7ce; }
input[type="text"], input[type="search"], input[type="url"], input[type="number"], select, textarea { min-height: 38px; padding: 9px 13px; border: 1px solid #e0e8f5; border-radius: 10px; color: #6a82a8; background: #fff; font-size: 11px; box-shadow: none; max-width: 100%; }
input::placeholder, textarea::placeholder { color: #b0bed4; }
input:hover, select:hover, textarea:hover { border-color: #c5d5f4; }
input:focus, select:focus, textarea:focus { border-color: #91b3ff; }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 100px; }
.probe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; }
.probe-card { min-width: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.probe-card h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #607ba2; }
.probe-card p { font-size: 11px; line-height: 1.9; margin: 7px 0; color: #a0afc7; }
.probe-card .mono { display: block; font-size: 20px; color: #6c8bbe; line-height: 1.7; overflow-wrap: anywhere; }
.probe-card .badge { margin: 7px 0; }
.probe-card .button { margin-top: 12px; }
.probe-card .result-detail { margin-top: 10px; font-size: 10px; line-height: 1.8; }
.probe-card .card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.result-detail { font-size: 10px; line-height: 1.7; color: #a9b6cc; overflow-wrap: anywhere; }
.result-detail summary { cursor: pointer; color: #94a8cc; }
.result-detail[open] summary { margin-bottom: 6px; }
.result-detail code { font-size: 10px; }
.result-detail pre { white-space: pre-wrap; padding: 13px; background: #f7faff; border: 1px solid var(--line); border-radius: 10px; color: #91a8cf; font-size: 10px; max-height: 230px; overflow: auto; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.result-grid .panel { margin-bottom: 0; }
.detail-list { display: grid; grid-template-columns: 135px 1fr; margin: 0; font-size: 11px; }
.detail-list dt, .detail-list dd { padding: 11px 0; margin: 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: #a4b1c8; }
.detail-list dd { color: #728eb8; overflow-wrap: anywhere; }
.detail-list dt:last-of-type, .detail-list dd:last-of-type { border-bottom: 0; }
.inline-code, code { font-size: .95em; color: #7a98c6; }
p code { background: #f0f5ff; border: 1px solid #e5edff; padding: 1px 4px; border-radius: 4px; }
.page-footer { width: 100%; max-width: 1304px; margin: 0 auto; padding: 4px 28px 25px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #acb9ce; font-size: 9px; }
.page-footer p { margin: 0; display: flex; align-items: center; gap: 7px; }
.footer-emblem { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: #e9f0ff; font-size: 12px; color: #93afdf; }
.footer-separator { margin: 0 2px; }
.footer-year { margin-left: 7px; color: #b7c2d5; }
.loading-placeholder { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 200px; color: #99b1db; font-size: 12px; }
.loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #e3ecff; border-top-color: #76a0f7; border-radius: 50%; animation: spin .75s linear infinite; }
.loading-spinner.small { width: 11px; height: 11px; border-width: 1.5px; }
.is-running .status-dot, .status-dot.running { animation: pulse 1.5s ease-in-out infinite; }
.privacy-on .ip-address, .hide-ip .ip-address, .ip-hidden .ip-address, [data-hide-ip="true"] .ip-address { filter: blur(5px); user-select: none; }
.privacy-on [data-ip], .hide-ip [data-ip] { filter: blur(5px); user-select: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.count { font-family: ui-monospace, monospace; padding: 2px 6px; background: #f2f6ff; border-radius: 4px; color: #98afd6; font-size: 9px; }
.text-link { border: 0; padding: 0; background: none; color: #82a3da; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.section-note { margin: 15px 0 0; font-size: 10px; color: #9faecc; line-height: 1.9; }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 25px; border-top: 1px solid var(--line); color: #aab8cf; font-size: 9px; background: #fdfdff; }
.table-footer .badge { font-size: 8px; }
kbd { display: inline-block; border: 1px solid #e3eaf7; border-radius: 4px; padding: 1px 5px; font-size: 9px; background: #fafcff; color: #9caed0; }
.tabs, .filter-tabs { display: flex; align-items: center; gap: 5px; padding: 3px; background: #f5f8ff; border: 1px solid #eaf0fd; border-radius: 24px; }
.tabs button, .filter-tabs button { border: 0; background: transparent; color: #a2b3ce; border-radius: 20px; padding: 5px 10px; font-size: 10px; }
.tabs button.active, .filter-tabs button.active, .tabs button[aria-selected="true"] { background: #fff; color: #7299dc; box-shadow: 0 1px 4px #385d9910; }
.divider { height: 1px; background: var(--line); border: 0; margin: 23px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.metric-label { display: block; font-size: 10px; color: #93a7c6; margin-bottom: 8px; }
.metric-value { display: block; font-family: ui-monospace, monospace; font-size: 22px; color: #6f8fc1; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.api-url { max-width: 240px; text-overflow: ellipsis; overflow: hidden; display: block; font-size: 9px; color: #a5b6d0; }
.check-option { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: #95a9cb; cursor: pointer; }
.check-option input { accent-color: var(--blue); }
.site-identity { display: flex; align-items: center; gap: 11px; }
.site-identity > div { min-width: 0; }
.site-identity .domain { color: #91a2ba; font-size: 10px; margin-top: 3px; }
.site-avatar.tone-0 { background: #edf3ff; color: #608dd4; }
.site-avatar.tone-1 { background: #f0ecff; color: #9b80d1; }
.site-avatar.tone-2 { background: #fff3e8; color: #d7a270; }
.site-avatar.tone-3 { background: #eaf6f2; color: #72ad99; }
.site-avatar.tone-4 { background: #fceef2; color: #cb90a6; }
.category-label { display: inline-block; margin: 5px 0 0 42px; color: #91a6c3; font-size: 9px; padding: 0 5px; border: 1px solid #e9f0fb; border-radius: 4px; line-height: 17px; background: #fafcff; }
.ip-cell { max-width: 300px; min-width: 145px; }
.ip-link { max-width: 100%; padding: 3px 0; border: 0; background: transparent; color: #668bd0; font-size: 12px; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.ip-link:hover:not(:disabled) { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.ip-link:disabled { cursor: default; opacity: .8; }
.stat-ip { font-size: 21px; line-height: 1.8; overflow-wrap: anywhere; }
.badge.cancelled { color: #939fb2; background: #f4f6f9; border-color: #edf0f5; }
.result-reason { display: block; max-width: 290px; white-space: normal; font-size: 11px; line-height: 1.8; }
.result-detail { margin-top: 4px; font-size: 10px; }
.result-detail summary { display: inline-block; padding: 2px 8px; border-radius: 5px; color: #8a9fc1; }
.result-detail summary:hover { background: #f3f7ff; color: var(--blue); }
.result-detail[open] { min-width: 200px; max-width: 280px; text-align: left; }
.result-detail dl { margin: 8px 0 0; padding: 12px; border: 1px solid #e7edf8; border-radius: 10px; background: #f9fbff; white-space: normal; font-size: 10px; overflow-wrap: anywhere; }
.result-detail dt { color: #879ab8; font-weight: 500; margin: 8px 0 3px; }
.result-detail dt:first-child { margin-top: 0; }
.result-detail dd { margin: 0; color: #7891b8; }
.action-column { width: 80px; }
.search-box { display: flex; align-items: center; position: relative; }
.search-box > span { position: absolute; left: 12px; font-size: 19px; line-height: 1; color: #a4b5cf; }
.toolbar .search-box input { padding-left: 34px; min-height: 33px; border-radius: 20px; background: #fbfcff; font-size: 10px; }
.toolbar select { min-height: 33px; border-radius: 20px; padding: 7px 12px; font-size: 10px; }
#run-caption { display: block; margin-top: 4px; font-size: 10px; color: #9daec7; }
.query-box { display: flex; gap: 12px; margin: 0 0 12px; }
.query-box input { flex: 1; min-width: 0; min-height: 45px; border-radius: 13px; padding: 12px 16px; font-size: 12px; }
.query-box .button { padding: 12px 24px; }
.form-error { color: var(--danger); margin: 0 0 18px; font-size: 11px; }
.form-error:empty { display: none; }
.query-box + .form-error + .cards { margin-top: 21px; }
.page-footnote { margin: -4px 0 15px; color: #99aac4; font-size: 10px; line-height: 1.9; }
.empty-symbol { font-size: 44px; color: #b1c8ed; line-height: 1.2; margin-bottom: 16px; }
.dns-errors { padding: 17px 25px; background: #fafcff; border-top: 1px solid var(--line); color: #96a9c9; font-size: 11px; }
.dns-errors summary { cursor: pointer; }
.dns-errors ul { margin: 12px 0 0; padding-left: 17px; font-size: 10px; line-height: 1.9; }
.egress-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fcfdff; }
.egress-card { padding: 16px 18px; border: 1px solid #e6edfb; border-radius: 13px; background: #f8fbff; }
.egress-card > span { font-size: 10px; color: #98accd; }
.egress-card .ip-link { margin-top: 4px; font-size: 19px; }
.egress-card p { margin: 7px 0 0; color: #9fb1cc; font-size: 10px; line-height: 1.8; }
.connectivity-panel .probe-grid { padding: 19px 24px; margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.connectivity-panel .probe-card { display: flex; align-items: center; gap: 11px; padding: 16px; border-radius: 13px; box-shadow: none; }
.connectivity-panel .probe-card strong { font-size: 11px; color: #6580a8; font-weight: 500; }
.connectivity-panel .probe-card small { display: block; font-size: 9px; margin-top: 3px; }
.success-text { color: #6fac98; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

@media (max-width: 1100px) {
  .nav-list { gap: 4px; }
  .nav-item { padding-left: 11px; padding-right: 11px; font-size: 11px; gap: 7px; }
  .nav-item svg { width: 15px; height: 15px; }
  .cards { gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-value { font-size: 27px; }
  .probe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  th, td { padding-left: 20px; padding-right: 20px; }
  .page-footer { flex-wrap: wrap; gap: 7px; }
}
@media (max-width: 900px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .brand-row { height: 86px; }
  .brand-copy strong { font-size: 19px; }
  .nav-list { margin: 0 -24px; padding: 0 24px 15px; gap: 5px; }
  .nav-item { flex: none; padding: 9px 14px; font-size: 11px; }
  .topbar, .main-content, .page-footer { padding-left: 24px; padding-right: 24px; }
  .topbar-actions { gap: 15px; }
  .stat-card { padding: 17px; }
  .stat-value { font-size: 25px; }
  .stat-card > p:first-child, .stat-label { font-size: 9px; }
  .toolbar, .panel-header { padding-left: 20px; padding-right: 20px; }
  .table-wrap table { min-width: 650px; }
  .hero-art { opacity: .5; right: 0; }
  .hero-art svg { max-width: 110px; }
  .result-grid, .two-col { grid-template-columns: 1fr; }
  .connectivity-panel .probe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .site-header { padding-left: 20px; padding-right: 20px; }
  .brand-row { height: 82px; }
  .brand { gap: 10px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 11px; font-size: 23px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy > span { font-size: 8px; letter-spacing: .8px; }
  .header-tag { font-size: 8px; gap: 5px; }
  .header-tag .status-dot { width: 4px; height: 4px; }
  .nav-list { margin: 0 -20px; padding: 0 20px 14px; gap: 5px; }
  .nav-item { min-height: 35px; gap: 7px; padding: 8px 12px; font-size: 10px; }
  .nav-item svg { width: 14px; height: 14px; }
  .nav-count { min-width: 19px; height: 16px; font-size: 8px; }
  .topbar { height: 64px; padding: 0 20px; gap: 12px; }
  .breadcrumb { font-size: 9px; gap: 8px; }
  .breadcrumb > span:not(.breadcrumb-divider) { display: none; }
  .breadcrumb-divider { display: none; }
  .topbar-actions { gap: 13px; }
  .global-status, .topbar-divider { display: none; }
  .refresh-button { padding: 7px 12px; min-height: 31px; font-size: 9px; }
  .refresh-button svg { width: 13px; height: 13px; }
  .privacy-toggle { font-size: 10px; gap: 6px; }
  .main-content { padding: 10px 20px 20px; }
  .hero { margin-bottom: 20px; min-height: 0; padding-right: 0; }
  .hero h1 { font-size: 25px; letter-spacing: -.5px; margin-bottom: 8px; }
  .eyebrow { font-size: 7px; letter-spacing: 1.3px; margin-bottom: 9px; }
  .hero p { font-size: 10px; line-height: 1.9; }
  .hero-art { display: none; }
  .hero > .button, .hero .hero-actions { position: static; margin-top: 14px; }
  .cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 19px; }
  .stat-card { padding: 16px 18px; border-radius: 16px; }
  .stat-value { font-size: 26px; }
  .stat-card > small, .stat-card .stat-hint, .stat-card .muted { font-size: 8px; margin-top: 6px; }
  .stat-card .stat-icon { top: 16px; right: 16px; }
  .stat-card .badge { top: 14px; right: 14px; font-size: 8px; }
  .panel { border-radius: 16px; margin-bottom: 18px; }
  .toolbar, .panel-header { padding: 16px 18px; flex-wrap: wrap; gap: 12px; }
  .toolbar h2, .panel h2 { font-size: 12px; }
  .toolbar .toolbar-actions { margin-left: auto; }
  .toolbar input[type="search"], .toolbar input[type="text"] { min-width: 130px; max-width: 160px; }
  .panel-body { padding: 18px; }
  .panel > h2, .panel > h3 { padding: 18px 18px 0; }
  .panel > p { padding: 0 18px; }
  .panel > .notice { margin: 15px 18px; }
  .notice { font-size: 9px; padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; }
  .probe-grid { gap: 12px; }
  .probe-card { padding: 18px; border-radius: 16px; }
  .probe-card .mono { font-size: 17px; }
  .probe-card h3 { font-size: 12px; }
  .probe-card p { font-size: 10px; }
  .table-footer { padding: 12px 18px; font-size: 8px; }
  .page-footer { padding: 0 20px 22px; font-size: 8px; gap: 6px; }
  .page-footer p { flex-wrap: wrap; gap: 4px; }
  .footer-year { margin-left: 3px; }
  .form-row { gap: 10px; }
  .panel > .form-row { margin: 18px; }
  .field { min-width: 130px; }
  .empty { min-height: 200px; padding: 28px; }
  .empty p { font-size: 10px; }
  .detail-list { grid-template-columns: 105px 1fr; font-size: 10px; }
  .stat-ip { font-size: 14px; }
  .stat-card > .stat-label { font-size: 8px; }
  .stat-value { font-size: 22px; }
  .query-box { gap: 9px; }
  .query-box .button { padding-left: 17px; padding-right: 17px; }
  .egress-groups { padding: 17px 18px; }
  .connectivity-panel .probe-grid { padding: 17px 18px; }
  .connectivity-panel .probe-card { padding: 12px; }
}
@media (max-width: 430px) {
  .header-tag { max-width: 78px; line-height: 1.7; }
  .topbar { padding: 0 18px; }
  .topbar-actions { gap: 11px; }
  .privacy-toggle { font-size: 9px; }
  .refresh-button { gap: 5px; font-size: 9px; padding: 7px 10px; }
  .main-content { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 24px; }
  .cards { gap: 9px; }
  .stat-card { padding: 14px 12px; }
  .stat-value { font-size: 21px; }
  .stat-ip { font-size: 12px; }
  .probe-grid { grid-template-columns: 1fr; }
  .toolbar .toolbar-actions { margin-left: 0; width: 100%; justify-content: space-between; }
  .toolbar-actions .button { padding: 6px 10px; }
  .panel .form-row > .button { flex: 1; }
  .page-footer { padding-left: 16px; padding-right: 16px; }
  .page-footer p { line-height: 1.8; }
  .table-footer { gap: 8px; flex-wrap: wrap; }
  .stat-card .badge { right: 12px; top: 12px; }
  .hero-badge { font-size: 9px; padding: 4px 8px; }
  .query-box input { padding: 10px 12px; font-size: 10px; }
  .query-box .button { padding: 10px 14px; font-size: 10px; }
}

/* Source-style tool pages: compact navigation and purpose-built result views. */
.site-header { position: sticky; top: 12px; z-index: 30; width: calc(100% - 48px); max-width: 1256px; margin: 14px auto 12px; padding: 6px; border: 1px solid #e5ebf5; border-radius: 32px; background: #ffffffed; }
.brand-row { display: none; }
.nav-list { padding: 0; gap: 3px; }
.nav-item { padding: 9px 12px; min-height: 38px; }
.workspace { position: relative; }
.topbar { position: absolute; top: 11px; right: max(24px, calc((100% - 1248px)/2)); width: auto; padding: 0; height: 32px; z-index: 2; }
.breadcrumb, .global-status, .topbar-divider { display: none; }
.topbar-actions { gap: 14px; }
body[data-view="overview"] .topbar .privacy-toggle { display: none; }
.main-content { padding-top: 14px; }
.reference-heading, main[data-view="overview"] .home-heading { margin: 0 0 22px; padding-right: 250px; }
.reference-heading h1, main[data-view="overview"] .home-heading h1 { margin: 0 0 6px; font-size: 27px; color: #1e293b; line-height: 1.4; }
.reference-heading p, main[data-view="overview"] .home-heading p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.site-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.country-flag { width: 24px; height: 18px; object-fit: contain; flex-shrink: 0; display: inline-block; border-radius: 2px; box-shadow: 0 0 0 1px #0f172a12; vertical-align: middle; }
.ui-icon { display: inline-block; width: 17px; height: 17px; vertical-align: -.18em; flex-shrink: 0; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 5px; border: 1px solid #e5ebf5; background: #fff; border-radius: 8px; color: #64748b; }
.icon-button:hover { color: #3166ff; background: #edf3ff; border-color: #b7cbff; }
.badge, .row-action, .with-flag, .inline-status { display: inline-flex; align-items: center; gap: 7px; }
.badge .ui-icon { width: 13px; height: 13px; }
.badge.loading .ui-icon { animation: spin 1s linear infinite; }
.reference-site { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reference-site strong { font-weight: 550; }
.scope-tag { padding: 2px 7px; border: 1px solid #d9e5ff; border-radius: 20px; font-size: 11px; color: #3166cf; background: #f0f5ff; white-space: nowrap; }
.scope-tag.international { color: #087c73; background: #eaf8f5; border-color: #bfe7de; }
.reference-table { border: 1px solid #e5ebf5; border-radius: 14px; margin-bottom: 18px; background: #fff; }
.reference-table th { height: 42px; font-size: 13px; background: #f6f8fc; color: #475569; }
.reference-table td { padding: 12px 18px; height: 61px; font-size: 14px; white-space: normal; }
.reference-table tbody tr:nth-child(even) { background: #f8faff; }
.reference-table .domain { display: block; margin-left: 36px; margin-top: 3px; font-size: 11px; }
.reference-table .flag-column { width: 42px; padding: 8px; }
.reference-table td:nth-child(2):has(> .country-flag) { padding-right: 0; }
.reference-table .ip-link { white-space: nowrap; }
.reference-controls { display: flex; align-items: center; gap: 14px; margin: -8px 0 10px; min-height: 25px; }
.reference-controls .run-state { margin-right: auto; color: #64748b; font-size: 12px; }
.reference-controls .progress { display: none; }
.control-actions { display: flex; gap: 7px; }
.reference-controls .button { padding: 4px 9px; min-height: 28px; font-size: 11px; }
.query-table { min-height: 160px; }
.query-table table { min-width: 1000px; }
.query-box { max-width: 700px; margin-bottom: 17px; }
.cdn-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.cdn-card { position: relative; display: flex; align-items: center; flex-direction: column; min-height: 185px; padding: 23px 18px 16px; border: 1px solid #e3eaf5; border-radius: 16px; background: #fff; text-align: center; }
.cdn-card > .site-logo { width: 30px; height: 30px; margin-bottom: 9px; }
.cdn-card h2 { font-size: 15px; font-weight: 550; color: #334155; margin: 0 0 12px; }
.cdn-value { padding: 13px 0 7px; border-top: 1px solid #e5ebf5; width: 100%; font-size: 16px; color: #315d9c; overflow-wrap: anywhere; }
.cdn-value .muted { font: 12px/1.5 inherit; }
.cdn-card > small { color: #8290a5; font-size: 10px; overflow-wrap: anywhere; }
.cdn-card > .icon-button { position: absolute; top: 8px; right: 8px; border-color: transparent; width: 25px; height: 25px; }
.cdn-cache { max-width: 100%; margin: 6px 0 0; color: #6f829d; font-size: 10px; overflow-wrap: anywhere; }
.skeleton { display: inline-block; width: 90px; height: 14px; border-radius: 5px; background: linear-gradient(90deg,#edf2f8,#dce6f3,#edf2f8); background-size: 200%; animation: pulse 1.4s ease-in-out infinite; }
.multi-progress { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 18px 22px 23px; margin-bottom: 24px; border: 1px solid #e3eaf5; border-radius: 14px; background: #fff; overflow: hidden; }
.multi-progress .run-state { display: flex; align-items: center; gap: 20px; }
.multi-progress .run-state strong { color: #334155; font-size: 15px; }
.multi-progress .progress { position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; }
.egress-list { margin-bottom: 22px; }
.egress-list > h2 { color: #334155; font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.egress-list > h2 span { color: #64748b; font-weight: 400; }
.egress-item { border: 1px solid #e3eaf5; border-radius: 13px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.egress-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 21px; list-style: none; cursor: pointer; }
.egress-item > summary::-webkit-details-marker { display: none; }
.egress-heading { display: grid; grid-template-columns: 25px auto; align-items: center; gap: 5px 12px; }
.egress-heading strong { font-size: 17px; color: #334155; }
.egress-heading small { grid-column: 2; color: #64748b; font-size: 12px; }
.egress-count { display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 12px; }
.egress-item[open] > summary .egress-count > .ui-icon { transform: rotate(90deg); }
.egress-sources { padding: 0 21px 15px; border-top: 1px solid #edf1f7; }
.egress-sources > div { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; }
.egress-sources .mono { color: #64748b; margin-left: auto; font-size: 12px; }
.egress-sources .site-logo { width: 20px; height: 20px; }
main[data-view="overview"] .home-columns { gap: 16px; }
main[data-view="overview"] .protocol-section { padding: 23px 24px; flex: 1; }
main[data-view="overview"] .protocol-panel { display: flex; flex-direction: column; }
main[data-view="overview"] .protocol-heading { display: flex; align-items: center; justify-content: space-between; }
main[data-view="overview"] .protocol-actions, main[data-view="overview"] .home-ip, main[data-view="overview"] .sample-ip { display: flex; align-items: center; gap: 9px; }
main[data-view="overview"] .protocol-actions { gap: 13px; }
main[data-view="overview"] .route-group { padding: 16px 22px; }
main[data-view="overview"] .route-heading h2 { display: inline-flex; align-items: center; gap: 8px; }
main[data-view="overview"] .route-sample > header { justify-content: flex-start; gap: 9px; }
main[data-view="overview"] .route-sample > header > .scope-tag { margin-left: auto; }
main[data-view="overview"] .route-sample .site-logo { width: 22px; height: 22px; }
main[data-view="overview"] .route-sample .sample-network { font-size: 12px; }
main[data-view="overview"] .route-sample .home-source { margin-top: 2px; font-size: 10px; }
main[data-view="overview"] .route-sample + .route-sample { margin-top: 11px; padding-top: 11px; }
main[data-view="overview"] .home-controls { position: relative; gap: 12px; padding: 12px 17px 15px; overflow: hidden; margin-bottom: 15px; }
main[data-view="overview"] .home-controls .run-state { margin-right: auto; }
main[data-view="overview"] .home-controls .progress { position: absolute; bottom: 0; left: 0; width: 100%; }
main[data-view="overview"] .home-controls .control-actions { display: flex; }
main[data-view="overview"] .connectivity-title { display: flex; gap: 16px; align-items: baseline; padding: 17px 22px 0; }
main[data-view="overview"] .connectivity-title h2 { font-size: 16px; margin: 0; color: #334155; }
main[data-view="overview"] .connectivity-title small { color: #64748b; font-size: 12px; }
main[data-view="overview"] .connectivity-group h3 { display: flex; align-items: center; gap: 7px; }
@media (max-width:1000px) { .cdn-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:740px) {
  .site-header { width: calc(100% - 24px); top: 6px; margin-top: 8px; }
  .nav-item { flex: 0 0 auto; padding: 8px 12px; }
  .topbar { top: 13px; right: 17px; }
  .topbar .privacy-toggle { display: none; }
  .reference-heading, main[data-view="overview"] .home-heading { padding-right: 100px; }
  .reference-heading p, main[data-view="overview"] .home-heading p { font-size: 12px; }
  .reference-heading h1 { font-size: 23px; }
  .cdn-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap: 10px; }
  .cdn-card { min-height: 170px; padding: 21px 10px 15px; }
  .reference-table table { min-width: 670px; }
  .reference-controls { flex-wrap: wrap; }
  .egress-heading strong { font-size: 14px; }
  .egress-sources > div { flex-wrap: wrap; }
  .egress-sources .mono { width: 100%; margin-left: 30px; }
  .home-controls .home-switches { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
@media print {
  .site-header, .topbar, .page-footer, .row-action, .button, .toolbar-actions { display: none !important; }
  .workspace { min-height: 0; }
  .main-content { padding: 0; }
  .panel, .stat-card, .probe-card { box-shadow: none; break-inside: avoid; }
  .hero { padding: 0; }
  .table-wrap { overflow: visible; }
  table { white-space: normal; font-size: 9px; }
  body { background: #fff; }
  .notice { break-inside: avoid; }
}

/* Compact tool layout: readable text and results near the top of the page. */
:root { --ink: #1e293b; --text: #334155; --muted: #64748b; }
body { color: var(--text); font-size: 14px; }
.brand-row { height: 56px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 22px; }
.brand-copy strong { font-size: 18px; }
.brand-copy > span { display: none; }
.header-tag { color: #64748b; font-size: 12px; }
.nav-list { padding-bottom: 10px; }
.nav-item { min-height: 35px; padding: 7px 13px; font-size: 13px; color: #64748b; }
.nav-count { height: 19px; font-size: 11px; color: #6c91d1; background: #edf3ff; }
.nav-item.active .nav-count, .nav-item[aria-current="page"] .nav-count { color: #f0f5ff; background: #ffffff24; }
.topbar { height: 48px; }
.breadcrumb, .global-status, .privacy-toggle { font-size: 12px; color: #64748b; }
.breadcrumb strong { color: #475569; }
.main-content { padding-top: 6px; padding-bottom: 16px; }
.hero { min-height: 0; margin-bottom: 12px; padding-right: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 16px; }
.hero .eyebrow { display: none; }
.hero h1 { font-size: 26px; line-height: 1.35; margin: 0; color: #1e293b; }
.hero p { font-size: 13px; line-height: 1.7; color: #64748b; margin: 0; }
.hero > .button, .hero .hero-actions { position: static; margin-left: auto; }
.notice, .notice.warning, .notice.error { padding: 10px 14px; margin: 0 0 12px; font-size: 12px; line-height: 1.65; color: #64748b; }
.notice strong { color: #476897; }
.cards { gap: 12px; margin-bottom: 12px; }
.stat-card { min-height: 72px; padding: 12px 16px; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
.stat-card > .stat-label, .stat-card > span:first-child { grid-column: 1; font-size: 12px; color: #64748b; margin: 0; }
.stat-card .stat-value { grid-column: 2; grid-row: 1 / 3; font-size: 24px; color: #334155; letter-spacing: -.5px; }
.stat-card:first-child .stat-value { color: #3166ff; }
.stat-card > .muted, .stat-card > small, .stat-card .stat-hint { grid-column: 1; font-size: 12px; line-height: 1.5; color: #64748b; margin: 0; }
.stat-card .stat-ip { font-size: 16px; max-width: 180px; line-height: 1.5; }
.panel { margin-bottom: 14px; }
.toolbar, .panel-header { padding: 12px 18px; gap: 12px; }
.toolbar h2, .panel h2, .panel-title { font-size: 15px; color: #334155; }
.toolbar p, .panel-subtitle, .panel-header p, .panel-header .muted, #run-caption { font-size: 12px; line-height: 1.5; color: #64748b; margin-top: 2px; }
.button, button.primary, .refresh-button { font-size: 12px; min-height: 33px; padding: 7px 15px; }
.button.secondary, button.secondary, a.secondary { color: #5a7196; }
.toolbar .button, .row-action { font-size: 12px; }
.toolbar .button { min-height: 32px; padding: 6px 12px; }
.toolbar select, .toolbar .search-box input { font-size: 12px; min-height: 33px; }
table { font-size: 14px; }
th { height: 36px; padding: 8px 18px; color: #64748b; font-size: 12px; }
td { height: 62px; padding: 9px 18px; color: #475569; }
td .site-name, td strong, .site-identity strong { color: #334155; font-size: 14px; }
td .mono, .ip-link { font-size: 13px; color: #426ba9; }
.site-identity .domain, td small, td .subtext, td .site-domain, td .domain { font-size: 12px; color: #74849b; }
.site-avatar { font-size: 13px; }
.category-label { margin-top: 3px; font-size: 11px; color: #6d819e; background: #f4f7fc; }
.badge, .chip, .badge.pending, .badge.idle { font-size: 12px; color: #64748b; }
.badge.success, .chip.success { color: #248363; }
.badge.warning, .chip.warning { color: #9c7832; }
.badge.error, .chip.error { color: #b3555d; }
.badge.cancelled { color: #64748b; }
.badge.loading, .badge.running { color: #537bb5; }
.muted, .dim, .result-reason { color: #64748b; }
.result-reason { font-size: 12px; }
.result-detail, .result-detail summary, .result-detail dl, .result-detail code { font-size: 12px; color: #64748b; }
.result-detail dt { color: #526985; }
.result-detail dd { color: #64748b; }
.page-footnote, .section-note { color: #64748b; font-size: 12px; margin: 0 0 12px; }
.page-footer { font-size: 12px; color: #74849b; padding-bottom: 18px; }
.footer-year { color: #74849b; }
input[type="text"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], select, textarea { min-height: 38px; padding: 9px 13px; border: 1px solid #dce5f3; border-radius: 10px; color: #334155; background: #fff; font-size: 13px; max-width: 100%; }
input::placeholder, textarea::placeholder { color: #8292aa; }
.query-box input { flex: 1; min-width: 0; min-height: 42px; font-size: 14px; }
.query-box .button { font-size: 13px; padding: 9px 20px; }
.field label, .field small, .form-error, .empty p, .empty h3, .dns-errors, .dns-errors ul { font-size: 12px; color: #64748b; }
.form-error { color: #b3555d; }
.empty h3 { font-size: 16px; color: #475569; }
.probe-card h3, .connectivity-panel .probe-card strong { font-size: 14px; color: #475569; }
.probe-card p, .probe-card .result-detail, .connectivity-panel .probe-card small, .egress-card > span, .egress-card p, .table-footer, .detail-list { font-size: 12px; color: #64748b; }
.success-text { color: #248363; }
.detail-list dt { color: #64748b; }
.detail-list dd { color: #475569; }
@media (max-width: 650px) {
  .brand-row { height: 56px; }
  .header-tag { max-width: 115px; font-size: 12px; line-height: 1.5; }
  .nav-list { padding-bottom: 10px; }
  .nav-item { font-size: 13px; }
  .topbar { height: 48px; }
  .hero { display: block; margin-bottom: 12px; }
  .hero h1 { font-size: 24px; margin-bottom: 5px; }
  .hero p { font-size: 12px; }
  .cards { gap: 8px; }
  .stat-card { display: block; min-height: 0; padding: 11px 12px; }
  .stat-card .stat-value { margin: 4px 0; font-size: 24px; }
  .stat-card .stat-ip { font-size: 14px; }
  .stat-card > .muted { font-size: 12px; }
  .toolbar, .panel-header { padding: 12px 16px; }
  .toolbar .toolbar-actions { width: 100%; margin-left: 0; justify-content: flex-start; gap: 8px; }
  .toolbar .search-box { flex: 1; min-width: 130px; }
  .toolbar .search-box input { width: 100%; max-width: none; }
  .query-box input, .query-box .button { font-size: 12px; }
  .page-footer { font-size: 12px; }
}

/* Home follows the two-column network overview; other tools keep their tables. */
main[data-view="overview"] { padding-top: 12px; }
main[data-view="overview"] .home-heading { display: block; margin: 0 0 22px; }
main[data-view="overview"] .home-heading h1 { margin: 0 0 8px; color: #1e293b; font-size: 28px; line-height: 1.35; font-weight: 650; letter-spacing: -.6px; }
main[data-view="overview"] .home-heading p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.8; }
main[data-view="overview"] .home-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 20px; margin: 0 0 18px; }
main[data-view="overview"] .home-panel { min-width: 0; margin: 0; border: 1px solid #e5ebf5; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 5px 24px #26487905; }
main[data-view="overview"] .protocol-panel { display: flex; flex-direction: column; }
main[data-view="overview"] .protocol-section { flex: 1; min-width: 0; padding: 25px 28px 22px; }
main[data-view="overview"] .protocol-section + .protocol-section { border-top: 1px solid #e9edf5; }
main[data-view="overview"] .protocol-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
main[data-view="overview"] .protocol-heading h2 { margin: 0; padding: 0; color: #334155; font-size: 18px; font-weight: 600; line-height: 1.45; }
main[data-view="overview"] .protocol-heading .badge { font-size: 12px; }
main[data-view="overview"] .home-ip { margin: 6px 0 17px; color: #3166ff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 24px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
main[data-view="overview"] .home-ip .ip-link { display: inline; padding: 0; color: #3166ff; font-size: inherit; font-weight: inherit; line-height: inherit; }
main[data-view="overview"] .network-facts { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 14px; line-height: 1.6; }
main[data-view="overview"] .network-facts dt, main[data-view="overview"] .network-facts dd { margin: 0; padding: 0; border: 0; }
main[data-view="overview"] .network-facts dt { color: #64748b; }
main[data-view="overview"] .network-facts dd { color: #334155; overflow-wrap: anywhere; }
main[data-view="overview"] .home-source { display: block; margin: 15px 0 0; color: #7c8ca4; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
main[data-view="overview"] .home-source a { color: #6d8fc2; }
main[data-view="overview"] .home-error { margin: 12px 0 0; color: #a5763f; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
main[data-view="overview"] .route-group { padding: 20px 25px; }
main[data-view="overview"] .route-group + .route-group { border-top: 1px solid #e9edf5; }
main[data-view="overview"] .route-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 16px; }
main[data-view="overview"] .route-heading h2 { margin: 0; padding: 0; color: #334155; font-size: 16px; line-height: 1.5; font-weight: 600; }
main[data-view="overview"] .route-more { color: #6485bf; font-size: 13px; white-space: nowrap; }
main[data-view="overview"] .route-more:hover { color: #3166ff; }
main[data-view="overview"] .route-sample { position: relative; min-width: 0; }
main[data-view="overview"] .route-sample + .route-sample { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #eaf0f8; }
main[data-view="overview"] .route-sample > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
main[data-view="overview"] .route-sample > header strong { color: #475569; font-size: 14px; line-height: 1.6; font-weight: 550; }
main[data-view="overview"] .scope-tag { display: inline-flex; align-items: center; padding: 2px 7px; border: 1px solid #e7edf7; border-radius: 5px; color: #7487a4; background: #f7faff; font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap; }
main[data-view="overview"] .sample-ip { margin: 4px 0; color: #315e9c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
main[data-view="overview"] .sample-ip .ip-link { display: inline; color: inherit; padding: 0; font-size: inherit; line-height: inherit; }
main[data-view="overview"] .sample-location, main[data-view="overview"] .sample-network { margin: 2px 0; font-size: 14px; line-height: 1.6; color: #64748b; overflow-wrap: anywhere; }
main[data-view="overview"] .route-sample .home-source { margin-top: 5px; font-size: 12px; }
main[data-view="overview"] .route-sample .home-error { font-size: 13px; margin: 6px 0; }
main[data-view="overview"] .home-routing-note { margin: 0; padding: 13px 25px; border-top: 1px solid #e9edf5; background: #fafcff; color: #64748b; font-size: 12px; line-height: 1.8; }
main[data-view="overview"] .home-redacted { color: #7c8ca4; font-size: 14px; line-height: 1.8; }
main[data-view="overview"] .home-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; padding: 15px 20px; border: 1px solid #e5ebf5; border-radius: 14px; background: #fff; box-shadow: 0 3px 16px #26487903; }
main[data-view="overview"] .home-controls #run-caption { margin: 0 auto 0 0; font-size: 13px; color: #64748b; }
main[data-view="overview"] .home-controls .button { min-height: 32px; padding: 6px 13px; font-size: 12px; }
main[data-view="overview"] .home-switches { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-left: 8px; }
main[data-view="overview"] .home-switches label { display: inline-flex; align-items: center; gap: 8px; color: #52657f; font-size: 13px; white-space: nowrap; cursor: pointer; }
main[data-view="overview"] .home-switches input { accent-color: #3166ff; }
main[data-view="overview"] .home-switches .privacy-toggle { font-size: 13px; }
main[data-view="overview"] .home-connectivity { margin: 0 0 18px; border: 1px solid #e5ebf5; border-radius: 20px; background: #fff; overflow: hidden; }
main[data-view="overview"] .home-connectivity > h2 { margin: 0; padding: 20px 24px 4px; font-size: 17px; color: #334155; font-weight: 600; }
main[data-view="overview"] .home-connectivity > small { display: block; margin: 0; padding: 0 24px; font-size: 13px; color: #64748b; line-height: 1.8; }
main[data-view="overview"] .home-connectivity .toolbar { padding: 18px 24px; }
main[data-view="overview"] .home-connectivity .toolbar h2 { font-size: 17px; }
main[data-view="overview"] .home-connectivity .toolbar small { display: block; margin-top: 4px; color: #64748b; font-size: 13px; line-height: 1.8; }
main[data-view="overview"] .home-connectivity #connectivity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 20px 24px 24px; margin: 0; }
main[data-view="overview"] .connectivity-group { min-width: 0; }
main[data-view="overview"] .connectivity-group + .connectivity-group { border-left: 1px solid #e9edf5; padding-left: 24px; }
main[data-view="overview"] .connectivity-group h3 { margin: 0 0 12px; color: #64748b; font-size: 14px; line-height: 1.5; font-weight: 500; }
main[data-view="overview"] .connectivity-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
main[data-view="overview"] .connectivity-items > .probe-card { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid #e9eef7; border-radius: 11px; background: #fafcff; box-shadow: none; }
main[data-view="overview"] .connectivity-items > .probe-card > div { min-width: 0; }
main[data-view="overview"] .connectivity-items .probe-card strong { display: block; color: #475569; font-size: 14px; font-weight: 500; line-height: 1.5; }
main[data-view="overview"] .connectivity-items .probe-card small { display: block; margin-top: 3px; color: #64748b; font-size: 12px; line-height: 1.5; }
main[data-view="overview"] .connectivity-items .probe-card .success-text { color: #248363; }
main[data-view="overview"] .connectivity-items .site-avatar { width: 29px; height: 29px; border-radius: 9px; font-size: 12px; }
@media (max-width: 1000px) {
  main[data-view="overview"] .home-columns { gap: 16px; }
  main[data-view="overview"] .protocol-section { padding: 22px; }
  main[data-view="overview"] .route-group { padding: 19px 22px; }
  main[data-view="overview"] .network-facts { grid-template-columns: 86px minmax(0, 1fr); gap: 7px 10px; }
  main[data-view="overview"] .home-connectivity #connectivity { gap: 18px; }
  main[data-view="overview"] .connectivity-group + .connectivity-group { padding-left: 18px; }
  main[data-view="overview"] .connectivity-items > .probe-card { padding: 12px; gap: 8px; }
}
@media (max-width: 740px) {
  main[data-view="overview"] .home-heading { margin-bottom: 18px; }
  main[data-view="overview"] .home-heading h1 { font-size: 25px; }
  main[data-view="overview"] .home-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  main[data-view="overview"] .protocol-section { padding: 22px; }
  main[data-view="overview"] .home-ip { font-size: 23px; }
  main[data-view="overview"] .home-controls { padding: 14px 17px; gap: 10px; }
  main[data-view="overview"] .home-controls #run-caption { flex: 1 1 100%; }
  main[data-view="overview"] .home-switches { margin-left: auto; gap: 14px; }
  main[data-view="overview"] .home-connectivity #connectivity { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 19px 20px 22px; }
  main[data-view="overview"] .connectivity-group + .connectivity-group { border-left: 0; padding-left: 0; border-top: 1px solid #e9edf5; padding-top: 20px; }
  main[data-view="overview"] .home-connectivity > h2 { padding-left: 20px; padding-right: 20px; }
  main[data-view="overview"] .home-connectivity > small { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 430px) {
  main[data-view="overview"] .protocol-section, main[data-view="overview"] .route-group { padding-left: 18px; padding-right: 18px; }
  main[data-view="overview"] .home-panel, main[data-view="overview"] .home-connectivity { border-radius: 16px; }
  main[data-view="overview"] .home-switches { flex-basis: 100%; margin: 3px 0 0; padding-top: 12px; border-top: 1px solid #edf1f8; }
  main[data-view="overview"] .route-more { font-size: 12px; }
  main[data-view="overview"] .connectivity-items { gap: 8px; }
  main[data-view="overview"] .connectivity-items > .probe-card { padding: 11px 10px; }
  main[data-view="overview"] .connectivity-items .site-avatar { width: 25px; height: 25px; }
  main[data-view="overview"] .connectivity-items .probe-card strong { font-size: 13px; }
}
/* Tighten the home overview to the source page's first-screen density. */
main[data-view="overview"] .route-heading { margin-bottom: 9px; }
main[data-view="overview"] .route-group { padding: 13px 22px; }
main[data-view="overview"] .route-sample > header { margin-bottom: 2px; }
main[data-view="overview"] .route-sample .sample-ip { margin: 3px 0; font-size: 17px; }
main[data-view="overview"] .sample-location, main[data-view="overview"] .sample-network { display: inline; font-size: 12px; line-height: 1.6; }
main[data-view="overview"] .sample-network { margin-left: 7px; }
main[data-view="overview"] .route-sample .home-source { margin-top: 2px; font-size: 10px; line-height: 1.4; }
main[data-view="overview"] .route-sample + .route-sample { margin-top: 8px; padding-top: 8px; }
main[data-view="overview"] .protocol-section { padding: 21px 24px; }
main[data-view="overview"] .protocol-unavailable { position: relative; }
main[data-view="overview"] .protocol-placeholder { filter: blur(3px); opacity: .35; user-select: none; pointer-events: none; }
main[data-view="overview"] .protocol-unavailable-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 24px 18px; background: rgba(255, 255, 255, .4); text-align: center; }
main[data-view="overview"] .protocol-unavailable-overlay p { margin: 0; color: #64748b; font-size: 16px; line-height: 1.7; }
main[data-view="overview"] .protocol-retry { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 17px; border: 1px solid #dce5f1; border-radius: 8px; background: #fff; color: #475569; font: inherit; font-size: 13px; line-height: 1.4; cursor: pointer; }
main[data-view="overview"] .protocol-retry:hover:not(:disabled) { color: #3166ff; border-color: #a9c3f8; background: #f5f8ff; }
main[data-view="overview"] .protocol-retry:focus-visible { outline: 3px solid #a4bcff; outline-offset: 3px; }
main[data-view="overview"] .protocol-retry:disabled { cursor: wait; opacity: .55; }
main[data-view="overview"] .home-routing-note { padding: 9px 22px; }
.probe-flags { display: inline-flex; align-items: center; gap: 4px; }
.probe-flags .country-flag { width: 20px; height: 15px; }
.probe-country { border-bottom: 1px solid #e8eef6; padding: 0; }
.probe-country:last-child { border-bottom: 0; }
.probe-country > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; padding: 13px 0; }
.probe-country > summary::-webkit-details-marker { display: none; }
.probe-country > summary strong { font-size: 14px; font-weight: 500; }
.probe-country > summary > span { margin-left: auto; color: #64748b; font-size: 12px; }
.probe-country[open] > summary > .ui-icon { transform: rotate(90deg); }
.probe-locations { padding: 0 0 10px 33px; }
.probe-locations > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 6px 0; font-size: 13px; }
.probe-locations small { margin-left: auto; color: #7c8ca4; font-size: 11px; }
@media(max-width:740px) { .probe-flags { display: none; } .egress-count { max-width: 100px; } .probe-locations small { width: 100%; margin-left: 24px; } }
