/* Host Stand — The Copper Skillet skin: cast-iron ink + copper + cream.
   External CSS only. */
:root {
  --ink: #2b211c;
  --ink-deep: #1b1411;
  --copper: #b5651d;
  --copper-soft: #f6e8da;
  --sage: #5c7350;
  --bg: #f7f2ec;
  --surface: #ffffff;
  --line: #e3d8cc;
  --text: #33291f;
  --muted: #7d6f61;
  --ok: #1e7d46;
  --ok-bg: #e6f4ec;
  --danger: #b23a2e;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(43, 33, 28, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: 0.05em; font-size: 1.08rem; }
.brand span { color: var(--copper); font-weight: 600; font-size: 0.82em; }
.header-phone { margin: 0 0 0 auto; color: var(--muted); font-size: 0.95rem; }
.header-status { margin: 0; color: var(--muted); font-size: 0.92rem; }
.open-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.trust-strip { background: var(--ink); }
.trust-inner {
  max-width: 1100px; margin: 0 auto; padding: 9px 20px;
  display: flex; gap: 26px; flex-wrap: wrap;
  color: #ecd9c4; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em;
}

.hero { background: linear-gradient(135deg, var(--ink-deep), var(--ink) 55%, #4a3423); color: #fff; padding: 46px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.eyebrow { color: #eda55c; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.78rem; font-weight: 700; margin: 0; }
.hero h1 { font-size: 2.15rem; margin: 10px 0 12px; line-height: 1.18; }
.hero-lede { color: #e0d5c8; max-width: 600px; }
.hero-instruction { max-width: 600px; color: #faf5ef; }

.fact-card { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-kicker { color: var(--copper); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 700; margin: 0 0 12px; }
.fact-list { margin: 0; display: grid; gap: 12px; }
.fact-list div { display: flex; gap: 14px; align-items: baseline; }
.fact-list dt { font-size: 1.3rem; font-weight: 800; color: var(--ink); min-width: 92px; }
.fact-list dd { margin: 0; color: var(--muted); }
.tally { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.tally p { margin: 4px 0; color: var(--muted); }
.tally strong { color: var(--ink); }

.stage-section { padding: 30px 0 12px; }
.stage-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
.stage-left, .stage-right { display: grid; gap: 18px; }

/* ---------- host board ---------- */
.board-card, .door-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.board-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; flex-wrap: wrap; }
.board-head .card-kicker { margin-bottom: 4px; }
.board-title { margin: 0; font-size: 1.25rem; color: var(--ink); }
.board-sub { margin: 20px 0 8px; font-size: 0.95rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.next-quote { background: var(--copper-soft); border: 1px solid var(--copper); border-radius: 9px; padding: 10px 13px; margin: 14px 0 0; }
.next-quote strong { color: var(--ink); }
.next-quote-note { color: var(--muted); font-size: 0.86rem; }

.queue { display: grid; gap: 8px; }
.queue-row {
  display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; background: #fdfaf6;
}
.queue-row.is-you { border: 1.5px solid var(--copper); background: var(--copper-soft); }
.queue-row.is-seated { opacity: 0.62; }
.q-pos {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.queue-row.is-seated .q-pos { background: var(--ok); }
.q-main { flex: 1; min-width: 0; }
.q-name { margin: 0; font-weight: 700; color: var(--ink); }
.q-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.q-note { margin: 2px 0 0; color: var(--copper); font-size: 0.88rem; font-weight: 700; }
.q-status { flex: none; border-radius: 999px; padding: 3px 11px; font-size: 0.82rem; font-weight: 700; border: 1px solid var(--line); }
.st-waiting { background: #fdf3e3; border-color: var(--copper); color: #8a4d12; }
.st-texted { background: #e9eef7; border-color: #5b7aa6; color: #33507a; }
.st-seated { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.st-noshow { background: #fbeae8; border-color: var(--danger); color: var(--danger); }

.board-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.board-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

.tables-list, .booked-list { list-style: none; margin: 0; padding: 0; }
.tables-list li, .booked-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-weight: 600;
}
.booked-list li { justify-content: flex-start; font-weight: 600; }
.tbl-status { color: var(--muted); font-size: 0.92rem; text-align: right; font-weight: 600; }

/* ---------- doors / forms ---------- */
.door-card h2 { margin: 0 0 14px; font-size: 1.3rem; color: var(--ink); }
.field { display: block; margin-bottom: 13px; font-weight: 600; color: var(--ink); }
.field input {
  display: block; width: 100%; margin-top: 5px; padding: 11px 13px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 1rem;
}
.field-label { display: block; margin-bottom: 6px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chip {
  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-size: 0.94rem; font-weight: 700; cursor: pointer;
}
.pick-chip:hover { background: var(--copper-soft); }
.pick-chip.is-selected { background: var(--ink); color: #fff; }
.form-error { color: var(--danger); font-weight: 700; margin: 0 0 10px; }
.quote-banner {
  margin: 16px 0 0; background: var(--ok-bg); border: 1.5px solid var(--ok); color: var(--ok);
  border-radius: var(--radius); padding: 13px 15px; font-weight: 700;
}

.button { border: 0; cursor: pointer; border-radius: 9px; padding: 11px 17px; font-size: 0.97rem; font-weight: 700; }
.button:disabled { opacity: 0.45; cursor: not-allowed; }
.button-primary { background: var(--copper); color: #fff; }
.button-primary:hover:not(:disabled) { background: #96530f; }
.button-secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.button-secondary:hover:not(:disabled) { background: var(--copper-soft); }

/* ---------- phone thread ---------- */
.phone { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fffdf9; }
.phone-top { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.phone-top h3 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.phone-sub { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }
.live-pill { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 4px 10px; flex: none; }

.thread {
  margin-top: 14px; background: #faf6f0; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px; min-height: 200px; max-height: 400px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 9px;
}
.thread-empty { color: var(--muted); margin: auto 0; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 15px; }
.msg p { margin: 0; }
.msg .who { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 2px; }
.msg-host { background: #f3e7d7; align-self: flex-start; border-bottom-left-radius: 5px; }
.msg-host .who { color: var(--copper); }
.msg-guest { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg-guest .who { color: #e5cdb2; }
.msg-system { align-self: center; background: var(--copper-soft); border: 1px dashed var(--copper); color: var(--ink); font-size: 0.88rem; text-align: center; }

.hold-box {
  margin: 12px 0 0; background: #e9eef7; border: 1.5px solid #5b7aa6; color: #33507a;
  border-radius: 9px; padding: 11px 13px; font-weight: 700;
}
.lever-row { display: flex; gap: 9px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.lever-label { font-size: 0.86rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: 0.92rem; font-weight: 600; cursor: pointer;
}
.chip:hover { background: var(--ink); color: #fff; }
.text-form { display: flex; gap: 9px; margin-top: 12px; }
.text-form input {
  flex: 1; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 1rem; min-width: 0;
}

/* ---------- reservation result ---------- */
.res-card { margin-top: 16px; background: #fffaf0; border: 1.5px solid var(--copper); border-radius: var(--radius); padding: 14px 16px; }
.res-card p { margin: 0 0 10px; }
.mock-kicker { color: var(--copper); font-size: 0.82rem; font-weight: 700; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.demo-label { color: var(--muted); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.11em; margin: 12px 0 6px; text-transform: uppercase; }
.reminder-preview { max-width: 100%; }

.notes-section { padding: 36px 0 48px; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.notes-grid h2 { font-size: 1.3rem; color: var(--ink); }
.notes-grid li { margin-bottom: 8px; color: var(--muted); }
.notes-grid li strong, .notes-grid p strong { color: var(--text); }
.notes-grid p { color: var(--muted); }
.price-line { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; }

.site-footer { background: var(--ink-deep); padding: 22px 0 30px; color: #d8c9ba; font-size: 0.9rem; }

/* ---------- price card (in hero) ---------- */
.price-card { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 13px; }
.price-main { margin: 0; color: var(--muted); }
.price-main strong { color: var(--ink); }
.audit-line { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }

/* ---------- pitch strip ---------- */
.pitch-strip { background: var(--copper); color: #fff; margin: 0; padding: 13px 0; font-weight: 600; }
.pitch-inner { display: block; }

/* ---------- view toggle ---------- */
.view-bar { background: var(--ink-deep); padding: 14px 0; }
.view-bar-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.view-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.view-btn {
  border: 0; background: transparent; color: #ecd9c4; cursor: pointer;
  font-size: 0.95rem; font-weight: 700; padding: 9px 18px; border-radius: 999px;
}
.view-btn.is-active { background: var(--bg); color: var(--ink); }
.view-note { margin: 0; color: #d8c9ba; font-size: 0.93rem; }
.view-note strong { color: #fff; }

/* ---------- owner admin: night book ---------- */
.admin-section { padding: 30px 0 12px; }
.admin-panel {
  background: var(--surface); border: 1.5px solid var(--copper); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.admin-panel h2 { margin: 0 0 8px; font-size: 1.35rem; color: var(--ink); }
.admin-sub { margin: 0; color: var(--muted); max-width: 680px; }
.admin-money {
  margin-top: 18px; background: var(--copper-soft); border: 1.5px solid var(--copper);
  border-radius: 10px; padding: 16px 18px;
}
.admin-money-label { margin: 0; color: var(--copper); text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.74rem; font-weight: 800; }
.admin-money-value { margin: 4px 0 2px; font-size: 2.3rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.admin-money-sub { margin: 0; color: var(--text); font-weight: 600; }
.admin-h { margin: 22px 0 10px; font-size: 1.05rem; color: var(--ink); }

.book-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.book-row {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fdfaf6;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.book-row.is-you { border: 1.5px solid var(--copper); background: var(--copper-soft); }
.book-main { min-width: 0; }
.book-name { margin: 0; font-weight: 700; color: var(--ink); }
.book-meta { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
.you-badge {
  display: inline-block; background: var(--copper); color: #fff; border-radius: 999px;
  padding: 1px 9px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; margin-left: 8px; vertical-align: 2px;
}
.bk-status { flex: none; border-radius: 999px; padding: 3px 11px; font-size: 0.82rem; font-weight: 700; border: 1px solid var(--line); }

.admin-stats { margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fdfaf6; }
.admin-stats dt { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-stats dd { margin: 3px 0 0; font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.admin-insight {
  margin: 20px 0 0; border: 1px solid var(--line); background: var(--bg);
  border-radius: 9px; padding: 12px 14px; font-weight: 600;
}
.mock-note { margin: 16px 0 0; color: var(--muted); font-size: 0.88rem; }

@media (max-width: 860px) {
  .hero-grid, .stage-grid, .notes-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .header-phone { margin-left: 0; }
  .thread { min-height: 180px; }
  .text-form { flex-wrap: wrap; }
}
