.map-viewer[role=dialog]{border-radius:0;max-width:none;height:100dvh;max-height:100dvh}.map-viewer__header{min-height:56px;padding:max(6px, env(safe-area-inset-top)) 12px 6px;background:var(--sign-green,#074c2a);color:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.map-viewer__header h2{text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:700;overflow:hidden}.map-viewer__header button{border-radius:4px;place-items:center;min-width:44px;min-height:44px;display:grid}.map-viewer__header button:focus-visible{outline:2px solid var(--sign-yellow,#ffd43b);outline-offset:-3px}.map-viewer .sheet-content{flex-direction:column;padding:0;display:flex;overflow:hidden}.map-viewer .event-detail{gap:0;height:100%}.map-viewer__body{flex-direction:column;flex:1;min-height:0;display:flex}.map-viewer__summary{background:var(--paper);flex-shrink:0;padding:10px 16px;font-size:13px}.map-viewer__summary strong{font-size:15px;display:block}.map-viewer__summary details{max-height:22dvh;overflow:auto}.journey-map--viewer{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.journey-map--viewer .journey-map__canvas{border:0;border-radius:0;flex:1;height:100%;min-height:0}.journey-map__controls--floating{z-index:3;pointer-events:none;flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:12px;left:12px;right:52px}.journey-map__controls--floating>*{pointer-events:auto}.journey-map__controls--floating button,.journey-map__layers>summary{background:var(--paper);min-height:44px;color:var(--ink);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:650;box-shadow:0 2px 5px #0002}.journey-map__controls--floating button:disabled{opacity:.6;cursor:wait}.journey-map__layers{position:static}.journey-map__layers>div{background:var(--paper);border:1px solid var(--line);border-radius:6px;min-width:175px;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 4px 10px #0002}.journey-map__layers label{align-items:center;gap:10px;min-height:44px;font-size:13px;display:flex}.journey-map__layers input{accent-color:var(--sign-green)}.journey-map--viewer .journey-map__legend{background:var(--paper);max-width:calc(100% - 65px);color:var(--ink);border-radius:4px;flex-wrap:wrap;gap:12px;padding:6px 9px;font-size:11px;display:flex;position:absolute;bottom:12px;left:12px}.journey-map--viewer .journey-map__status{z-index:4;background:var(--paper);max-width:calc(100% - 24px);padding:8px;font-size:12px;position:absolute;bottom:48px;left:12px}.map-marker--start{background:#17231e;border:2px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 2px 3px #0003}.map-marker--finish{filter:drop-shadow(0 2px 2px #0004);width:24px;height:28px}.map-viewer .trailhead-marker,.map-viewer .event-medal-marker{width:26px;min-width:26px;height:26px;min-height:26px;font-size:12px}@media (width>=768px){.map-viewer[role=dialog]{border-radius:10px;width:min(1100px,94vw);max-width:1100px;height:88dvh;max-height:88dvh}}.map-action.map-action--map:before{display:none}.map-action--map svg{flex-shrink:0}.map-viewer .trailhead-marker:after,.map-viewer .event-medal-marker:after{content:"";position:absolute;inset:-9px}
