/* POS floor header: next-reservation box + today's reservations panel (reservations-box.js).
   Colours come from shared/tokens.css only. */
.pos-floor-head { gap: 16px; }
.pos-next-res {
  position: relative; flex: 1 1 260px; max-width: 420px; min-width: 0; margin: 0 8px; align-self: center;
  display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
  padding: 10px 44px 10px 14px; border: 1.5px solid var(--pos-ground); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit;
  transition: background-color .2s ease, color .2s ease;
}
.pos-next-res:hover, .pos-next-res:focus-visible { background: var(--pos-ground); color: var(--pos-ground-ink); }
.pos-next-res:focus-visible { outline: 3px solid var(--pos-ground); outline-offset: 3px; }
.pos-next-res__label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.pos-next-res strong { font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-next-res strong b { font-family: var(--font-heading), serif; font-size: 19px; margin-right: 4px; }
.pos-next-res small { font-size: 12px; opacity: .75; }
.pos-next-res__count { position: absolute; top: 8px; right: 10px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; background: var(--pos-ground); color: var(--pos-ground-ink); font-style: normal; font-size: 12px; font-weight: 800; }
.pos-next-res:hover .pos-next-res__count, .pos-next-res:focus-visible .pos-next-res__count { background: var(--pos-ground-ink); color: var(--pos-ground); }
.pos-next-res__note { position: absolute; bottom: 8px; right: 10px; padding: 1px 7px; border-radius: 8px; background: var(--accent); color: var(--ink); font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.pos-res-dialog { font-family: var(--font-body), system-ui, sans-serif; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--pos-ground-2) 70%, transparent); }
.pos-res-dialog::backdrop { background: color-mix(in srgb, var(--pos-ground-2) 60%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pos-res-dialog__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.pos-res-dialog__body { padding: 22px 22px 20px; }
.pos-res-dialog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-right: 40px; padding-bottom: 14px; border-bottom: 2px solid var(--pos-ground); }
.pos-res-dialog__head p { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pos-res-dialog__head h2 { margin: 0; font-family: var(--font-heading), serif; font-weight: 400; font-size: 26px; line-height: 1.1; }
.pos-res-dialog__head > span { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pos-res-note { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-radius: 0 10px 10px 0; }
.pos-res-note b { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pos-res-note p { margin: 0; line-height: 1.45; font-size: 15px; }
.pos-res-list { list-style: none; margin: 8px 0 0; padding: 0; }
.pos-res-row { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pos-line); }
.pos-res-row:last-child { border-bottom: 0; }
.pos-res-row time { font-family: var(--font-heading), serif; font-size: 22px; }
.pos-res-row strong { display: block; font-size: 16px; }
.pos-res-row span { font-size: 13px; color: var(--muted); }
.pos-res-row em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--pos-ground); color: var(--pos-ground-ink); }
.pos-res-row i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--pos-line); color: var(--muted); }
.pos-res-row.is-past { opacity: .45; }
.pos-res-row.is-next { background: color-mix(in srgb, var(--ink) 5%, var(--surface)); margin: 0 -10px; padding-inline: 10px; border-radius: 10px; border-bottom-color: transparent; }
.pos-res-empty { margin: 18px 0 4px; color: var(--muted); }
@media (max-width: 900px) { .pos-next-res { flex-basis: 100%; max-width: none; margin: 0; order: 3; } }
