/* Three optional visual proposals, scoped to their separate demo pages. */
html[data-design]{--ink:#24374a;--muted:#637181;--accent:#255b80;--wash:#eaf3f8;--surface:#fff;--edge:#dbe5ec;color:var(--ink);background:#f5f8fa}
html[data-design] main{padding-top:12px}
html[data-design] .today-event{font-size:18px;line-height:1.45;gap:14px;grid-template-columns:66px minmax(0,1fr)}
html[data-design] .today-event time{font-size:17px;color:var(--ink)}
html[data-design] .today-event small{font-size:14px;color:var(--muted)}
html[data-design] .today-event .event-badge{display:block;padding:4px 8px;margin-top:7px;background:var(--wash);color:var(--accent)!important;font-size:14px!important;border-radius:7px}
html[data-design] .trip-day-label{font-size:20px;color:var(--ink)}
html[data-design] .day-picker{margin-bottom:12px}
html[data-design] .day-arrow{color:var(--ink)}
html[data-design] .bottom{background:var(--surface);border-color:var(--edge);box-shadow:0 5px 22px #16242f18}
html[data-design] .bottom:before{background:var(--wash)}
html[data-design] .bottom button{color:var(--muted);font-size:13px}
html[data-design] .bottom button[aria-pressed=true]{color:var(--accent)}
html[data-design] .free-day-card{background:var(--wash);color:var(--accent);border-color:var(--edge);font-size:17px;font-weight:600;min-height:56px;padding:12px 16px}
html[data-design] .preparation-item{font-size:18px;min-height:60px;border-color:var(--edge)}
html[data-design] .preparation-item input{accent-color:var(--accent)}
html[data-design] .place-row{border-color:var(--edge);padding:14px 4px}
html[data-design] .place-name{font-size:18px;color:var(--ink)}
html[data-design] #around-area,html[data-design] .locate,html[data-design] .visited-toggle{background:var(--surface);color:var(--accent);border-color:var(--edge)}
html[data-design] .visited-toggle.show-visited{color:#b33b30;background:#fbe8e5;border-color:#d68e85}
html[data-design] .place-detail{background:var(--surface);border-color:var(--edge)}
html[data-design] .place-description{color:var(--ink);font-size:18px}
html[data-design] .place-back,html[data-design] .place-detail-actions a{background:var(--wash);color:var(--accent);border-color:var(--edge)}
html[data-design] .place-detail-actions button{background:var(--accent);color:#fff}
html[data-design] .plan-stop{background:var(--surface);border-color:var(--edge)}
html[data-design] .plan-stop-number{background:var(--accent)}
html[data-design] .plan-day-link,html[data-design] .plan-flight{border-color:var(--edge)}
html[data-design] .plan-stop-heading strong{font-size:22px}
html[data-design] .add-preparation{background:var(--wash);color:var(--accent);border-color:var(--edge)}
html[data-design=light] .destination-card{border:0;border-radius:18px;min-height:164px}
html[data-design=light] .today-events{padding:0}
html[data-design=light] .today-event{background:var(--surface);border:1px solid var(--edge);border-radius:14px;margin-bottom:10px;padding:16px 12px}
html[data-design=light] .checkin-hotel .hotel{padding-top:8px}
html[data-design=light] .hotel h2{font-size:18px}
html[data-design=light] .place-row{margin-top:8px;padding:12px;border:1px solid var(--edge);border-radius:12px;background:var(--surface)}
html[data-design=light] .plan-stop{border-radius:18px;box-shadow:0 2px 8px #24405405}
html[data-design=sand]{--ink:#3d352c;--muted:#786c5d;--accent:#755732;--wash:#eee2cc;--surface:#fffcf6;--edge:#e6dccb;background:#f5efdf}
html[data-design=sand] .destination-card{border:0;border-radius:24px;min-height:184px}
html[data-design=sand] .free-day-card{border:0;border-radius:18px}
html[data-design=sand] .today-events{padding:8px 0 0 8px}
html[data-design=sand] .today-event{position:relative;margin-left:8px;border-bottom:0;border-left:2px solid var(--edge);padding:12px 0 20px 16px}
html[data-design=sand] .today-event:before{content:'';position:absolute;top:18px;left:-5px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
html[data-design=sand] .plan-stop{border:0;border-radius:22px;box-shadow:0 3px 14px #5f4b2b08}
html[data-design=sand] .plan-day-link{border-top-style:dashed}
html[data-design=sand] .place-detail{border:0;border-radius:22px}
html[data-design=sand] .place-row{padding:18px 2px}
html[data-design=minimal]{--ink:#232c2b;--muted:#68716f;--accent:#233e37;--wash:#eaf0ed;--surface:#fff;--edge:#e2e7e5;background:#fff}
html[data-design=minimal] .destination-card{border:0;border-radius:8px;min-height:120px;margin-bottom:10px}
html[data-design=minimal] .destination-place{padding:16px}
html[data-design=minimal] .destination-place h2{font-size:22px}
html[data-design=minimal] .free-day-card{border:0;border-bottom:1px solid var(--edge);border-radius:0;background:none;padding:12px 0;margin:0 0 8px}
html[data-design=minimal] .today-events{padding:0}
html[data-design=minimal] .today-event{padding:21px 0}
html[data-design=minimal] .today-event .event-badge{padding:0;background:none;font-weight:600}
html[data-design=minimal] .plan-stop{border:0;border-top:2px solid var(--ink);border-radius:0;margin-top:24px}
html[data-design=minimal] .plan-stop-heading{padding:16px 0}
html[data-design=minimal] .plan-hotel-name{margin-left:0;margin-right:0}
html[data-design=minimal] .plan-day-link{padding:14px 0}
html[data-design=minimal] .place-detail{border:0;padding:0;border-radius:0}
html[data-design=minimal] #place-map,html[data-design=minimal] #trip-route-map{border-radius:8px}
html[data-design] .today-note{font-size:16px;line-height:1.5;color:var(--muted);margin-top:9px}
html[data-design] .today-note:first-of-type{margin-top:0;margin-bottom:9px}
html[data-design] .today-event .next-event-label{font-size:14px;color:var(--accent);font-weight:700;margin:0 0 8px}
html[data-design] .today-event.is-next-event{background:var(--wash);border-radius:10px;box-shadow:inset 3px 0 var(--accent);padding-left:12px;padding-right:12px}
.place-undo{position:fixed;bottom:calc(102px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1100;width:calc(100% - 32px);max-width:343px;min-height:52px;border:0;border-radius:12px;padding:12px 16px;background:#233e37;color:#fff;font:600 16px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 4px 18px #0002;cursor:pointer}


/* Readable controls and a date that stays available on long days. */
html[data-design=minimal]{--muted:#53605c}
html[data-design] .day-picker{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--surface);padding:8px 0;margin-top:-8px;border-bottom:1px solid var(--edge)}
html[data-design] .today-event small,html[data-design] .plan-day-link small,html[data-design] .plan-flight small{font-size:16px;line-height:1.45;color:var(--muted)}
html[data-design] .place-name small{font-size:15px;color:var(--muted)}
html[data-design] .flight-details small{font-size:14px;line-height:1.4;color:var(--muted)}
html[data-design] .flight-airport{font-size:15px;line-height:1.4;min-height:44px;color:var(--muted)}
html[data-design] .flight-local,html[data-design] .flight-baggage{font-size:15px;color:var(--muted)}
.preparation-label{display:flex;align-items:center;gap:14px;flex:1;min-width:0;min-height:56px;cursor:pointer}
.preparation-label>span{overflow-wrap:anywhere}
html[data-design] .preparation-item{padding:0 2px;gap:4px}
.preparation-more{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted,#53605c);border-radius:8px;cursor:pointer}
.preparation-more svg{width:23px;height:23px;fill:currentColor}
.preparation-more:active{background:var(--wash,#eaf0ed)}
.preparation-dialog{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
html[data-design] .place-name{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.place-chevron{flex-shrink:0;font-size:26px;line-height:1;color:var(--muted,#53605c)}
.app-status,#around>#sync-note{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin:0 0 10px;font-size:14px;line-height:1.45;color:var(--muted,#53605c)}
.app-status:empty{display:none}
.app-status.save-warning{color:#a12e25;font-weight:600}
.app-status button{flex-shrink:0;min-height:44px;padding:8px;border:1px solid var(--edge,#e2e7e5);border-radius:8px;background:var(--wash,#eaf0ed);color:var(--accent,#233e37);font:600 14px inherit;cursor:pointer}
html[data-design] .preparation-item.is-checked{color:#68716f}

/* One floating glass pill, with two full-size invisible tap halves. */
html[data-design] .day-picker.date-bubble{
 position:sticky;top:calc(8px + env(safe-area-inset-top,0px));z-index:20;
 display:grid;grid-template-columns:1fr;place-items:center;justify-content:center;gap:0;width:152px;min-width:152px;max-width:152px;min-height:46px;
 margin:0 auto 18px;padding:0;border:1px solid rgba(255,255,255,.85);border-radius:999px;
 background:rgba(247,250,249,.82);
 -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
 box-shadow:0 3px 14px #233e3710,0 0 0 1px #233e370d,inset 0 1px 0 #fff;
 isolation:isolate;
 transition:transform .2s ease,opacity .2s ease;
}
html[data-design] .day-picker.date-bubble.is-scroll-hidden{
 transform:translateY(calc(-100% - 12px));
 opacity:0;
 pointer-events:none;
}
@media(prefers-reduced-motion:reduce){html[data-design] .day-picker.date-bubble{transition:none}}
html[data-design] .date-bubble .trip-day-label{
 position:relative;z-index:1;pointer-events:none;user-select:none;
 padding:12px 36px;margin:0;font-size:18px;line-height:1.2;font-weight:700;
 white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink,#232c2b);
}
.date-bubble .day-half{
 position:absolute;inset-block:0;width:50%;height:100%;min-height:44px;
 display:flex;align-items:center;padding:0 14px;margin:0;border:0;
 background:transparent;color:#68716f;font:inherit;font-size:18px;line-height:1;
 z-index:2;cursor:pointer;-webkit-appearance:none;appearance:none;
}
.date-bubble .day-half-prev{left:0;justify-content:flex-start;border-radius:999px 0 0 999px}
.date-bubble .day-half-next{right:0;justify-content:flex-end;border-radius:0 999px 999px 0}
.date-bubble .day-half span{pointer-events:none;font-size:15px;font-weight:400;opacity:.7}
.date-bubble .day-half:disabled{cursor:default;color:#68716f}
.date-bubble .day-half:disabled span{opacity:.22}
.date-bubble .day-half:active:not(:disabled){background:#233e370c}
.date-bubble .day-half:focus-visible{outline:2px solid #233e37;outline-offset:-4px}
@media(prefers-reduced-transparency:reduce){html[data-design] .day-picker.date-bubble{background:#f7faf9;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Nearby belongs to the day; the bottom bar has two destinations. */
.bottom.two-tabs{--active-index:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.bottom.two-tabs:before{width:calc((100% - 16px)/2)}
#today{padding-bottom:76px}
.nearby-float{
 position:fixed;right:max(20px,calc((100vw - 440px)/2));bottom:calc(104px + env(safe-area-inset-bottom));
 z-index:990;display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:50px;padding:12px 18px;border:1px solid #fff8;border-radius:999px;
 background:var(--accent,#233e37);color:#fff;box-shadow:0 4px 16px #233e3728;
 font:inherit;font-size:16px;font-weight:600;cursor:pointer;
 transition:transform 120ms ease,box-shadow 120ms ease;
}
.nearby-float svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.nearby-float:active{transform:scale(.97);box-shadow:0 2px 8px #233e3720}
@media(min-width:600px){.nearby-float{right:calc((100vw - 335px)/2)}}
@media(prefers-reduced-motion:reduce){.nearby-float{transition:none}}

/* Keep one stable action bubble and change only its content. */
.nearby-float{width:174px;transition:width 180ms ease,transform 120ms ease,box-shadow 120ms ease}
.nearby-float.is-preparation{width:188px}
.day-action-content{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.nearby-float{transition:none}}

