:root{--bg: #ffffff;--fg: #1c1f23;--muted: #667085;--line: #e4e7ec;--hover: #f2f4f7;--route: #e03131;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #16181c;--fg: #eceef1;--muted: #98a2b3;--line: #2a2e35;--hover: #22262c}}:root[data-theme=dark]{--bg: #16181c;--fg: #eceef1;--muted: #98a2b3;--line: #2a2e35;--hover: #22262c;color-scheme:dark}:root[data-theme=light]{color-scheme:light}*{box-sizing:border-box}html,body{height:100%;margin:0;background:var(--bg);color:var(--fg)}#app{display:grid;grid-template-columns:260px 1fr;height:100%}#stage{display:grid;grid-template-rows:1fr 140px;min-width:0;min-height:0}#map{min-height:0}#panel{overflow-y:auto;border-right:1px solid var(--line)}header{padding:14px 16px 10px;border-bottom:1px solid var(--line)}h1{margin:0 0 2px;font-size:17px}#totals{margin:0;color:var(--muted)}#days{list-style:none;margin:0;padding:0}#days button{display:grid;grid-template-columns:20px 1fr;gap:2px 10px;width:100%;padding:10px 16px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}#days li{border-bottom:1px solid var(--line)}#days li:hover,#days li:has(button[aria-pressed=true]){background:var(--hover)}.day-link{display:none;width:max-content;margin:-6px 0 0 46px;padding-bottom:9px;color:#fc5200;font-size:12px;font-weight:600;text-decoration:none}#days li:has(button[aria-pressed=true]) .day-link{display:block}.day-link:hover{text-decoration:underline}.day-notes{display:none;margin:-2px 16px 0 46px;padding-bottom:10px;color:var(--fg);font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}#days li:has(button[aria-pressed=true]) .day-notes{display:block}.nowrap{white-space:nowrap}.badge{grid-row:span 2;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--route);color:#fff;font-size:11px;font-weight:700}.day-title{font-weight:600}.day-stats{color:var(--muted);font-variant-numeric:tabular-nums}.error{padding:16px}#profile{border-top:1px solid var(--line);overflow:hidden;cursor:crosshair;touch-action:pan-y}#profile svg{display:block;font-size:11px;font-variant-numeric:tabular-nums}#profile .area{fill:color-mix(in srgb,var(--route) 30%,transparent);stroke:var(--route);stroke-width:1.2}#profile .grid{stroke:var(--line)}#profile .divider{stroke:var(--muted);stroke-dasharray:3 3}#profile .tick{fill:var(--muted)}#profile .day-label,#profile .peak-label{fill:var(--fg);paint-order:stroke;stroke:var(--bg);stroke-width:3px}#profile .day-label{fill:var(--muted)}#profile .peak{fill:var(--fg)}.day-date{color:var(--muted);font-weight:400}#profile .hover line{stroke:var(--fg)}#profile .hover circle{fill:var(--fg);stroke:var(--bg);stroke-width:2}#profile .hover text{fill:var(--fg);font-weight:600;paint-order:stroke;stroke:var(--bg);stroke-width:4px}.cursor-dot{width:14px;height:14px;border-radius:50%;background:#1c1f23;border:3px solid #fff;box-shadow:0 0 0 1px #0000004d}.photo-pin{display:flex;flex-direction:column;align-items:center}.photo-pin:after{content:"";border:5px solid transparent;border-top:7px solid #fff;border-bottom:0;filter:drop-shadow(0 1px 1px rgb(0 0 0 / .35))}.photo-pin:hover{z-index:1}.photos-off .photo-pin{display:none}.photo-marker{position:relative;width:var(--photo-size, 40px);height:var(--photo-size, 40px);padding:0;border:2px solid #fff;border-radius:50%;background:#ccc center / cover;box-shadow:0 1px 4px #00000073;cursor:pointer}.photo-marker:hover{border-color:var(--route)}.photo-count{position:absolute;top:-7px;right:-9px;min-width:18px;padding:0 4px;border:1.5px solid #fff;border-radius:9px;background:#5c636b;color:#fff;font:600 10px/15px system-ui,sans-serif}.photo-toggle[aria-pressed=false]{opacity:.45}.maplibregl-ctrl-group .photo-toggle{display:grid;place-items:center;color:#333}.full-link{padding:5px 10px;border-radius:4px;background:#fff;box-shadow:0 0 0 2px #0000001a;color:#1c1f23;font-size:13px;font-weight:600;text-decoration:none}.full-link:hover{background:#f2f4f7}.map-menu{position:absolute;z-index:5;padding:4px;border-radius:6px;background:#fff;box-shadow:0 2px 10px #00000040;font-size:13px;white-space:nowrap}.map-menu[hidden]{display:none}.map-menu a{display:block;padding:6px 10px;border-radius:4px;color:#1c1f23;text-decoration:none}.map-menu a:hover,.map-menu a:focus-visible{background:#eef1f4;outline:none}.gallery{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000000e0;color:#fff}.gallery[open]{display:grid;place-items:center}.gallery::backdrop{background:none}.gallery img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 64px);border-radius:4px;pointer-events:auto}.gallery-info{position:absolute;bottom:6px;left:0;right:0;margin:0;text-align:center;font-size:13px;pointer-events:none}dialog.gallery button{position:absolute;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#0000008c;color:#fff;font:28px/1 system-ui,sans-serif;cursor:pointer}dialog.gallery button:hover{background:#ffffff40}.gallery-close{top:10px;right:10px}.gallery-prev{left:10px;top:calc(50% - 22px)}.gallery-next{right:10px;top:calc(50% - 22px)}@media(max-width:640px){#app{grid-template-columns:1fr;grid-template-rows:1fr auto}#stage{grid-row:1;grid-template-rows:1fr 110px}#panel{grid-row:2;border-right:0;border-top:1px solid var(--line)}header{padding:8px 12px}#days{display:flex;overflow-x:auto}#days button{width:max-content;padding:8px 12px;white-space:nowrap}#days li{border-bottom:0;border-right:1px solid var(--line)}.day-link{margin-left:42px}.day-notes{width:min(78vw,340px);max-height:6em;margin-left:42px;overflow-y:auto}}
