/* Travel runtime presentation. All assets and motion are local. */
:root {
  --ink:#1b2427; --secondary:#536167; --muted:#7e898d; --line:#e3e8e7;
  --paper:#fff; --canvas:#f4f6f5; --soft:#edf1f0; --accent:#146c59;
  --accent-soft:#e5f1eb; --warm:#f6f1e5; --warm-ink:#826730;
  --nav-height:72px; --top-height:58px; --radius:24px;
  --duration-fast:150ms; --duration:260ms; --duration-sheet:400ms;
  --ease:cubic-bezier(.22,.75,.18,1);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","MiSans","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink); font-synthesis:weight;
}
* {box-sizing:border-box}
html {-webkit-tap-highlight-color:transparent; scroll-padding-top:145px}
body {margin:0;background:#e8ecea;line-height:1.5;-webkit-font-smoothing:antialiased}
body.sheet-open {overflow:hidden}
button,a,input {touch-action:manipulation}
button,input {font:inherit}
button {border:0;background:none;color:inherit;cursor:pointer}
button,a { -webkit-tap-highlight-color:transparent}
a {color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible {outline:3px solid #5d9988;outline-offset:4px}
h1,h2,h3,h4,p {margin:0}
img {display:block;max-width:100%;height:auto}
.icon {width:21px;height:21px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.symbols {position:absolute;width:0;height:0;overflow:hidden}
.app {max-width:600px;margin:auto;min-height:100dvh;background:var(--canvas);padding-bottom:calc(100px + env(safe-area-inset-bottom))}
main {overflow-x:clip}
.topbar {position:sticky;top:0;z-index:50;display:flex;justify-content:space-between;align-items:center;height:var(--top-height);padding:0 24px;background:rgba(244,246,245,.9);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid rgba(208,216,212,.35)}
.brand {display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;padding:8px 0}
.brand .icon {width:19px;height:19px;color:var(--accent)}
.status-text {font-size:12px;color:var(--muted)}
.module {display:none;padding:0 24px}
.module.active {display:block;animation:module-in var(--duration) var(--ease)}
@keyframes module-in {from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}
.page-head {padding:26px 0 22px}
.page-head h1 {font-size:34px;font-weight:700;letter-spacing:-1.2px;line-height:1.22}
.page-context {font-size:13px;color:var(--muted);margin-bottom:9px}
.now-head,.todo-head {display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.countdown-pill {flex:0 0 auto;font-size:12px;font-weight:600;color:var(--accent);padding:7px 10px;border-radius:999px;background:var(--accent-soft);margin-bottom:4px}
.section-head {display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 13px}
.section-head h2 {font-size:19px;font-weight:650;letter-spacing:-.45px}
.section-head>span {font-size:12px;color:var(--muted);white-space:nowrap}
.text-button {display:inline-flex;align-items:center;gap:3px;min-height:40px;color:var(--accent);font-size:13px;padding:0}
.text-button .icon {width:14px;height:14px}
.button {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 18px;font-size:14px;font-weight:600;border-radius:13px;transition:background var(--duration-fast),transform var(--duration-fast);white-space:nowrap}
.button:active {transform:scale(.97)}
.button .icon {width:17px;height:17px}
.primary {background:var(--accent);color:#fff}
.primary:active {background:#0d5042}
.secondary {background:var(--soft);color:var(--ink)}
.action {background:transparent;color:var(--accent);border:1px solid #dce3df;padding:0 12px;min-height:42px;font-size:13px}
.button.small {background:var(--soft);color:var(--ink)}
.focus-card {background:radial-gradient(ellipse at 100% 0%,#e3f1e7 0%,transparent 68%),#fff;border:1px solid #e1e9e3;border-radius:28px;padding:24px;box-shadow:0 9px 24px rgba(32,65,45,.035)}
.focus-kicker {display:flex;align-items:center;gap:7px;font-size:12px;color:var(--accent);font-weight:600}
.focus-kicker>.icon {width:17px;height:17px}
.focus-kicker .status-badge {margin-left:auto}
.focus-card h2 {font-size:28px;font-weight:650;letter-spacing:-1px;line-height:1.3;margin-top:21px}
.focus-description {font-size:15px;line-height:1.7;color:var(--secondary);margin-top:11px}
.focus-time {font-size:22px;color:var(--accent);font-variant-numeric:tabular-nums;margin-top:10px}
.focus-note {display:flex;gap:8px;font-size:13px;color:var(--warm-ink);margin-top:14px;line-height:1.6}
.focus-note .icon {width:16px;height:16px;margin-top:3px}
.focus-actions {display:flex;align-items:center;gap:15px;margin-top:24px}
.focus-progress {font-size:12px;color:var(--muted)}
.departure-card {display:block;width:100%;text-align:left;padding:20px;background:var(--paper);border-radius:22px;border:1px solid #e7ebea;box-shadow:0 4px 14px rgba(30,60,42,.025)}
.departure-top {display:flex;align-items:center;gap:8px;font-size:13px}
.departure-top>.icon:first-child {color:var(--accent);width:19px}
.departure-top>.icon:last-child {color:var(--muted);width:15px;margin-left:4px}
.departure-top strong {font-weight:600}
.quiet-status {margin-left:auto;font-size:11px;color:var(--accent)}
.flight-route {display:flex;align-items:center;gap:16px;margin:22px 0 16px}
.flight-route>div {display:flex;flex:1;flex-direction:column;gap:3px}
.flight-route>div:last-child {text-align:right}
.flight-route strong {font-size:26px;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.flight-route b {font-size:15px;font-weight:600}
.flight-route span:not(.flight-line) {font-size:11px;color:var(--muted)}
.flight-line {display:flex;justify-content:center;align-items:center;width:46px;color:#a3b4ac}
.flight-line .icon {width:29px}
.departure-card>p {font-size:12px;color:var(--secondary);line-height:1.6}
.departure-note {font-size:12px;padding-top:12px;margin-top:13px;border-top:1px solid var(--line);color:var(--accent)}
.destination-preview {position:relative;display:block;width:100%;height:190px;text-align:left;padding:0;margin:28px 0 8px;border-radius:22px;overflow:hidden;color:white;background:#87b5b0}
.destination-preview>img {width:100%;height:100%;object-fit:cover;object-position:center 50%}
.destination-preview:after,.overview-cover:after {content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 10%,rgba(8,42,40,.6))}
.destination-caption {position:absolute;z-index:1;left:20px;bottom:20px;display:flex;flex-direction:column;gap:4px;text-shadow:0 1px 5px rgba(0,0,0,.1)}
.destination-caption small {font-size:12px;color:rgba(255,255,255,.9)}
.destination-caption strong {font-size:26px;font-weight:650;letter-spacing:-.6px}
.photo-arrow {position:absolute;z-index:1;right:18px;bottom:23px;display:grid;place-items:center;width:35px;height:35px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(255,255,255,.1);backdrop-filter:blur(12px)}
.next-event {width:100%;display:flex;align-items:center;gap:16px;padding:18px;background:#fff;border-radius:20px;text-align:left}
.next-event>time {font-size:13px;color:var(--accent);max-width:66px}
.next-event>span {flex:1;min-width:0}
.next-event strong {display:block;font-size:17px;font-weight:600;margin-bottom:4px}
.next-event small {color:var(--secondary);font-size:13px;line-height:1.55}
.next-event>.icon {width:15px;color:var(--muted)}
/* Daily agenda. Time sits above the content instead of squeezing it into a narrow column. */
.date-bar {display:flex;position:sticky;top:var(--top-height);z-index:40;gap:5px;margin:0 -24px;padding:12px 20px 10px;background:rgba(244,246,245,.94);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);overflow-x:auto;scrollbar-width:none;border-bottom:1px solid rgba(214,221,217,.5)}
.date-bar::-webkit-scrollbar,.day-route::-webkit-scrollbar {display:none}
.date-chip {position:relative;display:flex;flex:0 0 49px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 4px 10px;min-height:69px;border-radius:16px;color:var(--secondary);transition:background var(--duration),color var(--duration)}
.date-chip small {font-size:11px;font-weight:500}
.date-chip strong {font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25}
.date-chip.active {background:var(--accent);color:#fff;box-shadow:0 4px 10px rgba(20,108,89,.13)}
.date-indicator {position:absolute;bottom:5px;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:0}
.date-chip.active .date-indicator {opacity:.75}
.day-header {padding:23px 0 0}
.day-meta {display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:9px}
.day-meta span {margin-left:auto;font-size:11px}
.day-header h1 {font-size:31px;font-weight:700;letter-spacing:-1px;line-height:1.25}
.day-header>p {font-size:14px;line-height:1.6;color:var(--secondary);margin-top:9px}
.day-route {display:flex;gap:0;overflow-x:auto;margin:13px -24px 16px;padding:0 24px 5px;scrollbar-width:none}
.day-route>span {font-size:13px;color:var(--secondary);white-space:nowrap;flex:0 0 auto}
.day-route>span:not(:last-child):after {content:"›";padding:0 8px;color:#b2bbb7}
.day-reminders {background:#edf1e9;border:1px solid #e0e6d9;border-radius:14px;margin:0 0 24px}
.day-reminders summary {display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;min-height:46px;padding:9px 13px;font-size:13px;font-weight:600;color:#5b6f4b}
.day-reminders summary::-webkit-details-marker {display:none}
.day-reminders summary>.icon {width:17px;height:17px}
.day-reminders summary small {font-size:11px;font-weight:400;color:#7b8972}
.day-reminders summary>.icon:last-child {width:14px;margin-left:auto;transition:transform var(--duration)}
.day-reminders[open] summary>.icon:last-child {transform:rotate(90deg)}
.day-reminders>div {padding:0 14px 12px}
.day-reminders p {font-size:13px;color:#637159;line-height:1.65;margin:4px 0 8px}
.timeline {margin:0}
.timeline-item {position:relative;padding:0 0 28px 26px}
.timeline-item:before {content:"";position:absolute;left:5px;top:13px;bottom:-9px;width:1px;background:#dbe3df}
.timeline-item:last-child:before {display:none}
.event-dot {position:absolute;left:1px;top:10px;width:9px;height:9px;background:var(--canvas);border:2px solid #a8bbb1;border-radius:50%;z-index:1;box-shadow:0 0 0 4px var(--canvas)}
.schedule-current .event-dot {background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px #d4e8de;animation:current-pulse 2s ease infinite}
@keyframes current-pulse {50% {box-shadow:0 0 0 7px rgba(20,108,89,.07)}}
.schedule-past .event-dot {background:#a8bbb1}
.event-top {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:27px;margin-bottom:9px}
.event-top time {font-size:14px;letter-spacing:.05px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--secondary)}
.status-badge {display:inline-flex;align-items:center;flex:0 0 auto;padding:3px 7px;font-size:11px;border-radius:6px;background:#e9edeb;color:#72817a;line-height:1.5;font-weight:500;white-space:nowrap}
.status-badge.booked,.status-badge.issued {color:#26755b;background:#e4eee7}
.status-badge.optional {background:transparent;border:1px solid #d9dfda;padding:2px 6px;color:#8b938e}
.status-badge.plan {background:transparent;color:#9aa39e;padding-right:0}
.current-label {font-size:12px;color:var(--accent);font-weight:600}
.event-content {min-width:0}
.transport-event {background:white;border:1px solid #e5eae7;padding:17px;border-radius:19px;box-shadow:0 3px 12px rgba(34,60,47,.02)}
.event-title-row {display:flex;align-items:flex-start;gap:10px;justify-content:space-between}
.event-title-row>h2 {font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.6px}
.event-title-row>.icon {width:19px;height:19px;color:#8fa398;margin-top:4px}
.event-desc {font-size:14px;color:var(--secondary);line-height:1.65;margin-top:6px}
.event-reminder {font-size:13px;line-height:1.6;color:var(--warm-ink);padding-left:10px;border-left:2px solid #d6c9a4;margin-top:12px}
.event-photo {position:relative;display:block;padding:0;width:100%;margin-top:13px;border-radius:16px;overflow:hidden;background:#e7ece9}
.event-photo img {width:100%;aspect-ratio:1.65;object-fit:cover}
.event-photo>.icon {position:absolute;bottom:10px;right:10px;padding:5px;width:28px;height:28px;border-radius:8px;stroke:white;background:rgba(0,0,0,.2);backdrop-filter:blur(6px)}
.event-actions {display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.transport-event .event-actions {gap:6px}
.transport-event .action {padding:0 9px;font-size:12px}
.day-end {text-align:center;font-size:12px;color:var(--muted);margin:0 0 12px}
/* Journey directory and bookings. */
.overview-cover {position:relative;height:244px;border-radius:25px;overflow:hidden;background:#7dad9f;color:white}
.overview-cover>img {width:100%;height:100%;object-fit:cover}
.overview-cover>div {position:absolute;z-index:1;left:23px;bottom:24px}
.overview-cover p {font-size:12px;opacity:.88;margin-bottom:4px}
.overview-cover h2 {font-size:33px;font-weight:650;letter-spacing:-1.3px}
.overview-cover span {font-size:12px;opacity:.85}
.journey-list,.reservation-list,.todo-list {background:var(--paper);border-radius:22px;overflow:hidden}
.journey-day {display:flex;width:100%;align-items:center;gap:15px;padding:15px 17px;text-align:left}
.journey-day+.journey-day {border-top:1px solid #eef0ef}
.journey-date {display:flex;flex-direction:column;align-items:center;min-width:29px;color:var(--accent);gap:0}
.journey-date strong {font-size:23px;font-weight:500;line-height:1.2}
.journey-date small {font-size:10px;margin-top:3px}
.journey-copy {flex:1;min-width:0}
.journey-copy strong {display:block;font-size:16px;font-weight:600}
.journey-copy small {display:block;font-size:12px;line-height:1.55;color:var(--muted);margin-top:3px}
.journey-day>.icon,.reservation-row>.icon,.source-entry>.icon:last-child {width:14px;height:14px;color:#a0aaa5}
.reservation-row {display:flex;width:100%;text-align:left;align-items:center;gap:13px;padding:18px 16px}
.reservation-row+.reservation-row {border-top:1px solid #edf0ee}
.reservation-icon,.reservation-thumb {display:grid;place-items:center;width:38px;height:42px;flex:0 0 38px;background:#f0f4f1;border-radius:10px;object-fit:contain;color:#5b826d}
.reservation-icon .icon {width:20px}
.reservation-copy {min-width:0;flex:1}
.reservation-copy strong {font-size:15px;font-weight:600;display:block}
.reservation-copy>span {display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}
.source-entry {display:flex;align-items:center;gap:13px;background:#fff;border-radius:20px;padding:17px 18px;margin-top:28px}
.source-entry>.icon:first-child {color:var(--accent)}
.source-entry>span {flex:1}
.source-entry strong {display:block;font-size:15px;font-weight:600}
.source-entry small {display:block;color:var(--muted);font-size:12px;margin-top:3px}
/* Calm, persistent checklist. */
.progress-ring {--progress:0%;display:grid;place-items:center;width:59px;height:59px;flex:0 0 59px;background:conic-gradient(var(--accent) var(--progress),#e0e7e2 0);border-radius:50%;position:relative}
.progress-ring:before {content:"";position:absolute;inset:4px;border-radius:50%;background:var(--canvas)}
.progress-ring>span {position:relative;font-size:18px;font-weight:600}
.progress-ring small {font-size:11px;color:var(--muted);font-weight:400}
.todo-priority {display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #d9e7dc;background:linear-gradient(115deg,#e4efe6,#f1f5ea);padding:18px;border-radius:20px}
.priority-icon {display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffff80;color:var(--accent);flex:0 0 auto}
.priority-icon .icon {width:18px}
.todo-priority>span:nth-child(2) {flex:1}
.todo-priority small {display:block;color:var(--accent);font-size:11px;margin-bottom:4px}
.todo-priority strong {display:block;font-size:16px;font-weight:600;line-height:1.4}
.todo-priority>.icon:last-child {width:14px;color:#748e7e}
.todo-item {position:relative;display:flex;align-items:flex-start;gap:13px;cursor:pointer;padding:18px 16px;transition:background var(--duration);scroll-margin-top:150px}
.todo-item+.todo-item {border-top:1px solid #eef0ee}
.todo-item input {position:absolute;left:16px;top:20px;width:22px;height:22px;margin:0;opacity:0}
.check-visual {display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;margin-top:2px;border:1.5px solid #c7d0ca;border-radius:50%;pointer-events:none;transition:background var(--duration-fast),border-color var(--duration-fast)}
.check-visual>.icon {width:14px;height:14px;opacity:0;stroke-width:2.4;transform:scale(.5);transition:transform var(--duration),opacity var(--duration)}
.todo-item input:checked+.check-visual {background:var(--accent);border-color:var(--accent)}
.todo-item input:checked+.check-visual>.icon {opacity:1;color:#fff;transform:scale(1)}
.todo-item input:focus-visible+.check-visual {outline:3px solid #5d9988;outline-offset:4px}
.todo-copy {flex:1}
.todo-copy strong {display:block;font-size:15px;font-weight:550;line-height:1.6}
.todo-copy small {display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}
.todo-item.completed .todo-copy {opacity:.48}
.todo-item.completed .todo-copy strong {text-decoration:line-through;text-decoration-thickness:1px}
.local-note {display:flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:11px;margin-top:24px}
.local-note .icon {width:13px;height:13px}
/* Navigation is an anchored control layer. */
.bottom-nav {position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:100;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:min(calc(100% - 32px),440px);height:var(--nav-height);padding:7px;background:rgba(255,255,255,.91);border:1px solid rgba(255,255,255,.95);border-radius:26px;box-shadow:0 4px 26px rgba(27,56,38,.13),0 0 0 .5px rgba(17,53,32,.05);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px)}
.nav-button {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:500;border-radius:19px;color:#88938e;transition:background var(--duration),color var(--duration)}
.nav-button>.icon {width:21px;height:21px}
.nav-button.active {color:var(--accent);background:#e9f0eb}
.nav-button:active {transform:scale(.96)}
.nav-count {position:absolute;top:4px;right:calc(50% - 25px);display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:9px;font-style:normal;color:white;background:#61786b;border:1.5px solid #fff;border-radius:999px}
.nav-count:empty {display:none}
/* Detail sheet: actions first, then guidance and photos. */
.sheet-backdrop {position:fixed;inset:0;z-index:300;background:rgba(12,25,20,0);pointer-events:none;visibility:hidden;transition:background var(--duration-sheet),visibility var(--duration-sheet)}
.sheet-backdrop.active {background:rgba(12,25,20,.32);pointer-events:auto;visibility:visible}
.bottom-sheet {position:absolute;bottom:0;left:50%;width:min(100%,600px);max-height:76dvh;display:flex;flex-direction:column;transform:translate(-50%,105%);transition:transform var(--duration-sheet) var(--ease);background:var(--canvas);border-radius:29px 29px 0 0;box-shadow:0 -8px 35px rgba(0,0,0,.09);overflow:hidden}
.sheet-backdrop.active .bottom-sheet {transform:translate(-50%,0)}
.sheet-handle {width:34px;height:4px;background:#c9d1cd;border-radius:999px;margin:10px auto 0;flex:0 0 auto}
.sheet-header {display:flex;align-items:center;gap:15px;justify-content:space-between;padding:15px 23px 17px;flex-shrink:0}
.sheet-header {touch-action:pan-x}
.sheet-header h3 {font-size:23px;line-height:1.3;font-weight:650;letter-spacing:-.65px;max-width:calc(100% - 50px)}
.sheet-close {display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#e7ece9;color:#718078}
.sheet-close .icon {width:17px;height:17px}
.sheet-content {overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:0 23px calc(25px + env(safe-area-inset-bottom));scrollbar-width:thin}
.detail-section {padding:18px 0;border-top:1px solid var(--line)}
.detail-intro {border-top:0;padding:0 0 19px}
.detail-meta {display:flex;align-items:center;gap:10px;margin-bottom:10px}
.detail-meta time {color:var(--muted);font-size:12px}
.detail-desc,.detail-copy {font-size:14px;color:var(--secondary);line-height:1.7}
.detail-section h4 {font-size:13px;font-weight:600;color:var(--muted);margin-bottom:10px}
.detail-list {margin:0;padding-left:18px}
.detail-list li {font-size:14px;color:var(--secondary);line-height:1.7;margin:8px 0}
.location-heading {display:flex;gap:12px}
.location-heading>.icon {margin-top:3px;color:var(--accent)}
.location-heading h4 {font-size:11px;margin:0 0 3px}
.location-heading strong {font-size:16px;font-weight:600;line-height:1.5}
.location-address {font-size:13px;color:var(--muted);margin:8px 0 0 33px;overflow-wrap:anywhere}
.action-row {display:flex;gap:8px;margin-top:16px}
.action-row>.button {flex:1;padding:0 11px}
.detail-gallery {display:grid;grid-auto-flow:column;grid-auto-columns:86%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.detail-gallery>img {width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:17px;scroll-snap-align:start;background:#fff;cursor:zoom-in}
.detail-gallery>img:only-child {grid-column:auto;max-width:100%}
.detail-gallery:has(>img:only-child) {grid-auto-columns:100%}
.detail-gallery>img.ticket-thumb {aspect-ratio:1;object-fit:contain;padding:9px}
.detail-empty-thumb {display:grid;place-items:center;margin-top:13px;width:80px;height:70px;border:1px dashed #cdd6d0;border-radius:12px;font-size:10px;color:#98a49c}
.sheet-code {margin:13px 0;padding:14px 15px;border-radius:16px;background:#fff;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sheet-code-label {font-size:11px;color:var(--muted);width:100%}
.sheet-code-value {font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.8px;font-size:16px;font-weight:500;overflow-wrap:anywhere;max-width:100%}
.sheet-code>.button {margin-left:auto;font-size:12px;min-height:36px}
.fallback-intro {border-top:0;padding-top:0;padding-bottom:14px}
.fallback-intro p {font-size:14px;line-height:1.65;color:var(--secondary)}
.fallback-intro span {display:inline-block;margin-top:7px;font-size:12px;color:var(--muted)}
.fallback-card {padding:16px 0 18px;border-top:1px solid var(--line)}
.fallback-card:first-of-type {border-top:0}
.fallback-card-top {display:flex;align-items:center;gap:8px;justify-content:space-between}
.fallback-label {font-size:16px;font-weight:650;line-height:1.45}
.fallback-confidence {font-size:10px;color:var(--muted);white-space:nowrap}
.fallback-trigger {margin-top:7px;font-size:12px;color:var(--warm-ink);line-height:1.6}
.fallback-action-copy {margin-top:7px;font-size:14px;line-height:1.7;color:var(--secondary)}
.fallback-location {display:flex;align-items:flex-start;gap:6px;margin-top:10px;font-size:12px;line-height:1.55;color:var(--muted)}
.fallback-location .icon {width:14px;height:14px;color:var(--accent);margin-top:2px}
.fallback-meta {margin-top:8px;font-size:11px;color:var(--muted);line-height:1.55}
.fallback-note {display:flex;gap:6px;margin-top:8px;font-size:12px;line-height:1.6;color:var(--warm-ink)}
.fallback-note .icon {width:14px;height:14px;flex:0 0 auto;margin-top:3px}
.fallback-actions {display:flex;gap:8px;margin-top:12px}
.fallback-actions .button {min-height:38px;font-size:12px;padding:0 12px}
.fallback-action {color:#7d6b3d;border-color:#e3dac0;background:#fbf8ef}
.image-modal {position:fixed;inset:0;z-index:400;background:rgba(7,14,11,.97);display:flex;align-items:center;justify-content:center;flex-direction:column;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--duration),visibility var(--duration)}
.image-modal.active {opacity:1;visibility:visible;pointer-events:auto}
.image-modal>img {max-width:94%;max-height:78dvh;object-fit:contain}
.modal-close {position:absolute;top:calc(20px + env(safe-area-inset-top));right:20px;width:44px;height:44px;border-radius:50%;background:#ffffff20;color:white;font-size:28px}
.image-caption {position:absolute;bottom:calc(22px + env(safe-area-inset-bottom));left:20px;right:20px;color:#fff;text-align:center;font-size:13px}
.toast {position:fixed;z-index:500;left:50%;bottom:calc(105px + env(safe-area-inset-bottom));transform:translate(-50%,15px);width:max-content;max-width:90%;padding:12px 18px;color:#fff;background:#24372c;border-radius:16px;font-size:13px;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:opacity var(--duration),transform var(--duration)}
.toast.show {transform:translate(-50%,0);opacity:1}
@media(min-width:650px) {
  .app {box-shadow:0 0 70px rgba(32,56,41,.05)}
  .module {padding:0 32px}
  .topbar {padding:0 32px}
  .date-bar {margin:0 -32px;padding-left:28px;padding-right:28px;justify-content:space-between}
  .date-chip {flex:0 0 54px}
  .day-route {margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
  .destination-preview {height:240px}
  .focus-card {padding:28px}
  .focus-card h2 {font-size:32px}
  .event-photo img {max-height:275px}
}
@media(max-width:360px) {
  .module {padding-left:18px;padding-right:18px}
  .topbar {padding-left:18px;padding-right:18px}
  .date-bar {margin-left:-18px;margin-right:-18px;padding-left:14px;padding-right:14px}
  .day-route {margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .focus-card {padding:21px}
  .focus-card h2 {font-size:26px}
  .page-head h1 {font-size:31px}
  .focus-actions {gap:11px}
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Final iOS light-mode override. Keep this last so the visual system is deterministic. */
:root {
  --ink:#1c1c1e;
  --secondary:#636366;
  --muted:#8e8e93;
  --line:rgba(60,60,67,.18);
  --paper:#fff;
  --canvas:#f2f2f7;
  --soft:#e5e5ea;
  --accent:#007aff;
  --accent-soft:#eaf3ff;
  --warm:#fff5e6;
  --warm-ink:#9a6700;
}
html,body {background:#dfe0e5;color:var(--ink)}
.app {background:var(--canvas);overflow-x:clip;box-shadow:0 0 70px rgba(0,0,0,.08)}
.topbar,.date-bar {background:rgba(242,242,247,.92);border-color:rgba(60,60,67,.16)}
.brand .icon,.focus-kicker,.focus-time,.current-label {color:var(--accent)}
.status-text,.page-context {color:var(--muted)}
.page-context {display:none}
.page-head {padding-top:28px}
.now-head {display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.now-head .countdown-pill {justify-self:start;margin:11px 0 0}
.countdown-pill {background:var(--accent-soft);border-color:#d4e7ff;color:var(--accent)}
.focus-card {background:#fff;border-color:rgba(60,60,67,.15);box-shadow:0 5px 18px rgba(0,0,0,.04)}
.departure-card,.next-event {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.flight-route {display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
.flight-route>div {min-width:0}
.flight-route strong,.flight-route b,.flight-route span:not(.flight-line) {overflow-wrap:anywhere}
.flight-line {width:auto}
.date-chip.active {color:var(--accent)}
.date-chip.active:after {background:var(--accent)}
.day-meta span,.day-end,.local-note {display:none}
.day-meta,.section-head>span {color:var(--muted)}
.day-header>p,.day-route>span,.event-desc,.journey-copy small,.reservation-copy>span {color:var(--secondary)}
.day-reminders {background:#fff7e6;border-color:#f3d19b}
.day-reminders summary {color:#9a6700}
.day-reminders summary small {display:none}
.event-top time {color:var(--accent);font-size:12px}
.status-badge {background:#f2f2f7;color:#636366}
.status-badge.booked,.status-badge.issued {background:rgba(52,199,89,.12);color:#248a3d}
.status-badge.plan {display:none}
.status-badge.optional {background:#fff7e6;color:#9a6700;border-color:#f3d19b}
.event-content,.event-title-row,.event-actions {min-width:0;max-width:100%}
.transport-event {border-color:rgba(60,60,67,.15);border-left:2px solid var(--accent);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.fallback-action {background:#fff7e6!important;border-color:#f3d19b!important;color:#9a6700!important}
.destination-caption small {display:none}
.journey-list,.reservation-list,.todo-list,.source-entry {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.journey-date,.priority-icon,.reservation-icon {color:var(--accent)}
.journey-copy small,.reservation-copy>span {font-size:13px;line-height:1.5}
.progress-ring {background:conic-gradient(var(--accent) var(--progress),#d9d9de 0)}
.todo-priority {background:#fff;border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.todo-priority small {color:var(--accent)}
.todo-item+.todo-item {border-top-color:rgba(60,60,67,.12)}
.check-visual {border-color:#b8b8bd}
.todo-item input:checked+.check-visual {background:var(--accent);border-color:var(--accent)}
.bottom-nav {bottom:0;left:50%;transform:translateX(-50%);width:min(600px,100%);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:6px 10px env(safe-area-inset-bottom);border-radius:0;border:0;border-top:1px solid rgba(60,60,67,.22);background:rgba(249,249,249,.92);box-shadow:0 -4px 16px rgba(0,0,0,.045)}
.nav-button {min-width:0;color:#8e8e93}
.nav-button.active {color:var(--accent);background:transparent}
.nav-count {right:8px;background:#ff3b30}
.sheet-backdrop.active {background:rgba(0,0,0,.32)}
.bottom-sheet {background:var(--canvas);box-shadow:0 -10px 36px rgba(0,0,0,.14)}
.sheet-close {background:#e5e5ea;color:#636366}
.detail-section,.fallback-card {border-top-color:rgba(60,60,67,.14)}
.detail-desc,.detail-copy,.fallback-action-copy {color:var(--secondary)}
.detail-section h4,.fallback-confidence {color:var(--muted)}
.sheet-code {border-color:rgba(60,60,67,.14);background:#fff}
.fallback-trigger,.fallback-note {color:#9a6700}
.toast {background:#1c1c1e}

@media(max-width:420px) {
  .bottom-nav {padding-left:4px;padding-right:4px}
  .nav-button {min-width:0}
}

/* ================================================================
   iOS system pass: grouped surfaces, blue actions, fewer annotations
   ================================================================ */
:root {
  --ink:#1c1c1e;
  --secondary:#636366;
  --muted:#8e8e93;
  --line:rgba(60,60,67,.18);
  --paper:#ffffff;
  --canvas:#f2f2f7;
  --soft:#e5e5ea;
  --accent:#007aff;
  --accent-soft:#eaf3ff;
  --warm:#fff5e6;
  --warm-ink:#9a6700;
}

html {background:#dfe0e5}
body {background:#dfe0e5;color:var(--ink)}
.app {background:var(--canvas);overflow-x:clip;box-shadow:0 0 70px rgba(0,0,0,.08)}
.topbar {background:rgba(242,242,247,.88);border-bottom-color:rgba(60,60,67,.14)}
.brand .icon {color:var(--accent)}
.status-text {color:var(--muted);letter-spacing:.04em}
.page-context {display:none}
.page-head {padding-top:28px}
.now-head {display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0}
.now-head .countdown-pill {justify-self:start;margin:11px 0 0}
.page-head h1 {color:var(--ink);font-weight:700}
.countdown-pill {background:var(--accent-soft);border:1px solid #d4e7ff;color:var(--accent)}
.focus-card {background:#fff;border-color:rgba(60,60,67,.14);box-shadow:0 5px 18px rgba(0,0,0,.04)}
.focus-kicker,.focus-time,.current-label {color:var(--accent)}
.focus-note,.event-reminder {color:var(--warm-ink)}
.primary {background:var(--accent);box-shadow:none}
.secondary {background:var(--soft);color:var(--ink)}
.action {background:#fff;color:var(--accent);border-color:rgba(60,60,67,.2)}
.departure-card,.next-event {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.quiet-status {color:#248a3d}
.flight-route {display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
.flight-route>div {min-width:0}
.flight-route strong,.flight-route b,.flight-route span:not(.flight-line) {overflow-wrap:anywhere}
.flight-line {width:auto}
.flight-line .icon {width:23px;color:#8e8e93}
.departure-note {color:#248a3d}
.date-bar {background:rgba(242,242,247,.92);border-bottom-color:rgba(60,60,67,.16)}
.date-chip.active {color:var(--accent)}
.date-chip.active:after {background:var(--accent)}
.day-meta {color:var(--muted)}
.day-meta span {display:none}
.day-header>p {color:var(--secondary)}
.day-route>span {color:var(--secondary)}
.day-reminders {background:#fff7e6;border-color:#f3d19b}
.day-reminders summary {color:#9a6700}
.day-reminders p {color:#8b6b32}
.event-top time {color:var(--accent)}
.status-badge {background:#f2f2f7;color:#636366}
.status-badge.booked,.status-badge.issued {background:rgba(52,199,89,.12);color:#248a3d}
.status-badge.optional {background:transparent;color:#8e8e93;border-color:rgba(60,60,67,.2)}
.status-badge.plan {color:#8e8e93}
.event-content,.event-title-row,.event-actions {min-width:0;max-width:100%}
.transport-event {border-color:rgba(60,60,67,.15);border-left-color:var(--accent);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.event-desc {color:var(--secondary)}
.fallback-action {background:#fff7e6!important;border-color:#f3d19b!important;color:#9a6700!important}
.day-end,.local-note {display:none}
.overview-cover {box-shadow:0 7px 18px rgba(0,0,0,.06)}
.journey-list,.reservation-list,.todo-list,.source-entry {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.journey-date,.priority-icon,.reservation-icon {color:var(--accent)}
.journey-copy small,.reservation-copy>span,.source-entry small {color:var(--secondary)}
.progress-ring {background:conic-gradient(var(--accent) var(--progress),#d9d9de 0)}
.todo-priority {background:#fff;border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.todo-priority small {color:var(--accent)}
.todo-item+.todo-item {border-top-color:rgba(60,60,67,.12)}
.check-visual {border-color:#b8b8bd}
.check-visual,.todo-item input:checked+.check-visual {border-color:var(--accent)}
.todo-item input:checked+.check-visual {background:var(--accent)}
.bottom-nav {background:rgba(249,249,249,.9);border-top-color:rgba(60,60,67,.22);box-shadow:0 -4px 16px rgba(0,0,0,.045)}
.nav-button.active {color:var(--accent)}
.nav-count {background:#ff3b30}
.sheet-backdrop.active {background:rgba(0,0,0,.32)}
.bottom-sheet {background:var(--canvas);box-shadow:0 -10px 36px rgba(0,0,0,.14)}
.sheet-close {background:#e5e5ea;color:#636366}
.detail-section,.fallback-card {border-top-color:rgba(60,60,67,.14)}
.location-heading>.icon,.fallback-location .icon {color:var(--accent)}
.detail-desc,.detail-copy,.fallback-action-copy {color:var(--secondary)}
.detail-section h4,.fallback-confidence {color:var(--muted)}
.sheet-code {border-color:rgba(60,60,67,.14);background:#fff}
.fallback-trigger,.fallback-note {color:#9a6700}
.toast {background:#1c1c1e}

@media(max-width:420px) {
  .bottom-nav {padding-left:4px;padding-right:4px}
  .nav-button {min-width:0}
  .nav-button>span {white-space:nowrap}
}

/* ================================================================
   Art direction refresh: a quiet field guide for the road
   ================================================================ */
:root {
  --ink:#1d2426;
  --secondary:#5e6b6d;
  --muted:#8a9492;
  --line:#e4e8e5;
  --paper:#ffffff;
  --canvas:#f5f6f3;
  --soft:#eef1ee;
  --accent:#176854;
  --accent-soft:#e5f0e8;
  --warm:#faf3e4;
  --warm-ink:#866a3b;
  --radius:26px;
  --nav-height:76px;
  --top-height:64px;
  --duration-fast:140ms;
  --duration:240ms;
  --duration-sheet:360ms;
  --ease:cubic-bezier(.22,.78,.2,1);
}

html {background:#e1e4e1;scroll-padding-top:150px}
body {background:#e1e4e1;color:var(--ink);letter-spacing:0}
.app {background:var(--canvas);box-shadow:0 0 80px rgba(24,42,32,.06)}
.topbar {height:calc(var(--top-height) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 22px 0;background:rgba(244,246,242,.86);border-bottom:1px solid rgba(202,215,207,.42);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px)}
.brand {gap:9px;font-size:15px;letter-spacing:.01em}
.brand .icon {width:18px;height:18px;stroke-width:1.8}
.status-text {font-size:11px;letter-spacing:.08em;color:#76847f}
.module {padding:0 22px}
.module.active {animation:module-in 260ms var(--ease)}
.page-head {padding:34px 0 25px}
.page-head h1 {font-size:37px;line-height:1.12;letter-spacing:-1.45px;font-weight:720}
.page-context {font-size:11px;letter-spacing:.08em;color:#788682;margin-bottom:11px}
.countdown-pill {padding:7px 11px;font-size:11px;letter-spacing:.02em;background:var(--accent-soft);color:var(--accent);border:1px solid #d5e7da;margin-bottom:3px}
.section-head {margin:31px 0 12px}
.section-head h2 {font-size:18px;letter-spacing:-.3px;font-weight:650}
.section-head>span {font-size:11px;color:#84908d}
.text-button {font-size:12px;min-height:36px}
.button {min-height:43px;padding:0 16px;border-radius:14px;font-size:13px;font-weight:620;letter-spacing:.01em}
.button .icon {width:16px;height:16px}
.primary {background:var(--accent);box-shadow:0 5px 12px rgba(23,105,86,.13)}
.secondary {background:#eaf0ec;color:var(--ink)}
.action {background:rgba(255,255,255,.72);border-color:#d8e3dc;color:#316b5a;min-height:40px;padding:0 12px;font-size:12px}
.action:hover {background:var(--accent-soft)}

/* Now: one decisive card, one clear next action. */
.focus-card {padding:25px 23px 22px;border:1px solid #dfe8e0;border-radius:25px;background:#eef5ef;box-shadow:0 9px 24px rgba(41,82,58,.035)}
.focus-kicker {font-size:11px;letter-spacing:.06em;color:var(--accent)}
.focus-kicker .status-badge {letter-spacing:0}
.focus-card h2 {font-size:30px;line-height:1.22;letter-spacing:-1.05px;margin-top:22px}
.focus-time {font-size:23px;line-height:1.1;margin-top:12px;color:var(--accent);font-weight:600}
.focus-description {font-size:14px;line-height:1.75;margin-top:12px;color:#53656a}
.focus-note {margin-top:15px;font-size:12px;color:var(--warm-ink)}
.focus-actions {gap:10px;margin-top:24px}
.focus-actions .button {min-height:44px}
.focus-progress {font-size:11px;color:#7a8983}
.departure-card {padding:21px;border-radius:22px;background:var(--paper);border:1px solid #e3e9e5;box-shadow:0 4px 14px rgba(36,67,48,.025)}
.departure-top {font-size:12px;color:#516762}
.departure-top>.icon:first-child {width:18px}
.quiet-status {font-size:10px;color:var(--accent);letter-spacing:.04em}
.flight-route {gap:14px;margin:22px 0 17px}
.flight-route strong {font-size:28px;letter-spacing:-.8px}
.flight-route b {font-size:14px}
.flight-line {width:38px}
.flight-line .icon {width:25px}
.departure-card>p {font-size:12px;color:#6d7b78}
.departure-note {margin-top:14px;padding-top:13px;border-top:1px solid var(--line);color:var(--accent);font-size:11px}
.destination-preview {height:204px;margin:31px 0 8px;border-radius:23px;box-shadow:0 9px 22px rgba(32,74,58,.06)}
.destination-preview:after,.overview-cover:after {background:linear-gradient(180deg,rgba(9,38,33,0) 20%,rgba(9,38,33,.7) 100%)}
.destination-caption {left:21px;bottom:21px;gap:3px}
.destination-caption small {font-size:11px;letter-spacing:.08em}
.destination-caption strong {font-size:28px;letter-spacing:-.9px}
.photo-arrow {right:18px;bottom:21px;width:36px;height:36px}
.next-event {gap:14px;padding:18px 17px;border:1px solid #e2e8e4;background:var(--paper);border-radius:20px;box-shadow:0 4px 14px rgba(32,68,46,.025)}
.next-event>time {font-size:12px;min-width:52px;color:var(--accent);font-variant-numeric:tabular-nums}
.next-event strong {font-size:16px;line-height:1.4}
.next-event small {font-size:12px;line-height:1.55;color:#65736f}

/* Days: the date bar is a quiet index; the timeline carries the page. */
.date-bar {top:calc(var(--top-height) + env(safe-area-inset-top));gap:2px;margin:0 -22px;padding:10px 18px 11px;background:rgba(244,246,242,.9);border-bottom:1px solid #dde6df;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px)}
.date-chip {flex:0 0 48px;min-height:66px;padding:7px 4px 9px;border-radius:15px;color:#697872;gap:2px}
.date-chip small {font-size:10px;letter-spacing:.04em}
.date-chip strong {font-size:23px;font-weight:650}
.date-chip.active {background:transparent;color:var(--accent);box-shadow:none}
.date-chip.active:after {content:"";position:absolute;left:10px;right:10px;bottom:4px;height:3px;border-radius:999px;background:var(--accent)}
.date-indicator {display:none}
.day-header {padding:29px 0 0}
.day-meta {font-size:11px;letter-spacing:.06em;color:#798781;margin-bottom:10px}
.day-meta span {font-size:10px;letter-spacing:.04em;color:#9aa49f}
.day-header h1 {font-size:37px;line-height:1.14;letter-spacing:-1.4px;font-weight:720}
.day-header>p {font-size:14px;line-height:1.7;color:#5e6e70;margin-top:10px;max-width:31em}
.day-route {margin:17px -22px 18px;padding:0 22px 11px;border-bottom:1px solid #dce5df;gap:0}
.day-route>span {font-size:12px;color:#65766f}
.day-route>span:not(:last-child):after {padding:0 9px;color:#afbbb4}
.day-reminders {margin:0 0 27px;border:1px solid #dfeadf;background:#edf3ea;border-radius:16px}
.day-reminders summary {min-height:45px;padding:8px 13px;color:#60744f;font-size:12px}
.day-reminders>div {padding:1px 14px 11px}
.day-reminders p {font-size:12px;line-height:1.7;color:#64755c;margin:5px 0 8px}
.timeline-item {padding:0 0 31px 29px}
.timeline-item:before {left:6px;top:9px;bottom:-5px;width:1px;background:#d4e0d8}
.event-dot {left:1px;top:6px;width:11px;height:11px;border:2px solid #abbdb2;box-shadow:0 0 0 4px var(--canvas)}
.schedule-current .event-dot {box-shadow:0 0 0 4px #d9ece0}
.schedule-past .event-dot {background:#a9b9af;border-color:#a9b9af}
.event-top {min-height:22px;margin-bottom:8px;align-items:baseline;row-gap:4px}
.event-top time {font-size:12px;letter-spacing:.04em;color:var(--accent);font-weight:650}
.status-badge {padding:3px 7px;border-radius:999px;font-size:11px;letter-spacing:.02em}
.status-badge.booked,.status-badge.issued {color:#2d725d;background:#e4f0e7}
.status-badge.optional {padding:2px 7px;color:#8a918c;border-color:#d7dfd9}
.status-badge.plan {color:#89958f}
.current-label {font-size:11px;color:var(--accent)}
.event-title-row {gap:9px}
.event-title-row>h2 {min-width:0;overflow-wrap:anywhere;font-size:19px;line-height:1.35;letter-spacing:-.45px;font-weight:650}
.event-title-row>.icon {width:18px;height:18px;color:#88a095;margin-top:2px}
.event-desc {font-size:13px;line-height:1.7;color:#5e6d71;margin-top:6px}
.event-reminder {font-size:12px;line-height:1.7;margin-top:12px;padding-left:10px;color:#876c3e;border-left:2px solid #dfcfa9}
.event-content {min-width:0}
.transport-event {padding:17px 16px 16px;border:1px solid #dfe8e2;border-left:2px solid var(--accent);border-radius:18px;background:var(--paper);box-shadow:0 4px 14px rgba(31,69,47,.025)}
.transport-event .event-title-row>h2 {font-size:18px}
.event-photo {margin-top:14px;border-radius:19px;background:#e8efea}
.event-photo img {aspect-ratio:1.78}
.event-photo>.icon {right:11px;bottom:11px;border-radius:50%;background:rgba(12,42,32,.38)}
.event-actions {gap:7px;margin-top:14px}
.event-actions .action {background:#fbfdfb}
.fallback-action {background:#fcf8ed!important;border-color:#e7dcc1!important;color:#856c3e!important}
.day-end {padding:2px 0 18px;font-size:11px;color:#8d9993}

/* Overview: index-like lists replace competing panels. */
.overview-cover {height:258px;border-radius:25px;box-shadow:0 9px 22px rgba(32,74,58,.06)}
.overview-cover>div {left:22px;bottom:22px}
.overview-cover p {font-size:11px;letter-spacing:.08em}
.overview-cover h2 {font-size:35px;letter-spacing:-1.2px}
.overview-cover span {font-size:11px}
.journey-list,.reservation-list,.todo-list {border:1px solid #e2e7e4;border-radius:20px;background:var(--paper);box-shadow:0 4px 14px rgba(31,64,45,.02)}
.journey-day {gap:14px;padding:16px 17px}
.journey-date {min-width:32px;color:var(--accent)}
.journey-date strong {font-size:24px;font-weight:600}
.journey-date small {font-size:9px;color:#8b9993}
.journey-copy strong {font-size:15px}
.journey-copy small {font-size:11px;color:#7b8985;line-height:1.55}
.journey-day>.icon,.reservation-row>.icon,.source-entry>.icon:last-child {color:#9aa9a1}
.reservation-row {gap:13px;padding:16px 17px}
.reservation-icon,.reservation-thumb {width:40px;height:42px;flex-basis:40px;border-radius:12px;background:#edf3ee}
.reservation-copy strong {font-size:14px}
.reservation-copy>span {font-size:11px;line-height:1.55;color:#7d8985}
.source-entry {margin-top:29px;padding:17px 18px;border:1px solid #e0e8e2;background:var(--paper);border-radius:19px;box-shadow:0 4px 14px rgba(31,64,45,.02)}
.source-entry strong {font-size:14px}
.source-entry small {font-size:11px;color:#7d8985}

/* Todo: one obvious priority, then quiet groups. */
.progress-ring {width:60px;height:60px;flex-basis:60px;background:conic-gradient(var(--accent) var(--progress),#dfe8e1 0)}
.progress-ring:before {background:var(--canvas)}
.progress-ring>span {font-size:17px}
.progress-ring small {font-size:10px}
.todo-priority {padding:18px;border:1px solid #d9e7dc;background:#edf5ee;border-radius:20px;box-shadow:0 4px 14px rgba(39,77,49,.025)}
.priority-icon {width:36px;height:36px;border-radius:12px;color:var(--accent);background:rgba(255,255,255,.63)}
.todo-priority small {font-size:10px;letter-spacing:.06em}
.todo-priority strong {font-size:15px;line-height:1.5}
.todo-item {gap:13px;padding:17px 16px}
.todo-item+.todo-item {border-top-color:#edf1ee}
.check-visual {width:23px;height:23px;flex-basis:23px;border-color:#c8d4cb}
.todo-copy strong {font-size:14px;line-height:1.55}
.todo-copy small {font-size:11px;line-height:1.55;color:#7c8a85}
.local-note {font-size:10px;color:#8c9893}

/* Shared chrome: less decoration, more tactility. */
.bottom-nav {bottom:0;left:50%;transform:translateX(-50%);width:min(600px,100%);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:6px 10px env(safe-area-inset-bottom);border-radius:0;border:0;border-top:1px solid rgba(208,218,211,.82);background:rgba(250,251,249,.9);box-shadow:0 -4px 18px rgba(25,55,38,.05);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.nav-button {gap:4px;border-radius:21px;color:#83918a;font-size:11px}
.nav-button>.icon {width:20px;height:20px}
.nav-button.active {color:var(--accent);background:transparent}
.nav-count {top:3px;right:8px;background:#bd6557;border-color:#fff;font-size:10px}
.sheet-backdrop.active {background:rgba(12,29,21,.36)}
.bottom-sheet {max-height:82dvh;border-radius:31px 31px 0 0;background:var(--canvas);box-shadow:0 -12px 42px rgba(19,38,27,.15)}
.sheet-handle {width:35px;height:4px;margin-top:10px;background:#bfcac3}
.sheet-header {padding:15px 22px 14px}
.sheet-header h3 {font-size:22px;letter-spacing:-.7px}
.sheet-close {width:38px;height:38px;background:#e7eeea;color:#6f8077}
.sheet-content {padding:0 22px calc(26px + env(safe-area-inset-bottom))}
.detail-section {padding:18px 0;border-top-color:#dfe7e1}
.detail-intro {padding-bottom:20px}
.detail-desc,.detail-copy {font-size:14px;line-height:1.75;color:#536469}
.detail-section h4 {font-size:11px;letter-spacing:.06em;color:#87938f}
.location-address {font-size:12px;line-height:1.65;color:#74837d}
.action-row>.button {border-radius:14px}
.detail-gallery {gap:10px;grid-auto-columns:86%}
.detail-gallery>img {border-radius:20px}
.sheet-code {border:1px solid #e2e9e3;background:var(--paper);border-radius:17px}
.fallback-card {border-top-color:#dfe7e1;padding:18px 0 20px}
.fallback-label {min-width:0;font-size:16px}
.fallback-confidence {flex:0 0 auto;font-size:11px}
.fallback-location {font-size:13px}
.fallback-action-copy {font-size:14px;line-height:1.75;color:#526367}
.fallback-trigger {font-size:12px;color:#846b3e}
.fallback-actions .button {border-radius:14px;background:var(--paper)}
.toast {bottom:calc(108px + env(safe-area-inset-bottom));border-radius:999px;background:#23372c;font-size:12px;box-shadow:0 8px 24px rgba(20,45,30,.18)}

@media(min-width:650px) {
  .module {padding-left:32px;padding-right:32px}
  .topbar {padding-left:32px;padding-right:32px}
  .date-bar {margin-left:-32px;margin-right:-32px;padding-left:28px;padding-right:28px}
  .day-route {margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
  .day-header h1 {font-size:41px}
  .overview-cover {height:275px}
}

@media(max-width:360px) {
  .module {padding-left:18px;padding-right:18px}
  .topbar {padding-left:18px;padding-right:18px}
  .date-bar {margin-left:-18px;margin-right:-18px;padding-left:14px;padding-right:14px}
  .day-route {margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .page-head h1 {font-size:34px}
  .day-header h1 {font-size:34px}
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Final iOS light-mode override. Keep this last so the visual system is deterministic. */
:root {--ink:#1c1c1e;--secondary:#636366;--muted:#8e8e93;--line:rgba(60,60,67,.18);--paper:#fff;--canvas:#f2f2f7;--soft:#e5e5ea;--accent:#007aff;--accent-soft:#eaf3ff;--warm:#fff5e6;--warm-ink:#9a6700}
html,body {background:#dfe0e5;color:var(--ink)}
.app {background:var(--canvas);overflow-x:clip;box-shadow:0 0 70px rgba(0,0,0,.08)}
.topbar,.date-bar {background:rgba(242,242,247,.92);border-color:rgba(60,60,67,.16)}
.brand .icon,.focus-kicker,.focus-time,.current-label {color:var(--accent)}
.status-text,.page-context {color:var(--muted)}
.page-context {display:none}
.page-head {padding-top:28px}
.now-head {display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.now-head .countdown-pill {justify-self:start;margin:11px 0 0}
.countdown-pill {background:var(--accent-soft);border-color:#d4e7ff;color:var(--accent)}
.focus-card {background:#fff;border-color:rgba(60,60,67,.15);box-shadow:0 5px 18px rgba(0,0,0,.04)}
.departure-card,.next-event {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.flight-route {display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:8px}
.flight-route>div {min-width:0}
.flight-route strong,.flight-route b,.flight-route span:not(.flight-line) {overflow-wrap:anywhere}
.flight-line {width:auto}
.date-chip.active {color:var(--accent)}
.date-chip.active:after {background:var(--accent)}
.day-meta span,.day-end,.local-note {display:none}
.day-meta,.section-head>span {color:var(--muted)}
.day-header>p,.day-route>span,.event-desc,.journey-copy small,.reservation-copy>span {color:var(--secondary)}
.day-reminders {background:#fff7e6;border-color:#f3d19b}
.day-reminders summary {color:#9a6700}
.day-reminders summary small {display:none}
.event-top time {color:var(--accent);font-size:12px}
.status-badge {background:#f2f2f7;color:#636366}
.status-badge.booked,.status-badge.issued {background:rgba(52,199,89,.12);color:#248a3d}
.status-badge.plan {display:none}
.status-badge.optional {background:#fff7e6;color:#9a6700;border-color:#f3d19b}
.event-content,.event-title-row,.event-actions {min-width:0;max-width:100%}
.transport-event {border-color:rgba(60,60,67,.15);border-left:2px solid var(--accent);box-shadow:0 4px 14px rgba(0,0,0,.035)}
.fallback-action {background:#fff7e6!important;border-color:#f3d19b!important;color:#9a6700!important}
.destination-caption small {display:none}
.journey-list,.reservation-list,.todo-list,.source-entry {border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.journey-date,.priority-icon,.reservation-icon {color:var(--accent)}
.journey-copy small,.reservation-copy>span {font-size:13px;line-height:1.5}
.progress-ring {background:conic-gradient(var(--accent) var(--progress),#d9d9de 0)}
.todo-priority {background:#fff;border-color:rgba(60,60,67,.15);box-shadow:0 4px 14px rgba(0,0,0,.03)}
.todo-priority small {color:var(--accent)}
.todo-item+.todo-item {border-top-color:rgba(60,60,67,.12)}
.check-visual {border-color:#b8b8bd}
.todo-item input:checked+.check-visual {background:var(--accent);border-color:var(--accent)}
.bottom-nav {bottom:0;left:50%;transform:translateX(-50%);width:min(600px,100%);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:6px 10px env(safe-area-inset-bottom);border-radius:0;border:0;border-top:1px solid rgba(60,60,67,.22);background:rgba(249,249,249,.92);box-shadow:0 -4px 16px rgba(0,0,0,.045)}
.nav-button {min-width:0;color:#8e8e93}
.nav-button.active {color:var(--accent);background:transparent}
.nav-count {right:8px;background:#ff3b30}
.sheet-backdrop.active {background:rgba(0,0,0,.32)}
.bottom-sheet {background:var(--canvas);box-shadow:0 -10px 36px rgba(0,0,0,.14)}
.sheet-close {background:#e5e5ea;color:#636366}
.detail-section,.fallback-card {border-top-color:rgba(60,60,67,.14)}
.detail-desc,.detail-copy,.fallback-action-copy {color:var(--secondary)}
.detail-section h4,.fallback-confidence {color:var(--muted)}
.sheet-code {border-color:rgba(60,60,67,.14);background:#fff}
.fallback-trigger,.fallback-note {color:#9a6700}
.toast {background:#1c1c1e}

@media(max-width:420px) {
  .bottom-nav {padding-left:4px;padding-right:4px}
  .nav-button {min-width:0}
}
