/* Fixed report values and the four-column summary share the public visual system. */
.comprehensive-illustration { display: grid; grid-template-columns: minmax(0, 490px) auto; align-items: stretch; width: min(100%, 650px); margin: 48px auto 24px; color: inherit; }
.comprehensive-illustration svg { display: block; width: 100%; height: auto; }
.comprehensive-illustration-labels { display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; padding-left: 12px; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.comprehensive-illustration-mobile { display: none; }
.comprehensive-report { margin-top: 32px; }
.comprehensive-report-body { padding: 0 32px 32px; }
.comprehensive-report-body .check-report-share { margin-top: 12px; }
@media (max-width: 600px) {
  .comprehensive-illustration { display: block; max-width: 360px; margin: 40px auto 24px; }
  .comprehensive-illustration .comprehensive-illustration-desktop, .comprehensive-illustration .comprehensive-illustration-labels { display: none; }
  .comprehensive-illustration-mobile { display: block; }
  .comprehensive-illustration-mobile > div { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 4px; margin-top: 8px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
  .comprehensive-report-body { padding: 0 20px 24px; }
  .public-ui .comprehensive-report .regional-report-heading h2 { font-size: clamp(18px, 5.1vw, 22px); }
}
.check-report-page, .check-report-expired { overflow-wrap: anywhere; }
.check-report-target { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.check-report-meta { color: var(--public-muted, #656565); font-size: 14px; line-height: 1.8; margin: 24px 0; }
.check-report-meta p { margin: 5px 0; }
.check-report-progress { margin: 28px 0; }
.check-report-progress-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 14px; line-height: 1.7; }
.check-report-progress-heading > :last-child { color: var(--public-muted, #656565); font-variant-numeric: tabular-nums; }
.check-report-progress-track { position: relative; height: 2px; margin-top: 12px; overflow: hidden; background: var(--public-line, #e5e5e5); }
.check-report-progress-fill { width: 100%; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease-out; }
.check-report-progress-scan { position: absolute; inset: 0 auto 0 0; width: 100%; opacity: .65; visibility: hidden; }
.check-report-progress-scan::after { content: ""; position: absolute; left: -56px; width: 56px; height: 100%; background: currentColor; }
.check-report-progress[data-state="running"] .check-report-progress-scan { visibility: visible; animation: check-report-scan 5s linear infinite; }
.check-report-progress-current { min-height: 24px; margin-top: 8px; color: var(--public-muted, #656565); font-size: 12px; line-height: 1.8; }
@keyframes check-report-scan { from { transform: translateX(0); } to { transform: translateX(calc(100% + 56px)); } }
@media (prefers-reduced-motion: reduce) {
  .check-report-progress-scan { animation: none !important; visibility: hidden !important; }
  .check-report-progress-fill { transition: none; }
}
.check-report-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--public-line, #e5e5e5); margin: 28px 0 40px; padding: 24px 0; }
.check-report-overview section { padding: 0 24px; border-right: 1px solid var(--public-line, #e5e5e5); min-width: 0; }
.check-report-overview section:first-child { padding-left: 0; }
.check-report-overview section:last-child { border-right: 0; }
.check-report-overview h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.check-report-overview strong { display: block; font-size: clamp(23px, 2.3vw, 32px); line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
.check-report-overview p { font-size: 14px; line-height: 1.8; margin-top: 10px; color: var(--public-muted, #656565); }
.check-report-module { margin: 40px 0; }
.check-report-domain-info { margin: 32px 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--public-line, #e5e5e5); }
.check-report-dns-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.check-report-dns-sections > section { min-width: 0; margin: 0; }
.check-report-module h2, .check-report-faq h2 { font-size: 23px; line-height: 1.5; font-weight: 600; margin-bottom: 18px; }
.check-report-domain-info > h2 { font-size: 20px; margin-bottom: 20px; }
.check-report-dns-sections h3 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.check-report-group { font-size: 15px; font-weight: 600; margin: 24px 0 8px; }
.check-report-item { border-bottom: 1px solid var(--public-line, #e5e5e5); padding: 20px 0; line-height: 1.8; overflow-wrap: anywhere; }
.check-report-item-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
.check-report-values { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 12px 0; }
.check-report-values > div { min-width: 0; max-width: 100%; }
.check-report-values dt { color: var(--public-muted, #656565); font-size: 14px; }
.check-report-values dd { margin: 4px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.check-report-domain-info .check-report-item { padding: 12px 0 0; border-bottom: 0; font-size: 14px; }
.check-report-domain-info .check-report-item-heading { font-size: 13px; gap: 8px 16px; }
.check-report-domain-info .check-report-values { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0 0; }
.check-report-domain-info .check-report-values > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.check-report-domain-info .check-report-values dt { font-size: 13px; }
.check-report-domain-info .check-report-values dd { font-size: 14px; margin: 0; }
.check-report-item details { margin-top: 12px; }
.check-report-item summary, .check-report-faq summary { cursor: pointer; min-height: 44px; align-content: center; }
.check-report-share { margin: 20px 0 28px; }
.check-report-share-success, .check-report-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.check-report-share-success[hidden], .check-report-share [hidden] { display: none; }
.check-report-share-success label { flex: 1 1 360px; min-width: 0; font-size: 14px; }
.check-report-share input, .check-report-actions input { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--public-line, #e5e5e5); border-radius: 4px; margin-top: 6px; font-size: 16px; color: inherit; background: transparent; }
.check-report-faq { border-top: 1px solid var(--public-line, #e5e5e5); margin-top: 48px; padding-top: 32px; }
.check-report-faq details { border-bottom: 1px solid var(--public-line, #e5e5e5); padding: 4px 0; }
.check-report-faq p { color: var(--public-muted, #656565); font-size: 15px; line-height: 1.9; padding: 8px 0 20px; }
.report-error { color: var(--public-error, #b42318); }
.report-warning { color: var(--public-warning, #965800); }
.check-report-expired { max-width: 864px; padding-block: 64px; }
.check-report-expired > p { margin-bottom: 24px; }
body.hotwire-native .check-report-overview section { border-color: color-mix(in srgb, currentColor 20%, transparent); }
body.hotwire-native .check-report-progress-heading > :last-child, body.hotwire-native .check-report-progress-current { color: inherit; }
body.hotwire-native .check-report-progress-track { background: color-mix(in srgb, currentColor 20%, transparent); }
@media (max-width: 960px) {
  .check-report-dns-sections { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .check-report-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .check-report-overview section { padding: 0 16px; }
  .check-report-overview section:nth-child(odd) { padding-left: 0; }
  .check-report-overview section:nth-child(even) { border-right: 0; }
  .check-report-overview strong { font-size: 23px; }
  .check-report-share-success label { flex-basis: 100%; }
  .check-report-values { display: grid; grid-template-columns: 1fr; gap: 12px; }
}

.check-report-monitor-handoff { border-top: 1px solid var(--public-line, #e5e5e5); padding-top: 24px; margin-top: 32px; font-size: 15px; line-height: 1.8; }
.check-report-monitor-handoff .check-report-actions > a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; align-content: center; }

@media (max-width: 600px) {
  .check-report-overview { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .check-report-overview section { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--public-line, #e5e5e5); overflow-wrap: anywhere; }
  .check-report-overview section:last-child { border-bottom: 0; }
  .check-report-overview h3 { font-size: 15px; margin-bottom: 8px; }
  .check-report-overview strong { font-size: 23px; line-height: 1.4; }
  .check-report-overview p { font-size: 14px; line-height: 1.7; margin-top: 8px; }
  .check-report-domain-info .check-report-values > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Map and compact HTTP rows share the same result elements and Turbo targets. */
.http-nodes-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.http-nodes-heading h2{margin:0}
.http-map-switch,.http-map-toolbar>div{display:inline-flex;flex:none;border:1px solid var(--public-line,#e5e5e5);border-radius:5px;overflow:hidden}
.http-map-switch button,.http-map-toolbar button{padding:9px 18px;min-height:44px;background:transparent;color:inherit;font-size:14px;cursor:pointer}
.http-map-switch button[aria-pressed=true],.http-map-toolbar button[aria-pressed=true]{background:#171717;color:#fff}
.http-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--public-muted,#656565);font-size:12px;padding:12px 0}
.http-map-canvas{position:relative;width:100%;aspect-ratio:1000/410;background:var(--public-paper,#fff);overflow:hidden;border-radius:6px}
.http-map-canvas>svg{display:block;width:100%;height:100%}
.http-nodes[data-scope=china] .http-map-canvas{max-width:600px;aspect-ratio:215/170;margin-inline:auto}
.http-map-pin{position:absolute;transform:translate(-50%,-50%);min-width:32px;min-height:32px;display:grid;place-items:center;z-index:1;cursor:pointer;background:transparent;color:#656565}
.http-map-pin i{display:block;width:12px;height:12px;border-radius:50%;background:currentColor;border:3px solid #fff;box-shadow:0 0 0 1px currentColor}
.http-map-pin span{position:absolute;top:28px;left:18px;white-space:nowrap;font-size:12px;line-height:1.5;background:var(--public-paper,#fff);color:var(--public-ink,#171717);border:1px solid var(--public-line,#e5e5e5);border-radius:4px;padding:4px 7px}
.http-map-pin[data-status=ok]{color:#167348}.http-map-pin[data-status=warning]{color:#9a5800}
.http-map-pin[aria-pressed=true]{z-index:3}.http-map-pin[aria-pressed=true] i{outline:2px solid #171717;outline-offset:3px}
.http-map-pin-guangzhou span{top:auto;bottom:25px;left:auto;right:14px}
.http-map-pin-tokyo span,.http-map-pin-california span{top:auto;bottom:25px}
.http-map-pin-macau span{left:auto;right:15px}
.http-map-pin-taiwan span{top:auto;bottom:52px;left:18px}
.http-map-note{font-size:12px;color:var(--public-muted,#656565);line-height:1.7;margin:12px 0 20px}
.http-map-detail{border-left:2px solid #171717;background:var(--public-surface,#f7f7f6);padding:12px 16px;line-height:1.8;font-size:14px;margin-top:12px;overflow-wrap:anywhere}
.http-map-visual[hidden],.http-map-pin[hidden],.http-map-detail[hidden]{display:none}
.http-node-group{margin-top:24px;min-width:0}.http-node-group h3{font-size:15px;font-weight:600;margin-bottom:10px}.http-node-group h3 small{font-weight:400;color:var(--public-muted,#656565);margin-left:12px}
.http-node-row,.http-node-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(60px,.5fr) minmax(90px,.7fr);gap:12px;padding:12px 14px;align-items:center;border-bottom:1px solid var(--public-line,#e5e5e5);font-size:14px;line-height:1.7;min-width:0}
.http-node-columns{background:var(--public-surface,#f7f7f6);font-size:13px;color:var(--public-muted,#656565);padding-block:9px}
.http-node-row>div{min-width:0;overflow-wrap:anywhere}.http-node-row small{display:block;font-size:12px;color:var(--public-muted,#656565)}
.http-node-name strong{font-weight:600}.http-node-time,.http-node-code{font-variant-numeric:tabular-nums}.http-node-time{text-align:right}.http-node-row[data-selected=true]{background:var(--public-surface,#f7f7f6)}
.http-node-mobile-label{display:none}.http-node-group[data-node-group=边缘网络]{padding:14px;background:var(--public-surface,#f7f7f6);border-radius:6px}.http-node-group[data-node-group=边缘网络] .http-node-columns{background:transparent}
@media(max-width:600px){
 .http-nodes-heading{gap:8px;align-items:start}.http-nodes-heading h2{font-size:20px}.http-map-switch button{padding:7px 12px}.http-map-toolbar{align-items:start;flex-wrap:wrap}.http-map-toolbar>span{width:100%;font-size:11px}
 .http-node-columns{display:none}.http-node-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:14px 0}.http-node-name{grid-column:1}.http-node-row>div:nth-child(2){text-align:right}.http-node-time{font-size:14px}.http-node-mobile-label{display:inline;color:var(--public-muted,#656565);font-size:12px}
 .http-map-pin span{font-size:11px;padding:3px 5px}.http-map-pin-taiwan span{left:-8px}.http-map-note{font-size:11px}.http-node-group[data-node-group=边缘网络]{padding:12px}
}
