/* Shared list controls for the reservation register and seated groups. */
.guest-list {
  --guest-ink:var(--text,#151719);
  --guest-muted:var(--muted,#5a616d);
  --guest-action:var(--link);
  color:var(--guest-ink);
  min-width:0;
}
.gl-heading { display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px; }
.gl-heading h2 { font-size:clamp(19px,2vw,23px);line-height:1.25;font-weight:610;letter-spacing:-.035em; }
.gl-heading time { color:var(--guest-muted);font-size:13px;white-space:nowrap; }
.gl-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:13px; }
.gl-tools button,.gl-tools input,.gl-options button,.gl-table button,.gl-footer button,.gl-text { font:inherit; }
.gl-search,.gl-filter { display:flex; align-items:center; gap:8px; min-height:44px; border-radius:9px; color:var(--guest-muted); }
.gl-search { width:min(260px,100%); padding:0 12px; min-width:0; background:var(--surface); border:1px solid var(--control-border); }
.gl-search:focus-within { border-color:var(--focus-ring);outline:2px solid var(--focus-ring);outline-offset:-2px; }
.gl-search input { min-height:42px; width:100%; min-width:0; border:0; padding:0; background:transparent; outline:0; color:var(--guest-ink); font-size:15px; line-height:1.4; }
.gl-search input:focus-visible { outline:0; }
.gl-search input::placeholder { color:var(--guest-muted); opacity:1; }
.gl-search svg,.gl-filter svg,.gl-next svg { flex-shrink:0; }
.gl-archive .gl-tools { justify-content:flex-start; gap:8px; }
.gl-report-download { min-height:44px; }
.gl-report-download[hidden] { display:none; }
.gl-report-download[aria-busy="true"] { cursor:progress; }
.gl-export-short { display:none; }
.gl-filter { padding:0 12px; background:var(--primary-soft); color:var(--guest-ink); font-weight:540; font-size:14px; }
.gl-filter.gl-applied,.gl-options button[aria-pressed="true"] { background:var(--selection-bg); color:var(--selection-fg); font-weight:600; }
.gl-options { display:grid; }
.gl-options button { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; text-align:start; padding:7px 12px; border-radius:8px; background:transparent; color:var(--text,#151719); font-size:16px; }
.gl-options button:focus-visible { outline-offset:-3px; }
.gl-options button[aria-pressed="true"]:focus-visible { outline-color:var(--selection-fg); }
@media (hover:hover) {
  .gl-options button:hover:not([aria-pressed="true"]) { background:var(--primary-soft); }
}
.gl-results { min-width:0; }
.gl-table { width:100%; border-collapse:collapse; table-layout:fixed; text-align:left; }
.gl-table th { color:var(--guest-muted); font-weight:520; font-size:13px; }
.gl-table td,.gl-table th { text-align:left; vertical-align:middle; padding:7px 10px; }
.gl-table tbody tr + tr { border-block-start:1px solid var(--divider); }
@media (min-width:701px) {
  .gl-table thead { border-block-end:1px solid var(--divider); }
}
.gl-table th { padding-block:10px; }
.gl-table td:first-child,.gl-table th:first-child { padding-inline-start:0; }
.gl-table td:last-child,.gl-table th:last-child { text-align:right; padding-inline-end:0; }
.gl-time { font-variant-numeric:tabular-nums; }
.gl-table-name { width:28%; }
.gl-owner { width:28%; }
.gl-served { width:22%; font-variant-numeric:tabular-nums; }
.gl-preference { width:22%; }
.gl-owner,.gl-table-name,.gl-preference { overflow-wrap:anywhere; }
.gl-table-guest { display:none; }
.gl-archive-table .gl-time { width:9%; }
.gl-archive-table .gl-person { width:21%; }
.gl-archive-table .gl-party { width:18%; }
.gl-archive-table .gl-seat { width:13%; }
.gl-archive-table .gl-status { width:16%; }
.gl-archive-table .gl-action { width:23%; }
.gl-table td { height:70px; font-size:15px; }
.gl-table td.gl-person,.gl-table td.gl-seat,.gl-table td.gl-status { overflow-wrap:anywhere; }
.gl-table .gl-record,.gl-table .gl-next,.gl-text { border:0; background:transparent; min-height:44px; padding:0; }
.gl-table .gl-record { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; width:100%; text-align:left; color:var(--guest-ink); }
.gl-name { font-size:17px; font-weight:600; letter-spacing:-.025em; line-height:1.35; }
.gl-guest-group { display:block; color:var(--guest-muted); font-size:12px; font-weight:520; line-height:1.45; }
.gl-carryover { color:var(--guest-muted); font-size:12px; }
.gl-record:hover .gl-name { text-decoration:underline; text-underline-offset:3px; }
.gl-table .gl-next,.gl-text { display:inline-flex; align-items:center; justify-content:flex-end; gap:4px; color:var(--guest-action); font-size:14px; font-weight:570; white-space:nowrap; }
.gl-row-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:0 10px; }
.gl-table .gl-next { min-width:44px;justify-content:center;gap:5px; }
.gl-cancel { display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--status-danger); }
@media(hover:hover) {
  .gl-cancel:hover { background:var(--status-danger-soft); }
}
.gl-action-mark { display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:var(--primary-soft); }
.gl-next:hover,.gl-text:hover { text-decoration:underline; text-underline-offset:3px; }
.gl-status { color:var(--guest-muted); }
.gl-facts { display:none; }
.gl-footer { display:flex; align-items:center; justify-content:space-between; min-height:52px; font-size:13px; color:var(--guest-muted); }
.gl-paging { display:flex; align-items:center; gap:5px; }
.gl-paging button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--guest-ink); }
.gl-empty { padding:22px 0; }
.gl-empty p { margin:0; color:var(--guest-muted); font-size:15px; }
.gl-sr { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.guest-list [hidden] { display:none!important; }
@media(max-width:700px) {
  .gl-heading { margin-bottom:12px; }
  .gl-service .gl-tools { margin-bottom:6px; }
  .gl-search { width:100%; }
  .gl-search input { font-size:16px; }
  .gl-archive .gl-search { flex:1; }
  .gl-filter { max-width:52%; gap:5px; padding-inline:9px; }
  .gl-filter span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .gl-table,.gl-table tbody { display:block; }
  .gl-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .gl-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:center; padding:9px 0; }
  .gl-archive-table tbody tr { row-gap:3px; }
  .gl-table td,.gl-table td:first-child,.gl-table td:last-child,.gl-table.gl-archive-table td { height:auto; width:auto; padding:0; border:0; }
  .gl-table td:is(.gl-time,.gl-seat,.gl-status,.gl-owner,.gl-preference) { display:none; }
  .gl-archive-table .gl-person { grid-area:1 / 1; }
  .gl-archive-table .gl-party { grid-area:2 / 1; min-width:0; }
  .gl-archive-table .gl-action { grid-area:1 / 2 / span 2; }
  .gl-table .gl-served { text-align:end; max-width:min(42vw,240px); min-width:0; }
  .gl-table-guest { display:block; margin-top:2px; font-size:13px; color:var(--guest-muted); }
  .gl-table .gl-person { min-width:0; }
  .gl-name { font-size:16px; }
  .gl-facts { display:flex; flex-wrap:wrap; align-items:center; gap:3px 6px; margin-top:3px; color:var(--guest-muted); font-size:13px; font-weight:420; line-height:1.45; }
  .gl-facts time { font-variant-numeric:tabular-nums; }
  .gl-seat-name::before { content:"·"; margin-right:5px; }
  .gl-row-actions { flex-wrap:nowrap; gap:0 6px; }
  .gl-table .gl-next { font-size:13px; gap:4px; }
  .gl-row-actions .gl-action-mark { width:22px; height:22px; }
  .gl-row-actions .gl-action-mark svg { width:15px; height:15px; }
}
@media(max-width:430px) {
  .gl-archive-table .gl-action:has(.gl-row-actions > :nth-child(3)) { grid-area:3 / 1 / auto / -1; }
}
@media(max-width:560px) {
  .gl-archive .gl-tools:has([data-reservations-pdf]:not([hidden])) {
    display:grid;grid-template-columns:minmax(0,1fr) auto;
  }
  .gl-tools:has([data-reservations-pdf]:not([hidden])) .gl-search { grid-column:1/-1; }
  .gl-tools:has([data-reservations-pdf]:not([hidden])) .gl-filter { justify-self:start;max-width:100%; }
  .gl-tools [data-reservations-pdf] { min-height:44px;gap:5px;padding-inline:10px;font-size:13px; }
  .gl-export-label { display:none; }
  .gl-export-short { display:inline; }
}
@media(prefers-reduced-motion:no-preference) {
  .gl-next { transition:color .13s ease; }
}
@media(forced-colors:active) {
  .gl-filter.gl-applied,.gl-options button[aria-pressed=true] { forced-color-adjust:none; }
}

