/* Canonical reference: High-fidelity-UI-concept-board-three-co.png.
   Navy stage, warm paper, precise red actions. One sans family throughout. */
@font-face{font-family:Manrope;src:url('/fonts/Manrope.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{
  --font-ui:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --canvas:#f1ece4;--paper:#f1ece4;--surface:#fff7ed;--ink:#10283b;--muted:#526575;
  --red:#ac2032;--red-soft:#f4dcd3;--line:#d7c8b9;--blue:#e6ece8;--green:#226553;
  --radius:20px;--focus:#19738a;
  --sheet:#fff7ed;--sheet-soft:#f8ebdf;--sheet-ink:#10283b;--sheet-muted:#52606b;
  --sheet-line:#d8c7b7;--sheet-red:#a91f31;--sheet-blue:#e8ede7;
  font-family:var(--font-ui);font-optical-sizing:auto;background:var(--canvas)
}
:root[data-theme="dark"]{
  --canvas:#0c2232;--paper:#0c2232;--surface:#173143;--ink:#fff7ed;--muted:#b8c8cf;
  --red:#ff9ca6;--red-soft:#293b49;--line:#3c5362;--blue:#213f4f;--green:#a2dbc8
}
body{background:var(--canvas);font-family:var(--font-ui)}
button,input,select,textarea{font-family:var(--font-ui);font-variant-numeric:tabular-nums;caret-color:var(--sheet-red)}
h1,h2,h3,h4{font-family:var(--font-ui);font-weight:750;letter-spacing:-.025em;text-wrap:balance}
h1{font-size:36px;line-height:1.15}h2{line-height:1.25}h3{line-height:1.3}
::selection{background:#eec0b6;color:#10283b}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
*{scrollbar-color:#9caaa7 transparent;scrollbar-width:thin}
.money,.ticket-time,.stat strong{font-variant-numeric:tabular-nums}
.header{background:var(--canvas);border-color:var(--line)}
.header-inner{max-width:1200px}.brand{font-weight:800;letter-spacing:-.035em}
.header-actions .icon-button{width:44px;height:44px;border:1px solid var(--line);background:transparent;color:var(--ink)}
.header-actions .theme-toggle[aria-pressed="true"]{background:transparent;border-color:var(--line);color:var(--ink)}
.header-actions .alpha-header{border-color:var(--muted)}
.nav{background:var(--canvas);border-color:var(--line)}
.nav button{font-weight:700}.nav button.active{color:var(--red)}
#main{max-width:1200px}
#main .page-enter{animation:none;min-width:0;background:transparent;padding:0;border-radius:0;color:var(--ink)}
.page-heading{align-items:center;margin-bottom:26px}.page-heading h1,.form-card h1,.alpha-heading h1{font-family:var(--font-ui);font-weight:750;letter-spacing:-.03em}
.page-heading p{line-height:1.6;font-size:15px}.back{font-weight:650;color:var(--muted)}

/* Paper carries local colors, including in dark mode and nested feature widgets. */
#main :is(.card,.form-card,.empty,.dream-card,.trip-card,.trip-hero,.destination-feature,.guide-story,.journal-home,.journal-story,.newsletter-settings,.trip-chat,.alpha-message,.alpha-route,.alpha-place-card,.experience-card,.route-config,.flight-cover-paper){
  --paper:var(--sheet-soft);--surface:var(--sheet);--ink:var(--sheet-ink);--muted:var(--sheet-muted);
  --line:var(--sheet-line);--red:var(--sheet-red);--red-soft:#f4dcd3;--blue:var(--sheet-blue);--green:#226553;
  color:var(--ink);background:linear-gradient(140deg,#fff8ef,#fbeee2);color-scheme:light
}
#main :is(.card,.form-card,.empty,.dream-card,.trip-card){border:0;border-radius:20px}
#main :is(.card,.empty){padding:26px}
#main .card .card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding-left:0;padding-right:0}
#main :is(.card,.empty,.dream-card,.trip-card,.guide-story,.journal-home,.journal-story,.newsletter-settings,.trip-chat) :is(.muted,.form-footer,.field small,.row small,.balance .person-name){color:var(--muted)}
#main :is(.card,.empty,.dream-card,.guide-story,.journal-home,.journal-story,.newsletter-settings,.trip-chat,.alpha-message,.flight-cover-paper) .badge{background:var(--blue);color:#31564f}
#main .badge.warm{background:var(--red-soft);color:var(--red)}
#main .person-dot{background:var(--blue);color:#31564f}
#main :is(.row,.item,.segment,.balance,.split,.trip-chat-form){border-color:var(--line)}
#main :is(.card,.empty,.dream-card) :is(h2,h3){font-family:var(--font-ui);font-weight:750;letter-spacing:-.025em}
#main .notice{border:1px solid var(--line);border-radius:12px;background:var(--red-soft);color:var(--ink)}
#main .notice[hidden]{display:none}
#main .form-error{background:#f7dfd8;color:#951d2c;border:1px solid #d9b0a5;border-radius:12px}
#main .empty{border:1px dashed var(--line);padding:40px 26px}
#main .empty h2{font-size:25px;font-weight:750}
#main .link-box{background:var(--paper);color:var(--ink);border-color:var(--line)}

/* Identical fields and actions across booking, planning, money and account. */
#main .button{min-height:48px;border-radius:12px;background:#10283b;color:#fff7ed;border-color:#10283b;font-weight:750}
#main .button.accent{background:#aa2031;border-color:#aa2031;color:#fff7ed}
#main .button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}
#main .button.quiet{background:transparent;color:var(--red);border-color:transparent}
#main .button.danger{background:transparent;color:var(--red);border-color:#bd8d8e}
#main :is(.text-link,.guide-save,.alpha-reset,.alpha-links button){color:var(--red)}
#main :is(.field input,.field textarea,.field select,.route-config input,.route-config select,.route-controls input,.route-controls select,.editorial-trip-picker select,.alpha-planning select){
  background:#fffbf5;color:#10283b;border:1px solid #baa696;border-radius:12px;min-height:48px;color-scheme:light
}
#main :is(input,textarea)::placeholder{color:#61717a;opacity:1}
#main input[type="checkbox"],#main input[type="radio"]{accent-color:#a91f31;min-height:0}
.button:disabled,button:disabled{cursor:not-allowed;opacity:.55}
#main .form-card{padding:30px;max-width:650px}
#main .form-card>p{max-width:52ch;line-height:1.6}
#main .auth-shell .form-card{width:100%;padding:32px}
#main .auth-art{border-radius:20px;background:var(--sheet-soft);color:var(--sheet-ink)}
#main .auth-art .auth-tagline{font-family:var(--font-ui);font-weight:800;font-size:38px;line-height:1.16}

/* Illustration has a deliberate edge and never competes with controls or copy. */
#main .trip-card{overflow:hidden}
#main :is(.trip-cover,.trip-hero,.destination-feature){background:var(--sheet-soft);color:var(--sheet-ink)}
#main .trip-cover{border-radius:0}#main .trip-hero{border-radius:20px;min-height:0}
#main :is(.trip-cover h2,.trip-hero h1,.destination-feature h2){font-weight:800;letter-spacing:-.035em}
#main :is(.trip-cover .eyebrow,.destination-feature .eyebrow){color:var(--sheet-muted)}
#main .trip-hero .badge{background:var(--sheet-soft);color:var(--sheet-muted)}
#main .trip-summary{border-top:1px dashed var(--line)}
#main .dream-card{padding:0;overflow:hidden}
.dream-art{display:block;width:100%;height:190px;object-fit:cover}
.dream-copy{padding:24px}.dream-copy h2{font-size:27px;line-height:1.2;margin-bottom:10px}
.dream-copy .actions{border-top:1px dashed var(--line);padding-top:12px}
.dream-copy .badge{margin-top:14px}
#main .alpha-entry{background:transparent;color:var(--ink);border-top:1px solid var(--line);border-radius:0;padding:16px 0}
#main .alpha-entry small{color:var(--muted)}
#main .alpha-entry .alpha-arrow{color:var(--red)}
#main .alpha-mark{border-color:var(--line)}

/* The boarding pass is the object, rather than a card inside another card. */
#main .flight-setup,#main .flight-cover-page{background:transparent;padding:0;border-radius:0;max-width:760px}
#main .flight-setup #quick-flight{background:linear-gradient(140deg,#fff8ef,#fbeee2);color:var(--sheet-ink);border:0;border-radius:22px;padding:30px}
#main .flight-setup #quick-flight :is(h1,label){color:var(--sheet-ink)}
#main .flight-setup #quick-flight h1,#main .flight-cover-paper h2{font-weight:750}
#main .flight-detail-stage{background:transparent;padding:0;border-radius:0}
#main .flight-detail-stage>h1{font-family:var(--font-ui);font-weight:750;font-size:24px;color:var(--ink);margin-bottom:18px}
#main .boarding-ticket{--ticket-cut:var(--canvas);border:0;border-radius:22px;background:linear-gradient(140deg,#fff8ef,#fbeee2);color:#10283b}
#main .ticket-main{padding:28px}
#main .boarding-ticket .ticket-top strong{font-weight:800;letter-spacing:.055em;font-size:20px}
#main .boarding-ticket .ticket-route .ticket-airport-code{font-family:var(--font-ui);font-weight:800;letter-spacing:-.035em;font-size:clamp(36px,5vw,58px)}
#main .boarding-ticket .ticket-route .ticket-airport-name{font-family:var(--font-ui);font-weight:650;font-size:17px}
#main .boarding-ticket .ticket-route .ticket-time{font-family:var(--font-ui);font-weight:800;letter-spacing:-.035em;font-size:clamp(29px,4vw,40px)}
#main .boarding-ticket :is(.ticket-status,.ticket-details,.flight-delay-help,.flight-insight){color:#10283b;border-color:#d8c7b7}
#main .boarding-ticket :is(.ticket-actions button,.ticket-keep,.flight-status-check button){color:#a91f31}
#main .boarding-ticket .ticket-tear{background:#f8ebdf;border-color:#bba99a}
#main .boarding-ticket .ticket-route-icon{color:#a91f31}
#main .boarding-ticket .ticket-status{background:#f6ebe1}
#main .boarding-ticket .ticket-status[data-demo-status="delayed"]{background:#f4dcd3;color:#951d2c}
#main .boarding-ticket .flight-status-check .ticket-check-button{color:#fff7ed;background:#aa2031;border:0}
#main .flight-cover-intro{color:var(--ink)}
#main .flight-cover-intro h1{font-family:var(--font-ui);font-weight:750}
#main .flight-cover-intro p{color:var(--muted)}
#main .flight-cover-paper{border-radius:22px;padding:28px}
#main .flight-cover-rows{border-top:1px dashed #baa99b}
#main .collected-ticket{background:var(--sheet);border:0;border-radius:20px;color:var(--sheet-ink)}
#main .collected-copy p{font-family:var(--font-ui);color:var(--sheet-ink);font-size:23px;font-weight:750}
#main .collected-copy span{color:var(--sheet-muted)}
#main .flight-insurance{background:var(--sheet-soft);color:var(--sheet-ink)}
#main .upcoming-flight{background:var(--sheet);color:var(--sheet-ink);border:0;border-radius:16px}
#main .upcoming-flights-heading h2{font-family:var(--font-ui);font-weight:750}

/* Money is a readable shared receipt, without decorative dashboard metrics. */
#main[data-screen="expenses"] .section-heading{align-items:baseline;flex-wrap:wrap}
#main[data-screen="expenses"] .section-heading>.money{font-size:28px;font-weight:800;letter-spacing:-.035em}
#main[data-screen="expenses"] .item-head{align-items:baseline}
#main[data-screen="expenses"] .balance{border-bottom:1px solid var(--line)}
#main[data-screen="expenses"] .balance:last-child{border-bottom:0}

/* A conversation on the stage; compact paper responses contain interactive cards. */
#main .alpha-heading h1{font-size:28px;font-weight:750}
#main :is(.alpha-context,.alpha-route,.route-result,.alpha-place-card,.experience-card,.voice-panel,.alpha-planning,.trip-ai){border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px}
#main .alpha-message{border:0;border-radius:16px;padding:20px}
#main .alpha-user{background:#eee0d1;color:#10283b}
#main .alpha-thread>.alpha-message:first-child{--ink:inherit;--muted:inherit;--red:inherit;--line:inherit;background:transparent;color:inherit;border:0;padding:0;font-size:19px;line-height:1.6}
#main .alpha-message :is(.alpha-route,.alpha-place-card,.experience-card){background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding-left:0;padding-right:0}
#main :is(.alpha-disclosure,.alpha-speaker,.alpha-heading p,.alpha-composer>label,.alpha-motion-toggle,.alpha-place-note,.alpha-place-card span,.route-result li small){color:var(--muted)}
#main .alpha-composer{background:transparent}
#main .alpha-composer>div{background:#fffbf5;color:#10283b;border:1px solid #baa696}
#main .alpha-composer textarea{color:#10283b}
#main .alpha-send{width:44px;height:44px;background:#aa2031;color:#fff7ed;border-radius:10px}
#main :is(.alpha-topics button,.alpha-suggestions button,.alpha-wish-choices button,.alpha-trip-choices button,.alpha-choices label span){min-height:44px;background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:12px}
#main .alpha-choices input:checked+span{background:var(--red-soft);border-color:var(--red)}
#main :is(.alpha-place-card .text-link,.alpha-data-options summary,.alpha-composer>details summary,.alpha-motion-panel summary){min-height:44px}
#main .trip-chat{padding:30px;border-radius:22px}
#main .trip-ai{padding:16px 0;background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0}
#main .trip-message{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:14px}
#main .trip-message.own{background:#eee0d1;color:#10283b;border-color:#d6c1ac}
#main .trip-message.assistant{background:#f4e7da;color:#10283b;border-color:#d6c1ac}
#main .trip-message time{color:var(--muted)}

/* Every reading and settings surface is a page of the same travel folio. */
#main :is(.guide-story,.journal-home,.journal-story,.newsletter-settings){padding:34px;border-radius:22px;min-width:0}
#main .guide-story-title h1{font-family:var(--font-ui);font-size:54px;line-height:1.08;font-weight:800}
#main .guide-story-intro{font-family:var(--font-ui);font-size:24px;font-weight:500;line-height:1.55}
#main .guide-tile strong{overflow-wrap:anywhere;hyphens:auto}
#main :is(.guide-section-heading h2,.guide-story-aside h2,.guide-collection h2,.guide-tile strong,.journal-cover h2,.journal-story-heading h1,.journal-bottom>p,.journal-recipe h2,.newsletter-settings>h1){font-family:var(--font-ui);font-weight:750;letter-spacing:-.03em}
#main .journal-masthead h1{font-size:clamp(46px,8vw,88px);letter-spacing:-.04em;font-weight:800}
#main :is(.guide-stop p,.guide-route-note,.guide-places-message,.guide-places-source,.guide-place p,.guide-story-aside>p,.guide-offline p,.guide-picker-privacy,.guide-picker-message p){color:var(--muted)}
#main :is(.guide-save,.guide-places-source a,.guide-place a,.guide-story-title p,.guide-story-aside>a,.guide-picker-create,.guide-picker-message strong,.guide-picker-error:not(:empty)){color:var(--red)}
#main .guide-picker{background:var(--paper);border:1px solid var(--line);border-radius:12px}
#main .guide-places-filter{min-height:44px;color:var(--ink);border-color:var(--line)}
#main .guide-places-filter.selected{background:var(--ink);border-color:var(--ink);color:#fff7ed}
#main :is(.journal-choices label span,.journal-trip-choice,.journal-save-actions button){border-radius:12px;min-height:44px}
#main .visited-map{background:#e5ece6;border-color:var(--line)}
#main .visited-map svg path{fill:#c5d4c9}
#main .visited-map-marker span{border-color:#fff7ed}
.unsubscribe-page{padding:32px;background:var(--sheet);color:var(--sheet-ink);border-radius:22px}
.unsubscribe-page h1{font-family:var(--font-ui);font-weight:750}

@media(hover:hover){#main .button.accent:hover,#main .alpha-send:hover{background:#8c1928;border-color:#8c1928}#main .row:hover{color:var(--red)}}
/* Chrome can resize the whole viewport for its keyboard, leaving no overlay inset. */
@media(hover:none) and (pointer:coarse){.text-entry .nav{display:none}}
@media(max-width:740px){
  #main{padding:22px max(14px,env(safe-area-inset-right)) calc(var(--nav) + 26px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  .page-heading{gap:14px;align-items:flex-start}.page-heading h1,.form-card h1{font-size:29px}.page-heading p{font-size:14px}
  #main :is(.card,.empty){padding:22px}.columns{gap:20px}.trip-grid{gap:20px}
  #main :is(.form-card,.auth-shell .form-card){padding:25px 22px}
  #main .flight-setup #quick-flight{padding:26px 22px}
  #main .ticket-main{padding:24px 22px}
  #main :is(.guide-story,.journal-home,.journal-story,.newsletter-settings,.trip-chat){padding:26px 22px;border-radius:20px}
  #main .guide-story-title h1{font-size:38px}#main .guide-story-intro{font-size:21px}
  .guide-story-title{flex-wrap:wrap;gap:10px}.journal-cover{gap:24px}
  .dream-art{height:170px}.dream-copy{padding:22px}.dream-copy h2{font-size:26px}
  #main .alpha-heading h1{font-size:26px}
  #main .boarding-ticket .ticket-route .ticket-airport-code{font-size:clamp(31px,9vw,40px)}
  #main .boarding-ticket .ticket-route .ticket-time{font-size:clamp(26px,7vw,34px)}
  #main .boarding-ticket .ticket-route .ticket-airport-name{font-size:15px}
}
@media(max-width:370px){.header{padding-left:14px;padding-right:14px}.brand{font-size:15px}.brand svg{width:20px}.header-actions{gap:8px}.header-actions .icon-button{width:44px;height:44px}.page-heading{flex-direction:column}.form-pair{grid-template-columns:1fr}#main .ticket-main{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){.page-enter{animation:none!important}.alpha-header::after,.alpha-header .alpha-sculpture{animation:none!important}}
.flight-trip-target{margin:8px 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.flight-trip-target summary{min-height:48px;align-content:center;font-size:13px;line-height:1.5;color:var(--muted);cursor:pointer;padding:8px 0}
.flight-trip-target>.field{margin:8px 0 18px}

#main :is(h1,h2)[tabindex="-1"]:focus-visible{outline:none}

#main .auth-art::after{display:none}
.auth-destination-art{display:block;width:calc(100% + 70px);max-width:none;margin:24px -35px 0;aspect-ratio:1.7;object-fit:cover}

/* Spanning displays use each physical pane; controls stay clear of the hinge. */
@media(horizontal-viewport-segments:2){
  #main{--fold-outer-left:max(24px,env(safe-area-inset-left));--fold-outer-right:max(24px,env(safe-area-inset-right));--fold-inner:24px;--fold-first:calc(env(viewport-segment-width 0 0) - var(--fold-outer-left) - var(--fold-inner));max-width:none;margin:0;padding-left:var(--fold-outer-left);padding-right:var(--fold-outer-right)}
  #main :is(.columns,.trip-grid,.auth-shell){max-width:none;margin-left:0;margin-right:0;display:grid;grid-template-columns:minmax(0,var(--fold-first)) minmax(0,calc(env(viewport-segment-width 1 0) - var(--fold-outer-right) - var(--fold-inner)));column-gap:calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0) + 2 * var(--fold-inner))}
  #main .page-enter>:is(.form-card,.empty,.flight-setup,.flight-cover-page,.guide-story,.journal-home,.journal-story,.newsletter-settings,.trip-chat,.upcoming-flights,.guide-collection,.passport-grid,.ticket-collection,.passport-tickets,.visited-map-section){width:var(--fold-first);max-width:var(--fold-first);margin-left:0;margin-right:0}
  #main.alpha-content>.page-enter{max-width:var(--fold-first);margin-left:0;margin-right:0}
  #main :is(.guide-story-layout,.journal-cover){grid-template-columns:1fr}
  #main .page-heading>div{max-width:var(--fold-first)}
  .nav{display:grid;padding-left:0;padding-right:0;gap:0;grid-template-columns:repeat(2,minmax(0,calc(env(viewport-segment-width 0 0) / 2))) calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)) repeat(2,minmax(0,1fr))}
  .nav button{min-width:0;width:100%;max-width:none}.nav button:nth-child(3){grid-column:4}.nav button:nth-child(4){grid-column:5}
}
@media(horizontal-viewport-segments:2) and (max-width:740px){#main{--fold-outer-left:max(14px,env(safe-area-inset-left));--fold-outer-right:max(14px,env(safe-area-inset-right));--fold-inner:14px}}
@media(vertical-viewport-segments:2){#main{min-height:0;height:calc(env(viewport-segment-height 0 0) - 77px - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior-y:contain;padding-bottom:24px}}
