/* Farivo's Premium Travel Desk: one calm, responsive design system. */
body.travel-desk {
  --navy: #122434;
  --navy-2: #1c3344;
  --blue: #173b48;
  --blue-2: #173b48;
  --sky: #eeeee8;
  --sand: #ad8546;
  --paper: #ffffff;
  --canvas: #f5f3ee;
  --ink: #172b39;
  --muted: #66716f;
  --line: #deded5;
  --success: #24735c;
  --shadow: 0 5px 18px rgb(18 36 52 / 4%);
  --radius: 10px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
}
html:has(body.travel-desk) { background: #f5f3ee; }
.travel-desk [hidden] { display: none !important; }
.travel-desk button { font-weight: 600; }
.travel-desk :is(button, a, input, textarea, select):focus-visible { outline: 3px solid #b08a4c; outline-offset: 3px; }
.travel-desk .app-shell { width: 100%; max-width: none; background: var(--canvas); border: 0; box-shadow: none; }
.travel-desk .app-scroll { background: var(--canvas); }
.travel-desk .topbar { position: relative; min-height: 100px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: white; }
.travel-desk .topbar .brand { position: static; transform: none; flex: 0 1 auto; width: auto; min-width: 0; }
.travel-desk .topbar .farivo-logo-lockup { width: min(265px, calc(100vw - 115px)); }
.travel-desk .topbar .farivo-logo-art { height: 70px; }
.travel-desk .topbar .farivo-motto { color: #506163; font-weight: 500; }
.desk-topbar-title { display: none; }
.desk-topbar-title span { display: block; margin-bottom: 5px; color: #877349; font-size: 10px; letter-spacing: .15em; }
.desk-topbar-title strong { font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.travel-desk .top-actions { gap: 14px; }
.travel-desk :is(.avatar-button, .round-button) { box-shadow: none; background: #f7f6f1; border-color: var(--line); }
.desk-account-menu { position: relative; }
.desk-account-menu summary { min-height: 40px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; cursor: pointer; list-style: none; }
.desk-account-menu summary::after { content: "⌄"; }
.desk-account-menu summary::-webkit-details-marker { display: none; }
.desk-account-popover { position: absolute; top: 46px; right: 0; z-index: 100; width: min(320px, calc(100vw - 48px)); padding: 20px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 35px rgb(18 36 52 / 12%); }
.travel-desk .desk-account-popover .banner { flex-direction: column; align-items: flex-start; margin: 0 0 12px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 400; color: var(--muted); box-shadow: none; backdrop-filter: none; }
.travel-desk .desk-account-popover .banner.error { color: var(--danger); }
.travel-desk main { width: 100%; max-width: 1540px; margin: 0 auto; }
.travel-desk .view { padding: 22px 24px 36px; }
.travel-desk .eyebrow { color: #8c6a32; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.travel-desk .section-heading { gap: 16px; margin-bottom: 18px; }
.travel-desk .section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
.travel-desk .page-heading h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(30px, 4vw, 44px); }
.travel-desk .section-subtitle { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 400; }
.travel-desk .section-block { margin-top: 28px; }
.travel-desk :is(.primary-button, .send-button, .recommendation-primary-action) { min-height: 44px; border: 1px solid var(--navy); border-radius: 7px; background: var(--navy); color: white; font-weight: 600; box-shadow: none; }
.travel-desk :is(.primary-button, .recommendation-primary-action):hover { background: #29444e; border-color: #29444e; }
.travel-desk :is(.secondary-button, .quiet-button, .prompt-chip, .filter-chip) { border-radius: 7px; background: white; border-color: var(--line); color: var(--ink); font-weight: 500; box-shadow: none; }
.travel-desk .text-button { color: var(--blue); font-size: 12px; font-weight: 600; }
.travel-desk .danger-text { color: var(--danger); }

/* The hero is photography and typography, not decorative UI. */
.travel-desk .trip-hero,
.travel-desk .trip-hero.has-active-trip { position: relative; isolation: isolate; min-height: 425px; padding: 44px; border: 0; border-radius: 10px; background: #e3e9e7 url("assets/travel-backdrop.webp") right 48% / cover no-repeat; color: var(--ink); box-shadow: none; }
.travel-desk .trip-hero::before,
.travel-desk .trip-hero.has-destination-photo::before { position: absolute; z-index: 0; inset: 0; content: ""; border-radius: inherit; background: linear-gradient(90deg, rgb(249 246 237 / 99%) 0%, rgb(249 246 237 / 94%) 38%, rgb(249 246 237 / 50%) 67%, rgb(249 246 237 / 3%) 100%); }
.travel-desk .trip-hero::after { display: none; }
.travel-desk .trip-hero-image { z-index: -1; opacity: 1; object-position: center; filter: none; }
.travel-desk .trip-hero .hero-copy,
.travel-desk .trip-hero.has-active-trip.has-destination-photo .hero-copy { position: relative; z-index: 1; max-width: 730px; padding: 0; }
.travel-desk #homeHeading,
.travel-desk .trip-hero.has-active-trip #homeHeading { max-width: 660px; margin: 12px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4.3vw, 64px); font-weight: 400; line-height: 1.03; letter-spacing: -.052em; text-shadow: none; color: var(--navy); }
.travel-desk #tripSummary,
.travel-desk .trip-hero.has-active-trip #tripSummary { max-width: 505px; margin-bottom: 25px; color: #4e5a5b; font-size: 15px; font-weight: 400; line-height: 1.65; text-shadow: none; }
.desk-planning-form { display: flex; gap: 8px; align-items: center; width: 100%; margin: 0; padding: 7px; border: 1px solid #d6d6ca; border-radius: 9px; background: rgb(255 255 255 / 98%); box-shadow: 0 5px 16px rgb(18 36 52 / 5%); }
.desk-planning-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
.desk-planning-form input::placeholder { color: #687571; }
.desk-planning-form .primary-button { min-width: 145px; padding: 12px 18px; font-size: 13px; white-space: normal; }
.desk-prompt-examples { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.desk-prompt-examples button { display: inline-flex; align-items: center; gap: 10px; min-height: 33px; padding: 0; border: 0; background: transparent; color: #536365; font-size: 11px; font-weight: 400; text-align: left; }
.desk-prompt-examples button:hover { color: #755728; text-decoration: underline; text-underline-offset: 4px; }
.travel-desk .hero-actions { margin-top: 20px; }
.travel-desk .hero-actions .secondary-dark-button { min-height: 28px; width: auto; padding: 0; background: none; border: 0; color: #344f55; border-radius: 0; box-shadow: none; font-size: 12px; }
.travel-desk .hero-guide-link { position: relative; display: inline-flex; align-items: center; min-height: 32px; margin-top: 5px; padding: 0; border: 0; background: transparent; color: #5b6563; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.travel-desk .hero-guide-link:hover { color: var(--navy); }
.travel-desk .hero-featured { z-index: 2; top: 22px; right: 22px; bottom: auto; left: auto; width: 215px; padding: 14px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 7px; background: rgb(249 248 241 / 96%); color: var(--ink); box-shadow: none; backdrop-filter: none; }
.travel-desk .hero-featured-label { color: #856a3e; font-size: 9px; }
.travel-desk #tripHeroPlace { color: var(--ink); font-family: Georgia, serif; font-weight: 400; }
.travel-desk :is(.hero-featured-meta, .hero-featured-actions button, #tripHeroAttribution) { color: #526365; }
.travel-desk .route-orbit { display: none; }

/* A useful overview, with values taken from the real active itinerary. */
.desk-overview-section { margin-top: 30px; min-width: 0; }
.desk-intro-card, .desk-journey-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: none; }
.desk-intro-card { display: grid; grid-template-columns: 1fr 30%; }
.desk-intro-copy { padding: 27px; }
.desk-intro-copy h3, .desk-journey-card h3 { margin: 0 0 13px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.desk-intro-copy > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.desk-how-it-works { display: grid; gap: 20px; margin: 26px 0 22px; padding: 0; list-style: none; }
.desk-how-it-works li { display: flex; gap: 13px; }
.desk-how-it-works li > span { color: #947442; font-family: Georgia, serif; font-size: 17px; line-height: 1.3; }
.desk-how-it-works strong { font-size: 13px; font-weight: 600; }
.desk-how-it-works p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.desk-intro-photo { background: #d3dfdf url("assets/travel-backdrop.webp") center / cover no-repeat; }
.desk-preferences-note { display: block; margin-top: 13px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.desk-journey-card { padding: 28px; }
.desk-journey-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.desk-trip-kicker { color: #8c6a32; font-size: 10px; letter-spacing: .15em; }
.desk-readiness-tag { padding: 4px 8px; border: 1px solid #cbded5; border-radius: 4px; background: #f2f8f4; color: #256b55; font-size: 11px; }
.desk-trip-dates { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.desk-route { display: flex; flex-wrap: wrap; gap: 5px 10px; padding: 0 0 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.desk-route-arrow { color: #aa864c; }
.desk-trip-stats { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 12px; margin: 22px 0; }
.desk-trip-stats strong { display: block; color: var(--ink); font-size: clamp(17px, 2vw, 25px); font-weight: 500; overflow-wrap: anywhere; }
.desk-trip-stats span { color: var(--muted); font-size: 11px; }
.desk-progress-copy { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.desk-progress-copy strong { color: var(--ink); font-weight: 500; }
.desk-progress { height: 4px; overflow: hidden; background: #eceae3; }
.desk-progress span { display: block; height: 100%; background: #ad8546; }
.desk-next-stop { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.desk-next-stop small { display: block; margin-bottom: 5px; color: #8c6a32; font-size: 10px; }
.desk-next-stop strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.desk-next-stop .primary-button { flex-shrink: 0; padding: 11px 15px; font-size: 12px; }
.travel-desk .trip-library-card { padding: 15px 20px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: none; }
.travel-desk .trip-library-card .eyebrow { display: none; }
.travel-desk .trip-library-card h2 { font-size: 15px; font-weight: 500; }
.travel-desk .trip-library-actions select { border-radius: 6px; border-color: var(--line); }

/* Recommendations become a quiet, contextual travel desk. */
.travel-desk .recommendation-dashboard { display: grid; grid-template-columns: 1fr; gap: 12px; }
.travel-desk .recommendation-lead { min-height: 0; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); box-shadow: none; }
.travel-desk .recommendation-lead::before, .travel-desk .recommendation-lead::after { display: none; }
.travel-desk .recommendation-lead-top { margin-bottom: 16px; }
.travel-desk .recommendation-lead-top span { color: #8b6b35; font-size: 9px; }
.travel-desk .recommendation-lead-top strong { color: var(--muted); font-size: 10px; font-weight: 400; }
.travel-desk .recommendation-lead-icon { display: none; }
.travel-desk .recommendation-lead-copy { display: block; }
.travel-desk .recommendation-lead h3 { color: var(--ink); font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.18; }
.travel-desk .recommendation-lead p { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.travel-desk .recommendation-progress { height: 4px; background: #eeeae0; }
.travel-desk .recommendation-progress span { background: #ad8546; box-shadow: none; }
.travel-desk .recommendation-steps span { color: var(--muted); font-size: 9px; }
.travel-desk .recommendation-steps .ready { color: var(--success); }
.travel-desk .recommendation-secondary-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
.travel-desk .recommendation-option { min-height: 0; padding: 17px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.travel-desk .recommendation-option:hover { background: #eeece6; transform: none; }
.travel-desk .recommendation-option-icon { width: 28px; height: 28px; color: #92733e; background: transparent; box-shadow: none; border-radius: 0; font-size: 20px; }
.travel-desk .recommendation-option-copy small { color: #8b6b35; font-size: 9px; }
.travel-desk .recommendation-option-copy strong { font-size: 13px; font-weight: 600; }
.travel-desk .recommendation-option-copy em { color: var(--muted); font-size: 11px; line-height: 1.5; }
.travel-desk .recommendation-option-copy b { color: var(--blue); font-size: 11px; font-weight: 500; }
.travel-desk .recommendation-primary-action { padding: 11px 14px; font-size: 12px; }
.travel-desk .home-recommendations .section-heading { align-items: flex-start; }
.travel-desk .home-recommendations .text-button { margin-top: 4px; }
.travel-desk .home-tools { padding-top: 25px; border-top: 1px solid var(--line); }
.travel-desk .home-tools .quick-grid { gap: 0; border-top: 1px solid var(--line); }
.travel-desk .home-tools .metric-card:nth-child(n) { grid-column: auto; min-height: 70px; padding: 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; }
.travel-desk .home-tools .metric-card:hover { background: #eeece6; transform: none; }
.travel-desk .home-tools .metric-icon { width: 30px; height: 30px; background: transparent; color: #8c713f; border-radius: 0; box-shadow: none; }
.travel-desk .home-tools .metric-copy small { color: var(--muted); font-size: 9px; font-weight: 500; }
.travel-desk .home-tools .metric-copy strong { font-size: 12px; font-weight: 500; }
.travel-desk .home-tools .metric-arrow { background: transparent; color: #8c713f; }
.travel-desk .home-community-panel { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: none; }
.travel-desk .home-panel-icon { color: #8c713f; background: #f5f3ec; box-shadow: none; }
.travel-desk .home-panel-copy small { color: #8c713f; }
.travel-desk .home-community-content { background: white; border-color: var(--line); }
.travel-desk :is(.today-section, .trip-readiness-section) { padding: 20px; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: none; }
.travel-desk .today-status-badge { border-color: #c9ded3; color: var(--success); background: #f2f8f4; }
.travel-desk .today-card { border: 0; background: none; box-shadow: none; }
.travel-desk :is(.today-next, .today-progress, .today-facts > div, .readiness-check, .readiness-overview) { border-color: var(--line); border-radius: 7px; background: #f8f8f4; box-shadow: none; }
.travel-desk .today-progress-bar span { background: var(--success); box-shadow: none; }
.travel-desk .today-quick-action.change { color: var(--ink); border-color: var(--line); background: #f5f3ec; }
.travel-desk .today-quick-action.change > span { background: #ad8546; }
.travel-desk .trip-readiness-section { min-width: 0; }
.travel-desk .trip-readiness-dashboard { min-width: 0; border-color: var(--line); border-radius: 8px; background: white; box-shadow: none; }
.travel-desk .readiness-overview { gap: 12px; padding: 16px; }
/* Fit the actual panel width, including the narrow desktop sidebar. */
.travel-desk .readiness-checks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; padding: 10px; background: white; }
.travel-desk .readiness-check { grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 7px 10px; min-height: 0; padding: 14px; border: 1px solid var(--line); }
.travel-desk .readiness-check > span:nth-child(2) { overflow-wrap: anywhere; }
.travel-desk .readiness-check strong { font-size: 13px; line-height: 1.4; }
.travel-desk .readiness-check small { font-size: 12px; line-height: 1.5; }
.travel-desk .readiness-check button { grid-column: 2; justify-self: start; min-width: 0; max-width: 100%; min-height: 40px; margin-top: 3px; padding: 9px 12px; border-radius: 6px; color: var(--blue); font-size: 12px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.travel-desk .readiness-score { width: 68px; height: 68px; flex: 0 0 68px; }
.travel-desk .readiness-score::before { width: 54px; height: 54px; }
.travel-desk .readiness-guide { min-width: 0; padding: 16px; background: #f8f8f4; }
.travel-desk :is(.readiness-guide ul, .readiness-map-stops) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.travel-desk .readiness-official-links a { max-width: 100%; overflow-wrap: anywhere; }

/* Existing tools share the same restrained surfaces and action styles. */
.travel-desk :is(.info-card, .recommendation-card, .form-card, .account-card, .planner-intro, .planner-trip-context, .prompt-chips .prompt-chip, .hotel-intro, .hotel-stay-form, .flight-intro, .subscription-card, .profile-section, .safety-intro, .safety-card, .collection-card, .day-card, .trip-day, .itinerary-day, .community-card, .place-card, .hotel-card, .trip-overview) { border-color: var(--line); border-radius: 9px; background-color: white; background-image: none; color: var(--ink); box-shadow: none; }
.travel-desk .day-card { margin-bottom: 20px; padding: 22px; }
.travel-desk .day-card-heading h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.travel-desk .timeline-item { border-radius: 7px; background: #fbfbf8; }
.travel-desk .timeline-item.has-photo { border-radius: 7px; box-shadow: none; }
.travel-desk .day-transit-button { border-radius: 7px; background: var(--navy); box-shadow: none; }
.travel-desk .trip-route-note { border-color: var(--line); border-radius: 7px; background: #eeeee6; }
.travel-desk .trip-route-note span { color: var(--muted); }
.travel-desk :is(.planner-intro, .planner-trip-context) { background: #eeeee6; }
.travel-desk .ai-pulse { color: #8c713f; background: transparent; box-shadow: none; animation: none; }
.travel-desk .page-heading { margin-bottom: 26px; }
.travel-desk .chat-messages { max-width: 900px; margin: 0 auto; }
.travel-desk .chat-form { border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 4px 20px rgb(18 36 52 / 9%); }
.travel-desk .chat-form textarea { color: var(--ink); background: white; }
.travel-desk :is(.filter-chip.active, .prompt-chip:hover) { background: var(--navy); border-color: var(--navy); color: white; }
.travel-desk dialog { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 50px rgb(18 36 52 / 18%); }
.travel-desk dialog::backdrop { background: rgb(18 36 52 / 48%); backdrop-filter: blur(2px); }
.travel-desk .onboarding-visual { border-color: #d9ddd6; background: #f5f3ee; color: var(--ink); box-shadow: none; }
.travel-desk .onboarding-visual span { background: var(--navy); color: white; }
.travel-desk .onboarding-visual strong { color: var(--ink); }
.travel-desk .onboarding-visual small { color: #506163; }
.travel-desk .bottom-nav { width: 100%; gap: 0; margin: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 0; background: white; box-shadow: none; backdrop-filter: none; }
.travel-desk .bottom-nav .nav-item { flex: 1; min-width: 0; border-radius: 7px; background: transparent; color: #6d7673; }
.travel-desk .bottom-nav .nav-item.active { color: var(--navy); background: #eeeae0; box-shadow: none; }
.travel-desk .nav-icon { width: 23px; height: 23px; }
.travel-desk .nav-icon svg { stroke-width: 1.6; }
.travel-desk .bottom-nav .nav-item .nav-icon { border: 0; background: transparent; color: inherit; box-shadow: none; transform: none; }
.travel-desk .bottom-nav .nav-item::before, .travel-desk .bottom-nav .nav-item::after { display: none; }
.travel-desk .nav-label { font-size: 10px; font-weight: 500; }
.desk-sidebar-head, .desk-sidebar-divider, .desk-sidebar-footer,
.travel-desk .bottom-nav .desk-secondary-nav { display: none; }

@media (min-width: 1100px) {
  .travel-desk .app-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .travel-desk .app-scroll { grid-column: 2; grid-row: 1; }
  .travel-desk .topbar { min-height: 88px; padding: 20px 38px; }
  .travel-desk .topbar .brand { display: none; }
  .desk-topbar-title { display: block; }
  .travel-desk .view { padding: 28px 38px 48px; }
  .travel-desk #homeView.active { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 30px; align-items: start; }
  .travel-desk #homeView > :is(.trip-hero, .trip-library-card, .home-tools, .home-community-panel) { grid-column: 1 / -1; }
  .travel-desk #homeView > .trip-hero { order: 0; }
  .travel-desk #homeView > .trip-library-card { order: 1; margin: 0; }
  .travel-desk #homeView > .desk-overview-section { order: 2; grid-column: 1; margin: 0; }
  .travel-desk #homeView > .home-recommendations { order: 3; grid-column: 2; margin: 0; padding-left: 25px; border-left: 1px solid var(--line); }
  .travel-desk #homeView > .today-section { order: 4; grid-column: 1; margin: 0; }
  .travel-desk #homeView > .trip-readiness-section { order: 5; grid-column: 2; margin: 0; }
  .travel-desk #homeView > .home-tools { order: 6; margin: 0; }
  .travel-desk #homeView > .home-community-panel { order: 7; margin: 0; }
  .travel-desk .home-tools .quick-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .travel-desk .home-tools .metric-card:nth-child(n) { border-bottom: 0; }
  .travel-desk .home-tools .metric-card:not(:last-child) { border-right: 1px solid var(--line); }
  .travel-desk .bottom-nav { position: static; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; height: 100dvh; max-height: 100dvh; min-height: 0; overflow-y: auto; gap: 4px; padding: 26px 14px 20px; margin: 0; border: 0; background: #122434; color: white; }
  .desk-sidebar-head { display: block; margin-bottom: 15px; }
  .desk-sidebar-brand { display: flex; align-items: center; gap: 9px; width: 100%; padding: 0 8px; border: 0; background: transparent; color: white; text-align: left; }
  .desk-sidebar-brand img { width: 40px; height: 40px; object-fit: contain; }
  .desk-sidebar-brand span { font-size: 20px; font-weight: 500; letter-spacing: .16em; }
  .desk-sidebar-head > p { margin: 7px 8px 26px; color: #c3af87; font-size: 10px; }
  .desk-sidebar-trip { margin: 0 4px 12px; padding: 15px 10px; border: 1px solid #354958; border-radius: 6px; }
  .desk-sidebar-trip > span { display: block; margin-bottom: 8px; color: #a9b7bd; font-size: 8px; letter-spacing: .13em; }
  .desk-sidebar-trip > strong { display: block; color: #f3f0e7; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
  .travel-desk .desk-sidebar-trip .text-button { margin-top: 8px; padding: 0; color: #cbb88e; font-size: 10px; }
  .travel-desk .bottom-nav .nav-item { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-start; gap: 13px; min-height: 45px; width: 100%; padding: 10px 14px; border: 0; border-radius: 6px; background: transparent; color: #c0ccd1; text-align: left; }
  .travel-desk .bottom-nav .nav-item.active { background: #2b3e4a; color: #f7f4ed; box-shadow: inset 3px 0 0 #b89353; }
  .travel-desk .bottom-nav .nav-item:hover { background: #263b49; color: white; }
  .travel-desk .bottom-nav .nav-label { font-size: 12px; }
  .travel-desk .bottom-nav .nav-icon { width: 21px; height: 21px; }
  .desk-sidebar-divider { display: block; height: 1px; flex: 0 0 1px; margin: 14px 10px; background: #344752; }
  .travel-desk .bottom-nav .desk-secondary-nav { display: flex; }
  .desk-sidebar-footer { display: block; margin-top: auto; padding-top: 30px; }
  .desk-sidebar-footer > p { margin: 0 14px 20px; color: #c3af87; font-family: Georgia, serif; font-style: italic; font-size: 15px; line-height: 1.5; }
  .travel-desk .desk-sidebar-footer .nav-label { font-size: 10px; }
  .desk-sidebar-footer > a { display: block; margin: 10px 14px 0; color: #a8b7bc; font-size: 10px; text-decoration: none; }
  .travel-desk .chat-form { width: min(850px, calc(100vw - 330px)); max-width: none; left: calc(220px + (100vw - 220px) / 2); bottom: 24px; transform: translateX(-50%); }
  .travel-desk .chat-messages { padding-bottom: 110px; }
  .travel-desk .app-shell.planner-composer-active .bottom-nav { display: flex; }
  .travel-desk .app-shell.planner-composer-active .chat-form { bottom: 24px; }
}
@media (min-width: 1100px) and (max-width: 1370px) {
  .travel-desk .trip-hero .hero-copy { max-width: 65%; }
  .travel-desk #homeHeading { font-size: 49px; }
  .desk-planning-form { flex-wrap: wrap; }
  .desk-planning-form .primary-button { flex: 1 1 100%; min-height: 40px; }
  .desk-next-stop { flex-direction: column; align-items: flex-start; }
  .desk-intro-card { grid-template-columns: 1fr 23%; }
}
@media (max-width: 1099px) {
  .travel-desk .trip-hero,
  .travel-desk .trip-hero.has-active-trip { display: flex; flex-direction: column; min-height: 0; padding: 33px; }
  .travel-desk .trip-hero .hero-copy { max-width: 100%; }
  .travel-desk .trip-hero.has-destination-photo .hero-copy { padding: 0; }
  .travel-desk .hero-featured,
  .travel-desk .trip-hero.has-active-trip .hero-featured { position: relative; top: auto; right: auto; left: auto; width: fit-content; max-width: 100%; margin-top: 24px; padding: 13px; }
  .travel-desk .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-desk .chat-form { bottom: calc(87px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .travel-desk .topbar { min-height: 91px; padding: 10px 17px; }
  .travel-desk .topbar .farivo-logo-lockup { width: min(235px, calc(100vw - 94px)); }
  .travel-desk .desk-account-menu { display: none; }
  .travel-desk .view { padding: 18px 16px 28px; }
  .travel-desk .trip-hero,
  .travel-desk .trip-hero.has-active-trip { padding: 27px 22px; border-radius: 9px; }
  .travel-desk .trip-hero::before, .travel-desk .trip-hero.has-destination-photo::before { background: linear-gradient(90deg, rgb(249 246 237 / 96%), rgb(249 246 237 / 78%)); }
  .travel-desk #homeHeading,
  .travel-desk .trip-hero.has-active-trip #homeHeading { margin-top: 14px; font-size: 40px; line-height: 1.06; }
  .travel-desk #tripSummary,
  .travel-desk .trip-hero.has-active-trip #tripSummary { font-size: 13px; line-height: 1.6; }
  .desk-planning-form { flex-wrap: wrap; gap: 5px; }
  .desk-planning-form input { flex: 1 1 100%; width: 100%; padding: 10px; font-size: 16px; }
  .desk-planning-form .primary-button { width: 100%; min-height: 44px; }
  .desk-prompt-examples { flex-direction: column; gap: 0; }
  .desk-prompt-examples button { min-height: 36px; font-size: 11px; }
  .travel-desk .section-heading h2 { font-size: 25px; }
  .desk-intro-card { grid-template-columns: 1fr; }
  .desk-intro-photo { display: none; }
  .desk-intro-copy, .desk-journey-card { padding: 23px; }
  .desk-next-stop { flex-direction: column; align-items: stretch; gap: 15px; }
  .desk-next-stop .primary-button { width: 100%; }
  .travel-desk .home-tools .quick-grid { grid-template-columns: 1fr; }
  .travel-desk .home-tools .metric-card:nth-child(n) { min-height: 58px; padding: 10px 4px; }
  .travel-desk .trip-library-card { padding: 15px; }
  .travel-desk .trip-library-actions { flex-wrap: wrap; }
  .travel-desk .trip-library-actions select { width: 100%; min-width: 0; }
  .travel-desk .trip-library-actions .secondary-button { width: 100%; }
  .travel-desk .page-heading { align-items: flex-start; }
  .travel-desk .trip-heading-actions { flex-wrap: wrap; justify-content: flex-end; }
  .travel-desk .today-section, .travel-desk .trip-readiness-section { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .travel-desk *, .travel-desk *::before, .travel-desk *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 1099px) {
  html.android-standalone body.travel-desk .bottom-nav { margin-bottom: max(40px, env(safe-area-inset-bottom)); }
  html.android-standalone body.travel-desk .chat-form { bottom: max(124px, calc(94px + env(safe-area-inset-bottom))); }
  html.android-standalone body.travel-desk .app-shell.planner-composer-active .chat-form { bottom: calc(8px + env(safe-area-inset-bottom)); }
}
