/* Meeting room ordering screen */
.guest { max-width: 580px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 20px; }
.g-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 12px; padding: 22px 0 16px; border-bottom: 1px solid var(--line); }
.g-room { font-size: 24px; font-weight: 700; font-stretch: 88%; line-height: 1.1; }
.g-loc { font-size: 14px; color: var(--ink-2); }
.g-steps { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 13px; }
.g-steps li { padding: 4px 10px; border-radius: 99px; color: var(--ink-2); }
.g-steps li.is-done { color: var(--ink); }
.g-steps li.is-now { background: var(--leather); color: #fff; font-weight: 600; }
.g-body { flex: 1; padding: 26px 0 28px; }
.has-bar .g-body { padding-bottom: 8px; }
.g-title { font-size: 31px; font-weight: 700; font-stretch: 86%; line-height: 1.1; }
.g-sub { color: var(--ink-2); margin-top: 8px; max-width: 46ch; }
.loading { color: var(--ink-2); padding: 40px 0; text-align: center; }
.map-wrap { display: flex; justify-content: center; padding: 22px 0 6px; }
.has-bar .g-legend { margin-bottom: 6px; }
.g-legend { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.dot-busy { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); flex: none; }
.g-bar {
  position: sticky; bottom: 0; margin: 0 -20px; z-index: 5;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(237, 241, 243, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px;
}
.g-bar-text { flex: 1; min-width: 0; }
.g-bar-text strong { display: block; font-size: 18px; line-height: 1.25; }
.g-bar-text span { display: block; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.g-bar .btn { min-height: 52px; }

.seat-chip { display: inline-flex; align-items: center; gap: 12px; padding: 3px 10px 3px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin: 22px 0 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 4px 12px; font-size: 15px; min-width: 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.cat svg { width: 36px; height: 36px; color: var(--ink-2); }
.cat img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.cat[aria-pressed="true"] { border-color: var(--leather); background: var(--leather); color: #fff; }
.cat[aria-pressed="true"] svg { color: var(--walnut-soft); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.item:hover .item-add { background: var(--leather); color: #fff; }
.item.is-unavailable { cursor: not-allowed; }
.item.is-unavailable .thumb, .item.is-unavailable .item-name { opacity: .45; }
.item-text { flex: 1; min-width: 0; }
.item-name { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.item-desc { display: block; font-size: 14px; color: var(--ink-2); }
.item.is-unavailable .item-desc { color: #9A5A2A; font-weight: 600; }
.item-add { flex: none; display: inline-grid; place-items: center; min-height: 42px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--leather); font-weight: 600; font-size: 15px; transition: background .12s, color .12s; }
.in-cart { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--walnut); color: #fff; vertical-align: 2px; }

/* customisation sheet */
.backdrop { position: fixed; inset: 0; background: rgba(29, 36, 40, .5); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 580px; max-height: 90vh; max-height: 90dvh; overflow: auto; border-radius: 22px 22px 0 0; padding: 22px 22px 0; animation: rise .22s ease-out; }
@media (min-width: 720px) { .backdrop { align-items: center; } .sheet { border-radius: 22px; } }
@keyframes rise { from { transform: translateY(24px); opacity: .4; } }
.sheet-head { display: flex; gap: 14px; align-items: center; }
.sheet-title { font-size: 25px; font-weight: 700; font-stretch: 88%; line-height: 1.15; }
.group { margin-top: 20px; }
.group-name { font-weight: 600; margin-bottom: 8px; }
.group-name span { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.group.is-sub { background: var(--daylight); border-radius: 14px; padding: 12px 14px 14px; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 17px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; cursor: pointer; }
.chip[aria-checked="true"] { border-color: var(--leather); background: var(--leather); color: #fff; font-weight: 600; }
.sheet-foot { position: sticky; bottom: 0; background: #fff; display: flex; gap: 12px; align-items: center; padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); margin-top: 22px; border-top: 1px solid var(--line); }
.sheet-error { margin-top: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; flex: none; }
.stepper button { width: 46px; height: 48px; border: 0; background: none; font-size: 22px; cursor: pointer; border-radius: 10px; }
.stepper button:hover:not(:disabled) { background: var(--daylight); }
.stepper button:disabled { color: #B5BEC3; cursor: not-allowed; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.sm button { width: 40px; height: 40px; font-size: 20px; }

/* review */
.lines { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 48px 1fr auto; gap: 4px 14px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); align-items: center; }
.line-name { display: block; font-size: 17px; font-weight: 600; }
.line-opts { display: block; font-size: 14px; color: var(--ink-2); }
.line-warn { display: block; font-size: 14px; color: #9A4A1E; font-weight: 600; }
.line-actions { grid-column: 2 / -1; display: flex; gap: 18px; }
.note-box { margin-top: 18px; }
.note-box textarea { width: 100%; min-height: 84px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; resize: vertical; }
.empty { text-align: center; padding: 48px 10px; }
.empty p { color: var(--ink-2); margin: 8px 0 20px; }
.estimate { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* confirmation */
.done { text-align: center; }
.done-mark { width: 84px; height: 84px; margin: 6px auto 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.done-mark.is-cancelled { background: var(--grey); }
.done-mark svg { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.done .g-sub { margin-inline: auto; }
.done-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0 0; text-align: left; }
.done-facts div { background: #fff; padding: 12px 16px; }
.done-facts .wide { grid-column: 1 / -1; }
.done-facts span { display: block; font-size: 13px; color: var(--ink-2); }
.done-facts strong { font-size: 20px; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.track { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; }
.track li { position: relative; padding-top: 30px; font-size: 14px; color: var(--ink-2); }
.track li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li::after { content: ""; position: absolute; top: 2px; left: 50%; width: 17px; height: 17px; margin-left: -8.5px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.track li.is-done { color: var(--ink); }
.track li.is-done::before { background: var(--green); }
.track li.is-done::after { background: var(--green); border-color: var(--green); }
.track li.is-now::after { border-color: var(--amber); animation: beat 1.6s ease-in-out infinite; }
.track li strong { display: block; font-weight: 600; }
@keyframes beat { 50% { box-shadow: 0 0 0 6px rgba(222, 150, 47, .25); } }
.recap { list-style: none; margin: 22px 0 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.recap li { display: flex; gap: 10px; padding: 4px 0; }
.recap b { min-width: 26px; font-variant-numeric: tabular-nums; }
.done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.done .notice { text-align: left; margin-top: 16px; }

/* room picker */
.room-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.room-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.room-list a:hover strong { text-decoration: underline; }
.room-list strong { display: block; font-size: 19px; }
.room-list span span { display: block; font-size: 14px; color: var(--ink-2); }
.room-seats { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.staff-link { margin-top: 32px; font-size: 14px; }
.g-title-gap { margin-top: 18px; }
.sheet-headtext { flex: 1; min-width: 0; }
.review-error { margin-top: 16px; }
.add-more { margin-top: 14px; }
fieldset.group { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
fieldset.group.is-sub { padding: 12px 14px 14px; margin-top: 10px; }
.group-name { float: left; width: 100%; padding: 0; }
.group .chips { clear: both; }
.g-head { gap: 12px 14px; }
.g-head > .g-logo { margin-right: 2px; }
@media (max-width: 520px) { .g-steps { margin: 0; flex-basis: 100%; } }
@media (max-width: 380px) { .g-logo { height: 32px; max-width: 104px; } }
