:root {
  color-scheme: light;
  --paper: #f3f6f3;
  --surface: #fff;
  --ink: #172e28;
  --muted: #50675e;
  --primary: #1c604b;
  --primary-hover: #144b3a;
  --tint: #e8f2ec;
  --line: #dbe5df;
  --control-line: #a9beb4;
  --shadow: 0 14px 36px rgba(22, 52, 43, .06);
  font: 100%/1.55 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #267e63; outline-offset: 3px; }
h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
fieldset { min-inline-size: 0; padding: 0; border: 0; }
legend { padding: 0; }
::selection { background: #bce3d0; color: var(--ink); }

.shell { width: min(73rem, 100% - 3rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 10;
  inset: .5rem auto auto .5rem;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 4.35rem;
  padding-block: .55rem;
}
.brand { display: flex; min-width: 0; align-items: center; gap: .65rem; }
.brand h1 { font-size: 1.125rem; font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .7rem;
  background: var(--primary);
  color: #fff;
}
.brand-mark::before, .checkmark::before {
  content: "";
  width: .5rem;
  height: .88rem;
  transform: translateY(-.1rem) rotate(42deg);
  border: solid currentColor;
  border-width: 0 .14rem .14rem 0;
}
.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .57rem 1rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: var(--primary);
  color: #fff;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.25;
  text-align: center;
}
.button:hover { background: var(--primary-hover); }
.button-secondary { border-color: var(--control-line); background: var(--surface); color: var(--primary); }
.button-secondary:hover { border-color: var(--primary); background: var(--tint); }


.layout { display: grid; grid-template-columns: minmax(15rem, 17.6rem) minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: 1.4rem; }
.sidebar, .panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.sidebar { position: sticky; top: 5.35rem; padding: 1.15rem; }
.progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.progress-head h2 { font-size: 1rem; letter-spacing: -.015em; }
.progress-head output { color: var(--muted); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
progress {
  display: block;
  width: 100%;
  height: .46rem;
  margin-block: .6rem 1.05rem;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 1rem;
  background: var(--tint);
  color: var(--primary);
}
progress::-webkit-progress-bar { border-radius: 1rem; background: var(--tint); }
progress::-webkit-progress-value { border-radius: 1rem; background: var(--primary); }
progress::-moz-progress-bar { border-radius: 1rem; background: var(--primary); }
.hotel-nav { margin-block: .75rem; padding-block: .65rem; border-block: 1px solid var(--line); }
.hotel-nav label { display: block; margin-bottom: .37rem; color: var(--muted); font-size: .875rem; font-weight: 680; }
.hotel-list {
  display: grid;
  gap: .12rem;
  max-height: clamp(9rem, calc(100dvh - 25.5rem), 21rem);
  overflow-y: auto;
  margin-top: .45rem;
  padding: .18rem .18rem .18rem 0;
  scrollbar-color: #a8c4b6 transparent;
  scrollbar-width: thin;
}
.hotel-list .nav-step:focus-visible { outline-offset: -3px; }
.nav-step {
  display: flex;
  width: 100%;
  min-height: 2.55rem;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  padding: .45rem .65rem;
  border: 0;
  border-radius: .62rem;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.25;
  text-align: start;
}
.nav-step:hover { background: var(--paper); }
.nav-step[aria-current="step"] { background: var(--tint); color: var(--primary-hover); font-weight: 750; }
.checkmark {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.checkmark::before { width: .3rem; height: .54rem; border-width: 0 .105rem .105rem 0; }
.search-empty { padding: .4rem 0; color: var(--muted); font-size: .9rem; }
.mobile-nav { display: none; }

.panel { scroll-margin-top: 5.35rem; }
.step-inner { padding: clamp(1.2rem, 3vw, 2.05rem); }
.step-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1.3rem; margin-bottom: 1.28rem; }
.step-header h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.15rem);
  font-weight: 760;
  line-height: 1.17;
  letter-spacing: -.04em;
}
.step-header h2:focus { outline: none; }
.step-status { padding: .25rem .65rem; border-radius: 2rem; background: #edf2ee; color: #41584f; font-size: .85rem; font-weight: 660; }
.step-status[data-status="done"] { background: var(--tint); color: var(--primary-hover); }
.step-status[data-status="started"] { background: #fff0d5; color: #6a4616; }
.step-body { display: grid; gap: 1.3rem; }
.terms { padding: .3rem 1rem; border: 1px solid var(--line); border-radius: .9rem; background: #f6f9f6; }
.term { display: grid; grid-template-columns: minmax(8.5rem, .35fr) minmax(0, 1fr); gap: .3rem 1rem; padding: .75rem 0; }
.term + .term { border-top: 1px solid var(--line); }
.term dt { color: #234b3d; font-weight: 730; }
.term dd { overflow-wrap: anywhere; }
.rule { padding: 1rem 1.1rem; border: 1px solid #cce0d4; border-inline-start: .28rem solid #419574; border-radius: .8rem; background: #eef6f0; }
.rule h3 { margin-bottom: .25rem; color: #234b3d; font-size: 1rem; }
.question { min-width: 0; }
.question + .question { padding-top: 1.15rem; border-top: 1px solid var(--line); }
.question > legend { margin-bottom: .58rem; font-weight: 700; }
.question + .question > legend { float: left; width: 100%; }
.choices { display: flex; flex-wrap: wrap; clear: both; gap: .5rem; }
.choice {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: .5rem;
  padding: .52rem .78rem;
  border: 1px solid var(--control-line);
  border-radius: .72rem;
  line-height: 1.3;
  cursor: pointer;
}
.choice:hover, .choice:has(input:checked) { border-color: var(--primary); background: var(--tint); }
.choice:has(input:checked) { color: var(--primary-hover); font-weight: 670; }
.choice input { width: 1.03rem; height: 1.03rem; flex: 0 0 auto; margin: 0; accent-color: var(--primary); }
.field { display: grid; min-width: 0; gap: .35rem; }
.field label { font-weight: 650; }
.field input, .field textarea, .select-wrap select, .hotel-nav input {
  width: 100%;
  min-height: 2.8rem;
  padding: .55rem .7rem;
  border: 1px solid var(--control-line);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder, .hotel-nav input::placeholder { color: #5b7168; }
.field textarea { min-height: 5.5rem; resize: vertical; }
.choice-detail { margin-top: .85rem; }
.panel-actions {
  display: flex;
  justify-content: space-between;
  gap: .65rem;
  padding: 1rem clamp(1.2rem, 3vw, 2.05rem);
  border-top: 1px solid var(--line);
  border-radius: 0 0 1.2rem 1.2rem;
  background: #fafcf9;
}
#next-step { margin-inline-start: auto; }
.draft {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  margin: .65rem .2rem 2rem;
  color: var(--muted);
  font-size: .875rem;
}
.text-button { min-height: 2.75rem; padding: .35rem .1rem; border: 0; background: transparent; color: var(--primary); font-size: .875rem; text-decoration: underline; text-underline-offset: .22em; }
.text-button:hover { color: var(--primary-hover); }
.reservation-rows { display: grid; gap: .7rem; margin-block: .75rem; }
.reservation-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: .3rem .75rem;
  align-items: end;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #f6f9f6;
}
.reservation-row .text-button { color: #8b3829; }

.noscript { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); }

.load-state { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-block: 1.4rem; color: var(--muted); }
.dashboard { width: min(53rem, 100% - 2rem); margin-block: 1.4rem 2rem; }
.overview { padding: clamp(1rem, 3vw, 1.65rem); }
.overview-head, .result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1rem; }
.overview h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.result-picker { margin-top: .85rem; max-width: 28rem; }
.overview output { color: var(--muted); font-weight: 650; }
.overview progress { margin-bottom: .45rem; }
.updated { color: var(--muted); font-size: .875rem; }
.result-list { display: grid; gap: .75rem; margin-top: 1rem; }
.result { padding: 1rem clamp(.9rem, 3vw, 1.4rem); }
.result h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.result dl { display: grid; margin-top: .53rem; }
.result dl > div { padding-block: .52rem; border-top: 1px solid var(--line); }
.result dt { color: var(--primary-hover); font-weight: 660; }
.result dd { margin-top: .12rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-message { margin-top: .95rem; color: var(--muted); }

@media (max-width: 49rem) {
  .shell { width: min(100% - 2rem, 42rem); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: .9rem; }
  .sidebar { position: static; padding: .85rem 1rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .7rem; }
  .mobile-nav label { font-size: .9rem; font-weight: 650; }
  .select-wrap { position: relative; }
  .select-wrap select { appearance: none; padding-right: 1.8rem; }
  .select-wrap::after { position: absolute; top: 45%; right: .8rem; width: .45rem; height: .45rem; transform: translateY(-50%) rotate(45deg); border: solid var(--primary); border-width: 0 2px 2px 0; content: ""; pointer-events: none; }
}

@media (max-width: 34rem) {
  .shell { width: calc(100% - 1.25rem); }
  .topbar-inner { min-height: 3.75rem; }
  .brand h1 { font-size: .98rem; overflow-wrap: anywhere; }
  .brand-mark { display: none; }
  .topbar .button { flex: 0 0 auto; padding-inline: .58rem; font-size: .85rem; }
  .sidebar, .panel { border-radius: .95rem; }
  .panel { scroll-margin-top: 4.5rem; }
  .panel-actions { border-radius: 0 0 .95rem .95rem; }
  .term { grid-template-columns: 1fr; }
  .reservation-row { grid-template-columns: minmax(0, 1fr); }
  .reservation-row .text-button { justify-self: start; }
}
