:root {
    font-family: system-ui, sans-serif;
    color: #23332f;
    background: #f6f5f1;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.page { max-width: 1440px; margin: auto; padding: 0 6%; }
.topbar { height: 85px; border-bottom: 1px solid #e4e6df; display: flex; align-items: center; justify-content: space-between; }
.brand { color: #1e342d; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.8px; display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; background: #1d5e49; color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 23px; }
.brand-dot { color: #e58b60; margin-left: -8px; }
.topbar-note, .section-kicker, .eyebrow, footer { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.topbar-note { color: #748078; display: flex; align-items: center; gap: 8px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #70a887; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 48px 0 32px; }
.eyebrow { color: #718578; margin: 0 0 14px; }
.sparkle { color: #e49268; font-size: 16px; vertical-align: middle; margin-right: 5px; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(42px, 5vw, 66px); line-height: 1; letter-spacing: -.035em; margin-bottom: 14px; }
h1 em { color: #408368; font-weight: 400; }
.intro-copy { color: #7a8580; font-size: 14px; margin: 0; }
.availability { white-space: nowrap; border: 1px solid #dde6dd; background: #fff; border-radius: 30px; padding: 10px 15px; color: #75867b; font-size: 12px; }
.availability strong { color: #2e6d53; margin-left: 5px; }
.room-panel, .action-card, .questions-card { background: #fff; border: 1px solid #e8ebe4; border-radius: 16px; box-shadow: 0 8px 30px #24423408; }
.room-panel { padding: 27px 30px 30px; }
.room-heading, .questions-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-kicker { color: #a0aaa2; margin-bottom: 8px; }
.room-heading h2, .questions-heading h2, .action-card h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 0; }
.room-heading h2 span { color: #e8a580; font-family: system-ui, sans-serif; font-size: 17px; }
.legend { display: flex; gap: 16px; color: #8c9890; font-size: 11px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: #d3ded5; }
.legend .legend-taken { background: #8cb4a0; }
.legend .legend-you { background: #eaa47e; }
.room { margin-top: 23px; padding: 18px 7% 15px; border: 1px solid #e3ebe2; background: #f2f6f0; border-radius: 12px; }
.stage { display: flex; align-items: center; justify-content: center; gap: 9px; color: #8d9f91; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.stage-icon { color: #e1a47f; font-size: 16px; }
.stage-line { display: none; }
.stage::after, .stage::before { content: ''; height: 1px; background: #dfe8de; flex: 1; max-width: 110px; }
.stage::before { order: -1; }
.seats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 10px; padding: 32px 0 18px; }
.seat-wrap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.seat { width: 64px; height: 57px; padding: 0; border: 0; background: transparent; position: relative; display: block; }
.seat:disabled { cursor: default; }
.seat:not(:disabled):hover .chair, .seat:not(:disabled):focus-visible .chair { background: #9dc9aa; transform: translateY(-3px); }
.seat:focus-visible { outline: 2px solid #286d52; outline-offset: 3px; border-radius: 10px; }
.chair { position: absolute; bottom: 1px; left: 7px; width: 50px; height: 32px; border-radius: 13px 13px 10px 10px; background: #d2e0d2; box-shadow: inset 0 -7px #c0d3c1, 0 4px 0 #b5cbb7; transition: .18s ease; }
.person { display: none; position: absolute; z-index: 1; left: 0; right: 0; bottom: 13px; height: 45px; }
.occupied .person { display: block; }
.head { position: absolute; top: 0; left: 22px; width: 20px; height: 20px; border-radius: 50%; background: #759b86; border: 3px solid #f2f6f0; }
.body-shape { position: absolute; bottom: 0; left: 14px; width: 36px; height: 24px; border-radius: 16px 16px 8px 8px; background: #85ab95; border: 3px solid #f2f6f0; }
.occupied .chair { background: #a9c5ae; box-shadow: inset 0 -7px #91b29a, 0 4px 0 #83a98e; }
.own .head, .own .body-shape { background: #d78c68; }
.own .chair { background: #e7b594; box-shadow: inset 0 -7px #dca07c, 0 4px 0 #d39370; }
.seat-name { font-size: 10px; font-weight: 600; color: #9dac9f; margin-top: 9px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.occupied .seat-name { color: #61836e; }
.own .seat-name { color: #bd7957; }
.bubble { position: relative; max-width: 150px; width: 100%; max-height: 4.5em; margin-bottom: 8px; padding: 8px; border-radius: 9px 9px 9px 2px; background: white; box-shadow: 0 3px 12px #38574113; color: #4a6656; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; overflow-y: auto; }
.bubble span { font-size: 11px; }
.room-hint { color: #93a398; text-align: center; font-size: 11px; margin: 8px 0 0; }
.below-room { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.action-card, .questions-card { padding: 28px 30px; }
.action-card > div > p { color: #89968d; font-size: 13px; line-height: 1.6; margin: 10px 0 20px; }
form label { display: block; color: #4d6255; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
input, textarea { width: 100%; border: 1px solid #e2e8e1; border-radius: 8px; background: #fafbf9; color: #23332f; padding: 12px 14px; outline: none; }
input:focus, textarea:focus { border-color: #69a484; box-shadow: 0 0 0 3px #69a48422; }
textarea { resize: vertical; min-height: 80px; }
input::placeholder, textarea::placeholder { color: #b1bbb2; }
.primary-button { width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: #256c50; color: white; padding: 13px 16px; margin-top: 10px; font-size: 12px; font-weight: 700; }
.primary-button:hover { background: #1a5940; }
.secondary-actions { display: flex; gap: 18px; margin-top: 15px; }
.secondary-actions button { padding: 0; border: 0; background: none; color: #6b8373; font-size: 12px; text-decoration: underline; }
.fine-print { color: #a4afa6; font-size: 10px; margin: 18px 0 0; }
.question-icon { width: 34px; height: 34px; border-radius: 50%; background: #eff5ee; color: #78a187; display: grid; place-items: center; }
.questions-heading .brand-dot { margin: 0; }
#messages { max-height: 310px; overflow-y: auto; }
.message { padding: 16px 0; border-bottom: 1px solid #edf0ea; }
.message-header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.message-header strong { font-size: 12px; color: #50705a; overflow-wrap: anywhere; }
time { color: #a7b2a8; font-size: 10px; white-space: nowrap; }
.message p { margin: 8px 0 0; color: #6b7c70; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-state { text-align: center; color: #9eaca0; font-size: 12px; padding: 30px 0 16px; line-height: 1.7; }
.empty-state span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f3f6f1; color: #a4bca7; font-size: 21px; }
.empty-state p { margin: 10px 0 0; }
.empty-state strong { color: #83988a; }
.error, #status:not(:empty) { color: #a94436; font-size: 13px; margin: 16px 0 0; }
footer { color: #b1bab1; text-align: center; padding: 35px 0; font-size: 9px; }
footer span { color: #dfa17d; margin-left: 5px; }
@media (max-width: 650px) {
    .page { padding: 0 16px; }
    .topbar { height: 68px; }
    .topbar-note { font-size: 8px; }
    .intro { padding: 35px 0 24px; align-items: start; flex-direction: column; }
    .availability { padding: 8px 12px; }
    .room-panel { padding: 20px 14px 14px; }
    .room-heading { align-items: start; flex-direction: column; }
    .room-heading h2, .questions-heading h2, .action-card h2 { font-size: 23px; }
    .room { padding: 16px 5px 12px; }
    .seats { gap: 16px 2px; padding-top: 25px; }
    .seat { transform: scale(.8); margin: -5px 0; }
    .seat-name { font-size: 9px; }
    .bubble { font-size: 9px; padding: 5px; }
    .below-room { grid-template-columns: 1fr; }
    .action-card, .questions-card { padding: 24px 20px; }
}
