/* Smoked-glass atlas. Kept separate from the existing resume layout. */
.resume-map-container { position:relative; flex:1; min-height:0; width:100%; height:100%; overflow:hidden; color:#e6e9ed; }
.resume-map-container.hidden, .resume-map-container [hidden] { display:none !important; }
.resume-map-shell { display:grid; grid-template-columns:220px minmax(0,1fr); height:100%; min-height:0; background:linear-gradient(115deg,rgba(41,48,57,.46),rgba(12,17,24,.22)); }
.resume-map-rail { display:flex; flex-direction:column; min-width:0; min-height:0; gap:12px; padding:20px 12px 14px; border-right:1px solid rgba(222,230,240,.14); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#66717d transparent; }
.resume-map-layers { display:flex; flex-direction:column; gap:10px; }
.resume-map-layer { display:flex; align-items:center; gap:12px; width:100%; min-height:64px; padding:12px 14px; border:1px solid transparent; border-radius:14px; background:transparent; color:#aeb8c6; text-align:left; font:500 14px/1.4 Inter,system-ui,sans-serif; cursor:pointer; }
.resume-map-layer svg { width:25px; height:25px; flex-shrink:0; }
.resume-map-layer > span:not(.resume-map-chevron) { flex:1; }
.resume-map-layer[aria-pressed="true"] { background:linear-gradient(130deg,rgba(186,198,214,.17),rgba(119,134,154,.07)); border-color:rgba(225,234,245,.27); color:#f5f7fa; box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.resume-map-layer:hover { color:#fff; background-color:rgba(225,234,245,.05); }
.resume-map-chevron { font-size:25px; font-weight:300; color:#aab4c3; }
.resume-map-layer:focus-visible, .resume-map-city-select:focus-visible, .resume-map-controls button:focus-visible, .resume-map-popup-close:focus-visible, .resume-map-attribution a:focus-visible { outline:2px solid #e3e9ef; outline-offset:3px; }
.resume-map-finder { margin-top:auto; display:flex; flex-direction:column; gap:6px; padding:10px 8px 0; color:#b8c2d1; font-size:11px; }
.resume-map-city-select { appearance:none; -webkit-appearance:none; color-scheme:dark; background-image:linear-gradient(45deg,transparent 50%,#e7edf4 50%),linear-gradient(135deg,#e7edf4 50%,transparent 50%); background-position:calc(100% - 14px) 50%,calc(100% - 10px) 50%; background-size:4px 4px; background-repeat:no-repeat; font:12px/1.4 Inter,system-ui,sans-serif; width:100%; min-height:38px; padding:8px 26px 8px 8px; color:#e7edf4; background-color:#242b34; border:1px solid #667180; border-radius:8px; }
.resume-map-period { font-size:12px; color:#a8b3c1; margin:8px 8px 0; }
.resume-map-attribution { font-size:10px; margin:0 8px; }
.resume-map-attribution a { color:#a8b3c1; text-decoration:underline; text-underline-offset:2px; }
.resume-map-canvas { position:relative; min-width:0; min-height:0; height:100%; overflow:hidden; background:radial-gradient(ellipse at 45% 45%,rgba(37,44,54,.7),rgba(8,13,19,.65)); }
.resume-map-svg { display:block; width:100%; height:100%; min-height:290px; touch-action:none; cursor:grab; }
.resume-map-svg:active { cursor:grabbing; }
.resume-map-states path { fill:rgba(82,92,104,.15); stroke:rgba(208,218,231,.42); stroke-width:.7; vector-effect:non-scaling-stroke; }
.resume-map-point { cursor:pointer; }
.resume-map-point-hit { fill:transparent; stroke:none; }
.resume-map-point-core { fill:#f3f6fa; stroke:rgba(230,237,247,.4); stroke-width:.7; filter:drop-shadow(0 0 2px rgba(225,236,255,.75)); }
.resume-map-point.is-selected .resume-map-point-core { r:4.5; stroke:#fff; stroke-width:2; filter:drop-shadow(0 0 5px #fff); }
.resume-map-svg.is-blurred { filter:blur(8px); opacity:.52; pointer-events:none; }
.resume-map-construction { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(10,15,22,.16); color:#edf1f7; font:500 clamp(18px,2.4vw,30px)/1.4 Inter,system-ui,sans-serif; letter-spacing:.02em; text-shadow:0 2px 8px #000; }
.resume-map-status { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; color:#c0cad7; font:14px Inter,system-ui,sans-serif; padding:16px; text-align:center; }
.resume-map-status button { font:inherit; border:1px solid #8490a0; border-radius:8px; padding:8px 12px; color:#fff; background:#303946; cursor:pointer; }
.resume-map-controls { position:absolute; right:16px; bottom:16px; display:flex; flex-direction:column; border:1px solid rgba(226,235,248,.35); border-radius:12px; overflow:hidden; background:rgba(35,43,54,.88); backdrop-filter:blur(14px); }
.resume-map-controls button { width:44px; height:44px; border:0; background:transparent; color:#f2f5fa; font:25px/1 system-ui; cursor:pointer; }
.resume-map-controls button + button { border-top:1px solid rgba(226,235,248,.18); }
.resume-map-controls button:hover { background:rgba(255,255,255,.1); }
.resume-map-popup { position:absolute; z-index:3; min-width:132px; max-width:min(300px,calc(100% - 16px)); max-height:calc(100% - 16px); overflow:auto; padding:12px 16px; background:rgba(17,24,33,.94); border:1px solid rgba(222,233,247,.6); border-radius:10px; box-shadow:0 6px 22px rgba(0,0,0,.38); backdrop-filter:blur(18px); font:12px/1.55 Inter,system-ui,sans-serif; color:#d3dce8; overscroll-behavior:contain; }
.resume-map-popup-city { display:block; padding-right:14px; margin-bottom:4px; color:#fff; font-weight:600; }
.resume-map-popup-close { float:right; width:32px; height:32px; padding:0; margin:-6px -10px 0 4px; background:none; border:0; border-radius:4px; color:#c2cedd; font-size:22px; cursor:pointer; }
.resume-map-popup-entry { display:flex; flex-direction:column; margin-top:9px; padding-top:8px; border-top:1px solid rgba(215,227,244,.17); }
.resume-map-popup-dates { color:#a7b6ca; }
.resume-map-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:700px) {
    .resume-map-shell { grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); }
    .resume-map-rail { display:grid; grid-template-columns:1fr auto; gap:8px; padding:8px 10px; overflow:visible; border-right:0; border-bottom:1px solid rgba(222,230,240,.14); }
    .resume-map-layers { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
    .resume-map-layer { min-height:43px; padding:6px 8px; gap:7px; border-radius:9px; font-size:11px; }
    .resume-map-layer svg { width:19px; height:19px; }
    .resume-map-chevron { display:none; }
    .resume-map-finder { margin:0; padding:0; flex-direction:row; align-items:center; min-width:0; gap:7px; }
    .resume-map-finder > span { display:none; }
    .resume-map-city-select { min-height:34px; padding:5px 26px 5px 6px; font-size:11px; }
    .resume-map-period { margin:0; font-size:10px; align-self:center; }
    .resume-map-attribution { grid-column:1/-1; margin:0; font-size:9px; text-align:right; }
    .resume-map-svg { min-height:0; }
    .resume-map-controls { right:8px; bottom:8px; }
    .resume-map-controls button { width:44px; height:44px; }
    .resume-map-popup { font-size:11px; padding:9px 12px; max-width:min(260px,calc(100% - 16px)); }
}
@media (prefers-reduced-motion:reduce) { .resume-map-container * { transition:none !important; } }
@media print { .resume-map-container { display:none !important; } }
/* Three-position toggle retains the existing glass slider. */
.resume-modal .resume-view-toggle { grid-template-columns:repeat(3,minmax(0,1fr)); }
.resume-modal .resume-view-toggle::before { width:calc((100% - 10px)/3); }
.resume-modal .resume-view-toggle:has(.view-toggle-btn:nth-child(2)[aria-selected="true"])::before { transform:translateX(calc(100% + 2px)); }
.resume-modal .resume-view-toggle:has(.view-toggle-btn:nth-child(3)[aria-selected="true"])::before { transform:translateX(calc(200% + 4px)); }
@media(max-width:420px) {
    .resume-modal .view-toggle-btn { padding-inline:5px; font-size:11px; min-width:0; }
    .resume-modal .resume-view-toggle { max-width:100%; }
}
