/* Presentation only: retain the sage/cream palette and Vazirmatn. */
.hotel .price,.hotel-choice .choice-price{white-space:pre-line;line-height:1.9}
.hotel-pages{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}
.hotel-pages>span{font-size:12px;color:#607276}.hotel-pages>small{flex-basis:100%;color:#738586;font-size:11px}.hotel-pages button{font-size:12px;min-height:44px}
.selected-price-list{flex-basis:100%;border-top:1px solid #cfe4e3;padding-top:8px;font-size:12px}.selected-price-list p{margin:4px 0}.selected-price-list small{color:#5b797a}
@media(max-width:480px){.hotel-pages>span{order:-1;flex-basis:100%;text-align:center}}
/* UI activity is a compact persistent timeline, not repeated assistant prose. */
.action-history{margin:8px 0 22px;max-width:100%;border:1px solid #d9e8e7;border-radius:18px;background:#eef5f5;overflow:hidden;color:#2c434f}
.action-history>summary{display:flex;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;list-style:none;min-height:88px}
.action-history>summary::-webkit-details-marker{display:none}
.action-history>summary::after{content:'⌄';font-size:20px;flex-shrink:0;color:#6a8687}
.action-history[open]>summary::after{transform:rotate(180deg)}
.action-history>summary:focus-visible{outline:3px solid #7e9eab;outline-offset:-4px;border-radius:18px}
.action-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#daeaeb;color:#224a60;flex-shrink:0;font-size:17px}
.action-heading{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;line-height:1.8}
.action-heading>small{font-size:10px;color:#658081}.action-latest{font-size:13px;font-weight:600}.action-context{font-size:11px;color:#5c7476;overflow-wrap:anywhere}
.action-count{font-size:10px;color:#5d7879;white-space:nowrap}
.action-history-body{padding:0 18px 16px;border-top:1px solid #d9e9e8}
.action-history ol{list-style:none;margin:0;padding:0}.action-history li{display:flex;align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid #d9e9e8;font-size:12px;line-height:1.9}
.action-history li>div{flex:1;min-width:0;overflow-wrap:anywhere}.action-history li p{margin:0}.action-history li small{display:block;margin-top:3px;color:#607c7e;font-size:10px}
.action-repeat{flex-shrink:0;font-size:10px;color:#658181;padding-top:3px}.action-jump{display:inline-block;padding:12px 0 0;font-size:12px;color:#224a60;text-underline-offset:4px}
#booking{scroll-margin-top:24px}
@media(max-width:480px){.action-history>summary{padding:13px 12px;gap:8px}.action-history-body{padding-inline:12px}.action-mark{width:26px;height:26px}.action-latest{font-size:12px}.action-count{font-size:9px}}
/* Reviewed assistant prose: Markdown layout stays within the message column. */
.chat-markdown{white-space:normal;min-width:0;overflow-wrap:anywhere}
.chat-markdown>:first-child{margin-top:0}.chat-markdown>:last-child{margin-bottom:0}
.chat-markdown p{margin:0 0 14px;line-height:2.05}
.chat-markdown strong{font-weight:700;color:#24414f}
.chat-markdown h1,.chat-markdown h2,.chat-markdown h3,.chat-markdown h4,.chat-markdown h5,.chat-markdown h6{font-size:16px;font-weight:700;line-height:1.9;letter-spacing:normal;margin:22px 0 10px}
.chat-markdown h1{font-size:19px}.chat-markdown h2{font-size:17px}
.chat-markdown ul,.chat-markdown ol{margin:10px 0 18px;padding-inline-start:25px;padding-inline-end:0}
.chat-markdown li{margin:5px 0;padding-inline-start:3px}.chat-markdown li::marker{color:#5c7d7f}
.chat-markdown li>p{margin-bottom:6px}.chat-markdown li>ul,.chat-markdown li>ol{margin-block:4px}
.chat-markdown a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.chat-markdown blockquote{margin:14px 0;padding:8px 14px;border-inline-start:3px solid #afcccc;background:#eaf4f3;border-radius:6px;color:#52676b}
.chat-markdown blockquote p:last-child{margin-bottom:0}
.chat-markdown code{font-size:.9em;background:#e9f2f2;padding:2px 5px;border-radius:5px;unicode-bidi:plaintext}
.chat-markdown pre{max-width:100%;overflow:auto;white-space:pre;direction:ltr;text-align:left;background:#ecf3f3;border:1px solid #d7e7e6;border-radius:10px;padding:14px;line-height:1.8;margin:14px 0}
.chat-markdown pre code{background:none;padding:0;unicode-bidi:normal}
.chat-markdown hr{border:0;border-top:1px solid #d7e7e6;margin:22px 0}
.chat-table{max-width:100%;overflow-x:auto;border:1px solid #d7e7e6;border-radius:10px;margin:16px 0;overscroll-behavior-inline:contain}
.chat-table:focus-visible{outline:3px solid #7e9eab;outline-offset:2px}
.chat-table table{border-collapse:collapse;width:100%;font-size:13px;white-space:normal}
.chat-table th,.chat-table td{padding:10px 13px;border-bottom:1px solid #dce8e8;text-align:start;min-width:100px}
.chat-table th{background:#e7f3f2;font-weight:700}.chat-table tbody tr:last-child td{border-bottom:0}
.hotel-choice .choice-price,.hotel-choice .choice-action,.hotel-choice strong{grid-column:2}
:root{--muted:#657176;--header:76px}
[hidden]{display:none!important}
button{transition:background .15s,border-color .15s}button:hover{border-color:#b6c7cc}input:focus-visible,summary:focus-visible{outline:3px solid #7ea4ba;outline-offset:3px}a{color:var(--green)}
header{height:var(--header);gap:12px;padding:0 max(24px,calc((100vw - 1400px)/2));position:relative;z-index:20}.brand{font-size:27px;gap:14px}.brand span{color:var(--muted);border-right:1px solid var(--line);padding-right:14px}.header-actions{gap:8px;flex-wrap:nowrap}.header-actions button{font-size:12px;min-height:42px}#new{background:var(--green);color:#fff;border-color:var(--green)}#copy-link{background:transparent}
main{grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'chat trip' 'composer trip';height:calc(100dvh - var(--header));min-height:0;padding-bottom:0}.conversation{grid-area:chat;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:32px clamp(24px,4vw,64px) 24px;scrollbar-width:thin;scrollbar-color:#cbd6d7 transparent;scroll-padding-bottom:24px}.conversation>*{max-width:760px;margin-inline:auto}#messages:empty{display:none}#welcome{padding:clamp(32px,8vh,100px) 0 30px}h1{font-size:clamp(26px,3vw,38px);line-height:1.6;margin:18px 0}#welcome p{color:var(--muted);font-size:15px}.welcome-mark{display:grid;place-items:center;margin:0 auto 24px;width:60px;height:60px;border:1px solid #d7e2e3;border-radius:22px;background:#e9f2f2;color:var(--green);font-size:28px}.starters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:30px auto 0;max-width:620px}.starters button{background:white;text-align:right;padding:17px 14px;font-size:12px;line-height:1.9}.starters button span{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.bubble{line-height:2.05;margin-bottom:24px;padding:15px 19px;max-width:95%}.bubble.user{border:1px solid #dce8e8;border-radius:18px 18px 5px 18px}.bubble.assistant{padding:0 0 8px;max-width:100%}.bubble.assistant:before{margin-bottom:8px}#status{color:var(--muted);line-height:1.8;min-height:0}#status:empty{display:none}#status:not(:empty){padding:12px 0}#error{padding:14px;background:#fff9f4;line-height:1.9}
aside{grid-area:trip;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 20px;scrollbar-width:thin;scrollbar-color:#cbd6d7 transparent}.side-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.side-title h2{margin:0 0 5px}.side-title span,.muted{font-size:12px;color:var(--muted)}#trip-close{display:none}#facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#facts:empty:before{content:'جزئیات سفرت که مشخص شود، اینجا کنار گفتگو می‌بینی.';grid-column:1/-1;font-size:13px;line-height:2;color:var(--muted);padding:22px 16px;border:1px dashed #ccd7d8;border-radius:14px}.fact{padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;flex-direction:column;gap:5px;min-width:0}.fact.wide{grid-column:1/-1}.fact label{color:var(--muted);font-size:11px}.fact span{text-align:right;font-size:12px;overflow-wrap:anywhere}.fact.preference{background:#e9f2f2}.hotel{padding:14px}.hotel p{color:var(--muted)}.hotel button{background:#f2f8f8}.price{line-height:1.9}.section-heading{font-size:14px;margin:24px 0 10px;display:flex;justify-content:space-between;align-items:center}.section-heading span{background:#e6eeee;padding:2px 9px;border-radius:8px;font-size:11px;font-weight:normal}
footer{grid-area:composer;position:static;padding:12px clamp(24px,4vw,64px) max(12px,env(safe-area-inset-bottom));background:#faf9f5;border-top:1px solid #dfe7e788}#composer{border-color:#d1dfe0;box-shadow:0 4px 20px #25363d08;border-radius:18px;padding:8px;max-width:760px}#composer:focus-within{border-color:#7e9eab;box-shadow:0 0 0 3px #224a600a}textarea::placeholder{color:#778388}#send{min-width:44px;min-height:44px;border-radius:12px}footer small{color:var(--muted);line-height:1.8;margin:8px auto 0;max-width:760px}
#map{border:1px solid #cbe0df;margin-top:18px}#map .target{border-radius:50%;min-width:28px;text-align:center}#map-note a{color:var(--green)}
.hotel-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px auto 20px}.hotel-choices>h3,.hotel-choices>p{grid-column:1/-1;margin:0;line-height:1.9}.hotel-choices>h3{font-size:15px}.hotel-choices .hotel-choice{margin:0;display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px 10px;padding:14px 16px;text-align:right;align-content:start;border-radius:14px;line-height:1.9;overflow-wrap:anywhere}.choice-index{grid-row:1/4;align-self:start;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e9f2f2;color:var(--green);font-size:12px}.hotel-choice strong{font-size:14px}.choice-price{font-size:12px;color:var(--muted)}.choice-action{font-size:11px;color:var(--green);margin-top:3px}.hotel-choices>.muted{font-size:11px}
.booking-card,.voucher{border-radius:16px;box-shadow:0 3px 16px #22323c04}.room-card{background:#fafefe}.room-card p{color:var(--muted);line-height:2}.room-tabs{padding:8px;background:#e9f2f2;border-radius:14px}.room-tabs button{flex:1;min-width:90px}.notice{font-size:13px}.gallery{scroll-snap-type:x mandatory}.gallery img{scroll-snap-align:start}dialog{padding:28px;border:1px solid #dfe7e7}#hotel-body h2{font-size:24px;margin:12px 0}#hotel-body h3{font-size:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}#hotel-body p{line-height:2;color:#516268}#hotel-close{background:#fff;box-shadow:0 2px 8px #22323c08}.loading{color:var(--muted)}.loading:before{content:'';width:28px;height:28px;border:3px solid #d7e6e7;border-top-color:var(--green);border-radius:50%;margin:0 auto 16px;animation:spin 1s linear infinite}
#panel-backdrop{position:fixed;inset:var(--header) 0 0;background:#22323c40;backdrop-filter:blur(2px);z-index:24;border:0;border-radius:0;padding:0}#history-drawer{z-index:26;top:var(--header);padding:24px;width:min(360px,92vw);box-shadow:-8px 0 40px #162e3818}#history-drawer>p{font-size:12px;color:var(--muted)}#history-drawer h2{font-size:19px}#history-close{float:left;font-size:11px}#history-list button{padding:14px;white-space:normal;overflow-wrap:anywhere}#history-list button[aria-current=true]{background:#e9f2f2;border-color:#abc1c5}body.show-history #history-open{background:#e6eeee;border-color:#a6bbc0}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){main{grid-template-columns:minmax(0,1fr) 320px}.conversation{padding-inline:24px}footer{padding-inline:24px}.starters{grid-template-columns:1fr}.starters button{padding:12px 16px}.starters button span{display:inline;margin-right:8px}}
@media(max-width:850px){:root{--header:68px}header{padding:0 16px}.brand{font-size:23px}.header-actions{gap:5px}.header-actions button{padding:8px 10px;font-size:11px}main{grid-template-columns:minmax(0,1fr);grid-template-areas:'chat' 'composer'}body.show-trip aside{top:var(--header);width:min(370px,92vw);z-index:25}#trip-close{display:block;min-width:40px;min-height:40px;padding:6px}.conversation{padding:24px 20px}footer{padding:10px 16px max(10px,env(safe-area-inset-bottom))}.bubble{max-width:100%;margin-bottom:22px}#welcome{padding:30px 0 12px}.starters{margin-top:24px}.welcome-mark{width:52px;height:52px;margin-bottom:20px}.starters button span{display:block;margin-right:0}footer small{font-size:9px}.hotel-choices{grid-template-columns:1fr}dialog{padding:20px}.room-count input{min-width:0;max-width:100%}}
@media(max-width:360px){header{padding:0 10px}.brand{font-size:21px}.header-actions button{padding:8px}.conversation{padding-inline:16px}#new{font-size:0;min-width:40px;padding:5px}#new:after{content:'＋';font-size:20px}h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Compact summary: facts remain available, secondary detail is expandable. */
.side-actions{display:flex;gap:5px}.side-actions button{padding:6px;min-width:36px;min-height:36px;font-size:18px;background:transparent}.side-title{margin-bottom:10px}
#facts{gap:0 12px;padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:14px}
#facts:empty{padding:0;background:transparent;border:0}
#facts .fact{padding:7px 0;border:0;border-bottom:1px solid #e8f0f0;border-radius:0;background:transparent;gap:1px}
#facts .fact span{font-size:12px;line-height:1.8}#facts .fact.preference{border-right:2px solid #b5d3d3;padding-right:9px}
#facts>.fact.wide{flex-direction:row;align-items:baseline;gap:10px}#facts>.fact.wide label{min-width:52px}#facts>.fact.wide span{flex:1}
.facts-extra{grid-column:1/-1;min-width:0}.facts-extra>summary{cursor:pointer;padding:11px 0 6px;font-size:11px;color:var(--green);line-height:1.8}.facts-extra-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding-bottom:5px}.facts-extra-body .fact{grid-column:1/-1}
.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-1px;background:#faf9f5;z-index:5;padding:0 0 12px}.dialog-toolbar h2{font-size:18px;margin:0}.dialog-toolbar button{font-size:12px;min-height:40px}#hotel-close{float:none;position:static}
#viewer-dialog,#hotel-dialog.is-expanded{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:20px clamp(16px,3vw,48px)}
#hotel-dialog.is-expanded #hotel-body{max-width:1040px;margin-inline:auto}
#viewer-dialog[open]{display:flex;flex-direction:column;overflow:hidden}#viewer-content{min-height:0;flex:1;overflow:auto;--detail-scale:1}
#viewer-text-tools{display:flex;align-items:center;gap:8px;max-width:900px;width:100%;margin:8px auto 18px;font-size:12px;color:var(--muted)}#viewer-text-tools button{min-width:40px;padding:5px}
.expanded-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:900px;margin:0 auto 24px}.expanded-facts .fact span{font-size:calc(14px * var(--detail-scale));line-height:1.9}.expanded-facts .fact label{font-size:calc(12px * var(--detail-scale))}.expanded-facts .facts-extra>summary{font-size:calc(13px * var(--detail-scale))}.expanded-facts .facts-extra-body{gap:12px}.expanded-facts .facts-extra-body .fact{grid-column:auto}
#map{touch-action:none;cursor:grab}#map:active{cursor:grabbing}#map .map-controls{position:absolute;left:10px;top:10px;z-index:3;display:flex;flex-direction:column;gap:4px}.map-controls button{padding:0;width:36px;height:36px;border-radius:9px;font-size:21px;box-shadow:0 2px 7px #22323c20;background:#fff}.map-controls button:disabled{cursor:default}#map .pin{cursor:pointer}
.map-viewer #viewer-content{display:flex;flex-direction:column;overflow:hidden}.map-viewer #map{flex:1;min-height:160px;height:auto;margin-top:0;width:100%}.map-viewer #map-note{flex-shrink:0;margin:10px 0 0}
@media(max-width:600px){.expanded-facts{grid-template-columns:1fr}.expanded-facts .facts-extra-body{grid-template-columns:1fr}.dialog-toolbar h2{font-size:16px}#viewer-dialog,#hotel-dialog.is-expanded{padding:14px}.map-controls button{width:40px;height:40px}}

/* A calmer canvas and a guided, priced room picker. */
body{background:radial-gradient(ellipse at 85% 0%,#e5f0f04d,transparent 48%),#faf9f5}
header{background:#faf9f5ed}.brand{letter-spacing:-.8px}.brand span{letter-spacing:0}
aside{background:#edf4f4e6;border-color:#dbe6e6}.side-title{padding:2px 4px 8px}
.bubble.user{background:#e2eeee;border-color:#d3e4e5;box-shadow:0 2px 4px #22323c03}
.bubble.assistant{font-size:15px;line-height:2.15}.bubble.assistant:before{font-size:12px;letter-spacing:.2px}
.hotel-choice{box-shadow:0 3px 12px #23353e04}.hotel-choices .hotel-choice:hover{background:#f1f8f8;border-color:#9db4ba;transform:translateY(-1px)}
.hotel-photo{height:164px}.hotel{box-shadow:0 3px 12px #23353e04}.hotel button{min-height:42px}
.starters button{border-radius:18px;box-shadow:0 4px 18px #23353e05}.starters button:hover{background:#ecf5f5}
.room-picker{padding:26px;background:#fff;border-radius:24px;border-color:#d5e3e4;box-shadow:0 8px 30px #233d4708;scroll-margin-top:20px}
.room-picker>.eyebrow{margin:0 0 6px;color:var(--green);font-weight:700}.room-picker>h2{margin:0;font-size:22px;letter-spacing:-.4px}.stay-caption{font-size:12px;color:var(--muted);margin:10px 0 20px}
.booking-progress{display:flex;gap:18px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px;font-size:12px;color:#7b8587}.booking-progress span[aria-current]{color:var(--green);font-weight:bold}
.room-count{display:block}.room-count h3{font-size:17px;margin:12px 0 4px}.room-count p{margin:4px 0 14px}.count-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.count-options button{padding:18px 8px;background:#f2f8f8;border-radius:14px;font-weight:700}.count-options button:hover{background:#e6f2f2;border-color:var(--green)}
.count-editor{font-size:12px;color:var(--muted);margin:10px 0}.count-editor summary{cursor:pointer;padding:8px 0;width:fit-content}.count-editor input{width:100px;margin:8px 0 8px 8px}.count-editor button{font-size:12px}
.room-tabs{gap:8px;background:transparent;padding:0;margin:18px 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.room-tabs button{flex:1 0 115px;text-align:right;background:#f4f9f9;border:1px solid #dbe7e7;border-radius:14px;padding:12px 14px;font-weight:700;max-width:220px}.room-tabs small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;margin-top:5px;opacity:.85}.room-tabs [aria-selected=true]{background:#224a60;border-color:#224a60;color:white;box-shadow:0 3px 10px #224a6018}
.room-occupancy{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f0f7f7;border:1px solid #dfeaea;border-radius:16px;padding:16px;scroll-margin-top:20px}.room-occupancy strong{font-size:14px}.room-occupancy p{font-size:11px;margin:5px 0 0}.guest-stepper{display:flex;direction:ltr;align-items:center;gap:5px;flex-shrink:0;background:#fff;border:1px solid #d1e2e3;border-radius:12px;padding:4px}.guest-stepper button{width:36px;height:36px;padding:0;border:0;background:#ecf5f5;font-size:21px;border-radius:9px}.guest-stepper select{width:76px;padding:5px 0;text-align:center;direction:rtl;border:0;background:transparent;font-size:13px}.guest-stepper button:disabled{cursor:default}.room-hint{font-size:11px;color:var(--muted);line-height:1.9;margin:10px 2px 20px}
.room-options{display:grid;gap:12px}.room-option{padding:20px;margin:0;background:#fff;border-radius:18px;border:1px solid #dbe6e6}.room-option.is-selected{border-color:#5c8799;box-shadow:0 0 0 1px #5c8799;background:#f9fefe}.room-option-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.room-option-title h3{font-size:16px;flex:1;min-width:100px;line-height:1.8}.capacity-mark{display:grid;place-content:center;width:44px;height:44px;border-radius:13px;background:#e7f3f3;color:var(--green);font-size:11px;flex-shrink:0}.selected-tag{font-size:10px;background:#e1eff0;color:var(--green);border-radius:8px;padding:4px 8px}.room-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.room-tags span{font-size:11px;background:#eff5f5;border-radius:7px;padding:3px 8px;color:#55696d}.room-option .extra-note{font-size:11px;margin:8px 0;color:#5f7276}.room-cost{display:grid;grid-template-columns:1fr auto;gap:5px 18px;align-items:center;border-top:1px solid #e8f0f0;padding-top:14px;margin-top:12px}.room-cost>.muted{font-size:11px}.room-cost>strong{grid-column:1;font-size:19px;color:var(--green)}.room-cost>small{grid-column:1;font-size:11px;color:#607276;line-height:1.9}.room-cost .room-pick{grid-column:2;grid-row:1/4;background:var(--green);color:white;margin:0;padding:12px 18px;font-size:12px;min-height:44px;border-color:var(--green)}.room-pick:disabled{background:#e9f1f1;color:#778889;opacity:1;cursor:not-allowed;border-color:#dfe9e8}.room-option .room-unavailable{font-size:11px;color:#8a6140;margin:10px 0 0}.room-recap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin-top:20px;padding:16px;background:#e7f3f3;border-radius:14px;font-size:12px;line-height:1.9}.room-recap>span{color:var(--muted)}.passenger-form button{background:var(--green);color:white;min-height:46px}.booking-card:not(.room-picker)>h2{font-size:20px}
@media(max-width:850px){.room-picker{padding:18px;border-radius:20px}.room-picker>h2{font-size:19px}.room-option{padding:15px}.room-occupancy{align-items:flex-start;flex-direction:column;gap:12px}.guest-stepper{align-self:stretch;justify-content:space-between}.guest-stepper select{flex:1}.room-cost{grid-template-columns:1fr}.room-cost .room-pick{grid-column:1;grid-row:auto;margin-top:8px;width:100%}.room-cost>strong{font-size:19px}.booking-progress{gap:14px;font-size:11px}.count-options{grid-template-columns:repeat(2,1fr)}.room-tabs button{flex-basis:120px}.room-recap{flex-direction:column;align-items:flex-start}.bubble.assistant{font-size:14px}}

/* September27: consistent controls and a dedicated conversation library. */
:root{--control-radius:12px;--soft-green:#ebf4f4;--control-shadow:0 2px 5px #22323c06}
.ui-icon{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
button{border-radius:var(--control-radius);font-weight:500;box-shadow:var(--control-shadow);transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
button:not(:disabled):active{transform:translateY(1px)}
button:disabled{cursor:not-allowed;box-shadow:none}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #7ea4ba;outline-offset:3px}
.brand-area{display:flex;align-items:center;gap:22px;min-width:0}
.brand{gap:12px}.brand span{font-size:11px}
header{border-bottom-color:#dbe7e7;background:#faf9f5fa}
.header-actions button,.nav-trigger{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.nav-trigger{padding:10px 13px;font-size:12px;border-color:#d6e6e6;background:#ebf4f4;color:var(--green);box-shadow:none}
.nav-trigger .ui-icon{width:21px;height:21px}
.header-actions{gap:10px}
#copy-link{color:#5f6f75;border-color:transparent;box-shadow:none}
#copy-link:hover{background:#e8f2f2;border-color:#d6e6e6}
#new,.primary-button{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;border:1px solid var(--green);font-weight:700;box-shadow:0 3px 8px #224a6014}
#new:hover,.primary-button:hover{background:#1b3e52;border-color:#1b3e52;box-shadow:0 4px 12px #224a6024}
.plus-icon{font-size:21px;font-weight:400;line-height:1}
#new:after{content:none}
#toggle{background:#ecf5f5;color:var(--green);border-color:#d0e4e4}
#panel-backdrop{background:#21323b2b;backdrop-filter:blur(3px)}
#history-drawer{top:calc(var(--header) + 12px);right:12px;bottom:12px;width:min(352px,calc(100vw - 24px));padding:22px 18px 0;background:#f8fcfb;border:1px solid #d8e8e7;border-radius:24px;box-shadow:-8px 12px 42px #162e3820;overflow:hidden;display:flex;flex-direction:column;gap:18px}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-inline:4px}
.history-heading .eyebrow{font-size:10px;color:var(--muted)}
#history-drawer h2{font-size:21px;letter-spacing:-.5px;margin:4px 0 0}
#history-close{float:none;padding:0;width:40px;height:40px;display:grid;place-items:center;background:transparent;border-color:transparent;box-shadow:none;flex-shrink:0}
#history-close:hover{background:#e8f2f2;border-color:#d6e6e6}
#history-new{width:100%;min-height:48px;font-size:13px;border-radius:14px;flex-shrink:0}
.history-search{display:flex;align-items:center;gap:9px;padding:0 12px;min-height:46px;background:#fff;border:1px solid #d9e8e7;border-radius:12px;color:#7a898d;flex-shrink:0}
.history-search:focus-within{border-color:#83a0a8;box-shadow:0 0 0 3px #224a600a}
.history-search input{font:inherit;font-size:12px;color:#22323c;background:transparent;min-width:0;width:100%;height:44px;border:0;outline:none;padding:0}
.history-search input::placeholder{color:#6a7b80}
.history-scroll{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c0d5d6 transparent;margin-inline:-5px;padding-inline:5px}
#history-list{display:flex;flex-direction:column;gap:5px;margin:0;padding-bottom:12px}
.history-group{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6a7b80;font-weight:400;margin:18px 8px 7px}
.history-group:first-child{margin-top:2px}.history-group span{font-size:10px;color:#7f8f91}
#history-list .history-item{display:flex;align-items:center;gap:11px;min-height:70px;padding:12px 11px;border:1px solid transparent;background:transparent;border-radius:14px;box-shadow:none;text-align:right;width:100%}
#history-list .history-item:hover{background:#eaf4f3;border-color:#d8e8e7}
#history-list .history-item[aria-current=true]{background:#e3f3f2;border-color:#bcd7d8;box-shadow:inset -3px 0 #3a6577}
.history-item-icon{position:relative;display:block;width:30px;height:30px;flex-shrink:0;border-radius:10px;background:#ecf4f4;color:#778e92}
.history-item-icon:before{content:'';position:absolute;inset:8px 7px;border:1.4px solid currentColor;border-radius:4px}
.history-item-icon:after{content:'';position:absolute;right:9px;bottom:6px;width:5px;height:5px;border-inline-end:1.4px solid currentColor;background:inherit;transform:skewY(-35deg)}
[aria-current=true] .history-item-icon{color:#345b68;background:#d5ebec}
.history-item-copy{display:block;flex:1;min-width:0}.history-item-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.9;font-size:12px;font-weight:500}.history-item-copy small{display:block;font-size:10px;color:#6e8385;margin-top:3px}
[aria-current=true] .history-item-copy strong{font-weight:700;color:#224a60}
.history-item-arrow{font-size:22px;color:#8aa3a4}
.history-empty{padding:24px 12px;text-align:center;line-height:1.9;color:#5e7678}.history-empty strong{font-size:13px;color:#334a54}.history-empty p{font-size:12px}.history-loading{font-size:12px;color:#64797d;padding:18px 12px}
.history-footer{flex-shrink:0;border-top:1px solid #d9e8e7;padding:12px 0 14px;background:#f8fcfb}
#history-drawer .history-footer details{margin:0;padding:0;background:transparent;border:0;border-radius:0;max-height:45dvh;overflow:auto;scrollbar-width:thin}
.history-footer summary{display:flex;align-items:center;gap:10px;list-style:none;padding:8px;border-radius:12px;color:#33515d}
.history-footer summary::-webkit-details-marker{display:none}.history-footer summary:hover{background:#e8f2f2}
.history-footer summary>span:not(.disclosure){flex:1;font-size:12px}.history-footer summary small{display:block;color:#6b8384;font-size:10px;font-weight:400;margin-top:3px}
.history-footer .disclosure{font-size:20px;transition:transform .15s}.history-footer details[open] .disclosure{transform:rotate(180deg)}
.history-footer details>p{font-size:11px;color:#607678;padding-inline:8px}.history-footer details>label{font-size:11px}
#pair-input{font:inherit;padding:11px 12px;border:1px solid #cfe3e3;border-radius:10px;background:#fff;min-height:44px}
#history-drawer .history-footer details button{min-height:44px;font-size:11px}
#pair-revoke{color:#89594b;background:transparent;border-color:transparent;box-shadow:none}
.privacy-note{font-size:10px;line-height:1.9;color:#6f8586;margin:12px 6px 0;display:flex;align-items:flex-start;gap:6px}.privacy-note span{font-size:15px;line-height:1.4}
.hotel{border-color:#d7e8e7;border-radius:20px;padding:15px;box-shadow:0 4px 16px #25363d05}.hotel h3{font-size:15px}.hotel .price{font-size:14px}
.hotel button{background:#ebf5f5;color:#2f5360;border-color:#cde3e3;font-weight:700;min-height:44px;border-radius:11px;box-shadow:none}
.hotel button:hover{background:#ddf0f0;border-color:#add0d1}
.hotel-choices .hotel-choice{border-color:#d5e6e5;border-radius:17px;box-shadow:0 3px 12px #23353e04}
.choice-index{background:#e3f3f2;border:1px solid #d4e9e8;border-radius:10px}.choice-price{line-height:1.9}.choice-action{border-top:1px solid #e7f1f0;padding-top:6px;margin-top:2px;font-weight:700}
.side-title h2{font-size:17px}.side-title span{font-size:11px}.section-heading{font-size:14px;letter-spacing:-.2px}
#composer{padding:9px 10px;border-radius:22px;background:#fff;box-shadow:0 5px 24px #25363d08}
#send{height:46px;width:46px;padding:0;display:grid;place-items:center;border-radius:15px;box-shadow:0 3px 10px #224a6020;flex-shrink:0}
#send:hover:not(:disabled){background:#1b3e52}#send:disabled{opacity:1;background:#dde9e9;color:#7f9a9b;box-shadow:none}
.dialog-toolbar button{box-shadow:none;background:transparent;border-color:#d5e6e5;min-height:42px}.dialog-toolbar button:hover{background:#e3f3f2}
@media(max-width:1050px){.brand span{display:none}.brand-area{gap:15px}}
@media(max-width:850px){header{padding-inline:14px}.brand-area{gap:12px}.nav-trigger{min-width:44px;padding:10px}.nav-trigger>span{display:none}.header-actions{gap:7px}.header-actions button{min-height:44px}.brand{font-size:23px}.header-actions #new{padding:8px 11px}#history-drawer{top:calc(var(--header) + 8px);bottom:8px;right:8px;width:min(352px,calc(100vw - 16px));border-radius:20px;padding-top:18px;gap:15px}.hotel-choices .hotel-choice{padding:16px}.history-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-width:420px){.brand-area{gap:9px}.brand{font-size:22px}#new{width:44px;padding:0!important}#new .new-label{display:none}#new .plus-icon{font-size:23px}.header-actions button{padding:8px 10px}#history-drawer{padding-inline:16px}.history-heading{padding-inline:2px}}
@media(max-height:620px){#history-drawer{gap:10px;padding-top:12px}.history-heading .eyebrow,.privacy-note{display:none}.history-footer{padding-block:6px}.history-footer details{max-height:35dvh!important}}
@media(prefers-reduced-motion:reduce){button,.history-footer .disclosure{transition:none!important}.hotel-choices .hotel-choice:hover{transform:none}}

/* Compact response status: real SSE stages, never an estimated progress bar. */
.conversation>.response-wait{margin:20px auto 12px;max-width:600px;border:1px solid #dde7e7;border-radius:18px;background:#fffefa;box-shadow:0 4px 16px #233d4704;overflow:hidden;position:relative}
.wait-main{padding:22px 22px 18px}
.wait-top{display:flex;align-items:flex-start;gap:16px}
.wait-mark{display:grid;place-items:center;position:relative;width:46px;height:46px;flex-shrink:0;color:#345868;border-radius:50%;background:#ecf5f5;border:1px solid #d9eae9}
.wait-mark:after{content:'';position:absolute;inset:-4px;border:1.5px solid transparent;border-top-color:#76acac;border-inline-end-color:#cfe5e4;border-radius:50%;animation:wait-orbit 3.6s linear infinite}

.wait-copy{min-width:0;flex:1}.wait-heading{display:flex;align-items:center;gap:10px;min-height:20px}.wait-brand{font-size:12px;font-weight:700;color:#476269}.wait-dots{display:inline-flex;align-items:center;gap:4px;height:12px;direction:ltr}.wait-dots i{display:block;width:3px;height:3px;background:#619497;border-radius:50%;animation:wait-dot 1.8s ease-in-out infinite}.wait-dots i:nth-child(2){animation-delay:.2s}.wait-dots i:nth-child(3){animation-delay:.4s}
.wait-title{font-size:15px;font-weight:500;color:#28414c;line-height:1.9;margin:5px 0 0;min-height:29px;overflow-wrap:anywhere}
.wait-recent{margin-top:14px;padding-top:10px;border-top:1px solid #e7f0ef;color:#5c7271;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.wait-recent p{margin:0 0 4px;font-size:10px;color:#708382}.wait-recent ol{margin:0;padding-inline-start:18px}.wait-recent li{padding-inline-start:2px}.wait-recent li::marker{color:#94a9aa}.wait-recent[hidden]{display:none}
.wait-meta{display:flex;align-items:center;gap:10px;margin-top:8px;min-height:20px;flex-wrap:wrap;line-height:1.8}.wait-stage{font-size:11px;color:#587374}.wait-clock{font-size:11px;color:#5f7373;font-variant-numeric:tabular-nums;border-inline-start:1px solid #d4e5e4;padding-inline-start:10px}
.wait-footer{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:10px 20px;border-top:1px solid #e7f0ef;background:#f4fafa}.wait-tip{font-size:11px;line-height:1.9;color:#5c7271;margin:0;max-width:440px;min-height:42px;display:flex;align-items:center}
.wait-play{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:600;min-height:44px;padding:8px 11px;border:1px solid #d4e6e5;border-radius:10px;background:#fffefa;color:#37565e;box-shadow:0 1px 2px #233d4704}.wait-play:hover{background:#e4f4f2;border-color:#98bdbc}.wait-play:focus-visible{outline:3px solid #7e9eab;outline-offset:3px}.wait-play svg{width:22px;height:22px;flex-shrink:0}
.wait-slow{font-size:11px;line-height:1.95;color:#746341;margin:0 22px 14px;padding:8px 11px;border-inline-start:2px solid #d7bf85;border-radius:4px;background:#faf5e9}
#send.is-waiting{font-size:0;position:relative;background:#daeeed;color:#365e6c}#send.is-waiting:after{content:'';width:18px;height:18px;border:2px solid #afd2d2;border-top-color:#365e6c;border-radius:50%;animation:wait-orbit 1.2s linear infinite}
@keyframes wait-orbit{to{transform:rotate(360deg)}}
@keyframes wait-breathe{0%,100%{opacity:.65}50%{opacity:1}}
@keyframes wait-dot{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}

/* Optional local game: native dialog keeps keyboard focus out of the chat. */
dialog.snake-dialog{width:min(440px,calc(100vw - 24px));max-width:440px;max-height:calc(100dvh - 24px);margin:auto;padding:22px;border:1px solid #d3e6e5;border-radius:26px;background:#fffdf7;color:#283f46;box-shadow:0 24px 100px #162c3c33;overflow:auto;overscroll-behavior:contain}
.snake-dialog::backdrop{background:#26363e5e;backdrop-filter:blur(5px)}.snake-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.snake-eyebrow{font-size:10px;color:#658482}.snake-top h2{margin:3px 0;font-size:19px;line-height:1.6}.snake-close{width:44px;height:44px;flex-shrink:0;border-radius:50%;padding:0;font-size:25px;background:#ecf5f4;color:#4f6c6d;border:1px solid #d9eae8}
.snake-notice{font-size:11px;line-height:1.9;margin:13px 0 12px;padding:9px 12px;background:#e9f4f3;border:1px solid #daecea;border-radius:12px;color:#486c6c}.snake-notice.is-ready{background:#dcf3f2;border-color:#a1d0cd;color:#2f585f;font-weight:600}
.snake-stats{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:12px 3px 8px;color:#597776}.snake-score{font-size:19px;color:#37565b;font-variant-numeric:tabular-nums}
.snake-board{position:relative;width:min(100%,360px);margin:auto;border:5px solid #cfe7e5;border-radius:20px;overflow:hidden;background:#ddeeec;direction:ltr}.snake-board canvas{display:block;width:100%;height:auto;aspect-ratio:1;touch-action:none}.snake-board canvas:focus-visible{outline:3px solid #3f6c7b;outline-offset:-4px}.snake-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:#eaf6f4c7;backdrop-filter:blur(2px);pointer-events:none;direction:rtl;padding:12px;text-align:center}.snake-overlay strong{font-size:20px;color:#304c53}.snake-overlay span{font-size:12px;color:#517575}
.snake-actions{display:flex;gap:8px;margin:14px 0 10px}.snake-actions button{flex:1;min-height:44px;font-size:12px;border-radius:12px;padding:9px 8px}.snake-primary{background:#355865;color:#fff;border-color:#355865}.snake-primary:hover{background:#274551}.snake-back{background:#fffdf7;color:#486c6c;border-color:#cfe4e2}
.snake-directions{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px;justify-content:center;direction:ltr;margin:12px 0}.snake-direction{min-height:44px;min-width:44px;padding:0;font-family:Arial,sans-serif;font-size:24px;border-radius:12px;border:1px solid #cae2e0;background:#e5f5f3;color:#334e54;touch-action:manipulation}.snake-direction:disabled{cursor:default;opacity:.45}.snake-up{grid-column:2;grid-row:1}.snake-left{grid-column:1;grid-row:2}.snake-down{grid-column:2;grid-row:2}.snake-right{grid-column:3;grid-row:2}.snake-help{font-size:10px;line-height:1.9;text-align:center;color:#5d7a78;margin:10px auto 0;max-width:310px}
@media(max-width:600px){.conversation>.response-wait{border-radius:16px}.wait-main{padding:20px 16px 16px}.wait-top{gap:13px}.wait-mark{width:36px;height:36px;margin-top:3px}.wait-title{font-size:13px;min-height:25px}.wait-footer{padding:10px 16px;gap:6px;flex-wrap:wrap}.wait-tip{flex-basis:100%;min-height:42px}.wait-play{margin-inline-start:auto;min-height:44px}.wait-meta{gap:7px}.wait-clock{padding-inline-start:7px}.wait-slow{margin-inline:16px}dialog.snake-dialog{padding:16px;border-radius:22px}.snake-top h2{font-size:17px}}
@media(max-height:750px){.snake-board{width:min(100%,max(170px,calc(100dvh - 380px)))}}
@media(prefers-reduced-motion:reduce){.wait-helm,.wait-mark:after,.wait-dots i,#send.is-waiting:after{animation:none!important}.wait-dots i{opacity:.65}}

/* Readable, attributed destination evidence instead of a bare link list. */
.tourism-query{font-size:17px;font-weight:700;color:#304a53;margin:5px 0 8px}.tourism-description{font-size:11px;color:#627d7e;margin:0 0 14px}
.tourism-source{background:#fff;border:1px solid #d5e8e7;border-radius:16px;padding:16px;margin:12px 0}
.tourism-source h4{font-size:15px;margin:10px 0 4px;color:#28444e;overflow-wrap:anywhere}.tourism-badge{display:inline-block;font-size:10px;padding:3px 8px;border-radius:6px;background:#e2f3f2;color:#416b70}.tourism-publisher{font-size:10px;color:#6a8687}
.tourism-excerpt{font-size:12px;line-height:2;color:#4a6365;white-space:pre-line}.tourism-source a{display:inline-block;font-size:11px;padding:10px 0 0;font-weight:700;min-height:34px}
.tourism-section{border-top:1px solid #e7f1f0;padding:2px 0}.tourism-section summary{cursor:pointer;font-size:12px;padding:11px 0;color:#30525c}.tourism-section p{font-size:12px;line-height:2;white-space:pre-line;overflow-wrap:anywhere;margin:4px 0 12px}
.tourism-notice{font-size:11px;line-height:1.9;background:#f2f1e5;border-radius:10px;padding:10px 12px;color:#4b7169}.tourism-footnote{font-size:10px;color:#5f7b7b;line-height:1.9}.tourism-timestamp{font-size:10px;color:#6e8a8a;display:block;margin-bottom:16px}
.tourism-previous{margin-top:14px;border-top:1px solid var(--line,#ddd);padding-top:8px}
.tourism-previous>summary{cursor:pointer;padding:12px 4px;font-size:12px;line-height:1.8}
/* Provider hotel photos in chat choices; fixed geometry even on image failure. */
.hotel-choices .hotel-choice{position:relative;grid-template-columns:88px minmax(0,1fr);column-gap:14px;padding:12px}
.hotel-choice .choice-photo{grid-column:1;grid-row:1/span 4;align-self:stretch;position:relative;min-height:112px;overflow:hidden;border-radius:11px;background:#e8f1f1;display:grid;place-items:center}
.choice-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease}
.choice-photo.has-photo img{opacity:1}.choice-photo.has-photo .choice-photo-placeholder{visibility:hidden}
.choice-photo-placeholder{display:grid;justify-items:center;gap:9px;text-align:center;padding:9px;color:#6f7f85;font-size:10px;line-height:1.8}
.choice-photo-placeholder svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.hotel-choice .choice-index{position:absolute;top:18px;right:18px;z-index:1;width:24px;height:24px;border-radius:8px;background:#fffef8ed;border-color:#fff8;box-shadow:0 2px 8px #20373c14;font-size:11px;pointer-events:none}
@media(max-width:380px){.hotel-choices .hotel-choice{grid-template-columns:72px minmax(0,1fr);column-gap:11px}.choice-photo-placeholder{padding:7px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.choice-photo img{transition:none}}
.response-mode{display:flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:760px;margin:0 auto 8px;font-size:12px;color:#5c7271}
.response-mode button{min-height:36px;padding:5px 15px;border:1px solid #d7e5e6;border-radius:18px;background:#fffefa;color:#344c57;font:inherit;cursor:pointer}
.response-mode button[aria-pressed=true]{background:#22485f;color:#fff;border-color:#22485f}
.response-mode button:disabled{cursor:default;opacity:.65}
.response-mode small{margin:0 5px 0 0;text-align:start}
.response-mode[hidden]{display:none}

/* Nakhoda brand: lenj mark beside the name. */
.brand-logo{width:34px;height:34px;border-radius:9px;flex:none;display:block;box-shadow:0 2px 6px #224a6026}
@media(max-width:560px){.brand-logo{width:28px;height:28px;border-radius:8px}}

/* ---- Nakhoda maritime elements -------------------------------------------- */
/* Send = set sail. */
#send .send-sail{width:23px;height:23px;display:block;transition:transform .25s ease}
#send:hover:not(:disabled) .send-sail{transform:translateX(-2px) rotate(-4deg)}
#send.is-waiting .send-sail{display:none}
/* While waiting, the send button shows a slowly turning helm (سکان). */
#send.is-waiting:after{border:0!important;width:22px;height:22px;border-radius:0;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365e6c' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='1.7'/%3E%3Cpath d='M12 2.5v19M2.5 12h19M5.3 5.3l13.4 13.4M18.7 5.3 5.3 18.7'/%3E%3C/svg%3E") center/contain no-repeat;
 animation:wait-orbit 3.2s linear infinite}
/* Helm next to «سفر من». */
#toggle{display:inline-flex;align-items:center;gap:7px}
#toggle .helm-icon{width:17px;height:17px;transition:transform .5s ease}
#toggle:hover .helm-icon,#toggle[aria-expanded=true] .helm-icon{transform:rotate(90deg)}
/* Waiting card: helm turns while thinking; a lenj sails during lookups. */
.wait-mark{overflow:visible}
.wait-helm{width:30px;height:30px;animation:wait-orbit 6s linear infinite}
.wait-lenj{display:none;width:40px;height:32px;overflow:hidden;border-radius:10px}
.response-wait:is([data-stage=searching],[data-stage=hotels],[data-stage=hotel_details],[data-stage=rooms],[data-stage=destination],[data-stage=location],[data-stage=weather],[data-stage=route],[data-stage=comparing]) .wait-helm{display:none}
.response-wait:is([data-stage=searching],[data-stage=hotels],[data-stage=hotel_details],[data-stage=rooms],[data-stage=destination],[data-stage=location],[data-stage=weather],[data-stage=route],[data-stage=comparing]) .wait-lenj{display:block}
.response-wait:is([data-stage=searching],[data-stage=hotels],[data-stage=hotel_details],[data-stage=rooms],[data-stage=destination],[data-stage=location],[data-stage=weather],[data-stage=route],[data-stage=comparing]) .wait-mark:after{display:none}
.lenj-boat{transform-origin:20px 24px;animation:lenj-bob 2.6s ease-in-out infinite}
.lenj-waves{animation:lenj-sea 2.2s linear infinite}
@keyframes lenj-bob{0%,100%{transform:translateY(0) rotate(-2.5deg)}50%{transform:translateY(-1.6px) rotate(2.5deg)}}
@keyframes lenj-sea{from{transform:translateX(0)}to{transform:translateX(7.5px)}}
/* A thin moving sea along the bottom of the waiting card. */
.response-wait{position:relative;overflow:hidden}
.response-wait:after{content:'';position:absolute;inset:auto 0 0 0;height:7px;opacity:.55;pointer-events:none;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 7'%3E%3Cpath d='M0 4c3.75-2.6 7.5 2.6 11.25 0S18.75 6.6 22.5 4 30 1.4 30 4' fill='none' stroke='%235fb3b8' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0/30px 7px;
 animation:card-sea 3s linear infinite}
@keyframes card-sea{to{background-position:30px 0}}
@media(max-width:560px){.wait-helm{width:25px;height:25px}.wait-lenj{width:34px;height:28px}}
@media(prefers-reduced-motion:reduce){.wait-helm,.lenj-boat,.lenj-waves,.response-wait:after,#send.is-waiting:after{animation:none!important}}
