/* v19: a clear status summary, a prominent main guest, and local cast avatars. */
.table-snapshot{display:flex;align-items:center;gap:10px;min-width:0;background:#fffdf8;border:1px solid #d8d4ca;border-left:4px solid #2e6153;border-radius:9px;padding:5px 10px;color:#293d39}
.snapshot-table{min-width:68px;min-height:44px;font-size:22px;font-weight:800;background:#f2eee1;color:#293a34;border:1px solid #c5bca7;border-radius:6px;padding:4px 7px;white-space:nowrap}
.snapshot-guests{font-size:14px;white-space:nowrap}.snapshot-guests b{font-size:24px;margin:0 3px}
.snapshot-presence{display:flex;flex-wrap:wrap;gap:5px}.snapshot-presence>span{display:flex;gap:4px;align-items:center;font-size:14px;padding:3px 7px;border-radius:5px;white-space:nowrap}.snapshot-presence b{font-size:22px}
.presence-serving{background:#eee3f7;color:#58396e}.presence-reserved{background:#ffe2a0;color:#714100;border:1px solid #c38723}.presence-unassigned{background:#ece9e3;color:#57514b;border:1px dashed #90816e}
.snapshot-clock{display:flex;flex-direction:column;align-items:center;min-width:112px;min-height:44px;gap:1px;background:#f3f6f3;color:#245b4c;border:1px solid #b8ccbf;border-radius:6px;padding:3px 9px}.snapshot-clock span{font-size:14px;white-space:nowrap}.snapshot-clock strong{font-size:23px;line-height:1.1;font-variant-numeric:tabular-nums}.table-snapshot.stay-unset .snapshot-clock{color:#875100;background:#fff5dc;border-color:#d7b261}.table-snapshot.stay-due .snapshot-clock{color:#a12e36;background:#fff0ee;border:2px solid #af4146}
.operations-workspace:has(.live-floor-map) .map-toolbar{min-height:58px;align-items:center;gap:8px}.map-toolbar-actions{margin-left:auto;gap:8px}.map-toolbar-actions .text-btn{white-space:nowrap}
.room-scene .live-seat-row .person-name .main-customer-mark{position:static;display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;margin-right:2px;border-radius:6px;background:#653700;color:#ffdc19;font-size:25px;line-height:1;font-style:normal;border:2px solid #fff5b6;box-shadow:0 0 0 2px #ca8b00,0 2px 5px #36241155;text-shadow:0 1px 0 #442600}
.room-scene .live-seat-row.is-main .live-guest>.person-name{align-items:center;z-index:6}.room-scene .live-seat-row.is-main .live-guest>.person-name b{background:#ffdc38;color:#4d3000;box-shadow:0 0 0 2px #9c6200;padding:3px 4px}
.main-toggle[aria-pressed=true]{background:#ffda24!important;border:2px solid #926000!important;color:#4a2c00!important;font-weight:800}
.cast-visual{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none;width:40px;height:40px;color:#755393}.cast-visual>.person-symbol{width:26px;height:36px;display:block;flex:none}.cast-visual.has-photo>.person-symbol{display:none}.cast-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;border:2px solid #765391;-webkit-user-drag:none;user-select:none;pointer-events:none}.cast-photo[hidden]{display:none}
.avatar{background:#f0e6f4;color:#644578}.avatar .cast-visual{width:100%;height:100%}.avatar.sm .cast-visual{width:32px;height:32px}
.cast-grip .cast-visual{width:38px;height:38px}.cast-grip{cursor:grab}.cast-pick{padding-left:6px!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:0}.cast-pick strong{flex:1;text-align:left}.cast-pick .cast-score{grid-column:1}
.drag-ghost{display:flex;align-items:center;gap:10px;max-width:280px}.drag-ghost .cast-visual{width:44px;height:44px}.drag-ghost strong{font-size:19px}
.recommendation-heading .cast-visual{width:38px;height:38px}.recommendation-heading strong{flex:1}.replace-current>.cast-visual{width:52px;height:52px}
.room-scene .live-seat-row .live-cast>.cast-visual{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:28px;height:30px;z-index:0}.room-scene .live-seat-row .live-cast .cast-visual>.person-symbol{display:block;width:23px;height:31px;color:var(--cast-shade,#b69acb);stroke:#52336d;stroke-width:.65;--cast-bg:#fff}
.room-scene .live-seat-row .live-cast .cast-visual.has-photo>.person-symbol{display:none}.room-scene .live-seat-row .live-cast .cast-photo{border-width:2px}
.room-scene .live-seat-row .live-cast.reserved .cast-visual>.person-symbol{color:#fff0c4;stroke:#825000;stroke-width:1.35}.room-scene .live-seat-row .live-cast.reserved .cast-photo{border:2px dashed #a06400;opacity:.7;filter:saturate(.5)}
.room-scene .live-seat-row .live-cast.waiting .cast-visual,.room-scene .live-seat-row .live-cast.changeover .cast-visual{opacity:.35}
.room-scene .live-seat-row .live-cast.reserved>.cast-caption{background:#ffdf8c;box-shadow:0 0 0 2px #9f6500}.room-scene .live-seat-row .live-cast.reserved .pending-label{color:#643800!important;font-weight:800!important}
.room-scene .live-seat-row .live-cast.waiting .unassigned-label{color:#625a52!important}
.room-detail .live-seat-row .live-cast>.cast-visual{width:36px;height:38px}.room-detail .live-seat-row .live-cast .cast-visual>.person-symbol{width:28px;height:38px}
.room-scene .live-seat-row .cast-caption .pending-label,.room-scene .live-seat-row .cast-caption .unassigned-label{max-width:none!important}
.room-scene .live-table-core .live-stay b{font-variant-numeric:tabular-nums;white-space:nowrap}.room-scene.stay-unset .live-stay b{color:#855200;font-size:14px!important}
.cast-icon-editor{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:14px;background:#f5eff8;border-radius:12px}.cast-icon-editor #cast-icon-preview>.cast-visual{width:80px;height:80px}.cast-icon-editor .person-symbol{width:44px;height:65px}.icon-upload-label{display:inline-flex;position:relative;cursor:pointer;overflow:hidden;align-items:center}.icon-upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
@media(min-width:700px) and (max-width:1366px){
 .operations-workspace:has(.live-floor-map) .map-toolbar{min-height:62px;margin-bottom:6px}.map-toolbar-actions .text-btn{font-size:14px;padding:4px}
 .table-snapshot{gap:7px;padding:4px 7px}.snapshot-guests{font-size:14px}.snapshot-clock{min-width:104px}.snapshot-presence{gap:4px}
 .operations-workspace:has(.live-floor-map) .dispatch-panel.customer-mode .roster-tabs{grid-row:1 / -1;align-self:start}
}
@media(orientation:portrait) and (min-width:700px) and (max-width:1024px){.operations-workspace:has(.live-floor-map) .map-toolbar{flex-wrap:wrap}.table-snapshot{width:100%;justify-content:space-between}.map-toolbar-actions{margin-left:0}.operations-workspace:has(.live-floor-map) .dispatch-panel.customer-mode .roster-tabs{grid-row:1}}
@media(max-width:699px){.table-snapshot{flex-wrap:wrap}.snapshot-table{font-size:20px}.snapshot-clock{min-width:96px}}
.room-scene .live-seat-row .live-guest>.person-name{flex-direction:row!important}
.room-banquette .live-seat-row.is-main .live-guest>.person-name{margin-left:12px}
.live-aisle.roster-docked{visibility:visible!important;display:block;letter-spacing:normal;padding:12px 0;z-index:4}
.live-aisle.roster-docked>span,.live-aisle.roster-docked>small{display:none}
.operations-workspace:has(.live-floor-map) .dispatch-panel.roster-inside{position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0;transform:none;padding:8px;grid-template-rows:44px minmax(0,1fr);gap:6px 10px;box-sizing:border-box}
.operations-workspace:has(.live-floor-map) .dispatch-panel.roster-inside .dispatch-list{padding:0 3px}

/* v20: five-character names and more casts visible without scrolling. */
.operations-workspace:has(.live-floor-map) .dispatch-panel .cast-tile{width:136px;min-width:136px;flex:0 0 136px;height:52px;min-height:52px}
.operations-workspace:has(.live-floor-map) .dispatch-panel .cast-pick{padding:3px 4px!important;min-height:50px;grid-template-columns:minmax(0,1fr)!important}
.operations-workspace:has(.live-floor-map) .cast-pick strong{font-size:16px!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operations-workspace:has(.live-floor-map) .cast-score{font-size:15px}.operations-workspace:has(.live-floor-map) .cast-score small{font-size:12px}
.cast-grip .cast-visual{width:32px;height:34px}
.operations-workspace:has(.live-floor-map) .dispatch-panel.roster-inside .dispatch-list{grid-column:1/-1;grid-row:2;gap:6px}
.operations-workspace:has(.live-floor-map) .dispatch-panel.roster-inside .dispatch-heading{display:none}

.recommendation-rank.score-warning{background:#fff0df;color:#8b3e0c;border:1px solid #b86f32;font-weight:700}

/* v21: reception starts with guest number + free/nomination; color sits beside its swatches. */
#modal.quick-intake-modal .quick-intake-rows{grid-template-rows:repeat(4,116px);gap:8px}
#modal.quick-intake-modal .quick-intake-rows.is-editing{grid-template-rows:116px}
#modal.quick-intake-modal .quick-person{grid-template-columns:56px 192px 138px minmax(120px,1fr) minmax(120px,1fr) 44px;grid-template-rows:52px 44px;gap:4px 8px;padding:7px 8px;border:1px solid #d4dfd7;border-left:4px solid #316d59;background:#fff}
#modal.quick-intake-modal .quick-person-number{grid-column:1;grid-row:1;font-size:26px;font-weight:800;color:#223e33;text-align:left;white-space:nowrap}
#modal.quick-intake-modal .quick-type{grid-column:2;grid-row:1;gap:6px;height:52px}
#modal.quick-intake-modal .quick-type button{min-height:52px;height:52px;font-size:22px;font-weight:800;border:2px solid #9eafa5;background:#fff;color:#354a40;border-radius:9px}
#modal.quick-intake-modal .quick-type button.selected{background:#2e6b57;color:#fff;border-color:#2e6b57;box-shadow:0 2px 4px #20483320}
#modal.quick-intake-modal .quick-cast{grid-column:3;grid-row:1;height:48px;min-height:48px;border:2px solid #3e755f;color:#234d3c;background:#f0f7f1;font-weight:650}
#modal.quick-intake-modal .quick-cast:disabled{visibility:hidden}
#modal.quick-intake-modal .quick-colors{grid-column:2/4;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
#modal.quick-intake-modal .quick-color{height:44px;min-height:44px;font-size:15px;padding:3px 5px;justify-content:center}
#modal.quick-intake-modal .quick-feature{grid-column:4;grid-row:2;height:44px;min-height:44px;border:1px solid #91aca1;background:#f5faf6;color:#253f32;font-size:16px;font-weight:600}
#modal.quick-intake-modal .quick-customer{grid-column:4;grid-row:1}
#modal.quick-intake-modal .quick-label{grid-column:5;grid-row:1}
#modal.quick-intake-modal .quick-note{grid-column:5;grid-row:2}
#modal.quick-intake-modal .quick-person .quick-customer,#modal.quick-intake-modal .quick-person .quick-label,#modal.quick-intake-modal .quick-person .quick-note{height:44px;min-height:44px;font-size:16px;font-weight:400;border:1px solid #e0e4e0;background:#f6f7f5;color:#536158;box-shadow:none}
#modal.quick-intake-modal .quick-person input::placeholder{color:#7c867f;font-weight:400}
#modal.quick-intake-modal .quick-remove{grid-column:6;grid-row:1;height:44px;min-height:44px;border-color:transparent;background:transparent;color:#8b918d;font-size:22px}
#modal.quick-intake-modal .intake-context{min-height:40px;min-width:0}
@media(max-width:899px){#modal.quick-intake-modal .quick-person{grid-template-columns:48px 168px 112px minmax(95px,1fr) minmax(95px,1fr) 40px;column-gap:6px}#modal.quick-intake-modal .quick-person-number{font-size:24px}#modal.quick-intake-modal .quick-type button{font-size:21px}#modal.quick-intake-modal .quick-intake-rows{min-width:0}}
@media(max-width:699px){#modal.quick-intake-modal .quick-intake-rows{grid-template-rows:repeat(4,auto)}#modal.quick-intake-modal .quick-person{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr) 36px;grid-template-rows:52px 44px 44px 44px 44px;height:auto}#modal.quick-intake-modal .quick-type{grid-column:2/4}#modal.quick-intake-modal .quick-remove{grid-column:4}#modal.quick-intake-modal .quick-cast{grid-column:1/5;grid-row:2}#modal.quick-intake-modal .quick-colors{grid-column:1/5;grid-row:3}#modal.quick-intake-modal .quick-feature{grid-column:1/3;grid-row:4}#modal.quick-intake-modal .quick-note{grid-column:3/5;grid-row:4}#modal.quick-intake-modal .quick-customer{grid-column:1/3;grid-row:5}#modal.quick-intake-modal .quick-label{grid-column:3/5;grid-row:5}}

/* v22: one central console for arrival, customers, cast search and floor totals. */
.operations-workspace:has(.live-floor-map) .central-console{display:flex!important;flex-direction:column;gap:7px!important;padding:9px!important;background:#fffdf9;border:1px solid #cdd7cf;box-shadow:0 3px 10px #243a3014;min-width:0}
.central-console .console-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:42px}
.operations-workspace:has(.live-floor-map) .central-console .floor-summary{display:flex;align-items:center;gap:18px;margin:0;min-width:0}
.operations-workspace:has(.live-floor-map) .central-console .floor-count{min-width:0;display:flex;align-items:center;gap:7px}
.operations-workspace:has(.live-floor-map) .central-console .floor-count>span{max-width:none;font-size:14px;white-space:nowrap}
.operations-workspace:has(.live-floor-map) .central-console .floor-count strong{font-size:30px;white-space:nowrap;line-height:1}
.operations-workspace:has(.live-floor-map) .central-console .floor-count strong small{font-size:13px;margin-left:2px}
.central-console .cast-count{color:#583b73}.central-console .guest-count{color:#295a52}
.central-console .pending-count{display:none}
.operations-workspace:has(.live-floor-map) .central-console .serving-count{display:flex!important;align-items:baseline;white-space:nowrap;font-size:14px;gap:4px;color:#55615a}
.central-console .serving-count b{font-size:24px;color:#384c40}
.console-actions{display:flex;gap:6px;flex:none}.console-actions .btn{min-height:44px;font-size:15px;padding:4px 10px;white-space:nowrap;background:#f5f3ed;border-color:#d9d8cf;color:#4e584f}
.console-controls{display:flex;align-items:center;gap:10px;min-width:0;flex:none;height:48px}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs{display:flex;flex:none;gap:6px;max-width:none;width:auto;margin:0}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs button{min-height:48px;font-size:18px;min-width:86px;flex:none;padding:5px 12px;white-space:nowrap}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs .console-arrival{background:#2e6b57;border-color:#2e6b57;color:#fff;min-width:98px;font-size:23px;font-weight:800}
.operations-workspace:has(.live-floor-map) .central-console .cast-search{margin:0;min-width:0;max-width:none;flex:1}
.central-console .cast-search-box{height:46px!important;min-height:44px!important;background:#faf8fc}
.central-console .cast-search input{min-width:0;width:100%;font-size:16px!important;height:44px!important;min-height:44px!important}
.central-console .cast-search-count{display:none}.central-console .console-clear{font-size:15px;min-width:44px;min-height:44px;padding:0;white-space:nowrap}
.console-roster{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.operations-workspace:has(.live-floor-map) .central-console .console-roster .dispatch-list{display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;overflow-y:hidden;min-height:0;gap:6px;padding:0 0 2px;flex:1}
.central-console .cast-search-empty,.central-console .dispatch-empty{font-size:15px;margin:0;padding:12px 4px}.central-console .roster-idle{margin:0;padding:14px 3px;font-size:15px;color:#8b948c}
.operations-workspace:has(.live-floor-map) .central-console .reception-panel{min-height:0;flex:1}
.operations-workspace:has(.live-floor-map) .central-console .reception-hint{display:none}
.operations-workspace:has(.live-floor-map) .central-console .reception-roster{flex-direction:row;overflow:auto;padding:0;gap:8px}
.operations-workspace:has(.live-floor-map) .central-console .reception-card{display:flex;align-items:stretch;min-width:max-content;width:max-content;flex-shrink:0;gap:6px;padding:4px;margin:0}
.operations-workspace:has(.live-floor-map) .central-console .reception-people{flex-direction:row;flex-shrink:0;gap:6px}
.operations-workspace:has(.live-floor-map) .central-console .reception-group-heading{display:flex;flex-direction:column;gap:2px;justify-content:center;min-width:82px;max-width:100px;margin:0}
.central-console .reception-group-heading strong{font-size:14px;white-space:nowrap}.central-console .reception-group-heading small{font-size:12px}
.operations-workspace:has(.live-floor-map) .central-console .group-grip{min-height:44px;font-size:13px;padding:2px}
.operations-workspace:has(.live-floor-map) .central-console .reception-person-tile{width:228px;min-width:228px;height:62px;align-self:stretch}
.operations-workspace:has(.live-floor-map) .central-console .customer-drag{min-height:58px}.central-console .customer-drag strong{font-size:16px!important}
.operations-workspace:has(.live-floor-map) .central-console .reception-cancel{min-width:44px;width:44px;min-height:44px;font-size:12px;padding:2px;align-self:center;white-space:normal}
.floor-secondary-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.live-floor-legend .floor-secondary-actions .text-btn{display:block;min-height:44px;font-size:14px;white-space:nowrap}
@media(min-width:700px) and (orientation:landscape){
 .operations-workspace:has(.live-floor-map) .operations-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
 .operations-workspace:has(.live-floor-map) .operations-main{grid-area:1/1;min-height:0}
 .live-floor-map{grid-template-rows:minmax(0,1fr) 234px minmax(0,1fr);max-height:none}
 .live-aisle.roster-docked{padding:10px 0}
 .operations-workspace:has(.live-floor-map) .dispatch-panel.central-console.roster-inside{height:100%!important;width:100%!important;max-height:none!important;position:static!important;transform:none!important}
}
@media(min-width:700px) and (max-width:1100px){
 .operations-workspace:has(.live-floor-map) .central-console .floor-summary{gap:10px}
 .operations-workspace:has(.live-floor-map) .central-console .floor-count{gap:4px}
 .operations-workspace:has(.live-floor-map) .central-console .floor-count>span{font-size:13px}
 .operations-workspace:has(.live-floor-map) .central-console .floor-count strong{font-size:28px}
 .operations-workspace:has(.live-floor-map) .central-console .serving-count{font-size:13px;gap:3px}
 .central-console .console-summary{gap:6px}.console-actions .btn{padding:4px 7px;font-size:14px}
 .operations-workspace:has(.live-floor-map) .central-console .roster-tabs button{min-width:76px;padding:4px 8px;font-size:17px}
 .operations-workspace:has(.live-floor-map) .central-console .roster-tabs .console-arrival{min-width:88px;font-size:22px}
 .console-controls{gap:8px}
}
@media(orientation:portrait) and (min-width:700px){
 .operations-workspace:has(.live-floor-map) .central-console{position:static!important;width:100%!important;height:204px!important;min-height:204px!important;max-height:none!important}
}
@media(max-width:699px){
 .operations-workspace:has(.live-floor-map) .central-console{position:static!important;width:100%!important;height:auto!important;transform:none!important;min-height:230px}
 .console-summary{flex-wrap:wrap}.console-controls{height:auto;flex-wrap:wrap}.console-controls .cast-search{flex-basis:100%!important}
 .operations-workspace:has(.live-floor-map) .central-console .floor-summary{gap:9px}.operations-workspace:has(.live-floor-map) .central-console .floor-count strong{font-size:24px}.operations-workspace:has(.live-floor-map) .central-console .floor-count>span{font-size:12px}
}
/* Names stay above their own status/timer instead of running into the next guest. */
.room-scene .live-seat-row .live-cast>.cast-caption{flex-direction:column!important;gap:0!important;left:50%;line-height:1.1;transform:translate(-50%,12px)}
.room-scene .live-seat-row .cast-caption b{line-height:1.15}
.room-scene .live-seat-row .cast-caption .pending-label,.room-scene .live-seat-row .cast-caption .unassigned-label{font-size:12px!important;line-height:1.15}
.room-detail .live-seat-row .live-cast>.cast-caption{transform:translate(-50%,20px)}
@media(min-width:700px) and (max-width:1100px) and (orientation:landscape){.room-banquette:not(.room-detail) .live-table-core{transform:translateY(20px)}}

/* v23: customer totals first, and the cast's onward route beside her current seat. */
.guest-score-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 22px;margin:0 0 18px;background:#f1eaf7;border:1px solid #d5c4e1;border-radius:12px;color:#563770}
.guest-score-summary>div{display:flex;align-items:center;gap:18px}.guest-score-summary strong{font-size:52px;line-height:1;font-variant-numeric:tabular-nums}.guest-score-summary strong small{font-size:21px;margin-left:5px}.guest-score-summary>div>span{font-size:17px}.guest-score-summary>div:last-child{flex-direction:column;gap:4px;align-items:flex-end}.guest-score-summary>div>b{font-size:21px}
.candidate-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 10px}.candidate-controls strong{font-size:20px;color:#4a325f}.candidate-controls .btn{min-height:44px;font-size:16px}
.replace-current .cast-route-primary{margin-left:auto;font-size:18px;min-height:50px;padding:10px 16px;white-space:nowrap}.cast-route-preview{font-size:17px;line-height:1.5;background:#f6f0dc;border-left:4px solid #b48d3c;padding:10px 14px;border-radius:6px;color:#664f23}
.cast-route-current{display:flex;align-items:center;gap:15px;background:#f1eaf7;padding:12px 16px;border-radius:12px}.cast-route-current .cast-visual{width:48px;height:48px}.cast-route-current strong{font-size:26px}.cast-route-current>span:last-child{margin-left:auto;font-size:18px}
.cast-route-list{list-style:none;padding:0;margin:14px 0 20px;display:flex;flex-direction:column;gap:8px}.cast-route-list li{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #ddd7ce;border-radius:9px;min-height:62px}.cast-route-list li>b{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:50%;background:#765b8f;color:#fff;font-size:20px}.cast-route-list li>div{flex:1;display:flex;flex-direction:column;gap:3px}.cast-route-list strong{font-size:19px}.cast-route-list span{font-size:15px;color:#6b6f6b}.cast-route-list .btn,.cast-route-list .text-btn{min-height:44px;font-size:16px}.cast-route-list .route-empty{color:#8a8f89;font-size:16px;border-style:dashed}
.route-hint{font-size:16px;line-height:1.6;margin:8px 0 14px}.route-table-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.route-table-map button{min-height:74px}.route-table-map button:disabled{opacity:.35}.route-table-map strong{font-size:23px}
@media(max-width:699px){.replace-current{flex-wrap:wrap}.replace-current .cast-route-primary{width:100%;margin:6px 0 0}.guest-score-summary{padding:12px;gap:10px}.guest-score-summary>div{gap:8px}.guest-score-summary strong{font-size:42px}.cast-route-current{flex-wrap:wrap}.cast-route-current>span:last-child{margin-left:0}}

/* Match the floor's upper sofa row, lower tables and right-side VIP. */
.reception-mini-map.route-table-map{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(90px,1fr);grid-template-rows:repeat(2,minmax(74px,auto))}
.route-table-map [data-table]{margin-left:0;min-width:0;padding:10px 5px}
.route-table-map [data-table=T05]{grid-column:1;grid-row:1}.route-table-map [data-table=T06]{grid-column:2;grid-row:1}.route-table-map [data-table=T07]{grid-column:3;grid-row:1}.route-table-map [data-table=T08]{grid-column:4;grid-row:1}
.route-table-map [data-table=T04]{grid-column:1;grid-row:2}.route-table-map [data-table=T03]{grid-column:2;grid-row:2}.route-table-map [data-table=T02]{grid-column:3;grid-row:2}.route-table-map [data-table=T01]{grid-column:4;grid-row:2}.route-table-map [data-table=VIP]{grid-column:5;grid-row:1 / 3;align-content:center;background:#f5f0e3}
@media(max-width:699px){.reception-mini-map.route-table-map{grid-template-columns:repeat(4,minmax(0,1fr))}.route-table-map [data-table=VIP]{grid-column:1 / 5;grid-row:3}.route-table-map strong{font-size:20px}.route-table-map span{font-size:12px}}

/* Each guest's future rotations stay next to the actual service history. */
.service-history.round-booked{background:#f5f0e3;border-color:#d0bb80}.round-booking-actions{display:flex;gap:6px;margin-top:8px;align-items:center}.round-booking-actions .btn{min-height:44px;font-size:17px;flex:1;background:#f1eaf7;border-color:#b8a4ca;color:#543b69}.round-booking-actions .text-btn{min-height:44px;padding:5px;font-size:15px}.service-history>span{line-height:1.5}.candidate-controls{margin-bottom:12px}

.service-history.bookable{opacity:1}.service-history.bookable small,.service-history.bookable>span{font-size:14px;color:#67566f}

/* Ten guests fit inside the console. The whole card is a touch drag target. */
.waiting-roster{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;min-height:92px;flex:1;position:relative}
.waiting-roster.has-pages{grid-template-columns:minmax(0,1fr) 44px}
.waiting-page-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,44px);gap:4px;min-width:0}
.waiting-guest{display:flex;align-items:center;gap:5px;min-width:0;min-height:44px;height:44px;padding:3px 5px;border:1px solid #cbd7cd;border-radius:8px;background:#f0f5ef;color:#254e40;text-align:left;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.waiting-guest:active{cursor:grabbing;background:#dcebdc}.waiting-guest:focus-visible{outline:3px solid #46775e;outline-offset:-3px}
.waiting-person-icon{display:flex;flex:none;align-items:center;justify-content:center;width:21px;color:var(--clothing-color);filter:drop-shadow(0 0 .7px #526256)}
.waiting-person-icon .person-symbol.guest{width:21px;height:33px;color:var(--clothing-color)}
.waiting-person-caption{display:flex;flex-direction:column;min-width:0;gap:1px}
.waiting-person-caption strong{font-size:16px;line-height:18px;white-space:nowrap;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:3px}
.waiting-person-caption small{font-size:14px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.waiting-person-caption i{font-size:10px;line-height:14px;font-style:normal;background:#ead8b2;color:#634915;border-radius:3px;padding:0 2px}
.waiting-pagination{display:flex;flex-direction:column;gap:4px}.waiting-pagination .btn{width:44px;height:44px;min-height:44px;padding:0;font-size:28px;line-height:1;background:#f2f0e9;border-color:#d3d6cd;color:#415d4a}.waiting-pagination .btn:disabled{opacity:.25}
.waiting-roster>.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.waiting-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.waiting-detail-actions button{min-height:44px;font-size:16px}.waiting-detail-actions .text-btn{margin-left:auto}
@media(orientation:portrait) and (min-width:700px){.operations-workspace:has(.live-floor-map) .central-console{height:224px!important;min-height:224px!important}}
@media(min-width:700px) and (orientation:landscape){.live-floor-map{grid-template-rows:minmax(0,1fr) 240px minmax(0,1fr)}}
@media(max-width:699px){.waiting-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,44px)}.waiting-roster{min-height:236px}.waiting-pagination{justify-content:space-between}}

/* Leave the current assignment directly, without scrolling through candidates. */
.replace-current .cast-leave{flex:none;min-width:80px;min-height:50px;font-size:19px;font-weight:750;padding:10px 16px;background:#f6e9e5;border:1px solid #b9786b;color:#803f37;white-space:nowrap}
@media (hover:hover){.replace-current .cast-leave:hover{background:#efd7d0}}.replace-current .cast-leave:focus-visible{outline:3px solid #a45c50;outline-offset:2px}
@media(max-width:699px){.replace-current .cast-leave{flex:1}.replace-current .cast-route-primary:has(+.cast-leave){flex:1;width:auto;min-width:180px}}

/* An occupied guest seat without actual service for five minutes is urgent.
   Keep the table's extension border/clock and other guests' cast timers intact. */
.unattended-table-alert{display:block;flex:none;align-self:center;width:54px;text-align:center;padding:3px 4px;border-radius:5px;border:2px solid #8d290a;background:#c54013;color:#fff;font-size:13px;font-weight:850;line-height:15px;white-space:pre-line;box-shadow:0 0 0 2px #fff2c9;animation:unattended-pulse 1.2s ease-in-out infinite}
.live-table-core:has(.unattended-table-alert:not([hidden])){overflow:visible!important;gap:2px!important;justify-content:flex-start!important}
.live-table-core:has(.unattended-table-alert:not([hidden]))>*{flex:none}
.live-table-core:has(.unattended-table-alert:not([hidden])) .table-number-plate{margin:0!important;border:2px solid #a23812;background:#ffdfb4;color:#6d240a}
.live-table-core:has(.unattended-table-alert:not([hidden])) .core-counts{display:flex;gap:5px;align-items:center;justify-content:center}
.live-table-core:has(.unattended-table-alert:not([hidden])) .room-headcount,.live-table-core:has(.unattended-table-alert:not([hidden])) .live-score{position:static!important;margin:0!important}
.live-table-core:has(.unattended-table-alert:not([hidden])) .live-stay{margin:0!important}
.room-scene .live-seat-row.unattended-urgent .live-cast.waiting>.cast-caption>b,.room-scene .live-seat-row.unattended-urgent .live-cast.changeover>.cast-caption>b{display:none}

.room-scene .live-seat-row.unattended-urgent::before{content:'';position:absolute;inset:-5px;z-index:-1;pointer-events:none;border:3px solid #c54013;border-radius:9px;background:#ffbe5733;box-shadow:0 0 0 3px #ffe499;animation:unattended-seat-pulse 1.2s ease-in-out infinite}
.room-scene .live-seat-row.unattended-urgent .cast-caption{background:#a12f0c!important;color:#fff!important;box-shadow:0 0 0 2px #ffb43f!important;border-radius:4px;padding:3px 4px!important}
.room-scene .live-seat-row.unattended-urgent .cast-caption>small,.room-scene .live-seat-row.unattended-urgent .cast-caption>.timer,.room-scene .live-seat-row.unattended-urgent .cast-caption>.slot-state{display:none!important}
.room-scene .live-seat-row .unattended-seat-note{font-size:14px;line-height:18px;font-weight:800;white-space:nowrap;color:#fff}
.room-scene .live-seat-row.unattended-urgent .cast-visual{opacity:1!important}
.room-scene .live-seat-row.unattended-urgent .cast-visual>.person-symbol{color:#f58b47!important;stroke:#8d290a!important}
@keyframes unattended-pulse{0%,100%{background:#c54013;box-shadow:0 0 0 3px #fff2c9}50%{background:#8d290a;box-shadow:0 0 0 5px #ffbc53,0 0 16px 5px #ea581c88}}
@keyframes unattended-seat-pulse{0%,100%{background:#ffbe5733;box-shadow:0 0 0 3px #ffe499}50%{background:#ff9a4266;box-shadow:0 0 0 6px #ffae55aa,0 0 18px 6px #f47b3299}}
@media(prefers-reduced-motion:reduce){.unattended-table-alert,.room-scene .live-seat-row.unattended-urgent::before{animation:none!important;box-shadow:0 0 0 4px #ffbc53}}

.live-table-core:has(.unattended-table-alert:not([hidden])) .core-counts b{font-size:14px}

/* v28: frequent operations occupy one iPad screen; long collections use pages. */
.panel-pages{display:flex;align-items:center;justify-content:center;gap:18px;margin:8px 0 0;flex:none}
.panel-pages[hidden]{display:none!important}.panel-pages .btn{width:48px;height:44px;min-height:44px;font-size:27px;line-height:1;padding:0}.panel-pages span{font-size:16px;font-variant-numeric:tabular-nums;color:#766b7b}.panel-pages button:disabled{opacity:.3}
.table-screen-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;min-height:0;height:100%}
.table-screen-floor{display:flex;flex-direction:column;min-height:0;gap:12px}
#modal.table-screen .table-detail-map{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;margin:0;flex:1;padding:20px 14px 28px}
#modal.table-screen .live-table-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;flex:none}
#modal.table-screen .live-table-actions .btn{min-height:44px;padding:5px;font-size:16px;line-height:1.25}
.table-screen-guests{display:flex;flex-direction:column;min-height:0;gap:0}
.table-guest-cards{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-height:0}
.table-guest-summary{border:1px solid #e0d7e7;border-radius:12px;padding:9px 12px;background:#fcfaff;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px}
.table-guest-title{display:flex;align-items:center;gap:10px;min-width:0}
.table-guest-link{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1;border:0;background:transparent;color:#34483e;min-height:44px;text-align:left;padding:0}
.table-guest-link b{font-size:23px;white-space:nowrap}.table-guest-link span{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-guest-points{font-size:29px;color:#684582;white-space:nowrap;min-width:52px;text-align:right}.table-guest-points small{font-size:15px;margin-left:3px}
#modal .table-guest-title .main-toggle{width:44px;min-width:44px;height:44px;font-size:25px;padding:0;color:#c4bec8;background:#f1eff2;border-color:#e0dbe4}
#modal .table-guest-title .main-toggle[aria-pressed=true]{color:#774b00;background:#ffda58;border:2px solid #a86e00;box-shadow:0 0 0 2px #fff0a6}
.table-rounds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.table-round{position:relative;min-height:50px;border:1px solid #ddd4e4;border-radius:7px;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:3px 8px;background:#f5f0f8;color:#75568b;padding:5px}
.table-round small{font-size:13px}.table-round b{font-size:17px}.table-round>span{font-size:12px;line-height:1;color:#706a75}.table-round.recorded{background:#eee6f5;border-color:#c5b0d4}.table-round.booked{background:#fff1cc;border-color:#d6b765}
.history-set-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 0 6px;gap:12px}.history-set-heading h3{font-size:19px;margin:0}.history-set-heading select{min-height:44px;min-width:120px;padding:6px 12px;border:1px solid #cbbbd6;border-radius:8px;background:#fff;font-size:17px}
#modal.guest-screen .guest-score-summary{padding:10px 18px;margin-bottom:12px}
#modal.guest-screen .live-guest-actions{gap:7px;margin-bottom:8px}
#modal.guest-screen .service-set{margin:0 0 12px}#modal.guest-screen .service-set>strong{display:none}
#modal.guest-screen .live-profile-fields{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px;gap:10px}
#modal.guest-screen .service-history{padding:10px;gap:4px}#modal.guest-screen .service-history>span{font-size:15px}
#modal.candidate-screen .replace-options,#modal.candidate-screen .next-cast-options{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
#modal.candidate-screen .replace-option,#modal.candidate-screen .next-cast-option{min-height:112px;padding:8px 10px;gap:2px;border-radius:9px}
#modal.candidate-screen [data-cast-match][hidden]{display:none!important}
#modal.candidate-screen .recommendation-heading{gap:6px}#modal.candidate-screen .recommendation-heading .cast-visual{width:30px;height:30px}
#modal.candidate-screen .recommendation-tags:empty{display:none}#modal.candidate-screen .recommendation-tags{font-size:14px;min-height:0}
#modal.candidate-screen .recommendation-reasons{gap:0;font-size:14px;line-height:1.35}
#modal.candidate-screen .recommendation-time{font-size:13px!important}
#modal.candidate-screen .candidate-controls{margin:6px 0}
#modal.candidate-screen .cast-search{margin:6px 0}
#modal.candidate-screen .replace-current{margin:0 0 8px;padding:8px 12px;gap:12px}
#modal.candidate-screen .replace-explanation{display:none}
#modal.candidate-screen .cast-route-preview{margin:4px 0 8px;padding:6px 12px;font-size:15px}
#modal.candidate-screen .replace-note,#modal.candidate-screen .next-explanation{font-size:15px;line-height:1.4;margin:5px 0}
#modal.candidate-screen .replace-shortcuts{margin-top:6px;gap:6px}
#modal.candidate-screen .next-unavailable{margin-top:4px}
#modal.candidate-screen .next-unavailable summary{min-height:44px;display:flex;align-items:center;gap:3px}
#modal.candidate-screen form:has(.next-unavailable[open]:not([hidden]))>[data-cast-page-group=valid],#modal.candidate-screen form:has(.next-unavailable[open]:not([hidden]))>[data-cast-pager]{display:none!important}
@media(min-width:700px){
 #modal.table-screen,#modal.guest-screen,#modal.candidate-screen,#modal.reseat-screen{width:1100px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 #modal.table-screen{height:min(800px,calc(100dvh - 24px))}
 #modal.table-screen[open]{display:flex;flex-direction:column}
 #modal.table-screen .modal-heading{flex:none}
 #modal.table-screen .modal-body{flex:1;min-height:0;padding:12px 18px 16px}
 #modal.guest-screen .modal-body,#modal.candidate-screen .modal-body{padding:12px 18px}
 #modal.guest-screen .modal-footer,#modal.candidate-screen .modal-footer{padding:10px 18px}
 #modal.reseat-screen .reseat-map{height:min(540px,calc(100dvh - 220px));width:min(450px,80vw);margin:5px auto}
 #modal.reseat-screen .reseat-map:has(.room-joined){width:100%;height:290px}
}
@media(min-width:700px) and (orientation:portrait){
 #modal.table-screen{height:840px}.table-screen-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px}
 .table-guest-summary{padding:7px}.table-guest-title{gap:4px}.table-guest-link{flex-direction:column;gap:2px;justify-content:center}.table-guest-link b{font-size:21px}
 .table-round{flex-direction:column;gap:3px}.table-guest-points{font-size:25px;min-width:45px}
 #modal.table-screen .live-table-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:699px){.table-screen-layout{display:flex;flex-direction:column;height:auto}.table-screen-floor{min-height:500px}.table-guest-cards{grid-template-rows:none}.table-guest-summary{min-height:120px}#modal.candidate-screen .replace-options,#modal.candidate-screen .next-cast-options{grid-template-columns:repeat(2,minmax(0,1fr))}#modal.guest-screen .live-profile-fields{grid-template-columns:1fr}}

.history-set-heading h3{flex:none;white-space:nowrap}.history-set-heading select{width:160px;flex:none}
#modal.candidate-screen .replace-current>div>strong{font-size:23px;line-height:28px}
#modal.candidate-screen .replace-current>div>small{font-size:14px;line-height:20px}
#modal.candidate-screen .replace-current{padding-block:6px}
#modal.candidate-screen .replace-options,#modal.candidate-screen .next-cast-options{margin:0}
#modal.candidate-screen .replace-shortcuts{padding-top:0}

/* v29: customer editing by hold/context menu, and duplicate nearby intake actions. */
[data-edit-customer]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}
#modal.quick-intake-modal .quick-person-heading{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:4px;min-width:0}
#modal.quick-intake-modal .quick-person-number{font-size:24px}
#modal.quick-intake-modal .intake-add-under{min-height:44px!important;height:44px;font-size:13px;font-weight:700;white-space:nowrap;padding:2px;border:1px solid #adc4b8;background:#eff6f1;color:#2b654f}
#modal.quick-intake-modal .modal-footer{justify-content:flex-start;padding:8px 12px;background:#fffdf9}
#modal.quick-intake-modal .intake-save-bottom{min-width:160px;min-height:48px!important;font-size:20px}
#modal.quick-intake-modal .quick-intake-rows{grid-template-rows:repeat(var(--intake-page-size,4),108px);gap:6px}
#modal.quick-intake-modal .quick-person{grid-template-rows:48px 44px;padding:5px 8px;gap:4px 8px}
#modal.quick-intake-modal .quick-type,#modal.quick-intake-modal .quick-type button{height:48px;min-height:48px}
#modal.quick-intake-modal .intake-context{min-height:32px}
#modal.customer-edit-screen{width:900px;max-width:calc(100vw - 24px)}
#modal.customer-edit-screen .modal-body{padding:18px}
.customer-edit-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-edit-clothing{margin:14px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;align-items:end}
.customer-edit-clothing>.field-caption{grid-column:1;font-size:16px;color:#425d50}
.customer-edit-colors{grid-column:1;display:flex;gap:6px}
.customer-edit-clothing>.field{grid-column:2;grid-row:1/3}
.customer-edit-colors button{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;min-width:44px;padding:4px;font-size:16px}
.customer-edit-colors i{width:15px;height:15px;border-radius:50%;border:1px solid #777;flex:none}
.customer-edit-colors button[aria-pressed=true]{border:2px solid #326b54;background:#e8f3ec;color:#234d3a}
#customer-edit-form .field{margin:0}#customer-edit-form input{min-height:48px;font-size:18px}
.waiting-person-caption strong{overflow:hidden;text-overflow:ellipsis;display:block}
@media(min-width:700px) and (max-height:760px){#modal.quick-intake-modal[open]{top:12px;max-height:calc(100dvh - 24px)}}
@media(max-width:699px){.customer-edit-primary{grid-template-columns:1fr}.customer-edit-clothing{grid-template-columns:1fr}.customer-edit-clothing>.field{grid-column:1;grid-row:auto}#modal.quick-intake-modal .quick-intake-rows{grid-template-rows:repeat(4,auto)}#modal.quick-intake-modal .quick-person{grid-template-rows:52px 44px 44px 44px 44px}.customer-edit-primary{gap:8px}}

/* v32: action priority — essential strong orange, frequent sunny orange, choices medium,
   supporting controls pale. Keep alert and person/seat status colors separate. */
:root{--action-essential:#c64c05;--action-essential-hover:#ac3f04;--action-frequent:#f49b2e;--action-frequent-hover:#ed8c1a;--action-frequent-ink:#482000;--action-choice:#dfebe5;--action-choice-ink:#294f40;--action-quiet:#f4f5f3;--action-quiet-ink:#637067}
.btn.primary{background:var(--action-essential);border-color:var(--action-essential);color:#fff}
@media (hover:hover){.btn.primary:hover{background:var(--action-essential-hover);border-color:var(--action-essential-hover)}}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs .console-arrival{background:var(--action-essential);border-color:var(--action-essential);color:#fff;min-width:108px;min-height:54px;font-size:25px;font-weight:850;box-shadow:0 2px 4px #b94b0526}
@media (hover:hover){.operations-workspace:has(.live-floor-map) .central-console .roster-tabs .console-arrival:hover{background:var(--action-essential-hover)}}
.central-console .console-controls{height:54px}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs button:not(.console-arrival){background:var(--action-quiet);border-color:#ccd7d0;color:var(--action-quiet-ink)}
.operations-workspace:has(.live-floor-map) .central-console .roster-tabs button.selected:not(.console-arrival){background:var(--action-choice);border:2px solid #6b8e7c;color:var(--action-choice-ink);font-weight:750}
#modal.quick-intake-modal .quick-person{grid-template-columns:112px 192px 128px minmax(110px,1fr) minmax(110px,1fr) 44px}
#modal.quick-intake-modal .quick-person-heading{height:96px;gap:0;justify-content:space-between;align-self:center}
#modal.quick-intake-modal .quick-person-number{font-size:26px;line-height:30px;text-align:center}
#modal.quick-intake-modal .intake-add-under{height:62px;min-height:62px!important;min-width:100px;width:100%;gap:3px;padding:4px 6px;font-size:22px;font-weight:800;line-height:1;border:2px solid var(--action-frequent);border-radius:10px;background:var(--action-frequent);color:var(--action-frequent-ink);box-shadow:0 2px 4px #bc680f26;touch-action:manipulation}
#modal.quick-intake-modal .intake-add-symbol{font-size:34px;font-weight:800;line-height:1}
#modal.quick-intake-modal .intake-header-actions .intake-add-top{background:var(--action-frequent);border-color:var(--action-frequent);color:var(--action-frequent-ink);font-size:21px;font-weight:800;min-height:54px;width:158px;touch-action:manipulation}
@media (hover:hover){#modal.quick-intake-modal .intake-add-under:hover:not(:disabled),#modal.quick-intake-modal .intake-add-top:hover:not(:disabled){background:var(--action-frequent-hover);border-color:var(--action-frequent-hover)}}
#modal.quick-intake-modal .intake-add-under:active:not(:disabled),#modal.quick-intake-modal .intake-add-top:active:not(:disabled){box-shadow:inset 0 2px 4px #73370444}
#modal.quick-intake-modal .intake-add-under:disabled,#modal.quick-intake-modal .intake-add-top:disabled{background:#f4eee5;border-color:#e6d9c6;color:#978c7c;box-shadow:none;opacity:1;cursor:not-allowed}
#modal.quick-intake-modal .intake-header-actions .intake-save-top,#modal.quick-intake-modal .intake-save-bottom{background:var(--action-essential);border-color:var(--action-essential);color:#fff;font-size:24px;font-weight:850;min-height:54px!important;min-width:174px;box-shadow:0 2px 4px #b94b0526;touch-action:manipulation}
#modal.quick-intake-modal .quick-type button{background:#f8faf8;border-color:#b5c7bc;color:var(--action-choice-ink)}
#modal.quick-intake-modal .quick-type button.selected{background:var(--action-choice);border-color:#567f68;color:var(--action-choice-ink);box-shadow:none}
#modal.quick-intake-modal .quick-remove{background:var(--action-quiet);color:var(--action-quiet-ink)}
#modal.quick-intake-modal .quick-person .quick-feature{background:#f6f8f5;border-color:#ccd7ce;font-weight:500}
#modal.quick-intake-modal .intake-paging .btn{background:var(--action-choice);border-color:#b5c7bc;color:var(--action-choice-ink);font-weight:650}
@media(min-width:700px) and (max-width:1100px){
 #modal.quick-intake-modal .quick-person{grid-template-columns:104px 170px 112px minmax(95px,1fr) minmax(95px,1fr) 44px;column-gap:6px}
}
@media(min-width:700px) and (max-width:899px){
 #modal.quick-intake-modal .quick-person{grid-template-columns:100px 142px 100px minmax(80px,1fr) minmax(80px,1fr) 44px;column-gap:5px}
 #modal.quick-intake-modal .quick-type button{font-size:20px}
}
@media(max-width:699px){
 #modal.quick-intake-modal .quick-person{grid-template-columns:104px minmax(0,1fr) minmax(0,1fr) 44px}
 #modal.quick-intake-modal .quick-person-heading{grid-row:1/3}
 #modal.quick-intake-modal .quick-cast{grid-column:2/5}
 #modal.quick-intake-modal .intake-header-actions .intake-add-top{min-width:116px;width:auto;font-size:18px;padding:6px}
 #modal.quick-intake-modal .intake-header-actions .intake-save-top{min-width:130px;width:auto;font-size:20px;padding:6px}
}

/* v33: attendance is the current state; buttons describe the next action. */
.cast-card .attendance-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0 0;padding:10px 12px;border-radius:9px;background:#e7f3e8;color:#265534;font-size:17px;line-height:1.4}
.cast-card .attendance-status strong{font-size:21px;font-weight:800}
.cast-card .attendance-status[data-state="off"]{background:#f1f2ef;color:#748074}
.cast-card .attendance-status[data-state="break"]{background:#fff1d8;color:#805219}
.cast-card .attendance-status[data-state="serving"]{background:#e3f1f5;color:#245568}
.cast-card .attendance-status[data-state="reserved"],.cast-card .attendance-status[data-state="nomination-reserved"],.cast-card .attendance-status[data-state="next-reserved"],.cast-card .attendance-status[data-state="transition"]{background:#edf0f7;color:#465879}
.cast-card .cast-card-actions{flex-wrap:wrap;gap:8px}
.cast-card .cast-card-actions .btn{min-height:48px;font-size:18px;font-weight:700}
.cast-card .checked-in-time{color:#59675b}

/* v34: one add action outside the first visible guest card, fixed while adding. */
#modal.quick-intake-modal .quick-intake-rows{gap:6px}
#modal.quick-intake-modal .intake-add-row{display:flex;align-items:center;padding-left:0}
#modal.quick-intake-modal .intake-add-row[hidden]{display:none!important}
#modal.quick-intake-modal .intake-add-row .intake-add-under{width:178px;height:60px;min-height:60px!important;font-size:24px;gap:9px}
#modal.quick-intake-modal .quick-person{grid-template-columns:60px 192px 128px minmax(110px,1fr) minmax(110px,1fr) 44px}
#modal.quick-intake-modal .quick-person-heading{grid-row:1;height:auto;align-self:center}
#modal.quick-intake-modal .quick-colors{grid-template-columns:max-content repeat(5,minmax(44px,1fr));gap:4px;align-items:center}
#modal.quick-intake-modal .quick-colors-label{font-size:16px;font-weight:650;white-space:nowrap}
#modal.quick-intake-modal .quick-color i{width:23px;height:23px;border-radius:4px;border:1px solid #758078;box-shadow:none}
#modal.quick-intake-modal .quick-color[aria-pressed=true]{outline:2px solid #3a6b55;outline-offset:-2px;background:#e8f3ec}
.customer-edit-colors i{width:24px;height:24px;border-radius:4px}
@media(min-width:700px){#modal.quick-intake-modal[open]{top:12px;max-height:calc(100dvh - 24px)}}
@media(min-width:700px) and (max-width:1100px){#modal.quick-intake-modal .quick-person{grid-template-columns:54px 180px 122px minmax(95px,1fr) minmax(95px,1fr) 44px}}
@media(min-width:700px) and (max-width:899px){#modal.quick-intake-modal .quick-person{grid-template-columns:48px 142px 100px minmax(80px,1fr) minmax(80px,1fr) 44px}#modal.quick-intake-modal .quick-colors{grid-column:1/4}}
@media(max-width:699px){#modal.quick-intake-modal .quick-intake-rows{display:flex;flex-direction:column}#modal.quick-intake-modal .quick-person{grid-template-columns:52px minmax(0,1fr) minmax(0,1fr) 44px}#modal.quick-intake-modal .quick-colors{grid-column:1/5}#modal.quick-intake-modal .quick-cast{grid-column:1/5}}

.ledger-visit{padding:16px;border:1px solid #dbe2dc;border-radius:10px;margin-bottom:12px;background:#fff}.ledger-visit>strong{display:block;font-size:21px}.ledger-visit>span{font-size:17px;color:#596c60}.ledger-visit p{font-size:17px;line-height:1.5}.ledger-sync-status{background:#f5f7f2;padding:16px;border-radius:12px}.ledger-sync-status strong{font-size:20px}.ledger-sync-status p{font-size:17px}#ledger-connect-form{margin:18px 0}
#modal.quick-intake-modal .modal-body{padding-bottom:6px}

/* v35: pending assignments have a visible, single-step seating action. */
#modal .seat-action{background:#c64c05!important;border:2px solid #a53b02!important;color:#fff!important;font-size:20px!important;font-weight:800;min-height:48px;padding:8px 15px;white-space:nowrap}
@media (hover:hover){#modal .seat-action:hover{background:#a83c02!important}}#modal .seat-action:focus-visible{outline:3px solid #ee982e;outline-offset:3px}
#modal .table-seat-all{grid-column:1/-1;min-height:52px}
#modal .table-guest-seat{font-size:18px!important;min-height:44px;padding:6px 11px;flex:none}
#modal .service-history.round-pending{opacity:1;background:#fff2db;border:2px solid #df7f20;color:#633300}
#modal .service-history.round-pending>b{font-size:26px;color:#502d0d}#modal .service-history.round-pending>small{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#714210;font-size:16px}
#modal .pending-state{font-style:normal;font-size:16px;font-weight:800;color:#fff;background:#a85106;border-radius:5px;padding:4px 8px;white-space:nowrap}
#modal .round-pending .round-booking-actions{margin-top:4px}#modal .round-pending .round-booking-actions .btn:not(.seat-action){background:#fff;border:1px solid #c99a65;color:#68401c}
#modal .table-round.pending{background:#ffe1a6;border:2px solid #c7781c;color:#563208}#modal .table-round.pending>span{color:#814500;font-weight:800;font-size:13px}
#modal.candidate-screen .replace-current.pending-current{background:#fff0d5;border:2px solid #d9872a;border-radius:10px;padding:8px 12px}
#modal.candidate-screen .pending-current>div>small{font-size:18px;font-weight:800;color:#9b4a00}#modal .pending-current>.seat-action{margin-left:auto;min-height:54px}
.room-scene .live-seat-row .live-cast.reserved>.cast-caption{background:#ffe09b;box-shadow:0 0 0 3px #bb6b09}
.room-scene .live-seat-row .live-cast.reserved .pending-label{font-size:14px!important;font-weight:900!important;background:#a65100;border-radius:3px;padding:2px 4px;color:white!important}

/* v36: captions belong to the seat, aligned with the length of each sofa. */
.live-booth>.room-scene{height:100%}
.room-scene .live-seat-row{align-items:stretch;gap:3px}
.room-scene .live-seat-row.flow-vertical{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(22px,.3fr) minmax(0,.7fr)}
.room-scene .live-seat-row.flow-horizontal{grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);grid-template-rows:minmax(0,1fr)}
.room-scene .live-seat-row>button:not(.position-pick){min-height:0;min-width:0;padding:3px!important;border-radius:6px;background:#ffffffc9;overflow:hidden;justify-content:center;display:flex;flex-direction:column;gap:1px}
.room-scene .live-seat-row .live-guest{background:#eaf1f6eb!important;border:1px solid #c1d1d9!important}
.room-scene .live-seat-row .live-guest>.person-name{position:static;transform:none!important;left:auto;top:auto;width:100%;max-width:100%;display:flex;justify-content:center;flex-wrap:wrap;gap:2px;pointer-events:none}
.room-scene .live-seat-row .person-name b{background:none;box-shadow:none;padding:0;font-size:16px;color:#254754}
.room-scene .live-seat-row.flow-vertical .live-guest{flex-direction:row;gap:3px}
.room-scene .live-seat-row .live-guest>.person-symbol{height:22px;width:16px;flex:none}
.room-scene .live-seat-row.flow-vertical .live-guest>.person-name{width:auto}
.room-scene .live-seat-row .live-cast{background:#f5eff9!important;border:1px solid #d0bcdf!important;position:relative;padding-top:2px!important}
.room-scene .live-seat-row .live-cast>.cast-visual{position:absolute;left:4px;top:4px;width:16px;height:19px;display:inline-flex;z-index:2}
.room-scene .live-seat-row .live-cast .cast-visual>.person-symbol{width:15px;height:19px}
.room-scene .live-seat-row .live-cast>.cast-caption{position:static!important;transform:none!important;display:flex!important;flex-direction:column!important;left:auto!important;top:auto!important;width:100%!important;max-width:100%!important;gap:2px!important;box-shadow:none!important;border:0;border-radius:0;padding:0!important;background:transparent!important;overflow:visible;pointer-events:none;text-align:center}
.room-scene .live-seat-row .cast-caption b{display:block!important;width:100%;font-size:15px!important;line-height:18px;white-space:normal!important;overflow-wrap:anywhere;text-indent:16px;color:#51356b!important}
.room-scene .live-seat-row .cast-caption>small,.room-scene .live-seat-row .cast-caption>.timer,.room-scene .live-seat-row .cast-caption>.slot-state{display:block;width:100%;max-width:100%;font-size:12px!important;line-height:15px;white-space:normal!important;overflow:visible;text-align:center;color:#5c4770!important}
.room-scene .live-seat-row .live-cast.reserved{background:#fff0c9!important;border:2px solid #bf761c!important}
.room-scene .live-seat-row .live-cast.reserved .cast-caption b{color:#703900!important}
.room-scene .live-seat-row .live-cast.reserved .pending-label{background:none!important;color:#894800!important;padding:0;font-size:12px!important}
.room-scene .live-seat-row.unattended-urgent .live-cast{background:#973509!important;border-color:#ffd389!important}
.room-scene .live-seat-row.unattended-urgent .live-cast>.cast-caption{background:transparent!important;box-shadow:none!important;padding:0!important}
.room-scene .live-seat-row.unattended-urgent .live-cast .cast-caption b{color:#fff!important}
.room-scene .live-seat-row .unattended-seat-note:not([hidden]){display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 3px;max-width:100%;width:100%;line-height:15px;white-space:normal;font-size:12px;color:#fff}
.room-scene .live-seat-row .unattended-seat-note>strong{font-size:14px;line-height:17px;color:#fff;white-space:nowrap}
.room-scene .live-seat-row .unattended-seat-note>span{white-space:nowrap}
.room-scene .live-seat-row .seated-check{top:2px;right:2px;left:auto;width:12px;height:12px;font-size:9px;line-height:10px}
.room-scene .live-seat-row .live-cast em{top:auto;bottom:0;right:0;font-size:13px}
.room-scene .live-seat-row.vacant{opacity:.2}.room-scene .empty-occupant{height:auto}
.room-scene .live-seat-row.unattended-urgent::before{inset:-2px;border-width:2px}
.room-scene .live-table-core{border-radius:6px!important;transform:none!important;gap:5px!important;padding:5px 2px;justify-content:center!important;overflow:hidden!important}
.room-scene .live-table-core .table-number-plate{margin:0!important;max-width:100%;font-size:19px!important;background:#fffefa;border:1px solid #cfbd99;padding:4px;box-shadow:none}
.room-scene .live-table-core .core-counts{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 6px}
.room-scene .live-table-core .core-counts b{font-size:18px!important}.room-scene .live-table-core .live-stay{margin:0!important;position:static}.room-scene .live-table-core .live-stay b{font-size:17px!important;font-weight:800}
.room-scene .live-table-core .live-stay small{display:none}
.room-scene .live-table-core .unattended-table-alert{font-size:11px;padding:3px;line-height:13px}
.room-scene.empty .live-table-core .table-number-plate{font-size:17px!important;background:#f1eee66e;color:#9a9387;border-color:#c9c1b269}
.room-scene.room-detail .live-seat-row .cast-caption b{font-size:21px!important;line-height:25px;text-indent:25px}
.room-scene.room-detail .live-seat-row .live-cast>.cast-visual{width:25px;height:28px;top:5px;left:5px}.room-scene.room-detail .live-seat-row .live-cast .cast-visual>.person-symbol{width:23px;height:28px}
.room-scene.room-detail .live-seat-row .cast-caption>small,.room-scene.room-detail .live-seat-row .cast-caption>.timer{font-size:17px!important;line-height:22px}
.room-scene.room-detail .live-seat-row .unattended-seat-note{font-size:16px;line-height:22px}.room-scene.room-detail .live-seat-row .unattended-seat-note>strong{font-size:20px;line-height:24px}
.room-scene.room-detail .live-seat-row .person-name b{font-size:21px}.room-scene.room-detail .live-table-core .table-number-plate{font-size:28px!important}.room-scene.room-detail .live-table-core .core-counts b{font-size:24px!important}.room-scene.room-detail .live-table-core .live-stay b{font-size:26px!important}
.table-stay-panel{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:2px 14px;align-items:center;width:100%;text-align:left;padding:12px 16px;border:1px solid #a8c3b5;border-radius:12px;background:#edf5ef;color:#234b3e}
.table-stay-panel>span:first-child{font-size:16px;font-weight:700}.table-stay-panel>strong{font-size:42px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.01em}.table-stay-adjust{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 12px;border:1px solid #a7c2b3;background:#fff;border-radius:8px;font-weight:750;font-size:18px}
.table-stay-panel.stay-due{background:#fff0df;color:#923504;border:2px solid #ce681c}
#modal.table-screen[data-guests="1"] .table-guest-cards{grid-template-rows:minmax(0,1fr);align-content:start;flex:none}
#modal.table-screen[data-guests="2"] .table-guest-cards{grid-template-rows:repeat(2,minmax(0,1fr));flex:none}
#modal.table-screen[data-guests="3"] .table-guest-cards{grid-template-rows:repeat(3,minmax(0,1fr))}
#modal.table-screen[data-guests="1"] .table-guest-summary,#modal.table-screen[data-guests="2"] .table-guest-summary{padding:18px;gap:20px}
#modal.table-screen[data-guests="1"] .table-round,#modal.table-screen[data-guests="2"] .table-round{min-height:110px;flex-direction:column;gap:10px;padding:10px}
#modal.table-screen[data-guests="1"] .table-round b,#modal.table-screen[data-guests="2"] .table-round b{font-size:23px}#modal.table-screen[data-guests="1"] .table-round small,#modal.table-screen[data-guests="1"] .table-round>span{font-size:16px}
#modal.table-screen[data-guests="1"]{height:min(660px,calc(100dvh - 24px))}#modal.table-screen[data-guests="2"]{height:min(730px,calc(100dvh - 24px))}
#modal.table-screen .table-detail-map{padding:12px 6px!important}

/* Keep table controls beside the map when only one or two guests are present. */
#modal.table-screen[data-guests="1"] .table-screen-guests,#modal.table-screen[data-guests="2"] .table-screen-guests{gap:12px}
#modal.table-screen[data-guests="1"] .table-guest-cards,#modal.table-screen[data-guests="2"] .table-guest-cards{flex:1}
#modal.table-screen[data-guests="1"] .table-rounds{flex:1}
#modal.table-screen[data-guests="2"] .table-guest-summary{padding:12px;gap:8px}
#modal.table-screen[data-guests="2"] .table-round{min-height:70px;gap:4px;padding:6px}
.room-scene.room-detail .live-table-core .live-stay{display:none}
.room-scene.room-detail .live-table-core .unattended-table-alert{font-size:15px;line-height:18px;width:auto;white-space:normal;padding:5px 8px}
.timer-step-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}
#modal .timer-step-actions .btn{min-height:58px;font-size:24px;font-weight:750;background:#e9f3ed;color:#245342;border:1px solid #a9c6b5}

.room-scene .live-seat-row .live-cast{padding:2px!important}
.room-scene .live-seat-row .cast-caption b.seat-cast-name{display:flex!important;align-items:center;justify-content:center;gap:2px;text-indent:0;font-size:14px!important;line-height:17px}
.room-scene .seat-cast-name>span:not(.cast-visual){min-width:0;overflow-wrap:anywhere}
.room-scene .seat-cast-name .cast-visual{position:static;display:inline-flex;width:10px;height:15px;flex:none}
.room-scene .seat-cast-name .cast-visual>.person-symbol{width:10px;height:15px}
.room-scene .live-seat-row .cast-caption b.long-name{font-size:11px!important;line-height:13px}
.room-scene.room-detail .live-seat-row .cast-caption b.seat-cast-name{font-size:21px!important;line-height:25px}
.room-scene.room-detail .seat-cast-name .cast-visual,.room-scene.room-detail .seat-cast-name .cast-visual>.person-symbol{width:20px;height:26px}
.room-scene .live-table-core:has(.unattended-table-alert:not([hidden])){overflow:hidden!important;justify-content:center!important;gap:3px!important}
.room-scene:not(.room-detail) .live-table-core:has(.unattended-table-alert:not([hidden])) .core-counts{display:none!important}
.room-scene:not(.room-detail) .live-table-core .table-number-plate{font-size:17px!important;padding:2px}
.room-scene:not(.room-detail) .live-table-core .unattended-table-alert{width:auto;white-space:normal;font-size:11px;line-height:13px;padding:1px 3px;border-width:1px}
.room-scene:not(.room-detail) .live-table-core .live-stay b{font-size:16px!important;line-height:18px}
.room-scene.room-vip .live-seat-row .cast-caption b.seat-cast-name{font-size:14px!important;line-height:16px}
.room-scene.room-vip .live-seat-row .cast-caption b.long-name{font-size:12px!important;line-height:14px}
.room-scene.room-vip .seat-cast-name .cast-visual,.room-scene.room-vip .seat-cast-name .cast-visual>.person-symbol{width:10px;height:14px}
.room-scene.room-vip .live-seat-row .cast-caption>small,.room-scene.room-vip .live-seat-row .cast-caption>.timer{font-size:12px!important;line-height:14px}
.room-scene.room-vip .live-seat-row .person-name b{font-size:15px!important;line-height:18px}
.room-scene.room-vip .live-seat-row .unattended-seat-note{font-size:11px;line-height:12px}.room-scene.room-vip .live-seat-row .unattended-seat-note>strong{font-size:12px;line-height:13px}

.room-scene .live-seat-row.flow-vertical{grid-template-rows:26px minmax(0,1fr)}
.room-scene.room-detail:not(.room-vip) .live-seat-row.flow-vertical{grid-template-rows:44px minmax(0,1fr)}
.room-scene .live-seat-row>button.live-cast:not(.position-pick){padding:1px!important}
.room-scene .live-seat-row .cast-caption b.seat-cast-name{font-size:13px!important;line-height:16px;gap:1px}
.room-scene .live-seat-row .cast-caption b.long-name{flex-direction:column;gap:0;font-size:12px!important;line-height:14px}
.room-scene .live-seat-row .seat-cast-name .cast-visual>.person-symbol{width:10px;height:14px;flex-basis:10px}
.room-scene.room-detail:not(.room-vip) .live-seat-row .cast-caption b.seat-cast-name{font-size:21px!important;line-height:25px;flex-direction:row}
.room-scene.room-detail:not(.room-vip) .seat-cast-name .cast-visual,.room-scene.room-detail:not(.room-vip) .live-seat-row .seat-cast-name .cast-visual>.person-symbol{width:20px;height:26px;flex-basis:20px}
.room-scene.room-vip .live-seat-row.flow-vertical{grid-template-rows:24px minmax(0,1fr);gap:2px}
.room-scene.room-vip .live-seat-row .cast-caption b.seat-cast-name{font-size:14px!important;line-height:16px;flex-direction:row}
.room-scene.room-vip .live-seat-row .cast-caption b.long-name{font-size:12px!important;line-height:14px}
.room-scene.room-vip .live-seat-row .live-guest>.person-symbol{width:14px!important;height:20px!important;flex-basis:14px}
.room-scene.room-vip:not(.room-detail) .live-seat-row.flow-horizontal{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}
.room-scene.room-vip:not(.room-detail) .live-seat-row.seat-bottom .cast-caption b.seat-cast-name{flex-direction:column;gap:0;font-size:13px!important;line-height:15px}
.room-scene.room-vip:not(.room-detail) .live-seat-row.seat-bottom .cast-caption b.long-name{font-size:11px!important;line-height:13px}
.room-scene.room-vip:not(.room-detail) .live-seat-row.seat-bottom .live-guest{padding:0!important}
.room-scene.room-vip:not(.room-detail) .live-seat-row.seat-bottom .person-name b{font-size:14px!important}
.room-scene.room-vip .live-seat-row .cast-caption>.pending-label{font-size:11px!important;line-height:13px}
.room-scene .live-seat-row.is-main .main-customer-mark{position:static;width:22px;height:22px;min-width:22px;line-height:20px;font-size:21px;transform:none;box-shadow:0 0 0 2px #b08008;vertical-align:middle;margin:0}
.room-scene.room-detail .live-seat-row.is-main .main-customer-mark{width:26px;height:26px;min-width:26px;line-height:24px;font-size:25px}

.room-scene:not(.room-detail) .live-seat-row.flow-vertical{grid-template-rows:22px minmax(0,1fr)}
.room-scene:not(.room-detail) .live-seat-row>button.live-cast:not(.position-pick){padding:0!important}
.room-scene:not(.room-detail) .live-seat-row .cast-caption{gap:1px!important}
.room-scene:not(.room-detail) .live-seat-row .cast-caption b.long-name{font-size:11px!important;line-height:12px}
.room-scene:not(.room-detail) .long-name .cast-visual,.room-scene:not(.room-detail) .live-seat-row .long-name .cast-visual>.person-symbol{height:10px}
.room-scene:not(.room-detail) .live-seat-row .cast-caption>.pending-label{font-size:11px!important;line-height:12px}
.room-scene:not(.room-detail) .unattended-seat-note>span{display:none}
.room-scene:not(.room-detail) .live-seat-row .unattended-seat-note>strong{font-size:12px;line-height:14px}
@media(max-height:700px){.room-scene.room-vip.room-detail .live-seat-row .cast-caption b.seat-cast-name{font-size:12px!important;line-height:14px}.room-scene.room-vip.room-detail .unattended-seat-note>span{display:none}.room-scene.room-vip.room-detail .live-seat-row>button.live-cast:not(.position-pick){padding:0!important}.room-scene.room-vip.room-detail .live-seat-row .cast-caption{gap:0!important}}

@media(max-height:700px) and (min-width:700px){
 #modal.table-screen[data-guests="2"] .table-guest-summary{padding:6px;gap:4px}
 #modal.table-screen[data-guests="2"] .table-round{min-height:56px;padding:4px;gap:1px}
 #modal.table-screen[data-guests="2"] .table-round b{font-size:18px;line-height:20px}
 #modal.table-screen[data-guests="2"] .table-round small{font-size:11px;line-height:12px}
 #modal.table-screen[data-guests="2"] .table-round>span{font-size:11px;line-height:12px}
 #modal.table-screen[data-guests="2"] .table-stay-panel{padding:8px 12px}
 #modal.table-screen[data-guests="2"] .table-stay-panel>strong{font-size:36px}
}

@media(max-height:700px){.room-scene.room-vip.room-detail .live-seat-row.flow-vertical{grid-template-rows:22px minmax(0,1fr)}}

/* Wide tabletops have room for two columns, even at a shorter viewport. */
.room-scene.room-banquette:not(.room-detail) .live-table-core{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:24px 20px;gap:1px 4px!important;padding:2px 4px;align-content:center;justify-items:center}
.room-scene.room-banquette:not(.room-detail) .live-table-core .table-number-plate{grid-column:1;grid-row:1;font-size:16px!important}
.room-scene.room-banquette:not(.room-detail) .live-table-core .core-counts,.room-scene.room-banquette:not(.room-detail) .live-table-core .unattended-table-alert{grid-column:2;grid-row:1}
.room-scene.room-banquette:not(.room-detail) .live-table-core .live-stay{grid-column:1/-1;grid-row:2}
.room-scene.room-banquette:not(.room-detail) .live-table-core .core-counts b{font-size:15px!important}
.room-scene:not(.room-detail) .live-seat-row .cast-caption b.seat-cast-name{display:block!important;position:relative;text-indent:11px}
.room-scene:not(.room-detail) .live-seat-row .seat-cast-name>span:not(.cast-visual){display:inline}
.room-scene:not(.room-detail) .live-seat-row .seat-cast-name>.cast-visual{position:absolute;top:0;left:0;display:inline-flex;width:10px;height:13px}
.room-scene .live-seat-row .live-cast.serving{background:var(--cast-shade,#eee6f4)!important}
.room-scene .live-seat-row .live-cast.serving .cast-caption b,.room-scene .live-seat-row .live-cast.serving .cast-caption>.timer{color:var(--cast-ink,#51306b)!important}
@media(max-height:700px) and (min-width:700px) and (orientation:landscape){
 .live-floor-map{grid-template-rows:minmax(0,1fr) 196px minmax(0,1fr)}
 .room-scene:not(.room-detail) .live-seat-row .cast-caption b.seat-cast-name{font-size:11px!important;line-height:12px}
 .room-scene:not(.room-detail) .live-seat-row .unattended-seat-note>strong{font-size:11px;line-height:12px}
}

/* Keep a blocked nomination actionable without hiding the nominated person. */
#modal .nomination-seating-panel{display:flex;align-items:center;gap:16px;padding:12px 16px;margin:0 0 12px;background:#fff0d5;border:2px solid #d9872a;border-radius:10px;color:#633300}
#modal .nomination-seating-panel>div{flex:1;min-width:0}
#modal .nomination-seating-panel small{font-size:16px;font-weight:800}
#modal .nomination-seating-panel strong{display:block;font-size:28px;line-height:1.25}
#modal .nomination-seating-panel p{font-size:17px;line-height:1.45;margin:4px 0 0;overflow-wrap:anywhere}
#modal .nomination-seating-panel>.btn{flex:none;min-height:54px;font-size:20px;white-space:nowrap}
#modal .guest-nomination-summary>.btn{margin-left:12px}
@media(max-width:699px){#modal .nomination-seating-panel{flex-wrap:wrap;gap:10px}#modal .nomination-seating-panel>.btn{width:100%}#modal .guest-nomination-summary>.btn{margin:8px 0 0;display:block}}
