/* Packing help opens beside the list on wide screens and fills smaller screens. */
#assistant-open{position:fixed;z-index:30;right:max(24px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;min-height:66px;max-width:calc(100vw - 32px);margin:0;padding:14px 21px 14px 16px;border:1px solid #507262;border-radius:18px;background:var(--green,#24483c);color:#fffefa;box-shadow:0 8px 28px #15392c3d,0 0 0 4px #fffefa; font:inherit;white-space:normal;text-align:left;line-height:1.4;cursor:pointer}
#assistant-open:not([data-visible=true]),#assistant-open[aria-expanded=true],.analytics-consent-open #assistant-open,body:has(dialog[open]) #assistant-open{display:none!important}
#assistant-open:hover{background:#163a2d;box-shadow:0 10px 30px #15392c4d,0 0 0 4px #fffefa}
#assistant-open:focus-visible{outline:3px solid #987128;outline-offset:6px}
.assistant-entry-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:#ffffff16;color:var(--lime,#e4edb0);font-size:25px;line-height:1}
.assistant-entry-copy{display:flex;flex-direction:column;gap:2px}
.assistant-entry-title{font-size:15px;font-weight:650;letter-spacing:-.15px}
.assistant-entry-description{font-size:11px;font-weight:400;color:#e2ebdf}
.assistant-viewed-item{outline:2px solid var(--green,#24483c);outline-offset:4px;border-radius:5px}
.packing-assistant{position:fixed;z-index:80;inset:16px 16px 16px auto;width:400px;display:flex;flex-direction:column;min-height:0;border:1px solid #cbd5bf;border-radius:18px;background:var(--white,#fffefa);color:var(--ink,#24483c);box-shadow:0 8px 35px #193e2f1c;overflow:hidden;font-size:14px;line-height:1.6;text-align:left}
.packing-assistant *{box-sizing:border-box}
.packing-assistant button,.packing-assistant textarea{font:inherit;color:inherit}
.packing-assistant button{min-height:44px;cursor:pointer}
.packing-assistant button:disabled{cursor:default;opacity:.5}
.packing-assistant button:focus-visible,.packing-assistant textarea:focus-visible,.packing-assistant a:focus-visible,.packing-assistant summary:focus-visible{outline:3px solid #987128;outline-offset:3px}
.assistant-header{flex:none;padding:13px 22px 18px;border-bottom:1px solid var(--line,#dce1d3);background:#f5f7ef}
.assistant-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.assistant-back,.assistant-clear{border:0;background:transparent;padding:8px 0;font-size:12px!important;text-align:left}
.assistant-back{font-weight:600!important}
.assistant-clear{color:var(--muted,#637060)!important;font-size:11px!important;text-decoration:underline;text-underline-offset:3px}
.assistant-title-row{display:flex;align-items:center;gap:10px}
.assistant-title-row h2{font-size:22px;font-weight:650;letter-spacing:-.55px;line-height:1.3;margin:0}
.assistant-ai-label{padding:2px 7px;background:#e6ecd7;border:1px solid #ced8be;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:.4px}
.assistant-context{font-size:12px;color:var(--muted,#637060);line-height:1.5;margin:8px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.assistant-service-status{flex:none;padding:15px 22px;background:#f6f0de;border-bottom:1px solid #e4d9b9;font-size:12px;line-height:1.6}
.assistant-service-status strong{display:block;font-size:13px;font-weight:650}
.assistant-service-status p{margin:4px 0 0}
.assistant-status-retry{border:0;background:transparent;padding:8px 0;text-decoration:underline;text-underline-offset:3px;font-size:12px!important}
.assistant-scroll{flex:1 1 auto;overflow:auto;overscroll-behavior:contain;min-height:0;padding:24px 22px;scrollbar-gutter:stable}
.assistant-welcome p{margin:0 0 10px;font-size:14px;line-height:1.65}
.assistant-welcome .assistant-welcome-title{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.2px;margin-bottom:12px}
.assistant-quick-questions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:23px 0 15px}
.assistant-quick-question{border:1px solid #cad5bf;border-radius:10px;background:#f4f7ed;padding:10px 13px;text-align:left;font-size:13px!important;line-height:1.5;width:100%}
.assistant-quick-question:not(:disabled):hover{background:#e9efdf;border-color:#a5b793}
.assistant-welcome .assistant-change-hint,.assistant-change-hint{font-size:12px;color:var(--muted,#637060);line-height:1.6;margin:10px 0 0}
.assistant-log{display:flex;flex-direction:column;gap:21px}
.assistant-message{min-width:0;overflow-wrap:anywhere}
.assistant-message-author{font-size:11px;font-weight:650;margin:0 0 6px;color:var(--muted,#637060)}
.assistant-message-text{font-size:14px;line-height:1.75;white-space:pre-wrap;margin:0}
.assistant-message-user{padding:13px 15px;background:#edf2e4;border-radius:12px 12px 3px 12px;margin-left:22px}
.assistant-message-user .assistant-message-author{font-size:10px;margin-bottom:3px}
.assistant-message-assistant{padding:0 1px}
.assistant-notice,.assistant-loading{font-size:12px;line-height:1.65;color:var(--muted,#637060);margin:0;padding:10px 0}
.assistant-notice{border-top:1px solid var(--line,#dce1d3)}
.assistant-loading:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#87986b;margin-right:8px;animation:assistant-pulse 1.2s ease-in-out infinite}
.assistant-proposal{background:#f5f7ee;border:1px solid #cbd8ba;border-radius:11px;padding:15px;margin-top:15px}
.assistant-proposal h3{font-size:13px;font-weight:650;letter-spacing:0;line-height:1.5;margin:0 0 9px}
.assistant-changes{font-size:13px;line-height:1.65;padding-left:18px;margin:0 0 14px}
.assistant-changes li+li{margin-top:7px}
.assistant-trip-overview{font-size:14px;font-weight:600;line-height:1.6;margin:0 0 12px}
.assistant-trip-summary{border-block:1px solid #d5dec8;padding:11px 0;margin:12px 0;font-size:12px;line-height:1.6}
.assistant-trip-summary strong{font-weight:650}.assistant-trip-summary p{margin:5px 0}.assistant-trip-warning{color:#70551c}
.assistant-choices{display:grid;gap:8px;margin:13px 0}.assistant-place-choice{display:block;width:100%;padding:10px 12px;border:1px solid #c4d0b7;border-radius:9px;background:#f4f7ed;font-size:13px!important;line-height:1.5;text-align:left}.assistant-place-choice:not(:disabled):hover{background:#e6eedb;border-color:#9bad88}
.assistant-proposal>.assistant-change-hint{margin-bottom:13px}
.assistant-proposal-actions{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.assistant-apply,.assistant-send,.assistant-view-changes,.assistant-list-shortcut{background:var(--green,#24483c);border:1px solid var(--green,#24483c);border-radius:8px;color:white!important;font-weight:600!important;font-size:12px!important;padding:10px 14px}
.assistant-apply:not(:disabled):hover,.assistant-send:not(:disabled):hover,.assistant-view-changes:not(:disabled):hover,.assistant-list-shortcut:hover{background:#15392c}
.assistant-view-changes{flex-basis:100%;text-align:center;line-height:1.5}
.assistant-dismiss,.assistant-undo{border:0;background:transparent;padding:8px 2px;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
.assistant-proposal-status{font-size:12px;line-height:1.6;color:var(--muted,#637060);margin:8px 0 0}
.assistant-proposal-status:empty{display:none}
.assistant-proposal[data-state=applied]{background:#edf3e4}
.assistant-proposal[data-state=stale],.assistant-proposal[data-state=dismissed],.assistant-proposal[data-state=undone]{background:#f6f6f0;border-color:#dce1d3}
.assistant-feedback{display:flex;gap:5px;align-items:center;margin-top:10px;font-size:11px;color:var(--muted,#637060)}
.assistant-feedback span{margin-right:3px}
.assistant-feedback button{border:0;border-radius:7px;background:transparent;font-size:11px!important;padding:8px 10px;min-width:44px}
.assistant-feedback button:hover,.assistant-feedback button[aria-pressed=true]{background:#eef2e6}
.assistant-feedback button[aria-pressed=true]{font-weight:650!important;opacity:1}
.assistant-error{border-top:1px solid #c8d2bb;padding-top:9px;margin-top:10px;font-size:12px;line-height:1.6}
.assistant-error p{margin:0}
.assistant-retry{background:transparent;border:0;padding:8px 0;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
.assistant-footer{flex:none;padding:15px 20px 17px;border-top:1px solid var(--line,#dce1d3);background:var(--white,#fffefa);max-height:58%;overflow:auto;overscroll-behavior:contain}
.assistant-composer{border:1px solid #b4c4a4;border-radius:11px;background:white;padding:10px 12px}
.assistant-input-label{display:block;font-size:11px;font-weight:600;line-height:1.5;margin:0 0 4px}
.assistant-composer textarea{display:block;resize:none;width:100%;min-height:47px;max-height:120px;margin:0;padding:5px 0;background:transparent;border:0;border-radius:3px;font-size:14px;line-height:1.5;box-shadow:none}
.assistant-composer textarea::placeholder{color:#6b7666;opacity:1}
.assistant-composer textarea:disabled{color:#6b7666;opacity:.7}
.assistant-composer-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:3px}
.assistant-character-count{font-size:10px;color:var(--muted,#637060)}
.assistant-send{min-width:76px;min-height:44px}
.assistant-disclosure{font-size:11px;line-height:1.65;color:var(--muted,#637060);margin:10px 0 0}
.assistant-privacy-details{font-size:11px;line-height:1.65;color:var(--muted,#637060);margin:1px 0 0}
.assistant-privacy-details summary{padding:12px 0 7px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.assistant-privacy-details p{margin:5px 0}
.assistant-privacy-details a{display:inline-block;padding:11px 0;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:3px}
@keyframes assistant-pulse{50%{opacity:.35}}
@media(min-width:1180px){
  body.assistant-desktop-open{padding-right:424px}
  .assistant-desktop-open .wrap{width:min(1240px,calc(100% - 48px))}
  .assistant-desktop-open .workspace{grid-template-columns:250px minmax(0,1fr);gap:16px}
  .assistant-desktop-open .settings,.assistant-desktop-open .list-panel{padding:20px}
  .assistant-desktop-open .list-heading{flex-wrap:wrap;gap:12px}
  .assistant-desktop-open .list-heading>div{flex-basis:100%}
  .assistant-desktop-open .item,.assistant-desktop-open .column-labels{grid-template-columns:minmax(0,1fr) 48px 76px 44px}
  .assistant-desktop-open .item .qty{width:48px}
  .assistant-desktop-open .filter-tabs{flex-basis:100%}
  .assistant-desktop-open .weather-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}
  .assistant-desktop-open .weather-card #weather-details{border-left:0;padding-left:0}
  .assistant-desktop-open .hero{gap:30px}
  .assistant-desktop-open .hero h1{font-size:55px}
  .assistant-desktop-open .header nav{gap:15px}
}
@media(max-width:1179px){
  #assistant-open{right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom) + var(--assistant-progress-height,0px))}
  body.assistant-mobile-open{position:fixed;top:var(--assistant-scroll-y);left:0;right:0;overflow:hidden}
  .packing-assistant{inset:var(--assistant-top,0px) 0 auto;width:100%;height:var(--assistant-height,100dvh);max-height:100dvh;border:0;border-radius:0;box-shadow:none}
  .assistant-header{padding:calc(7px + env(safe-area-inset-top)) 20px 14px}
  .assistant-navigation{margin-bottom:7px}
  .assistant-title-row h2{font-size:22px}
  .assistant-context{margin-top:5px}
  .assistant-scroll{padding:23px 20px}
  .assistant-footer{padding:12px 18px calc(10px + env(safe-area-inset-bottom))}
  .assistant-composer textarea{font-size:16px;min-height:48px}
  .assistant-disclosure,.assistant-privacy-details{font-size:11px}
  .assistant-service-status{padding:12px 20px}
  .assistant-mobile-open .mobile-progress{display:none!important}
}
@media(max-width:740px){
  #assistant-open{right:max(16px,env(safe-area-inset-right));bottom:calc(16px + max(env(safe-area-inset-bottom),var(--assistant-progress-height,0px)));min-height:58px;gap:9px;padding:11px 16px 11px 12px;border-radius:16px;max-width:calc(100vw - 32px)}
  .assistant-entry-icon{width:30px;height:30px;font-size:23px}
  .assistant-entry-title{font-size:14px}.assistant-entry-description{font-size:10px}
  #planner{padding-bottom:120px;scroll-margin-bottom:160px}
}
@media(max-width:360px){
  .assistant-header{padding-inline:16px}.assistant-scroll{padding-inline:16px}.assistant-footer{padding-inline:14px}
  .assistant-title-row h2{font-size:20px}.assistant-navigation{gap:8px}.assistant-clear{font-size:10px!important}
}
.packing-assistant[data-compact=true] .assistant-header{padding-top:4px;padding-bottom:9px}
.packing-assistant[data-compact=true] .assistant-navigation{margin-bottom:0}
.packing-assistant[data-compact=true] .assistant-context{display:none}
.packing-assistant[data-compact=true] .assistant-title-row h2{font-size:19px}
.packing-assistant[data-compact=true] .assistant-footer{padding-top:9px;padding-bottom:8px}
.packing-assistant[data-compact=true] .assistant-composer textarea{min-height:28px;height:28px}
.packing-assistant[data-compact=true] .assistant-composer{padding-top:7px;padding-bottom:7px}
.packing-assistant[data-compact=true] .assistant-input-label{display:none}
.packing-assistant[data-compact=true] .assistant-disclosure{margin-top:6px}
.packing-assistant[data-compact=true] .assistant-privacy-details:not([open]){display:none}
@media(max-height:600px){
  .assistant-header{padding-top:4px;padding-bottom:9px}.assistant-navigation{margin-bottom:0}
  .assistant-context{display:none}.assistant-title-row h2{font-size:19px}.assistant-footer{padding-top:9px;padding-bottom:8px}
  .assistant-composer textarea{min-height:28px;height:28px}.assistant-composer{padding-top:7px;padding-bottom:7px}.assistant-input-label{display:none}
  .assistant-disclosure{margin-top:6px}.assistant-privacy-details:not([open]){display:none}
}
@media(prefers-reduced-motion:reduce){.assistant-loading:before{animation:none}}
@media print{.packing-assistant,#assistant-open{display:none!important}body.assistant-desktop-open{padding-right:0}body.assistant-mobile-open{position:static;overflow:visible}}

/* Keep the proposal in the conversation; technical details are optional. */
.assistant-proposal{background:transparent;border:0;border-radius:0;padding:0;margin-top:12px}
.assistant-trip-overview{font-size:14px;font-weight:600;line-height:1.65;margin:0 0 10px}
.assistant-change-details,.assistant-weather-details{font-size:12px;line-height:1.6;color:var(--muted,#637060)}
.assistant-change-details>summary,.assistant-weather-details>summary{cursor:pointer;min-height:44px;padding:11px 0;text-underline-offset:3px}
.assistant-change-details .assistant-changes{margin:2px 0 12px}
.assistant-confirm-question{font-size:14px;line-height:1.65;margin:14px 0 12px}
.assistant-proposal[data-state=applied],.assistant-proposal[data-state=dismissed],.assistant-proposal[data-state=stale],.assistant-proposal[data-state=undone]{background:transparent}
.assistant-proposal:not([data-state]) .assistant-proposal-status:empty{display:none}
.assistant-proposal[data-state] .assistant-confirm-question{display:none}
.assistant-message>.assistant-proposal-status{font-size:14px;line-height:1.65;color:inherit;margin:0 0 12px}


.assistant-list-shortcut{display:block;width:100%;min-height:44px;margin:0 0 8px;cursor:pointer}
.assistant-list-shortcut[hidden]{display:none}
@media screen and (max-width:760px){
  .minimal-layout #categories .category>summary{scroll-margin-top:64px}
}
