:root {
  --brand: #0f5e57;
  --brand-ink: #ffffff;
  --accent: #f4b860;
  --ink: #1d2725;
  --muted: #64716e;
  --line: #e2e8e6;
  --soft: #f4f7f6;
  --bg: #ffffff;
  --err: #b42318;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: .4em 0; }
h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 620px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
nav { display: flex; align-items: center; gap: 16px; }
nav a { text-decoration: none; color: var(--ink); }
nav a.btn { color: var(--brand-ink); }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 2px solid var(--brand); padding: .7em 1.3em;
       border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.small { padding: .35em .9em; font-size: .9rem; }

.hero { background: linear-gradient(160deg, var(--soft), #e7f1ee); padding: 56px 0 44px; }
.lead { font-size: 1.15rem; max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 .3em; }
.card p { margin: .3em 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.price span { font-size: .9rem; font-weight: 400; color: var(--muted); }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--soft); border-radius: 999px; padding: .35em .9em; }
details { border-bottom: 1px solid var(--line); padding: .8em 0; }
summary { cursor: pointer; font-weight: 600; }

.form label, form label { display: block; margin: 14px 0; font-weight: 600; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: .65em .75em; font: inherit; border: 1px solid #c9d3d0;
                border-radius: 8px; background: #fff; color: var(--ink); }
input[type=radio] { display: inline; width: auto; margin: 0 .5em 0 0; }
label.radio { font-weight: 400; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0; }
legend { font-weight: 600; padding: 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two label { margin: 14px 0 0; }
.err { background: #fdecea; color: var(--err); padding: .7em 1em; border-radius: 8px; }
form.inline { display: flex; gap: 12px; align-items: center; }
form.inline input { width: auto; margin: 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; background: var(--soft); padding: 16px; border-radius: var(--radius); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts .muted { display: block; font-size: .9rem; }
.qr { text-align: center; margin: 22px 0; }
.qr svg { max-width: 220px; height: auto; }

.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); }
.acts form { display: inline-block; margin: 0 4px 4px 0; }
.tag { display: inline-block; padding: .15em .6em; border-radius: 999px; background: var(--soft); white-space: nowrap; }
.tag.confirmed, .tag.checked_in { background: #dcf3e6; }
.tag.held, .tag.reserved, .tag.pending { background: #fff1d6; }
.tag.refund_needed { background: #fdecea; color: var(--err); }

.prose li { margin: .4em 0; }
footer { margin-top: 64px; padding: 28px 0; background: var(--soft); font-size: .92rem; }
footer p { margin: .4em 0; }

@media (max-width: 560px) {
  nav a:not(.btn) { display: none; }
  .two { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 28px; }
}

.chats { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.convos { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.convos li { border-bottom: 1px solid var(--line); }
.convos li a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.convos li.on { background: var(--soft); }
.msg { max-width: 80%; padding: 8px 12px; border-radius: 12px; white-space: pre-wrap; }
.msg.in { background: var(--soft); }
.msg.out { background: #dcf3e6; margin-left: auto; }
@media (max-width: 760px) { .chats { grid-template-columns: 1fr; } }
