/* Estilo A · scoped to Modo viaje. Dimensions and colours from the supplied screens. */
.travel-mode{--postal-rust:#9E5536;--postal-card:#FBF8F1;--postal-shadow:0 24px 48px #16161624,0 2px 6px #1616160d;padding-bottom:calc(116px + env(safe-area-inset-bottom));background:#F3EFE7}
.travel-mode main{padding:20px 16px 36px;max-width:760px}
.travel-mode .masthead{height:86px;padding:24px 24px 10px;position:relative;z-index:10;background:transparent}
.travel-mode .brand{font:500 22px Newsreader,Georgia,serif;letter-spacing:-.5px;color:#161616}
.travel-mode .brand span{color:#9E5536}
.travel-mode .edition{display:none}
.travel-mode #menu-button{margin-left:auto;box-shadow:0 6px 18px #1616161a;border:0;background:#fbf8f1b8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.travel-mode #account-menu{top:80px;z-index:1200;box-shadow:0 16px 40px #16161629}
.travel-mode .section-intro h1{font-size:48px;letter-spacing:-1.6px}
.travel-mode .paper,.travel-mode .activity,.travel-mode .ticket,.travel-mode .phrase-card{box-shadow:0 8px 20px #1616160f;border-radius:26px}
.travel-mode .paper:empty{display:none}
.travel-mode .organic-icon{border-radius:50%;background:#E8E1D5;color:#29485F}
.travel-mode .primary,.travel-mode .small-primary{background:#161616;color:#FBF8F1;box-shadow:0 8px 20px #16161612}
.travel-mode button,.travel-mode a.primary,.travel-mode a.small-primary{transition:transform .16s ease,box-shadow .16s ease}
.travel-mode button:active,.travel-mode a.primary:active,.travel-mode a.small-primary:active{transform:translateY(2px) scale(.985)}
.travel-mode .back{margin-bottom:16px}
.travel-mode .tabs{position:fixed;inset:auto 16px calc(22px + env(safe-area-inset-bottom));width:auto;max-width:728px;height:64px;padding:0 8px;margin:0 auto;border:0;border-radius:32px;background:#161616e6;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 16px 32px #16161640;display:flex;align-items:center;justify-content:space-around;gap:2px;z-index:1000}
.travel-mode .tabs button{flex:0 0 44px;min-width:44px;min-height:44px;height:44px;padding:0;gap:6px;flex-direction:row;border:0;border-radius:22px;color:#E8E1D5;font:600 13px/1.1 Instrument,system-ui,sans-serif}
.travel-mode .tabs button span{display:none}
.travel-mode .tabs [aria-current=page]{flex:0 1 auto;padding:0 14px;background:#FBF8F1;color:#161616;border:0}
.travel-mode .tabs [aria-current=page] span{display:inline}
.travel-mode .tabs button:focus-visible{outline-color:#F7E4C8;outline-offset:2px}
.travel-mode .tabs svg{width:20px;height:20px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* A landscape postcard above the live itinerary. */
.travel-mode:has(main[data-screen=today])>.masthead,.travel-mode:has(main[data-screen=journey])>.masthead{position:absolute;inset:calc(16px + env(safe-area-inset-top)) 0 auto;height:64px;max-width:760px;margin:auto;padding:0 24px}
.travel-mode main[data-screen=today],.travel-mode main[data-screen=journey]{padding:0}
.postcard-cover{height:400px;position:relative;isolation:isolate}
.cover-art{position:absolute;inset:0;z-index:-1;overflow:hidden}
.postcard-landscape{display:block;width:100%;height:100%;background:#F1D9BD}
.cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 22%,#16161603 34%,#161616b3 48%,#1616169e 80%,#16161633 100%)}
.cover-caption{position:absolute;left:24px;right:24px;top:196px;color:#FBF8F1;pointer-events:none}
.cover-caption .eyebrow{font-size:12px;line-height:1.7;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#FBF8F1;margin:0 0 2px;text-shadow:0 1px 3px #0005}
.travel-mode h1.postcard-city{font:400 64px/1 Newsreader,Georgia,serif;letter-spacing:-2px;color:#FBF8F1;margin:0;text-shadow:0 2px 12px #16161633;max-width:100%}
.travel-mode p.postcard-local{font:500 30px/1.2 Caveat,cursive;color:#F7E4C8;margin:3px 0 0;text-shadow:0 1px 5px #16161666}
.postcard-cover.long-city .cover-caption{top:168px}
.cover-weather{position:absolute;right:20px;top:108px;z-index:20;max-width:calc(100% - 40px)}
.cover-weather:has(details[open]){left:16px;right:16px;max-width:none;top:92px}
.travel-mode .cover-weather .weather-compact{margin:0;padding:12px 16px;border-radius:22px;background:#fbf8f1c7;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 30px #16161624}
.travel-mode .cover-weather summary{display:flex;gap:8px;min-height:44px;align-items:center}
.cover-weather .weather-compact summary .organic-icon{background:transparent;width:26px;height:26px;min-width:26px;color:#9E5536;padding:0}
.cover-weather .weather-compact summary strong{font:400 26px/1 Newsreader,serif;color:#161616;white-space:nowrap}
.cover-weather .weather-compact summary small{font-size:11px;max-width:155px;color:#484139;margin-top:4px}
.cover-weather .weather-expand{font-size:0!important;width:8px;height:8px;border-right:1.5px solid #484139;border-bottom:1.5px solid #484139;transform:rotate(45deg);margin:0 2px 0 7px!important}
.cover-weather .weather-compact>.muted,.cover-weather .weather-advice{display:none}
.cover-weather .weather-compact:has(details[open])>.muted,.cover-weather .weather-compact:has(details[open])>.weather-advice{display:block}
.cover-weather .weather-card{max-height:50dvh;overflow:auto;border-top:1px solid #ded8cb;padding:14px 0!important}
.travel-mode .postcard-content{padding:0 16px 28px}
.travel-mode .next-moment{position:relative;z-index:2;margin:-40px 0 24px;padding:20px;border-radius:30px;background:#FBF8F1;box-shadow:var(--postal-shadow);color:#161616;border:0}
.moment-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.travel-mode .moment-heading .eyebrow{font-size:11px;color:#53603c;letter-spacing:1.6px}
.moment-time{font:600 13px/1.3 Instrument,sans-serif;color:#FBF8F1;background:#161616;border-radius:999px;padding:6px 12px;white-space:nowrap;max-width:45%;overflow-wrap:normal}
.travel-mode .next-moment h2{font-size:30px;line-height:1.05;letter-spacing:-.6px;margin:0 0 10px}
.travel-mode .next-moment>p{font-size:14px;line-height:1.45;color:#484139;margin:0}
.travel-mode .next-moment>a{font-size:13px;margin-top:8px}
.moment-progress{display:flex;gap:10px;align-items:center;margin-top:14px}
.moment-dot{width:10px;height:10px;border-radius:50%;background:var(--trip-accent,#9E5536);flex-shrink:0}
.moment-line{min-width:36px;flex:1;height:2px;background:#E8E1D5;border-radius:2px}
.moment-line>span{display:block;height:2px;background:var(--trip-accent,#9E5536)}
.moment-progress small{font-size:12px;line-height:1.35;max-width:58%;color:#484139}
.travel-mode .tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.travel-mode .tool{height:90px;min-height:84px;min-width:0;padding:10px 5px;border-radius:24px;background:#FBF8F1;box-shadow:0 8px 20px #1616160f;gap:8px;font-size:13px;font-weight:500;border:0;line-height:1.2}
.tool-bubble{width:36px;height:36px;border-radius:18px;background:#E8E1D5;display:flex;align-items:center;justify-content:center;color:#29485F}
.tool:nth-child(2) .tool-bubble{color:#65724D}.tool:nth-child(3) .tool-bubble{color:#9E5536}
.travel-mode .tool.lost-tool{grid-column:1/-1;flex-direction:row;height:auto;min-height:52px;border-radius:26px;background:#9E5536;color:#fff;font-size:15px;font-weight:600;box-shadow:0 12px 24px #9e553647;gap:10px;margin-top:4px}
.tool.lost-tool .tool-bubble{background:none;width:22px;height:22px;color:#fff}
.travel-mode .subheading-label{font-size:20px;margin:24px 6px 12px}
.day-information{background:#fbf8f1b8;border-radius:24px;padding:16px;margin-top:22px;box-shadow:0 6px 18px #1616160a}
.day-information .date-selector{margin-bottom:6px}
.day-timeline{margin-top:8px}

/* Mi viaje: countries and the same live tools in coloured blocks. */
.postcard-cover.is-compact{height:250px}
.is-compact .cover-caption{top:82px}
.is-compact.long-city .cover-caption{top:68px}
.is-compact .cover-section{display:block;font-size:11px;letter-spacing:1.8px;font-weight:600;margin-bottom:4px}
.is-compact .cover-caption .eyebrow{font-size:10px;letter-spacing:1.2px}
.is-compact .cover-weather{top:82px;right:16px}
.is-compact .cover-weather:has(details[open]){top:80px;left:16px}
.is-compact .cover-weather .weather-compact{padding:6px 10px}
.is-compact .cover-weather summary{min-height:44px}.is-compact .cover-weather summary strong{font-size:21px}
.is-compact .cover-weather summary small{font-size:10px;max-width:115px}
.is-compact .cover-shade{background:linear-gradient(180deg,transparent 10%,#16161630 25%,#161616b3 43%,#161616a6 90%,#16161666)}
.journey-progress{position:relative;margin:-26px 0 24px;padding:18px 20px;border-radius:28px;background:#FBF8F1;box-shadow:0 20px 40px #1616161f}
.journey-progress-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.journey-progress-head h2{font-size:22px!important;margin:0}
.journey-progress-head>span{font-size:11px;color:#484139;text-align:right;line-height:1.5}
.country-progress-bars{display:flex;align-items:center;gap:6px;margin:14px 0 10px}
.country-progress-bars>span{height:8px;border-radius:4px;background:#E8E1D5}.country-progress-bars .is-current{background:var(--trip-accent,#5B7461)}
.country-progress-labels{display:flex;gap:8px;list-style:none;padding:0;margin:0;justify-content:space-between;font-size:12px;color:#484139;flex-wrap:wrap}
.country-progress-labels [aria-current=step]{color:#161616;font-weight:600}
.travel-mode .journey-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.journey-tile{min-width:0;min-height:112px;padding:16px;border:0;border-radius:26px;background:#FBF8F1;color:#161616;box-shadow:0 8px 20px #1616160f;display:flex;flex-direction:column;justify-content:space-between;text-align:left;gap:8px}
.journey-tile strong{font:400 21px/1.05 Newsreader,Georgia,serif}
.journey-tile small{font-size:12px;color:#484139}
.tile-icon{display:none}
.journey-tile.tile-transport{grid-column:1/-1;min-height:96px;padding:16px 18px;background:#161616;color:#FBF8F1;box-shadow:0 14px 28px #1616162e;display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;row-gap:4px;align-items:center}
.tile-transport .tile-icon{display:flex;grid-row:1/3;width:48px;height:48px;border-radius:50%;background:#fbf8f11f;align-items:center;justify-content:center;color:#F2CFA3}
.tile-transport strong{align-self:end;font-size:22px}.tile-transport small{color:#E8E1D5;align-self:start}
.journey-tile.tile-maps{background:#29485F;color:#FBF8F1}.tile-maps small{color:#D8E3E8}
.journey-tile.tile-packing{background:#AAB39C;color:#161616}.tile-packing small{color:#2E3524}
.journey-budget-bars{display:grid;gap:5px;width:100%;margin:3px 0}
.journey-money-row{display:flex;align-items:center;gap:6px}.journey-money-row small{font-size:10px;width:27px}
.journey-money-bar{flex:1;height:6px;border-radius:3px;background:#E8E1D5;overflow:hidden}.journey-money-bar>span{height:100%;display:block;background:#65724D;border-radius:3px}
.journey-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.travel-mode .journey-pills .journey-row{width:auto;min-height:44px;padding:8px 14px;background:#E8E1D5;border:0;border-radius:22px;box-shadow:none;margin:0;font:500 13px Instrument,sans-serif}
.journey-pills .organic-icon,.journey-pills .journey-row>svg{display:none}.travel-mode .journey-pills .row-copy strong{font:inherit}

/* Passport and existing settings, grouped without changing the form contract. */
.travel-mode main[data-screen=passport]>.section-intro{margin:6px 8px 22px}
.travel-mode main[data-screen=passport]>.section-intro>.eyebrow{display:none}
.travel-mode .passport-profile{position:relative;min-height:300px;padding:22px;background:#29485F;color:#FBF8F1;border-radius:30px;box-shadow:0 24px 48px #29485f52;overflow:hidden;margin:0 0 20px;isolation:isolate}
.passport-profile::after,.passport-profile::before{content:'';position:absolute;z-index:-1;width:180px;height:180px;border:1px solid #fbf8f129;border-radius:50%;right:-40px;top:-40px}
.passport-profile::after{width:120px;height:120px;right:-10px;top:-10px}
.travel-mode .passport-profile>.eyebrow{font-size:12px;letter-spacing:2px;color:#D8E3E8}
.travel-mode .passport-profile h2{font-size:32px;line-height:1.05;margin:6px 0}
.travel-mode .passport-profile .handwritten{font:500 22px/1.3 Caveat,cursive;color:#F2CFA3;margin:6px 0 22px}
.passport-memory-count{color:#D8E3E8;font-size:12px;margin-bottom:14px!important}
.passport-stamps{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-top:38px}
.country-stamp{width:80px;height:80px;flex:0 0 80px;border-radius:40px;border:2px dashed #fbf8f17a;color:#D8E3E8;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(var(--stamp-tilt));position:relative}
.country-stamp:nth-child(even){border-radius:20px}
.country-stamp strong{font:400 24px/1 Newsreader,serif;color:inherit;letter-spacing:0}
.country-stamp>span{font-size:10px;letter-spacing:1px;text-transform:uppercase;margin-top:7px}
.country-stamp.is-stamped{color:#D6DCC7;border-color:#AAB39C;border-style:solid;box-shadow:inset 0 0 0 4px #29485F,inset 0 0 0 5px #aab39c99}
.travel-mode main[data-screen=passport]>.journey-row{min-height:84px;padding:15px 18px;border-radius:26px;background:#FBF8F1;box-shadow:0 10px 24px #16161612;margin:14px 0;border:0}
.travel-mode main[data-screen=passport]>.journey-row strong{font:400 21px Newsreader,serif}.travel-mode main[data-screen=passport]>.journey-row small{font-size:12px}
.travel-mode .passport-settings{padding:0;overflow:hidden;border-radius:26px;margin:16px 0;box-shadow:0 10px 24px #16161612}
.passport-settings details{margin:0;padding:0 18px}.passport-settings details+details{border-top:1px solid #E8E1D5}
.passport-settings summary{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:52px;padding:12px 0;font:400 15px/1.4 Instrument,sans-serif;list-style:none}
.passport-settings summary::-webkit-details-marker{display:none}.passport-settings summary>span{color:#484139;font-size:13px}
.passport-settings details[open]{padding-bottom:16px}.passport-settings details[open] summary{font-weight:600}
.settings-save{padding:0 18px 18px}.passport-settings:not(:has(details[open])) .settings-save{display:none}
.passport-contact{margin:18px 0 0;display:flex;flex-direction:column;align-items:center;gap:3px}
.travel-mode .passport-contact .primary{width:100%;min-height:52px;border-radius:26px;background:#65724D;color:#FBF8F1;font-size:15px;font-weight:600;box-shadow:0 12px 24px #65724d47}
.travel-mode .passport-contact .quiet{font-size:12px;color:#484139}

/* The existing Leaflet map, with floating controls and its existing point dialog. */
.travel-mode:has(main[data-screen=map]){padding:0;overflow:hidden}
.travel-mode:has(main[data-screen=map])>.masthead{display:none}
.travel-mode main[data-screen=map]{max-width:none;position:relative;height:100dvh;padding:0;overflow:hidden}
.travel-mode main[data-screen=map] .map-stage{position:absolute;inset:0;margin:0;height:100%;border:0;border-radius:0}
.travel-mode main[data-screen=map] .travel-map{height:100dvh!important;width:100%;margin:0!important;position:absolute;inset:0;border:0;border-radius:0;background:#EDE6D8}
.map-floating-controls{position:absolute;top:calc(54px + env(safe-area-inset-top));left:16px;right:16px;z-index:600;max-width:728px;margin:auto;pointer-events:none}
.map-floating-controls>*{pointer-events:auto}
.map-search-box{height:52px;padding:0 18px;display:flex;align-items:center;gap:10px;border-radius:26px;background:#fbf8f1db;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 28px #1616161f}
.travel-mode .map-search-box input{border:0!important;background:none!important;padding:0!important;margin:0;min-width:0!important;flex:1;width:100%;height:48px;min-height:48px!important;border-radius:0!important;font:400 15px Instrument,sans-serif;box-shadow:none}
.map-search-box input::placeholder{color:#484139;opacity:1}.map-search-box>span{font:400 18px/1.1 Newsreader,serif;max-width:34%;text-align:right}
.map-floating-controls .filter-chips{display:flex;overflow:auto;scrollbar-width:none;gap:8px;margin:10px -16px 0;padding:0 16px 8px}
.travel-mode .map-floating-controls .filter-chips button{min-height:44px;flex-shrink:0;border:0;border-radius:22px;background:#fbf8f1db;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#161616;padding:0 14px;box-shadow:0 4px 12px #1616160a;font-size:13px;white-space:nowrap}
.travel-mode .map-floating-controls .filter-chips [aria-pressed=true]{background:#161616;color:#FBF8F1}
.map-date-control{margin:0;background:#fbf8f1eb;border-radius:22px;width:fit-content;max-width:100%;padding:0 14px;box-shadow:0 6px 16px #16161612}
.map-date-control summary{font-size:12px;min-height:44px;display:flex;align-items:center;padding:8px 0}
.map-date-control .date-selector{margin:0 0 10px}.map-date-control[open]{width:100%}
.map-search-results{position:absolute;top:58px;left:0;right:0;z-index:20;padding:8px;border-radius:22px;max-height:45dvh;overflow:auto;background:#FBF8F1;box-shadow:0 14px 32px #16161626}
.map-search-results button{display:block;min-height:48px;padding:12px 14px;border:0;background:none;width:100%;text-align:left;font:400 14px Instrument,sans-serif;border-radius:16px}.map-search-results button:hover{background:#E8E1D5}.map-no-results{padding:14px;font-size:13px}
.map-offline-button{position:absolute;right:16px;top:calc(226px + env(safe-area-inset-top));width:54px;min-height:64px;border-radius:27px;border:0;background:#fbf8f1e6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 20px #1616161f;z-index:600;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:10px}
.map-bottom-controls{position:absolute;left:16px;right:16px;bottom:calc(104px + env(safe-area-inset-bottom));z-index:600;display:flex;gap:8px;justify-content:space-between;pointer-events:none}
.map-bottom-controls>details{pointer-events:auto;background:#fbf8f1e6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:22px;margin:0;padding:0 14px;box-shadow:0 10px 24px #1616161f}
.map-bottom-controls summary{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;padding:8px 0}
.map-bottom-controls details[open]{position:absolute;bottom:0;left:0;right:0;border-radius:26px;max-height:48dvh;overflow:auto;padding:8px 16px 16px;z-index:10}
.map-bottom-controls .point-list .journey-row{min-height:56px;padding:10px 0;margin:0;box-shadow:none;border-bottom:1px solid #E8E1D5;border-radius:0}
.map-bottom-controls .point-list .row-copy strong{font-size:16px}.map-bottom-controls .nearby-grid{display:flex;flex-wrap:wrap;gap:8px}.map-bottom-controls .nearby-link{min-height:48px;padding:8px;background:#E8E1D5;border-radius:16px;font-size:12px}
.travel-mode .awe-map-pin{display:flex;align-items:center;justify-content:center;background:none;border:0}
.travel-mode .awe-map-pin>span{width:36px;height:36px;border:3px solid #FBF8F1;border-radius:50%;box-shadow:0 8px 18px #16161640;display:flex;align-items:center;justify-content:center;color:#FBF8F1}
.travel-mode .leaflet-control-zoom{margin-top:300px!important;border:0!important;border-radius:22px;overflow:hidden;box-shadow:0 8px 20px #1616161f!important}
.travel-mode .leaflet-control-zoom a{background:#fbf8f1e6!important;color:#161616!important}
.travel-mode .leaflet-control-attribution{max-width:75vw;font-size:10px!important;background:#fbf8f1eb!important;color:#161616;bottom:0;right:0}
.travel-mode .leaflet-control-attribution a{display:inline!important;min-width:0!important;font-size:10px;color:#29485F}
.travel-mode .bottom-sheet{position:fixed;inset:auto 12px calc(106px + env(safe-area-inset-bottom));margin:0 auto;width:calc(100% - 24px);max-width:704px;max-height:52dvh;padding:18px 20px 20px;border:0;border-radius:30px;background:#FBF8F1;color:#161616;box-shadow:0 24px 48px #1616162e;overflow:auto;animation:postal-sheet-in .22s ease-out}
.travel-mode .bottom-sheet::backdrop{background:#16161612;backdrop-filter:none;-webkit-backdrop-filter:none}
.travel-mode .bottom-sheet .sheet-handle{width:40px;height:4px;background:#E8E1D5;border-radius:2px;margin:0 auto 10px}
.travel-mode .bottom-sheet .sheet-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 4px}
.travel-mode .bottom-sheet .sheet-head .eyebrow{font-size:12px;letter-spacing:1.4px;color:#29485F}
.travel-mode .bottom-sheet h2{font-size:28px;line-height:1.05;letter-spacing:-.5px;margin:0 0 12px}
.travel-mode .bottom-sheet p{font-size:14px;line-height:1.45}
.travel-mode .bottom-sheet .phrase-actions{gap:10px;margin-top:16px;align-items:center;flex-wrap:wrap}
.travel-mode .bottom-sheet .quiet{background:#E8E1D5;padding:12px 16px;border-radius:24px;font-size:14px}
.travel-mode .bottom-sheet .muted{font-size:11px}.travel-mode .bottom-sheet .muted a{min-height:44px}
.travel-mode .bottom-sheet .sheet-close{min-width:44px;min-height:44px;width:44px;height:44px;background:#E8E1D5}
@keyframes postal-sheet-in{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:760px){.postcard-cover{border-radius:0 0 32px 32px}.cover-art{border-radius:0 0 32px 32px}.travel-mode:has(main[data-screen=map]) main{max-width:760px;margin:auto}.travel-mode .tabs{left:max(16px,calc((100vw - 728px)/2));right:max(16px,calc((100vw - 728px)/2))}}
@media(max-width:360px){.travel-mode .tabs [aria-current=page]{padding:0 9px;font-size:12px}.travel-mode .tabs button{flex-basis:42px;min-width:44px}.travel-mode .tools-grid{gap:8px}.tool-bubble{width:34px;height:34px}.country-stamp{width:72px;height:72px;flex-basis:72px}.passport-stamps{gap:10px}.travel-mode .moment-heading .eyebrow{font-size:10px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.travel-mode *,.travel-mode *::before,.travel-mode *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.travel-mode button:active,.travel-mode a:active{transform:none!important}}

/* Keep the three reference tools and the prominent help action above the fold. */
.postcard-content>.subheading-label:has(+.tools-grid){display:none}
.travel-mode .postcard-content>.tools-grid{margin-top:0}
.travel-mode .postcard-content>.tools-grid .tool{height:84px}
.travel-mode .postcard-content>.tools-grid .tool:nth-child(4),.travel-mode .postcard-content>.tools-grid .tool:nth-child(5){order:2}
.travel-mode .postcard-content>.tools-grid .lost-tool{order:1;min-height:52px;height:52px;margin-top:4px}

.postcard-cover.long-city{height:auto;min-height:400px}
.postcard-cover.long-city .cover-caption{position:relative;left:auto;right:auto;top:auto;padding:168px 24px 70px}
.postcard-cover.is-compact.long-city{min-height:300px}
.is-compact.long-city .cover-caption{padding:82px 24px 48px}
.travel-mode .bottom-sheet .muted .quiet{background:none;padding:8px 4px;font-size:11px;min-height:44px}

/* Status messages stay above the postcard; the brand follows its own grid row. */
.travel-mode:has(main[data-screen=today]),.travel-mode:has(main[data-screen=journey]){display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"connection" "notice" "postcard"}
.travel-mode:has(main[data-screen=today])>#connection,.travel-mode:has(main[data-screen=journey])>#connection{grid-area:connection;width:calc(100% - 32px)}
.travel-mode:has(main[data-screen=today])>#notice,.travel-mode:has(main[data-screen=journey])>#notice{grid-area:notice;width:calc(100% - 32px)}
.travel-mode:has(main[data-screen=today])>.masthead,.travel-mode:has(main[data-screen=journey])>.masthead{grid-area:postcard;position:relative;inset:auto;top:calc(16px + env(safe-area-inset-top));align-self:start;width:100%;margin:0 auto}
.travel-mode main[data-screen=today],.travel-mode main[data-screen=journey]{grid-area:postcard;align-self:start;width:100%}
.postcard-cover.long-city:not(.is-compact) .cover-caption{padding-top:196px}

/* v20 visual review: account tools live inside the account menu, never on the cover. */
.travel-mode{--travel-nav-height:64px;--travel-nav-bottom:22px;--travel-nav-clearance:calc(var(--travel-nav-height) + var(--travel-nav-bottom) + 16px + env(safe-area-inset-bottom));padding-bottom:var(--travel-nav-clearance)}
.travel-mode #account-menu{position:fixed;top:calc(76px + env(safe-area-inset-top));right:max(16px,calc((100vw - 728px)/2));width:min(343px,calc(100vw - 32px));min-width:0;max-height:calc(100dvh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;padding:12px 20px;border-radius:24px;background:#FBF8F1;z-index:1300}
.travel-mode #account-trips .trip-picker{display:block;margin:0 0 8px;padding:8px 0 16px;color:#484139;border-bottom:1px solid #E8E1D5;font-size:11px;letter-spacing:.06em}
.travel-mode #account-trips .trip-picker select{display:block;width:100%;max-width:100%;min-height:48px;margin:8px 0 0;padding:10px 12px;border:1px solid #d5cdbf;border-radius:12px;background:#F3EFE7;font-size:14px;letter-spacing:0}
.travel-mode:has(main[data-screen=map])>.masthead{display:flex;position:fixed;inset:calc(16px + env(safe-area-inset-top)) 16px auto auto;width:44px;height:44px;padding:0;z-index:1100}
.travel-mode:has(main[data-screen=map])>.masthead .brand,.travel-mode:has(main[data-screen=map])>.masthead .edition{display:none}
.currency-symbol{font:500 24px/1 Instrument,system-ui,sans-serif;letter-spacing:-1px}
.currency-symbol[data-currency=HKD]{font-size:19px}
.journey-progress-head>span{white-space:nowrap}
.journey-tile.tile-maps{height:auto;min-height:126px}
.journey-tile.tile-maps strong{font-size:20px;line-height:1.15;overflow-wrap:normal}
.journey-tile.tile-maps small{font-size:12px;line-height:1.4;white-space:normal}

.postcard-cover.is-compact{height:calc(250px + env(safe-area-inset-top))}
.is-compact .cover-caption{top:calc(82px + env(safe-area-inset-top))}
.postcard-cover.is-compact.long-city{height:auto;min-height:calc(250px + env(safe-area-inset-top))}
.is-compact.long-city .cover-caption{padding-top:calc(76px + env(safe-area-inset-top));padding-bottom:28px}

/* Keep the complete help action above the floating bar on a 375 × 812 phone.
   The moment remains fully readable in its own keyboard-accessible region
   when an unusually long guide entry needs more space. */
@media(max-width:600px){
 .travel-mode main[data-screen=today] .postcard-cover{height:calc(338px + env(safe-area-inset-top));min-height:calc(338px + env(safe-area-inset-top))}
 .travel-mode main[data-screen=today] .cover-caption{top:calc(172px + env(safe-area-inset-top))}
 .travel-mode main[data-screen=today] .postcard-cover.long-city .cover-caption{position:absolute;left:24px;right:24px;top:calc(172px + env(safe-area-inset-top));padding:0}
 .travel-mode main[data-screen=today] .cover-weather{top:calc(82px + env(safe-area-inset-top))}
 .travel-mode main[data-screen=today] .cover-weather:has(details[open]){top:calc(82px + env(safe-area-inset-top))}
 .travel-mode main[data-screen=today] .cover-weather .weather-compact{padding:10px 14px}
 .travel-mode main[data-screen=today] .postcard-local{font-size:28px;line-height:1.1}
 .travel-mode main[data-screen=today] .next-moment{margin:-32px 0 12px;padding:16px 18px;max-height:max(156px,calc(100svh - 568px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .travel-mode main[data-screen=today] .moment-heading{margin-bottom:10px}
 .travel-mode main[data-screen=today] .next-moment h2{font-size:28px;line-height:1.05;margin-bottom:8px}
 .travel-mode main[data-screen=today] .next-moment>p{font-size:13px;line-height:1.4}
 .travel-mode main[data-screen=today] .moment-progress{margin-top:10px}
 .travel-mode main[data-screen=today] .postcard-content>.tools-grid{gap:8px}
 .travel-mode main[data-screen=today] .postcard-content>.tools-grid .tool:not(.lost-tool){height:76px;min-height:76px;padding:8px 5px;gap:5px;font-size:12px}
 .travel-mode main[data-screen=today] .postcard-content>.tools-grid .lost-tool{height:52px;min-height:52px;margin-top:0}
}

.esim-card{background:#f9f6ed;color:#292d27;border-radius:34px 22px 38px 24px;padding:24px;margin:18px 0 24px;box-shadow:0 6px 20px #402e1c0d;text-align:left;overflow-wrap:anywhere;border:1px solid #d9d7c6}
.esim-card h2{font:500 clamp(28px,7.8vw,36px)/1.04 Newsreader,Georgia,serif;letter-spacing:-.025em;margin:0}
.esim-card p{font:400 15px/1.45 Instrument,system-ui,sans-serif;margin:10px 0}
.esim-card .esim-region{font-weight:650;color:#486148;margin:6px 0 14px}
.esim-offer{padding:12px 0 4px;border-top:1px solid #d9d7c6;margin-top:14px}
.esim-card .esim-provider{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin:0 0 10px}
.esim-provider span{color:#42573f;font-size:14px}
.esim-copy,.esim-link{min-height:44px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:24px;width:100%;box-sizing:border-box;font:600 15px/1.2 Instrument,system-ui,sans-serif;text-decoration:none}
.esim-card .esim-copy{background:transparent;border:1px dashed #929a7a;color:#303d30;justify-content:space-between;padding:10px 15px;white-space:normal}
.esim-copy span{font-size:13px}.esim-copy strong{user-select:all}
.esim-card .esim-link{margin:8px 0 0;background:#344b3a;color:#fff;padding:11px 15px}
.esim-card .esim-disclosure{color:#4e5048;font-size:13px;line-height:1.4;margin:12px 0 0}
