.wifi-atlas { --atlas-accent: #62e8d1; position: relative; border: 1px solid #34586b; border-radius: 15px; padding: 26px 25px 20px; overflow: hidden; background: radial-gradient(ellipse at 75% 35%, #133e4b70, transparent 60%), linear-gradient(145deg, #101e2a, #09131d); box-shadow: 0 26px 80px #0004; }
.wifi-atlas::before { content: ""; position: absolute; top: 0; left: 26px; width: 78px; height: 2px; background: linear-gradient(90deg, #00c8eb, #65e9b1); }
.atlas-masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.atlas-masthead > span { font: 10px/1.7 Consolas, monospace; letter-spacing: .09em; color: #a4c5d6; }
.atlas-masthead img { width: 24px; height: 24px; object-fit: contain; }
.atlas-heading { font-size: clamp(25px, 2.35vw, 33px); line-height: 1.15; letter-spacing: -.045em; margin-top: 22px; font-weight: 450; }
.atlas-heading > span { color: #7edbc8; }
.atlas-heading br { display: none; }
.atlas-stage { position: relative; margin: -16px -25px 8px; }
.atlas-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.atlas-stage-note { position: absolute; bottom: 5px; left: 25px; color: #8fabbc; font: 9px/1.6 Consolas, monospace; letter-spacing: .05em; }
.atlas-coverage, .atlas-interference, .atlas-route-active, .atlas-client-start, .atlas-client-end { transition: opacity .45s ease; }
.atlas-interference, .atlas-route-active, .atlas-client-end { opacity: 0; }
.wifi-atlas[data-view="interference"] { --atlas-accent: #f1c185; }
.wifi-atlas[data-view="interference"] .atlas-interference { opacity: 1; }
.wifi-atlas[data-view="interference"] .atlas-coverage { opacity: .4; }
.wifi-atlas[data-view="roaming"] .atlas-coverage { opacity: .5; }
.wifi-atlas[data-view="roaming"] .atlas-route-active, .wifi-atlas[data-view="roaming"] .atlas-client-end { opacity: 1; }
.wifi-atlas[data-view="roaming"] .atlas-client-start { opacity: .38; }
.atlas-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid #2f4c5e; border-radius: 8px; background: #08131de0; }
.atlas-tabs > button { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 8px 5px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #a6bbce; font-size: 12px; font-weight: 450; }
.atlas-tabs > button > span { font: 10px Consolas, monospace; color: #7795ab; }
.atlas-tabs > button[aria-selected="true"] { color: var(--atlas-accent); border-color: color-mix(in srgb, var(--atlas-accent) 40%, transparent); background: color-mix(in srgb, var(--atlas-accent) 9%, #09151f); box-shadow: inset 0 -2px 0 var(--atlas-accent); }
.atlas-tabs > button[aria-selected="true"] > span { color: inherit; }
.atlas-tabs > button:hover { color: #e1f6f9; }
.atlas-tabs > button:focus-visible { outline-offset: 1px; }
.atlas-panel { padding: 23px 0 0; min-height: 180px; }
.atlas-panel-label { font: 10px/1.7 Consolas, monospace; color: var(--atlas-accent); letter-spacing: .06em; }
.atlas-panel h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.035em; margin: 10px 0; font-weight: 450; }
.atlas-panel > p:last-child { font-size: 14px; line-height: 1.85; color: #acc2d2; }
.atlas-disclaimer { margin-top: 18px; padding-top: 15px; border-top: 1px solid #294355; color: #8faabd; font-size: 11px; line-height: 1.8; }
@media (min-width: 801px) {
    body:has(.wifi-atlas) .detail-hero-grid { grid-template-columns: 1fr 1.12fr; gap: 46px; }
    body:has(.wifi-atlas) .detail-title { font-size: clamp(39px, 4.3vw, 64px); }
}
@media (max-width: 1000px) and (min-width: 801px) {
    .atlas-tabs > button { flex-direction: column; gap: 4px; font-size: 11px; }
    .atlas-panel { min-height: 213px; }
}
@media (max-width: 640px) {
    .wifi-atlas { padding: 23px 18px 19px; }
    .atlas-masthead > span { font-size: 9px; }
    .atlas-heading { font-size: 28px; }
    .atlas-heading br { display: initial; }
    .atlas-stage { margin: -6px -18px 7px; }
    .atlas-stage-note { left: 18px; font-size: 8px; }
    .atlas-map-label { display: none; }
    .atlas-tabs > button { flex-direction: column; gap: 4px; min-height: 52px; font-size: 11px; }
    .atlas-tabs > button > span { font-size: 10px; }
    .atlas-panel { min-height: 235px; padding-top: 20px; }
    .atlas-panel h3 { font-size: 23px; }
    .atlas-panel > p:last-child { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
    .wifi-atlas[data-view="roaming"] .atlas-route-active { stroke-dasharray: 100; animation: atlas-trace .8s ease-out both; }
    @keyframes atlas-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .wifi-atlas *, .wifi-atlas *::before, .wifi-atlas *::after { transition: none !important; animation: none !important; }
}
