#atlas {
    --atlas-import:#bd3c22;
    --atlas-export:#58499b;
    --atlas-muted:#52616a;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(220px,26%);
    align-items:stretch;
    gap:clamp(16px,2vw,30px);
    min-width:0;
    min-height:0;
    height:100%;
    background:#fff;
    color:#20252a;
}
#atlas[hidden] {display:none}
.atlas-figure {display:flex;flex-direction:column;min-width:0;min-height:0;margin:0}
.atlas-drawing {width:100%;flex:1;min-height:0;height:clamp(225px,36vh,430px);display:block;background:#fafbfc;border:1px solid #d7dde0;border-radius:3px}
.atlas-land {fill:#ece7cd;stroke:#899981;stroke-width:1;stroke-linejoin:round}
.atlas-land.gb {fill:#d3dfba;stroke:#6d876c;stroke-width:1.4}
.atlas-land.irish {fill:#bcd8bd}
.atlas-land.nordic {fill:#d9e4cf}
.atlas-watername {font:italic 12px Georgia,serif;letter-spacing:1.6px;fill:#21485e}
.atlas-imagery {opacity:.72;filter:brightness(1.08);pointer-events:none}
.atlas-irish-border path {fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.atlas-border-casing {stroke:#2f3935;stroke-width:2.8px}
.atlas-border-line {stroke:#fff9dc;stroke-width:1.55px;stroke-dasharray:4 2}
.atlas-landname {font:600 9px "Segoe UI",Arial,sans-serif;letter-spacing:1.8px;fill:#6e6976}
.atlas-landname {paint-order:stroke;stroke:#f6f4df;stroke-width:2px}
.atlas-compass {fill:none;stroke:#4d475a;stroke-width:1.4}
.atlas-line {fill:none;stroke:currentColor;stroke-linejoin:round;stroke-linecap:round}
.atlas-node {fill:currentColor;stroke:#fff;stroke-width:.8}
.atlas-flow-pulse {display:none;fill:none;stroke:white;stroke-linecap:round;stroke-dasharray:3 12;pointer-events:none}
.atlas-link:is(.import,.export) .atlas-flow-pulse {display:block;animation:atlas-flow 1.1s linear infinite}
.atlas-link.delayed .atlas-flow-pulse {opacity:.72}
@keyframes atlas-flow {to {stroke-dashoffset:-15}}
@media(prefers-reduced-motion:reduce){
    .atlas-link:is(.import,.export) .atlas-flow-pulse {display:none;animation:none}
}
.atlas-link,.atlas-number {color:var(--atlas-muted)}
.atlas-link.import,.atlas-number.import,.atlas-in,.atlas-row[data-direction="import"] .atlas-reading {color:var(--atlas-import)}
.atlas-link.export,.atlas-number.export,.atlas-out,.atlas-row[data-direction="export"] .atlas-reading {color:var(--atlas-export)}
.atlas-link.balanced .atlas-line,.atlas-link.unavailable .atlas-line,.atlas-link.delayed .atlas-line {stroke-dasharray:4 3}
.atlas-country,.atlas-number {font:650 14px "Segoe UI",Arial,sans-serif;fill:#24212d;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.atlas-number {font:600 11px Consolas,monospace;fill:currentColor}
.atlas-caption {display:flex;gap:16px;align-items:center;padding-top:6px;font:600 11px/1.35 "Segoe UI",Arial,sans-serif}
.atlas-schematic {margin-left:auto;color:var(--atlas-muted);font-weight:400}
.atlas-link,.atlas-map-label {cursor:pointer}
.atlas-hit {fill:none;stroke:transparent;stroke-width:16;pointer-events:stroke}
.atlas-link:hover .atlas-line {filter:brightness(.8)}
.atlas-map-label:hover .atlas-country {text-decoration:underline}
.atlas-directory {min-width:0;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;padding-inline-end:clamp(14px,1.3vw,24px)}
#atlas .atlas-title {margin:0 0 4px;font-size:clamp(16px,1.4vw,22px);line-height:1.15;letter-spacing:-.045em}
.atlas-list {list-style:none;padding:0;margin:0;min-width:0}
.atlas-row {display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid #dadee0;padding:clamp(2px,.55vh,7px) 0;font-size:clamp(12px,.95vw,15px);line-height:1.15}
.atlas-name {font-weight:600;min-width:0}
.atlas-country-button {
    display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:24px;
    padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer
}
.atlas-country-button:hover .atlas-name,.atlas-country-button:focus-visible .atlas-name {text-decoration:underline}
#country-cables {flex:none;min-width:0}
.atlas-cables {display:flex;flex-wrap:wrap;gap:4px 6px}
.atlas-cable {
    display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px;min-height:24px;
    border:1px solid #cbd1d4;border-radius:3px;background:#fff;color:#263037;
    font:12px/1.2 "Segoe UI",Arial,sans-serif;padding:4px 7px;cursor:pointer
}
.atlas-cable[aria-pressed=true] {border-color:#665888;background:#f1eef7;color:#403261}
.atlas-cable:hover {border-color:#665888}
.atlas-cable-value {font:600 .93em/1.2 Consolas,monospace}
.atlas-status {display:block;margin-top:2px;font:400 10px/1.1 "Segoe UI",Arial,sans-serif;color:var(--atlas-muted)}
.atlas-reading {color:var(--atlas-muted);font:600 clamp(11px,.98vw,15px)/1.1 Consolas,monospace;white-space:nowrap}
.atlas-rating,.atlas-cable-rating {color:#485c64;font:400 10px/1.15 "Segoe UI",Arial,sans-serif}
.atlas-rating {display:block;text-align:right;margin-top:2px}
#atlas .atlas-source {margin:5px 0 0;font-size:10px;line-height:1.25;color:var(--atlas-muted)}
@media(max-width:760px){
    #atlas {grid-template-columns:1fr;gap:12px;height:auto}
    .atlas-drawing {height:auto;aspect-ratio:730/435;flex:none}
    .atlas-directory {display:block}
    .atlas-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
    .atlas-country {font-size:18px}
    .atlas-number {font-size:14px}
    .atlas-row {padding:6px 0;flex-wrap:wrap}
    .atlas-caption {gap:9px;font-size:10px}
}

