@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--forest:#203f34;--forest-2:#2c5043;--forest-soft:#e7eee9;--paper:#f7f4ee;--white:#fff;--ink:#1b2822;--muted:#849089;--line:#e9e9e4;--brown:#81634e;--shadow:0 12px 35px rgba(23,48,38,.08);--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{width:min(100%,520px);min-height:100dvh;margin:auto;background:var(--paper);position:relative;padding-bottom:calc(82px + var(--safe-bottom));overflow:hidden}.topbar{height:70px;padding:12px 22px;display:flex;justify-content:space-between;align-items:center;background:var(--paper)}.brand{display:flex;gap:9px;align-items:center;color:var(--forest);letter-spacing:.09em;font-family:Manrope,sans-serif}.brand-mark{width:37px;height:37px;border-radius:13px;background:var(--forest);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}.brand b,.brand small{display:block}.brand b{font-size:12px}.brand small{font-size:9px;letter-spacing:.2em;margin-top:1px}.icon-button,.close-button{border:1px solid var(--line);background:#fff;border-radius:14px;width:42px;height:42px;color:var(--forest);font-size:20px}.screen{padding:7px 20px 22px}.hero{background:var(--forest);color:#fff;padding:25px 22px 23px;border-radius:26px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-70px;top:-88px;box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 50px rgba(255,255,255,.02)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:#a3b4aa;margin:0 0 8px}.hero h1{font:700 24px/1.2 Manrope,sans-serif;margin:0 0 7px;max-width:290px}.hero p{margin:0;color:#c3d0c8;font-size:12px}.search-box{margin-top:19px;background:#fff;color:var(--ink);height:52px;border-radius:15px;padding:0 14px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 20px rgba(0,0,0,.1)}.search-box span{font-size:18px;color:var(--forest)}.search-box input{border:0;outline:0;flex:1;min-width:0;font-size:13px;background:transparent}.search-box button{border:0;background:transparent;color:var(--forest);font-size:19px}.address-shortcuts{display:flex;gap:9px;margin-top:12px}.address-shortcut{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.09);color:#fff;padding:8px 12px;border-radius:999px;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 2px 12px}.section-head h2{font:700 16px Manrope,sans-serif;margin:0}.text-link{color:var(--forest-2);font-size:12px;font-weight:700}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.quick-card{min-height:108px;border:1px solid var(--line);background:#fff;border-radius:19px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 3px 12px rgba(26,42,33,.025)}.quick-card.primary{background:var(--forest);border-color:var(--forest);color:white}.quick-icon{width:33px;height:33px;border-radius:12px;display:grid;place-items:center;background:var(--forest-soft);color:var(--forest);font-size:17px}.primary .quick-icon{background:rgba(255,255,255,.13);color:white}.quick-card strong{font:700 13px Manrope,sans-serif}.quick-card small{font-size:10px;opacity:.65;margin-top:3px}.card{background:white;border:1px solid var(--line);border-radius:19px;padding:15px;box-shadow:0 3px 12px rgba(26,42,33,.025)}.notice-card{display:flex;align-items:center;gap:12px}.notice-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:var(--forest-soft);color:var(--forest)}.notice-card p{margin:0;font-size:12px;font-weight:600}.notice-card small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:4px}.section-title{margin:20px 2px 10px}.page-heading{padding:8px 1px 16px}.page-heading .eyebrow{color:var(--brown)}.page-heading h1{font:700 24px Manrope,sans-serif;margin:0}.page-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.filters{display:flex;gap:8px;overflow:auto;margin:13px 0 14px;padding-bottom:2px}.filter-chip{white-space:nowrap;border:1px solid var(--line);background:white;color:#68736d;border-radius:999px;padding:9px 13px;font-size:11px}.filter-chip.active{background:var(--forest);color:white;border-color:var(--forest)}.route-list{display:grid;gap:9px}.route-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:18px;padding:12px;background:#fff;color:inherit}.route-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:white;background:var(--forest);font:700 13px Manrope,sans-serif;flex:none}.route-badge.brown{background:var(--brown)}.route-copy{min-width:0;flex:1}.route-copy strong{display:block;font-size:12px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.route-copy small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.route-arrow{color:#9aa39d;font-size:20px}.favorite-toggle{border:0;background:transparent;color:#acb2ad;font-size:21px;padding:6px}.favorite-toggle.on{color:var(--brown)}.map-card{height:min(64vh,510px);min-height:350px;border-radius:25px;overflow:hidden;position:relative;background:#e9e8df;border:1px solid #e0dfd6}.map-view{height:100%;width:100%}.map-note{position:absolute;left:12px;right:12px;bottom:12px;padding:14px 15px;background:rgba(255,255,255,.95);border:1px solid rgba(31,63,51,.08);border-radius:17px;box-shadow:var(--shadow);display:flex;align-items:center;gap:10px;z-index:1}.status-dot{width:9px;height:9px;border-radius:50%;background:#bd7c54;box-shadow:0 0 0 4px #f7ece3}.status-dot.live{background:#459374;box-shadow:0 0 0 4px #e2f0e9}.map-note strong{font-size:11px;display:block}.map-note small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.map-pill{margin-left:auto;background:#f0e8de;color:#785a42;font-size:8px;font-weight:700;letter-spacing:.05em;padding:6px 8px;border-radius:8px}.empty-state{padding:30px 18px;text-align:center}.empty-state .quick-icon{margin:0 auto 12px}.empty-state h3{font:700 15px Manrope,sans-serif;margin:0 0 6px}.empty-state p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.profile-banner{background:var(--forest);color:white;border-radius:20px;padding:18px;display:flex;justify-content:space-between;align-items:center}.profile-banner h2{font:700 15px Manrope;margin:0 0 4px}.profile-banner p{font-size:10px;color:#c7d3cc;margin:0}.profile-banner button,.solid-button{border:0;background:#fff;color:var(--forest);border-radius:11px;padding:10px 12px;font-size:10px;font-weight:700}.settings-list{overflow:hidden;margin-top:10px;padding:0}.settings-row{display:flex;align-items:center;gap:11px;padding:14px;border-bottom:1px solid var(--line);font-size:12px}.settings-row:last-child{border:0}.settings-row .quick-icon{width:31px;height:31px}.settings-row span:last-child{margin-left:auto;color:#a0a9a2;font-size:18px}.route-dialog,.sheet{border:0;border-radius:27px 27px 0 0;position:fixed;inset:auto 0 0;max-width:520px;width:100%;max-height:87dvh;margin:0 auto;padding:18px 20px calc(28px + var(--safe-bottom));background:var(--paper);color:var(--ink);box-shadow:0 -12px 50px rgba(10,25,18,.2);overflow:auto}.route-dialog::backdrop,.sheet::backdrop{background:rgba(13,26,20,.55)}.sheet-handle{width:42px;height:4px;border-radius:99px;background:#d7dad4;margin:0 auto 17px}.close-button{position:absolute;right:17px;top:14px;width:34px;height:34px}.detail-hero{background:var(--forest);color:white;border-radius:0 0 25px 25px;margin:-18px -20px 16px;padding:20px 20px 22px}.detail-head{display:flex;align-items:center;gap:10px}.detail-back,.detail-star{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;border-radius:13px;width:41px;height:41px;font-size:18px}.detail-star{margin-left:auto}.detail-hero h1{font:700 23px Manrope;margin:13px 0 5px}.detail-hero p{margin:0;color:#c6d2cb;font-size:12px}.detail-stats{display:flex;gap:16px;color:#ccd7d0;font-size:10px;margin-top:15px}.route-map-preview{height:155px;background:#eae9e1;border-radius:19px;overflow:hidden;margin-bottom:13px}.route-map-preview .map-view{height:100%}.direction-tabs{display:flex;border-bottom:1px solid var(--line);margin:10px 0 18px}.direction-tabs button{width:50%;border:0;border-bottom:2px solid transparent;background:none;padding:12px;color:#9aa29c;font-size:11px}.direction-tabs button.active{border-color:var(--forest);color:var(--forest);font-weight:700}.stop-timeline{position:relative;padding-left:20px}.stop-timeline:before{content:"";position:absolute;left:6px;top:9px;bottom:12px;width:2px;background:#dbe4dd}.stop-item{position:relative;padding:5px 4px 16px 5px;display:flex;align-items:center;gap:10px}.stop-item:before{content:"";position:absolute;left:-20px;width:9px;height:9px;background:white;border:3px solid var(--forest);border-radius:50%;z-index:1}.stop-item strong{font-size:11px}.stop-item small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.loading-card{padding:25px;text-align:center;color:var(--muted);font-size:12px}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);height:calc(72px + var(--safe-bottom));padding:8px 8px calc(8px + var(--safe-bottom));background:rgba(255,255,255,.97);border-top:1px solid #eee;display:flex;justify-content:space-around;backdrop-filter:blur(14px)}.bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#929a94}.bottom-nav a span{font-size:20px;line-height:22px}.bottom-nav a small{font-size:9px}.bottom-nav a.active{color:var(--forest);font-weight:700}.bottom-nav a.active span{background:var(--forest-soft);border-radius:11px;min-width:34px;text-align:center;padding:4px 8px;font-size:18px}.muted{font-size:12px;line-height:1.5;color:var(--muted)}.trip-step{padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.trip-step b{color:var(--forest)}
@media(min-width:650px){body{padding:20px 0}.app-shell{min-height:calc(100dvh - 40px);border-radius:28px;box-shadow:0 18px 60px rgba(14,37,26,.12);padding-bottom:88px}.bottom-nav{bottom:20px;border-radius:0 0 28px 28px}.route-dialog,.sheet{bottom:20px;border-radius:27px}}
.auth-form{display:grid;gap:13px;margin:18px 0}.auth-form label{font-size:11px;color:#59665e;font-weight:600}.auth-form input,.auth-form select{display:block;width:100%;margin-top:7px;padding:13px 12px;background:white;border:1px solid var(--line);border-radius:13px;outline-color:#799788;color:var(--ink);font-size:13px}.auth-form [hidden]{display:none}
.route-row-wrap{display:flex;align-items:center;gap:5px}.route-row-wrap .route-row{flex:1;min-width:0}
.places-field{width:100%;margin-top:7px}.places-field gmp-place-autocomplete{display:block;width:100%;--gmpx-color-surface:#fff}.gtfs-stop-marker{color:#294b3d;font-size:18px;line-height:20px;text-shadow:0 0 3px #fff,0 0 6px #fff}
