:root{color-scheme:light;--ink:#153d34;--text:#243d36;--muted:#60736c;--green:#176650;--pale:#eff5ed;--line:#dce5dc;--paper:#fff;--warm:#f8faf6;font-family:Inter,Segoe UI,system-ui,sans-serif;color:var(--text);background:var(--warm);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #50896c;outline-offset:3px}[hidden]{display:none!important}.masthead{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1500px)/2));border-bottom:1px solid var(--line);background:white}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:700;letter-spacing:-.3px}.brand small{display:block;font-size:9px;letter-spacing:1.7px;font-weight:600;margin-top:5px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;color:white;background:var(--ink);font-size:16px}.preview-label{font-size:10px;letter-spacing:1.7px;color:#6b7152;border:1px solid #dfe1cb;background:#f6f7e9;padding:8px 11px;border-radius:5px}main{max-width:1560px;margin:auto;padding:28px 30px 16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1{font-size:clamp(23px,2.4vw,36px);font-weight:650;letter-spacing:-1px;margin:8px 0 10px;line-height:1.17;color:var(--ink)}.page-heading p{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}.portal-link{font-size:13px;color:var(--green);text-decoration:none;white-space:nowrap;border-bottom:1px solid #a2bbae;padding-bottom:3px}.map-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(370px,1fr);min-height:650px;height:calc(100vh - 268px);max-height:1050px;border:1px solid #cfdccf;border-radius:15px;background:#fff;box-shadow:0 5px 20px #183b2910;overflow:hidden}.map-section{min-width:0;display:flex;flex-direction:column;background:#f3f6ee}.map-toolbar{display:flex;align-items:center;gap:18px;padding:19px 20px;border-bottom:1px solid var(--line);z-index:700;background:#fff}.search-wrap{flex:1;min-width:0;position:relative}label{display:block;color:#4d635a;font-size:11px;font-weight:600;margin-bottom:7px}.search-box{display:flex;align-items:center;background:#f7f9f3;border:1px solid #d6e0d4;border-radius:7px;padding:0 12px;gap:9px;height:42px}.search-box>span{font-size:24px;color:#68816f}.search-box input{min-width:0;width:100%;border:0;outline:none;background:transparent;color:var(--ink);font-size:13px}.search-box input:focus-visible{outline:none}.search-box input::placeholder{color:#7c8c81}.search-box button{border:0;background:none;font-size:21px;color:#6f8277}.search-results{position:absolute;top:100%;left:0;right:0;margin-top:7px;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 8px 30px #14392b29;max-height:350px;overflow:auto}.search-result{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:white;text-align:left;padding:12px 14px;color:var(--ink);gap:10px}.search-result:hover,.search-result:focus-visible{background:#edf4e8}.search-result small{font-size:10px;color:var(--muted)}.search-empty{padding:14px;font-size:13px;color:var(--muted)}.map-button{white-space:nowrap;border:1px solid #d6e0d4;background:white;border-radius:6px;padding:10px 11px;font-size:12px;color:var(--green);align-self:flex-end;margin-bottom:1px}.map-canvas{flex:1;position:relative;min-height:0}#county-map{height:100%;width:100%;background:radial-gradient(ellipse at 35% 40%,#f7f9f0,#edf2e5);outline:none}.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:9px;background:#ffffffb5!important}.leaflet-control-attribution a{color:#526c59}.leaflet-control-zoom a{color:var(--ink)!important;width:30px!important;height:30px!important;font-size:21px!important}.leaflet-bar{border:1px solid #d4dfd1!important;box-shadow:0 2px 9px #254d2920!important}.area-label{background:none;border:0;box-shadow:none;color:#435a42;font-family:inherit;font-size:11px;font-weight:600;text-align:center;line-height:1.12;text-shadow:0 1px 2px #f8faf1,0 -1px 2px #f8faf1;padding:0;white-space:normal}.area-label::before{display:none}.area-label.selected{color:#fff;text-shadow:0 1px 2px #104b3b;font-weight:700}.area-tooltip{border:0;border-radius:5px;background:#153d34;color:white;padding:7px 10px;font-size:12px;box-shadow:0 4px 12px #183b2920}.area-tooltip::before{border-top-color:#153d34!important}.map-caption{position:absolute;z-index:500;bottom:16px;left:18px;display:flex;align-items:center;gap:8px;font-size:11px;color:#47614b;padding:9px 12px;border:1px solid #d6e1ce;border-radius:6px;background:#ffffffde;pointer-events:none}.selection-dot,.legend-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:var(--green)}.map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;font-size:10px;color:#687e69;background:#fdfefb;border-top:1px solid var(--line)}.legend-dot{width:8px;height:8px;margin-right:4px}.station-card{min-width:0;overflow-y:auto;border-left:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#bccdb9 transparent}.card-heading{padding:24px 24px 17px;background:#fff}.card-heading h2{font-size:30px;letter-spacing:-.7px;margin:6px 0 8px;color:var(--ink);line-height:1.2}.card-heading p{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}.board-filters{padding:16px 24px 18px;background:#f6f9f2;border-top:1px solid #e7eddf;border-bottom:1px solid #e2eada;display:grid;gap:13px}.filter-row{display:grid;grid-template-columns:1fr 1.1fr;gap:12px;min-width:0}.filter-row>div{min-width:0}select,input[type=date]{width:100%;min-width:0;border:1px solid #d5e0d2;border-radius:6px;background:#fff;padding:10px 8px;color:var(--text);font-size:12px;height:39px}select:disabled{color:#819080}#station-board{padding:20px 24px}.board-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.board-title h3{font-size:16px;color:var(--ink);margin:0}.count{font-size:10px;white-space:nowrap;color:#326b4c;background:#eaf2e1;padding:5px 8px;border-radius:4px;font-weight:650}.station-note{font-size:11px;color:var(--muted);margin:0 0 14px;line-height:1.6}.departures{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.departures th{font-size:10px;color:#77877b;text-align:left;font-weight:500;padding:0 0 9px;border-bottom:1px solid #dfe7db}.departures th:first-child{width:52px}.departures th:nth-child(2){width:45px}.departures td{padding:13px 0;vertical-align:top;border-bottom:1px solid #e8ede2}.time{font-size:16px;font-weight:750;letter-spacing:-.3px;color:var(--ink);font-variant-numeric:tabular-nums}.time small{display:block;font-size:9px;color:#768b79;font-weight:400;letter-spacing:0;margin-top:4px}.line-badge{display:inline-block;color:#38624b;background:#eef3e8;border:1px solid #e0e8d8;border-radius:4px;padding:5px;font-size:10px;font-weight:700;margin-top:1px}.journey-from{font-size:10px;color:#7a8a7b;display:block;line-height:1.5}.journey-to{display:block;color:var(--ink);font-size:12px;line-height:1.5;margin:3px 0 5px;font-weight:650}.trip-detail{font-size:10px;background:none;color:#5e8066;border:0;border-bottom:1px solid #ccdac8;padding:0 0 2px;text-align:left}.trip-detail:hover{color:var(--green)}.journey-note{display:block;font-size:10px;line-height:1.5;color:#7d7756;margin:4px 0}.empty-board{padding:20px 0 30px}.empty-board h3{font-size:16px;margin:0 0 9px;color:var(--ink)}.empty-board p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.more-times{margin:16px 0 0;width:100%;padding:10px;border:1px solid #d8e3d1;background:#f5f8ef;border-radius:6px;color:var(--green);font-size:12px}.board-source{font-size:11px;margin:18px 0 3px;color:#74856f;line-height:1.6}.board-source a,.page-footer a,.source-link{color:#4c7357;text-decoration-color:#b0c3aa;text-underline-offset:3px}.page-footer{display:flex;justify-content:space-between;gap:20px;padding:15px 1px 0;font-size:10px;color:#81907d;line-height:1.6}dialog{color:var(--text);width:min(620px,calc(100vw - 30px));max-height:85vh;border:1px solid #cbd9c4;border-radius:14px;padding:24px;box-shadow:0 16px 80px #183a3330}dialog::backdrop{background:#152c2566}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:22px;margin:8px 0;color:var(--ink)}.dialog-heading button{border:0;background:#f1f5eb;border-radius:50%;width:32px;height:32px;color:#72856b;font-size:23px}#route-dialog-subtitle{font-size:12px;color:var(--muted);line-height:1.6;margin:5px 0 18px}.route-stop{display:flex;align-items:center;gap:16px;padding:12px 8px;border-bottom:1px solid var(--line);font-size:13px}.route-stop time{font-size:15px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;min-width:45px}.route-stop.active{background:#eff5e6;border-radius:6px;color:var(--ink);font-weight:600}.source-link{display:inline-block;font-size:12px;margin-top:20px}.county-region:focus{stroke:#126b4e;stroke-width:4px;outline:none}.route-days{font-size:10px;color:#74806f}
@media(min-width:1500px){.map-layout{grid-template-columns:minmax(0,1.9fr) minmax(420px,1fr)}.card-heading,.board-filters{padding-left:28px;padding-right:28px}#station-board{padding-left:28px;padding-right:28px}}
@media(max-width:1000px){main{padding:22px 18px 12px}.map-layout{grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr)}.map-toolbar{padding:16px 12px;gap:10px}.map-button{font-size:10px;padding:11px 8px}.map-footer{gap:9px;padding:12px;font-size:9px}.map-footer>span:last-child{display:none}.card-heading{padding:22px 18px 16px}.board-filters{padding:16px 18px}#station-board{padding:20px 18px}.page-heading p{font-size:13px}.area-label{font-size:10px}}
@media(max-width:740px){.masthead{height:66px;padding:0 16px}.brand{font-size:16px}.brand-icon{width:37px;height:37px;font-size:14px}.brand small{font-size:7px}.preview-label{font-size:8px;padding:6px 7px;letter-spacing:1px}main{padding:19px 12px 12px}.page-heading{margin-bottom:18px;display:block}.page-heading h1{font-size:26px;max-width:390px;letter-spacing:-.6px}.page-heading p{font-size:12px}.portal-link{display:inline-block;margin-top:12px;font-size:11px}.map-layout{height:auto;max-height:none;min-height:0;display:flex;flex-direction:column;border-radius:11px}.map-canvas{height:300px;min-height:0;flex:none}.map-toolbar{padding:14px 12px;gap:8px}.map-toolbar label{font-size:10px}.search-box{padding:0 8px;gap:5px}.search-box input{font-size:12px}.map-footer{font-size:9px;padding:10px 12px}.station-card{border-left:0;border-top:1px solid #cddbc6;overflow:visible}.card-heading{padding:22px 18px 17px}.card-heading h2{font-size:28px}.board-filters{padding:17px 18px}#station-board{padding:20px 18px}.departures th:first-child{width:60px}.departures th:nth-child(2){width:50px}.departures td{padding:14px 0}.departures .journey-to{font-size:13px}.journey-from{font-size:11px}.trip-detail{font-size:11px}.page-footer{display:block;font-size:10px}.page-footer>span{display:block;margin:8px 0}.map-caption{bottom:12px;left:12px;font-size:10px}.search-results{max-height:260px}.area-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.service-tabs{display:flex;gap:5px;padding:0 18px 15px;background:white}.service-tabs button{border:1px solid #d9e3d3;border-radius:6px;padding:8px 9px;background:#f7f9f2;color:#52705d;font-size:11px;line-height:1.25;flex:1}.service-tabs button[aria-pressed="true"]{background:#1b654f;border-color:#1b654f;color:white}.line-badge.local-line{color:#285c86;background:#eaf2f9;border-color:#d5e4f0}

/* Remaining stops in the selected direction, shared by every station card. */
.departures th:first-child{width:58px}.departures th:nth-child(2){width:auto}.departures th:last-child{width:80px;text-align:right}.departures .journey{padding-right:7px;overflow-wrap:anywhere}.departures .journey-to{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.journey-to strong{font:inherit}.journey-to .line-badge{margin:0;padding:2px 5px;font-size:10px;line-height:1.4;white-space:nowrap}.journey-preview{display:block;font-size:10px;line-height:1.5;color:#6b806f;margin-top:5px;overflow-wrap:anywhere}.route-cell{text-align:right}.route-toggle{border:1px solid #d1dec9;border-radius:6px;background:#f1f6ec;color:#32664d;padding:8px 7px;line-height:1.2;font-size:10px;font-weight:650;white-space:nowrap;min-height:34px}.route-toggle:hover{background:#e5efdd}.route-toggle[aria-expanded=true]{background:#245e49;border-color:#245e49;color:#fff}.remaining-count{display:block;color:#778a78;font-size:9px;line-height:1.4;margin:5px 0 0}.remaining-route-row[hidden]{display:none}.departures .remaining-route-row>td{padding:0 0 13px;border-bottom:1px solid #e0e7da}.remaining-route-box{padding:12px;background:#f5f8ef;border:1px solid #dce5d3;border-radius:7px;font-size:11px;line-height:1.6}.remaining-route-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px;color:var(--ink)}.remaining-route-count{font-size:9px;font-weight:400;white-space:nowrap;color:#75866c}.remaining-stops{list-style:none;margin:0;padding:0}.remaining-stops li{display:flex;align-items:baseline;gap:10px;position:relative;padding:6px 8px 6px 19px;margin:0;overflow-wrap:anywhere}.remaining-stops li:before{content:'';position:absolute;left:5px;top:13px;width:5px;height:5px;border-radius:50%;background:#9bad94}.remaining-stops li:not(:last-child):after{content:'';position:absolute;left:7px;top:20px;bottom:-7px;width:1px;background:#d2dec9}.stop-clock{font-size:11px;color:#42674d;font-weight:650;min-width:34px;flex-shrink:0;font-variant-numeric:tabular-nums}.stop-name{min-width:0;line-height:1.65}.stop-status{font-size:9px;display:inline-block;margin-left:6px;color:#6d856a;font-weight:400}.stop-day{display:block;font-size:9px;color:#786e43}.remaining-stops .current-stop{color:#20543d;background:#edf4e7;border-radius:5px}.remaining-stops .current-stop:before{background:#236244}.remaining-stops .final-stop{background:#e8f0e1;color:#24513b;border-radius:5px;margin-top:5px}.remaining-source{font-size:10px;color:#4d7454;text-underline-offset:3px;display:inline-block;margin-top:10px}.route-explanation{font-size:10px;color:#708269;margin:10px 0 0}.remaining-route-box>p{overflow-wrap:anywhere}
@media(max-width:740px){.departures th:first-child{width:56px}.departures th:nth-child(2){width:auto}.departures th:last-child{width:76px}.departures .journey-to{font-size:12px}.remaining-route-box{padding:11px 9px}.remaining-route-heading{gap:7px}.route-toggle{font-size:10px;min-height:38px}.remaining-stops li{gap:8px}.stop-clock{min-width:33px}}
@media(pointer:coarse){.route-toggle{min-height:44px}}
.remaining-route-box{font-size:12px}.stop-clock{font-size:12px}.remaining-route-count{font-size:10px}

/* Full page and embeddable county map. The source remains visible in both. */
.map-page-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;flex-shrink:0}.county-embed-trigger{font-size:12px;font-weight:650;color:#1c5945;background:#edf5ef;border:1px solid #b9d3c5;border-radius:6px;padding:11px 13px;white-space:nowrap}.county-embed-trigger:hover{background:#e1eee5}.county-map-source{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 4px 0;font-size:11px;line-height:1.5;color:#647b6a}.county-source-link{color:#476b54;text-decoration:none}.county-source-link strong{font-weight:650}.county-source-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.county-source-actions a{color:#416e51;text-decoration:none}.county-source-actions button{border:0;background:transparent;padding:3px 0;color:#416e51;font-size:11px;text-underline-offset:3px}.county-source-actions button:hover{text-decoration:underline}.county-full-link{display:none}
html.embed-mode,.embed-mode body{height:100%;margin:0}.embed-mode body{overflow:hidden;background:white}.embed-mode .masthead,.embed-mode .page-heading,.embed-mode .page-footer{display:none}.embed-mode main{max-width:none;width:100%;height:100dvh;margin:0;padding:0;display:flex;flex-direction:column}.embed-mode .map-layout{flex:1;height:auto;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}.embed-mode .station-card{min-height:0}.embed-mode .county-map-source{flex-shrink:0;min-height:42px;padding:8px 14px;border-top:1px solid #dce5dc;background:#fff;flex-wrap:nowrap;font-size:10px}.embed-mode .county-source-actions{gap:14px;flex-wrap:nowrap}.embed-mode .county-source-actions button{font-size:10px}.embed-mode .county-full-link{display:inline}.embed-mode .map-footer{padding-top:8px;padding-bottom:8px}
@media(max-width:740px){.map-page-actions{justify-content:flex-start;margin-top:12px;gap:14px}.map-page-actions .portal-link{margin-top:0}.county-map-source{font-size:10px;gap:8px}.county-source-actions{gap:12px}.county-source-actions button{font-size:10px}.embed-mode body{height:auto;overflow:auto}.embed-mode main{height:auto;min-height:100dvh;padding-bottom:48px}.embed-mode .map-layout{flex:none;overflow:visible;display:flex;flex-direction:column}.embed-mode .map-canvas{height:260px}.embed-mode .station-card{overflow:visible}.embed-mode .county-map-source{position:fixed;bottom:0;left:0;right:0;z-index:1100;min-height:44px;padding:7px 10px;gap:7px;font-size:9px;box-shadow:0 -1px 8px #163b2520}.embed-mode .county-source-link{max-width:46%;line-height:1.4}.embed-mode .county-source-actions{gap:10px;font-size:9px}.embed-mode .county-source-actions button{font-size:9px}.embed-mode .map-footer>span:nth-child(2){display:none}}
