/* Emily's Apartment: public site styles. Mobile first. Change colours in :root. */
:root {
  --navy: #14284B;
  --navy-2: #1d3665;
  --orange: #E0701A;
  --orange-dark: #B8530A;      /* orange for small text on white (better contrast) */
  --orange-btn: #BA540A;       /* orange behind WHITE text: 4.8:1 contrast. Brand orange (--orange) is for decoration and large areas */
  --bg: #ffffff;
  --grey-50: #f6f7fa;
  --grey-100: #eceff4;
  --grey-200: #dde2ea;
  --grey-500: #667085;
  --grey-700: #3a4560;
  --ok: #157f4b;
  --warn: #b54708;
  --bad: #b42318;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(20, 40, 75, .09);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--grey-700); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.muted { color: var(--grey-500); }
.small { font-size: .875rem; }
.center { text-align: center; }
section.block { padding: 40px 0; }
section.alt { background: var(--grey-50); }
.section-head { margin-bottom: 22px; }
.section-head p { color: var(--grey-500); margin: 0; }

/* ---- Top bar (orange) ---- */
.topbar { background: var(--orange); color: var(--navy); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: var(--navy); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.topbar a:hover { text-decoration: underline; color: var(--navy); }
.topbar .social, .topbar .links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.topbar .social a { padding: 0 2px; }
.topbar .hide-sm { display: none; }
@media (min-width: 760px) { .topbar .hide-sm { display: inline-flex; } }

/* ---- Header ---- */
.header { background: #fff; border-bottom: 1px solid var(--grey-100); position: sticky; top: 0; z-index: 40; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy); padding: 10px 14px; border-radius: 8px; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); background: var(--grey-50); }
.burger { background: none; border: 1px solid var(--grey-200); border-radius: 10px; width: 46px; height: 46px; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px 16px 16px; box-shadow: var(--shadow); border-top: 1px solid var(--grey-100); }
.nav.open a { padding: 14px 10px; font-size: 1.05rem; }
@media (min-width: 860px) {
  .burger { display: none; }
  .nav { display: flex; gap: 4px; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font: 700 1.05rem var(--font); text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: #9E4608; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--grey-50); color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.15rem; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; }

/* ---- Hero + search ---- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,75,.55), rgba(20,40,75,.86)); }
.hero .container { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 48px; }
.hero h1 { color: #fff; margin-bottom: 8px; }
.hero p.lead { color: #d6def0; font-size: 1.05rem; max-width: 36rem; margin-bottom: 22px; }
.hero-compact .container { padding-top: 30px; padding-bottom: 32px; }
.searchbar { background: #fff; border-radius: 14px; padding: 10px; display: grid; gap: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.25); position: relative; }
.searchbar .field { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 10px; padding: 8px 14px; min-height: 58px; color: var(--navy); font: inherit; cursor: pointer; width: 100%; }
.searchbar .field:hover { border-color: var(--navy); }
.searchbar .field small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grey-500); line-height: 1.2; }
.searchbar .field strong { display: block; font-weight: 600; line-height: 1.3; }
.searchbar .btn { min-height: 58px; font-size: 1.15rem; }
@media (min-width: 820px) {
  .searchbar { grid-template-columns: 1.6fr 1fr auto; align-items: stretch; padding: 10px; }
  .searchbar .btn { padding: 0 38px; }
}
.guests-pop { position: absolute; z-index: 30; background: #fff; border: 1px solid var(--grey-200); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; width: min(320px, calc(100% - 20px)); right: 10px; top: calc(100% + 6px); color: var(--navy); }
.guests-pop[hidden] { display: none; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.stepper-row + .stepper-row { border-top: 1px solid var(--grey-100); }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 1.3rem var(--font); cursor: pointer; line-height: 1; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; color: var(--navy); }

/* ---- Date picker ---- */
.picker-back { position: fixed; inset: 0; background: rgba(10,20,40,.55); z-index: 2147483500; display: none; }
.picker-back.open { display: block; }
.picker { position: fixed; z-index: 2147483600; height: 100%; height: 100dvh; background: #fff; display: none; flex-direction: column; left: 0; right: 0; bottom: 0; top: 0; }
.picker.open { display: flex; }
.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--grey-100); }
.picker-head h2 { margin: 0; font-size: 1.1rem; }
.picker-close { background: none; border: 0; width: 44px; height: 44px; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
.picker-body { flex: 1; overflow-y: auto; padding: 8px 12px 16px; -webkit-overflow-scrolling: touch; }
.picker-foot { border-top: 1px solid var(--grey-100); padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.picker-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.picker-foot > div:last-child { display: flex; gap: 8px; width: 100%; }
.picker-foot > div:last-child .btn { flex: 1; min-height: 52px; }
@media (min-width: 760px) { .picker-foot > div:last-child { width: auto; } .picker-foot > div:last-child .btn { flex: none; } }
.picker-foot .sum { font-weight: 600; color: var(--navy); font-size: .95rem; }
.picker-foot .hint { color: var(--grey-500); font-size: .8rem; }
.months { display: grid; gap: 18px; }
.month h3 { text-align: center; margin: 10px 0 6px; font-size: 1rem; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dow span { text-align: center; font-size: .72rem; color: var(--grey-500); padding: 4px 0; }
.day { position: relative; border: 0; background: none; min-height: 52px; border-radius: 10px; font: 600 .95rem var(--font); color: var(--navy); cursor: pointer; padding: 4px 0 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.day small { font-size: .62rem; font-weight: 500; color: var(--grey-500); line-height: 1.1; margin-top: 1px; }
@media (hover: hover) { .day:not(.start):not(.end):not(.in-range):hover:not(:disabled) { background: var(--grey-100); } }
.day:disabled { color: #b5bccb; cursor: not-allowed; text-decoration: line-through; background: repeating-linear-gradient(135deg, #fafbfc, #fafbfc 4px, #f0f2f6 4px, #f0f2f6 8px); }
.day:disabled small { text-decoration: none; color: #b5bccb; }
.day.in-range { background: #fde7d3; border-radius: 0; }
.day.start, .day.end { background: var(--orange-btn); color: #fff; }
.day.start small, .day.end small { color: #ffe9d6; }
.day.start { border-radius: 10px 0 0 10px; }
.day.end { border-radius: 0 10px 10px 0; }
.day.start.end { border-radius: 10px; }
.day.today { box-shadow: inset 0 0 0 2px var(--orange); }
.day.blank { visibility: hidden; }
.day.out-only:not(:disabled) { background: #f5f6f9; }
@media (min-width: 760px) {
  .picker { left: 50%; right: auto; top: 6vh; bottom: auto; transform: translateX(-50%); width: min(780px, 94vw); max-height: 88vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .months { grid-template-columns: 1fr 1fr; gap: 28px; }
  .picker.single .months { grid-template-columns: 1fr; }
  .picker.single { width: min(420px, 94vw); }
}

/* ---- Cards ---- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card .photo { display: block; overflow: hidden; min-height: 0; position: relative; aspect-ratio: 4 / 3; background: var(--grey-100); }
.card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card h3 a { text-decoration: none; }
.card .loc { color: var(--grey-500); font-size: .88rem; display: flex; gap: 6px; align-items: center; }
.card .mini { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--grey-700); margin: 4px 0 2px; }
.card .mini span { display: inline-flex; align-items: center; gap: 5px; }
.card .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { line-height: 1.2; }
.price .old { text-decoration: line-through; color: var(--grey-500); font-size: .9rem; display: block; }
.price .now { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.price .per { font-size: .8rem; color: var(--grey-500); display: block; }
.badge-off { position: absolute; top: 12px; left: 12px; width: 58px; height: 58px; border-radius: 50%; background: var(--orange-btn); color: #fff; font-weight: 700; font-size: .78rem; line-height: 1.05; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 2; }
.badge-off b { font-size: 1.1rem; display: block; }
.tag { display: inline-block; background: var(--grey-100); color: var(--navy); font-size: .75rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; }

/* ---- Results header ---- */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-head h2 { margin: 0; }
select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=file], textarea { font: inherit; color: var(--navy); background: #fff; border: 1px solid #b9c2d3; border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; }
textarea { min-height: 110px; }
select.compact { width: auto; min-height: 42px; padding: 8px 12px; }
label { font-weight: 600; color: var(--navy); font-size: .92rem; display: block; margin-bottom: 4px; }
.field-row { margin-bottom: 14px; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--navy); }

/* ---- Notices ---- */
.notice { border-radius: 10px; padding: 12px 16px; margin: 12px 0; border: 1px solid; }
.notice-ok { background: #ecfdf3; border-color: #abefc6; color: #085d3a; }
.notice-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.notice-info { background: #eff4ff; border-color: #c7d7fe; color: #1d3a8a; }
.notice-warn { background: #fffaeb; border-color: #fedf89; color: #93370d; }
.deposit-note { background: #fff6ee; border-left: 4px solid var(--orange); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: .9rem; color: var(--grey-700); margin: 12px 0; }

/* ---- Why stay ---- */
.why { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why li { list-style: none; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.why .icon { color: var(--orange-dark); }
ul.plain { padding: 0; margin: 0; }
.photo-strip { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
.photo-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey-100); }
.photo-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 18px 0; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey-100); }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-grid figcaption { padding: 6px 10px; font-size: .82rem; color: var(--grey-500); background: #fff; }
.photo-strip figcaption { padding: 8px 12px; font-size: .85rem; color: var(--grey-500); background: #fff; }

/* ---- Room page ---- */
.breadcrumb { font-size: .88rem; color: var(--grey-500); padding: 16px 0 6px; }
.breadcrumb a { color: var(--grey-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.room-layout { display: grid; gap: 28px; }
@media (min-width: 980px) { .room-layout { grid-template-columns: 1fr 380px; align-items: start; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 10px; padding: 12px; display: flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 600; font-size: .92rem; }
.fact .icon { color: var(--orange-dark); }
.fact small { display: block; font-weight: 400; color: var(--grey-500); font-size: .75rem; }
.gallery { display: grid; gap: 8px; margin-bottom: 8px; }
.gallery .main { position: relative; border-radius: var(--radius); overflow: hidden; background: #1d2a44; aspect-ratio: 4/3; }
.gallery .main::before { content: ''; position: absolute; inset: -20px; background: var(--bg-img) center / cover; filter: blur(22px) brightness(.85); }
.gallery .main img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery .thumbs button { border: 2px solid transparent; padding: 0; background: none; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 3/2; }
.gallery .thumbs button[aria-current="true"] { border-color: var(--orange); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenities li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--grey-200); border-radius: 10px; font-weight: 500; color: var(--navy); }
.amenities .icon { color: var(--orange-dark); }
.room-section { margin: 30px 0; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); background: #e9eef6; min-height: 240px; position: relative; }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-box svg { width: 100%; height: auto; display: block; }
.booking-card { background: #fff; border: 1px solid var(--grey-200); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; }
@media (min-width: 980px) { .booking-card { position: sticky; top: 92px; } }
.booking-card .ribbon { display: inline-block; background: var(--orange-btn); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 12px 3px 10px; border-radius: 4px 999px 999px 4px; margin-left: 8px; vertical-align: middle; }
.booking-card .price .now { font-size: 1.9rem; }
.tabs { display: flex; border-bottom: 2px solid var(--grey-100); margin: 14px 0; }
.tabs button { flex: 1; background: none; border: 0; padding: 12px 8px; font: 700 1rem var(--font); color: var(--grey-500); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; min-height: 48px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--orange); }
.tabpanel[hidden] { display: none; }
.daterange-btn { width: 100%; text-align: left; border: 1px solid #b9c2d3; border-radius: 10px; background: #fff; padding: 10px 14px; min-height: 58px; font: inherit; color: var(--navy); cursor: pointer; display: flex; align-items: center; gap: 12px; }
.daterange-btn small { display: block; color: var(--grey-500); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.daterange-btn strong { font-weight: 600; }
.mini-info { font-size: .8rem; color: var(--grey-500); margin: 8px 0 14px; }
.breakdown { border-top: 1px dashed var(--grey-200); margin-top: 12px; padding-top: 10px; font-size: .95rem; }
.breakdown .row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.breakdown .total { font-weight: 700; color: var(--navy); font-size: 1.05rem; border-top: 1px solid var(--grey-200); margin-top: 6px; padding-top: 8px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--grey-200); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 35; box-shadow: 0 -4px 16px rgba(20,40,75,.1); }
.sticky-bar .price .now { font-size: 1.25rem; }
@media (min-width: 980px) { .sticky-bar { display: none; } }
@media (max-width: 979px) { body.has-sticky { padding-bottom: 76px; } }

/* ---- Forms / pages ---- */
.page-narrow { max-width: 760px; }
.form-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.two-col { display: grid; gap: 14px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.checkout-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 380px; align-items: start; } }
.summary-card { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; }
.summary-card img { border-radius: 10px; margin-bottom: 12px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.countdown { background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.countdown strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.countdown.low { background: var(--bad); }
.pay-options { display: grid; gap: 12px; margin: 12px 0; }
.pay-option { border: 2px solid var(--grey-200); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; cursor: pointer; align-items: flex-start; }
.pay-option:has(input:checked) { border-color: var(--navy); background: #f4f7fc; }
.pay-option input { width: 22px; height: 22px; margin-top: 3px; min-height: 0; accent-color: var(--navy); flex: none; }
.bank-box { background: #fff; border: 1px dashed var(--navy); border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.bank-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.bank-box dt { color: var(--grey-500); }
.bank-box dd { margin: 0; font-weight: 700; color: var(--navy); word-break: break-all; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.kv dt { color: var(--grey-500); }
.kv dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--grey-100); color: var(--navy); }
.status.ok { background: #d1fadf; color: #05603a; }
.status.warn { background: #fef0c7; color: #93370d; }
.status.bad { background: #fee4e2; color: #912018; }
details.faq { border: 1px solid var(--grey-200); border-radius: 10px; margin-bottom: 10px; background: #fff; }
details.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--navy); min-height: 48px; list-style-position: inside; }
details.faq > div { padding: 0 16px 14px; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.empty-state { text-align: center; padding: 30px 10px; }
.empty-state .big { font-size: 3rem; }
.suggest { display: grid; gap: 10px; margin: 18px auto; max-width: 520px; }
.suggest a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border: 2px solid var(--grey-200); border-radius: 12px; text-decoration: none; font-weight: 600; background: #fff; }
.suggest a:hover { border-color: var(--orange); }
.placeholder-note { background: #fffaeb; border: 1px dashed #f5b942; color: #7a4a05; padding: 8px 12px; border-radius: 8px; font-size: .85rem; }

/* ---- Footer ---- */
.footer { background: var(--navy); color: #c9d3e6; margin-top: 50px; }
.footer a { color: #e6ecf8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .cols { display: grid; gap: 26px; padding: 40px 0 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.footer .cols a, .footer .cols li { overflow-wrap: anywhere; }
@media (min-width: 860px) { .footer .cols { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }
.footer .fh { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 4px; }
.footer li a { display: inline-block; padding: 5px 0; min-height: 32px; }
.footer .social-row { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.footer .social-row a { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #4b5f87; align-items: center; justify-content: center; padding: 0; }
.footer .bottom { border-top: 1px solid #2c4170; padding: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .85rem; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #4b5f87; border-radius: 999px; padding: 6px 14px; color: #fff; font-weight: 600; font-size: .85rem; }
.nocash { font-weight: 700; color: #fff; }
.footer .logo img { height: 46px; margin-bottom: 12px; }

/* ---- Print ---- */
@media print {
  .topbar, .header, .footer, .sticky-bar, .btn, .no-print { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Hide the third-party chat bubble while the date picker is open so it never covers the Apply button */
body.has-sticky #chatra, body.has-sticky [id^="chatra"] { bottom: 84px !important; }
@media (min-width: 980px) { body.has-sticky #chatra, body.has-sticky [id^="chatra"] { bottom: 0 !important; } }
body.picker-open #chatra, body.picker-open [id^="chatra"], body.picker-open .chatra { display: none !important; }
