:root{--paper:#f7f3ea;--ink:#14231c;--muted:#66736b;--line:rgba(20,35,28,.14);--accent:#174f3a;--accent2:#c99449;--glass:rgba(250,247,239,.94);--shadow:0 18px 55px rgba(17,30,24,.18);--dock-h:58px}*{box-sizing:border-box}html,body,#intentApp,#map{width:100%;height:100%;margin:0}html,body{overflow:hidden;background:#e8e4da;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}.skip{position:fixed;left:12px;top:-80px;z-index:1000;background:#fff;color:#000;padding:10px 14px;border-radius:8px}.skip:focus{top:12px}.maplibregl-ctrl-attrib{font-size:10px!important}.map-head{position:fixed;z-index:20;left:28px;right:28px;top:22px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand,.command{pointer-events:auto}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);background:var(--glass);border:1px solid var(--line);box-shadow:0 8px 28px rgba(20,35,28,.10);backdrop-filter:blur(18px);height:46px;padding:0 15px;border-radius:15px}.brand b{font-size:17px;letter-spacing:.05em}.brand span{font-size:13px;font-weight:700}.command{position:absolute;left:50%;transform:translateX(-50%);width:min(520px,calc(100vw - 300px));height:48px;border:1px solid var(--line);background:var(--glass);box-shadow:0 9px 30px rgba(20,35,28,.12);backdrop-filter:blur(18px);border-radius:16px;color:var(--muted);display:flex;align-items:center;gap:11px;padding:0 17px;text-align:left;cursor:pointer}.command:hover{border-color:rgba(23,79,58,.35);color:var(--ink)}.command-icon{font-size:23px;color:var(--accent)}.command-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-pill{position:fixed;z-index:16;right:24px;top:82px;background:rgba(23,79,58,.91);color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 24px rgba(20,35,28,.15);pointer-events:none}.dock{position:fixed;z-index:30;left:50%;bottom:34px;transform:translateX(-50%);width:min(520px,calc(100vw - 96px));height:56px;padding:4px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;background:rgba(250,247,239,.96);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);backdrop-filter:blur(22px)}.dock button{min-width:0;min-height:48px;border:0;background:transparent;border-radius:15px;color:#5c6a62;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer}.dock button>span{height:22px;font-size:18px;line-height:20px;font-weight:700}.dock button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:760}.dock button.is-active{background:#e5eee8;color:var(--accent)}.sheet{position:fixed;z-index:25;left:50%;bottom:106px;transform:translateX(-50%);width:min(560px,calc(100vw - 48px));max-height:min(68vh,650px);overflow:hidden;background:rgba(250,247,239,.985);border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow);backdrop-filter:blur(24px)}.sheet[hidden]{display:none}.sheet-grip{width:40px;height:4px;border-radius:9px;background:#c4c9c4;margin:10px auto 2px}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 11px;border-bottom:1px solid var(--line)}.sheet-head small{color:var(--accent);font-weight:850;font-size:10px;letter-spacing:.12em}.sheet-head h1{font-size:22px;line-height:1.15;margin:3px 0 0}.icon-button{width:44px;height:44px;border:0;border-radius:14px;background:#edf0eb;color:var(--ink);font-size:27px;cursor:pointer}.sheet-body{padding:18px 20px 22px;overflow:auto;max-height:calc(min(68vh,650px) - 80px)}.sheet-body h2{font-size:17px;margin:0 0 10px}.sheet-body p{font-size:13px;line-height:1.55;color:var(--muted);margin:7px 0 14px}.intent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.intent-card,.result-card,.route-card,.appearance button{border:1px solid var(--line);background:#fff;border-radius:17px;color:var(--ink)}.intent-card{padding:16px 14px;text-align:left;min-height:78px;cursor:pointer}.intent-card b{display:block;font-size:14px}.intent-card small{display:block;color:var(--muted);margin-top:5px}.searchbox{display:flex;gap:8px}.searchbox input{width:100%;height:48px;border-radius:15px;border:1px solid var(--line);padding:0 14px;background:#fff;outline:none}.searchbox input:focus{border-color:#4f7e68;box-shadow:0 0 0 3px rgba(23,79,58,.08)}.results{display:grid;gap:9px;margin-top:12px}.result-card{padding:13px 14px}.result-card button.result-main{border:0;background:none;padding:0;width:100%;text-align:left;color:inherit;cursor:pointer}.result-card h3{font-size:14px;margin:0 0 3px}.result-card .meta{font-size:11px;color:var(--muted)}.result-card .badge{display:inline-block;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;background:#edf4ef;color:var(--accent);border-radius:999px;padding:4px 7px;margin-bottom:6px}.result-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.result-actions a,.result-actions button,.primary,.secondary{min-height:42px;border:0;border-radius:12px;padding:0 12px;font-weight:760;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.primary,.result-actions .primary{background:var(--accent);color:#fff}.secondary,.result-actions .secondary{background:#edf0eb;color:var(--ink)}.empty{padding:18px;border:1px dashed #bcc5bd;border-radius:16px;color:var(--muted);font-size:13px}.route-list{display:grid;gap:10px}.route-card{padding:14px}.route-card h3{margin:0 0 4px;font-size:15px}.route-card p{margin:0 0 10px}.timeline{border-left:2px solid #c6d3ca;margin:6px 0 4px 9px;padding-left:19px;display:grid;gap:16px}.timeline article{position:relative}.timeline article:before{content:"";position:absolute;left:-26px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--accent);border:3px solid var(--paper)}.timeline b{font-size:13px}.timeline small{display:block;color:var(--muted);margin-top:3px}.appearance{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.appearance button{min-height:44px;font-weight:750;cursor:pointer}.appearance button.is-active{background:var(--accent);color:#fff}.guest-card{padding:16px;border-radius:18px;background:linear-gradient(135deg,#174f3a,#28674f);color:#fff}.guest-card p{color:rgba(255,255,255,.78)}.guest-card .primary{background:#fff;color:var(--accent)}.toast{position:fixed;z-index:50;left:50%;bottom:108px;transform:translate(-50%,14px);opacity:0;pointer-events:none;background:#13251d;color:#fff;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:680;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}html[data-map-focus="discover"] .maplibregl-canvas{filter:saturate(1.03)}html[data-map-focus="route"] .maplibregl-canvas{filter:saturate(.76) contrast(.98)}html[data-map-focus="emergency"] .maplibregl-canvas{filter:saturate(.55) contrast(1.02)}
@media(max-width:760px){.map-head{left:12px;right:12px;top:max(10px,env(safe-area-inset-top))}.brand{width:45px;height:45px;padding:0;justify-content:center}.brand span{display:none}.command{left:56px;right:0;transform:none;width:auto;height:45px}.mode-pill{top:65px;right:12px}.dock{bottom:max(10px,env(safe-area-inset-bottom));width:calc(100vw - 20px);height:62px;border-radius:19px}.dock button{min-height:54px}.dock button small{font-size:9px}.sheet{bottom:calc(max(10px,env(safe-area-inset-bottom)) + 72px);width:calc(100vw - 20px);max-height:calc(100vh - 156px);border-radius:22px}.sheet-body{max-height:calc(100vh - 232px);padding:15px 15px 20px}.sheet-head{padding:8px 15px 10px}.sheet-head h1{font-size:20px}.intent-grid{gap:8px}.toast{bottom:calc(max(10px,env(safe-area-inset-bottom)) + 80px)}}
@media(max-height:500px) and (orientation:landscape){.map-head{top:7px}.brand{height:42px}.command{height:42px}.mode-pill{top:55px}.dock{bottom:7px;width:min(500px,calc(100vw - 110px));height:54px}.dock button{min-height:46px}.sheet{z-index:40;bottom:68px;max-height:calc(100vh - 78px);width:min(570px,calc(100vw - 160px))}.sheet-body{max-height:calc(100vh - 154px)}.sheet-head h1{font-size:18px}.sheet-grip{margin-top:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

html[data-mpc-window-stack="intent-sheet-only"] .map-head,
html[data-mpc-window-stack="intent-sheet-only"] .map-head .brand,
html[data-mpc-window-stack="intent-sheet-only"] .map-head .command{pointer-events:none!important}
