:root{color-scheme:light;--ink:#1b3c50;--muted:#617d8d;--line:#dce8ed;--teal:#216c7a;--blue:#236984;--red:#d43b50;--return:#467ba7;--surface:#fff;--background:#f3f8f9}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--background);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
button,input,select{font:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #62b6c5;outline-offset:2px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(20px,5vw,72px);background:#fff;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:16px;font-weight:750;letter-spacing:-.3px}
.brand:hover{text-decoration:none}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#1f6176;color:#fff;font-size:22px;box-shadow:0 5px 13px #1f61762e}
.brand small{display:block;color:#8799a5;font-size:10px;font-weight:500;letter-spacing:0}
.site-header nav{display:flex;gap:22px;align-items:center;font-size:12px;font-weight:650}
.site-header nav a[aria-current=page]{color:var(--teal)}
main{width:min(1200px,calc(100% - 40px));margin:auto}
.breadcrumbs{display:flex;gap:9px;align-items:center;margin:22px 0;color:#7c929f;font-size:11px}
.hero{padding:54px 20px 56px;text-align:center;background:radial-gradient(circle at 50% 0,#d9f0f1 0,transparent 48%),linear-gradient(180deg,#f8fcfd,#f3f8f9);border-radius:25px}
.hero-copy{max-width:790px;margin:auto}
.eyebrow{color:#3d8290;font-size:10px;font-weight:800;letter-spacing:2px}
h1,h2,h3,p{margin-top:0}
h1{margin:10px 0 13px;font-size:clamp(30px,5vw,52px);line-height:1.13;letter-spacing:-1.8px}
.hero-copy p{max-width:700px;margin:0 auto 30px;color:#5c7585;font-size:15px;line-height:1.75}
.search-card{position:relative;z-index:3;width:min(690px,100%);margin:auto;padding:22px;background:#fff;border:1px solid #cfe3e8;border-radius:18px;box-shadow:0 16px 45px #23506218;text-align:left}
.search-card>label{display:block;margin-bottom:9px;font-size:12px;font-weight:750;color:#3b5f70}
.search-field{display:flex;align-items:center;gap:11px;padding:0 15px;border:1.5px solid #82b8c6;border-radius:11px;background:#fcfefe;box-shadow:0 0 0 4px #8fcdd21f}
.search-field:focus-within{border-color:#2d8393;box-shadow:0 0 0 4px #70b9c43a}
.search-field svg{width:20px;height:20px;fill:none;stroke:#3e8190;stroke-width:1.8;flex:none}
.search-field input{width:100%;height:49px;min-width:0;border:0;outline:0;background:transparent;color:#254b5d;font-size:14px}
.search-field input::placeholder{color:#9aaeb8}
.search-field kbd{display:grid;place-items:center;width:22px;height:22px;border:1px solid #e0e9ed;border-radius:5px;color:#9cb0b8;font-size:12px}
.select-row{display:flex;align-items:center;gap:16px;margin-top:17px}
.select-row label{min-width:180px;color:#718996;font-size:11px;font-weight:650}
.select-row select,.route-detail select{width:100%;min-width:0;padding:10px 12px;border:1px solid #d6e3e8;border-radius:9px;background:#f8fbfc;color:#31576a;font-size:12px}
.search-status{margin:12px 0 0;color:#8499a4;font-size:11px}
.search-results{position:absolute;top:83px;left:22px;right:22px;max-height:300px;overflow:auto;border:1px solid #cfe0e7;border-radius:11px;background:#fff;box-shadow:0 15px 30px #203e532a;scrollbar-width:thin}
.search-results[hidden]{display:none}
.search-results button{display:block;width:100%;padding:12px 15px;border:0;border-bottom:1px solid #ebf1f3;background:#fff;color:#24495c;text-align:left;cursor:pointer;font-size:12px}
.search-results button:last-child{border-bottom:0}
.search-results button:hover,.search-results button[aria-selected=true]{background:#eaf5f7}
.search-results small{display:block;margin-top:3px;color:#78909c;font-size:10px}
.route-view{margin:28px 0 0;scroll-margin-top:18px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0 0 16px}
.section-heading h2{margin:6px 0 0;font-size:23px;letter-spacing:-.5px}
.route-badge{padding:7px 12px;border:1px solid #d0e4e8;border-radius:20px;background:#fff;color:#437785;font-size:11px;font-weight:750;white-space:nowrap}
.route-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:16px;align-items:stretch}
.map-card,.route-detail{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 6px 22px #31556b0b}
.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:49px;padding:11px 16px;border-bottom:1px solid var(--line);font-size:12px}
.map-key{display:flex;align-items:center;gap:5px;color:#718996;font-size:10px}
.map-key i{width:12px;height:3px;margin-left:8px;background:var(--red);border-radius:2px}
.map-key i:last-of-type{background:var(--return)}
#bus-map{height:430px;background:#eaf1f2}
.map-status{min-height:38px;margin:0;padding:10px 16px;color:#708996;font-size:11px}
.bus-map-start,.bus-map-end{display:grid;place-items:center;width:25px;height:25px;border:2px solid #fff;border-radius:50%;background:var(--red);color:#fff;font-size:11px;font-weight:800;box-shadow:0 2px 10px #23485d55}
.bus-map-end{background:var(--return)}
.route-detail{padding:21px;min-height:518px}
.detail-top h3{margin:8px 0 7px;font-size:20px;line-height:1.25;letter-spacing:-.4px;overflow-wrap:anywhere}
.detail-top p{color:#718996;font-size:11px}
.route-detail>label{display:block;margin:22px 0 7px;font-size:11px;font-weight:750;color:#486d80}
.direction-details{margin-top:19px;font-size:12px}
.direction-details h4{margin:0 0 8px;color:#365e70;font-size:12px}
.direction-details p{color:#647c8b}
.direction-details .pending{padding:10px 12px;border:1px solid #dce7ec;border-radius:9px;background:#f6f9fa;color:#708592}
.direction-block{padding:15px 0;border-top:1px solid #e6eef1}
.direction-block:first-child{border-top:0;padding-top:0}
.direction-note{margin:0 0 12px;color:#77909b;font-size:11px}
.detail-group{margin:11px 0}
.detail-group strong{display:block;margin-bottom:5px;color:#3d697b;font-size:11px}
.time-list{max-height:135px;overflow:auto;padding:10px 12px;border-radius:8px;background:#f0f7f8;font-variant-numeric:tabular-nums;line-height:1.75}
.street-list{max-height:165px;overflow:auto;line-height:1.7}
.official-source{display:inline-flex;margin-top:14px;font-size:11px;font-weight:750}
.bus-terminal{border:0;background:transparent}
.bus-terminal-dot{display:grid;place-items:center;width:25px;height:25px;border:2px solid #fff;border-radius:50%;color:#fff;font-size:11px;font-weight:800;box-shadow:0 3px 10px #23485d55}
.bus-route-flow{animation:route-flow 4s linear infinite}
@keyframes route-flow{to{stroke-dashoffset:-40}}
.direction-heading{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#355d6e;font-size:12px;font-weight:750}
.direction-heading i{width:8px;height:8px;border-radius:50%;background:var(--red)}
.direction-block.return .direction-heading i{background:var(--return)}
.times{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.times span{padding:5px 7px;border-radius:6px;background:#edf5f7;color:#376278;font-size:11px;font-variant-numeric:tabular-nums}
.direction-details details{margin:10px 0;border-top:1px solid #edf2f4;padding-top:10px}
.direction-details summary{cursor:pointer;color:#397487;font-weight:650}
.direction-details ol{margin:10px 0;padding-left:21px;color:#617b89;max-height:180px;overflow:auto}
.direction-details li{margin:4px 0}
.official-link{display:inline-flex;align-items:center;gap:4px;margin-top:13px;font-size:11px;font-weight:700}
.help-section,.faq-section{padding:62px 0 8px}
.help-section h2,.faq-section h2{max-width:720px;margin:8px 0 23px;font-size:clamp(22px,3vw,30px);letter-spacing:-.7px}
.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.help-grid article{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}
.help-grid article span{color:#7ab5bd;font-size:11px;font-weight:800}
.help-grid h3{margin:12px 0 8px;font-size:15px}
.help-grid p{margin:0;color:#6c8492;font-size:12px;line-height:1.7}
.popular-routes{padding:42px 0 0}
.popular-routes h2{margin:8px 0 18px;font-size:clamp(22px,3vw,30px);letter-spacing:-.7px}
.popular-links{display:flex;flex-wrap:wrap;gap:9px}
.popular-links a{display:inline-flex;padding:10px 13px;border:1px solid #d7e7eb;border-radius:9px;background:#fff;color:#366a7c;font-size:11px;font-weight:650}
.popular-links a:hover{border-color:#93c5cf;background:#edf7f8;text-decoration:none}
.faq-section{padding-bottom:65px}
.faq-section details{border-top:1px solid #d7e4e9;padding:14px 2px}
.faq-section details:last-child{border-bottom:1px solid #d7e4e9}
.faq-section summary{cursor:pointer;font-size:13px;font-weight:700}
.faq-section p{max-width:850px;margin:12px 0 0;color:#667f8d;font-size:12px}
footer{display:flex;justify-content:space-between;gap:15px;padding:20px clamp(20px,5vw,72px);border-top:1px solid var(--line);background:#fff;color:#8498a3;font-size:11px}
@media(max-width:850px){.route-layout{grid-template-columns:1fr}.route-detail{min-height:0}.help-grid{grid-template-columns:1fr}}
@media(max-width:580px){main{width:min(100% - 24px,1200px)}.site-header{padding:12px}.site-header nav{gap:10px;font-size:10px}.site-header nav a:first-child{display:none}.brand{font-size:13px}.brand-mark{width:34px;height:34px}.hero{padding:37px 12px 25px;border-radius:17px}.hero-copy p{font-size:13px}.search-card{padding:15px;border-radius:13px}.search-results{top:76px;left:15px;right:15px}.select-row{display:block}.select-row label{display:block;margin-bottom:7px}.section-heading h2{font-size:19px}.route-badge{font-size:9px}.map-toolbar{font-size:11px}#bus-map{height:360px}.route-detail{padding:17px}.help-section,.faq-section{padding-top:42px}footer{padding:18px 13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bus-route-flow{animation:none}}
