:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --white: #ffffff;
  --ink: #122033;
  --muted: #506476;
  --line: #dfe6ef;
  --soft: #eef5f8;
  --tint: #e0eff2;
  --accent: #2f6470;
  --accent-hover: #234f5e;
  --focus: #80603d;
  --radius: 22px;
  --shadow: 0 15px 48px #10283f12;
  font: 16px/1.45 "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button[disabled] { cursor: wait; opacity: .63; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: 100%; padding-inline: clamp(12px, 2.5vw, 36px); }
main.shell { padding-inline: 0; }
.sr-only, .trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; translate: 0 -160%; background: var(--white); z-index: 4; padding: 12px; }
.skip:focus { translate: 0 0; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 67px; display: flex; align-items: center; gap: 25px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.5px; }
.brand img { object-fit: contain; }
.brand em { font-style: normal; font-weight: 550; color: var(--accent); }
.head-links { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.quiet, .link-button { background: transparent; border: 0; padding: 7px 10px; border-radius: 9px; font-size: 13px; font-weight: 650; color: var(--accent); text-decoration: none; }
.link-button { padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.quiet:hover, .link-button:hover { background: var(--soft); }
.locale { display: flex; padding: 3px; gap: 1px; background: var(--soft); border-radius: 99px; }
.locale button { background: transparent; border: 0; padding: 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 750; }
.locale button[aria-pressed=true] { color: var(--white); background: var(--accent); }
.legal-strip { background: #e8f1f5; border-bottom: 1px solid var(--line); }
.identity { min-height: 36px; display: flex; align-items: center; flex-wrap: wrap; column-gap: 19px; row-gap: 1px; color: var(--muted); font-size: 12px; padding-block: 4px; }
.identity-name { border: 0; padding: 0; background: transparent; color: var(--ink); font-weight: 700; }
.identity-name:hover { text-decoration: underline; }
.account-link { background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }
.account-link:hover { background: var(--tint); }
.identity a { text-decoration: none; }
.identity a:hover { text-decoration: underline; }
.identity-mail { margin-left: auto; }
.hero {
  position: relative; overflow: hidden; margin-top: 23px; margin-bottom: 19px;
  min-height: 173px; display: flex; align-items: center; border-radius: 24px;
  background: linear-gradient(90deg, #10283f 9%, #15354af5 31%, #225a70a8 62%, #164b6a12 100%), url("/images/coast.jpg") center 58% / cover;
  color: white; box-shadow: var(--shadow);
}
.hero-content { padding: 28px 36px; max-width: 665px; }
.hero h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(29px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero p { margin-top: 10px; color: #eef6fb; font-size: clamp(14px, 1.35vw, 17px); max-width: 485px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: 16px; align-items: start; margin-bottom: 25px; }
.chat, .panel { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chat { display: flex; flex-direction: column; min-height: 495px; overflow: hidden; }
.chat-head { min-height: 65px; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.chat-identity { display: flex; align-items: center; gap: 10px; }
.avatar { border-radius: 50%; background: #eaf4f8; padding: 5px; object-fit: contain; }
.chat-head h2, .panel h2 { font-size: 17px; font-weight: 750; letter-spacing: -.23px; }
.chat-head p { font-size: 12px; color: var(--muted); }
.reset { flex-shrink: 0; }
.services { border-block: 1px solid var(--line); padding: 8px 17px; display: flex; flex-wrap: wrap; gap: 6px; background: #fbfdff; }
.services button, .examples button, .answer-actions button, .secondary {
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  padding: 7px 10px; font-size: 13px; line-height: 1.35; font-weight: 650; color: var(--ink);
}
.services button[aria-pressed=true], .secondary[aria-pressed=true] { border-color: #a0c8d3; background: var(--tint); color: #214d5f; }
.services button:hover, .examples button:hover, .answer-actions button:hover, .secondary:hover { background: var(--soft); border-color: #aaccd9; }
.thread { min-height: 310px; max-height: 56vh; flex: 1; overflow: auto; padding: 20px; overscroll-behavior: contain; scrollbar-color: #acc5d5 transparent; }
.thread-scroll { display: flex; flex-direction: column; flex: 1; position: relative; }
.chat.chat-resized { min-height: 0; }
.chat-resized .thread { flex: none; height: var(--chat-height); min-height: 0; max-height: none; }
.chat-resize { position: relative; display: grid; flex: none; place-items: center; height: 24px; margin-inline: 18px; cursor: ns-resize; touch-action: none; }
.chat-resize::before { content: ''; position: absolute; inset-inline: 0; height: 1px; background: var(--line); }
.chat-resize::after { content: ''; width: 44px; height: 5px; background: #83a8b7; border-radius: 999px; z-index: 1; }
.chat-resize:hover::after, .chat-resize:focus-visible::after, .chat-resize:active::after { background: var(--accent); }
.chat-resize:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.jump-bottom {
  position: absolute; right: 17px; bottom: 10px; z-index: 1; width: 41px; height: 41px; padding: 0;
  display: grid; place-items: center; border: 1px solid #acc8d1; border-radius: 50%;
  color: var(--accent-hover); background: #ffffffd1; backdrop-filter: blur(7px);
  box-shadow: 0 3px 14px #10283f24; font-size: 24px; line-height: 1;
}
.jump-bottom:hover { background: var(--white); }
.entry { margin-bottom: 13px; }
.entry:last-child { margin-bottom: 0; }
.message { background: var(--soft); border-radius: 4px 15px 15px; padding: 12px 15px; width: fit-content; max-width: min(91%, 595px); overflow-wrap: anywhere; font-size: 14px; }
.message p { margin-top: 5px; color: var(--muted); }
.message.outgoing { margin-left: auto; color: white; background: var(--accent); border-radius: 15px 4px 15px 15px; white-space: pre-wrap; }
.examples, .answer-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.examples button { font-weight: 560; }
.compose { margin: 0 18px; border: 1px solid #c6d9e3; border-radius: 14px; display: flex; align-items: end; gap: 7px; padding: 7px; background: #fcfeff; }
.compose:focus-within { border-color: #6c9eac; }
.compose textarea { flex: 1; min-width: 0; resize: vertical; min-height: 42px; max-height: 110px; background: transparent; line-height: 1.35; border: 0; padding: 6px 6px; outline: none; }
.compose textarea:focus-visible { outline: none; }
.send-icon { color: var(--white); background: var(--accent); border: 0; border-radius: 10px; flex: 0 0 38px; height: 38px; font-size: 25px; font-weight: 630; line-height: 1; }
.send-icon:hover, .primary:hover { background: var(--accent-hover); }
.chat-note { padding: 7px 21px 12px; font-size: 11.5px; color: var(--muted); display: flex; gap: 7px 10px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.chat-note .link-button { font-size: 11.5px; }
.progress { display: flex; align-items: center; gap: 9px; margin: 2px 20px 10px; color: var(--muted); font-size: 13px; }
.dot { height: 9px; width: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite alternate; }
@keyframes pulse { from { opacity: .4; } to { opacity: 1; } }
.aside { display: grid; gap: 14px; }
.trip-panel { min-width: 0; padding: 10px 12px 4px; }
.trip-panel h2 { font-size: 15px; }
.trip-panel .summary { margin: 4px 0 0; }
.trip-panel .summary div { padding: 2px 0; border: 0; }
.summary { margin: 6px 0 14px; }
.summary div { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(85px, 38%) 1fr; gap: 10px; font-size: 13px; overflow-wrap: anywhere; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 650; }
.empty, .muted { color: var(--muted); font-size: 13px; line-height: 1.42; }
.aside-bottom p { margin-top: 7px; }
.primary { display: inline-flex; align-items: center; justify-content: center; padding: 8px 13px; background: var(--accent); color: var(--white); border: 1px solid var(--accent); border-radius: 9px; font-weight: 700; font-size: 14px; text-decoration: none; min-height: 38px; }
.wide { width: 100%; }
.lists { padding: 0 15px 12px; }
.list-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); gap: 6px; }
.list-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 13px; padding: 10px 2px; white-space: nowrap; color: var(--muted); }
.list-tabs button[aria-pressed=true] { font-weight: 720; border-color: var(--accent); color: var(--ink); }
.count { font-variant-numeric: tabular-nums; background: var(--soft); border-radius: 8px; padding: 1px 5px; margin-left: 2px; }
#hotel-list { padding: 0; margin: 0; list-style: none; }
#hotel-list li { margin-top: 5px; }
#hotel-list button, #hotel-list a { display: block; width: 100%; text-align: left; text-decoration: none; }
.empty { padding: 9px 0 0; }
.footer { border-top: 1px solid var(--line); color: var(--muted); background: #ebf2f7; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 15px; font-size: 12px; }
.footer-inner strong { display: block; color: var(--ink); margin-bottom: 2px; }
.footer-inner nav { display: flex; gap: 5px 16px; flex-wrap: wrap; }
.footer-inner .link-button { font-size: inherit; }
.criteria { display: grid; gap: 3px; font-size: 13px; padding: 10px 14px; margin-bottom: 8px; border-left: 3px solid #739fac; background: var(--soft); border-radius: 5px 12px 12px 5px; overflow-wrap: anywhere; }
.offer { position: relative; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-block: 9px; display: grid; grid-template-columns: minmax(124px, 26%) minmax(0, 1fr); background: var(--white); }
.offer:has(+ .offer) { margin-bottom: 11px; }
.offer-visual { position: relative; min-height: 124px; border: 0; padding: 0; overflow: hidden; background: #e3eff5; display: grid; place-items: center; }
.offer-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.offer-visual .hotel-mark { color: #417687; font-size: 27px; }
.offer-main { padding: 10px 12px; }
.offer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.offer h3 { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.offer .room-line { margin-top: 5px; font-size: 13px; overflow-wrap: anywhere; }
.offer .place { font-size: 12px; color: var(--muted); margin-top: 2px; }
.save { flex: 0 0 auto; padding: 1px 6px; font-size: 18px; line-height: 1.15; }
.save[aria-pressed=true] { color: var(--accent); background: var(--soft); }
.price { font-weight: 760; color: var(--accent-hover); white-space: nowrap; }
.offer-actions { display: flex; gap: 6px; margin-top: 7px; align-items: center; flex-wrap: wrap; }
.offer-actions button { min-height: 34px; }
.esim-plans { margin-top: 8px; padding: 0; list-style: none; }
.esim-plans li { margin-bottom: 5px; }
dialog { width: min(590px, calc(100% - 28px)); max-height: calc(100dvh - 46px); padding: 0; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); overflow: auto; box-shadow: 0 24px 80px #10283f40; }
dialog::backdrop { background: #10283f80; }
.dialog-frame { padding: 19px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 7px; margin-bottom: 12px; }
.dialog-head h2 { line-height: 1.2; font-size: 22px; }
.close { font-size: 22px; line-height: 1; padding: 1px 7px 5px; }
.dialog-content { display: grid; gap: 10px; font-size: 14px; }
.dialog-content p { overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 11px; }
.form-grid label { display: grid; gap: 4px; font-size: 13px; align-content: start; }
.form-grid label span { font-weight: 650; color: var(--ink); }
.form-grid input:not([type=checkbox]), .form-grid select, .form-grid textarea { width: 100%; min-width: 0; min-height: 36px; border: 1px solid #bdcfdd; border-radius: 7px; background: #fff; padding: 6px 8px; color: var(--ink); }
.span-all { grid-column: 1 / -1; }
.form-grid textarea { min-height: 55px; resize: vertical; }
.form-grid .esim-consent { display: flex; align-items: flex-start; gap: 8px; }
.esim-consent input { flex: 0 0 auto; margin: 3px 0 0; }
.form-grid .esim-consent span { font-weight: 400; }
.esim-receipt p { margin-top: 6px; }
.esim-receipt details { margin-top: 8px; }
.esim-receipt summary { cursor: pointer; color: var(--accent); font-weight: 650; }
.esim-qr { display: block; width: min(230px, 100%); height: auto; margin-top: 8px; border-radius: 6px; }
.offer-variant { display: flex; justify-content: space-between; align-items: start; gap: 7px; border-top: 1px solid var(--line); padding: 8px 0 0; }
.offer-variant p { font-size: 13px; color: var(--muted); }
.receipt { border-radius: 11px; background: var(--soft); padding: 12px; }
.feedback { color: #783d2e; font-size: 13px; }
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; row-gap: 8px; padding-block: 6px; }
  .head-links { flex-wrap: wrap; justify-content: flex-end; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .aside { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: start; }
  .hero { min-height: 142px; margin-top: 14px; margin-bottom: 13px; }
  .hero-content { padding: 22px 24px; }
  .chat { min-height: 460px; }
  .thread { max-height: 60vh; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; min-height: 55px; flex-wrap: wrap; }
  .brand { font-size: 16px; gap: 5px; }
  .brand img { width: 33px; height: 33px; }
  .head-links { gap: 0; }
  .head-links .contact, .head-links #company { display: none; }
  .identity { column-gap: 10px; font-size: 10.5px; }
  .identity-mail { margin-left: 0; }
  .hero { border-radius: 17px; background-position: 64% center; }
  .hero-content { padding: 17px; }
  .chat-head { padding-inline: 12px; }
  .chat-head h2 { font-size: 15px; }
  .reset { padding-inline: 4px; font-size: 12px; }
  .services, .thread { padding-inline: 10px; }
  .services button { font-size: 12px; padding: 6px 7px; }
  .compose, .chat-resize { margin-inline: 10px; }
  .chat-note { padding-inline: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .offer { grid-template-columns: 77px minmax(0,1fr); }
  .offer-main { padding: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-frame { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }

/* Hotel gallery and individually selectable offers. */
.offer { grid-template-columns: minmax(124px, 26%) minmax(0, 1fr); }
.offer-visual { position: relative; border: 0; padding: 0; overflow: hidden; min-height: 124px; }
.offer-visual:focus-visible { outline-offset: -4px; z-index: 1; }
.offer-visual img { transition: transform .18s ease; }
.offer-visual:hover img { transform: scale(1.035); }
.hotel-name { color: inherit; text-decoration: none; font-weight: inherit; }
.offer-visual, .room-choice { text-decoration: none; }
.hotel-name::after { content: ''; position: absolute; inset: 0; }
.offer .offer-visual, .offer .save, .offer .room-choice, .offer .offer-actions { position: relative; z-index: 1; }
.offer:focus-within { border-color: #9dc2cd; }
.hotel-name:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hotel-teaser { margin-block: 6px; color: var(--muted); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.room-choice, .esim-choice {
  display: grid; width: 100%; align-items: center; grid-template-columns: minmax(0, 1fr) auto 12px;
  min-height: 42px; gap: 7px; padding: 6px 9px; text-align: left; border: 1px solid var(--line); border-radius: 9px;
  background: var(--white); font-size: 13px;
}
.room-choice { margin-top: 5px; }
.room-choice:hover, .esim-choice:hover, .room-choice[aria-pressed=true] { background: var(--soft); border-color: #aaccd9; }
.room-choice-title { overflow-wrap: anywhere; }
.room-choice small { display: block; color: var(--muted); }
.room-choice-price { text-align: right; }
.room-choice > span:last-child, .esim-choice > span:last-child { color: var(--accent); font-size: 17px; }
.hotel-amenities { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 4px 0 0; list-style: none; }
.hotel-amenities li { padding: 3px 7px; border-radius: 7px; background: var(--soft); color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.hotel-page { width: min(100%, 1400px); margin-inline: auto; padding: clamp(14px, 2.7vw, 36px); }
.hotel-back { display: inline-block; margin-bottom: 9px; }
.hotel-page-heading { margin: 0 0 16px; }
.hotel-page-heading h1 { font-size: clamp(25px, 4vw, 38px); line-height: 1.15; overflow-wrap: anywhere; }
.hotel-page-heading p { color: var(--muted); margin-top: 5px; }
.hotel-page-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(305px, 1fr); gap: 16px; align-items: start; }
.hotel-page-offers, .hotel-about, .hotel-panel, .hotel-info-section { display: grid; gap: 8px; min-width: 0; }
.hotel-page-offers { gap: 16px; }
.hotel-about, .hotel-panel { padding: clamp(13px, 2vw, 22px); }
.hotel-quote-price .price { font-size: 23px; }
.hotel-flights { display: grid; gap: 12px; }
.flight-section { border-top: 1px solid var(--line); padding-top: 8px; }
.flight-section .summary { margin: 3px 0 0; }
.flight-section .summary div { padding: 4px 0; }
.hotel-info-section { overflow-wrap: anywhere; }
@media (max-width: 750px) {
  .hotel-page-grid { grid-template-columns: minmax(0, 1fr); }
}
.hotel-info-section { padding-top: 8px; border-top: 1px solid var(--line); }
.hotel-info-section h3 { font-size: 16px; }
.hotel-info-section p { color: var(--muted); }
.hotel-info-subsection { display: grid; gap: 5px; }
.hotel-distances { display: flex; flex-wrap: wrap; gap: 8px; margin: 3px 0 0; }
.hotel-distances div { display: grid; gap: 2px; min-width: 90px; padding: 8px 11px; border-radius: 9px; background: var(--soft); }
.hotel-distances dt, .hotel-original { color: var(--muted); font-size: 12px; }
.hotel-distances dd { font-weight: 720; }
.hotel-description-list { margin: 0; padding-inline-start: 20px; color: var(--muted); }
.hotel-description-list li + li { margin-top: 2px; }
.hotel-room-profile { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.hotel-room-profile h4 { font-size: 15px; }
.room-gallery { width: min(100%, 390px); }
.room-gallery .gallery-controls button { min-height: 36px; }
.hotel-meta { margin: 0; }
.gallery-frame {
  position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16/9;
  width: 100%; border-radius: 12px; background: var(--soft);
}
.gallery-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hotel-photo-notice { padding: 8px; color: var(--muted); text-align: center; }
.gallery-controls { display: grid; grid-template-columns: 44px auto 44px; align-items: center; justify-content: center; gap: 10px; text-align: center; margin-top: 6px; }
.gallery-controls button { min-height: 44px; font-size: 22px; }
.gallery-photo-label { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.gallery-photo-label:empty { display: none; }
.esim-plans { padding: 0; list-style: none; }
.esim-choice strong { color: var(--accent-hover); white-space: nowrap; }
.more-esim-plans summary { cursor: pointer; color: var(--accent); font-weight: 650; }
@media (max-width: 480px) {
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-visual { min-height: 102px; aspect-ratio: 2.45; }
}
