/* CeyTravel. Avya palette: navy, turquoise, gold on a soft grey page. */
:root {
  --navy: #102A43; --navy-2: #1B3A57; --ink: #334E68; --muted: #486581;
  --teal: #00797A; --teal-hi: #42C5C1; --teal-soft: #E6F7F6; --teal-tint: #C6EEEC;
  --gold: #D6AD60; --gold-ink: #8A6A2C; --gold-soft: #FBF3E2; --gold-brand: #C9973F;
  --bg: #F5F7FA; --line: #E4E9EF; --line-2: #D9E2EC; --field: #BCCCDC; --danger: #A12C3A;
  --shadow: 0 1px 2px rgba(16,42,67,.04), 0 8px 24px rgba(16,42,67,.06);
  --display: Poppins, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Open Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid rgba(0,121,122,.45); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.section { padding: 40px 0; }
.page-head { padding: 44px 0 8px; }
.page-head p.lead { font-size: 18px; max-width: 700px; margin: 12px 0 0; }
.article-head h1 { max-width: 860px; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.kicker.teal { color: var(--teal); }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.row.between { justify-content: space-between; }
.row.end { align-items: flex-end; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Header and footer */
.topbar { background: var(--navy); color: var(--line-2); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--gold); font-weight: 600; text-decoration: none; }
.topbar.confirm { background: var(--gold-soft); color: #5C4518; }
.topbar.confirm a { color: var(--navy); text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 28px/1 var(--display); color: #008B8B; letter-spacing: -.01em; }
.brand b { font-weight: 700; color: var(--gold-brand); }
.brand-light { color: var(--teal-hi); font-size: 26px; }
.brand-light b { color: var(--gold); }
.main-nav, .user-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-weight: 600; font-size: 15px; }
.main-nav a, .user-nav > a:not(.btn) { color: var(--navy); text-decoration: none; padding: 10px 0; }
.main-nav a.active, .user-nav > a.active { color: var(--teal); }
.user-nav form { margin: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font: 700 16px var(--display); flex: 0 0 auto; }
.avatar.gold { background: #EFE3C8; color: var(--gold-ink); }
.avatar-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; }
.avatar-label { display: none; }
.avatar-link:hover .avatar { background: var(--teal); color: #fff; }
.avatar-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 2px; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.site-footer { background: var(--navy); color: var(--line-2); margin-top: 56px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 52px; padding-bottom: 28px; }
.footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-brand a, .site-footer a { color: var(--teal-hi); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-cols b { color: #fff; }
.footer-cols a { color: var(--line-2); text-decoration: none; }
.footer-bottom { border-top: 1px solid #243B53; padding-top: 16px; padding-bottom: 26px; font-size: 13px; color: #9FB3C8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: 700 15px/1.2 "Open Sans", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #006566; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { color: #fff; background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--field); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--muted); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: #E5B8BE; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal); cursor: pointer; text-decoration: underline; }

/* Cards and grids */
.card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.pad { padding: 24px; }
.pad-lg { padding: 32px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid.tight { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tile { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; position: relative; }
.tile-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tile-body h3 a { color: var(--navy); text-decoration: none; }
.tile-body h3 a::after { content: ""; position: absolute; inset: 0; }
.tile .over { position: relative; z-index: 1; }
.media { width: 100%; height: 190px; object-fit: cover; }
.media.tall { height: 420px; border-radius: 20px; }
.ph { display: flex; align-items: flex-end; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--navy); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; color: var(--navy); }
.save { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.save button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.price { font-weight: 700; color: var(--navy); }
.by { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--teal); }
.by .avatar { width: 26px; height: 26px; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--navy); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 12px; background: #F0F4F8; color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--teal-soft); color: var(--teal); }
.pill.wait { background: var(--gold-soft); color: var(--gold-ink); }
.pill.bad { background: #FBEDEF; color: var(--danger); }

/* Hero and bands */
.hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding: 28px; border-radius: 28px; }
.hero > div { flex: 1 1 400px; min-width: 0; }
.hero p.lead { font-size: 18px; }
.band { background: var(--navy); color: var(--line-2); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.band > div { flex: 1 1 360px; min-width: 0; }
.band h2 { color: #fff; margin-bottom: 14px; }
.band .kicker { color: var(--gold); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { background: var(--navy-2); border-radius: 16px; padding: 16px 18px; }
.ticks b { display: block; font: 600 17px var(--display); color: #fff; }
.ticks span { font-size: 14px; color: #BCCCDC; }
.region { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; text-decoration: none; }
.region i { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px; }
.region b { display: block; font: 600 18px var(--display); color: var(--navy); }
.region span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
.own-strip { padding: 4px 0 8px; }
.own-strip .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .own-strip .grid { grid-template-columns: 1fr; gap: 12px; } }
.own { border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.own { padding: 10px 16px 10px 10px; }
.own .pic { width: 84px; height: 68px; flex: 0 0 84px; border-radius: 12px; object-fit: cover; }
.own .go { margin-left: auto; flex: 0 0 20px; color: var(--teal); }
.own:hover { transform: translateY(-2px); border-color: var(--teal); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
label.field, .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.field small { font-weight: 400; color: var(--muted); }
/* Side by side, a field with a hint line is taller than one without: keep the boxes on one line. */
.fields > .field > input, .fields > .field > select, .fields > .field > textarea { margin-top: auto; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--field); border-radius: 12px; padding: 0 14px; font: 400 16px/1.4 "Open Sans", sans-serif; color: var(--navy); background: #fff; }
textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
input[type=file] { font-size: 14px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 15px; font-weight: 400; color: var(--ink); }
.check input { width: 20px; height: 20px; flex: 0 0 20px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option span { display: block; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line-2); background: #fff; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.45; }
.option span b { display: block; font: 600 16px var(--display); color: var(--navy); }
.option input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.option input:focus-visible + span { outline: 3px solid rgba(0,121,122,.45); outline-offset: 2px; }
.panel { background: var(--bg); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.notice { border-radius: 14px; padding: 14px 16px; background: var(--teal-soft); color: #00585A; font-weight: 600; }
.notice.error { background: #FBEDEF; color: var(--danger); }
.notice.warn { background: var(--gold-soft); color: #6B5120; }
.searchbar { padding: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.searchbar .field { flex: 1 1 180px; }
.auth { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 48px 0; }
.auth > .card { flex: 1 1 400px; min-width: 0; }
.auth > aside { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Article */
.prose { font-size: 18px; line-height: 1.75; max-width: 760px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 16px; margin: 8px 0 24px; }
.prose strong { color: var(--navy); }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.two-col > .main { flex: 999 1 560px; min-width: 0; }
.two-col > aside, .two-col > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pre { white-space: pre-line; }

/* Stay page */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; border-radius: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.fact { padding: 14px 16px; border-radius: 16px; }
.fact span { display: block; font-size: 13px; color: var(--muted); }
.fact b { font: 600 19px var(--display); color: var(--navy); }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.ticklist li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 10px; }
.pricebox { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.pricebox b { font: 600 24px var(--display); color: var(--navy); }

/* Dashboard */
.dash { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 32px 0; }
.dash > .side { flex: 1 1 220px; max-width: 280px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.dash > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }
.side a.active { background: var(--navy); color: #fff; }
.side .who { display: flex; gap: 12px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.count { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 8px; background: var(--gold-soft); color: var(--gold-ink); }
.stat span { display: block; font-size: 13px; color: var(--muted); }
.stat b { font: 600 28px var(--display); color: var(--navy); }
.item { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; }
.item .thumb { width: 88px; height: 66px; border-radius: 12px; object-fit: cover; flex: 0 0 88px; padding: 0; }
.item .grow { flex: 1 1 220px; min-width: 0; }
.item .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.item form { margin: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--navy); border-bottom-width: 2px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb-card { width: 170px; padding: 10px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.thumb-card img { width: 100%; height: 105px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.thumb-card .check { font-size: 14px; }
.thumb-card input.order { width: 64px; min-height: 36px; padding: 0 8px; }

/* Calendar */
.cal-head, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 6px; }
.day { min-height: 58px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font: inherit; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; }
.day b { font-size: 16px; }
.day small { font-size: 11px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.day { cursor: pointer; }
.day { transition: background-color .12s, border-color .12s, box-shadow .12s; }
.day:not(.past):not(.blocked):not(.booked):not(.mine):hover { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-tint); }
.day:not(.past):not(.blocked):not(.booked):not(.mine):not(.request):hover { background: var(--teal-soft); }
.day.past { background: var(--bg); color: #829AB1; border-color: var(--line); }
.day.blocked { background: var(--line); color: var(--muted); border-color: var(--line); }
.day.blocked b { text-decoration: line-through; }
.day.booked { background: var(--navy); color: #fff; border-color: var(--navy); }
.day.request { background: var(--gold-soft); border: 2px dashed var(--gold-ink); }
.day.mine { background: var(--teal); color: #fff; border-color: var(--teal); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; margin-top: 12px; }
.legend i { display: inline-block; width: 18px; height: 18px; border-radius: 6px; margin-right: 8px; vertical-align: -4px; border: 1px solid var(--field); background: #fff; }
.legend i.blocked { background: var(--line); border-color: var(--line); }
.legend i.booked { background: var(--navy); border-color: var(--navy); }
.legend i.request { background: var(--gold-soft); border: 2px dashed var(--gold-ink); }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.month-nav b { font: 600 19px var(--display); color: var(--navy); }

/* Chat */
.chat { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 24px 0 40px; }
.chat-list { flex: 1 1 250px; max-width: 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-list a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 2px solid var(--line); text-decoration: none; color: inherit; }
.chat-list a.on { background: var(--teal-soft); border-color: var(--teal); }
.chat-list .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.chat-list .grow b { color: var(--navy); font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.chat-list .grow b small { font-weight: 400; color: var(--muted); font-size: 12px; }
.chat-list .last { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-list .unread .last { color: var(--navy); font-weight: 700; }
.thread { flex: 999 1 420px; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.thread-head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bubbles { display: flex; flex-direction: column; gap: 10px; min-height: 280px; max-height: 460px; overflow-y: auto; padding: 4px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; background: #F0F4F8; color: var(--navy); align-self: flex-start; white-space: pre-line; overflow-wrap: anywhere; }
.bubble.mine { background: var(--teal); color: #fff; align-self: flex-end; }
.bubble small { display: block; font-size: 11px; opacity: .8; margin-top: 2px; }
.send { display: flex; gap: 10px; }
.send input, .send textarea { flex: 1; min-width: 0; }
.send textarea { min-height: 50px; resize: none; padding: 12px 14px; line-height: 1.45; }
.send .btn { align-self: flex-end; }
.send { flex-wrap: wrap; }
.attach { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.attach small { font-weight: 400; color: var(--muted); }
.send .attach input { flex: 1 1 220px; font: inherit; font-size: 13px; font-weight: 400; color: var(--muted); border: 0; padding: 0; min-height: 0; background: none; }
.att { display: block; margin-bottom: 4px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .7); color: var(--navy); font-weight: 700; text-decoration: none; white-space: normal; }
.att span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.bubble.mine .att { background: rgba(255, 255, 255, .92); }
.att.gone { font-weight: 600; font-style: italic; color: var(--muted); }
.att.photo { padding: 0; background: none; line-height: 0; }
.att.photo img { display: block; max-width: 100%; width: 240px; max-height: 240px; object-fit: cover; border-radius: 10px; background: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick .chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
.chip.ghost { border-style: dashed; color: var(--muted); }

.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--field); background: #fff; color: var(--navy); font: 700 15px "Open Sans", sans-serif; cursor: pointer; }
.nav-wrap { display: contents; }

/* Phones: the navigation folds behind a Menu button (only when scripts work; otherwise it stays open). */
@media (max-width: 760px) {
  .topbar:not(.confirm) span { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .nav-wrap { display: none; }
  .js .site-header.open .nav-wrap { display: flex; }
  .nav-wrap { display: flex; flex-direction: column; width: 100%; padding-bottom: 8px; }
  .nav-wrap .main-nav, .nav-wrap .user-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-wrap .main-nav a, .nav-wrap .user-nav > a:not(.btn) { padding: 13px 2px; border-top: 1px solid var(--line); }
  .nav-wrap .user-nav .btn { margin-top: 10px; }
  .nav-wrap .avatar-label { display: inline; }
  .nav-wrap .user-nav form { border-top: 1px solid var(--line); padding-top: 8px; }
  .brand { font-size: 24px; }
  .brand img { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .band, .hero { padding: 24px; }
  .pad-lg { padding: 22px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
  .media.tall { height: 240px; }
  .day { min-height: 48px; }
  .day small { display: none; }
  .dash > .side { max-width: none; }
}

/* Illustrations shown where there is no uploaded photo */
img.art { object-fit: cover; }
.ph.art span { background: rgba(255,255,255,.9); padding: 5px 10px; border-radius: 999px; }
.ph.art span:empty { display: none; }

/* Seasons, checklist, reviews */
.rates { min-width: 640px; }
.rates td { padding: 8px 6px; vertical-align: middle; }
.rates td:first-child { min-width: 210px; }
.rates input[type=text], .rates input[type=date], .rates input[type=number] { min-height: 42px; padding: 0 10px; }
.plain-list { margin: 0; padding-left: 18px; line-height: 1.9; }
.seasons { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.estimate { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--teal-soft); color: var(--navy); font-weight: 600; }
.estimate.warn { background: var(--gold-soft); color: #6B5120; }
.meter { display: inline-block; width: 120px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; vertical-align: middle; flex: 0 0 auto; }
.meter i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.checklist { padding: 0; box-shadow: none; border: 1px solid var(--line); }
.checklist summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; color: var(--navy); }
.checklist ul { list-style: none; margin: 0; padding: 0 18px 16px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .tick { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); }
.checklist li.done .tick { background: var(--teal); border-color: var(--teal); color: #fff; }
.checklist li.done b { color: var(--muted); font-weight: 600; }
.quality { display: flex; align-items: center; gap: 10px; margin-top: 8px; text-decoration: none; color: var(--ink); }
.quality:hover span.small { text-decoration: underline; }
.stars { color: #C9973F; letter-spacing: 1px; }
.rating-line { display: inline-block; margin-top: 8px; color: var(--navy); text-decoration: none; font-size: 15px; }
.rating-line:hover { text-decoration: underline; }
.review { box-shadow: none; border: 1px solid var(--line); }
.review .reply { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 10px 10px 0; font-size: 15px; }
.arrival { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--teal-soft); }
.arrival summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.star-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 40px; line-height: 1; color: var(--line-2); cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #C9973F; }
.star-pick input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.save-inline { gap: 6px; }
.save-inline[aria-pressed="true"] { border-color: #E8B4BB; background: #FDF1F3; }
.side-label { display: block; margin: 10px 12px 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Calendar sync */
.sync-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.sync-strip:hover { border-color: var(--teal); }
.sync-strip b { color: var(--navy); }
.feed { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.feed-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 360px; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.help summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.help ul { margin: 10px 0 0; padding-left: 20px; line-height: 1.7; font-size: 15px; }
.legend i.elsewhere, .day.elsewhere { background: #EDE7F6; }
.day.elsewhere { color: #4A3B78; }

/* Facilities */
.fi { flex: 0 0 auto; color: var(--teal); }
.fac-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fac-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; color: var(--ink); }
.fac-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 28px; }
.fac-groups h3, .fac-pick h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.fac-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fac-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fac-pick { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.fac-pick:first-of-type { border-top: 0; }
.check .fi { margin-right: -2px; }

/* Rooms (places let by room) */
[hidden] { display: none !important; }
.day.part { background: var(--teal-soft); border-color: var(--teal-tint); }
.legend i.part { background: var(--teal-soft); border-color: var(--teal-tint); }
.room-table { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: #fff; }
.room-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(150px, 190px); gap: 16px; padding: 16px; border-top: 1px solid var(--line); align-items: start; }
.room-row:first-child { border-top: 0; }
.room-row .room-photo { width: 150px; height: 112px; object-fit: cover; border-radius: 12px; padding: 0; }
.room-row h3 { font-size: 18px; }
.room-row .room-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.room-row .fac-chips li { padding: 4px 9px; font-size: 13px; gap: 6px; }
.room-row .room-price { display: flex; flex-direction: column; gap: 6px; text-align: right; align-items: flex-end; }
.room-row .room-price b { font: 600 20px var(--display); color: var(--navy); }
.room-row .room-price select { min-height: 44px; width: 110px; }
.room-left { color: var(--danger); font-weight: 700; font-size: 13px; }
.room-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.room-photos img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.kind-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); vertical-align: 2px; margin-left: 6px; }
@media (max-width: 640px) {
  .room-row { grid-template-columns: 96px minmax(0, 1fr); }
  .room-row .room-photo { width: 96px; height: 72px; }
  .room-row .room-price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; text-align: left; gap: 6px 14px; }
  .room-row .room-price b { white-space: nowrap; }
  .room-row .room-price label { margin-left: auto; }
}

/* Ask a Local */
.ask-box { padding: 0; scroll-margin-top: 16px; }
.ask-box > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 22px; cursor: pointer; list-style: none; border-radius: 22px; }
.ask-box > summary::-webkit-details-marker { display: none; }
.ask-box > summary:hover .ask-title { color: var(--teal); }
.ask-title { font: 600 20px var(--display); color: var(--navy); }
.ask-hint { flex: 1 1 160px; }
.ask-box[open] > summary { padding-bottom: 6px; }
.ask-box[open] .ask-go, .ask-box[open] .ask-hint { display: none; }
.ask-body { padding: 6px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.q-card h3 a { color: var(--navy); text-decoration: none; }
.q-card h3 a:hover { color: var(--teal); text-decoration: underline; }
.q-details { margin: 0; color: var(--ink); }
.q-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.q-pills { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.q-title { font-size: clamp(26px, 3.4vw, 36px); }
.tag-ai { display: inline-block; font: 700 12px/1.4 "Open Sans", sans-serif; letter-spacing: 0; padding: 2px 9px; border-radius: 999px; background: #E3ECFA; color: #24508F; vertical-align: 2px; margin-left: 6px; white-space: nowrap; }
.q-pills .tag-ai { margin-left: 0; vertical-align: 0; padding: 6px 12px; font-size: 13px; }
.statline { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.statline b { color: var(--navy); }
.answer { padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; }
.answer.ai { border-left: 4px solid #6C94D6; }
.answer.off { opacity: .6; }
.answer:target { box-shadow: 0 0 0 3px var(--teal-tint), var(--shadow); }
.answer-head { display: flex; gap: 12px; align-items: center; line-height: 1.35; }
.answer-head b { color: var(--navy); }
.answer-body { font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.answer-note { margin: 0; }
.sources { margin: 0; padding-left: 18px; line-height: 1.8; }
.answer-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.answer-foot form { margin: 0; }
.votes { display: inline-flex; gap: 8px; }
.vote { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font: 700 14px "Open Sans", sans-serif; text-decoration: none; cursor: pointer; }
button.vote:hover, a.vote:hover { border-color: var(--teal); color: var(--teal); }
.vote.on { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.vote.on.down { background: #FBEDEF; border-color: #E5B8BE; color: var(--danger); }
.vote.still { cursor: default; color: var(--muted); }
.answer-actions { display: inline-flex; gap: 16px; align-items: center; }
.card code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--bg); padding: 1px 6px; border-radius: 6px; }
