:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #202a24;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  font-weight: 400;
  --ink: #202a24;
  --ink-soft: #46534a;
  --muted: #626f66;
  --muted-soft: #78847c;
  --line: #dfe5df;
  --line-soft: #e9ede9;
  --surface: #fff;
  --surface-container: #f6f8f5;
  --surface-container-high: #edf1ed;
  --primary: #386a50;
  --primary-dark: #204d35;
  --primary-container: #d8eddd;
  --secondary: #456b85;
  --tertiary: #8a6425;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #fff; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.site-header { position: sticky; z-index: 10; top: 0; height: 68px; border-bottom: 1px solid var(--line); background: #ffffffed; backdrop-filter: blur(16px); }
.header-inner { width: min(1440px, 100%); height: 100%; display: flex; align-items: center; gap: 48px; margin: 0 auto; padding: 0 40px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: #25392d; text-decoration: none; font-size: 20px; font-weight: 750; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #204d35; background: #d8eddd; font-size: 17px; font-weight: 750; }
.site-nav { height: 100%; display: flex; align-items: center; gap: 8px; }
.site-nav a { position: relative; height: 100%; display: inline-flex; align-items: center; padding: 0 16px; color: #505e54; text-decoration: none; font-size: 16px; font-weight: 550; white-space: nowrap; }
.site-nav a:hover, .site-nav a.nav-current { color: var(--primary-dark); }
.site-nav a.nav-current::after { position: absolute; right: 15px; bottom: 0; left: 15px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); content: ""; }
.login-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: 0 19px; border: 1px solid #b7c8bb; border-radius: 22px; color: #315c40; text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }
.login-link:hover { border-color: #679072; background: #f2f7f2; }
.site-content { width: 100%; flex: 1; }
.site-content > main { width: min(1440px, 100%); min-height: calc(100vh - 140px); margin: 0 auto; padding: 0 40px 54px; }
.page-heading { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 22px; }
.eyebrow { color: #586e5e; font-size: 14px; font-weight: 650; }
.page-heading h1, .detail-heading h1, .article-page h1 { margin: 9px 0 7px; color: #202c24; font-size: 34px; line-height: 1.24; font-weight: 720; letter-spacing: 0; }
.page-heading p { max-width: 830px; margin: 0; color: #58665c; font-size: 16px; line-height: 1.65; }
.page-stats { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border: 1px solid #e2e8e2; border-radius: 12px; color: #69766d; background: #fff; font-size: 14px; white-space: nowrap; }
.page-stats b { color: #2f4937; font-size: 20px; }.page-stats i { width: 1px; height: 27px; margin: 0 8px; background: #dfe5df; }
.demo-note, .admin-notice { min-height: 49px; display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 10px 15px; border: 1px solid #e3d9bd; border-radius: 9px; color: #675936; background: #fffdf7; font-size: 14px; line-height: 1.5; }
.demo-note b, .admin-notice b { color: #6e511d; font-weight: 700; white-space: nowrap; }
.demo-note span, .admin-notice span { color: #70694f; }
.directory-panel, .content-panel { overflow: hidden; border: 1px solid #dfe5df; border-radius: 12px; background: #fff; }
.panel-heading { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 20px; }
.panel-heading h2, .content-panel > h2 { margin: 0; color: #29382e; font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.panel-heading p { margin: 5px 0 0; color: #66736a; font-size: 14px; line-height: 1.5; }
.updated-time { color: #66736a; font-size: 14px; white-space: nowrap; }
.filter-bar { min-height: 70px; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fcfdfb; }
.search-field, .select-field { min-height: 44px; display: flex; align-items: center; border: 1px solid #cbd5cc; border-radius: 7px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.search-field { flex: 1 1 270px; max-width: 400px; padding: 0 13px; }
.search-field:focus-within, .select-field:focus-within, .public-form input:focus, .public-form select:focus, .public-form textarea:focus { border-color: #548265; outline: 0; box-shadow: 0 0 0 3px #54826524; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #25362a; background: transparent; font-size: 16px; }
.search-field input::placeholder { color: #758178; }
.select-field { min-width: 150px; padding: 0 12px; }
.select-field select { width: 100%; min-width: 0; appearance: none; border: 0; outline: 0; color: #33453a; background: transparent; font-size: 14px; cursor: pointer; }
.probe-select { min-width: 218px; }
.text-button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; color: #315f42; background: transparent; font-size: 14px; font-weight: 650; white-space: nowrap; }
.text-button:hover { background: #edf4ed; }
.filter-bar > .text-button { margin-left: auto; }
.selected-probe { min-height: 45px; display: flex; align-items: center; gap: 9px; padding: 0 20px; color: #647168; background: #fff; }
.selected-probe > span:first-child { font-size: 14px; }
.selected-probe b { color: #33493a; font-size: 14px; font-weight: 650; }
.selected-probe > span:nth-child(3) { color: #758178; font-size: 14px; }
.selected-probe-note { margin-left: auto; color: #758178; font-size: 14px; }
.result-meta { min-height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-top: 1px solid #edf0ed; color: #67746b; background: #f7f9f6; font-size: 14px; }
.result-meta b { color: #304337; font-size: 16px; }
.table-scroll, .data-table-wrap { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #bfc9c1 #f3f5f2; scrollbar-width: thin; }
.network-table { width: 100%; min-width: 1270px; border-collapse: collapse; text-align: left; }
.network-table thead, .data-table thead { height: 53px; background: #f1f4f0; }
.network-table th, .data-table th { padding: 0 12px; color: #46544a; font-size: 14px; font-weight: 650; white-space: nowrap; }
.network-table th:first-child, .network-table td:first-child { padding-left: 20px; }
.network-table th:last-child, .network-table td:last-child { padding-right: 18px; }
.network-table th small { display: block; margin-top: 2px; color: #738077; font-size: 14px; font-weight: 400; }
.network-table tbody tr, .data-table tbody tr { height: 79px; border-top: 1px solid #e8ede8; }
.network-table tbody tr:hover, .data-table tbody tr:hover { background: #fafcf9; }
.network-table td, .data-table td { padding: 10px 12px; color: #405046; vertical-align: middle; font-size: 16px; }
.merchant-cell { min-width: 125px; }
.merchant-name, .table-link { display: inline-block; color: #2e4936; text-decoration: none; font-size: 16px; font-weight: 700; white-space: nowrap; }
.merchant-name:hover, .table-link:hover { color: #2f6c48; text-decoration: underline; }
.merchant-cell > span { display: block; margin-top: 4px; color: #68756c; font-size: 14px; }
.public-ip { color: #28392e; font-family: "Cascadia Code", Consolas, monospace; font-size: 14px; font-weight: 650; white-space: nowrap; }
.network-table td > small, .last-test small { display: block; margin-top: 4px; color: #6c7970; font-size: 14px; }
.location-cell { min-width: 150px; color: #405046; font-size: 14px; }
.metric-value b { color: #2f6042; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-value b small { margin-left: 3px; color: #66746a; font-size: 14px; font-weight: 500; }
.metric-value span { display: block; margin-top: 4px; color: #6c7970; font-size: 14px; white-space: nowrap; }
.sort-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; border: 0; color: inherit; background: transparent; font-size: inherit; font-weight: inherit; white-space: nowrap; }
.sort-button:hover, .sort-button.sort-selected { color: #2f6945; }.sort-button span { color: #64756a; font-size: 14px; font-weight: 500; }
.route-label { max-width: 205px; display: inline-block; padding: 6px 9px; border: 1px solid #d9e6dc; border-radius: 6px; color: #386248; background: #f1f7f2; font-size: 14px; line-height: 1.4; white-space: normal; }
.route-mixed { border-color: #e8dcc7; color: #795b2c; background: #fbf7ee; }.route-direct { border-color: #d9e4eb; color: #456a82; background: #f2f6f8; }.route-unknown, .route-external { border-color: #e0e4df; color: #5d6a61; background: #f4f6f3; }
.trend-wrap { min-width: 145px; }.sparkline { width: 140px; height: 38px; display: block; }.trend-wrap small { display: block; margin-top: 3px; color: #69766d; font-size: 14px; font-variant-numeric: tabular-nums; }
.availability { color: #3c704b; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }.availability-low { color: #896322; }
.last-test b { color: #3d4c41; font-size: 14px; font-weight: 650; white-space: nowrap; }
.detail-anchor, .text-link { color: #315e41; text-decoration: underline; text-decoration-color: #9db7a1; text-underline-offset: 3px; font-size: 14px; font-weight: 650; white-space: nowrap; }.detail-anchor:hover, .text-link:hover { color: #214e33; text-decoration-color: #214e33; }
.table-footnote { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-top: 1px solid #e8ede8; color: #68756c; font-size: 14px; }
.empty-state { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #65736a; font-size: 14px; }.empty-state b { color: #304337; font-size: 18px; }
.method-summary { display: grid; grid-template-columns: 270px 1fr; gap: 36px; padding: 37px 2px 0; }.method-summary h2 { margin: 6px 0 0; color: #2b3b30; font-size: 22px; }.method-summary p { margin: 0; color: #56645b; font-size: 16px; line-height: 1.8; }
.site-footer { min-height: 75px; border-top: 1px solid #e2e7e2; background: #fafbfa; }.site-footer > div { width: min(1440px, 100%); min-height: 75px; display: flex; align-items: center; gap: 20px; margin: 0 auto; padding: 12px 40px; }.site-footer > div > a { color: #30483a; text-decoration: none; font-size: 16px; font-weight: 700; }.site-footer > div > span { color: #68756c; font-size: 14px; }.site-footer nav { display: flex; gap: 18px; margin-left: auto; }.site-footer nav a { color: #4f5f54; text-decoration: none; font-size: 14px; }.site-footer nav a:hover { text-decoration: underline; }.site-footer small { color: #707c73; font-size: 14px; white-space: nowrap; }

/* Internal public pages */
.breadcrumbs { display: flex; align-items: center; gap: 9px; padding: 22px 0 12px; color: #78847b; font-size: 14px; }.breadcrumbs a { color: #3b6848; text-decoration: none; font-weight: 600; }.breadcrumbs a:hover { text-decoration: underline; }
.detail-main { padding-top: 0 !important; }.detail-heading { min-height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }.detail-heading h1 { font-size: 30px; }.detail-address { display: flex; flex-wrap: wrap; gap: 15px; color: #627067; font-size: 14px; }.detail-address code { color: #2e4335; font-family: "Cascadia Code", Consolas, monospace; font-weight: 650; }
.outlined-link, .outlined-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #b9cabd; border-radius: 21px; color: #315d40; background: #fff; text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; }.outlined-link:hover, .outlined-button:hover { background: #f1f6f1; }
.detail-demo-note { min-height: 43px; display: flex; align-items: center; gap: 12px; margin: 8px 0 15px; padding: 8px 13px; border: 1px solid #e4dec9; border-radius: 8px; color: #6b603f; background: #fffdf6; font-size: 14px; }.detail-demo-note b { color: #70541f; }.detail-demo-note > span:last-child { margin-left: auto; color: #786e52; white-space: nowrap; }
.detail-controls { display: flex; align-items: flex-end; gap: 24px; padding: 5px 0 15px; }.detail-controls label { display: grid; gap: 6px; color: #657168; font-size: 14px; }.detail-controls select { min-width: 230px; height: 43px; padding: 0 12px; border: 1px solid #cbd5cc; border-radius: 7px; color: #33463a; background: #fff; font-size: 14px; }.detail-window { padding-bottom: 12px; color: #647168; font-size: 14px; }
.detail-tabs, .admin-tabs { display: flex; gap: 24px; min-height: 48px; border-bottom: 1px solid #dfe5df; }.detail-tabs button, .admin-tabs button { position: relative; padding: 0 4px; border: 0; color: #5c6a60; background: transparent; font-size: 16px; font-weight: 550; white-space: nowrap; }.detail-tabs button:hover, .admin-tabs button:hover { color: #315f42; }.detail-tabs button.tab-current, .admin-tabs button.admin-tab-active { color: #28583b; font-weight: 700; }.detail-tabs button.tab-current::after, .admin-tabs button.admin-tab-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: #386a50; content: ""; }
.detail-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid #dfe5df; border-radius: 11px; background: #fff; }.detail-metric { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 15px 19px; }.detail-metric + .detail-metric { border-left: 1px solid #e7ece7; }.detail-metric > span { color: #5f6e64; font-size: 14px; }.detail-metric > b { margin-top: 7px; color: #2c6140; font-size: 25px; font-variant-numeric: tabular-nums; }.detail-metric > small { margin-top: 5px; color: #6e7a71; font-size: 14px; }.detail-metric > b.route-value { max-width: 240px; color: #566558; font-size: 16px; line-height: 1.45; }
.content-panel { margin-top: 17px; padding: 0; }.content-panel > .panel-heading { min-height: 72px; }.content-panel .panel-heading h2 { font-size: 19px; }.content-panel .panel-heading p { font-size: 14px; }.chart-key { display: inline-flex; align-items: center; gap: 7px; color: #56645a; font-size: 14px; white-space: nowrap; }.chart-key i { width: 14px; height: 3px; display: inline-block; border-radius: 3px; }.tcp-key { background: #376b56; }.icmp-key { margin-left: 8px; background: #4e7890; }
.latency-chart { display: flex; min-height: 244px; padding: 4px 20px 20px; }.chart-y-axis { width: 64px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 10px 22px 0; color: #6c7970; text-align: right; font-size: 14px; }.chart-plot { position: relative; height: 205px; flex: 1; margin-bottom: 20px; }.chart-plot > i { position: absolute; right: 0; left: 0; height: 1px; border-top: 1px solid #e8ede8; }.chart-plot > i:nth-child(1) { top: 3%; }.chart-plot > i:nth-child(2) { top: 50%; }.chart-plot > i:nth-child(3) { bottom: 3%; }.chart-plot > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }.chart-plot circle { fill: #376b56; }.chart-plot circle.icmp-point { fill: #4e7890; }.chart-x-axis { position: absolute; right: 0; bottom: -23px; left: 0; display: flex; justify-content: space-between; color: #6c7970; font-size: 14px; }.chart-x-axis span { white-space: nowrap; }
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.two-panels .content-panel { min-width: 0; }.facts-list { margin: 0 20px 15px; }.facts-list > div { min-height: 38px; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; border-top: 1px solid #edf0ed; }.facts-list dt { color: #68756c; font-size: 14px; }.facts-list dd { margin: 0; color: #35463b; font-size: 14px; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }.data-table th:first-child, .data-table td:first-child { padding-left: 20px; }.data-table th:last-child, .data-table td:last-child { padding-right: 20px; }.data-table td { height: 64px; }.data-table td code { color: #2f4435; font-family: "Cascadia Code", Consolas, monospace; }.method-caveat { margin: 14px 20px 18px; color: #66736a; font-size: 14px; line-height: 1.6; }
.server-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 20px 20px; border-top: 1px solid #e7ece7; border-left: 1px solid #e7ece7; }.server-facts > div { min-height: 76px; display: grid; align-content: center; gap: 6px; padding: 11px 14px; border-right: 1px solid #e7ece7; border-bottom: 1px solid #e7ece7; }.server-facts span { color: #6a776e; font-size: 14px; }.server-facts b { color: #33463a; font-size: 14px; font-weight: 650; }
.merchant-table { min-width: 760px; }.directory-table-panel { margin-top: 4px; }.breadcrumbs + .page-heading { min-height: 145px; padding-top: 12px; }
.form-panel { max-width: 780px; padding: 22px; }.form-panel > h2 { margin-bottom: 20px; }.public-form { display: grid; gap: 17px; }.public-form label { display: grid; gap: 7px; color: #46564b; font-size: 14px; font-weight: 600; }.public-form input, .public-form select, .public-form textarea, .inline-create-form input, .admin-table input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cbd5cc; border-radius: 7px; outline: 0; color: #283a2d; background: #fff; font-size: 16px; font-weight: 400; }.public-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }.public-form input::placeholder, .public-form textarea::placeholder { color: #78847b; }.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #6b786f; font-size: 14px; }.primary-button { min-height: 43px; padding: 0 19px; border: 1px solid #2f6844; border-radius: 22px; color: #fff; background: #386a50; font-size: 14px; font-weight: 650; white-space: nowrap; }.primary-button:hover { background: #28573d; }.form-success { padding: 18px; border-radius: 9px; color: #365b42; background: #edf5ee; }.form-success b { font-size: 17px; }.form-success p { color: #596c5e; font-size: 14px; line-height: 1.6; }.form-message { margin: 0; color: #876326; font-size: 14px; }.login-panel { margin: 0 auto; }.login-footnote { margin: 19px 0 0; padding-top: 15px; border-top: 1px solid #e9ede9; color: #66736a; font-size: 14px; }.login-footnote a { color: #315e42; }
.news-list { display: grid; gap: 13px; }.news-card { padding: 20px 21px; border: 1px solid #dfe5df; border-radius: 11px; background: #fff; }.news-meta { display: flex; gap: 13px; color: #6b786e; font-size: 14px; }.news-meta span { color: #386a50; font-weight: 650; }.news-card h2 { margin: 10px 0 7px; font-size: 20px; }.news-card h2 a { color: #293a2e; text-decoration: none; }.news-card h2 a:hover { color: #346a47; text-decoration: underline; }.news-card p { max-width: 900px; margin: 0 0 10px; color: #58665c; font-size: 16px; line-height: 1.7; }
.article-page { max-width: 960px !important; }.article-page article { padding: 10px 0 30px; }.article-page h1 { max-width: 840px; margin: 10px 0; font-size: 38px; }.article-page time { color: #69766d; font-size: 14px; }.article-summary { max-width: 820px; margin: 25px 0; color: #526258; font-size: 19px; line-height: 1.7; }.article-body { max-width: 820px; padding-top: 12px; border-top: 1px solid #e4e9e4; }.article-body p { color: #35443a; font-size: 17px; line-height: 1.9; }
.admin-notice { border-color: #ebd6ce; color: #774a3a; background: #fff8f5; }.admin-notice b { color: #87412c; }.admin-notice span { color: #795849; }.admin-tabs { margin-bottom: 18px; }.admin-feedback { padding: 12px 14px; border-radius: 7px; color: #385f43; background: #edf5ee; font-size: 14px; }.admin-panel { padding-bottom: 18px; }.inline-create-form { display: grid; grid-template-columns: 1fr 1.5fr 1fr auto; gap: 9px; padding: 0 20px 17px; }.inline-create-form input { min-height: 42px; font-size: 14px; }.admin-table { min-width: 870px; }.admin-table input { min-width: 120px; min-height: 38px; font-size: 14px; }.destructive-text { color: #9d4138; }.admin-content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }.admin-content-grid .content-panel { min-width: 0; }.admin-content-grid .public-form { padding: 0 20px 20px; }.admin-news-list { padding: 0 20px; }.admin-news-list article { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e9ede9; }.admin-news-list article > div { min-width: 0; }.admin-news-list b, .admin-news-list span { display: block; }.admin-news-list b { overflow: hidden; color: #34443a; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.admin-news-list span { margin-top: 4px; color: #6a776e; font-size: 14px; }.admin-table select, .data-table select { min-height: 38px; padding: 0 8px; border: 1px solid #cbd5cc; border-radius: 6px; color: #35463a; background: #fff; font-size: 14px; }
.detail-tabs a { position: relative; display: inline-flex; align-items: center; padding: 0 4px; color: #5c6a60; text-decoration: none; font-size: 16px; font-weight: 550; white-space: nowrap; }
.detail-tabs a:hover, .detail-tabs a.tab-current { color: #28583b; }
.detail-tabs a.tab-current { font-weight: 700; }
.detail-tabs a.tab-current::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: #386a50; content: ""; }
.feedback-list { padding: 0 20px 14px; }
.feedback-list article { padding: 17px 0; border-top: 1px solid #e8ede8; }
.feedback-list h3 { margin: 10px 0 8px; color: #304337; font-size: 18px; }
.feedback-list p { max-width: 900px; margin: 5px 0 10px; color: #536258; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.feedback-list small, .feedback-list .feedback-reference { color: #68766d; font-size: 14px; }
.moderation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
:is(a, button, input, select, textarea):focus-visible { outline: 2px solid #386a50; outline-offset: 3px; }

@media (max-width: 1180px) {
  .header-inner, .site-content > main, .site-footer > div { padding-right: 28px; padding-left: 28px; }.header-inner { gap: 25px; }.site-nav { gap: 0; }.site-nav a { padding: 0 11px; }.network-table { min-width: 1270px; }.method-summary { grid-template-columns: 230px 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .site-header { height: 60px; }.header-inner { gap: 14px; padding-right: 16px; padding-left: 16px; }.site-brand { gap: 8px; font-size: 18px; }.brand-mark { width: 31px; height: 31px; }.site-nav { min-width: 0; flex: 1; gap: 0; overflow-x: auto; scrollbar-width: none; }.site-nav::-webkit-scrollbar { display: none; }.site-nav a { flex: 0 0 auto; padding: 0 9px; font-size: 14px; }.site-nav a.nav-current::after { right: 9px; left: 9px; }.login-link { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .site-content > main { padding: 0 17px 38px; }.page-heading { min-height: 145px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding: 25px 0 18px; }.page-heading h1 { margin: 7px 0 5px; font-size: 29px; }.page-heading p { font-size: 16px; }.page-stats { padding: 9px 12px; font-size: 14px; }.page-stats b { font-size: 17px; }.demo-note, .admin-notice { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 16px; padding: 10px 12px; font-size: 14px; }
  .directory-panel, .content-panel { border-radius: 10px; }.panel-heading { min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 13px 14px; }.panel-heading h2, .content-panel > h2 { font-size: 18px; }.panel-heading p { font-size: 14px; }.updated-time { font-size: 14px; }
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }.search-field { grid-column: 1 / -1; width: 100%; max-width: none; min-height: 43px; }.search-field input { font-size: 14px; }.select-field { min-width: 0; min-height: 42px; padding: 0 9px; }.select-field select { font-size: 14px; }.probe-select { grid-column: 1 / -1; }.filter-bar > .text-button { justify-self: start; min-height: 35px; margin-left: 0; }
  .selected-probe { flex-wrap: wrap; gap: 4px 8px; padding: 9px 12px; }.selected-probe > span:first-child { width: 100%; font-size: 14px; }.selected-probe b { font-size: 14px; }.selected-probe > span:nth-child(3), .selected-probe-note { font-size: 14px; }.selected-probe-note { width: 100%; margin-left: 0; }.result-meta { min-height: 38px; padding: 0 12px; font-size: 14px; }.network-table { min-width: 1270px; }.network-table thead { height: 50px; }.network-table th { padding: 0 10px; font-size: 14px; }.network-table tbody tr { height: 77px; }.network-table td { padding: 9px 10px; font-size: 14px; }.network-table th:first-child, .network-table td:first-child { padding-left: 13px; }.merchant-name { font-size: 14px; }.merchant-cell > span { font-size: 14px; }.table-footnote { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; min-height: 47px; padding: 8px 12px; font-size: 14px; }
  .method-summary { display: block; padding: 30px 1px 0; }.method-summary h2 { font-size: 20px; }.method-summary p { margin-top: 12px; font-size: 14px; line-height: 1.75; }
  .site-footer > div { align-content: center; flex-wrap: wrap; gap: 8px 14px; padding: 13px 17px; }.site-footer > div > span { font-size: 14px; }.site-footer nav { gap: 13px; margin-left: 0; }.site-footer nav a { font-size: 14px; }.site-footer small { margin-left: auto; font-size: 14px; }
  .breadcrumbs { padding: 17px 0 9px; font-size: 14px; }.detail-heading { min-height: unset; align-items: flex-start; flex-direction: column; gap: 13px; padding: 9px 0 14px; }.detail-heading h1 { font-size: 25px; }.detail-address { gap: 10px; font-size: 14px; }.outlined-link, .outlined-button { min-height: 37px; font-size: 14px; }.detail-demo-note { align-items: flex-start; flex-direction: column; gap: 4px; padding: 9px 11px; font-size: 14px; }.detail-demo-note > span:last-child { margin-left: 0; font-size: 14px; }.detail-controls { align-items: flex-start; flex-direction: column; gap: 10px; }.detail-controls select { width: min(100%, 340px); min-width: 0; }.detail-window { padding-bottom: 0; font-size: 14px; }.detail-tabs { gap: 16px; min-height: 44px; overflow-x: auto; scrollbar-width: none; }.detail-tabs::-webkit-scrollbar { display: none; }.detail-tabs button { font-size: 14px; }
  .detail-metrics { grid-template-columns: 1fr 1fr; }.detail-metric { min-height: 91px; padding: 11px; }.detail-metric:nth-child(3) { border-top: 1px solid #e7ece7; border-left: 0; }.detail-metric:nth-child(4) { border-top: 1px solid #e7ece7; }.detail-metric > span { font-size: 14px; }.detail-metric > b { font-size: 21px; }.detail-metric > b.route-value { font-size: 14px; }
  .content-panel { margin-top: 12px; }.content-panel > .panel-heading { min-height: 66px; }.content-panel .panel-heading h2 { font-size: 17px; }.content-panel .panel-heading p { font-size: 14px; }.chart-key { gap: 5px; font-size: 14px; }.chart-key i { width: 10px; }.latency-chart { min-height: 206px; padding: 1px 10px 18px; }.chart-y-axis { width: 48px; padding-right: 6px; font-size: 14px; }.chart-plot { height: 168px; }.chart-x-axis { font-size: 14px; }.two-panels { grid-template-columns: 1fr; gap: 0; }.facts-list { margin-right: 13px; margin-left: 13px; }.facts-list > div { grid-template-columns: 95px 1fr; }.facts-list dt { font-size: 14px; }.facts-list dd { font-size: 14px; }
  .data-table { min-width: 700px; }.data-table th { font-size: 14px; }.data-table td { height: 58px; padding: 8px 10px; font-size: 14px; }.data-table th:first-child, .data-table td:first-child { padding-left: 13px; }.data-table th:last-child, .data-table td:last-child { padding-right: 13px; }.method-caveat { margin: 12px; font-size: 14px; }.server-facts { grid-template-columns: 1fr 1fr; margin: 0 12px 14px; }.server-facts > div { min-height: 70px; padding: 9px; }.server-facts span { font-size: 14px; }.server-facts b { font-size: 14px; }
  .form-panel { padding: 16px; }.public-form { gap: 14px; }.public-form label { font-size: 14px; }.public-form input, .public-form select, .public-form textarea { font-size: 14px; }.form-actions { align-items: flex-start; flex-direction: column; gap: 12px; }.news-card { padding: 15px; }.news-card h2 { font-size: 18px; }.news-card p { font-size: 14px; }.article-page h1 { font-size: 29px; }.article-summary { font-size: 17px; }.article-body p { font-size: 16px; }
  .admin-tabs { gap: 18px; overflow-x: auto; }.admin-tabs button { font-size: 14px; }.inline-create-form { grid-template-columns: 1fr; padding: 0 13px 14px; }.admin-content-grid { grid-template-columns: 1fr; gap: 0; }.admin-content-grid .public-form, .admin-news-list { padding-right: 13px; padding-left: 13px; }.admin-table { min-width: 850px; }
  .detail-tabs a { font-size: 14px; }
  .feedback-list { padding: 0 14px 12px; }.feedback-list p { font-size: 14px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; padding-right: 10px; padding-left: 10px; }.site-brand { gap: 6px; font-size: 16px; }.brand-mark { width: 28px; height: 28px; font-size: 16px; }.site-nav a { padding: 0 6px; font-size: 14px; }.login-link { min-height: 33px; padding: 0 9px; font-size: 14px; }
  .site-content > main { padding-right: 13px; padding-left: 13px; }.page-heading h1 { font-size: 27px; }.page-stats { gap: 6px; padding: 8px 9px; font-size: 14px; }.page-stats b { font-size: 16px; }.page-stats i { margin: 0 3px; }.demo-note { font-size: 14px; }
  .detail-heading h1 { font-size: 22px; }.detail-address { font-size: 14px; }.detail-metric { padding: 9px; }.detail-metric > b { font-size: 19px; }.detail-metric > b.route-value { font-size: 14px; }.table-footnote { font-size: 14px; }
}

/* Keep public navigation and data readable on narrow screens. */
.select-field select, .login-link, .text-button, .primary-button { font-size: 16px; }
@media (max-width: 760px) {
  .site-header { height: auto; }
  .header-inner { min-height: 108px; flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .site-brand { order: 1; }
  .login-link { order: 2; margin-left: auto; font-size: 15px; }
  .site-nav { order: 3; flex: 1 0 100%; height: 48px; }
  .site-nav a { padding: 0 9px; font-size: 15px; }
  .network-table td, .data-table td { font-size: 16px; }
  .search-field input, .public-form input, .public-form select, .public-form textarea { font-size: 16px; }
}
.result-block { padding: 22px; scroll-margin-top: 92px; }
.result-block + .result-block { border-top: 1px solid #dfe5df; }
.result-block pre { overflow: auto; max-height: 640px; padding: 16px; color: #26362c; background: #f6f8f5; font: 14px/1.65 Consolas, 'Microsoft YaHei', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-block > p { color: #526258; line-height: 1.7; }
.route-heading { display: grid; justify-items: start; gap: 4px; margin: 0 0 8px; color: #171a1f; font-size: 16px; line-height: 1.45; }
.route-direction { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.route-arrow { color: #616e85; }
.route-protocol { color: #616e85; font-size: 14px; font-weight: 500; line-height: 1.4; }
.data-table small { display: block; margin-top: 5px; color: #626f66; }
.network-table .last-test { max-width: 150px; white-space: normal; }
.plain-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 17px; line-height: 1.85; }
.admin-record { display: grid; gap: 12px; max-width: 900px; padding: 20px 0; border-bottom: 1px solid #dfe5df; }
.admin-record label { display: grid; gap: 6px; }
.admin-record input, .admin-record select, .admin-record textarea { min-height: 44px; width: 100%; padding: 10px; border: 1px solid #cbd5cc; border-radius: 7px; font: inherit; }
.admin-record button { justify-self: start; }
[hidden] { display: none !important; }

/* Neutral market-data styling with compact Material 3 type hierarchy. */
:root {
  color: #171a1f;
  --ink: #171a1f;
  --ink-soft: #3d4652;
  --muted: #616e85;
  --muted-soft: #8993a4;
  --line: #e5e8eb;
  --line-soft: #eff1f3;
  --surface: #fff;
  --surface-container: #f7f8fa;
  --surface-container-high: #eef1f4;
  --primary: #16a675;
  --primary-dark: #12845f;
  --primary-container: #dff6ed;
  --secondary: #3861fb;
  --tertiary: #d98b17;
}
body, .site-shell { color: #171a1f; background: #fff; }
.site-header { border-color: #e5e8eb; background: #ffffffed; }
.site-brand, .page-heading h1, .detail-heading h1, .article-page h1,
.panel-heading h2, .content-panel > h2, .empty-state b { color: #171a1f; }
.site-brand { font-size: 20px; }
.brand-mark { border-radius: 8px; color: #fff; background: #16a675; }
.site-nav a { color: #616e85; }
.site-nav a:hover, .site-nav a.nav-current { color: #171a1f; }
.site-nav a.nav-current::after { background: #16a675; }
.login-link, .outlined-link, .outlined-button { border-color: #d5d9de; border-radius: 8px; color: #3861fb; }
.login-link:hover, .outlined-link:hover, .outlined-button:hover { border-color: #aeb9cb; background: #f7f8fa; }
.page-heading h1, .article-page h1 { font-size: 32px; }
.page-heading p, .panel-heading p, .updated-time, .method-summary p { color: #616e85; }
.eyebrow { color: #616e85; }
.directory-panel, .content-panel { border-color: #e5e8eb; border-radius: 8px; }
.panel-heading h2, .content-panel > h2 { font-size: 22px; }
.filter-bar { gap: 12px; border-color: #eff1f3; background: #fff; }
.search-field, .select-field { min-height: 44px; border-color: #d5d9de; border-radius: 8px; background: #fff; }
.search-field { flex-basis: 300px; max-width: 440px; }
.search-field:focus-within, .select-field:focus-within,
.public-form input:focus, .public-form select:focus, .public-form textarea:focus {
  border-color: #3861fb;
  box-shadow: 0 0 0 3px #3861fb1f;
}
.search-field input, .select-field select { color: #171a1f; }
.search-field input::placeholder { color: #8993a4; }
.text-button { border-radius: 8px; color: #3861fb; }
.text-button:hover { background: #f0f3ff; }
.selected-probe { color: #616e85; background: #fff; }
.selected-probe b, .result-meta b { color: #171a1f; }
.result-meta { border-color: #eff1f3; color: #616e85; background: #f7f8fa; }
.network-table thead, .data-table thead { background: #f7f8fa; }
.network-table th, .data-table th { color: #616e85; }
.network-table tbody tr, .data-table tbody tr { border-color: #eff1f3; }
.network-table tbody tr:hover, .data-table tbody tr:hover { background: #f5f7fa; }
.network-table td, .data-table td { color: #3d4652; }
.merchant-name, .table-link { color: #171a1f; }
.merchant-name:hover, .table-link:hover, .detail-anchor:hover, .text-link:hover { color: #3861fb; }
.metric-value b, .availability, .detail-metric > b { color: #16a675; }
.sort-button:hover, .sort-button.sort-selected, .detail-anchor, .text-link,
.breadcrumbs a, .login-footnote a { color: #3861fb; }
.route-label { border-radius: 6px; }
.table-footnote { border-color: #eff1f3; color: #616e85; }
.site-footer { border-color: #e5e8eb; background: #fff; }
.site-footer > div > a { color: #171a1f; }
.site-footer > div > span, .site-footer nav a, .site-footer small { color: #616e85; }
.detail-controls select, .public-form input, .public-form select,
.public-form textarea, .inline-create-form input, .admin-table input,
.admin-record input, .admin-record select, .admin-record textarea {
  border-color: #d5d9de;
  border-radius: 8px;
}
.primary-button { border-color: #16a675; border-radius: 8px; background: #16a675; }
.primary-button:hover { background: #12845f; }
.ip-detail-link { color: inherit; text-decoration-color: #3861fb; text-underline-offset: 3px; }
.ip-detail-link:hover { color: #3861fb; }
.ip-detail-link { color: inherit; text-decoration-color: #3861fb; text-underline-offset: 3px; }
.ip-detail-link:hover { color: #3861fb; }
.filter-select-field { position: relative; padding: 0; border: 0; background: transparent; }
.filter-select-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.filter-select-trigger { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 14px; border: 1px solid #d5d9de; border-radius: 8px; color: #171a1f; background: #fff; text-align: left; font: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.filter-select-trigger:hover, .filter-select-field.is-open .filter-select-trigger { border-color: #aeb9cb; }
.filter-select-trigger:focus-visible { outline: 2px solid #3861fb; outline-offset: 2px; }
.filter-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-select-chevron { width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid #616e85; border-bottom: 1.5px solid #616e85; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.filter-select-field.is-open .filter-select-chevron { transform: translateY(2px) rotate(225deg); }
.filter-select-menu { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; left: 0; display: none; max-height: 280px; overflow: auto; padding: 6px; border: 1px solid #e5e8eb; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #171a1f1f, 0 2px 6px #171a1f0a; }
.filter-select-field.is-open .filter-select-menu { display: grid; gap: 2px; }
.filter-select-option { width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 6px; color: #3d4652; background: transparent; text-align: left; font: inherit; font-size: 14px; cursor: pointer; }
.filter-select-option:hover, .filter-select-option:focus-visible { outline: 0; background: #f5f7fa; }
.filter-select-option.is-selected { color: #171a1f; font-weight: 600; }
@media (max-width: 760px) {
  .page-heading h1 { font-size: 28px; }
  .panel-heading h2, .content-panel > h2 { font-size: 20px; }
  .filter-select-trigger { min-height: 42px; padding: 0 10px; }
}
.merchant-heading { min-height: 190px; align-items: center; }
.merchant-heading > div { max-width: 850px; }
.merchant-heading .merchant-intro { margin-top: 8px; color: #3d4652; font-size: 16px; line-height: 1.7; white-space: pre-line; }
.merchant-heading .merchant-regions { margin-top: 8px; color: #616e85; font-size: 14px; }
.merchant-website-link { min-height: 50px; padding: 0 24px; border-radius: 8px; font-size: 16px; font-weight: 700; }
.merchant-tests { margin-top: 2px; }
.merchant-tests .network-table { min-width: 1270px; }
.merchant-tests .network-table tbody tr { height: 112px; }
.target-channel-form > b { color: #171a1f; font-size: 16px; font-weight: 650; }
.target-channel-form select { max-width: 380px; }
.target-channel-form input { max-width: 520px; }
@media (max-width: 760px) {
  .merchant-heading { min-height: 0; gap: 18px; }
  .merchant-heading .merchant-intro { font-size: 16px; }
  .merchant-website-link { min-height: 46px; }
  .merchant-tests .network-table tbody tr { height: 108px; }
}

.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.benchmark-card { padding: 28px; margin: 0; }
.benchmark-card h2 { margin: 0 0 8px; font-size: 24px; }
.benchmark-meta, .benchmark-unit { color: #616e85; font-size: 16px; line-height: 1.6; }
.benchmark-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0 12px; }
.benchmark-scores span { display: block; font-size: 16px; color: #616e85; }
.benchmark-scores b { display: block; color: #16a675; font-size: 36px; font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.data-table td.benchmark-score { color: #16a675; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.benchmark-history .data-table, #benchmarks .data-table { min-width: 650px; font-size: 16px; }
.benchmark-actions, .history-pagination { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.history-pagination { padding: 0 24px; }
@media (max-width: 760px) { .benchmark-grid { grid-template-columns: 1fr; gap: 16px; } .benchmark-card { padding: 24px; } .benchmark-scores b { font-size: 32px; } }

/* Keep every overseas measurement visible within the available width. */
.overseas-table { width: 100%; min-width: 0; table-layout: fixed; }
.overseas-table th, .overseas-table td { padding: 10px 6px; font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.overseas-table th:first-child, .overseas-table td:first-child { padding-left: 12px; }
.overseas-table th:last-child, .overseas-table td:last-child { padding-right: 12px; }
.overseas-table td small { font-size: 12px; }
.overseas-table td code { font-size: 12px; white-space: normal; }

.time-chart { margin-top: 20px; border-radius: 12px; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 24px 16px; }
.chart-eyebrow { margin-bottom: 6px; color: #8993a4; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; }
.chart-heading h2 { margin: 0; color: #171a1f; font-size: 22px; font-weight: 700; line-height: 1.4; }
.chart-heading p { margin: 6px 0 0; color: #616e85; font-size: 14px; line-height: 1.5; }
.chart-ranges { display: flex; flex-shrink: 0; gap: 3px; padding: 4px; border: 1px solid #e9edf2; border-radius: 10px; background: #f7f8fa; }
.chart-ranges button { min-height: 34px; padding: 0 15px; border: 0; border-radius: 7px; background: transparent; color: #616e85; font-size: 14px; font-weight: 600; white-space: nowrap; }
.chart-ranges button[aria-pressed="true"] { color: #171a1f; background: #fff; box-shadow: 0 1px 4px #171a1f14; }
.chart-ranges button:hover { color: #3861fb; }
.chart-ranges button:focus-visible, .chart-series-toggle:focus-visible, .chart-canvas:focus-visible { outline: 2px solid #3861fb; outline-offset: 3px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; min-height: 35px; padding: 0 24px 6px; }
.chart-series-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; border: 0; background: none; color: #4c586c; font-size: 12px; line-height: 1.5; }
.chart-series-toggle::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--series-color); content: ''; }
.chart-series-toggle[aria-pressed="false"] { color: #a3aab5; text-decoration: line-through; }
.chart-series-toggle[aria-pressed="false"]::before { opacity: .3; }
.chart-canvas { position: relative; height: 320px; margin: 0 14px; border-radius: 8px; outline: none; }
.chart-canvas > svg { display: block; width: 100%; height: 100%; }
.chart-canvas[aria-busy="true"] > svg { opacity: .25; }
.chart-axis-label { fill: #8993a4; font: 12px Inter, 'Microsoft YaHei', sans-serif; }
.chart-gridline { stroke: #edf0f4; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-crosshair-line { stroke: #a3adbc; stroke-width: 1; stroke-dasharray: 4 4; }
.chart-empty-label { fill: #8993a4; font: 14px 'Microsoft YaHei', sans-serif; }
.chart-status { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; color: #616e85; background: #ffffffd9; font-size: 14px; text-align: center; }
.chart-tooltip { position: absolute; z-index: 3; width: min(360px, calc(100% - 16px)); padding: 13px 15px; border: 1px solid #e5e9ef; border-radius: 10px; background: #fff; box-shadow: 0 8px 28px #171a1f1a; pointer-events: none; }
.chart-tooltip-time { padding-bottom: 10px; color: #171a1f; font-size: 13px; font-weight: 650; }
.chart-tooltip-time > small { display: block; margin-top: 3px; color: #8993a4; font-size: 11px; font-weight: 400; }
.chart-tooltip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 0; border-top: 1px solid #eff1f5; }
.chart-tooltip-name { display: flex; align-items: center; gap: 5px; min-width: 0; color: #616e85; font-size: 11px; }
.chart-tooltip-name::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--series-color); content: ''; }
.chart-tooltip-row > b { color: #171a1f; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.chart-tooltip-row > small { grid-column: 1 / -1; color: #8993a4; font-size: 11px; line-height: 1.5; }
.chart-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 13px 24px; border-top: 1px solid #f0f2f5; color: #8993a4; font-size: 12px; }
.chart-granularity { color: #616e85; }
.chart-coverage { margin: 0; padding: 0 24px 16px; color: #8993a4; font-size: 12px; line-height: 1.6; }
@media (max-width: 760px) {
  .chart-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 16px 14px; }
  .chart-heading h2 { font-size: 20px; }
  .chart-legend { gap: 7px 12px; padding: 0 16px 6px; }
  .chart-series-toggle { font-size: 11px; }
  .chart-canvas { height: 330px; margin: 0 5px; }
  .chart-tooltip { padding: 10px; }
  .chart-tooltip-row { gap: 3px 6px; }
  .chart-tooltip-row > b { font-size: 12px; }
  .chart-footer { padding: 12px 16px; }
  .chart-coverage { padding: 0 16px 14px; }
}
@media (max-width: 900px) {
  .overseas-table, .overseas-table tbody { display: block; }
  .overseas-table colgroup { display: none; }
  .overseas-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .overseas-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 10px 14px; padding: 14px; }
  .overseas-table td, .overseas-table td:first-child, .overseas-table td:last-child { display: block; min-width: 0; height: auto; padding: 0; font-size: 13px; }
  .overseas-table td::before { display: block; margin-bottom: 3px; color: #616e85; font-size: 12px; content: attr(data-label); }
  .overseas-table td:last-child { grid-column: 1 / -1; }
}

.retention-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.retention-check {display:flex;align-items:center;gap:12px;font-size:16px;}
.retention-check input {width:20px;min-height:20px;}
@media (max-width:760px) { .retention-fields {grid-template-columns:1fr;} }

.cpu-benchmark-heading {font-size:24px;line-height:1.4;margin:28px 0 20px;}

.cpu-history-panel {margin-top:24px;}
.cpu-history-panel .panel-heading {gap:20px;align-items:flex-start;}
.cpu-chart-legend {display:flex;gap:24px;white-space:nowrap;align-items:center;font-size:16px;padding-top:6px;}
.cpu-chart-legend span::before {content:"";display:inline-block;width:22px;height:3px;border-radius:2px;margin-right:8px;vertical-align:middle;}
.cpu-series-single::before {background:#16a675;}.cpu-series-multi::before {background:#3861fb;}
.cpu-chart-wrap {position:relative;margin:12px 28px 0;overflow-x:auto;}
.cpu-trend-svg {display:block;width:100%;min-width:620px;height:auto;max-height:380px;}
.cpu-grid-line {stroke:#e9edf1;stroke-width:1;stroke-dasharray:4 5;}
.cpu-axis-label {fill:#616e85;font-size:15px;font-family:inherit;}.cpu-axis-time {fill:#8993a4;font-size:14px;font-family:inherit;}
.cpu-chart-point {cursor:crosshair;outline:none;}.cpu-chart-point:hover circle,.cpu-chart-point:focus circle {r:7;stroke-width:3.5;}
.cpu-chart-tooltip {position:absolute;z-index:4;pointer-events:none;max-width:330px;background:#24332f;color:white;border-radius:10px;padding:12px 16px;font-size:16px;line-height:1.5;box-shadow:0 4px 16px #17231e22;}
.cpu-chart-empty {display:grid;place-items:center;min-height:230px;color:#616e85;font-size:16px;background:#fafcfb;border-radius:12px;}
.cpu-chart-note {margin:6px 28px 20px;color:#616e85;font-size:15px;line-height:1.6;}
.cpu-history-records {padding:20px 28px;border-top:1px solid #eff1f3;}.cpu-history-records summary {font-size:16px;color:#3d4652;cursor:pointer;}
@media (max-width:760px) {.cpu-history-panel .panel-heading {flex-direction:column;}.cpu-chart-wrap {margin:8px 12px 0;}.cpu-chart-note {margin:8px 20px 20px;}.cpu-history-records {padding:20px;} }

@media (max-width:760px) {.cpu-axis-label {font-size:26px;}.cpu-axis-time {font-size:25px;} }

.inventory-panel {padding:0 28px 8px;margin-top:0;}
.inventory-meta {display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:20px 0;color:#7b8494;font-size:13px;border-bottom:1px solid #edf0f3;}
.inventory-meta > span:first-child {font-weight:600;color:#4c586c;}
.inventory-section {padding:22px 0 8px;}.inventory-section h3 {margin:0 0 10px;font-size:15px;font-weight:650;color:#27313b;}
.inventory-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px;margin:0;}
.inventory-fields > div {display:grid;grid-template-columns:145px minmax(0,1fr);align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid #f0f2f5;min-width:0;}
.inventory-fields .inventory-wide {grid-column:1/-1;}
.inventory-fields dt {font-size:13px;color:#8993a4;line-height:1.65;}.inventory-fields dd {margin:0;color:#3d4652;font-size:14px;line-height:1.65;overflow-wrap:anywhere;}
.inventory-instructions {padding:22px 0 16px;font-size:14px;color:#616e85;}.inventory-instructions summary {cursor:pointer;font-size:14px;font-weight:600;color:#4c586c;}
.inventory-instructions p {margin:16px 0 0;padding:18px 20px;background:#f7f8fa;border-radius:8px;font:13px/1.9 Consolas,monospace;color:#616e85;overflow-wrap:anywhere;}
.cpu-benchmark-heading + .time-chart {margin-top:0;}.cpu-time-chart .cpu-trend-svg {min-width:0;max-height:none;}
.cpu-time-chart .chart-heading p {margin-top:0;font-size:15px;}.cpu-time-chart .chart-series-toggle {font-size:14px;}.cpu-time-chart .chart-canvas {height:320px;}
.cpu-time-chart .chart-axis-label {font-size:13px;}.cpu-time-chart .chart-tooltip-time {font-size:14px;}.cpu-time-chart .chart-tooltip-name {font-size:14px;}.cpu-time-chart .chart-tooltip-row > b {font-size:16px;}.cpu-time-chart .chart-tooltip-row > small {font-size:13px;}
.cpu-time-chart .chart-footer,.cpu-time-chart .chart-coverage {font-size:14px;}
@media (max-width:760px) {.inventory-panel {padding:0 18px 8px;}.inventory-meta {font-size:12px;}.inventory-fields {grid-template-columns:1fr;}.inventory-fields > div {grid-template-columns:112px minmax(0,1fr);gap:10px;padding:11px 0;}.inventory-fields dt {font-size:12px;}.inventory-fields dd {font-size:13px;}.inventory-instructions p {padding:14px;font-size:12px;}.cpu-time-chart .chart-heading {gap:14px;}.cpu-time-chart .chart-ranges button {padding:0 12px;}.cpu-time-chart .chart-canvas {height:300px;} }

/* Keep section titles aligned outside their content cards. */
.cpu-benchmark-heading + .directory-panel,
.cpu-benchmark-heading + .content-panel { margin-top: 0; }
.panel-intro { margin: 0; padding: 20px 24px; color: #616e85; font-size: 14px; line-height: 1.7; }
@media (max-width: 760px) { .panel-intro { padding: 18px 16px; } }

.tcp-trend-cell { width: 184px; min-width: 184px; }
.tcp-mini-chart { width: 160px; }
.handshake-phase-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; width: 100%; font-size: 13px; color: var(--muted, #64748b); }
.handshake-phase-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.handshake-phase-legend > span::before { content: ''; width: 11px; height: 11px; border-radius: 2px; background: var(--phase-color); }
.tcp-mini-canvas { width: 160px; height: 52px; border-radius: 6px; color: #8993a4; font-size: 12px; line-height: 1.5; }
.tcp-mini-canvas > svg { display: block; width: 100%; height: 100%; }
.tcp-mini-canvas:focus-visible { outline: 2px solid #3861fb; outline-offset: 2px; }
.tcp-mini-tooltip { position: fixed; z-index: 100; width: min(330px, calc(100vw - 16px)); }

/* Route section headings live outside their result cards. */
.section-intro { margin: -2px 0 24px; color: #616e85; font-size: 14px; line-height: 1.7; }
.result-heading { margin: 32px 0 8px; color: #171a1f; font-size: 20px; font-weight: 600; line-height: 1.5; scroll-margin-top: 100px; }
.route-caption { margin: 0 0 14px; color: #7b8494; font-size: 14px; font-weight: 400; line-height: 1.6; }
.route-result { margin-top: 0; }
.route-result > pre { margin: 0; }
.route-result > p { margin: 0 0 14px; color: #7b8494; font-size: 14px; }
.history-filter { padding: 20px 24px; }
.history-target-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.history-target-form label { font-size: 16px; }
.history-target-form select { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid #dfe5df; border-radius: 8px; background: #fff; font: inherit; }
@media (max-width: 760px) { .result-heading { font-size: 18px; }.history-filter { padding: 18px 16px; }.history-target-form select { width: 100%; } }

/* Local-clock night mode and a quiet, icon-only control. */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.header-actions .login-link { margin-left: 0; }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 0; border-radius: 50%; color: #616e85; background: transparent; transition: background .18s, color .18s; }
.theme-toggle:hover { color: #273959; background: #eef1f6; }
.theme-toggle:focus-visible { outline: 2px solid #7395ff; outline-offset: 3px; }
.theme-icon { width: 21px; height: 21px; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle { color: #b2bfd3; }
html[data-theme="dark"] .theme-toggle:hover { color: #f1d28a; background: #263147; }
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6edf7; --ink-soft: #bdc8da; --muted: #9eacc2; --muted-soft: #8d9cb3;
  --line: #2b3546; --line-soft: #252f40; --surface: #171f2d;
  --surface-container: #1c2636; --surface-container-high: #263248;
  --primary: #69d4ad; --primary-dark: #9ce6cb; --primary-container: #193c36;
  --secondary: #8ba7ff; --tertiary: #efb65f;
  background: #0d1421; color: var(--ink);
}
html[data-theme="dark"] :is(body, .site-shell) { background: #0d1421; color: var(--ink); }
html[data-theme="dark"] .site-header { background: #101824f5; border-color: var(--line); }
html[data-theme="dark"] :is(.directory-panel, .content-panel, .page-stats, .search-field, .select-field, .selected-probe, .filter-bar, .filter-select-trigger, .filter-select-menu, .chart-tooltip, .outlined-link, .outlined-button, .login-link) { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] :is(.site-brand, h1, h2, h3, .merchant-name, .table-link, .selected-probe b, .detail-address code, .public-ip, .filter-select-trigger, .filter-select-option, .chart-heading h2, .chart-tooltip-time, .chart-tooltip-row > b, .inventory-section h3, .target-channel-form > b, .page-stats b) { color: var(--ink); }
html[data-theme="dark"] :is(.page-heading p, .eyebrow, .site-nav a, .panel-heading p, .panel-intro, .section-intro, .route-caption, .route-protocol, .route-result > p, .method-summary p, .detail-address, .detail-metric > span, .inventory-meta, .inventory-fields dt, .chart-heading p, .chart-series-toggle, .chart-granularity, .chart-tooltip-name, .table-footnote, .merchant-heading .merchant-regions) { color: var(--muted); }
html[data-theme="dark"] :is(.network-table td, .data-table td, .merchant-heading .merchant-intro, .inventory-fields dd, .feedback-list p, .result-block > p, .server-facts dd, .plain-body) { color: var(--ink-soft); }
html[data-theme="dark"] :is(.network-table thead, .data-table thead, .result-meta, .chart-ranges, .inventory-instructions p, .result-block pre, .cpu-chart-empty) { background: var(--surface-container); }
html[data-theme="dark"] :is(.network-table th, .data-table th, .network-table td > small, .metric-value span, .metric-value b small, .merchant-cell > span, .data-table small, .chart-coverage, .chart-footer, .chart-tooltip-row > small, .chart-tooltip-time > small, .inventory-instructions, .inventory-instructions p, .tcp-mini-canvas) { color: var(--muted); }
html[data-theme="dark"] :is(.network-table tbody tr, .data-table tbody tr, .chart-tooltip-row, .inventory-fields > div, .inventory-meta, .detail-tabs, .admin-record, .chart-footer, .table-footnote) { border-color: var(--line-soft); }
html[data-theme="dark"] :is(.network-table tbody tr:hover, .data-table tbody tr:hover, .filter-select-option:hover, .filter-select-option:focus-visible, .outlined-link:hover, .outlined-button:hover, .login-link:hover) { background: #202b3e; }
html[data-theme="dark"] :is(.text-link, .detail-anchor, .breadcrumbs a, .ip-detail-link:hover, .login-link, .outlined-link, .outlined-button, .site-footer nav a:hover, .chart-ranges button:hover) { color: #8ba7ff; }
html[data-theme="dark"] :is(.metric-value b, .availability, .detail-metric > b, .benchmark-scores b, .data-table td.benchmark-score) { color: #69d4ad; }
html[data-theme="dark"] .site-footer { border-color: var(--line); background: #1c2636; }
html[data-theme="dark"] :is(.site-footer > div > a, .site-footer > div > span, .site-footer nav a, .site-footer small) { color: var(--muted); }
html[data-theme="dark"] :is(.public-form input, .public-form select, .public-form textarea, .admin-record input, .admin-record select, .admin-record textarea, .history-target-form select, .detail-controls select) { color: var(--ink); background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] :is(.search-field input, .select-field select, .result-block pre) { color: var(--ink-soft); }
html[data-theme="dark"] :is(.chart-eyebrow, .chart-footer, .chart-series-toggle[aria-pressed="false"]) { color: #8d9cb3; }
html[data-theme="dark"] .chart-ranges { border-color: var(--line-soft); }
html[data-theme="dark"] .chart-ranges button { color: var(--muted); }
html[data-theme="dark"] .chart-ranges button[aria-pressed="true"] { color: #9ce6cb; background: #171f2d; }
html[data-theme="dark"] .chart-axis-label { fill: #8d9cb3; }
html[data-theme="dark"] .chart-empty-label { fill: var(--muted); }
html[data-theme="dark"] :is(.chart-gridline, .cpu-grid-line) { stroke: #2b3648; }
html[data-theme="dark"] .chart-crosshair-line { stroke: #7185a3; }
html[data-theme="dark"] .chart-canvas circle[stroke="#fff"] { stroke: var(--surface); }
html[data-theme="dark"] .chart-status { background: #171f2de6; color: var(--muted); }
html[data-theme="dark"] .chart-tooltip { box-shadow: 0 8px 28px #00000045; }
@media (max-width: 1100px) and (min-width: 761px) { .header-inner { gap: 18px; }.site-nav a { padding: 0 8px; }.header-actions { gap: 8px; } }
@media (max-width: 760px) { .header-actions { order: 2; gap: 8px; }.header-actions .login-link { order: initial; }.theme-toggle { width: 38px; height: 38px; flex-basis: 38px; } }
@media (prefers-reduced-motion: reduce) { .theme-toggle { transition: none; } }

.overseas-edit-row { display:grid;grid-template-columns:1fr 1.8fr 1.1fr .65fr auto;gap:12px;align-items:end;padding:20px 0;border-top:1px solid #edf0f3; }
.overseas-edit-row label { display:grid;gap:8px;color:#616e85;font-size:14px; }
.overseas-edit-row input { width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dfe5df;border-radius:8px;color:#26362c;font:inherit;font-size:16px; }
@media(max-width:760px) { .overseas-edit-row {grid-template-columns:1fr 1fr;}.overseas-edit-row > label:nth-of-type(2) {grid-column:1/-1;}.overseas-edit-row > button {justify-self:start;} }

/* Cover secondary pages and native controls without bright surfaces at night. */
html[data-theme="dark"] :is(.detail-metrics, .news-card) { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .page-stats { color: var(--muted); }
html[data-theme="dark"] :is(.detail-metric + .detail-metric, .facts-list > div, .server-facts, .server-facts > div, .article-body, .feedback-list article, .admin-news-list article, .login-footnote, .cpu-history-records, .overseas-edit-row) { border-color: var(--line-soft); }
html[data-theme="dark"] :is(.result-meta b, .last-test b, .data-table td code, .facts-list dd, .server-facts b, .news-card h2 a, .admin-news-list b, .empty-state b, .inventory-meta > span:first-child) { color: var(--ink); }
html[data-theme="dark"] :is(.detail-tabs a, .detail-tabs button, .admin-tabs button, .detail-controls label, .detail-window, .detail-metric > small, .facts-list dt, .server-facts span, .updated-time, .selected-probe > span, .trend-wrap small, .chart-key, .method-caveat, .form-actions, .login-footnote, .news-meta, .article-page time, .feedback-list small, .feedback-list .feedback-reference, .benchmark-meta, .benchmark-unit, .benchmark-scores span, .cpu-chart-note, .overseas-edit-row label) { color: var(--muted); }
html[data-theme="dark"] :is(.public-form label, .news-card p, .article-summary, .article-body p, .admin-news-list span, .inventory-instructions summary, .cpu-history-records summary) { color: var(--ink-soft); }
html[data-theme="dark"] :is(.public-form input, .public-form select, .public-form textarea, .inline-create-form input, .admin-table input, .admin-table select, .data-table select, .admin-record input, .admin-record textarea, .overseas-edit-row input) { color: var(--ink); background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] :is(input, textarea)::placeholder { color: #8292ac; }
html[data-theme="dark"] :is(.text-button, .detail-tabs a.tab-current, .detail-tabs a:hover, .detail-tabs button.tab-current, .admin-tabs button.admin-tab-active, .site-nav a:hover, .site-nav a.nav-current, .sort-button:hover, .sort-button.sort-selected, .login-footnote a, .news-meta span, .merchant-name:hover, .table-link:hover) { color: #8ba7ff; }
html[data-theme="dark"] :is(.text-button:hover, .filter-select-option.is-selected) { background: #24324c; color: #b2c5ff; }
html[data-theme="dark"] :is(.detail-tabs, .admin-tabs) { border-color: var(--line); }
html[data-theme="dark"] :is(.detail-tabs a.tab-current, .detail-tabs button.tab-current, .admin-tabs button.admin-tab-active)::after { background: #8ba7ff; }
html[data-theme="dark"] .detail-metric > b.route-value { color: var(--ink-soft); }
html[data-theme="dark"] .route-label { color: #94d8bc; background: #1a3430; border-color: #315349; }
html[data-theme="dark"] .route-mixed { color: #f0c37c; background: #362e23; border-color: #594831; }
html[data-theme="dark"] .route-direct { color: #a0c7ec; background: #203244; border-color: #35516b; }
html[data-theme="dark"] :is(.route-unknown, .route-external) { color: var(--muted); background: #242e3e; border-color: var(--line); }
html[data-theme="dark"] :is(.demo-note, .detail-demo-note, .admin-notice) { color: #e5c38a; background: #302a21; border-color: #51432e; }
html[data-theme="dark"] :is(.demo-note, .detail-demo-note, .admin-notice) :is(b, span) { color: inherit; }
html[data-theme="dark"] :is(.form-success, .admin-feedback) { color: #a5dfc3; background: #19352e; }
html[data-theme="dark"] .form-success p { color: #adc5b8; }
html[data-theme="dark"] :is(.form-message, .availability-low) { color: #efbf7c; }
html[data-theme="dark"] .destructive-text { color: #f29494; }
html[data-theme="dark"] :is(.table-scroll, .data-table-wrap) { scrollbar-color: #46546b #171f2d; }
html[data-theme="dark"] :is(.cpu-axis-label, .cpu-axis-time) { fill: var(--muted); }
html[data-theme="dark"] :is(.chart-canvas, .tcp-mini-canvas) [stroke="#3861fb"] { stroke: #7898ff; }
html[data-theme="dark"] :is(.chart-canvas, .tcp-mini-canvas) [fill="#3861fb"] { fill: #7898ff; }
html[data-theme="dark"] :is(.chart-canvas, .tcp-mini-canvas) circle[stroke="#fff"] { stroke: var(--surface); }

.benchmark-round-detail {color:var(--muted,#616e85);font-size:15px;line-height:1.7;overflow-wrap:anywhere;}
.benchmark-round-detail p {margin:6px 0;}
.data-table td.benchmark-score small {display:block;color:var(--muted,#616e85);font-size:14px;font-weight:400;line-height:1.65;max-width:290px;white-space:normal;}
.benchmark-tooltip-detail {display:block;font-size:13px;line-height:1.6;margin:0 0 10px;max-width:300px;}

.article-body img{max-width:100%;height:auto}.manual-results article{padding:18px 0;border-top:1px solid var(--border,#e4e8ed)}.manual-results pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto}

/* Compact overseas values share the homepage metric colors. */
.overseas-table .metric-value b { font-size: 13px; white-space: normal; }
.overseas-route { margin-top: 14px; scroll-margin-top: 100px; }
.overseas-route > summary { display: flex; align-items: center; gap: 12px; padding: 17px 20px; cursor: pointer; list-style: none; }
.overseas-route > summary::-webkit-details-marker { display: none; }
.overseas-route > summary::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; }
.overseas-route[open] > summary::before { transform: rotate(45deg); }
.overseas-route-title { flex: 1; min-width: 0; color: var(--ink); font-size: 16px; font-weight: 600; }
.overseas-route-protocol, .overseas-route-action { color: var(--muted); font-size: 13px; white-space: nowrap; }
.overseas-route-action::after { content: "展开"; }
.overseas-route[open] .overseas-route-action::after { content: "收起"; }
.overseas-route > summary:hover { background: var(--surface-container); border-radius: 8px; }
.overseas-route > summary:focus-visible { outline: 2px solid var(--secondary); outline-offset: -3px; border-radius: 8px; }
.overseas-route[open] > summary { border-bottom: 1px solid var(--line-soft); }
.overseas-route > .route-result { padding: 18px 20px; }
@media (max-width: 600px) {
  .overseas-route > summary { gap: 10px; padding: 15px 12px; flex-wrap: wrap; }
  .overseas-route-title { flex-basis: calc(100% - 25px); font-size: 14px; }
  .overseas-route-protocol { margin-left: 19px; }
  .overseas-route-action { margin-left: auto; }
  .overseas-route > .route-result { padding: 14px 12px; }
}

/* The homepage has eight columns; keep scrolling local to the table on phones. */
#network-table { min-width: 1060px; }

/* Provider test lists share the eight-column homepage layout. */
.merchant-tests .network-table { min-width: 1060px; }
