:root{--ink:#172b28;--muted:#6b7571;--cream:#f7f2e8;--paper:#fffdf8;--green:#163f3a;--terracotta:#d86243;--gold:#d49b36;--line:#ded9ce}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,select{font:inherit}.route-explorer{grid-template-columns:minmax(310px,380px) 1fr;min-height:100vh;display:grid;overflow:hidden}.sidebar{z-index:2;background:radial-gradient(circle at 100% 0, #d49b361f, transparent 28%), var(--paper);border-right:1px solid var(--line);flex-direction:column;min-height:100vh;max-height:100vh;padding:38px 32px 26px;display:flex;position:relative;overflow-y:auto;box-shadow:8px 0 30px #172b2814}.sidebar__heading h1{letter-spacing:-.035em;max-width:290px;margin:6px 0 14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,2.75rem);font-weight:500;line-height:.98}.sidebar__topline{justify-content:space-between;align-items:center;gap:16px;display:flex}.viewer-logout{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:.68rem;font-weight:700;text-decoration:underline}.viewer-logout:disabled{cursor:wait;opacity:.55}.eyebrow{color:var(--terracotta);letter-spacing:.17em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:800}.intro{color:var(--muted);margin:0 0 28px;font-size:.92rem;line-height:1.55}.field-label{letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px;font-size:.76rem;font-weight:750;display:block}.location-select{width:100%;color:var(--ink);background:var(--paper);border:1px solid #bdc5c1;border-radius:9px;outline:none;padding:13px 42px 13px 14px;box-shadow:0 2px 7px #172b280f}.location-select:focus{border-color:var(--green);box-shadow:0 0 0 3px #163f3a24}.route-summary{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin:22px 0 14px;padding-bottom:14px;display:flex}.route-summary>div{align-items:baseline;gap:7px;display:flex}.summary-count{color:var(--green);font-family:Georgia,Times New Roman,serif;font-size:1.7rem;line-height:1}.summary-label,.summary-note{color:var(--muted);font-size:.72rem}.summary-note{text-align:right;max-width:115px;line-height:1.3}.route-status{color:var(--muted);align-items:center;gap:10px;padding:14px 2px;font-size:.85rem;display:flex}.spinner{border:2px solid #d8d3c9;border-top-color:var(--terracotta);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.route-alert{color:#7a382b;background:#fae9e4;border-radius:7px;margin:0 0 12px;padding:10px 12px;font-size:.8rem}.route-list{gap:8px;display:grid}.route-card{background:#ffffffb8;border:1px solid #e2ded4;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 13px;display:flex}.route-card h2{margin:0;font-size:.83rem;font-weight:650;line-height:1.25}.sidebar-properties{border-top:1px solid var(--line);gap:8px;margin-top:18px;padding-top:16px;display:grid}.sidebar-properties>h2{margin:0 0 3px;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:500}.sidebar-property{background:#ffffffb8;border:1px solid #e2ded4;border-radius:8px;padding:11px 12px}.sidebar-property>a{color:var(--green);overflow-wrap:anywhere;font-size:.8rem;font-weight:750}.sidebar-property p{color:var(--muted);margin:6px 0;font-size:.7rem;line-height:1.4}.sidebar-property ul{border-top:1px solid #ece7dd;gap:4px;margin:8px 0 0;padding:8px 0 0;list-style:none;display:grid}.sidebar-property li a{color:var(--terracotta);overflow-wrap:anywhere;font-size:.68rem;font-weight:700}.route-values{flex:none;align-items:baseline;gap:7px;display:flex}.route-values strong{color:var(--terracotta);font-family:Georgia,Times New Roman,serif;font-size:1.05rem}.route-values span{color:var(--muted);font-size:.69rem}.legend{color:var(--muted);flex-wrap:wrap;gap:10px 18px;margin-top:auto;padding-top:24px;font-size:.7rem;display:flex}.legend>div{align-items:center;gap:7px;display:flex}.legend-dot{border-radius:50%;width:9px;height:9px}.legend-dot--shortlist{background:var(--green)}.legend-dot--accommodation{background:var(--gold);border-radius:1px;transform:rotate(45deg)}.data-note{color:#929995;margin:11px 0 0;font-size:.64rem}.map-panel{background:#dfe7df;min-width:0;min-height:100vh;position:relative}.google-map{width:100%;height:100vh}.map-message{z-index:50;border:1px solid var(--line);background:#fffdf8f2;border-radius:9px;flex-direction:column;width:min(390px,100% - 40px);padding:14px 18px;display:flex;position:absolute;top:24px;left:50%;transform:translate(-50%);box-shadow:0 6px 30px #172b2826}.map-message strong{font-size:.88rem}.map-message span{color:var(--muted);margin-top:3px;font-size:.76rem}.map-message--error{border-color:#d9a092}.place-marker{filter:drop-shadow(0 3px 4px #0000002e);cursor:pointer;flex-direction:column;align-items:center;display:flex}.place-marker>span{color:var(--ink);white-space:nowrap;background:#fffdf8f0;border:1px solid #fffc;border-radius:4px;margin-top:2px;padding:3px 7px;font-size:10px;font-weight:750;line-height:1}.place-marker--selected>span{color:#fff;background:var(--terracotta)}.stay-marker{color:var(--ink);white-space:nowrap;background:#fffaedf0;border:1px solid #d7bd83;border-radius:5px;align-items:center;gap:6px;padding:5px 8px 5px 6px;display:flex;box-shadow:0 2px 8px #172b2826}.stay-marker__symbol{color:var(--gold);font-size:13px}.stay-marker>span:last-child{flex-direction:column;display:flex}.stay-marker strong{font-size:10px;line-height:1.05}.stay-marker small{color:var(--muted);margin-top:2px;font-size:8px}.route-badge{color:#fff;background:var(--route-colour);white-space:nowrap;border:2px solid #fff;border-radius:12px;padding:4px 7px;font-size:10px;font-weight:800;display:block;box-shadow:0 2px 6px #0000003d}@media (max-width:760px){.route-explorer{flex-direction:column;display:flex;overflow:visible}.sidebar{border-right:0;border-bottom:1px solid var(--line);min-height:auto;max-height:none;padding:26px 22px 20px}.sidebar__heading h1{max-width:none;font-size:2.2rem}.intro{margin-bottom:20px}.route-list{grid-template-columns:repeat(2,minmax(0,1fr))}.route-card{flex-direction:column;align-items:flex-start;gap:7px}.legend{margin-top:4px}.map-panel,.google-map{height:62vh;min-height:62vh}}@media (max-width:460px){.route-list{grid-template-columns:1fr}}.planner-controls{gap:18px;display:grid}.mode-switcher{background:#ece8df;border:1px solid #ded9ce;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px;display:grid}.mode-button{color:#6b7571;cursor:pointer;background:0 0;border:0;border-radius:7px;min-width:0;padding:9px 5px;font-size:.69rem;font-weight:750;line-height:1.15}.mode-button:hover{color:#172b28}.mode-button:focus-visible{outline-offset:1px;outline:3px solid #163f3a33}.mode-button--active{color:#fffdf8;background:#163f3a;box-shadow:0 2px 7px #172b2833}.planner-form,.endpoint-grid{gap:14px;display:grid}.planner-field{min-width:0}.return-finish{gap:8px;display:grid}.return-finish strong{color:#163f3a;background:#eef3ef;border:1px solid #c7d3cc;border-radius:9px;padding:13px 14px;font-size:.84rem}.return-option{color:#172b28;cursor:pointer;align-items:center;gap:9px;width:fit-content;font-size:.82rem;font-weight:650;display:flex}.return-option input,.stop-option input{accent-color:#163f3a;width:16px;height:16px;margin:0}.stop-selector{background:#f7f2e88a;border:1px solid #ded9ce;border-radius:9px;min-width:0;margin:0;padding:12px}.stop-selector legend{color:#172b28;letter-spacing:.04em;text-transform:uppercase;padding:0 6px;font-size:.74rem;font-weight:800}.stop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;max-height:190px;display:grid;overflow-y:auto}.stop-option{cursor:pointer;border-radius:6px;align-items:flex-start;gap:7px;min-width:0;padding:6px;display:flex}.stop-option:hover{background:#163f3a0f}.stop-option span{min-width:0;font-size:.7rem;line-height:1.25}.stop-option--disabled{color:#a2a7a4;cursor:not-allowed}.stop-option--disabled:hover{background:0 0}.optimisation-note{color:#6b7571;margin:-4px 2px 0;font-size:.69rem;line-height:1.4}.plan-button{color:#fffdf8;cursor:pointer;background:#d86243;border:0;border-radius:8px;width:100%;padding:12px 16px;font-size:.8rem;font-weight:800;box-shadow:0 3px 10px #d8624340}.plan-button:hover:not(:disabled){background:#c85336}.plan-button:focus-visible{outline-offset:2px;outline:3px solid #d862433d}.plan-button:disabled{color:#f6ebe6;box-shadow:none;cursor:not-allowed;background:#c8a99f}.trip-card{background:linear-gradient(145deg,#eef3ef,#fffdf8);border:1px solid #c7d3cc;border-radius:9px;padding:15px}.trip-card__label{color:#6b7571;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.66rem;font-weight:800}.trip-card h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:500;line-height:1.4}.trip-card__totals{align-items:baseline;gap:9px;margin-top:11px;display:flex}.trip-card__totals strong{color:#d86243;font-family:Georgia,Times New Roman,serif;font-size:1.25rem}.trip-card__totals span{color:#6b7571;font-size:.73rem}.place-search{background:#fffdf8f5;border:1px solid #d4d0c7;border-radius:10px;width:min(360px,100vw - 72px);margin:10px;padding:9px;box-shadow:0 3px 14px #172b282e}.place-search__host,.place-search__autocomplete{width:100%;display:block}.place-search__candidate{border-top:1px solid #e4e0d7;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;padding-top:8px;display:flex}.place-search__candidate span{color:#172b28;min-width:0;font-size:.75rem;display:grid}.place-search__candidate small{color:#6b7571;text-overflow:ellipsis;white-space:nowrap;font-size:.65rem;overflow:hidden}.place-search__candidate button{color:#fffdf8;cursor:pointer;background:#163f3a;border:0;border-radius:7px;flex:none;padding:8px 10px;font-size:.67rem;font-weight:750}.place-search__candidate button:disabled{color:#777e7a;cursor:not-allowed;background:#d9ddd9}.place-search__message{color:#6b7571;margin:7px 2px 0;font-size:.67rem;line-height:1.35}@media (max-width:760px){.stop-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}}@media (max-width:520px){.stop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
