:root { color-scheme: light; --rose: var(--rose-quartz); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font: 16px/1.6 var(--sans); }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button { cursor: pointer; min-height: 46px; border: 1px solid var(--ink); border-radius: 4px; padding: 12px 22px; color: white; background: var(--ink); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
.guest-header { position: sticky; top: 0; z-index: 10; min-height: 86px; padding: 14px max(32px, calc((100% - 1120px) / 2)); display: flex; align-items: center; gap: 26px; border-bottom: 1px solid #dedfd566; background: rgb(247 245 239 / 95%); backdrop-filter: blur(16px); }
.guest-header .brand { margin-right: auto; }
.guest-header > a:not(.brand) { font-size: 12px; letter-spacing: .01em; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.text-button { border: 0; background: transparent; padding: 8px 4px; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
main { max-width: 1160px; margin: auto; padding: 0 32px 80px; }
.welcome { text-align: center; padding: 65px 0 28px; }
.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(48px, 6vw, 78px); line-height: 1.06; letter-spacing: -.055em; margin: 22px 0; }
h1 em { color: var(--rose); font-weight: 400; }
.intro { color: var(--muted); font-size: 16px; }
.status { text-align: center; color: var(--rose); }
.status:empty { display: none; }
.access-card { max-width: 540px; margin: 0 auto 50px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; }
h2 { margin: 0; font-size: 36px; line-height: 1.15; letter-spacing: -.035em; }
.access-card > p:not(.eyebrow), .small { color: var(--muted); }
label { display: block; font-weight: 600; font-size: 14px; }
.access-fields { display: flex; gap: 10px; margin-top: 8px; }
input { width: 100%; min-width: 0; padding: 14px; border: 1px solid #9faa99; color: var(--ink); background: white; border-radius: 4px; font-size: 16px; }
.access-fields button { flex-shrink: 0; }
.small { font-size: 12px; margin-bottom: 0; }
.search-card { max-width: 720px; margin: 0 auto 58px; }
.search-card label { font: 28px/1.3 var(--serif); text-align: center; }
.search-card p { color: var(--muted); text-align: center; font-size: 13px; margin: 8px 0 20px; }
.search-field { display: flex; align-items: center; gap: 12px; background: #fffdf9; border: 1px solid #9faa99; border-radius: 8px; padding: 4px 18px; box-shadow: 0 8px 28px #294c3e06; }
.search-field > span { font-size: 34px; }
.search-field input { border: 0; background: transparent; padding: 14px 0; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid var(--rose); outline-offset: 3px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 7px; }
.search-summary { color: var(--muted); margin: 0 0 22px; }
.search-summary:empty { display: none; }
.table-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.table-card { min-width: 0; background: #fffdf9; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.table-card header { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.table-number { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #a6b29c; outline: 1px solid #d9dfd2; outline-offset: 5px; border-radius: 50%; flex-shrink: 0; font: 30px/1 var(--serif); }
.table-card h3 { margin: 0; font-size: 24px; }
.table-card .table-caption { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.occupants { list-style: none; padding: 18px 0 0; margin: 0; }
.occupants li { padding: 8px 0; border-bottom: 1px solid #eeeae1; overflow-wrap: anywhere; font-size: 14px; }
.occupants li:last-child { border: 0; }
.table-list.is-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.table-list.is-search.is-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.is-search .table-card { border-color: #7c927e; background: #f1f3eb; padding: 34px; animation: arrive .3s ease both; }
.is-search .table-number { width: 94px; height: 94px; background: var(--ink); color: #fffdf9; border-color: var(--ink); font-size: 45px; }
.is-search .table-card h3 { font-size: 32px; }
.is-search .occupants { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
mark { color: var(--ink); background: #e4cfaa; border-radius: 3px; padding: 2px 4px; font-weight: 600; }
.match-note { color: var(--rose); margin: 18px 0 0; font-size: 13px; }
.empty-state { text-align: center; padding: 40px 24px; border: 1px solid var(--line); border-radius: 8px; }
.empty-symbol { font-size: 36px; color: var(--rose); }
.empty-state h3 { font-size: 30px; margin: 10px 0; }
.empty-state p { color: var(--muted); }
.plan-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 38px; }
footer { text-align: center; border-top: 1px solid var(--line); padding: 30px; }
footer p { color: var(--signature); font: italic 22px var(--serif); margin: 0 0 8px; }
footer span { color: var(--muted); font-size: 11px; letter-spacing: .2em; }
@keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-search .table-card { animation: none; } }
@media (max-width: 900px) { .table-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { main { padding: 0 20px 50px; } .guest-header { min-height: 70px; padding: 10px 20px; gap: 16px; } .welcome { padding-top: 40px; } .eyebrow { font-size: 10px; } .table-list, .table-list.is-search { grid-template-columns: minmax(0, 1fr); } .table-card, .is-search .table-card { padding: 24px; } .access-card { padding: 24px; } .access-fields { flex-wrap: wrap; } .access-fields button { width: 100%; } .section-heading { align-items: start; } .section-heading h2 { font-size: 30px; } .is-search .occupants { grid-template-columns: minmax(0,1fr); } }

.search-field input::-webkit-search-cancel-button { display: none; }
@media (max-width: 620px) {
  body[data-authenticated=true] .welcome { padding: 26px 0 22px; }
  body[data-authenticated=true] .welcome h1 { font-size: 42px; margin: 12px 0; }
  body[data-authenticated=true] .welcome .intro { display: none; }
  body[data-authenticated=true] .search-card { margin-bottom: 30px; }
  .section-heading { gap: 16px; }
  .section-heading > div { flex: 1; }
  #show-all { max-width: 120px; font-size: 13px; }
}
