/* ── External Attack Surface Mapper (/tools/attack-surface/) ────────────── */
/* Risk colours always come with a word: legend chips, pills and the panel. */
.asm-page {
  --asm-critical: #dc2626;
  --asm-high: #ea580c;
  --asm-medium: #d97706;
  --asm-low: #ca8a04;
  --asm-clean: #059669;
  --asm-info: #94a3b8;
  --asm-k-cloud: #2563eb;
  --asm-k-cdn: #7c3aed;
  --asm-k-hosting: #db2777;
  --asm-k-saas: #0891b2;
  --asm-k-mail: #4f46e5;
  --asm-k-dns: #4d7c0f;
  --asm-k-network: #64748b;
  --asm-k-none: #94a3b8;
  --asm-stage-0: #ffffff;
  --asm-stage-1: #eef3fb;
  --asm-stage-2: #dfe8f6;
  --asm-ring: color-mix(in srgb, var(--primary) 16%, transparent);
  --asm-sweep: color-mix(in srgb, var(--primary) 26%, transparent);
  --asm-link-alpha: 42%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .asm-page {
    --asm-critical: #f87171; --asm-high: #fb923c; --asm-medium: #fbbf24; --asm-low: #facc15; --asm-clean: #34d399; --asm-info: #64748b;
    --asm-k-cloud: #60a5fa; --asm-k-cdn: #a78bfa; --asm-k-hosting: #f472b6; --asm-k-saas: #22d3ee; --asm-k-mail: #818cf8; --asm-k-dns: #a3e635; --asm-k-network: #94a3b8; --asm-k-none: #64748b;
    --asm-stage-0: #13213b; --asm-stage-1: #0c1527; --asm-stage-2: #080e1b;
    --asm-ring: color-mix(in srgb, #60a5fa 18%, transparent);
    --asm-sweep: color-mix(in srgb, #38bdf8 30%, transparent);
    --asm-link-alpha: 50%;
  }
}
[data-theme="dark"] .asm-page {
  --asm-critical: #f87171; --asm-high: #fb923c; --asm-medium: #fbbf24; --asm-low: #facc15; --asm-clean: #34d399; --asm-info: #64748b;
  --asm-k-cloud: #60a5fa; --asm-k-cdn: #a78bfa; --asm-k-hosting: #f472b6; --asm-k-saas: #22d3ee; --asm-k-mail: #818cf8; --asm-k-dns: #a3e635; --asm-k-network: #94a3b8; --asm-k-none: #64748b;
  --asm-stage-0: #13213b; --asm-stage-1: #0c1527; --asm-stage-2: #080e1b;
  --asm-ring: color-mix(in srgb, #60a5fa 18%, transparent);
  --asm-sweep: color-mix(in srgb, #38bdf8 30%, transparent);
  --asm-link-alpha: 50%;
}

/* Form */
.asm-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.asm-field label { display: block; font-weight: 600; margin-bottom: 8px; }
.asm-field input { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--txt); font: inherit; }
.asm-field input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.asm-form button { white-space: nowrap; }
.asm-form button:disabled { opacity: .65; cursor: wait; }
.asm-form-help { margin: 14px 0 0; color: var(--txt-3); font-size: var(--text-small); line-height: 1.5; }
.asm-message { margin: 20px 0 8px; line-height: 1.6; }
.asm-message:empty { display: none; }
.asm-error { margin: 20px 0 0; }
.asm-results { position: relative; margin-top: 24px; }
.asm-results:focus { outline: none; }
.asm-mono { font-family: var(--font-mono); font-size: .92em; overflow-wrap: anywhere; }
.asm-muted { color: var(--txt-3); }
.asm-icon { flex-shrink: 0; }

/* Verdict and summary */
.asm-verdict { padding: 22px 24px; border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: var(--radius-card); background: var(--surface); }
.asm-verdict--critical { border-left-color: var(--asm-critical); }
.asm-verdict--high { border-left-color: var(--asm-high); }
.asm-verdict--medium { border-left-color: var(--asm-medium); }
.asm-verdict--clean { border-left-color: var(--asm-clean); }
.asm-verdict--incomplete { border-left-color: var(--asm-info); border-left-style: dashed; }
.asm-verdict h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.7rem); overflow-wrap: anywhere; }
.asm-verdict p { margin: 0; color: var(--txt-2); line-height: 1.6; }

.asm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.asm-stat { position: relative; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
.asm-stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--border); }
.asm-stat strong { display: block; font-family: var(--font-data); font-size: 1.75rem; font-weight: 700; line-height: 1.1; color: var(--txt); font-variant-numeric: tabular-nums; }
.asm-stat span { display: block; margin-top: 4px; color: var(--txt-3); font-size: var(--text-compact); line-height: 1.35; }
.asm-stat--critical::before { background: var(--asm-critical); }
.asm-stat--high::before { background: var(--asm-high); }
.asm-stat--medium::before { background: var(--asm-medium); }
.asm-stat--ok::before { background: var(--asm-clean); }
.asm-stat--info::before { background: var(--asm-info); }

.asm-progress { margin: 14px 0 0; }
.asm-progress-bar { height: 6px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.asm-progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent-vivid)); transition: width var(--t-base); }
.asm-progress p, .asm-progress-note { margin: 6px 0 0; color: var(--txt-3); font-size: var(--text-compact); }
.asm-linkbtn { padding: 0; border: 0; background: none; color: var(--primary-ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Stage */
.asm-stage { margin-top: 20px; padding: 18px; border: 1px solid var(--border); border-radius: calc(var(--radius-card) + 4px); background: var(--surface); }
.asm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.asm-stage-title { margin: 0 auto 0 0; font-size: var(--text-h3); }
.asm-modes { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface2); }
.asm-mode { padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--txt-2); font: inherit; font-size: var(--text-small); font-weight: 600; cursor: pointer; }
.asm-mode[aria-pressed="true"] { background: var(--surface); color: var(--txt); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
.asm-mode:focus-visible, .asm-chip:focus-visible, .asm-iconbtn:focus-visible, .asm-risk:focus-visible, .asm-member:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.asm-find input { width: 190px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--txt); font: inherit; font-size: var(--text-small); }
.asm-find input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.asm-zoom-btns { display: inline-flex; gap: 4px; }
.asm-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--txt-2); cursor: pointer; }
.asm-iconbtn:hover { border-color: var(--border-hi); color: var(--txt); }

.asm-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.asm-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--txt-2); font: inherit; font-size: var(--text-compact); font-weight: 600; cursor: pointer; }
.asm-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--asm-info); }
.asm-chip[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
.asm-chip--critical .asm-chip-dot { background: var(--asm-critical); box-shadow: 0 0 0 3px color-mix(in srgb, var(--asm-critical) 25%, transparent); }
.asm-chip--high .asm-chip-dot { background: var(--asm-high); }
.asm-chip--medium .asm-chip-dot { background: var(--asm-medium); }
.asm-chip--low .asm-chip-dot { background: var(--asm-low); }
.asm-chip--clean .asm-chip-dot { background: var(--asm-clean); }
.asm-chip--info .asm-chip-dot { background: transparent; border: 2px dashed var(--asm-info); width: 8px; height: 8px; }

.asm-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; margin-top: 14px; align-items: start; }
.asm-canvas { position: relative; border-radius: var(--radius-card); background: radial-gradient(circle at 50% 50%, var(--asm-stage-0), var(--asm-stage-1) 62%, var(--asm-stage-2)); border: 1px solid var(--border); overflow: hidden; touch-action: pan-y; }
.asm-svg { display: block; width: 100%; height: auto; max-height: 82vh; margin: 0 auto; font-family: var(--font-sans); user-select: none; }
.asm-map-desc { margin: 12px 0 0; color: var(--txt-3); font-size: var(--text-compact); line-height: 1.55; }
.asm-step-error { margin-top: 12px; }

/* SVG: background, rings, sweep */
.asm-bg-stop-0 { stop-color: var(--asm-stage-0); stop-opacity: 0; }
.asm-bg-stop-1 { stop-color: var(--asm-stage-1); stop-opacity: 0; }
.asm-bg-stop-2 { stop-color: var(--asm-stage-2); stop-opacity: 0; }
.asm-ring { fill: none; stroke: var(--asm-ring); stroke-width: 1; stroke-dasharray: 2 5; }
.asm-ring--inner { stroke-dasharray: none; }
.asm-ring--glow { stroke: color-mix(in srgb, var(--primary) 10%, transparent); stroke-width: 26; stroke-dasharray: none; }
.asm-spoke { stroke: var(--asm-ring); stroke-width: 1; opacity: .5; }
.asm-sweep { opacity: 0; transform-box: view-box; transform-origin: 500px 500px; }
.asm-sweep.is-on { opacity: 1; animation: asm-spin 3.2s linear infinite; }
.asm-sweep-stop-0 { stop-color: var(--asm-sweep); stop-opacity: 0; }
.asm-sweep-stop-1 { stop-color: var(--asm-sweep); stop-opacity: 1; }
@keyframes asm-spin { to { transform: rotate(360deg); } }

/* Provider type arcs */
.asm-kind-arc { fill: none; stroke-width: 5; stroke-linecap: round; stroke: var(--asm-k-none); opacity: .8; }
.asm-kind-guide { fill: none; stroke: none; }
.asm-kind-label { fill: var(--txt-3); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.asm-kind-arc.asm-kind--cloud { stroke: var(--asm-k-cloud); }
.asm-kind-arc.asm-kind--cdn { stroke: var(--asm-k-cdn); }
.asm-kind-arc.asm-kind--hosting { stroke: var(--asm-k-hosting); }
.asm-kind-arc.asm-kind--saas { stroke: var(--asm-k-saas); }
.asm-kind-arc.asm-kind--mail { stroke: var(--asm-k-mail); }
.asm-kind-arc.asm-kind--dns { stroke: var(--asm-k-dns); }
.asm-kind-arc.asm-kind--network { stroke: var(--asm-k-network); }

/* Links */
.asm-trunk { stroke: color-mix(in srgb, var(--primary) 30%, transparent); stroke-linecap: round; fill: none; }
.asm-link { fill: none; stroke-width: 1.1; stroke: color-mix(in srgb, var(--asm-info) var(--asm-link-alpha), transparent); }
.asm-link--critical { stroke: color-mix(in srgb, var(--asm-critical) 80%, transparent); stroke-width: 1.8; }
.asm-link--high { stroke: color-mix(in srgb, var(--asm-high) 75%, transparent); stroke-width: 1.6; }
.asm-link--medium { stroke: color-mix(in srgb, var(--asm-medium) 65%, transparent); stroke-width: 1.3; }
.asm-link--low { stroke: color-mix(in srgb, var(--asm-low) 55%, transparent); }
.asm-link--clean { stroke: color-mix(in srgb, var(--asm-clean) var(--asm-link-alpha), transparent); }
.asm-link.is-path, .asm-trunk.is-path { stroke-dasharray: 6 5; animation: asm-flow 1.2s linear infinite; }
.asm-trunk.is-path { stroke: color-mix(in srgb, var(--asm-high) 55%, transparent); }
.asm-link.is-hot { stroke-width: 3; stroke-dasharray: none; }
@keyframes asm-flow { to { stroke-dashoffset: -22; } }
.is-dim { opacity: .13; }

/* Hosts */
.asm-node { cursor: pointer; }
.asm-node circle:not(.asm-halo), .asm-node rect { fill: var(--asm-info); stroke: var(--asm-stage-0); stroke-width: 1.5; transition: transform var(--t-fast); transform-box: fill-box; transform-origin: center; }
.asm-node--critical circle:not(.asm-halo) { fill: var(--asm-critical); }
.asm-node--high circle:not(.asm-halo) { fill: var(--asm-high); }
.asm-node--medium circle:not(.asm-halo) { fill: var(--asm-medium); }
.asm-node--low circle:not(.asm-halo) { fill: var(--asm-low); }
.asm-node--clean circle:not(.asm-halo) { fill: var(--asm-clean); }
.asm-node--info circle:not(.asm-halo) { fill: var(--asm-stage-0); stroke: var(--asm-info); stroke-dasharray: 2 2; }
.asm-node--mail rect { fill: var(--asm-k-mail); }
.asm-node--dns rect { fill: var(--asm-k-dns); }
.asm-node:hover circle:not(.asm-halo), .asm-node:hover rect, .asm-node.is-hot circle:not(.asm-halo), .asm-node.is-hot rect { transform: scale(1.6); }
.asm-node.is-hot circle:not(.asm-halo) { stroke: var(--txt); stroke-width: 2; }
.asm-halo { fill: none; stroke-width: 2; stroke: var(--asm-high); opacity: .55; transform-box: fill-box; transform-origin: center; animation: asm-pulse 2s ease-out infinite; }
.asm-node--critical .asm-halo { stroke: var(--asm-critical); }
@keyframes asm-pulse { from { transform: scale(.7); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.asm-node.is-new circle:not(.asm-halo), .asm-node.is-new rect { animation: asm-pop .5s ease-out both; }
@keyframes asm-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.asm-host-label { fill: var(--txt-3); font-size: 10px; font-weight: 500; pointer-events: none; }
.asm-host-label.is-risky { fill: var(--txt); font-weight: 700; }

/* Providers */
.asm-provider { cursor: pointer; outline: none; }
.asm-provider-core { fill: var(--surface); stroke: var(--asm-k-none); stroke-width: 2.5; }
.asm-provider-ring { fill: none; stroke: var(--asm-k-none); stroke-width: 1; opacity: .35; }
.asm-provider.has-risk .asm-provider-ring { stroke: var(--asm-high); opacity: .9; stroke-dasharray: 3 3; }
.asm-provider-count { fill: var(--txt); font-family: var(--font-data); font-size: 12px; font-weight: 700; pointer-events: none; }
.asm-provider-label { fill: var(--txt-2); font-size: 12.5px; font-weight: 700; paint-order: stroke; stroke: var(--asm-stage-1); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.asm-provider.asm-kind--cloud .asm-provider-core { stroke: var(--asm-k-cloud); }
.asm-provider.asm-kind--cdn .asm-provider-core { stroke: var(--asm-k-cdn); }
.asm-provider.asm-kind--hosting .asm-provider-core { stroke: var(--asm-k-hosting); }
.asm-provider.asm-kind--saas .asm-provider-core { stroke: var(--asm-k-saas); }
.asm-provider.asm-kind--mail .asm-provider-core { stroke: var(--asm-k-mail); }
.asm-provider.asm-kind--dns .asm-provider-core { stroke: var(--asm-k-dns); }
.asm-provider.asm-kind--network .asm-provider-core { stroke: var(--asm-k-network); }
.asm-provider:hover .asm-provider-core, .asm-provider.is-hot .asm-provider-core { stroke-width: 4; }
.asm-provider:focus-visible .asm-provider-ring, .asm-center:focus-visible .asm-center-ring { stroke: var(--primary); stroke-width: 3; opacity: 1; stroke-dasharray: none; }

/* The domain */
.asm-center { cursor: pointer; outline: none; }
.asm-center-glow { fill: color-mix(in srgb, var(--primary) 12%, transparent); }
.asm-center-ring { fill: none; stroke: color-mix(in srgb, var(--primary) 45%, transparent); stroke-width: 1.5; }
.asm-center-core { fill: var(--brand-tile); }
.asm-center-eye { fill: none; stroke: var(--brand-mark); stroke-width: 2.4; stroke-linejoin: round; }
.asm-center-pupil { fill: var(--brand-pupil); }
.asm-center-name { fill: var(--brand-mark); font-size: 12px; font-weight: 700; }
.asm-center-sub { fill: color-mix(in srgb, var(--brand-mark) 75%, transparent); font-family: var(--font-data); font-size: 11px; font-weight: 500; }

/* Details panel */
.asm-panel { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); max-height: 82vh; overflow: auto; }
.asm-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.asm-panel-head h3 { margin: 0; font-size: var(--text-card-title); overflow-wrap: anywhere; }
.asm-panel h4 { margin: 16px 0 8px; font-size: var(--text-small); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--txt-3); }
.asm-panel-sub { margin: 8px 0 0; color: var(--txt-2); font-size: var(--text-small); }
.asm-facts { display: grid; gap: 8px; margin: 14px 0 0; }
.asm-facts div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; font-size: var(--text-small); line-height: 1.5; }
.asm-facts dt { color: var(--txt-3); font-weight: 600; }
.asm-facts dd { margin: 0; color: var(--txt); overflow-wrap: anywhere; }
.asm-chain { margin: 0; padding: 0; list-style: none; }
.asm-chain li + li::before { content: "↳ "; color: var(--txt-3); }
.asm-whys { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.asm-why { padding: 10px 12px; border-left: 3px solid var(--asm-info); border-radius: 8px; background: var(--surface); }
.asm-why--critical { border-left-color: var(--asm-critical); }
.asm-why--high { border-left-color: var(--asm-high); }
.asm-why--medium { border-left-color: var(--asm-medium); }
.asm-why--low { border-left-color: var(--asm-low); }
.asm-why strong { font-size: var(--text-small); }
.asm-why p { margin: 4px 0 6px; color: var(--txt-2); font-size: var(--text-compact); line-height: 1.5; }
.asm-why a, .asm-open a { color: var(--primary-ink); font-size: var(--text-compact); font-weight: 600; }
.asm-open { display: grid; gap: 6px; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); list-style: none; }
.asm-none { margin: 12px 0 0; color: var(--txt-3); font-size: var(--text-small); line-height: 1.5; }
.asm-member-list { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.asm-member { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 6px; border: 0; border-radius: 6px; background: none; color: var(--txt); font: inherit; font-size: var(--text-compact); text-align: left; cursor: pointer; }
.asm-member:hover { background: var(--surface2); }
.asm-dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--asm-info); }
.asm-dot--critical { background: var(--asm-critical); }
.asm-dot--high { background: var(--asm-high); }
.asm-dot--medium { background: var(--asm-medium); }
.asm-dot--low { background: var(--asm-low); }
.asm-dot--clean { background: var(--asm-clean); }
.asm-dot--info { background: transparent; border: 2px dashed var(--asm-info); width: 7px; height: 7px; }
.asm-kind-tag { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--txt-2); font-size: var(--text-caption); font-weight: 700; }

/* Pills (text ink mixed toward the body text so it passes AA) */
.asm-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface2); color: var(--txt-2); font-size: var(--text-caption); font-weight: 700; white-space: nowrap; }
.asm-pill--critical { color: color-mix(in srgb, var(--asm-critical) 72%, var(--txt)); background: color-mix(in srgb, var(--asm-critical) 12%, transparent); border-color: color-mix(in srgb, var(--asm-critical) 40%, transparent); }
.asm-pill--high { color: color-mix(in srgb, var(--asm-high) 65%, var(--txt)); background: color-mix(in srgb, var(--asm-high) 12%, transparent); border-color: color-mix(in srgb, var(--asm-high) 40%, transparent); }
.asm-pill--medium { color: color-mix(in srgb, var(--asm-medium) 60%, var(--txt)); background: color-mix(in srgb, var(--asm-medium) 12%, transparent); border-color: color-mix(in srgb, var(--asm-medium) 40%, transparent); }
.asm-pill--low { color: color-mix(in srgb, var(--asm-low) 55%, var(--txt)); background: color-mix(in srgb, var(--asm-low) 12%, transparent); border-color: color-mix(in srgb, var(--asm-low) 40%, transparent); }
.asm-pill--clean { color: color-mix(in srgb, var(--asm-clean) 70%, var(--txt)); background: color-mix(in srgb, var(--asm-clean) 12%, transparent); border-color: color-mix(in srgb, var(--asm-clean) 40%, transparent); }

/* Needs attention */
.asm-attention { margin-top: 28px; }
.asm-attention-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.asm-attention-head h2 { margin: 0; font-size: var(--text-h2); }
.asm-downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.asm-risk-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.asm-risk { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); color: var(--txt); font: inherit; text-align: left; cursor: pointer; }
.asm-risk:hover { border-color: var(--border-hi); }
.asm-risk-name { font-family: var(--font-mono); font-size: var(--text-small); font-weight: 600; overflow-wrap: anywhere; }
.asm-risk-why { color: var(--txt-3); font-size: var(--text-compact); }
.asm-checked { margin: 22px 0 0; color: var(--txt-3); font-size: var(--text-compact); line-height: 1.6; }
.asm-checked a { color: var(--primary-ink); }

.asm-tip { position: absolute; z-index: 5; transform: translate(-50%, -100%); max-width: 280px; padding: 6px 10px; border-radius: 8px; background: var(--txt); color: var(--bg); font-size: var(--text-caption); font-weight: 600; pointer-events: none; overflow-wrap: anywhere; }

.asm-about { margin-top: 40px; }
.asm-about h2 { font-size: var(--text-h2); }

.asm-svg.is-compact .asm-provider-label { font-size: 23px; stroke-width: 7px; }
.asm-svg.is-compact .asm-provider-count { font-size: 17px; }
.asm-svg.is-compact .asm-kind-label { font-size: 20px; }
.asm-svg.is-compact .asm-kind-arc { stroke-width: 9; }
.asm-svg.is-compact .asm-center-name { font-size: 15px; }
.asm-svg.is-compact .asm-center-sub { font-size: 13px; }
.asm-svg.is-compact .asm-host-label { font-size: 20px; }

@media (max-width: 960px) {
  .asm-body { grid-template-columns: minmax(0, 1fr); }
  .asm-panel { max-height: none; }
}
@media (max-width: 640px) {
  .asm-form { grid-template-columns: minmax(0, 1fr); }
  .asm-stage { padding: 12px 0 0; border: 0; background: none; }
  .asm-stage .asm-toolbar, .asm-stage .asm-legend, .asm-map-desc { padding: 0; }
  .asm-stage-title { width: 100%; }
  .asm-find { flex: 1 1 140px; }
  .asm-find input { width: 100%; box-sizing: border-box; }
  .asm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asm-stat strong { font-size: 1.4rem; }
  .asm-risk-list { grid-template-columns: minmax(0, 1fr); }
  .asm-host-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .asm-sweep.is-on, .asm-link.is-path, .asm-trunk.is-path, .asm-halo, .asm-node.is-new circle, .asm-node.is-new rect { animation: none; }
  .asm-sweep.is-on { opacity: .6; }
}
