@font-face{font-family:Geist;src:url('/fonts/geist-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url('/fonts/geist-mono-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#20332a;--muted:#59685e;--fine:#dce2d8;--paper:#fafbf7;--green:#294732;--lime:#d9ee94;--side:356px;font-family:Geist,Inter,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{background:transparent;color:inherit;border:0;cursor:pointer}
button:disabled{cursor:default;opacity:.53}
button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #38815b;outline-offset:3px}
a{color:inherit;text-underline-offset:3px}
svg{flex-shrink:0}
h1,h2,h3,p,figure{margin:0}
button{touch-action:manipulation}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.atlas{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:320px;overflow:hidden}
.topbar{height:68px;flex:0 0 68px;display:flex;align-items:center;padding:0 27px;gap:23px;border-bottom:1px solid #d2d9cf;background:#fbfcf8;z-index:5}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}
.brand span{font-size:1.54rem;font-weight:720;letter-spacing:-.07em}
.brand img{border-radius:9px}
.city-brand{font-size:.9rem;font-weight:520;color:#58695d;display:flex;align-items:center;gap:7px;border-left:1px solid #d7dfd3;padding-left:21px;height:25px}
.primary-nav{display:flex;align-items:center;gap:5px;margin-left:auto}
.primary-nav button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:9px 15px;font-size:.91rem;font-weight:580;line-height:1.25}
.primary-nav button:hover,.info-button:hover{background:#edf2e7}
.primary-nav button.active{background:#e6f1d7;color:#2a4e2b}
.info-button{display:flex;align-items:center;gap:8px;margin-left:3px;padding:9px 0 9px 21px;border-left:1px solid #d9dfd4;font-size:.88rem;color:#4d5d51}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:var(--side) minmax(0,1fr)}
.sidebar{z-index:2;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--paper);border-right:1px solid #cfd7ca}
.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5cec1 transparent}
.panel-heading{padding:27px 24px 20px}
.category{font-family:"Geist Mono",monospace;text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:620;color:#556950;display:inline-flex;align-items:center;gap:7px}
.station-symbol{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-family:Geist,sans-serif;font-weight:780;font-size:.73rem;letter-spacing:0;color:#385735;border:1.6px solid #587852;border-radius:50%;background:#f0f5df}
.panel-heading h1{margin-top:8px;font-weight:620;line-height:1.06;letter-spacing:-.059em;font-size:clamp(2rem,3.2vw,2.7rem);overflow-wrap:anywhere}
.station-location{display:flex;gap:6px;align-items:center;margin-top:10px;color:var(--muted);font-size:.92rem}
.cover-wrap{padding:1px 24px 22px}
.photo-cover{display:block;position:relative;border-radius:13px;overflow:hidden;width:100%;height:clamp(126px,18.5vh,170px);padding:0;background:#d8dfce;isolation:isolate}
.photo-cover:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(0deg,#11241972,transparent);pointer-events:none}
.photo-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.photo-cover:hover img{transform:scale(1.035)}
.cover-tag{position:absolute;z-index:1;bottom:9px;left:10px;display:flex;align-items:center;gap:5px;color:white;background:#18251cc7;font-size:.74rem;font-weight:550;padding:4px 7px;border-radius:6px}
.panel-tabs{display:flex;gap:6px;padding:0 24px;border-bottom:1px solid var(--fine)}
.panel-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;color:#626f64;min-height:43px;padding:0 14px;font-size:.9rem;font-weight:570;border-bottom:2px solid transparent}
.panel-tabs button[aria-selected=true]{border-color:#355c39;color:#294b30}
.panel-tabs button span{background:#e9ede4;padding:1px 5px;min-width:20px;line-height:16px;border-radius:4px;text-align:center;font:600 .72rem/16px "Geist Mono",monospace}
.panel-tabs button[aria-selected=true] span{background:#dcedcc;color:#335632}
.route-section,.gallery{padding:22px 24px 19px}
h2,h3{font-size:1.09rem;font-weight:620;letter-spacing:-.033em;line-height:1.35}
.section-note{color:var(--muted);font-size:.855rem;line-height:1.5;margin:4px 0 11px}
.line-list{display:flex;flex-direction:column}
.line-row{display:flex;width:100%;align-items:center;gap:13px;text-align:left;min-height:62px;padding:9px 3px;border-bottom:1px solid #e1e6dd}
.line-row:hover,.line-row:focus-visible{background:#edf2e8}
.line-number{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;min-width:40px;height:32px;padding:0 7px;font-family:"Geist Mono",monospace;font-size:1.03rem;font-weight:710;letter-spacing:-.08em}
.endpoints{display:flex;flex-direction:column;position:relative;padding-left:13px;gap:1px;font-size:.89rem;font-weight:490;line-height:1.38}
.endpoints:before{position:absolute;content:"";left:2px;top:8px;bottom:8px;width:1px;background:#b5bfb1}
.endpoints>span{position:relative}
.endpoints>span:before{content:"";position:absolute;top:.52em;left:-13px;width:5px;height:5px;border-radius:50%;background:var(--paper);border:1px solid #9daa98}
.line-row-icon{margin-left:auto;margin-right:4px;color:#879486}
.side-footer{border-top:1px solid var(--fine);padding:12px 24px;background:#f4f7ee}
.side-footer a{display:inline-flex;align-items:center;gap:9px;color:#4c614c;font-size:.83rem;font-weight:550;text-decoration:none}
.side-footer a:hover{text-decoration:underline}
.sheet-toggle{display:none}
.directory>.line-list{padding:0 24px 18px}
.directory .panel-heading{padding-bottom:8px}
.route-title{display:flex;align-items:center;justify-content:space-between}
.route-stamp{width:39px;height:39px;display:grid;place-items:center;border-radius:11px}
.route-panel{padding-bottom:22px}
.direction-box{display:flex;justify-content:space-between;align-items:center;border:1px solid #d4dfce;background:#eef4e8;border-radius:12px;margin:0 24px 22px;padding:11px 13px;gap:8px}
.direction-box>div{display:flex;flex-direction:column;gap:2px}
.direction-box span{font-size:.77rem;color:#5b6957}
.direction-box strong{font-size:1.02rem;font-weight:600;line-height:1.2}
.direction-box button,.round-button{width:35px;height:35px;display:grid;place-items:center;border-radius:8px;background:#fbfcf7;border:1px solid #d5ddcf}
.timeline-heading{display:flex;align-items:center;justify-content:space-between;margin:0 24px 8px}
.timeline-heading>span{font-size:.79rem;color:var(--muted)}
.timeline{list-style:none;margin:0 18px 12px;padding:0}
.timeline li{position:relative}
.timeline li:not(:last-child):before{content:"";position:absolute;left:16px;top:50%;width:3px;height:100%;background:var(--route-color)}
.timeline button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:39px;border-radius:7px;padding:5px 9px;font-size:.88rem}
.timeline button i{position:relative;flex-shrink:0;width:11px;height:11px;margin-left:3px;background:#fff;border:2px solid var(--route-color);border-radius:50%}
.timeline .terminal button i{outline:1px solid var(--route-color);outline-offset:2px}
.timeline .current button{font-weight:650;background:#e8f0df}
.timeline button:hover{background:#ecf1e6}
.timeline small{font-size:.7rem;font-weight:500;margin-left:auto;color:#496149}
.secondary-action,.text-action{display:inline-flex;align-items:center;gap:8px;border-radius:7px;padding:7px 10px;font-size:.85rem;font-weight:550;background:#eaf1e2}
.secondary-action{margin-left:24px}
.map-stage{position:relative;overflow:hidden;isolation:isolate;min-width:0;min-height:0;background:#eef0e7}
.network-map{display:block;position:absolute;inset:0;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.network-map.dragging{cursor:grabbing}
.map-stop,.chosen-marker,[data-stop]{cursor:pointer}
.map-stop:focus-visible circle:first-of-type{stroke:#0a6540;stroke-width:4px}
.area-label{fill:#879285;opacity:.88;font:530 12px "Geist Mono",monospace;letter-spacing:2.3px;pointer-events:none;paint-order:stroke;stroke:#eff1e8;stroke-width:3px}
.place-label{fill:#6f826b;font:italic 13px Georgia,serif;letter-spacing:.5px;pointer-events:none}
.place-label.water{fill:#5f8c95}
.stop-label{font:560 12px Geist,system-ui,sans-serif;fill:#26392f;paint-order:stroke;stroke:#f6f8ed;stroke-width:3.3px;stroke-linejoin:round}
.line-on-map{font:700 11px "Geist Mono",monospace;fill:#fff}
.marker-h{font:750 11px Geist,sans-serif;fill:#31462c}
.chosen-name{font:620 13.4px Geist,sans-serif;fill:#fff}
.raster{filter:saturate(.6)}
.map-search,.map-layers,.map-actions,.map-bottom-left,.map-notice{position:absolute;z-index:2}
.map-search{left:21px;top:19px;width:min(295px,46%)}
.search-field,.layer-trigger,.control-stack,.find-me,.layer-menu,.search-results,.legend-panel,.legend-trigger,.map-notice{border:1px solid #cbd4c6;background:#fcfdf8f7;box-shadow:0 2px 8px #364a3020,0 1px 2px #364a300c}
.search-field{display:flex;align-items:center;gap:10px;border-radius:11px;padding:0 13px;height:44px;color:#59705a}
.search-field:focus-within{border-color:#6b8961;box-shadow:0 0 0 3px #9ebc7861}
.search-field input{width:100%;flex:1;min-width:0;border:0;background:transparent;color:var(--ink);font-size:.92rem;outline:none}
.search-field input:focus-visible{outline:none}
.search-field input::placeholder{color:#5e6c60}
.search-field button{display:grid;place-items:center;width:25px;height:26px}
.search-results,.layer-menu,.legend-panel{border-radius:10px;padding:5px}
.search-results{margin-top:5px;max-height:min(50vh,347px);overflow:auto}
.search-results button,.layer-menu button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border-radius:6px;padding:9px;font-size:.86rem}
.search-results button:hover,.search-results button[aria-selected=true],.layer-menu button:hover{background:#eaf2df}
.search-stop-icon{width:18px;height:18px;display:grid;place-items:center;font:650 11px Geist,sans-serif;border-radius:50%;background:#e9efd9;color:#506c41;border:1px solid #adc199;flex:none}
.search-results p{padding:10px;font-size:.87rem;color:var(--muted)}
.map-layers{right:21px;top:19px}
.layer-trigger{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:560;border-radius:10px;padding:0 12px;height:42px}
.layer-menu{position:absolute;right:0;top:48px;width:152px}
.layer-menu button svg:last-child:not(:first-child){margin-left:auto}
.map-actions{right:21px;bottom:53px;display:flex;flex-direction:column;gap:9px;align-items:center}
.control-stack{display:flex;flex-direction:column;border-radius:10px;overflow:hidden}
.control-stack button,.find-me{width:40px;height:39px;display:grid;place-items:center;color:#304835}
.control-stack button+button{border-top:1px solid #dde4d7}
.control-stack button:hover,.find-me:hover,.legend-trigger:hover,.layer-trigger:hover{background:#edf3e6}
.find-me{border-radius:10px;background:#edf6db;color:#3b6437}
.find-me.loading{animation:pulse 1s infinite alternate}
@keyframes pulse{to{opacity:.45}}
.map-bottom-left{left:20px;bottom:19px;display:flex;gap:19px;align-items:flex-end}
.legend-trigger{display:flex;align-items:center;gap:8px;border-radius:8px;padding:7px 10px;font-size:.81rem;font-weight:550}
.legend-icon{display:flex;flex-direction:column;gap:2px;transform:rotate(-13deg)}
.legend-icon i{display:block;background:#2467bb;height:2px;width:13px;border-radius:2px}
.legend-icon i:nth-child(2){background:#dd584b}.legend-icon i:nth-child(3){background:#d7971e}
.legend-panel{position:absolute;left:0;bottom:38px;min-width:149px;padding:11px 13px;font-size:.82rem}
.legend-panel strong{display:block;margin-bottom:5px}
.legend-panel div{display:flex;gap:8px;align-items:center;padding:3px 0;font-family:"Geist Mono",monospace}
.legend-panel i{width:16px;height:4px;border-radius:3px}
.map-scale{font:500 .66rem/15px "Geist Mono",monospace;white-space:nowrap;text-align:center;color:#566453;border:1px solid #677964;border-top:none;height:7px;box-sizing:content-box;padding-bottom:1px;text-shadow:0 1px 2px white;margin-bottom:4px;line-height:0}
.attribution{position:absolute;right:6px;bottom:2px;z-index:1;font-size:.72rem;color:#475847;background:#f8faf0d9;padding:2px 4px;border-radius:3px;line-height:1.1}
.attribution a{text-decoration:none}
.map-notice{display:flex;align-items:center;gap:11px;left:50%;bottom:64px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 132px);padding:10px 12px;border-radius:9px;font-size:.85rem}
.map-notice button{display:grid;place-items:center}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}
.upload-button{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;background:#dcefba;border:1px solid #bed199;border-radius:8px;color:#36502e;font-weight:550;font-size:.85rem}
.photo-grid{display:grid;grid-template-columns:1fr;gap:15px}
.gallery-image{display:block;width:100%;padding:0;border-radius:10px;overflow:hidden}
.gallery-image img{display:block;width:100%;height:150px;object-fit:cover}
.photo-grid figcaption,.photo-privacy,.photo-credit{font-size:.8rem;color:var(--muted);line-height:1.55}
.photo-grid figcaption{margin-top:4px}
.photo-privacy{margin:14px 0}
.empty-photos{display:grid;justify-items:center;gap:9px;border:1px dashed #bfcbb8;border-radius:11px;padding:22px 8px;color:#63745a;font-size:.85rem}
.inline-error{padding:8px 10px;background:#f8e9d9;color:#694529;font-size:.85rem;border-radius:7px;margin-bottom:12px}
.inline-error button{text-decoration:underline}
.modal{border:1px solid #cad4c4;border-radius:16px;background:var(--paper);color:var(--ink);padding:0;width:min(440px,calc(100vw - 30px));max-height:83dvh;box-shadow:0 18px 80px #1624193b}
.modal.wide{width:min(850px,calc(100vw - 30px))}
.modal::backdrop{background:#14271b77;backdrop-filter:blur(3px)}
.modal>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 19px;border-bottom:1px solid var(--fine)}
.modal>header h2{font-size:1.22rem}
.info-content{padding:19px;font-size:.91rem;line-height:1.55}
.info-identity{display:flex;align-items:center;gap:10px;font-size:1.13rem;margin-bottom:15px}
.info-content p+p,.info-content h3,.info-content ul{margin-top:12px}
.info-content ul{margin:7px 0 12px;padding-left:19px}
.full-photo{display:block;width:100%;max-height:59dvh;object-fit:contain;background:#162019}
.photo-credit,.delete-row{padding:12px 18px}
.delete-row,.delete-row button{display:flex;align-items:center;gap:8px}
.delete-row{flex-wrap:wrap;font-size:.87rem}
.delete-row button{border:1px solid #d6ddd1;border-radius:6px;padding:7px}
@media(min-width:1400px){:root{--side:383px}.panel-heading,.route-section,.gallery,.cover-wrap{padding-left:29px;padding-right:29px}.panel-tabs{padding-left:29px}}
@media(max-width:950px) and (min-width:721px){:root{--side:297px}.panel-heading,.route-section,.gallery,.cover-wrap{padding-left:18px;padding-right:18px}.map-search{left:12px;width:min(245px,57%)}.map-layers{right:12px}.layer-trigger{padding:0 9px}.line-row{gap:9px}}
@media(max-width:720px){
  .topbar{height:53px;flex-basis:53px;padding:0 13px;gap:10px}
  .brand{gap:7px}.brand img{width:29px;height:29px;border-radius:7px}.brand span{font-size:1.24rem}
  .city-brand{border:0;padding:0;font-size:.75rem;gap:3px}.city-brand svg{width:12px}
  .primary-nav{gap:1px}.primary-nav button{padding:7px 8px;gap:4px;font-size:.78rem}.primary-nav svg{width:14px}
  .info-button{margin:0;padding:6px;border:0}.info-button span{display:none}
  .workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,56fr) minmax(0,44fr)}
  .workspace.expanded{grid-template-rows:minmax(0,26fr) minmax(0,74fr)}
  .map-stage{grid-column:1;grid-row:1}
  .sidebar{grid-column:1;grid-row:2;border-right:0;border-top:1px solid #bac7b6;position:relative}
  .sheet-toggle{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:22px;min-height:22px;color:#6e7e69}
  .sheet-toggle>span{height:4px;width:34px;border-radius:5px;background:#cdd6c8}
  .sheet-toggle svg{position:absolute;right:17px}
  .panel-heading{padding:1px 18px 12px}.panel-heading h1{font-size:1.85rem;margin-top:3px;letter-spacing:-.045em}
  .category{font-size:.67rem;gap:5px}.station-symbol{width:15px;height:15px;font-size:.64rem}.station-location{font-size:.8rem;margin-top:4px}
  .station-location svg{width:13px;height:13px}
  .cover-wrap{display:none}.panel-tabs{padding:0 15px}.panel-tabs button{min-height:37px;font-size:.84rem}
  .route-section,.gallery{padding:13px 18px 18px}.route-section h2,.gallery-heading h3{font-size:1rem}
  .section-note{margin:3px 0 5px}.line-row{min-height:51px;padding:6px 2px}
  .side-footer{display:none}.map-search{left:11px;top:11px;width:min(255px,calc(100% - 75px))}
  .search-field{height:38px;padding:0 10px;border-radius:9px}.search-field input{font-size:16px}
  .map-layers{right:11px;top:11px}.layer-trigger{height:38px;padding:0 9px;border-radius:9px;gap:4px}
  .layer-trigger span{display:none}.layer-menu{top:42px}.search-results{max-height:min(32vh,210px)}
  .map-actions{right:11px;bottom:25px;gap:7px}.control-stack button,.find-me{width:34px;height:33px}
  .map-bottom-left{left:10px;bottom:14px;gap:13px}.legend-trigger{padding:5px 8px;font-size:.76rem}
  .attribution{font-size:.64rem}.map-notice{bottom:52px;width:calc(100% - 83px);max-width:none;left:11px;transform:none;font-size:.8rem}
  .route-panel .panel-heading,.directory .panel-heading{padding:2px 18px 12px}
  .directory>.line-list{padding:0 18px 15px}.direction-box{margin:0 18px 12px;padding:7px 11px}
  .timeline-heading{margin:0 18px 4px}.timeline{margin-left:12px;margin-right:12px}.timeline button{min-height:39px}
  .photo-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.photo-grid img{height:140px}
  .expanded .control-stack{display:none}.expanded .map-scale{display:none}
}
@media(max-width:370px){.city-brand{display:none}.topbar{gap:6px}.primary-nav button{padding:7px}.legend-trigger{font-size:.71rem}}
@media(max-height:520px) and (min-width:600px){.topbar{height:45px;flex-basis:45px}.workspace,.workspace.expanded{grid-template-columns:260px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.sidebar{grid-column:1;grid-row:1}.map-stage{grid-column:2;grid-row:1}.sheet-toggle,.cover-wrap{display:none}.panel-heading{padding:10px 15px}.panel-heading h1{font-size:1.7rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.service-note{margin:-9px 24px 15px;color:var(--muted);font-size:.83rem;line-height:1.45}.info-content details{margin:12px 0;padding:9px 0;border-top:1px solid var(--fine);border-bottom:1px solid var(--fine)}.info-content summary{cursor:pointer;font-weight:570}.info-content details p{margin-top:8px}
.departure-board{padding:16px 24px 22px}.departure-board header{display:flex;align-items:center;justify-content:space-between}.departure-board header button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--fine);border-radius:8px}.departure-board ul{margin:7px 0 0;padding:0;list-style:none}.departure-board li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--fine);padding:9px 0}.departure-board b,.departure-board small{display:block}.departure-board b{font-size:.92rem;font-weight:560}.departure-board small,.dep-message,.departure-board>a{font-size:.82rem;color:var(--muted)}.departure-board strong{font:650 .97rem "Geist Mono",monospace;white-space:nowrap}.dep-message{margin:10px 0}.gps-flag{cursor:pointer}.panel-tabs button{padding-inline:9px;gap:5px}@media(max-width:720px){.departure-board{padding:6px 18px 16px}.departure-board li{padding:6px 0}}
