/* Larger text and calmer spacing, applied after the base layout. */
:root { --muted: #4f635b; }
body { font-size: 16px; line-height: 1.7; font-weight: 480; }
h1, h2 { letter-spacing: -.025em; }
.eyebrow { font-size: 13px; letter-spacing: .035em; font-weight: 650; }
.brand-sub { font-size: 12px; line-height: 1.4; }
.header-place { font-size: 16px; }
.langs a, .langs button { font-size: 14px; padding: 8px 11px; }
.new-trip { font-size: 15px; }
.sos summary { font-size: 14px; padding: 10px 14px; }
.foot { font-size: 13px; line-height: 1.65; }
.btn { font-size: 16px; min-height: 52px; }
.cover { padding-top: 40px; }
.cover-content { margin-top: 0; margin-bottom: 58px; max-width: 540px; }
.cover-greeting { font-size: 15px; }
.cover h1 { font-size: clamp(50px,4.8vw,78px); line-height: 1.08; letter-spacing: -.035em; }
.cover-content p { max-width: 440px; font-size: 18px; line-height: 1.75; font-weight: 550; color: #fffefa; }
.cover-bottom { flex-wrap: wrap; row-gap: 18px; }
.cover-bottom>span:first-child { max-width: 100%; font-size: 14px; line-height: 1.5; color: #fffefa; }
.cover-shade { background: linear-gradient(180deg,rgba(17,35,35,.08) 10%,rgba(14,32,32,.48) 42%,rgba(12,30,30,.94)); }
.photo-controls { gap: 6px; }
.photo-controls button, .trip-cover .photo-controls button { width: 35px; height: 35px; }
.photo-controls .icon { width: 18px; height: 18px; }
.photo-counter, .trip-cover .photo-counter { font-size: 13px; min-width: 36px; }
.onboarding { padding-top: 44px; }
.onboarding-intro h2 { font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
.onboarding-intro>p { max-width: 100%; font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
.wizard-progress { margin-bottom: 34px; }
.wizard-progress li { font-size: 14px; line-height: 1.5; gap: 8px; }
.wizard-progress li span { width: 27px; height: 27px; font-size: 12px; }
.step legend { font-size: 21px; line-height: 1.45; margin-bottom: 20px; letter-spacing: 0; }
.chip>span { font-size: 16px; min-height: 56px; padding: 13px 14px; }
.chip b { font-weight: 600; }
.step-hint { font-size: 16px; line-height: 1.7; margin-bottom: 22px; }
.choice-check { flex-basis: 24px; width: 24px; min-width: 24px; height: 24px; }
.choice-check .icon { width: 18px; height: 18px; }
.chips { gap: 10px; }
.budget-display output { font-size: 36px; }
.budget-display { margin-bottom: 22px; }
.budget-estimate { display: grid; gap: 3px; padding: 18px 20px; background: #edf1e8; border-radius: 12px; margin-bottom: 12px; }
.budget-estimate>span:first-child { color: var(--muted); font-size: 14px; font-weight: 600; }
.budget-estimate output { font-size: clamp(26px,2.4vw,34px); line-height: 1.35; font-weight: 750; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: normal; }
.budget-estimate>span:last-child { color: var(--muted); font-size: 14px; }
.budget-includes { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 16px 0 0; }
.budget-includes a { white-space: normal; }
.budget-description { font-size: 17px; line-height: 1.7; min-height: 72px; }
.budget-stops button { font-size: 16px; padding: 12px 8px; }
.budget-rail { height: 100px; }
.budget-rail input { height: 100px; }
.onboarding-note p { font-size: 14px; line-height: 1.7; }
.trip-shell { grid-template-columns: 220px minmax(0,1fr); }
.sidebar { padding-left: 17px; padding-right: 17px; }
.sidebar .eyebrow { font-size: 12px; letter-spacing: .02em; }
.side-link { font-size: 16px; padding: 13px 12px; }
.trip-profile { font-size: 15px; }
.profile-need { font-size: 14px; line-height: 1.7; }
.sidebar-qr { font-size: 14px; }
.trip-cover { height: 290px; }
.trip-cover-content { max-width: 100%; }
.trip-cover h1 { font-size: clamp(38px,3.7vw,56px); line-height: 1.17; }
.trip-cover .cover-greeting { font-size: 14px; }
.trip-cover p { font-size: 17px; line-height: 1.65; max-width: 560px; color: #fffefa; }
.trip-cover-shade { background: linear-gradient(90deg,rgba(14,34,34,.92),rgba(14,34,34,.65) 65%,rgba(14,34,34,.3)); }
.trip-gallery-bottom { flex-wrap: wrap; }
.trip-gallery-bottom .trip-photo-label { font-size: 13px; max-width: none; line-height: 1.5; color: #fffefa; }
.workspace { grid-template-columns: minmax(0,1fr) minmax(340px,.85fr); }
.section-heading h2 { font-size: 32px; line-height: 1.25; }
.section-heading .eyebrow { font-size: 13px; }
.guide-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.guide-tab { font-size: 14px; line-height: 1.5; padding: 12px; min-height: 56px; gap: 9px; }
.guide-tab .icon { width: 21px; height: 21px; }
.guide-content { padding: 26px; }
.guide-section-title h3 { font-size: 22px; line-height: 1.4; }
.guide-section li { font-size: 17px; line-height: 1.85; color: #314d43; margin-bottom: 27px; }
.guide-section li:before { top: 13px; }
.source-link { font-size: 14px; margin-top: 8px; }
.assistant-header h2 { font-size: 19px; }
.assistant-header>div>span { font-size: 14px; }
.assistant-panel { height: min(760px,calc(100dvh - 130px)); min-height: 500px; }
.chat-welcome h3 { font-size: 27px; line-height: 1.3; }
.chat-welcome>p { font-size: 16px; line-height: 1.75; max-width: 310px; }
.suggestions button { font-size: 14px; padding: 14px 12px; line-height: 1.6; }
.msg { font-size: 16px; line-height: 1.8; }
.msg p { margin-bottom: 12px; }
.msg h4 { font-size: 17px; }
a.src, a.route { font-size: 14px; line-height: 1.5; padding: 6px 9px; }
.message-action { min-width: 36px; height: 36px; }
.composer textarea { font-size: 16px; line-height: 1.6; min-height: 55px; }
.clipboard-hint, .composer-note { font-size: 12px; line-height: 1.6; }
.clipboard-status { font-size: 14px; line-height: 1.6; }
.sos-panel li { font-size: 16px; line-height: 1.6; }
.sos-panel h3 { font-size: 16px; }
.sos-panel .source-link { font-size: 14px; }
.qr-intro>p { font-size: 17px; line-height: 1.7; }
.qr-local-note, .qr-target { font-size: 14px; }
.qr-card p { font-size: 16px; }
@media(max-width:1150px) {
  .onboarding { padding-left: 28px; padding-right: 28px; }
  .onboarding-intro h2 { font-size: 31px; }
  .cover-content { margin-top: 0; margin-bottom: 40px; }
  .cover h1 { font-size: 54px; }
  .cover-content p { font-size: 17px; }
  .trip-shell { grid-template-columns: 195px minmax(0,1fr); }
  .side-link { font-size: 15px; padding-left: 10px; padding-right: 10px; }
  .workspace { grid-template-columns: minmax(0,1fr) 330px; gap: 20px; }
  .trip-main { padding-left: 22px; padding-right: 22px; }
  .guide-content { padding: 23px 19px; }
  .section-heading h2 { font-size: 29px; }
  .guide-tab { font-size: 13px; padding: 10px; }
  .header-place { display: none; }
}
@media(max-width:980px) {
  .trip-shell { display: block; }
  .workspace { grid-template-columns: minmax(0,1fr) 340px; }
}
@media(max-width:760px) {
  .brand-sub { font-size: 11px; }
  .langs a { font-size: 13px; }
  .cover { min-height: 470px; padding: 35px 28px 24px; }
  .cover h1 { font-size: clamp(39px,10.8vw,52px); line-height: 1.09; }
  .cover-content { margin-top: 0; margin-bottom: 30px; }
  .cover-content p { font-size: 17px; line-height: 1.75; max-width: 100%; }
  .cover-greeting { font-size: 14px; }
  .cover-bottom>span:first-child { font-size: 13px; max-width: 100%; }
  .photo-controls button, .trip-cover .photo-controls button { width: 34px; height: 34px; }
  .photo-counter, .trip-cover .photo-counter { font-size: 12px; min-width: 32px; }
  .onboarding { padding: 32px 24px 26px; }
  .onboarding-intro h2 { font-size: 31px; line-height: 1.25; }
  .onboarding-intro>p { font-size: 16px; line-height: 1.7; }
  .wizard-progress { gap: 10px; }
  .wizard-progress li { font-size: 12px; gap: 6px; flex-wrap: wrap; }
  .wizard-progress li span { width: 25px; height: 25px; }
  .step legend { font-size: 21px; }
  .chip>span { font-size: 16px; padding: 13px 12px; min-height: 58px; gap: 8px; }
  .step-hint, .budget-description { font-size: 16px; }
  .budget-stops button { font-size: 14px; }
  .budget-description { min-height: 96px; }
  .onboarding-note p { font-size: 14px; }
  .foot { font-size: 12px; flex-wrap: wrap; }
  .foot>span:last-child { max-width: none; text-align: left; }
  .trip-page .top { height: auto; min-height: 80px; flex-wrap: wrap; padding: 13px 16px; }
  .trip-page .brand { gap: 8px; font-size: 29px; }
  .trip-page .brand img { width: 35px; height: 35px; }
  .trip-page .brand-sub { font-size: 10px; max-width: 125px; }
  .trip-languages button { font-size: 12px; padding: 7px; }
  .header-actions { gap: 9px; }
  .sos summary { font-size: 12px; padding: 9px; }
  .trip-main { padding-left: 16px; padding-right: 16px; }
  .trip-cover { height: auto; min-height: 330px; padding: 28px 24px 106px; }
  .trip-cover h1 { font-size: clamp(31px,8.3vw,40px); }
  .trip-cover p { font-size: 16px; line-height: 1.65; max-width: 100%; }
  .trip-cover .cover-greeting { font-size: 13px; }
  .trip-gallery-bottom { left: 24px; right: 24px; bottom: 18px; gap: 12px; }
  .trip-gallery-bottom .trip-photo-label { font-size: 12px; max-width: 100%; }
  .mobile-views a { font-size: 15px; padding: 12px; }
  .workspace { display: block; }
  .section-heading h2 { font-size: 29px; }
  .section-heading .eyebrow { font-size: 12px; }
  .section-heading>.icon { display: none; }
  .guide-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-tab { font-size: 14px; line-height: 1.5; padding: 12px; }
  .guide-tab .icon { width: 20px; height: 20px; }
  .guide-content { padding: 24px 20px; }
  .guide-section-title h3 { font-size: 23px; }
  .guide-section li { font-size: 17px; line-height: 1.85; }
  .source-link { font-size: 14px; }
  .assistant-header h2 { font-size: 19px; }
  .assistant-header>div>span { font-size: 14px; }
  .chat-welcome h3 { font-size: 27px; }
  .chat-welcome>p { font-size: 16px; }
  .suggestions button { font-size: 15px; }
  .msg { font-size: 16px; }
  .composer textarea { font-size: 17px; }
  .clipboard-hint, .composer-note { font-size: 12px; }
  .trip-ready[data-mobile-view="assistant"] .assistant-panel { height: calc(100dvh - 205px); min-height: 440px; }
  .sos-panel { top: calc(100% - 5px); max-height: calc(100dvh - 110px); }
}
@media(max-width:390px) {
  .onboarding { padding-left: 20px; padding-right: 20px; }
  .onboarding-intro h2 { font-size: 29px; }
  .cover { padding-left: 24px; padding-right: 24px; }
  .chip>span { padding-left: 10px; padding-right: 10px; font-size: 15px; }
  .chip .choice-check { flex-basis: 22px; min-width: 22px; width: 22px; height: 22px; }
  .trip-page .top { padding-left: 13px; padding-right: 13px; }
  .trip-page .brand-sub { font-size: 9px; max-width: 110px; }
  .trip-languages button { padding: 7px 6px; }
}

/* Flat photo controls, aligned wordmark and a single language chooser. */
.brand { --brand-title-size: 32px; --brand-sub-size: 12px; --brand-sub-line: 16.8px; display: inline-flex; align-items: center; column-gap: 10px; row-gap: 0; letter-spacing: normal; }
.brand img { display: block; flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
/* The mark and both text lines share one vertical centre without offsets. */
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: auto; transform: none; }
.brand-name { display: block; font: 750 var(--brand-title-size)/1 var(--sans); letter-spacing: -.035em; }
.brand-sub { display: block; width: max-content; margin: 0; font: 550 var(--brand-sub-size)/var(--brand-sub-line) var(--sans); letter-spacing: 0; color: var(--muted); }
.photo-controls button, .trip-cover .photo-controls button { background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; width: 38px; height: 38px; padding: 8px; }
.photo-controls button:hover, .trip-cover .photo-controls button:hover { background: transparent; opacity: .68; }
.photo-controls button:focus-visible { outline: 2px solid #fffefa; outline-offset: 1px; border-radius: 4px; }
.photo-controls .icon { width: 21px; height: 21px; }
.photo-controls button[aria-pressed="true"] { opacity: .75; }
.language-menu { position: relative; flex: 0 0 auto; }
.language-menu summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 10px 0; min-height: 44px; font: 650 15px/1.4 var(--sans); color: var(--text); }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary>.icon:first-child { width: 21px; height: 21px; color: var(--accent); }
.language-menu summary>.icon:last-child { width: 16px; height: 16px; margin-left: 2px; }
.language-menu[open] summary>.icon:last-child { transform: rotate(180deg); }
.language-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.language-popover { position: absolute; top: calc(100% + 13px); right: 0; z-index: 65; width: 410px; max-width: calc(100vw - 28px); max-height: min(650px,calc(100dvh - 120px)); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid #c6d2c5; border-radius: 14px; background: var(--paper); color: var(--text); box-shadow: 0 14px 46px #233d3d24; }
.language-popover h2 { font: 700 23px/1.25 var(--sans); letter-spacing: -.02em; margin: 0 0 22px; }
.language-group-title { font-size: 13px; font-weight: 650; color: var(--muted); margin: 20px 0 10px; }
.language-group-title:first-of-type { margin-top: 0; }
.language-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px; }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 11px 12px; min-height: 46px; border: 0; border-radius: 7px; background: transparent; text-align: left; text-decoration: none; color: var(--text); font: 550 16px/1.45 var(--sans); }
.language-option>span { min-width: 0; overflow-wrap: anywhere; }
.language-option>.icon { width: 18px; height: 18px; color: var(--accent); }
.language-option:hover { background: #eef2e9; }
.language-option.is-selected { background: var(--soft); color: var(--accent); font-weight: 750; }
.language-menu-note { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 20px 0 0; }
@media(max-width:760px) {
  .brand, .trip-page .brand { --brand-title-size: 30px; --brand-sub-size: 10px; --brand-sub-line: 14px; column-gap: 8px; row-gap: 0; }
  .brand img, .trip-page .brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-sub, .trip-page .brand-sub { font-size: 10px; max-width: none; margin: 0; }
  .language-menu summary { font-size: 14px; gap: 6px; }
  .language-menu summary>.icon:first-child { width: 19px; height: 19px; }
  .language-popover { right: -2px; width: min(380px,calc(100vw - 28px)); padding: 22px 18px; }
  .language-option { font-size: 16px; padding: 11px 10px; }
  .photo-controls button, .trip-cover .photo-controls button { width: 36px; height: 36px; }
}
@media(max-width:390px) {
  .brand, .trip-page .brand { --brand-title-size: 28px; --brand-sub-size: 9px; --brand-sub-line: 12.6px; column-gap: 7px; row-gap: 0; }
  .brand img, .trip-page .brand img { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-sub, .trip-page .brand-sub { font-size: 9px; max-width: 112px; }
  .language-menu summary { font-size: 13px; gap: 5px; }
  .language-menu summary>.icon:first-child { display: none; }
}
