/* TravelEarth N9.276.0 native Dashboard header: original N2.109 dimensions. */
.te264-header{--te-navy:#111e5a;--te-green:#69a820;position:relative;z-index:10;width:100%;box-sizing:border-box;background:#fff;color:var(--te-navy);padding:9px clamp(12px,2.5vw,35px) 70px;border-bottom:1px solid #e1e8e8;font:14px system-ui,-apple-system,Segoe UI,sans-serif}
.te264-header *{box-sizing:border-box}
.te264-top{width:100%;max-width:1510px;margin:0 auto;display:grid;grid-template-columns:minmax(320px,345px) minmax(0,1fr) auto;grid-template-rows:76px;align-items:center;gap:7px 14px}
.te264-globe{grid-column:1;grid-row:1;display:block;position:relative;width:306.25px;height:188.75px;overflow:visible;align-self:start;z-index:1}
.te264-globe video{position:absolute;left:-7.5px;top:-16.25px;width:320px;height:232.5px;object-fit:contain;pointer-events:none}
.te264-globe img{width:306.25px;height:188.75px;object-fit:contain}
.te264-services{grid-column:2;grid-row:1;min-width:0;display:flex;justify-content:center;align-items:center;gap:clamp(6px,1.3vw,22px);flex-wrap:nowrap}
.te264-service{display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-bottom:2px solid transparent;background:none;padding:8px 3px;color:#253b49;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.te264-service:hover,.te264-service[aria-pressed=true]{border-bottom-color:var(--te-green);color:var(--te-navy)}
.te264-service img{display:block;width:30px;height:30px;object-fit:contain}
.te264-links{grid-column:3;grid-row:1;display:flex;gap:11px;align-items:center;justify-content:flex-end}
.te264-links a{color:var(--te-navy);text-decoration:none;font-size:12px;font-weight:700}.te264-links .te264-add{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:2px solid var(--te-green);border-radius:24px;background:var(--te-navy);color:white;white-space:nowrap}
.te264-links img{display:block;object-fit:cover;border-radius:50%}
.te264-search{position:relative;z-index:3;display:grid;grid-template-columns:minmax(115px,.8fr) minmax(0,3fr) minmax(85px,.65fr);align-items:stretch;gap:0;max-width:1040px;min-height:61px;margin:12px max(0px,calc((100% - 1510px)/2)) 0 clamp(330px,25%,370px);padding:5px;background:#fff;border:1px solid #dbe4e5;border-radius:32px;box-shadow:0 5px 20px #122c3c15}
.te264-search [data-te264-fields]{display:grid!important;grid-template-columns:repeat(var(--te-count,3),minmax(0,1fr));min-width:0}
.te264-search[data-te275-columns="2"] [data-te264-fields]{--te-count:2}
.te264-search[data-te275-columns="3"] [data-te264-fields]{--te-count:3}
.te264-search[data-te275-columns="4"] [data-te264-fields]{--te-count:4}
.te264-field{position:relative;min-width:0;padding:6px 10px;border-right:1px solid #e1e8e8}
.te264-field label{display:block;margin:0 0 2px;font-size:11px;font-weight:800;color:#364c58}
.te264-field input,.te264-field select{display:block!important;width:100%;min-width:0!important;margin:0!important;padding:4px 0!important;border:0!important;box-shadow:none!important;background:#fff!important;color:#152b46!important;font:12px system-ui,sans-serif!important;min-height:24px!important;outline-offset:2px}
.te264-field:focus-within{outline:1px solid var(--te-green);outline-offset:-1px;border-radius:9px}
.te264-pair{display:flex;gap:3px;align-items:center}.te264-pair input{width:50%!important;flex:1;min-width:0}
.te264-field input[type=date]{cursor:pointer;font-size:10px!important;color-scheme:light}
.te264-submit{border:0!important;min-width:0!important;border-radius:26px;background:var(--te-green)!important;color:#fff!important;font-weight:800;font-size:12px;cursor:pointer;padding:7px}
.te264-note{display:none!important}
.te275-feedback{max-width:1100px;margin:8px auto;padding:10px 13px;border:1px solid #c86c60;border-radius:9px;background:#fff5f3;color:#913324;font-size:13px;font-weight:700}.te275-feedback[hidden]{display:none!important}
.te274-suggestions{position:absolute;top:100%;left:0;right:0;z-index:100;max-height:240px;overflow:auto;border:1px solid var(--te-green);border-radius:10px;background:#fff;box-shadow:0 10px 22px #111e5a25}
.te274-suggestions[hidden]{display:none!important}.te274-place-option{display:block;text-align:left;width:100%;padding:11px;border:0;border-bottom:1px solid #e5ebed;background:#fff;color:var(--te-navy);cursor:pointer}.te274-place-option:hover,.te274-place-option:focus{background:#eef6e8}
@media(min-width:1550px){.te264-search{margin-left:auto;margin-right:auto;transform:translateX(165px)}}
@media(max-width:1150px){.te264-top{grid-template-columns:215px minmax(0,1fr) auto;gap:5px}.te264-globe{width:210px;height:145px}.te264-globe video{width:219px;height:173px;top:-11px}.te264-services{gap:5px}.te264-service{gap:2px;font-size:10px}.te264-service img{width:24px;height:24px}.te264-search{margin-left:220px;max-width:calc(100% - 223px)}.te264-field{padding:6px 6px}}
@media(max-width:790px){.te264-top{grid-template-columns:155px 1fr;grid-template-rows:auto auto}.te264-globe{grid-column:1;grid-row:1;width:150px;height:94px}.te264-globe video{width:154px;height:129px;top:-15px}.te264-links{grid-column:2;grid-row:1}.te264-services{grid-column:1/-1;grid-row:2;justify-content:space-around;flex-wrap:wrap}.te264-search{margin:8px auto 0;max-width:100%;width:100%}.te264-service{font-size:10px}}
@media(max-width:600px){.te264-header{padding:5px 8px 12px}.te264-search{grid-template-columns:110px minmax(0,1fr);border-radius:16px;gap:2px}.te264-search [data-te264-fields]{grid-column:1/-1;grid-row:2}.te264-submit{grid-column:1/-1;min-height:42px}.te264-search[data-te275-columns="4"] [data-te264-fields]{grid-template-columns:repeat(2,minmax(0,1fr))}.te264-service img{width:22px;height:22px}.te264-links .te264-add{padding:5px 8px;font-size:10px}.te264-services{gap:2px}}

/* N9.276.0: at desktop the original globe and fallback are exactly 125% of N9.275.0.
   Reserve its vertical footprint; preserve the compact search fields to the right. */
@media (min-width:791px){.te264-header{min-height:235px}}
@media (min-width:791px) and (max-width:1150px){.te264-header{min-height:205px;padding-bottom:49px}}
@media (max-width:790px){.te264-header{padding-bottom:16px}.te264-globe{align-self:center}}

/* N9.277: match the source globe panel background across the header and native Dashboard canvas. */
.te264-header {background:#FCFBFC!important;}
body:has(#te264-native-header), body:has(#te264-native-header) main {background-color:#FCFBFC;}
/* N9.278: original single TravelEarth search bar for all service icons, including Flights. */
.te264-search[data-te-selected-service="flights"] [data-te264-fields]{--te-count:5;}
.te264-search[data-te-selected-service="flights"]{grid-template-columns:minmax(105px,.65fr) minmax(0,4.5fr) minmax(88px,.65fr);}
.te264-search[data-te-selected-service="flights"] .te264-field{padding-left:6px;padding-right:6px;}
.te264-search[data-te-selected-service="flights"] .te264-field input[type=search]{text-transform:uppercase;}
@media(max-width:1050px){.te264-search[data-te-selected-service="flights"] [data-te264-fields]{grid-template-columns:repeat(3,minmax(0,1fr));}.te264-search[data-te-selected-service="flights"]{border-radius:18px;}}
@media(max-width:600px){.te264-search[data-te-selected-service="flights"] [data-te264-fields]{grid-template-columns:repeat(2,minmax(0,1fr));}}
/* Match the outer globe video's light backing with the surrounding header, no white bands. */
.te264-header,.te264-globe,.te264-globe video{background:transparent!important;}
.te264-header{background:#FCFBFC!important;}
.te264-globe{box-shadow:none!important;border:0!important;}

/* N9.293: native TEU account actions and branded, non-deceptive SOL-E entry. */
.te264-links .te293-account{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#111e5a}
.te293-account img{width:38px;height:38px;object-fit:cover;border-radius:50%}
.te293-logout{margin:0;padding:0}.te293-logout button{display:flex;gap:5px;align-items:center;border:0;background:transparent;color:#111e5a;cursor:pointer;font:700 12px system-ui,sans-serif;padding:7px 3px;white-space:nowrap}
.te293-account:focus-visible,.te293-logout button:focus-visible,.te293-sol button:focus-visible{outline:3px solid #69a820;outline-offset:3px}
.te293-sol{position:fixed;bottom:20px;right:18px;z-index:9999;font:14px system-ui,sans-serif}
.te293-sol-trigger{border:2px solid #69a820;border-radius:28px;background:#111e5a;color:white;padding:13px 20px;font-weight:800;box-shadow:0 5px 20px #111e5a35;cursor:pointer}
.te293-sol-panel{position:absolute;right:0;bottom:64px;background:white;color:#111e5a;border:2px solid #69a820;border-radius:14px;padding:17px;width:min(355px,calc(100vw - 36px));box-shadow:0 12px 35px #111e5a30}
.te293-sol-panel[hidden]{display:none}.te293-sol-title{display:flex;align-items:center;justify-content:space-between;font-size:19px}.te293-sol-title button{font-size:25px;border:0;background:none;color:#111e5a;cursor:pointer}.te293-sol-note{font-size:12px;line-height:1.5;color:#455368}.te293-sol-panel a{color:#111e5a;font-weight:700}
@media(max-width:790px){.te264-links .te293-account span,.te293-logout button span{display:none}.te264-links{gap:7px}.te293-account img{width:32px;height:32px}.te293-sol{bottom:14px;right:12px}}


/* N9.309: protect original TravelEarth compact service icon navigation on WP/Elementor pages.
   Elementor/WordPress global button rules can render these as pink outline CTA blocks.
   Scope to the native header only; do not change ordinary Elementor buttons. */
#te264-native-header .te264-services button.te264-service {
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;
  height:auto!important;min-height:0!important;margin:0!important;padding:8px 4px!important;
  border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;
  outline-offset:3px;background:transparent!important;background-image:none!important;
  color:#253b49!important;box-shadow:none!important;text-shadow:none!important;
  font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif!important;
  font-size:12px!important;font-weight:750!important;line-height:1.2!important;
  text-transform:none!important;letter-spacing:normal!important;white-space:nowrap!important;
  cursor:pointer!important;gap:5px!important;
}
#te264-native-header .te264-services button.te264-service:hover,
#te264-native-header .te264-services button.te264-service:focus-visible,
#te264-native-header .te264-services button.te264-service[aria-pressed="true"] {
  border-bottom-color:#69a820!important;color:#111e5a!important;
}
#te264-native-header .te264-services button.te264-service img {
  display:block!important;flex:0 0 auto!important;width:30px!important;height:30px!important;
  max-width:30px!important;object-fit:contain!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;
}
#te264-native-header .te264-services button.te264-service span {
  display:inline!important;padding:0!important;margin:0!important;
  color:inherit!important;font:inherit!important;text-decoration:none!important;
}
#te264-native-header .te264-services button.te264-service::before,
#te264-native-header .te264-services button.te264-service::after {content:none!important;display:none!important;}

/* Restore the floating SOL-E image launcher; no changes to the panel's JS or claims. */
body .te293-sol {position:fixed!important;bottom:20px!important;right:18px!important;left:auto!important;top:auto!important;z-index:9999!important;}
body .te293-sol > button.te293-sol-trigger {
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:48px!important;
  margin:0!important;padding:6px 15px 6px 6px!important;
  background:#111e5a!important;background-image:none!important;color:#fff!important;
  border:2px solid #69a820!important;border-radius:999px!important;
  box-shadow:0 5px 20px #111e5a35!important;text-shadow:none!important;
  font:800 13px system-ui,-apple-system,Segoe UI,Arial,sans-serif!important;
  text-transform:none!important;letter-spacing:normal!important;line-height:1.1!important;
  cursor:pointer!important;text-decoration:none!important;
}
body .te293-sol > button.te293-sol-trigger:hover {background:#182b70!important;}
body .te293-sol > button.te293-sol-trigger .te309-sol-photo {
  display:block!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
  border-radius:50%!important;object-fit:cover!important;object-position:center center!important;
  background:#fcfbfc!important;margin:0!important;padding:0!important;border:1px solid #d7e8cb!important;
  box-shadow:none!important;
}
body .te293-sol > button.te293-sol-trigger span {display:inline!important;font:inherit!important;color:inherit!important;margin:0!important;padding:0!important;}
@media (max-width:1150px) {
  #te264-native-header .te264-services button.te264-service {font-size:10px!important;gap:3px!important;padding:7px 2px!important;}
  #te264-native-header .te264-services button.te264-service img {width:24px!important;height:24px!important;max-width:24px!important;}
}
@media (max-width:600px) {
  #te264-native-header .te264-services button.te264-service img {width:22px!important;height:22px!important;max-width:22px!important;}
  body .te293-sol {bottom:14px!important;right:12px!important;}
  body .te293-sol > button.te293-sol-trigger {min-height:44px!important;padding:5px 12px 5px 5px!important;}
  body .te293-sol > button.te293-sol-trigger .te309-sol-photo {width:30px!important;height:30px!important;flex-basis:30px!important;}
}

/* N9.369: original archived SOL-E portrait in the AI CHAT launcher; UI only. */
body .te293-sol > button.te293-sol-trigger .te309-sol-photo{width:48px!important;height:48px!important;flex-basis:48px!important;object-fit:cover!important;object-position:50% 18%!important;background:#fff!important;}
@media(max-width:600px){body .te293-sol > button.te293-sol-trigger .te309-sol-photo{width:42px!important;height:42px!important;flex-basis:42px!important;}}

/* N9.422: the header SERVICE MENU is one uninterrupted horizontal row.
   Preserve original globe; overflow scrolls instead of wrapping/disappearing. */
#te264-native-header .te264-services {
 display:flex!important; flex-flow:row nowrap!important; flex-wrap:nowrap!important;
 justify-content:center!important; align-items:center!important;
 overflow-x:auto!important; overflow-y:hidden!important; overscroll-behavior-inline:contain;
 scrollbar-width:thin; -webkit-overflow-scrolling:touch;
 white-space:nowrap!important; min-width:0!important; max-width:100%!important;
 margin-inline:auto!important;
}
#te264-native-header .te264-services .te264-service {
 display:inline-flex!important; flex:0 0 auto!important; white-space:nowrap!important;
}
@media(max-width:790px){
 #te264-native-header .te264-services{grid-column:1/-1!important;grid-row:2!important;justify-content:flex-start!important;}
}

/* N9.647 native SOL-E direct chat panel: keep launcher bottom-right. */
body .te293-sol-panel.te647-chat{width:min(385px,calc(100vw - 24px));height:min(520px,calc(100dvh - 110px));max-height:calc(100vh - 110px);display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:14px;bottom:76px;box-sizing:border-box;z-index:10000}
body .te293-sol-panel.te647-chat[hidden]{display:none!important}
.te647-chat .te293-sol-title{border-bottom:1px solid #dce6d4;padding-bottom:9px}
.te647-chat-history{flex:1;min-height:70px;overflow:auto;background:#fcfbfc;border-radius:10px;padding:12px}
.te647-bubble{background:#edf5e3;border-radius:12px 12px 12px 4px;padding:12px;margin:0;line-height:1.45}
.te647-chat-status,.te647-chat-disclaimer{font-size:12px;color:#52607c;margin:0;line-height:1.4}
.te647-chat-actions{display:flex;flex-wrap:wrap;gap:6px}
.te647-chat-actions a{display:inline-block;border:1px solid #a7c581;border-radius:8px;padding:7px 9px;text-decoration:none;font-size:12px}
.te647-composer label{display:block;font-size:12px;font-weight:650;margin-bottom:5px}
.te647-composer-row{display:flex;gap:6px}
.te647-composer-row input{flex:1;min-width:0;padding:10px;border:1px solid #c0d0bb;border-radius:9px}
.te647-composer-row button{padding:8px 12px;background:#111e5a;color:white;border:0;border-radius:9px}
.te647-composer-row button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){body .te293-sol-panel.te647-chat{bottom:67px;height:min(470px,calc(100dvh - 90px));right:0}}

/* N9.656 native SOL-E trip builder entry point */
.te647-chat .te656-concierge{border:1px solid #b6d49a;background:#f7fbf2;border-radius:12px;padding:10px;color:#111e5a;font-size:13px}
.te647-chat .te656-concierge p{margin:6px 0 12px;line-height:1.4}
.te647-chat .te656-plan-link{display:inline-block;padding:9px 14px;color:#fff!important;background:#111e5a;border:2px solid #69a820;border-radius:9px;text-decoration:none;font-weight:650}

/* N9.657 SOL-E visible identity and usable guided chat */
.te647-chat .te647-chat-history{overflow-y:auto;min-height:100px}
.te647-chat .te657-customer{background:#111e5a;color:#fff;margin:9px 0 9px auto;max-width:90%;border-radius:12px 12px 4px 12px}
.te647-chat .te657-assistant{background:#edf5e3;margin:9px auto 9px 0;max-width:96%}
.te647-chat .te657-chat-action{margin:0 0 10px}
.te647-chat .te657-chat-link{display:inline-block;padding:9px 13px;background:#69a820;color:#fff!important;border-radius:9px;text-decoration:none}
.te647-chat .te647-chat-actions{display:flex!important;flex-wrap:wrap!important;column-gap:7px!important;row-gap:7px!important}
.te647-chat .te647-chat-actions a{white-space:nowrap;font-size:12px}
.te647-chat .te647-composer input:not(:disabled){background:#fff;color:#111e5a;opacity:1}

/* N9.658: SOL-E is a single quiet conversation, with composer pinned to the bottom. */
body .te293-sol-panel.te647-chat.te658-chat{width:min(390px,calc(100vw - 24px));height:min(480px,calc(100dvh - 105px));display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;background:#fff}
.te658-chat .te293-sol-title{flex:0 0 auto;padding:13px 16px;border-bottom:1px solid #e4ebdf;font-size:17px}
.te658-chat .te647-chat-history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fcfbfc;border-radius:0;padding:14px 12px}
.te658-chat .te647-bubble{font-size:13px;line-height:1.45;max-width:90%;margin:0 0 12px;padding:10px 12px;overflow-wrap:anywhere}
.te658-chat .te647-composer{flex:0 0 auto;margin:0;padding:10px;border-top:1px solid #e4ebdf;background:#fff}
.te658-chat .te647-composer-row{display:flex;align-items:stretch;gap:8px}
.te658-chat .te647-composer-row input{flex:1;min-width:0;border:1px solid #cdd9c5;border-radius:12px;background:#fff;padding:11px 12px;font-size:14px}
.te658-chat .te647-composer-row button{border-radius:10px;background:#111e5a;color:#fff;padding:9px 15px;font-weight:700;cursor:pointer}
.te658-chat .te657-customer{background:#111e5a;color:#fff;margin-left:auto}
.te658-chat .te657-assistant{background:#edf5e3;margin-right:auto}
.te658-chat .te658-options{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.te658-chat .te658-options a{display:inline-block;border:1px solid #89b85c;background:#fff;color:#111e5a!important;text-decoration:none;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:650}
.te658-chat .te658-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){body .te293-sol-panel.te647-chat.te658-chat{height:min(480px,calc(100dvh - 95px));bottom:72px}}

/* N9.660: legacy Archive.zip globe media and documented source display geometry.
   Original source 742x742; desktop displayed video 373x372 in a 285x116 logo viewport.
   Tokens make future visual resize possible without changing video or native routing. */
@media (min-width:1151px){
 #te264-native-header{--te-globe-width:373px;--te-globe-height:372px;--te-globe-offset-x:-44px;--te-globe-offset-y:-128px}
 #te264-native-header .te264-top{grid-template-columns:285px minmax(0,1fr) auto;min-height:116px}
 #te264-native-header .te264-globe{width:285px;height:116px;overflow:visible;align-self:center}
 #te264-native-header .te264-globe video{left:var(--te-globe-offset-x);top:var(--te-globe-offset-y);width:var(--te-globe-width);height:var(--te-globe-height);object-fit:contain}
}
@media (min-width:791px) and (max-width:1150px){
 #te264-native-header .te264-globe{width:220px;height:106px}
 #te264-native-header .te264-globe video{left:-44px;top:-103px;width:310px;height:310px;object-fit:contain}
}
@media (max-width:790px){
 #te264-native-header .te264-globe{width:138px;height:88px}
 #te264-native-header .te264-globe video{left:-18px;top:-45px;width:175px;height:175px;object-fit:contain}
}
/* Independent chat launcher clickability on pages with complex public listing overlays. */
body .te293-sol{z-index:2147483100;pointer-events:auto}
body .te293-sol > .te293-sol-trigger{position:relative;z-index:2;pointer-events:auto;cursor:pointer}
body .te293-sol-panel[hidden]{display:none!important}


/* N9.661.0: Move the original animated header globe left and lower without
   changing its media dimensions. All values are adjustable for later tuning.
   Header remains in the same native layout; no legacy handlers involved. */
@media (min-width:1151px){
 #te264-native-header{
   --te-globe-offset-x:-32px;
   --te-globe-offset-y:-72px;
   --te-globe-container-shift-x:-20px;
 }
 #te264-native-header .te264-globe{
   transform:translateX(var(--te-globe-container-shift-x));
 }
}
/* Intermediate and mobile viewports retain the responsive source dimensions,
   but use a gentler downward/left adjustment to avoid overlapping controls. */
@media (min-width:791px) and (max-width:1150px){
 #te264-native-header .te264-globe{transform:translateX(-9px)}
 #te264-native-header .te264-globe video{left:-32px;top:-76px}
}
@media (max-width:790px){
 #te264-native-header .te264-globe{transform:translateX(-5px)}
 #te264-native-header .te264-globe video{left:-12px;top:-29px}
}


/* N9.663.0: Keep the .app end of the archive logo in roughly the same place,
   but enlarge the globe/logo media so it extends farther left and visually
   aligns with the page title column (user requested alignment near the T in
   TRANSPORT). */
@media (min-width:1151px){
 #te264-native-header{
   --te-globe-width:418px;
   --te-globe-height:417px;
   --te-globe-offset-x:-77px;
   --te-globe-offset-y:-86px;
   --te-globe-container-shift-x:-8px;
 }
}
@media (min-width:791px) and (max-width:1150px){
 #te264-native-header .te264-globe{transform:translateX(-6px)}
 #te264-native-header .te264-globe video{left:-45px;top:-84px;width:330px;height:330px;object-fit:contain}
}
@media (max-width:790px){
 #te264-native-header .te264-globe{transform:translateX(-3px)}
 #te264-native-header .te264-globe video{left:-14px;top:-31px;width:182px;height:182px;object-fit:contain}
}

/* N9.685.0 header consistency: center service icon row on desktop/tablet; keep mobile scrollable. */
@media (min-width:791px){#te264-native-header .te264-services{justify-content:center!important;}}

/* Legacy Suite 1.0.13: give every WHO passenger/guest field a five-character
   number input and reclaim its former equal-width grid column for locations/dates. */
#te-legacy-n9-header-106 .te264-field.te106-who-field input[type="number"]{
 width:5ch!important;min-width:5ch!important;max-width:100%!important;
 box-sizing:content-box!important;padding-left:4px!important;padding-right:4px!important;
 font-variant-numeric:tabular-nums;
}
@media(min-width:791px){
 #te-legacy-n9-header-106 .te264-search [data-te264-fields]:has(> .te106-who-field){
  display:flex!important;align-items:stretch;min-width:0;
 }
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field{
  flex:1 1 0;min-width:0;
 }
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field:has(input[type="date"]){
  flex:1.5 1 0;
 }
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-who-field{
  flex:0 0 76px!important;width:76px!important;max-width:76px!important;
 }
}
@media(max-width:790px){
 #te-legacy-n9-header-106 .te264-field.te106-who-field{max-width:90px;}
}

/* Legacy Suite 1.0.14 — responsive calendar fields in the existing search widget.
   Retains date input names and native keyboard/calendar interactions. */
#te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field:has(.te106-date-pair){
  flex:2.35 1 300px!important;min-width:0;
}
#te-legacy-n9-header-106 .te106-date-pair{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:10px;row-gap:5px;width:100%;min-width:0;
}
#te-legacy-n9-header-106 .te106-date-cell{min-width:0;width:100%;display:flex;flex-direction:column;gap:2px;}
#te-legacy-n9-header-106 .te106-date-caption{
  color:#596779;font:600 10px/1.2 system-ui,-apple-system,sans-serif;
}
#te-legacy-n9-header-106 .te106-date-cell input[type="date"]{
  display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;font-size:clamp(11px,0.86vw,14px)!important;
  min-height:30px!important;padding:2px 1px!important;
  font-variant-numeric:tabular-nums;
}
#te-legacy-n9-header-106 .te106-date-cell input::-webkit-calendar-picker-indicator{
  cursor:pointer;opacity:0.85;max-width:15px;margin-left:2px;
}
/* Mid-width screens: allow the date pair to wrap vertically if needed. */
@media(min-width:791px) and (max-width:1150px){
 #te-legacy-n9-header-106 .te106-date-pair{grid-template-columns:1fr;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field:has(.te106-date-pair){flex:1.6 1 180px!important;}
}
@media(max-width:790px){
 #te-legacy-n9-header-106 .te106-date-pair{grid-template-columns:repeat(2,minmax(0,1fr));}
 #te-legacy-n9-header-106 .te106-date-cell input[type="date"]{font-size:13px!important;min-height:38px!important;}
}
@media(max-width:420px){
 #te-legacy-n9-header-106 .te106-date-pair{grid-template-columns:1fr;}
}

/* Legacy Suite 1.0.14: compact, pill-shaped Search button; reclaimed width for dates. */
#te-legacy-n9-header-106 .te264-search{
  grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) minmax(74px,86px)!important;
}
#te-legacy-n9-header-106 .te264-search .te264-submit{
  border-radius:999px!important;
  min-width:0!important;max-width:86px!important;
  width:100%!important;
  padding:7px 10px!important;
  font-size:12px!important;
  line-height:1.25!important;
  align-self:center!important;
  min-height:38px!important;
  box-sizing:border-box!important;
}
@media(max-width:790px){
 #te-legacy-n9-header-106 .te264-search{
   grid-template-columns:minmax(100px,1fr) minmax(0,2fr)!important;
 }
 #te-legacy-n9-header-106 .te264-search .te264-submit{
   grid-column:1/-1!important;max-width:125px!important;
   width:100%!important;justify-self:end!important;
   min-height:38px!important;
 }
}

/* Legacy Suite 1.0.15: User Management portrait on white */
#te-legacy-n9-header-106 .te106-toplinks a[aria-label="Dashboard"] img{background:#fff!important;border-radius:7px!important;object-fit:contain!important}

/* Legacy Suite 1.0.16 — restore compact Service selector in ALL search modes.
   Do not alter names, destinations, responsive dates, Who, or form behavior. */
@media(min-width:791px){
  #te-legacy-n9-header-106 .te264-search{
    grid-template-columns:clamp(106px,8.5vw,126px) minmax(0,1fr) minmax(74px,86px)!important;
  }
  #te-legacy-n9-header-106 .te264-search > .te264-field:first-child,
  #te-legacy-n9-header-106 .te264-search > .te264-field:first-child select{
    min-width:0!important;max-width:100%!important;
  }
}
@media(min-width:421px) and (max-width:790px){
  #te-legacy-n9-header-106 .te264-search{
    grid-template-columns:minmax(106px,126px) minmax(0,1fr)!important;
  }
}
/* Clear visible tooltips for the user-profile Dashboard and Logout actions.
   Their existing links and authentication behavior are unchanged. */
#te-legacy-n9-header-106 .te106-toplinks a.te106-header-tooltip{
  position:relative!important;
}
#te-legacy-n9-header-106 .te106-toplinks a.te106-header-tooltip::after{
  content:attr(data-te-tooltip);
  display:block;
  position:absolute;
  left:50%;top:calc(100% + 8px);
  transform:translate(-50%,-4px);
  padding:6px 10px;
  border-radius:8px;
  background:#111E5A;
  color:#fff;
  font:600 12px/1.2 system-ui,-apple-system,sans-serif;
  white-space:nowrap;
  box-shadow:0 4px 12px #111e5a33;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
  z-index:100005;
}
#te-legacy-n9-header-106 .te106-toplinks a.te106-header-tooltip:hover::after,
#te-legacy-n9-header-106 .te106-toplinks a.te106-header-tooltip:focus-visible::after{
  opacity:1;visibility:visible;transform:translate(-50%,0);
}


/* Legacy Suite 1.0.17 — content-sized header search columns.
   Replace older equal shares and oversized date flex while preserving all actions. */
@media (min-width:791px) {
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] {
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:stretch;
    justify-content:flex-start;
    min-width:0;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field {
    min-width:0!important;
    flex:0 1 auto!important;
    max-width:none!important;
  }
  /* Geographic places need the most room for names and autocomplete. */
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-location-field {
    flex:1 1 155px!important;
    min-width:100px!important;
  }
  /* A pair of dates needs enough width for 2 native calendar inputs, not half the bar. */
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field,
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field:has(.te106-date-pair) {
    flex:0 1 290px!important;
    width:290px!important;
    min-width:258px!important;
    max-width:290px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-single-date-field {
    flex:0 0 144px!important;
    width:144px!important;
    max-width:144px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-who-field {
    flex:0 0 68px!important;
    width:68px!important;
    max-width:68px!important;
    min-width:68px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-cabin-field {
    flex:0 0 103px!important;
    width:103px!important;
    max-width:103px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-time-field {
    flex:0 0 105px!important;
    width:105px!important;
    max-width:105px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-budget-field {
    flex:0 0 128px!important;
    width:128px!important;
    max-width:128px!important;
  }
  #te-legacy-n9-header-106 .te106-date-pair {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  #te-legacy-n9-header-106 .te106-date-cell input[type=date] {
    font-size:12px!important;
    min-height:30px!important;
  }
}
/* Tablet and narrow desktop: keep native date controls legible and allow the row to wrap. */
@media (min-width:791px) and (max-width:1080px) {
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-location-field {
    flex:1 1 130px!important;
    min-width:108px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field {
    flex:0 1 270px!important;
    width:270px!important;min-width:258px!important;max-width:270px!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-cabin-field {
    flex:0 0 95px!important;width:95px!important;max-width:95px!important;
  }
}
/* Tablet/mobile: one-column dates inside a wide, legible field rather than clipped inputs. */
@media (max-width:790px) {
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field {
    min-width:0!important;max-width:none!important;width:auto!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field {
    grid-column:1/-1!important;
  }
  #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-location-field:only-child {
    grid-column:1/-1!important;
  }
  #te-legacy-n9-header-106 .te106-date-pair {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #te-legacy-n9-header-106 .te106-who-field input[type=number] {
    width:5ch!important;
  }
}
@media(max-width:420px) {
  #te-legacy-n9-header-106 .te106-date-pair {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
  #te-legacy-n9-header-106 .te106-date-cell input[type=date] {
    font-size:12px!important;padding:2px 0!important;
  }
}


/* Legacy Suite 1.0.18 — unified search widget spacing; CSS only. */
#te-legacy-n9-header-106 .te264-search {
 box-sizing:border-box!important;column-gap:6px!important;row-gap:6px!important;
 padding:7px 9px!important;align-items:center!important;
}
#te-legacy-n9-header-106 .te264-search > .te264-field:first-child {
 border-right:1px solid #e2e8e6!important;padding:4px 7px!important;
 min-width:0!important;align-self:stretch!important;
}
#te-legacy-n9-header-106 .te264-search [data-te264-fields] {
 gap:0!important;align-items:stretch!important;min-width:0!important;
}
#te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field {
 box-sizing:border-box!important;min-width:0!important;
 padding:5px 9px!important; border-right:1px solid #e2e8e6!important;
 border-radius:0!important;
}
#te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field:last-child {border-right:0!important}
#te-legacy-n9-header-106 .te264-field label{font-size:11px!important;line-height:1.2!important;margin-bottom:4px!important;white-space:nowrap;}
#te-legacy-n9-header-106 .te264-field input,
#te-legacy-n9-header-106 .te264-field select{font-size:12px!important;line-height:1.35!important;min-height:28px!important;width:100%!important;box-sizing:border-box!important;}
#te-legacy-n9-header-106 .te106-date-pair{gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#te-legacy-n9-header-106 .te106-date-cell{min-width:0!important;gap:3px!important;}
#te-legacy-n9-header-106 .te106-date-cell input[type=date]{min-width:0!important;width:100%!important;min-height:30px!important;font-size:12px!important;}
#te-legacy-n9-header-106 .te264-search .te264-submit{height:38px!important;min-height:38px!important;max-width:90px!important;padding:7px 12px!important;border-radius:999px!important;justify-self:center!important;white-space:nowrap!important;}
@media(min-width:1261px){
 #te-legacy-n9-header-106 .te264-search{grid-template-columns:120px minmax(0,1fr) 90px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields]{display:flex!important;flex-flow:row nowrap!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-location-field{flex:1 1 0!important;width:auto!important;min-width:115px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field{flex:0 0 280px!important;width:280px!important;max-width:280px!important;min-width:280px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-single-date-field{flex:0 0 145px!important;width:145px!important;max-width:145px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-who-field{flex:0 0 70px!important;width:70px!important;max-width:70px!important;min-width:70px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-cabin-field{flex:0 0 98px!important;width:98px!important;max-width:98px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-time-field{flex:0 0 105px!important;width:105px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-budget-field{flex:0 0 115px!important;width:115px!important;}
}
@media(min-width:791px) and (max-width:1260px){
 #te-legacy-n9-header-106 .te264-search{grid-template-columns:114px minmax(0,1fr) 90px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields]{display:flex!important;flex-flow:row wrap!important;row-gap:3px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-location-field{flex:1 1 145px!important;width:auto!important;min-width:105px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field{flex:0 1 275px!important;width:275px!important;max-width:275px!important;min-width:255px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-single-date-field{flex:0 0 144px!important;width:144px!important;max-width:144px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-who-field{flex:0 0 70px!important;width:70px!important;max-width:70px!important;min-width:70px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-cabin-field{flex:0 0 98px!important;width:98px!important;max-width:98px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-time-field{flex:0 0 105px!important;width:105px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-budget-field{flex:0 0 115px!important;width:115px!important;}
}
@media(max-width:790px){
 #te-legacy-n9-header-106 .te264-search{grid-template-columns:minmax(100px,125px) minmax(0,1fr)!important;padding:9px!important;gap:6px!important;}
 #te-legacy-n9-header-106 .te264-search > .te264-field:first-child{grid-column:1/-1!important;border-right:0!important;border-bottom:1px solid #e2e8e6!important;padding-bottom:8px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields]{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te264-field{max-width:none!important;width:auto!important;min-width:0!important;flex:none!important;border:1px solid #e7ebe9!important;border-radius:10px!important;padding:7px 9px!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-date-range-field{grid-column:1/-1!important;}
 #te-legacy-n9-header-106 .te264-search [data-te264-fields] > .te106-who-field{max-width:none!important;}
 #te-legacy-n9-header-106 .te264-search .te264-submit{grid-column:1/-1!important;justify-self:end!important;width:95px!important;max-width:95px!important;}
}
@media(max-width:430px){
 #te-legacy-n9-header-106 .te264-search [data-te264-fields]{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #te-legacy-n9-header-106 .te106-date-pair{grid-template-columns:1fr 1fr!important;gap:6px!important;}
 #te-legacy-n9-header-106 .te106-date-cell input[type=date]{font-size:11px!important;}
}

/* Legacy Suite 1.0.21: click anywhere inside a date field, not just its icon. */
#te-legacy-n9-header-106 .te106-clickable-date,
#te-legacy-n9-header-106 .te106-clickable-date .te106-date-caption,
#te-legacy-n9-header-106 .te106-clickable-date input[type=date]{cursor:pointer!important;}
#te-legacy-n9-header-106 .te106-clickable-date:focus-visible{outline:2px solid #69a820;outline-offset:2px;border-radius:6px;}
#te-legacy-n9-header-106 .te106-single-date-field.te106-clickable-date{border-radius:8px;}
