/* Your Resort concept: "lodge stay" identity. Dusk-lake blue primary, sunlit amber secondary, sand/linen ground,
   humanist sans display. Tokens mirror pigment/theme.json (ground/surface/ink/muted/accent/onAccent/focus).
   Text pairs measured >= 5:1 in both themes (see README). */
:root {
  --ground: #F5F0E6;
  --surface: #FFFDF8;
  --surface-2: #ECE4D6;
  --ink: #1B2533;
  --muted: #575F6D;
  --line: rgba(27, 37, 51, .12);
  --line-strong: rgba(27, 37, 51, .24);
  --accent: #24476B;
  --accent-ink: #1C3A59;
  --on-accent: #FFFFFF;
  --accent-soft: #E1E9F2;
  --sun: #D9962B;
  --clay: #9C3F28;
  --clay-soft: #F6E2D9;
  --gold: #7A4C00;
  --gold-soft: #F7E7C4;
  --ok: #2B6440;
  --ok-soft: #E0EEDF;
  --focus: #B86E00;
  --shadow: 0 1px 2px rgba(27, 37, 51, .06), 0 8px 24px -12px rgba(27, 37, 51, .18);
  --shadow-lg: 0 2px 4px rgba(27, 37, 51, .05), 0 24px 48px -20px rgba(27, 37, 51, .30);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Avenir Next", Seravek, "Gill Sans", "Gill Sans MT", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #10161E; --surface: #17202B; --surface-2: #212C3A; --ink: #EDE8DE; --muted: #A6AEBB;
    --line: rgba(237, 232, 222, .12); --line-strong: rgba(237, 232, 222, .24);
    --accent: #8FB8E0; --accent-ink: #A9CBEC; --on-accent: #0D1826; --accent-soft: #1C2B3D;
    --sun: #E8B864; --clay: #EE9F82; --clay-soft: #36231D; --gold: #E8B864; --gold-soft: #33281A; --ok: #93D0A3; --ok-soft: #1A2C21;
    --focus: #F0C36E;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #10161E; --surface: #17202B; --surface-2: #212C3A; --ink: #EDE8DE; --muted: #A6AEBB;
    --line: rgba(237, 232, 222, .12); --line-strong: rgba(237, 232, 222, .24);
    --accent: #8FB8E0; --accent-ink: #A9CBEC; --on-accent: #0D1826; --accent-soft: #1C2B3D;
    --sun: #E8B864; --clay: #EE9F82; --clay-soft: #36231D; --gold: #E8B864; --gold-soft: #33281A; --ok: #93D0A3; --ok-soft: #1A2C21;
    --focus: #F0C36E; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 16px/1.5 var(--font-body); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.012em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* Concept bar + header */
.concept-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px;
  padding: 7px 16px; font-size: 12.5px; color: var(--muted); background: var(--surface-2);
  border-bottom: 1px solid var(--line); text-align: center;
}
.concept-bar strong { color: var(--ink); font-weight: 600; }
.concept-bar__sep { opacity: .5; }
.concept-bar__short { display: none; }
@media (max-width: 599px) {
  .concept-bar { flex-wrap: nowrap; white-space: nowrap; padding: 6px 12px; overflow: hidden; gap: 4px 5px; }
  .concept-bar__sep, .concept-bar__long { display: none; }
  .concept-bar__short { display: inline; }
}
/* Opaque on purpose: no translucency, so page text never ghosts through the header. */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--ink); width: max-content; }
.brand__mark { grid-row: 1 / 3; width: 34px; height: 34px; color: var(--accent); }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: -.01em; }
.brand__sub { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* View switcher: a 4-up segmented control that always fits (short labels below 600px). */
.views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 3px; background: var(--surface-2); border-radius: 12px; }
.views a {
  text-decoration: none; color: var(--muted); font-family: var(--font-display); font-size: 14px; font-weight: 600;
  padding: 6px 8px; border-radius: 9px; min-height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap;
}
.views a:hover { color: var(--ink); background: var(--surface); }
.views a[aria-current="page"] { color: var(--on-accent); background: var(--accent); box-shadow: inset 0 -2px 0 var(--sun); }
.views__short { display: none; }
@media (max-width: 599px) {
  .views__long { display: none; } .views__short { display: inline; }
  .brand__sub { display: none; } .brand { grid-template-rows: auto; } .brand__mark { grid-row: 1; width: 30px; height: 30px; }
  .brand { grid-template-columns: 30px auto; }
}
@media (min-width: 760px) {
  .site-header__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .views { display: inline-grid; grid-template-columns: repeat(4, auto); }
  .views a { padding: 6px 16px; }
}

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 22px 0 32px; margin-top: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--quiet { background: var(--surface-2); color: var(--ink); }
.btn--quiet:hover { background: var(--line); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.linkbtn { background: none; border: 0; padding: 6px 2px; color: var(--accent-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Booking ---------- */
.book { padding-top: 22px; padding-bottom: 150px; }
.book__intro { margin-bottom: 18px; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.book__intro h1 { font-size: clamp(30px, 7vw, 46px); margin: 6px 0 8px; }
.book__intro p { color: var(--muted); max-width: 52ch; }
.hours-note { display: inline-flex; max-width: 100%; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.hours-note svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.hours-note__txt { display: inline; }
.nb { white-space: nowrap; }

.book__layout { display: grid; gap: 20px; }
.book__layout > *, .confirm__grid > *, .desk__grid > * { min-width: 0; }
@media (min-width: 960px) { .book__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; } .book { padding-bottom: 40px; } }

.stepper { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.stepper__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stepper__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.stepper li.is-done .stepper__bar::after, .stepper li.is-current .stepper__bar::after { width: 100%; }
.stepper li.is-current { color: var(--ink); font-weight: 600; }
.stepper__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .stepper li:not(.is-current) .stepper__label { visibility: hidden; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 22px 18px 20px; }
@media (min-width: 600px) { .panel { padding: 30px 30px 26px; } }
.panel__head { margin-bottom: 18px; }
.panel__head h2 { font-size: clamp(23px, 5vw, 28px); outline: none; }
.panel__head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.panel__foot { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel__foot .btn--primary { margin-left: auto; }

fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.legend-hint { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 6px; }

/* Choice tiles (real radios / checkboxes) */
.tiles { display: grid; gap: 10px; }
.tiles--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tiles--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile__body {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s;
}
.tile:hover .tile__body { border-color: var(--muted); }
.tile input:checked + .tile__body { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.tile input:focus-visible + .tile__body { outline: 3px solid var(--focus); outline-offset: 2px; }
.tile input:disabled + .tile__body { opacity: .45; cursor: not-allowed; }
.tile__title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tile__meta { font-size: 13px; color: var(--muted); }
.tile__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-ink); margin-bottom: 6px; }
.tile input:checked + .tile__body .tile__icon { background: var(--surface); }
.tile__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile__price { font-size: 13px; color: var(--ink); margin-top: auto; padding-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px;
  border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: all .15s;
}
.chip input:checked + span { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Fields */
.fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 84px; resize: vertical; }
.input:hover { border-color: var(--muted); }
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-ink) 50%), linear-gradient(135deg, var(--accent-ink) 50%, transparent 50%);
  background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
select.input:disabled { cursor: not-allowed; color: var(--muted); background-color: var(--surface-2); }
/* Date: the native input stays (keyboard, picker, validation); its mm/dd/yyyy text is replaced by a formatted label. */
.datebox { position: relative; }
.datebox .input { padding-left: 44px; cursor: pointer; }
.datebox .input::-webkit-datetime-edit { opacity: 0; }
.datebox .input:focus::-webkit-datetime-edit { opacity: 1; }
.datebox .input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.datebox__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--accent-ink); pointer-events: none; display: flex; }
.datebox__icon svg { width: 18px; height: 18px; }
.datebox__fmt { position: absolute; left: 44px; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.datebox__fmt.is-empty { font-weight: 400; color: var(--muted); }
.datebox:focus-within .datebox__fmt { opacity: 0; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--clay); }
.error { color: var(--clay); font-size: 13px; font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--clay); color: var(--surface); font-size: 11px; font-weight: 700; margin-top: 2px; }
.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; background: var(--surface-2); }
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.callout--warn { background: var(--gold-soft); color: var(--ink); }
.callout--ok { background: var(--ok-soft); }
.nights { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

/* Pets */
.pet { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--ground); margin-bottom: 14px; }
.pet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pet__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-body); font-weight: 700; font-size: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.pet__remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 8px; font-size: 13.5px; }
.pet__remove:hover { color: var(--clay); background: var(--clay-soft); }
.pet .fieldset-gap { margin-top: 16px; }
.add-pet {
  width: 100%; min-height: 56px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: transparent;
  color: var(--accent-ink); font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-pet:hover { background: var(--surface-2); border-color: var(--accent); }
.add-pet svg { width: 18px; height: 18px; flex: none; } /* r3b: the unsized icon filled the button */

.vax { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 10px; background: var(--surface); }
.vax__top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vax__list { display: flex; flex-wrap: wrap; gap: 6px; }
.vax__pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.vax__file { position: relative; }
.vax__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.vax__file input:focus-visible + .btn { outline: 3px solid var(--focus); outline-offset: 2px; }
.vax__done { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ok); font-weight: 600; }
.vax__done svg { width: 18px; height: 18px; }
.vax__fine { font-size: 12.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }

/* Add-ons */
.addons { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); transition: all .15s; }
.addon:hover { border-color: var(--muted); }
.addon:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.addon input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }
.addon__name { font-weight: 600; }
.addon__detail { font-size: 13px; color: var(--muted); }
.addon__price { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }

/* Review */
.review { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 22px; }
.review__row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: baseline; font-size: 14.5px; }
.review__row:first-child { border-top: 0; }
.review__key { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Summary (sticky on desktop, bottom sheet bar on mobile) */
.summary { padding: 20px; position: sticky; top: 104px; display: none; }
@media (min-width: 960px) { .summary { display: block; } }
.summary h2 { font-size: 20px; margin-bottom: 14px; }
.summary__rows { display: grid; gap: 10px; font-size: 14px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__row span:first-child { color: var(--muted); }
.summary__lines { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.summary__total strong { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.summary__fine { font-size: 12px; color: var(--muted); margin-top: 10px; }
.summary__empty { color: var(--muted); font-size: 14px; }

.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3);
}
.mobilebar::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--ground) 0%, transparent), var(--ground)); }
.mobilebar__est { font-size: 12px; color: var(--muted); line-height: 1.2; }
.mobilebar__est strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
@media (min-width: 960px) { .mobilebar { display: none; } }

/* ---------- Confirmation ---------- */
.confirm { padding-top: 26px; padding-bottom: 40px; }
.confirm__hero { display: grid; gap: 20px; align-items: start; margin-bottom: 24px; }
.confirm__badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.confirm__badge svg { width: 28px; height: 28px; }
.confirm__badge--pending { background: var(--gold-soft); color: var(--gold); }
.confirm h1 { font-size: clamp(30px, 7vw, 46px); margin: 10px 0 8px; }
.confirm__lede { color: var(--muted); max-width: 56ch; font-size: 16.5px; }
.ref { display: inline-flex; gap: 10px; align-items: center; margin-top: 14px; font-family: var(--font-display); font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 14px; }
.ref strong { letter-spacing: .06em; }
.confirm__grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .confirm__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; } }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.timeline__dot svg { width: 16px; height: 16px; }
.timeline li.is-now .timeline__dot { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 3px var(--ground), 0 0 0 5px var(--sun); }
.timeline__when { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.timeline__what { font-weight: 600; margin-top: 2px; }
.timeline__detail { font-size: 14px; color: var(--muted); margin-top: 2px; }
.timeline__auto { display: inline-block; margin-left: 6px; font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }

/* Phone mock with message preview */
.phone {
  width: 100%; max-width: 360px; margin: 0 auto; border-radius: 38px; padding: 12px; background: #121A24; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-strong); align-self: start;
}
.phone__screen { border-radius: 28px; overflow: hidden; background: #F5F0E6; color: #1B2533; }
.phone__status { display: flex; justify-content: space-between; padding: 10px 22px 6px; font-size: 12px; font-weight: 600; }
.phone__tabs { display: flex; gap: 6px; padding: 4px 12px 10px; }
.phone__tabs button { flex: 1; min-height: 34px; border-radius: 999px; border: 1px solid rgba(27,37,51,.2); background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; color: #1B2533; }
.phone__tabs button[aria-selected="true"] { background: #24476B; color: #FFFFFF; border-color: #24476B; }
.msg { padding: 0 12px 16px; min-height: 360px; }
.msg__mail { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg__from { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 12px; }
.msg__from .brand__mark { width: 30px; height: 30px; color: #24476B; }
.msg__from small { display: block; color: #575F6D; font-size: 11.5px; }
.msg__subject { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.2; margin-bottom: 8px; }
.msg__body { font-size: 13.5px; line-height: 1.5; color: #2A3442; }
.msg__body p + p { margin-top: 8px; }
.msg__cta { display: block; text-align: center; margin-top: 14px; background: #24476B; color: #fff; border-radius: 999px; padding: 11px; font-weight: 600; font-size: 14px; text-decoration: none; }
.msg__fine { font-size: 11px; color: #575F6D; margin-top: 12px; }
.msg__sms { display: grid; gap: 8px; padding-top: 6px; }
.bubble { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.bubble--in { background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.bubble--out { background: #24476B; color: #fff; justify-self: end; border-bottom-right-radius: 6px; }
.bubble__meta { font-size: 11px; color: #575F6D; text-align: center; margin: 4px 0; }
.bubble a { color: inherit; font-weight: 600; }

/* ---------- Desk ---------- */
.desk { padding-top: 22px; padding-bottom: 40px; }
.desk__top { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.desk__top h1 { font-size: clamp(28px, 6vw, 40px); margin-top: 6px; }
.desk__auto { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.kpi { padding: 12px 16px 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.kpi__label { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; margin-top: 2px; }
.kpi__sub { font-size: 12.5px; color: var(--muted); min-width: 0; }
.kpi .meter { grid-column: 1 / -1; margin-top: 8px; }
.meter { height: 6px; border-radius: 6px; background: var(--surface-2); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent) 85%, var(--sun)); border-radius: 6px; }

.desk__grid { display: grid; gap: 16px; }
@media (min-width: 1040px) { .desk__grid { grid-template-columns: 1fr 1fr; } .desk__grid .span-2 { grid-column: 1 / -1; } }
.board { padding: 0; overflow: hidden; }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.board__head h2 { font-size: 20px; display: flex; gap: 10px; align-items: baseline; }
.count { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 9px; }
.board__note { font-size: 12.5px; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row.is-done { opacity: .55; }
.row.is-new { animation: flash 1.6s ease; }
@keyframes flash { from { background: var(--accent-soft); } to { background: transparent; } }
.row__time { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (max-width: 599px) { .row { grid-template-columns: 1fr auto; } .row__time { grid-column: 1 / -1; margin-bottom: -6px; } .row:has(.row__act > :nth-child(2)) .row__act { grid-column: 1 / -1; } }
.row__main { min-width: 0; }
.row__title { font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.row__fam { font-weight: 400; color: var(--muted); }
@media (max-width: 520px) { .row__fam { flex-basis: 100%; font-size: 13px; } .row__dot { display: none; } }
.row__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.size { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.tag--warn { background: var(--gold-soft); color: var(--gold); }
.tag--bad { background: var(--clay-soft); color: var(--clay); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.row__act { display: flex; gap: 6px; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.filters button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.rq { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; padding: 13px 18px; border-top: 1px solid var(--line); align-items: center; }
.rq:first-child { border-top: 0; }
@media (min-width: 760px) { .rq { grid-template-columns: minmax(160px, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 150px; } .rq__act { display: flex; justify-content: flex-end; } }
.rq__who { font-weight: 600; }
.rq__who small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.rq__next { font-size: 13.5px; }
.rq__next small { display: block; color: var(--muted); font-size: 12.5px; }
.rq__state { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.rq__note { grid-column: 1 / -1; font-size: 13px; background: var(--gold-soft); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 759px) { .rq__next, .rq__state { grid-column: 1 / 2; } .rq__act { grid-row: 1; grid-column: 2; } }
.empty { padding: 22px 18px; color: var(--muted); font-size: 14px; }

/* ---------- Idea ---------- */
.idea { padding: 34px 16px 20px; }
.idea__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .idea__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; } .idea { padding-top: 52px; } }
.idea__note { max-width: 720px; }
/* Pigment blocks take px sizes from the theme; these overrides add fluid type and the lodge label face. */
.idea__note [data-pigment-block-id="note-title"] { font-size: clamp(30px, 6vw, 42px) !important; font-weight: 700 !important; }
.idea__note [data-pigment-block-id="note-kicker"] { font-family: var(--font-display) !important; color: var(--gold) !important; text-transform: uppercase; letter-spacing: .14em !important; }
.idea__note [data-pigment-block-type="richText"] { max-width: 65ch !important; }
.idea__note [data-pigment-block-type="richText"] p { font-size: clamp(16px, 2.1vw, 18px) !important; color: var(--ink) !important; }
/* Before/after as two stay requests: the free-text message the desk gets today vs. the request that arrives complete. */
.stays { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .stays { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.stay { border-radius: var(--radius); padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.stay__tag { display: inline-flex; align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.stay--before { background: var(--surface-2); border: 1.5px dashed var(--line-strong); }
.stay--before .stay__tag { background: var(--surface); color: var(--muted); }
.stay__form { display: grid; gap: 6px; font-size: 13.5px; }
.stay__form div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.stay__form dt { color: var(--muted); }
.stay__form dd { margin: 0; color: var(--ink); }
.stay__msg { font-size: 14px; line-height: 1.5; color: var(--ink); font-style: italic; }
.stay__gaps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.stay__gaps span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--clay-soft); color: var(--clay); }
.stay--after { background: var(--surface); border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.stay--after .stay__tag { background: var(--accent); color: var(--on-accent); }
.stay__head { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.stay__head small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.stay__pets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.stay__pets li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stay__ok { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--ok); }
.stay__ok svg { width: 16px; height: 16px; }
.idea__aim { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 65ch; padding-left: 12px; border-left: 3px solid var(--sun); }
.idea__flow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.flowline { list-style: none; margin: 0; padding: 0; }
.flowline li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.flowline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.flowline li:last-child::before { display: none; }
.flowline__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); margin-top: 2px; }
.flowline li:first-child .flowline__dot { background: var(--sun); border-color: var(--sun); }
.flowline strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.flowline p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.idea__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
/* Toast */
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 40;
  background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .25s ease; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 28px; } }

.fade-in { animation: fadein .3s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.timeline__off { display: inline-block; margin-left: 6px; font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--line, transparent); border: 1px solid var(--muted); border-radius: 4px; padding: 0 6px; vertical-align: 2px; }
.msg__off { margin: 12px 0; font-size: 14px; color: #1B2533; }
.msg__offwrap { position: relative; }
.msg__ghost { opacity: .32; filter: grayscale(1); pointer-events: none; user-select: none; }
.msg__offcard { position: absolute; left: 18px; right: 18px; top: 50%; transform: translateY(-50%); background: #FFFDF8; color: #1B2533; border: 1.5px solid #1B2533; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.msg__offcard .msg__subject { margin: 6px 0 4px; }
.msg__offcard .msg__off { margin: 0; font-size: 13.5px; }
.msg__offbadge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #1B2533; border-radius: 4px; padding: 0 6px; }
.stay__extras { font-size: 13px; color: var(--muted); }
@media (max-width: 759px) { .kpi { grid-template-columns: 1fr; } .kpi__value { font-size: 26px; } }
