@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#272b25;--muted:#73756b;--paper:#f7f7f0;--lime:#e8f284;--line:#e3e4d9;--lavender:#e9e6f7;--green:#527640;--amber:#856125}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',sans-serif;font-size:15px}button,input,select{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #6d73b7;outline-offset:3px}button{border:0;background:transparent}button,select,input{min-height:44px}h1,h2,h3,.brand{font-family:Manrope,sans-serif}button,select{font-weight:650}.site-header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 30px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-weight:800;letter-spacing:-1.3px;font-size:25px;display:flex;align-items:center}.brand-icon{display:grid;place-items:center;background:var(--lime);height:36px;width:36px;border-radius:11px;margin-right:10px;font-size:29px}.brand-dot{color:#879539}.local-tag{font-size:11px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:9px}.local-tag>span{width:6px;height:6px;background:#788b4f;border-radius:100%}.icon-button{font-size:24px}main{max-width:1140px;margin:auto;padding:0 30px}.hero{display:flex;justify-content:space-between;align-items:center;padding:45px 35px 37px 10px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px}.hero h1{font-size:64px;line-height:1.06;letter-spacing:-3.5px;margin:17px 0 23px;position:relative;width:450px;font-weight:800}.hero h1 span{display:inline-block;position:relative;z-index:1}.swoop{position:absolute;width:115px;height:20px;bottom:-13px;left:282px;color:#a8bc48}.hero p{color:#676b60;line-height:1.7;margin:0;font-size:15px}.hero-art{position:relative;width:330px;height:235px;background:var(--lime);border-radius:50%;transform:rotate(-4deg);margin-right:50px}.hero-art svg{width:290px;position:absolute;top:19px;left:18px}.art-star{position:absolute;font-size:57px;top:-27px;right:9px;color:#6367a3}.art-label{position:absolute;background:var(--lavender);padding:9px 14px;bottom:4px;left:0;font-size:12px;font-weight:650;transform:rotate(-5deg);z-index:1;border-radius:5px}.art-arrow{position:absolute;right:-23px;bottom:1px;font-size:80px;transform:rotate(15deg)}.planner{background:white;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 5px 0 #eceee0}.direction-tabs{display:flex;background:#f1f2e9;border-radius:11px;padding:4px;width:300px;gap:4px}.direction-tabs button{flex:1;border-radius:8px;color:#74776b}.direction-tabs button.active{background:var(--ink);color:white;box-shadow:0 2px 5px #0001}.controls{display:grid;grid-template-columns:1.5fr 1fr 190px;gap:15px;margin-top:20px}.controls>label{border:1px solid var(--line);border-radius:10px;padding:12px 15px 7px;display:flex;flex-direction:column;gap:0}.controls label>span{font-size:9px;font-weight:750;letter-spacing:1.3px;color:var(--muted)}select{border:0;background:transparent;max-width:100%;cursor:pointer;outline-offset:2px}.controls select,.when-control button{font-size:15px;width:100%;text-align:left;padding:0;min-height:33px}.when-control button{display:flex;justify-content:space-between;align-items:center}.primary{background:var(--lime);border-radius:11px;font-size:16px;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.primary:hover{background:#dfe97b}.primary span{font-size:24px}.planner-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:11px;color:var(--muted);gap:12px}.small-pin{font-size:16px;margin-right:5px}.planner-foot button{font-size:11px;color:#515a3b;white-space:nowrap}.time-panel{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding-top:16px}.time-panel[hidden]{display:none}.time-panel label{display:flex;flex-direction:column;gap:5px;font-size:11px}.time-panel input{background:var(--paper);border:1px solid var(--line);padding:8px;border-radius:8px}.time-panel>span{font-size:11px;align-self:center;color:var(--muted)}.time-panel button{background:var(--lavender);border-radius:8px;padding:0 12px}.location-status{font-size:12px;color:var(--green)}.workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:36px;margin:41px 0}.section-heading>.eyebrow{color:#8c907f;font-size:9px}.heading-line{display:flex;justify-content:space-between;align-items:center}.section-heading h2{font-size:26px;letter-spacing:-1px;margin:8px 0}.section-heading p{color:var(--muted);font-size:12px;margin:0 0 18px}.refresh{font-size:28px}.filters{display:flex;gap:6px;overflow:auto;padding-bottom:5px}.filters button{font-size:11px;white-space:nowrap;padding:0 13px;border:1px solid var(--line);border-radius:25px;min-height:35px}.filters button.active{background:var(--ink);color:white;border-color:var(--ink)}.sort-line{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:6px;margin:10px 0 5px}.sort-line select{font-size:10px;min-height:32px}.status-banner{padding:12px 14px;background:#efeee5;border-radius:10px;font-size:11px;line-height:1.6;margin-bottom:15px;color:#65634f}.status-banner strong{font-weight:700}.status-banner.warning{background:#fff0d8;color:#775420}.bus-card{border:1px solid var(--line);border-radius:15px;background:white;margin-bottom:12px;overflow:hidden}.card-topline{padding:10px 17px;background:#f2f5e4;font-size:10px;font-weight:650;display:flex;align-items:center;justify-content:space-between}.card-body{padding:17px}.route-line{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.route-badge{display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:var(--ink);background:var(--lavender);min-width:45px;height:30px;border-radius:6px}.route-badge.wcc{background:#f9dfce}.live-status{margin-left:auto;font-size:10px;font-weight:650;color:#73776c}.live-status.live{color:var(--green)}.live-status.cancelled,.live-status.skipped{color:#a04040}.journey-line{display:grid;grid-template-columns:1fr 40px 1fr;margin:20px 0 12px;align-items:start}.departure-time,.arrival-time{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1.1px;font-weight:800}.arrival-time{font-weight:600}.journey-arrow{align-self:start;padding-top:8px;font-size:23px;color:#9fa68d}.stop-name{font-size:13px;font-weight:650;margin-top:5px}.stop-code{font-size:10px;color:var(--muted);margin-top:5px}.time-description{font-size:10px;color:var(--muted);margin-top:4px}.bus-card.cancelled .departure-time{text-decoration:line-through}.card-note{font-size:11px;line-height:1.6;background:#f7f7f2;padding:8px 10px;border-radius:7px;color:#717466}.card-note.warning{background:#fff1dc;color:#82602a}.card-bottom{border-top:1px solid #f0f0e8;display:flex;justify-content:space-between;align-items:center;margin-top:13px;padding-top:7px}.card-bottom>span{font-size:10px;color:var(--muted)}.card-bottom button{font-size:11px;min-height:35px}.card-bottom button:hover{text-decoration:underline}.empty{padding:26px;border:1px dashed #cdd0bd;border-radius:14px;text-align:center;margin:12px 0}.empty strong{font-size:16px}.empty p{font-size:12px;line-height:1.7;color:var(--muted)}.empty button{font-size:12px;background:var(--lime);border-radius:8px;padding:0 14px}.conflict-section{margin:20px 0;font-size:12px}.conflict-section summary{cursor:pointer;padding:16px;background:#f5e9d5;border:1px solid #e8d9be;border-radius:10px;line-height:1.6;font-weight:600}.conflict-section>p{line-height:1.7;font-size:11px;color:#846842}.conflict-section[open] summary{margin-bottom:14px}.new-road-note{display:flex;gap:14px;border-top:1px solid var(--line);padding:21px 4px}.new-road-note>span{font-size:32px;color:#919781}.new-road-note strong{font-size:12px}.new-road-note p{font-size:11px;line-height:1.7;color:var(--muted);margin:5px 0}.map-panel{align-self:start;position:sticky;top:18px;margin-top:6px}.map-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 18px}.map-header .eyebrow{font-size:8px;color:#898f7b;letter-spacing:1.2px}.map-header h2{font-size:20px;letter-spacing:-.6px;margin:9px 0 0}.map-header button{font-size:24px}#map{height:350px;border-radius:16px;background:#e7ebda;border:1px solid #dce2ce;z-index:0}.map-legend{display:flex;gap:20px;font-size:10px;padding:14px 2px 10px}.map-legend span{display:flex;align-items:center;gap:6px}.map-legend i{width:8px;height:8px;border-radius:50%}.home-dot{background:#71924b}.cork-dot{background:#8584bc}.you-dot{background:#3484db}.map-caption{font-size:10px;color:var(--muted);line-height:1.6;padding:0 2px 15px}.stop-guide{display:flex;gap:15px;background:#eeeee4;border-radius:13px;padding:20px;margin-top:7px}.guide-icon{font-size:34px;color:#85965c;line-height:1}.stop-guide strong,.trust-card strong{font-size:12px}.stop-guide p,.trust-card p{font-size:11px;line-height:1.7;color:var(--muted);margin:6px 0 0}.trust-card{display:flex;gap:13px;padding:24px 6px}.trust-icon{border:1px solid #b2bba1;border-radius:50%;height:23px;min-width:23px;text-align:center;color:#789053;padding-top:2px}.trust-card button{font-size:10px;padding:0;text-decoration:underline;color:#6c745b}footer{border-top:1px solid var(--line);padding:25px 0 35px;display:flex;align-items:center;gap:25px}footer .brand{font-size:18px}footer p{font-size:10px;color:var(--muted)}footer button{margin-left:auto;font-size:10px;color:var(--muted)}dialog{width:min(570px,calc(100% - 28px));border:1px solid var(--line);border-radius:20px;padding:25px;color:var(--ink);background:var(--paper);max-height:85dvh}dialog::backdrop{background:#252b2466;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:23px;letter-spacing:-.8px;margin:0}.dialog-heading button{font-size:18px;min-width:44px}.dialog-content,p{overflow-wrap:break-word}#dialog-content p,#dialog-content li{font-size:13px;line-height:1.8}#dialog-content h3{font-size:15px;margin:24px 0 6px}.stop-list{list-style:none;margin:20px 0;padding:0}.stop-list li{border-left:2px solid #c8d39a;margin-left:8px;padding:5px 0 15px 21px;position:relative}.stop-list li:before{content:'';position:absolute;width:9px;height:9px;left:-6px;top:12px;border-radius:50%;background:#7e9154;border:1px solid white}.stop-list small{display:block;color:var(--muted)}.dialog-link{display:inline-flex;align-items:center;border-radius:8px;background:var(--lime);padding:10px 14px;font-size:12px;text-decoration:none;margin:4px 6px 4px 0}.leaflet-container{font-family:'DM Sans',sans-serif}.leaflet-popup-content{line-height:1.7}.leaflet-popup-content a{color:#4d6937}.map-error{padding:30px;line-height:1.8;font-size:13px}.source-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.source-row code{font-size:10px;overflow-wrap:anywhere} .offline{background:#fff0d8}
@media(min-width:1400px){.hero{padding-top:50px}.hero h1{font-size:72px}.swoop{left:320px}.hero-art{width:360px;height:250px}.hero-art svg{width:310px}}
@media(max-width:900px){.workspace{gap:22px;grid-template-columns:1.2fr 1fr}.hero-art{margin-right:10px;width:260px;height:210px}.hero-art svg{width:250px;left:0}.hero h1{font-size:55px;width:350px}.swoop{left:240px;width:105px}.controls{grid-template-columns:1.3fr 1fr 150px}.primary{font-size:14px}.filters button{padding:0 10px}#map{height:315px}.map-header .eyebrow{max-width:200px;line-height:1.6}}
@media(max-width:700px){.site-header{padding:18px 20px}.brand{font-size:22px}.brand-icon{height:31px;width:31px;font-size:25px}.local-tag{font-size:8px;letter-spacing:1px}.icon-button{display:none}main{padding:0 18px}.hero{padding:29px 0 30px;position:relative;overflow:hidden}.hero .eyebrow{font-size:8px;letter-spacing:1.6px}.hero h1{font-size:48px;letter-spacing:-2.5px;line-height:1.1;width:auto;margin:15px 0 21px}.swoop{left:207px;width:85px;bottom:-13px}.hero p{font-size:12px;line-height:1.7}.hero-art{position:absolute;right:-65px;top:80px;width:210px;height:160px;opacity:.95;z-index:-1}.hero-art svg{width:190px;left:4px;top:12px}.art-label{font-size:8px;padding:6px 8px;left:10px;bottom:-4px}.art-star{font-size:38px;right:30px;top:-15px}.art-arrow{display:none}.hero>div:first-child{z-index:1}.hero-art{z-index:0}.hero h1,.hero p{position:relative;z-index:2}.planner{padding:14px;border-radius:16px}.direction-tabs{width:100%}.direction-tabs button{font-size:13px;min-height:41px}.controls{grid-template-columns:1.4fr 1fr;gap:10px;margin-top:14px}.controls>label{padding:10px 11px 5px}.controls select,.when-control button{font-size:12px;min-height:34px}.controls label>span{font-size:8px}.primary{grid-column:1/-1;min-height:48px;font-size:14px;padding:0 16px}.planner-foot{align-items:flex-start;gap:4px;margin-top:9px}.planner-foot>span{font-size:9px;line-height:1.7;max-width:210px}.planner-foot button{font-size:9px;min-height:33px}.small-pin{font-size:13px;margin-right:2px}.workspace{display:flex;flex-direction:column;gap:22px;margin:30px 0}.section-heading h2{font-size:24px}.section-heading p{font-size:11px}.filters button{font-size:10px;min-height:36px;padding:0 12px}.sort-line{font-size:9px}.sort-line select{font-size:9px}.card-body{padding:16px}.departure-time,.arrival-time{font-size:30px}.stop-name{font-size:13px}.card-topline{font-size:9px}.route-line{font-size:10px}.live-status{font-size:9px}.map-panel{position:static;width:100%;margin:0}.map-header .eyebrow{max-width:none}#map{height:330px}.stop-guide{padding:17px}.trust-card{padding:23px 5px 5px}footer{gap:14px;flex-wrap:wrap;padding:22px 0}footer p{font-size:9px;order:3;width:100%;margin:0}footer .brand{font-size:18px}.time-panel input{max-width:150px}.time-panel>span{width:100%;font-size:10px}.time-panel button{font-size:11px}.new-road-note{padding-bottom:0}.map-header h2{font-size:22px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}.primary:active{transform:scale(.98)}.bus-card{animation:appear .3s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
.stop-picker{display:flex;align-items:center;gap:12px;margin-top:12px;padding:0 2px;font-size:11px;color:var(--muted)}.stop-picker select{font-size:11px;min-width:0;flex:1;min-height:35px;color:#515b3c}.stop-picker label{white-space:nowrap}
@media(max-width:700px){.stop-picker,.stop-picker select{font-size:10px}}
.more-button{width:100%;background:#eaece0;border-radius:10px;font-size:12px;margin:2px 0 8px;min-height:45px}
@media(max-width:700px){.hero-art{display:none}.swoop{display:none}.hero h1 span{box-shadow:inset 0 -7px var(--lime)}.hero{padding-top:25px;padding-bottom:27px}.hero h1{font-size:45px;margin-top:14px}}
.college-dot{background:#d38967}
.service-alert{background:#fff1dc;border-radius:8px;padding:10px;margin-top:9px;font-size:11px;line-height:1.6}.service-alert summary{cursor:pointer;font-weight:650}.service-alert p{margin:8px 0}.service-alert small{color:#82602a}

@media(max-width:700px){.site-header{flex-wrap:wrap;gap:8px}.site-header .brand{font-size:22px;letter-spacing:-1px}.site-header .local-tag{margin-left:41px;width:100%}}

/* One full-width view at a time, including intermediate tablet widths. */
.workspace{display:block}.workspace>[hidden]{display:none}.map-panel{position:static;width:100%;margin:0}#map{height:60vh;height:60dvh;min-height:320px;max-height:650px}

#back-to-buses{font-size:13px;white-space:nowrap;padding:8px 12px;border-radius:9px;background:var(--lime)}
