/* Search and planning tools follow the existing night palette. */
.alternative-directions{font-size:12px;margin-top:10px}.alternative-directions summary{cursor:pointer;color:#d3e0ff;padding:6px 0}.alternative-leg{padding:9px 0;border-bottom:1px solid #3e4e65;overflow-wrap:anywhere}.alternative-leg small{display:block;margin-top:4px;color:#c1ccdc}.route-wait{padding:8px 0 8px 72px;color:#c1ccdc;font-size:11px}
/* Every date control uses the current theme, including the shared trip/stay range picker. */
.rp .rpb{background:rgba(5,10,18,.78);backdrop-filter:blur(7px)}
.rp .rps{width:min(640px,calc(100% - 24px));max-height:90dvh;background:#192536;color:var(--ink);border:1px solid #465875;border-radius:24px;padding:22px;box-shadow:0 24px 80px #0008;color-scheme:dark}
.rp .rph{gap:16px;margin-bottom:22px}.rp .rph>b{font-size:16px;letter-spacing:-.02em}.rp .rph .ic{width:42px;height:42px;background:#26354c;color:#d3e0ff;border:1px solid #435570}.rp .rph .ic:hover{background:#334863}
.rp .rpt{color:#edf2fa;font-size:14px;margin-bottom:14px}.rp .rpw7{color:#aebdd3;font-size:11px;padding:8px 0}.rp .rpg{row-gap:4px}
.rp .rpd{color:#e8eef8;background:transparent;font-weight:500;min-height:40px}.rp .rpd:hover{background:#2b3c55;color:#fff}.rp .rpd.td{box-shadow:inset 0 0 0 1px #718aaa}.rp .rpd.in{background:#2b3f60;color:#e7efff;border-radius:0}.rp .rpd.on{background:#a9c8ff;color:#101722;font-weight:800;box-shadow:none}.rp .rpd.on:hover{background:#c6d9ff;color:#101722}
.rp .rpd:focus-visible,.rp .ic:focus-visible,.rp .btn:focus-visible{outline:2px solid #c6d9ff;outline-offset:3px}.rp .rpf2{border-top:1px solid #3b4c65;margin-top:20px;padding-top:18px;gap:14px}.rp .rpf2 .meta{color:#c2cdde;line-height:1.5}.rp .rpf2 .btn{min-height:42px;padding:10px 20px}
.rpw .rpi{background:#111c2b;color:#f4f6fb;border-color:#465875;color-scheme:dark}.rpw .rpi:focus-visible{outline:2px solid #a9c8ff;outline-offset:3px}.rpw .ic2{color:#b9cdec}
@media(max-width:620px){.rp .rps{padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px));margin-bottom:12px;border-radius:24px}.rp .rpms{gap:16px}.rp .rpd{min-height:42px}.rp .rpf2{align-items:center}.rp .rpf2 .meta{font-size:11px}}
.sgl{max-height:370px;overflow:auto;background:#192536!important;border-color:#465875;box-shadow:0 18px 45px #0006}
.sgl .sgi{display:flex;gap:12px;align-items:flex-start;min-height:68px;color:var(--ink);padding:12px 14px}
.sgl .sgi:hover,.sgl .sgi[aria-selected=true]{background:#2b3c55}
.sgl .place-kind{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#2b3a50;color:#c6d9ff;font-size:20px;font-style:normal}
.sgl .place-text{display:block;min-width:0;margin:0;color:var(--ink)}.sgl .place-text b{font-size:14px;font-weight:700}.sgl .place-text>span{color:#c2cdde;line-height:1.45;font-size:12px}.sgl .place-text small{display:block;margin-top:4px;color:#a9c8ff;font-size:10px;letter-spacing:.025em}
.search-status{padding:13px 16px;color:var(--mut);font-size:12px}.search-credit{display:flex;justify-content:flex-end;gap:5px;padding:8px 12px;border-top:1px solid var(--line);color:var(--mut);font-size:10px}
.search-credit a{color:var(--mut)}.sgw:focus-within{z-index:35}.fold:focus-within{overflow:visible}
.trip-find-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #465775;background:#1e2d42;color:#e8eef8;border-radius:999px;padding:10px 14px;min-height:42px;cursor:pointer}
.trip-find-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.trip-find-btn kbd{font:10px Manrope,sans-serif;color:#c0cce0;border-left:1px solid #465775;padding-left:9px}
.day-compass{margin:22px 0 20px;padding:22px;border:1px solid #3e526f;border-radius:22px;background:linear-gradient(115deg,#21334d,#192536 80%)}
.compass-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.compass-top .eyebrow{font-size:9px}.compass-top h3{font-size:20px;font-weight:650;margin-top:7px;letter-spacing:-.035em}.compass-actions{display:flex;gap:8px;flex-wrap:wrap}.compass-actions .btn{font-size:11px;min-height:38px;padding:9px 13px}
.compass-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 0;border-bottom:1px solid #3a4d68;margin-bottom:16px}.compass-stats>span{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#c0cdde}.compass-stats b{font-size:24px;line-height:1.2;letter-spacing:-.05em;color:#f4f6fb;font-weight:700}
.next-place{display:flex;justify-content:space-between;align-items:center;gap:15px}.next-place>div{display:flex;flex-direction:column;gap:3px;min-width:0}.next-place small{font-size:9px;font-weight:800;color:#a9c8ff;letter-spacing:.13em}.next-place b{font-size:15px;overflow-wrap:anywhere}.next-place span{font-size:12px;color:var(--mut)}.next-place .btn{font-size:12px;padding:10px 15px;flex-shrink:0}
.day-attention{border-top:1px solid #4b5060;margin-top:16px;padding-top:13px;color:#ffd28b;font-size:12px}.day-attention summary{cursor:pointer;font-weight:700}.day-attention p{margin:9px 0 0;line-height:1.5;color:#ebd4b2}
.visit-length{display:grid;gap:6px;color:var(--mut);font-size:11px}.visit-length input{font-size:14px}.find-highlight{outline:2px solid #a9c8ff;outline-offset:5px;border-radius:18px}
#trip-find{width:min(620px,calc(100vw - 28px));max-height:80dvh;margin:auto;padding:24px;border:1px solid #536886;border-radius:25px;background:#182536;color:#f4f6fb;box-shadow:0 30px 100px #0009;overflow:auto}
#trip-find::backdrop{background:#060b14b8;backdrop-filter:blur(7px)}.quick-head{display:flex;gap:16px;justify-content:space-between;align-items:center}.quick-head h2{font-size:23px;margin-top:5px}.quick-head .eyebrow{font-size:9px}#trip-find-input{width:100%;margin:20px 0 13px;padding:14px 16px;border-radius:14px;border:1px solid #526886;background:#101c2c;color:#f4f6fb;font:14px Manrope,sans-serif}
.quick-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.quick-filters .chip{font-size:11px;padding:7px 12px;min-height:32px}.quick-result{display:flex;width:100%;align-items:center;gap:14px;padding:13px 10px;text-align:left;border:0;border-bottom:1px solid #35465d;background:transparent;color:#edf2fa;cursor:pointer;border-radius:10px}.quick-result:hover,.quick-result:focus-visible{background:#2a3a52;outline:2px solid #91b7ff;outline-offset:-2px}.quick-result>i{font-style:normal;font-size:22px;color:#aac8fb}.quick-result>span:nth-child(2){flex:1;min-width:0}.quick-result b,.quick-result small{display:block;overflow-wrap:anywhere}.quick-result b{font-size:13px;font-weight:650}.quick-result small{font-size:11px;margin-top:3px;color:#bdcadd}.quick-result>span:last-child{color:#a9c8ff}.quick-foot,.quick-empty{font-size:11px;color:#bbc8db;padding:10px 2px}.quick-foot{margin:10px 0 0}
@media(min-width:1100px){.day-compass{padding:24px 28px}.compass-stats{grid-template-columns:130px 160px minmax(0,1fr)}.topbar .trip-find-btn{margin-left:8px}}
@media(max-width:620px){.topbar .trip-find-btn{padding:9px 11px;margin-left:auto}.trip-find-btn kbd{display:none}.day-compass{padding:18px;margin:18px 0;border-radius:18px}.compass-top{display:block}.compass-top h3{font-size:19px}.compass-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}.compass-actions .btn{width:100%;text-align:center}.compass-stats{gap:9px;padding:17px 0}.compass-stats b{font-size:22px}.compass-stats>span{font-size:10px}.next-place{align-items:flex-start}.next-place .btn{font-size:11px;padding:10px 12px;max-width:130px}.sgl{max-height:min(340px,45dvh)}#trip-find{padding:19px;max-height:85dvh}.quick-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.find-highlight{scroll-behavior:auto}}
@media(max-width:620px){body:not(.home) #app>.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:7px 8px;align-items:center}body:not(.home) #app>.topbar .sync{grid-column:1/-1;grid-row:2;justify-self:start;margin:0;font-size:10px}body:not(.home) #app>.topbar .brand{gap:6px;min-width:0}body:not(.home) #app>.topbar .brand svg{width:26px;height:26px}body:not(.home) #app>.topbar .wm{font-size:16px}body:not(.home) #app>.topbar .account-btn{min-height:38px;padding:0 12px!important;font-size:11px}body:not(.home) #app>.topbar .back{font-size:11px;padding:7px 0}body:not(.home) #app>.topbar .trip-find-btn{grid-column:4;grid-row:1;margin:0}.trip-find-btn>span{display:none}}
