/* 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:#5e6778}.hotel-pages>small{flex-basis:100%;color:#717a88;font-size:11px}.hotel-pages button{font-size:12px;min-height:44px}
.selected-price-list{flex-basis:100%;border-top:1px solid #cdd7e6;padding-top:8px;font-size:12px}.selected-price-list p{margin:4px 0}.selected-price-list small{color:#58667d}
@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 #d8dfe9;border-radius:18px;background:#edf1f6;overflow:hidden;color:#293552}
.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:#67748a}
.action-history[open]>summary::after{transform:rotate(180deg)}
.action-history>summary:focus-visible{outline:3px solid #798ab0;outline-offset:-4px;border-radius:18px}
.action-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#d8e0ed;color:#1c3266;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:#626f84}.action-latest{font-size:13px;font-weight:600}.action-context{font-size:11px;color:#596579;overflow-wrap:anywhere}
.action-count{font-size:10px;color:#5a677c;white-space:nowrap}
.action-history-body{padding:0 18px 16px;border-top:1px solid #d7dfeb}
.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 #d7dfeb;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:#5d6a81;font-size:10px}
.action-repeat{flex-shrink:0;font-size:10px;color:#626f84;padding-top:3px}.action-jump{display:inline-block;padding:12px 0 0;font-size:12px;color:#1c3266;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:#202f53}
.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:#596882}
.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 #acb9cf;background:#e9eef5;border-radius:6px;color:#505a6e}
.chat-markdown blockquote p:last-child{margin-bottom:0}
.chat-markdown code{font-size:.9em;background:#e8ecf3;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:#ebeff4;border:1px solid #d5dde9;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 #d5dde9;margin:22px 0}
.chat-table{max-width:100%;overflow-x:auto;border:1px solid #d5dde9;border-radius:10px;margin:16px 0;overscroll-behavior-inline:contain}
.chat-table:focus-visible{outline:3px solid #798ab0;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 #dbe0e9;text-align:start;min-width:100px}
.chat-table th{background:#e6ecf4;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:#636a78;--header:76px}
[hidden]{display:none!important}
button{transition:background .15s,border-color .15s}button:hover{border-color:#b4bcce}input:focus-visible,summary:focus-visible{outline:3px solid #788dc0;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:#cacfd8 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 #d6dbe4;border-radius:22px;background:#e8ecf3;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 #dbe0e9;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:#cacfd8 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 #cbd0d9;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:#e8ecf3}.hotel{padding:14px}.hotel p{color:var(--muted)}.hotel button{background:#f1f4f9}.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:#e5e9ef;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 #dee2e888}#composer{border-color:#d0d6e2;box-shadow:0 4px 20px #232c3f08;border-radius:18px;padding:8px;max-width:760px}#composer:focus-within{border-color:#798ab0;box-shadow:0 0 0 3px #1c32660a}textarea::placeholder{color:#757c8a}#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 #c9d3e2;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:#e8ecf3;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 #1f283f04}.room-card{background:#fafbfe}.room-card p{color:var(--muted);line-height:2}.room-tabs{padding:8px;background:#e8ecf3;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 #dee2e8}#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:#4f576a}#hotel-close{background:#fff;box-shadow:0 2px 8px #1f283f08}.loading{color:var(--muted)}.loading:before{content:'';width:28px;height:28px;border:3px solid #d5dce9;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:#1f283f40;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 #131f3b18}#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:#e8ecf3;border-color:#a8b3c8}body.show-history #history-open{background:#e5e9ef;border-color:#a3aec3}
@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 #e7ebf1;border-radius:0;background:transparent;gap:1px}
#facts .fact span{font-size:12px;line-height:1.8}#facts .fact.preference{border-right:2px solid #b2c0d6;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 #1f283f20;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%,#e4e9f14d,transparent 48%),#faf9f5}
header{background:#faf9f5ed}.brand{letter-spacing:-.8px}.brand span{letter-spacing:0}
aside{background:#ecf0f5e6;border-color:#dadfe7}.side-title{padding:2px 4px 8px}
.bubble.user{background:#e1e6ef;border-color:#d1d9e7;box-shadow:0 2px 4px #1f283f03}
.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 #202a4104}.hotel-choices .hotel-choice:hover{background:#f0f4f9;border-color:#9aa6bd;transform:translateY(-1px)}
.hotel-photo{height:164px}.hotel{box-shadow:0 3px 12px #202a4104}.hotel button{min-height:42px}
.starters button{border-radius:18px;box-shadow:0 4px 18px #202a4105}.starters button:hover{background:#ebeff6}
.room-picker{padding:26px;background:#fff;border-radius:24px;border-color:#d4dae6;box-shadow:0 8px 30px #1f2d4b08;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:#7a7f88}.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:#f1f4f9;border-radius:14px;font-weight:700}.count-options button:hover{background:#e5eaf3;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:#f3f6fa;border:1px solid #dadfe8;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:#1c3266;border-color:#1c3266;color:white;box-shadow:0 3px 10px #1c326618}
.room-occupancy{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eff3f8;border:1px solid #dee3eb;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 #cfd7e5;border-radius:12px;padding:4px}.guest-stepper button{width:36px;height:36px;padding:0;border:0;background:#ebeff6;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 #dadfe7}.room-option.is-selected{border-color:#566d9f;box-shadow:0 0 0 1px #566d9f;background:#f8fbff}.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:#e6ebf4;color:var(--green);font-size:11px;flex-shrink:0}.selected-tag{font-size:10px;background:#e0e6f2;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:#eef1f6;border-radius:7px;padding:3px 8px;color:#535c6f}.room-option .extra-note{font-size:11px;margin:8px 0;color:#5d6678}.room-cost{display:grid;grid-template-columns:1fr auto;gap:5px 18px;align-items:center;border-top:1px solid #e7ebf1;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:#5e6778;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:#e8ecf2;color:#757d8b;opacity:1;cursor:not-allowed;border-color:#dee3ea}.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:#e6ebf4;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:#eaeef5;--control-shadow:0 2px 5px #1f283f06}
.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 #788dc0;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:#dadfe8;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:#d4dce8;background:#eaeef5;color:var(--green);box-shadow:none}
.nav-trigger .ui-icon{width:21px;height:21px}
.header-actions{gap:10px}
#copy-link{color:#5d6577;border-color:transparent;box-shadow:none}
#copy-link:hover{background:#e7ecf3;border-color:#d4dce8}
#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 #1c326614}
#new:hover,.primary-button:hover{background:#162958;border-color:#162958;box-shadow:0 4px 12px #1c326624}
.plus-icon{font-size:21px;font-weight:400;line-height:1}
#new:after{content:none}
#toggle{background:#ebeff6;color:var(--green);border-color:#ced7e6}
#panel-backdrop{background:#1e283e2b;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 #d6deea;border-radius:24px;box-shadow:-8px 12px 42px #131f3b20;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:#e7ecf3;border-color:#d4dce8}
#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 #d8dfe9;border-radius:12px;color:#78808f;flex-shrink:0}
.history-search:focus-within{border-color:#7f8eac;box-shadow:0 0 0 3px #1c32660a}
.history-search input{font:inherit;font-size:12px;color:#1f283f;background:transparent;min-width:0;width:100%;height:44px;border:0;outline:none;padding:0}
.history-search input::placeholder{color:#687082}
.history-scroll{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bec8d8 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:#687082;font-weight:400;margin:18px 8px 7px}
.history-group:first-child{margin-top:2px}.history-group span{font-size:10px;color:#7d8593}
#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:#e9eef5;border-color:#d6deea}
#history-list .history-item[aria-current=true]{background:#e1e9f5;border-color:#b9c6db;box-shadow:inset -3px 0 #344b7d}
.history-item-icon{position:relative;display:block;width:30px;height:30px;flex-shrink:0;border-radius:10px;background:#ebeff5;color:#748095}
.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:#2f436d;background:#d3ddee}
.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:#6c7687;margin-top:3px}
[aria-current=true] .history-item-copy strong{font-weight:700;color:#1c3266}
.history-item-arrow{font-size:22px;color:#8793a7}
.history-empty{padding:24px 12px;text-align:center;line-height:1.9;color:#5b677b}.history-empty strong{font-size:13px;color:#303c57}.history-empty p{font-size:12px}.history-loading{font-size:12px;color:#626c7f;padding:18px 12px}
.history-footer{flex-shrink:0;border-top:1px solid #d8dfe9;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:#2f3f61}
.history-footer summary::-webkit-details-marker{display:none}.history-footer summary:hover{background:#e7ecf3}
.history-footer summary>span:not(.disclosure){flex:1;font-size:12px}.history-footer summary small{display:block;color:#687486;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:#5e687a;padding-inline:8px}.history-footer details>label{font-size:11px}
#pair-input{font:inherit;padding:11px 12px;border:1px solid #cdd6e5;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:#6d7788;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:#d5ddea;border-radius:20px;padding:15px;box-shadow:0 4px 16px #232c3f05}.hotel h3{font-size:15px}.hotel .price{font-size:14px}
.hotel button{background:#eaeff6;color:#2a3d65;border-color:#cbd5e5;font-weight:700;min-height:44px;border-radius:11px;box-shadow:none}
.hotel button:hover{background:#dbe4f2;border-color:#a9bad5}
.hotel-choices .hotel-choice{border-color:#d3dbe8;border-radius:17px;box-shadow:0 3px 12px #202a4104}
.choice-index{background:#e1e9f5;border:1px solid #d2dceb;border-radius:10px}.choice-price{line-height:1.9}.choice-action{border-top:1px solid #e6ebf2;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 #232c3f08}
#send{height:46px;width:46px;padding:0;display:grid;place-items:center;border-radius:15px;box-shadow:0 3px 10px #1c326620;flex-shrink:0}
#send:hover:not(:disabled){background:#162958}#send:disabled{opacity:1;background:#dce1ea;color:#7c899e;box-shadow:none}
.dialog-toolbar button{box-shadow:none;background:transparent;border-color:#d3dbe8;min-height:42px}.dialog-toolbar button:hover{background:#e1e9f5}
@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}}

.wait-footer{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:10px 20px;border-top:1px solid #e6ebf1;background:#f3f6fb}.wait-tip{font-size:11px;line-height:1.9;color:#5a6474;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 #d2dbe8;border-radius:10px;background:#fffefa;color:#334362;box-shadow:0 1px 2px #1f2d4b04}.wait-play:hover{background:#e2eaf6;border-color:#94a6c1}.wait-play:focus-visible{outline:3px solid #798ab0;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:#d8e2f0;color:#314571}#send.is-waiting:after{content:'';width:18px;height:18px;border:2px solid #acbcd5;border-top-color:#314571;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 #d1dae8;border-radius:26px;background:#fffdf7;color:#253149;box-shadow:0 24px 100px #121f4033;overflow:auto;overscroll-behavior:contain}
.snake-dialog::backdrop{background:#242c405e;backdrop-filter:blur(5px)}.snake-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.snake-eyebrow{font-size:10px;color:#627187}.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:#ebf0f6;color:#4c5a70;border:1px solid #d7e0ec}
.snake-notice{font-size:11px;line-height:1.9;margin:13px 0 12px;padding:9px 12px;background:#e8edf5;border:1px solid #d8e1ee;border-radius:12px;color:#445570}.snake-notice.is-ready{background:#dae5f5;border-color:#9cb3d5;color:#2a3e64;font-weight:600}
.snake-stats{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:12px 3px 8px;color:#56647a}.snake-score{font-size:19px;color:#33425f;font-variant-numeric:tabular-nums}
.snake-board{position:relative;width:min(100%,360px);margin:auto;border:5px solid #cdd8e9;border-radius:20px;overflow:hidden;background:#dbe4f0;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 #395081;outline-offset:-4px}.snake-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:#e9eff7c7;backdrop-filter:blur(2px);pointer-events:none;direction:rtl;padding:12px;text-align:center}.snake-overlay strong{font-size:20px;color:#2c3a56}.snake-overlay span{font-size:12px;color:#4d5e79}
.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:#30426a;color:#fff;border-color:#30426a}.snake-primary:hover{background:#233355}.snake-back{background:#fffdf7;color:#445570;border-color:#cdd7e6}
.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 #c8d3e4;background:#e3ebf7;color:#303d57;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:#5a687d;margin:10px auto 0;max-width:310px}
@media(max-width:600px){.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-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)))}}

/* Readable, attributed destination evidence instead of a bare link list. */
.tourism-query{font-size:17px;font-weight:700;color:#2c3a56;margin:5px 0 8px}.tourism-description{font-size:11px;color:#5f6c81;margin:0 0 14px}
.tourism-source{background:#fff;border:1px solid #d3dcea;border-radius:16px;padding:16px;margin:12px 0}
.tourism-source h4{font-size:15px;margin:10px 0 4px;color:#243352;overflow-wrap:anywhere}.tourism-badge{display:inline-block;font-size:10px;padding:3px 8px;border-radius:6px;background:#e0e8f5;color:#3c5075}.tourism-publisher{font-size:10px;color:#67748a}
.tourism-excerpt{font-size:12px;line-height:2;color:#475368;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 #e6ebf2;padding:2px 0}.tourism-section summary{cursor:pointer;font-size:12px;padding:11px 0;color:#2c3d60}.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:#5c697e;line-height:1.9}.tourism-timestamp{font-size:10px;color:#6b788d;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:#e7ebf2;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:#6d7587;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 #1d293f14;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:#5a6474}
.response-mode button{min-height:36px;padding:5px 15px;border:1px solid #d5dce8;border-radius:18px;background:#fffefa;color:#313d5a;font:inherit;cursor:pointer}
.response-mode button[aria-pressed=true]{background:#1c3165;color:#fff;border-color:#1c3165}
.response-mode button:disabled{cursor:default;opacity:.65}
.response-mode small{margin:0 5px 0 0;text-align:start}
.response-mode[hidden]{display:none}

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

/* ---- Malavan 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: a lenj on a calm sea ------------------------------------
   think  = the boat rides the swell in place (the model is working);
   voyage = it sails across (an external lookup is running).
   Real SSE stages only, never an estimated progress bar. */
.conversation>.response-wait{margin:20px auto 12px;max-width:600px;border:1px solid #d4dbea;border-radius:20px;background:#fffefa;
 box-shadow:0 1px 2px #18294f0d,0 10px 30px -14px #18294f33;overflow:hidden;position:relative;animation:wait-in .35s ease-out both}
@keyframes wait-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.wait-sea{position:relative;height:64px;overflow:hidden;background:linear-gradient(180deg,#f3f6fb 0%,#e7ecf6 58%,#d5def0 100%);
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.sea-glow{position:absolute;width:120px;height:120px;inset-block-start:-70px;inset-inline-start:14%;border-radius:50%;
 background:radial-gradient(circle,#f6d9a8aa 0%,#f6d9a800 68%)}
.sea-wave{position:absolute;inset-inline:0;bottom:0;height:22px;background-repeat:repeat-x;will-change:background-position}
.sea-back{bottom:9px;height:18px;opacity:.55;animation:sea-drift 9s linear infinite;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 18'%3E%3Cpath d='M0 8c10-6 20-6 40 0s30 6 40 0v10H0Z' fill='%23c3d0ea'/%3E%3C/svg%3E");background-size:80px 18px}
.sea-front{animation:sea-drift-rev 6s linear infinite;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cpath d='M0 9c7.5-5 15-5 30 0s22.5 5 30 0v13H0Z' fill='%239fb3dc'/%3E%3Cpath d='M0 9c7.5-5 15-5 30 0s22.5 5 30 0' fill='none' stroke='%23eef2fa' stroke-width='1.4'/%3E%3C/svg%3E");background-size:60px 22px}
@keyframes sea-drift{to{background-position:80px 0}}
@keyframes sea-drift-rev{to{background-position:-60px 0}}
.sea-boat{position:absolute;bottom:6px;inset-inline-start:22%;width:48px;height:40px;transition:inset-inline-start .6s ease}
.sea-lenj{display:block;width:100%;height:100%;transform-origin:50% 85%;animation:lenj-ride 3.2s ease-in-out infinite}
.lenj-flag{transform-origin:23.6px 4px;animation:lenj-flag 1.4s ease-in-out infinite}
@keyframes lenj-ride{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-2.5px) rotate(2.5deg)}}
@keyframes lenj-flag{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.72)}}
/* Bow points left; inset-inline-start is `right` in RTL, so it sails forward. */
.response-wait[data-mode=voyage] .sea-boat{animation:lenj-voyage 7s linear infinite}
.response-wait[data-mode=voyage] .sea-front{animation-duration:3.2s}
.response-wait[data-mode=voyage] .sea-back{animation-duration:5s}
@keyframes lenj-voyage{from{inset-inline-start:-14%}to{inset-inline-start:104%}}

.wait-main{padding:16px 22px 18px}
.wait-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:22px}
.wait-brand{font-size:12px;font-weight:700;color:#35476e;letter-spacing:0}
.wait-clock{font-size:11px;color:#5c6883;font-variant-numeric:tabular-nums;padding:2px 9px;border-radius:999px;background:#edf1f8;border:1px solid #dbe2ef}
.wait-clock[hidden]{display:none}
.wait-done{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:3px}
.wait-done[hidden]{display:none}
.wait-done li{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.9;color:#68738c;animation:wait-in .3s ease-out both;overflow-wrap:anywhere}
.wait-done li:before{content:'';flex:none;width:16px;height:16px;border-radius:50%;background:#dae2f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232f6476' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.6 8.3 2.2 2.2 4.6-4.8'/%3E%3C/svg%3E") center/16px no-repeat}
.wait-now{display:flex;align-items:flex-start;gap:9px;margin-top:6px}
.wait-spin{flex:none;width:16px;height:16px;margin-top:7px;border-radius:50%;border:2px solid #cdd6e9;border-top-color:#28437d;animation:wait-orbit .9s linear infinite}
.wait-title{flex:1;min-width:0;font-size:15px;font-weight:600;color:#1b2b4f;line-height:1.9;margin:0;overflow-wrap:anywhere}
/* Placeholder rows while hotels or rooms load. */
.wait-skeleton{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px dashed #dbe0ec}
.wait-skeleton[hidden]{display:none}
.sk-row{display:flex;align-items:center;gap:12px}
.sk-thumb{flex:none;width:58px;height:44px;border-radius:10px}
.sk-lines{flex:1;display:grid;gap:7px}
.sk-lines:before,.sk-lines:after{content:'';height:9px;border-radius:5px}
.sk-lines:after{width:58%}
.sk-row:nth-child(2) .sk-lines:after{width:42%}.sk-row:nth-child(3) .sk-lines:after{width:66%}
.sk-thumb,.sk-lines:before,.sk-lines:after{background:linear-gradient(90deg,#eceff6 0%,#f8f9fb 45%,#eceff6 90%) 0 0/300% 100%;animation:sk-shine 1.6s ease-in-out infinite}
.sk-row:nth-child(2) :is(.sk-thumb,.sk-lines:before,.sk-lines:after){animation-delay:.15s}
.sk-row:nth-child(3) :is(.sk-thumb,.sk-lines:before,.sk-lines:after){animation-delay:.3s}
@keyframes sk-shine{from{background-position:100% 0}to{background-position:-100% 0}}
.wait-footer{background:#f5f8fc;border-top-color:#e5e9f3}
.wait-slow{margin:0 22px 14px}
@media(max-width:600px){.wait-sea{height:54px}.sea-boat{width:42px;height:35px}.wait-main{padding:14px 16px 16px}.wait-title{font-size:14px}.wait-slow{margin-inline:16px}}
@media(prefers-reduced-motion:reduce){.response-wait,.sea-wave,.sea-lenj,.lenj-flag,.wait-done li,.sk-thumb,.sk-lines:before,.sk-lines:after,#send.is-waiting:after{animation:none!important}
 .response-wait[data-mode=voyage] .sea-boat{animation:none!important}.wait-spin{animation-duration:2.4s}}
/* Welcome: the cap-and-helm mark and icons on the starters. */
.welcome-mark{width:76px;height:76px;padding:0;border:0;background:none;border-radius:20px;box-shadow:0 12px 28px -12px #1c326680}
.welcome-mark img{display:block;width:100%;height:100%}
.starter-icon{display:block;width:32px;height:32px;padding:6px;margin-bottom:10px;border-radius:10px;background:#e8ecf6;color:#28437d;transition:background .2s,color .2s}
.starters button{transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.starters button:hover{border-color:#b6c3de;transform:translateY(-2px);box-shadow:0 10px 24px -14px #1c326655}
.starters button:hover .starter-icon{background:#1c3266;color:#fbf6ec}
@media(max-width:1000px){.starter-icon{float:right;margin:0 0 0 12px;width:30px;height:30px}}
@media(max-width:600px){.welcome-mark{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.starters button:hover{transform:none}}

/* ==== Hotels & booking redesign (Malavan) ==================================
   One card language for chat choices and the trip panel: photo first, then
   name, proven tags and a clear price block. Ids keep these above older rules. */
#hotel-choices{gap:14px}
#hotel-choices>h3{grid-column:1/-1;margin:0 0 2px;font-size:14px;color:#1b2b4f}
#hotel-choices>.muted,#hotel-choices>.hotel-pages,#hotel-choices>.hotel-browser-launch{grid-column:1/-1}
#hotel-choices .hotel-choice{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;margin:0;text-align:right;
 border:1px solid #d4dbea;border-radius:18px;background:#fffefa;overflow:hidden;line-height:1.8;
 box-shadow:0 1px 2px #18294f0a,0 8px 22px -16px #18294f40;transition:transform .2s,box-shadow .2s,border-color .2s}
#hotel-choices .hotel-choice:hover:not(:disabled){transform:translateY(-2px);border-color:#b6c3de;box-shadow:0 1px 2px #18294f0d,0 16px 32px -18px #18294f59}
#hotel-choices .hotel-choice:focus-visible{outline:3px solid #798ab0;outline-offset:2px}
:is(#hotel-choices .hotel-choice,#hotels .hotel) .choice-photo{position:relative;display:block;grid-row:auto;grid-column:auto;width:100%;aspect-ratio:16/9;min-height:0;
 border-radius:0;background:linear-gradient(135deg,#e5eaf4,#d5ddee);overflow:hidden}
:is(#hotel-choices .hotel-choice,#hotels .hotel) .choice-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
#hotel-choices .hotel-choice:hover .choice-photo img{transform:scale(1.04)}
:is(#hotel-choices .hotel-choice,#hotels .hotel) .choice-photo-placeholder{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;font-size:10px;color:#68738c}
:is(#hotel-choices .hotel-choice,#hotels .hotel) .choice-photo.has-photo .choice-photo-placeholder{display:none}
.hc-index{position:absolute;top:10px;inset-inline-start:10px;min-width:26px;height:26px;padding:0 6px;border-radius:9px;display:grid;place-items:center;
 background:#fffefaeb;color:#1b2b4f;font-size:12px;font-weight:800;box-shadow:0 2px 6px #18294f26}
.hc-stars{position:absolute;bottom:10px;inset-inline-start:10px;padding:1px 9px;border-radius:999px;font-size:11px;color:#fbf6ec;
 background:#162449b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.hc-stars:before,.hd-stars:before{content:'★ ';color:#f0b36a}
.hc-body{display:flex;flex-direction:column;gap:6px;min-width:0;padding:13px 16px 4px}
.hc-name{font-size:15px;font-weight:800;color:#1b2b4f;line-height:1.7}
.hc-address{font-size:11.5px;color:#68738c;line-height:1.8;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.hc-tags{display:flex;flex-wrap:wrap;gap:6px}
.hc-tag{font-size:11px;line-height:1.8;padding:1px 9px;border-radius:999px;background:#edf1f8;color:#35476e;border:1px solid #dbe2ef}
.hc-tag.is-match{background:#e0e7f4;color:#18356d;border-color:#bbcbe6;font-weight:600}
.hc-tag.is-match:before{content:'✓ '}
.hc-price{display:grid;gap:0;margin-top:4px;padding-top:9px;border-top:1px dashed #dbe0ec}
.hc-label{font-size:11px;color:#68738c}
.hc-total{font-size:17px;font-weight:800;color:#1b2b4f;font-variant-numeric:tabular-nums;line-height:1.7}
.hc-nightly{font-size:11px;color:#5c6883}
.hc-note{font-size:11.5px;color:#7a6440;line-height:1.85}
#hotel-choices .choice-action{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px 16px 16px;min-height:42px;border-radius:12px;
 background:#1c3266;color:#fbf6ec;font-size:12.5px;font-weight:700;transition:background .2s}
#hotel-choices .choice-action:after{content:'←'}
#hotel-choices .hotel-choice:hover:not(:disabled) .choice-action{background:#132553}
#hotel-choices .hotel-choice:disabled{opacity:.7}
/* Trip panel: compact horizontal cards. */
#hotels .hotel{display:grid;grid-template-columns:96px minmax(0,1fr);gap:0 12px;padding:10px;margin:0 0 10px;border:1px solid #d4dbea;
 border-radius:16px;background:#fffefa;box-shadow:0 6px 18px -14px #18294f40}
#hotels .hotel .choice-photo{aspect-ratio:auto;height:100%;min-height:96px;border-radius:12px}
#hotels .hotel .hc-body{padding:0}
#hotels .hotel .hc-name{font-size:14px}
#hotels .hotel .hc-total{font-size:15px}
#hotels .hotel .hc-index{top:6px;inset-inline-start:6px;min-width:22px;height:22px;font-size:11px;border-radius:7px}
#hotels .hotel .hc-stars{bottom:6px;inset-inline-start:6px;font-size:10px;padding:0 7px}
#hotels .hotel .hc-cta{grid-column:1/-1;margin:10px 0 0;min-height:40px;border-radius:11px;background:#edf1f8;border:1px solid #d3dbec;color:#1c3266;font-size:12px;font-weight:700}
#hotels .hotel .hc-cta:hover{background:#1c3266;color:#fbf6ec;border-color:#1c3266}

/* Hotel details dialog. */
#hotel-body .hd-head h2{margin:0 0 6px;font-size:22px;line-height:1.6;color:#1b2b4f}
.hd-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:16px;font-size:12px;color:#5c6883;line-height:1.9}
.hd-stars{padding:1px 10px;border-radius:999px;background:#fbf0e1;color:#8a5a1f;border:1px solid #efd6b3;font-weight:700}
.hd-map{color:#28437d;font-weight:700;text-decoration:none;border-bottom:1px dashed #97a9cf}
.hd-map:hover{color:#1b2b4f}
#hotel-body .hd-section{margin-top:20px;padding-top:18px;border-top:1px solid #e5e9f3}
#hotel-body .hd-section>h3{margin:0 0 12px;font-size:15px;color:#1b2b4f}
.hd-desc{margin:0;font-size:13px;line-height:2.15;color:#374564}
.hd-desc.is-clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
#hotel-body .hd-more{margin-top:6px;min-height:36px;padding:4px 2px;background:none;border:0;box-shadow:none;color:#28437d;font-size:12px;font-weight:700}
#hotel-body .hd-more:hover{color:#1b2b4f;text-decoration:underline}
.hd-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.hd-chips li{font-size:11.5px;line-height:1.8;padding:3px 11px;border-radius:999px;background:#f1f4f9;border:1px solid #dee3f0;color:#314062}
.hd-chips li[hidden]{display:none}
.hd-rules{display:grid;grid-template-columns:minmax(120px,max-content) minmax(0,1fr);gap:10px 18px;margin:0;font-size:12.5px;line-height:2}
.hd-rules dt{font-weight:700;color:#1b2b4f}
.hd-rules dd{margin:0;color:#465474;overflow-wrap:anywhere}
.hd-reviews p{font-size:12.5px;line-height:2;color:#374564}
#hotel-body .hd-room{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:0 0 10px;
 border:1px solid #dce1ee;border-radius:14px;background:#fff}
#hotel-body .hd-room h4{margin:0 0 6px;font-size:13.5px;color:#1b2b4f;line-height:1.8}
.hd-room-info{min-width:0}
.hd-room-cost{display:grid;justify-items:end;flex:none;text-align:left}
.hd-cta{position:sticky;bottom:-24px;z-index:2;display:flex;justify-content:center;margin:16px -8px -8px;padding:22px 8px 14px;
 background:linear-gradient(180deg,#fffdf700,#fffdf7 40%)}
#hotel-body .hd-cta button{min-height:50px;padding:10px 28px;border:0;border-radius:14px;background:#1c3266;color:#fbf6ec;font-size:13.5px;font-weight:700;
 box-shadow:0 12px 26px -12px #1c3266b3}
#hotel-body .hd-cta button:hover:not(:disabled){background:#132553}

/* Booking steps: a real stepper, clearer room cards, labelled passengers, a ticket. */
.booking-progress{display:flex;gap:0;counter-reset:none;padding:0;margin:14px 0 18px;border:0;background:none}
.booking-progress span{flex:1;position:relative;padding:28px 4px 0;text-align:center;font-size:11.5px;color:#778299;background:none;border:0}
.booking-progress span:before{content:'';position:absolute;top:6px;inset-inline-start:calc(50% - 8px);width:16px;height:16px;border-radius:50%;background:#fffefa;border:2px solid #c5cfe3;z-index:1}
.booking-progress span:after{content:'';position:absolute;top:13px;inset-inline-start:calc(50% + 8px);width:calc(100% - 16px);height:2px;background:#d9e0ed}
.booking-progress span:last-child:after{display:none}
.booking-progress span[aria-current=step]{color:#1b2b4f;font-weight:800}
.booking-progress span[aria-current=step]:before{background:#1c3266;border-color:#1c3266;box-shadow:0 0 0 4px #1c326626}
.booking-progress span:has(~span[aria-current=step]){color:#28437d}
.booking-progress span:has(~span[aria-current=step]):before{background:#28437d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.4 8.3 2.3 2.3 4.9-5'/%3E%3C/svg%3E") center/12px no-repeat;border-color:#28437d}
.booking-progress span:has(~span[aria-current=step]):after{background:#28437d}
.room-option{transition:border-color .2s,box-shadow .2s}
.room-option:hover{border-color:#b6c3de;box-shadow:0 10px 24px -18px #18294f66}
.room-option.is-selected{box-shadow:0 0 0 3px #1c326622}
.room-cost strong{font-size:18px;color:#1b2b4f;font-variant-numeric:tabular-nums}
.passenger-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end}
.passenger-field{display:grid;gap:6px;font-size:12px;font-weight:700;color:#35476e}
.passenger-field input{min-height:46px;padding:8px 14px;border:1px solid #cdd5e6;border-radius:12px;background:#fff;font:inherit;font-weight:400;color:#1b2b4f}
.passenger-field input:focus{outline:none;border-color:#28437d;box-shadow:0 0 0 3px #28437d26}
.passenger-form button[type=submit]{grid-column:1/-1;min-height:48px;border-radius:13px;background:#1c3266;color:#fbf6ec;border:0;font-weight:700}
#voucher.voucher{position:relative;padding:22px 24px 20px;border:1px solid #cdd5e6;border-radius:20px;overflow:hidden;
 background:#fffefa}
#voucher>button{min-height:46px;border-radius:12px;padding:8px 18px}
#voucher>button:first-of-type{background:#1c3266;color:#fbf6ec;border-color:#1c3266;font-weight:700}
#voucher.voucher:before{content:'';position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#1c3266,#28437d 60%,#e6a15c)}
#voucher .voucher-address,#voucher .voucher-dates{color:#5c6883;font-size:12px;margin:2px 0}
#voucher .voucher-room{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#f1f4f9;font-size:12.5px;color:#314062}
#voucher .voucher-passengers{font-size:12.5px;color:#374564;padding-top:12px;margin-top:14px;border-top:2px dashed #d4dbea}
#voucher .voucher-total{display:block;margin:6px 0 12px;font-size:17px;color:#1b2b4f}
@media(max-width:600px){
 #hotels .hotel{grid-template-columns:84px minmax(0,1fr)}
 .hd-rules{grid-template-columns:1fr;gap:2px}.hd-rules dd{margin-bottom:8px}
 #hotel-body .hd-room{flex-direction:column;align-items:stretch}.hd-room-cost{justify-items:start;text-align:right}
 #hotel-body .hd-cta button{width:100%}
}
@media(prefers-reduced-motion:reduce){#hotel-choices .hotel-choice,#hotel-choices .hotel-choice:hover .choice-photo img{transition:none;transform:none!important}}
.booking-card .notice.is-ok{background:#e5ebf4;border-color:#b9ddd7;color:#193661}
/* Room list filter: selectable rooms first, all rooms on demand. */
.room-filter{display:inline-flex;gap:4px;padding:4px;margin:4px 0 12px;border-radius:13px;background:#edf1f8;border:1px solid #d9e0ee}
.room-filter button{min-height:38px;padding:6px 14px;border:0;border-radius:10px;background:transparent;color:#35476e;font-size:12px;font-weight:600;box-shadow:none}
.room-filter button[aria-pressed=true]{background:#fffefa;color:#1b2b4f;font-weight:800;box-shadow:0 2px 8px -3px #18294f40}
.room-filter button:disabled{opacity:.45;cursor:default}

/* ==== Account & passengers ================================================ */
.account-trigger{display:inline-flex;align-items:center;gap:7px}
.account-trigger.is-signed-in{background:#e8ecf6;border-color:#c6d1e6;color:#1b2b4f;font-weight:700}
dialog#account-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px 22px 22px;border:1px solid #d1d9ea;border-radius:24px;background:#fffdf7;color:#1b2b4f;box-shadow:0 24px 80px #121f4040}
dialog#account-dialog::backdrop{background:#1a243d66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
#account-dialog .dialog-toolbar{justify-content:flex-end}
#account-body h2{margin:4px 0 14px;font-size:19px}
.acc-tabs{display:flex;gap:4px;padding:4px;margin-bottom:14px;border-radius:13px;background:#edf1f8;border:1px solid #d9e0ee}
.acc-tabs button{flex:1;min-height:40px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#35476e;font-weight:600}
.acc-tabs button[aria-selected=true]{background:#fffefa;color:#1b2b4f;font-weight:800;box-shadow:0 2px 8px -3px #18294f40}
.acc-form{display:grid;gap:12px}
.acc-field{display:grid;gap:6px;font-size:12px;font-weight:700;color:#35476e}
.acc-field input{min-height:46px;padding:8px 14px;border:1px solid #cdd5e6;border-radius:12px;background:#fff;font:inherit;font-weight:400;color:#1b2b4f}
.acc-field input:focus{outline:none;border-color:#28437d;box-shadow:0 0 0 3px #28437d26}
.acc-field small,.acc-note{font-size:11px;font-weight:400;color:#68738c;line-height:1.9}
.acc-submit{min-height:48px;border:0;border-radius:13px;background:#1c3266;color:#fbf6ec;font-weight:800}
.acc-error,.form-error{margin:0;padding:8px 12px;border-radius:10px;background:#fbefe9;color:#8a3b22;font-size:12px}
.acc-profile{display:flex;align-items:center;gap:12px;margin:4px 0 14px}
.acc-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#1c3266;color:#fbf6ec;font-size:20px;font-weight:800}
.acc-profile strong{display:block;font-size:16px}.acc-mobile{direction:ltr;display:inline-block;color:#68738c}
#account-body h3{margin:16px 0 4px;font-size:14px}
.acc-passengers{list-style:none;margin:8px 0 16px;padding:0;display:grid;gap:8px}
.acc-passengers li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #dce1ee;border-radius:12px;background:#fff;font-size:12.5px}
.acc-passengers li.muted{border-style:dashed;background:none;color:#68738c}
.acc-passengers button{min-height:34px;padding:4px 12px;border-radius:9px;background:none;border:1px solid #e3cfc6;color:#8a3b22;font-size:11.5px;box-shadow:none}
.acc-logout{width:100%;min-height:44px;border-radius:12px;background:#f3f4f7;border:1px solid #dadfe9;color:#35476e}
/* Passenger form: one card per traveller. */
.passenger-login-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#edf1f8;border:1px solid #d5ddee;font-size:12px;color:#314062;line-height:1.9}
.passenger-login-hint button{flex:none;min-height:40px;padding:6px 14px;border-radius:11px;background:#1c3266;color:#fbf6ec;border:0;font-weight:700}
.passenger-form{display:grid;grid-template-columns:1fr;gap:12px}
.traveller{margin:0;padding:14px 16px 16px;border:1px solid #d9e0ed;border-radius:16px;background:#fff;min-width:0}
.traveller legend{display:flex;align-items:center;gap:8px;padding:0 6px;font-size:13px;color:#1b2b4f}
.traveller-index{display:grid;place-items:center;min-width:24px;height:24px;border-radius:8px;background:#1c3266;color:#fbf6ec;font-size:11.5px;font-weight:800}
.traveller-lead{padding:0 8px;border-radius:999px;background:#fbf0e1;color:#8a5a1f;font-size:10.5px;font-weight:700;border:1px solid #efd6b3}
.traveller-pick{width:100%;min-height:42px;margin:4px 0 10px;padding:6px 12px;border:1px dashed #97a9cf;border-radius:11px;background:#f4f7fc;color:#1c3266;font:inherit;font-size:12.5px;font-weight:600}
.nationality{display:inline-flex;gap:4px;padding:3px;margin:6px 0 10px;border-radius:11px;background:#edf1f8;border:1px solid #d9e0ee}
.nationality button{min-height:34px;padding:4px 14px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:#35476e;font-size:12px}
.nationality button[aria-checked=true]{background:#fffefa;color:#1b2b4f;font-weight:800;box-shadow:0 2px 6px -3px #18294f40}
.traveller-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.traveller-grid [hidden]{display:none}
.traveller-save{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12px;color:#35476e}
.traveller-save input{width:18px;height:18px;accent-color:#1c3266}
.contact-field{max-width:320px}
@media(max-width:560px){.account-trigger{min-width:44px;justify-content:center;padding-inline:10px}.account-trigger span{display:none}.passenger-login-hint{flex-direction:column;align-items:stretch}}

/* ==== Malavan: sailor theme =================================================
   Navy + white with signal red and brass rope. The waiting card hangs a line
   of maritime signal flags over the sea: swaying while thinking, fluttering
   during lookups. */
.sea-bunting{position:absolute;inset:4px 0 auto 0;height:44px;display:block}
.sea-flags{display:block;width:100%;height:100%;overflow:visible}
.sig-flag .sig-cloth{transform-box:fill-box;transform-origin:50% 0;animation:sig-sway 2.8s ease-in-out infinite;animation-delay:calc(var(--i) * -.45s)}
@keyframes sig-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.response-wait[data-mode=voyage] .sig-flag .sig-cloth{animation:sig-flutter .55s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.11s)}
@keyframes sig-flutter{from{transform:rotate(-9deg) skewY(-4deg)}to{transform:rotate(7deg) skewY(5deg)}}
.wait-sea{background:linear-gradient(180deg,#f6f7fb 0%,#e9eef8 60%,#d9e2f2 100%)}
.sea-glow{display:none}
@media(prefers-reduced-motion:reduce){.sig-flag .sig-cloth{animation:none!important}}
:root{--malavan-red:#d64538;--malavan-navy:#1d2b4f;--malavan-brass:#b8893f}
.eyebrow,.wait-brand{color:var(--malavan-red)}
.traveller-lead{background:#fdeceb;color:#a3302a;border-color:#f3c4bf}
.hc-index{color:var(--malavan-navy)}
.brand-logo{box-shadow:0 2px 6px #1d2b4f40}
#toggle .anchor-icon{transform-origin:50% 20%}
#toggle:hover .anchor-icon,#toggle[aria-expanded=true] .anchor-icon{transform:rotate(-12deg)}
#send:hover:not(:disabled) .send-sail{transform:translateY(-1px) rotate(-6deg)}
#send.is-waiting:after{background:none!important;width:20px;height:20px;border:2.5px solid #c9d3e6!important;border-top-color:#1d2b4f!important;border-radius:50%!important;animation:wait-orbit .9s linear infinite}
.sea-bunting{inset:0 0 auto 0;height:60px}
.wait-sea{height:72px}
@media(max-width:600px){.wait-sea{height:62px}.sea-bunting{height:52px}}
