/* A quiet composer and roomy recommendation cards share the TravelD system. */
.trip-planner { padding:28px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--white); min-width:0; }
.trip-planner-head { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:30px; }
.trip-planner-brand { display:inline-flex; align-items:center; gap:8px; color:var(--forest); font-size:11px; letter-spacing:.1em; font-weight:700; }
.trip-planner-brand svg { width:21px; height:21px; fill:var(--surface-active); }
.trip-planner h2 { font-size:var(--text-card); letter-spacing:-.035em; line-height:1.45; margin:14px 0 8px; }
.trip-intro { font-size:16px; line-height:1.75; color:var(--muted); margin:0 0 20px; }
.trip-reset { border:0; border-radius:8px; background:var(--surface); padding:8px 10px; min-height:44px; color:var(--forest); font-size:12px; white-space:nowrap; }
.trip-prompts,.trip-clarify { display:flex; flex-wrap:wrap; gap:8px; }
.trip-prompts { margin:16px 0 12px; }
.trip-chip { min-height:44px; padding:9px 15px; border:1px solid transparent; background:var(--surface); border-radius:99px; font:inherit; font-size:13px; color:var(--forest); line-height:1.5; text-align:start; max-width:100%; overflow-wrap:anywhere; transition:background var(--duration-micro),border-color var(--duration-micro); }
.trip-chip:hover { border-color:var(--forest); background:var(--surface-active); }
.trip-composer { border:1px solid var(--line-strong); border-radius:24px; padding:20px; background:var(--white); box-shadow:var(--shadow-quiet); text-align:left; transition:border-color var(--duration-micro),box-shadow var(--duration-micro); }
.trip-composer:focus-within { border-color:var(--forest); outline:2px solid var(--surface-active); outline-offset:2px; }
.trip-composer textarea { display:block; width:100%; min-height:60px; max-height:180px; resize:vertical; border:0; border-radius:0; background:transparent; padding:0; color:var(--ink); font:inherit; font-size:17px; line-height:1.7; }
.trip-composer textarea:focus-visible { outline:none; }
.trip-composer textarea::placeholder { color:var(--subtle); opacity:1; }
.trip-composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.trip-composer-bottom>span { font-size:12px; line-height:1.7; color:var(--muted); max-width:42ch; }
.trip-send { display:inline-flex; justify-content:center; align-items:center; flex-shrink:0; gap:10px; min-height:44px; padding:11px 19px; border:0; border-radius:99px; color:var(--white); background:var(--forest); font:inherit; font-size:14px; font-weight:600; }
.trip-send:hover { background:var(--forest-hover); }
.trip-send svg { width:18px; height:18px; }
.trip-composer-actions { display:flex; align-items:center; flex-shrink:0; gap:8px; }
.trip-voice-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 13px; border:1px solid var(--line); border-radius:99px; background:var(--white); color:var(--forest); font:inherit; font-size:13px; font-weight:600; }
.trip-voice-button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
.trip-voice-button:hover,.trip-voice-button[aria-pressed=true] { background:var(--surface-active); border-color:var(--forest); }
.trip-voice-button:disabled { opacity:.45; cursor:default; }
.trip-voice-privacy { font-size:11px; line-height:1.8; color:var(--muted); margin:12px 0 0; max-width:76ch; }
.trip-voice-controls { padding:16px; margin-top:14px; border:1px solid var(--line); background:var(--surface); border-radius:16px; }
.trip-voice-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:14px; color:var(--forest); }
.trip-voice-timer { font-size:13px; font-variant-numeric:tabular-nums; }
.trip-voice-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:12px; }
.trip-voice-actions button { min-height:44px; border:1px solid var(--line); border-radius:99px; padding:9px 14px; background:var(--white); color:var(--forest); font:inherit; font-size:13px; }
.trip-voice-actions .trip-voice-stop { background:var(--forest); border-color:var(--forest); color:var(--white); }
.trip-voice-actions button:disabled { opacity:.45; }
.trip-voice-status { font-size:12px; color:var(--forest); line-height:1.8; margin:10px 0 0; overflow-wrap:anywhere; }
.trip-voice-status:empty { display:none; }
.trip-voice-status[data-error=true] { color:var(--error); }
.trip-method { margin:12px 0 0; font-size:14px; color:var(--muted); line-height:1.7; }
.trip-clarify:empty { display:none; }
.trip-clarify { margin-top:12px; }
.trip-view-results { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:600; color:var(--forest); text-decoration:underline; text-underline-offset:4px; }
.trip-log { max-height:255px; overflow:auto; overscroll-behavior-y:contain; scrollbar-width:thin; border-top:1px solid var(--line); padding:14px 3px 3px; margin:14px 0; }
.trip-log:focus-visible { outline:2px solid var(--focus); outline-offset:4px; }
.trip-message { margin-bottom:14px; padding:11px 13px; border-radius:12px; }
.trip-message-user { background:var(--surface-active); margin-left:28px; }
.trip-message-assistant { background:var(--paper); margin-right:12px; }
.trip-message-label { display:block; font-size:10px; font-weight:700; color:var(--forest); margin-bottom:4px; }
.trip-message p { margin:0; font-size:14px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.trip-sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.trip-results,.home-sections>.trip-results { scroll-margin-top:96px; padding:40px; border-radius:var(--radius-lg); background:var(--surface); border:0; margin-top:64px; }
.trip-result-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.trip-result-head h2 { font-size:var(--text-section); letter-spacing:-.035em; line-height:1.4; margin:8px 0; }
.trip-result-head p { margin:0; font-size:14px; color:var(--muted); }
.trip-edit { flex-shrink:0; border:0; background:transparent; min-height:44px; padding:0 4px; font:inherit; font-size:13px; font-weight:600; color:var(--forest); }
.trip-conditions { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 24px; }
.trip-condition { border:1px solid var(--line-strong); color:var(--forest); background:var(--white); padding:6px 12px; border-radius:24px; font-size:12px; font-weight:500; }
.trip-result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.trip-result-grid.trip-grid-compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
.trip-product { min-width:0; background:var(--white); border:1px solid var(--line); border-radius:24px; overflow:hidden; display:flex; flex-direction:column; }
.trip-product-media { display:block; position:relative; }
.trip-product-media img { width:100%; height:200px; }
.trip-provider { position:absolute; top:12px; left:12px; background:var(--white-glass); border-radius:24px; padding:4px 10px; color:var(--ink); font-size:11px; font-weight:700; }
.trip-product-body { display:flex; flex-direction:column; flex:1; padding:20px; }
.trip-product-type { color:var(--muted); font-size:11px; }
.trip-product h3 { font-size:20px; line-height:1.5; margin:7px 0 10px; letter-spacing:-.025em; }
.trip-product h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
.trip-product-description { margin:0 0 14px; font-size:14px; line-height:1.8; color:var(--muted); }
.trip-product-reason { padding:14px; border-radius:12px; margin:0 0 18px; background:var(--surface-active); font-size:14px; color:var(--forest); line-height:1.8; }
.trip-product-actions { margin-top:auto; display:flex; flex-direction:column; align-items:stretch; gap:2px; }
.trip-product-actions .btn { font-size:13px; padding:10px; }
.trip-product-actions .text-link { justify-content:center; font-size:12px; }
.trip-product-disclosure { display:block; color:var(--muted); font-size:12px; line-height:1.7; text-align:center; margin-top:4px; }
.trip-result-note { font-size:14px; color:var(--muted); line-height:1.9; margin:16px 0 20px; }
.trip-itinerary { border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); padding:6px 0; }
.trip-itinerary summary { display:flex; justify-content:space-between; gap:12px; align-items:center; list-style:none; cursor:pointer; min-height:56px; font-size:16px; font-weight:600; }
.trip-itinerary summary::-webkit-details-marker { display:none; }
.trip-itinerary[open] summary>span { transform:rotate(45deg); }
.trip-itinerary>p { font-size:12px; color:var(--muted); margin:2px 0 14px; }
.trip-itinerary ol { list-style:none; padding:0; margin:0 0 20px; max-height:400px; overflow:auto; scrollbar-width:thin; }
.trip-itinerary li { display:grid; grid-template-columns:90px minmax(0,1fr); align-items:start; gap:12px; padding:14px 0; border-top:1px solid var(--line); font-size:13px; }
.trip-day-number { color:var(--forest); font-size:12px; font-weight:700; }
.trip-itinerary li a { text-decoration:underline; text-underline-offset:4px; }
.trip-result-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding-top:8px; }
.trip-result-bottom .trip-prompts { margin-bottom:0; }
.trip-result-links { display:flex; flex-wrap:wrap; gap:16px; }
.trip-result-links a { font-size:12px; }
.trip-empty { grid-column:1/-1; padding:24px; border:1px dashed var(--line-strong); border-radius:12px; color:var(--muted); background:var(--white); }
.catalogue-planner { max-width:840px; margin:0 0 40px; }
.home-hero-content .trip-planner { max-width:740px; margin:28px auto 0; padding:0; border:0; background:transparent; text-align:left; }
.home-hero-content .trip-planner-brand { display:none; }
.home-hero-content .trip-planner-head { min-height:0; justify-content:flex-end; }
.home-hero-content .trip-planner-head:has(a),.home-hero-content .trip-planner-head:has(button:not([hidden])) { margin-bottom:12px; }
.home-hero-content .trip-planner h2,.home-hero-content .trip-intro { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.home-hero-content .trip-prompts { justify-content:center; }
.home-hero-content .trip-method { max-width:640px; margin-inline:auto; text-align:center; }
.prep-title { font-size:24px; letter-spacing:-.03em; margin:28px 0 18px; }
.prep-date-box { padding:24px; background:var(--white); border:1px solid var(--line); border-radius:20px; margin-bottom:20px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 24px; align-items:center; }
.prep-date-box h3,.prep-panel h3 { font-size:18px; line-height:1.5; letter-spacing:-.025em; margin:0 0 8px; }
.prep-date-box p,.prep-panel p { margin:0; font-size:14px; line-height:1.85; color:var(--muted); }
.prep-date-form { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.prep-date-form input { min-width:0; width:170px; min-height:48px; border:1px solid var(--line-strong); border-radius:12px; padding:10px 12px; font:inherit; font-size:16px; background:var(--white); color:var(--ink); }
.prep-date-form .btn { font-size:13px; min-height:48px; }
.prep-reference { grid-column:1/-1; justify-self:start; border:0; background:transparent; min-height:44px; padding:0; color:var(--forest); font-size:13px; text-align:left; text-decoration:underline; text-underline-offset:4px; }
.prep-date-error { grid-column:1/-1; color:var(--error)!important; }
.prep-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:20px; }
.prep-panel { min-width:0; padding:24px; border:1px solid var(--line); background:var(--white); border-radius:20px; }
.prep-clothes { background:var(--surface-active); border-color:transparent; }
.prep-transport { margin:20px 0 32px; }
.prep-panel .prep-note { font-size:12px; line-height:1.8; margin-top:12px; }
.prep-panel .prep-reference-note { font-size:13px; color:var(--forest); margin:0 0 14px; }
.prep-forecast { display:flex; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; padding:8px 0 12px; scrollbar-width:thin; }
.prep-day { flex:0 0 90px; display:flex; flex-direction:column; gap:6px; padding:12px 8px; background:var(--surface); border-radius:14px; text-align:center; }
.prep-day>strong { font-size:17px; letter-spacing:-.03em; white-space:nowrap; }
.prep-day>span { font-size:12px; color:var(--muted); }
.prep-panel .prep-temperature { font-size:34px; color:var(--forest); font-weight:600; letter-spacing:-.04em; line-height:1.4; margin:12px 0; }
.prep-pack-list { padding-left:20px; margin:12px 0 18px; font-size:15px; line-height:1.9; }
.prep-pack-list li+li { margin-top:6px; }
.prep-source { display:inline; color:var(--forest); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.prep-links,.prep-citations { display:flex; flex-wrap:wrap; gap:4px 20px; }
.prep-links { margin-top:12px; }
.prep-links .prep-source { display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:600; }
.prep-citations { margin-top:14px; font-size:12px; }
.prep-research { white-space:pre-wrap; overflow-wrap:anywhere; }
.prep-research .prep-source { font-size:12px; font-weight:700; padding-inline:3px; }
.trip-shopping { border-top:1px solid var(--line-strong); padding:20px 0 8px; margin-top:28px; }
.trip-shopping>summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; font-size:26px; font-weight:600; line-height:1.4; letter-spacing:-.03em; }
.trip-shopping>summary::-webkit-details-marker { display:none; }
.shopping-toggle { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--white); font-size:24px; font-weight:400; flex-shrink:0; }
.trip-shopping[open] .shopping-toggle { transform:rotate(45deg); }
.shopping-note,.shopping-nudge { font-size:14px; line-height:1.9; color:var(--muted); max-width:80ch; }
.shopping-nudge { background:var(--surface-active); color:var(--forest); border-radius:12px; padding:14px 18px; }
.trip-kinds { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.trip-kind { min-height:44px; padding:10px 16px; border-radius:99px; background:var(--white); border:1px solid var(--line); color:var(--muted); font:inherit; font-size:13px; }
.trip-kind[aria-pressed=true] { background:var(--forest); border-color:var(--forest); color:var(--white); }
.trip-more { min-height:44px; margin:16px 0 0; border:0; background:transparent; padding:8px 0; font:inherit; font-size:14px; font-weight:600; color:var(--forest); text-decoration:underline; text-underline-offset:4px; }
.trip-product-actions .btn { background:var(--surface-active); border-color:transparent; color:var(--forest); }
.trip-product-actions .btn:hover { background:var(--forest); color:var(--white); }
@media (max-width:1050px) { .prep-date-box { grid-template-columns:minmax(0,1fr); } }
@media (max-width:760px) { .prep-grid { grid-template-columns:minmax(0,1fr); } .prep-date-form { width:100%; } .prep-date-form input { flex:1; } }
@media (max-width:1000px) { .trip-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  .trip-planner { padding:18px; }
  .trip-planner h2 { font-size:19px; }
  .trip-composer { padding:16px; border-radius:20px; }
  .trip-composer textarea { font-size:16px; min-height:64px; }
  .trip-composer-bottom { align-items:flex-end; }
  .trip-composer-bottom { flex-wrap:wrap; }
  .trip-composer-actions { margin-left:auto; }
  .trip-voice-button { padding-inline:12px; font-size:12px; }
  .trip-composer-bottom>span { max-width:20ch; font-size:12px; }
  .trip-chip { font-size:12px; padding-inline:12px; }
  .trip-results,.home-sections>.trip-results { padding:24px 16px; border-radius:24px; margin-top:40px; scroll-margin-top:120px; }
  .trip-result-head { flex-direction:column; gap:4px; }
  .trip-result-head h2 { font-size:24px; }
  .trip-result-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .trip-result-grid.trip-grid-compact { grid-template-columns:minmax(0,1fr); }
  .trip-product-media img { height:175px; }
  .trip-product-body { padding:18px; }
  .trip-itinerary li { grid-template-columns:60px minmax(0,1fr); }
  .trip-result-links { gap:8px 16px; }
  .trip-log { max-height:240px; }
  .home-hero-content .trip-planner { margin-top:24px; }
  .home-hero-content .trip-prompts { gap:8px; }
  .trip-send { padding:10px 14px; }
  .prep-panel,.prep-date-box { padding:18px; }
  .prep-title { font-size:22px; }
  .trip-shopping>summary { font-size:22px; }
  .prep-date-form input { width:145px; }
  .prep-date-form .btn { padding-inline:13px; }
  .prep-transport { margin-bottom:24px; }
}
@media (max-width:360px) { .trip-planner { padding:14px; } .trip-composer-bottom>span { max-width:15ch; } .trip-send { padding-inline:12px; font-size:13px; gap:6px; } }
@media (prefers-reduced-motion:reduce) { .trip-composer { transition:none; } }
