/* Calendar-only layout. Print geometry remains owned by the receipt styles. */
@media screen {
 body{background:#f4f7f4}body>header{padding:8px 18px;gap:12px;min-height:52px;flex-wrap:nowrap}body>.testbar{padding:3px 12px;font-size:10px;line-height:1.3;max-height:none}.brand{font-size:22px;gap:8px}.brand>span{font-size:15px}.brand small{display:none}header>select{font-size:12px;max-width:240px;padding:7px;min-height:34px}header>button{font-size:12px;padding:7px 10px;min-height:34px;margin-left:0}
 #secondaryNav{position:relative;padding:0;border:0;margin-left:auto;background:transparent;z-index:40}#secondaryNav>summary{list-style:none;border:1px solid #c8d7cc;border-radius:7px;padding:8px 12px;font-size:12px;white-space:nowrap}#secondaryNav>summary::-webkit-details-marker{display:none}#secondaryNav[open]{background:white}#secondaryNav nav{position:absolute;right:0;top:36px;width:230px;background:white;border:1px solid #c8d7cc;border-radius:10px;padding:8px;display:grid;box-shadow:0 8px 28px #26473124}#secondaryNav nav button{text-align:left;padding:10px}#secondaryNav #signOut{position:absolute;right:0;top:370px;width:230px;background:white;z-index:1}#secondaryNav:not([open]) #signOut{display:none}#findReceiptButton{white-space:nowrap}
 body>main{padding:10px 18px 0;margin-right:0!important}#notice:empty{display:none}#notice:not(:empty){margin-bottom:8px}.toolbar{margin:0 0 9px;gap:8px;align-items:center}.toolbar h1{font-size:18px;margin:0}.calendar-subtitle{font-size:10px}.toolbar>.actions{gap:6px;align-items:center}.toolbar button,.toolbar input,.toolbar select{min-height:34px;font-size:12px;padding:6px 8px;margin:0}.toolbar #date{width:132px;min-width:0}.working-sort-control{display:flex;align-items:center;gap:6px;font-size:11px;margin:0}.working-sort-control select{width:124px}.toolbar #new{margin:0}
 #calendarOptionsMount{position:relative}#calendarOptions>summary{cursor:pointer;white-space:nowrap;padding:8px;border:1px solid #c8d7cc;border-radius:7px;font-size:11px;list-style:none}.calendar-options-panel{position:absolute;right:0;top:38px;width:min(440px,calc(100vw - 32px));max-height:65dvh;overflow:auto;background:white;border:1px solid #bdcfc2;border-radius:10px;padding:14px;box-shadow:0 8px 28px #26473124;z-index:35;font-size:12px}.calendar-options-panel .density-control{display:flex;gap:8px;align-items:center}.calendar-options-panel .employee-filters{margin:12px 0}.calendar-options-panel .filters{display:flex;flex-wrap:wrap;gap:8px}.calendar-options-panel .queue-guide{margin:10px 0}.calendar-options-panel .queue-guide-bar{display:flex;flex-wrap:wrap;padding:8px;gap:8px}.calendar-options-panel .queue-guide-bar span{font-size:10px}.calendar-options-panel .queue-guide-bar button{margin:0}.calendar-options-panel p{font-size:11px;line-height:1.5}.calendar-options-panel .calendar-help{max-width:none}
 #liveRoomStrip{margin:0 0 8px;padding:0}.room-strip-heading{margin:0 0 4px;gap:12px;align-items:center}.room-strip-heading b{font-size:11px}.room-strip-heading small{font-size:10px}.room-status-lights{display:flex;overflow-x:auto;gap:5px;padding:0 0 4px}.room-status-light{min-height:62px;min-width:112px;flex:1 0 112px;padding:5px 7px;gap:2px;border-radius:7px}.room-status-light b{font-size:12px}.room-status-light .room-state-label,.room-status-light .room-state-staff,.room-status-light small{font-size:10px;line-height:1.2}.room-light-clock:empty{display:none}
 .calendar-workspace,.desk-work-open .calendar-workspace{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:start}.calendar-workspace:has(#deskWork[data-has-cards=true]){grid-template-columns:minmax(0,1fr) 222px}.calendar-operations{min-width:0}.calendar-operations>.calendar-wrap{min-height:280px;max-height:none;height:calc(100dvh - 240px);border-radius:9px}.calendar-operations>details{font-size:10px;padding:5px 0}.calendar,.calendar.staff-many{min-width:calc(54px + var(--staff-count)*150px);grid-template-columns:54px repeat(var(--staff-count),minmax(150px,1fr))!important}.calendar .staff-head,.calendar .time-head{height:170px;padding:6px;box-sizing:border-box;writing-mode:horizontal-tb;background:#fff}.calendar .time-head{font-size:10px;padding-top:14px}.calendar .staff-head{font-size:12px;border-top:3px solid #bdc9bf}.calendar .staff-head[data-live-state=serving]{border-top-color:#d48445;background:#fffaf4}.calendar .staff-head[data-live-state=paused]{border-top-color:#b18b26;background:#fffbed}.calendar .staff-head[data-live-state=cleaning]{border-top-color:#839bac}.calendar .staff-head[data-live-state=review]{border-top-color:#bd6571}.column-live{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;border:0;background:transparent;box-shadow:none;border-radius:4px;padding:0;min-height:85px;font-size:11px;color:#365445}.column-live:hover{background:#edf3ec}.column-name{font-size:14px;line-height:1.3}.column-state{font-weight:600;font-size:10px}.column-live small{font-size:10px;line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-clock{font-variant-numeric:tabular-nums}.column-sort-time{color:#85612c}.column-sort-time:empty{display:none}.staff-head .queue-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px;margin:4px 0 0;padding:4px 0 0;border-top:1px solid #dfe6db}.staff-head .queue-metrics>span{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.staff-head .queue-metrics small{font-size:8px;white-space:nowrap}.staff-head .queue-metrics b{font-size:13px;line-height:1.2}.staff-head .queue-completed i{font-size:8px;margin-left:2px}.staff-head .queue-total{grid-column:1/-1;font-size:8px}.calendar .booking{padding:4px}.calendar .booking .booking-service,.booking-indicators small{font-size:10px}.calendar .booking>strong{font-size:12px}
 .desk-work.desk-work-embedded{display:block;position:relative;top:0;right:auto;width:auto;max-height:var(--rail-height,60dvh);overflow:visible;border:0;padding:0;margin:0;background:transparent;box-shadow:none;order:initial;z-index:20}.guest-rail-tools{display:flex;gap:4px;flex-wrap:wrap;align-items:center;justify-content:flex-end;min-height:36px}.guest-rail-tools button{padding:6px;font-size:12px;min-width:34px;min-height:34px}.guest-rail-tools #deskWorkToggle{flex:1}.desk-work[data-has-cards=false] #quickGuestCard{display:none}#guestCards{overflow-y:auto;max-height:calc(var(--rail-height,60dvh) - 42px);scrollbar-width:thin;overscroll-behavior:contain}#guestCards:empty{display:none}.guest-work-card{margin:5px 0 8px;padding:9px;border-radius:9px;box-shadow:0 2px 8px #26473108;background:#fff;cursor:grab}.guest-work-card strong{font-size:13px}.guest-work-card small{font-size:10px}.guest-work-card .actions button{font-size:10px;min-height:30px;padding:5px;flex:1}.guest-status-label{font-size:10px}.guest-status-label select{font-size:11px;padding:5px}.guest-work-card:active{cursor:grabbing}
 #guestManagement{position:absolute;right:0;top:40px;width:min(340px,calc(100vw - 28px));max-height:calc(100dvh - 260px);overflow-y:auto;background:#f7faf6;border:1px solid #acbfb1;border-radius:10px;padding:12px;box-shadow:0 8px 28px #26473128;z-index:45;cursor:auto}.desk-work-head{position:static;background:transparent;padding:0;font-size:12px}.desk-work-head button{font-size:10px}.guest-help,.desk-reminders{font-size:10px}.guest-filters{grid-template-columns:1fr 1fr}.guest-filters input,.guest-filters select{font-size:12px}.desk-work-tools{display:grid;grid-template-columns:1fr 1fr}.desk-work-tools button{font-size:11px}.desk-work-tools label{font-size:10px}#guestResults{font-size:10px}body>footer{font-size:9px;padding:9px 18px;line-height:1.4}
 @media(max-width:800px){
  body>header{padding:6px 10px;gap:6px;flex-wrap:wrap}.brand{font-size:18px}.brand>span{font-size:13px}header>select{order:0;flex:1;max-width:none;font-size:11px;min-width:130px}#secondaryNav{margin-left:0}#secondaryNav>summary{font-size:10px;padding:8px}#findReceiptButton{font-size:10px;min-height:32px;padding:6px}body>main{padding:8px 8px 0}.toolbar{display:flex;flex-wrap:wrap;margin-bottom:6px}.toolbar>div:first-child{display:none}.toolbar>.actions{width:100%;display:flex;flex-wrap:wrap;gap:4px}.toolbar button,.toolbar input,.toolbar select{min-height:34px;font-size:12px}.toolbar #date{flex:1;width:130px;min-width:120px}.toolbar #new{margin-left:auto;font-size:11px}.working-sort-control{font-size:10px;gap:4px}.working-sort-control select{width:122px}.room-strip-heading{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:4px}.room-strip-heading small{font-size:9px}.room-status-light{flex:0 0 104px;min-width:104px;min-height:62px}.calendar-workspace:has(#deskWork[data-has-cards=true]){grid-template-columns:minmax(0,1fr) 112px}.calendar-workspace{gap:5px}.calendar,.calendar.staff-many{min-width:calc(42px + var(--staff-count)*150px);grid-template-columns:42px repeat(var(--staff-count),minmax(150px,1fr))!important}.calendar .staff-head,.calendar .time-head{height:170px}.calendar .time-head{font-size:9px;padding:8px 3px}.guest-rail-tools{gap:3px}.guest-rail-tools button{font-size:11px;min-height:34px;min-width:30px}.guest-work-card{padding:7px;border-left-width:3px;gap:4px}.guest-work-card strong{font-size:11px}.guest-work-card small{font-size:9px}.guest-work-card .actions{gap:3px}.guest-work-card .actions button{font-size:10px;min-height:34px;width:100%;flex:auto}.guest-work-card .guest-status-label{display:none}.guest-work-card p{font-size:10px}.guest-work-card .draft-card-state{font-size:9px}#guestManagement{max-height:calc(100dvh - 300px)}.guest-filters input,.guest-filters select,#guestWorkForm input,#guestWorkForm select,#guestWorkForm textarea{font-size:16px}.desk-work #guestManagement button{min-height:36px}#calendarOptionsMount{position:static}.calendar-options-panel{right:8px;top:auto;margin-top:5px}.calendar-operations>details{font-size:9px}body>footer{padding:8px;font-size:8px}
 }
}
@media screen {
 #secondaryNav,#calendarOptions{margin-top:0}
 #secondaryNav #signOut{position:static;width:100%;text-align:left}
 .calendar-options-panel details{margin-top:8px}
 .calendar-operations>details{margin-top:0}
 .staff-head .queue-metrics .queue-completed{grid-column:auto;display:flex;align-items:flex-start;justify-content:flex-start;padding:3px 0;border:0}
 .staff-head .queue-metrics .queue-total{margin:0;line-height:11px}
 .room-status-lights .room-status-light{min-height:70px}
 @media(max-width:800px){body>header{flex-wrap:nowrap}.brand>span{display:none}.brand{flex:none}header>select{min-width:110px}.toolbar .working-sort-control select{width:117px}#calendarOptions>summary{padding:8px 6px}.toolbar>.actions #new{margin-left:auto}}
}
@media screen{.column-off-duty{display:block;color:#9c532d;font-size:9px;line-height:1.2;text-align:left;margin-top:2px}.calendar .staff-head:has(.column-off-duty){height:188px}.calendar:has(.column-off-duty) .staff-head,.calendar:has(.column-off-duty) .time-head{height:188px}.queue-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px;border-bottom:1px solid #dce6de;padding:8px 0}.queue-row label{display:flex;align-items:center;gap:8px;grid-column:1}.queue-row small{grid-column:1;font-size:11px}.queue-row button{grid-row:1/3}.queue-not-participating{background:#f4eee4;color:#806343}.queue-row input{width:18px;height:18px;accent-color:#245e50}}
@media screen{.room-light-shell{display:flex;flex-direction:column;flex:1 0 112px;min-width:112px;border:1px solid #c7d6cb;border-radius:8px;background:#fff;overflow:hidden}.room-status-lights .room-status-light{width:100%;flex:1;min-width:0;min-height:66px;border:0;border-radius:0;box-shadow:none}.room-quick-actions{display:flex;border-top:1px solid #dae5dd;gap:0}.room-quick-actions button{flex:1;border:0;border-radius:0;min-height:28px;padding:4px;font-size:10px;background:#f6faf7}.room-quick-actions button:last-child{flex:0 0 28px;border-left:1px solid #dae5dd;font-size:16px;padding:0}.room-shell-serving{border-color:#c78967}.room-shell-paused{border-color:#a78c42}.room-shell-cleaning{border-color:#d6a34e}#roomWorkbenchMaintenance>.panel{padding:12px;margin-top:15px}#roomWorkbenchMaintenance .card{padding:12px}#roomWorkbenchMaintenance details{font-size:11px}.room-quick-actions button:hover{background:#e3efe7}@media(max-width:800px){.room-light-shell{flex:0 0 104px;min-width:104px}.room-quick-actions button{min-height:34px}}}
@media screen{.column-actions{display:flex;gap:3px;margin:3px 0}.column-actions button{flex:1;font-size:9px;padding:3px;min-height:25px;border-radius:4px;background:#f5f8f3}.column-actions button:disabled{opacity:.4;cursor:default}.calendar .staff-head,.calendar .time-head{height:196px}.calendar:has(.column-off-duty) .staff-head,.calendar:has(.column-off-duty) .time-head{height:214px}#workbenchAreaForm label{display:block;margin:8px 0}#workbenchAreaForm input,#workbenchAreaForm select{display:block;width:100%;margin-top:4px}@media(max-width:800px){.column-actions button{min-height:30px;font-size:10px}.calendar .staff-head,.calendar .time-head{height:202px}.calendar:has(.column-off-duty) .staff-head,.calendar:has(.column-off-duty) .time-head{height:220px}}}

/* Follow-up cards float over calendar time slots; no reserved sidebar column. */
@media screen {
 .calendar-workspace,.desk-work-open .calendar-workspace,.calendar-workspace:has(#deskWork[data-has-cards=true]){display:block;position:relative;grid-template-columns:none}
 .calendar-workspace .calendar-operations{width:100%}
 .calendar-workspace .desk-work.desk-work-embedded{position:absolute;top:208px;right:10px;left:auto;width:194px;max-height:calc(var(--rail-height,70dvh) - 215px);pointer-events:none;z-index:21;background:transparent;border:0;box-shadow:none}
 .calendar-workspace #deskWork[data-dock=left]{right:auto;left:76px}
 #deskWork .guest-rail-tools,#deskWork .guest-work-card,#guestManagement{pointer-events:auto}
 #deskWork #guestCards{max-height:max(145px,calc(var(--rail-height,70dvh) - 255px));background:transparent;padding:0 2px}
 #deskWork .guest-work-card{min-height:145px;max-height:260px;overflow:auto;margin:7px 0;box-shadow:0 3px 14px #26473133;border:1px solid #afc4b7;border-left:4px solid #54836b}
 .guest-work-card .card-order-actions{display:flex;align-items:center;gap:4px;margin:4px 0}.card-order-actions button{padding:3px;min-width:32px;min-height:32px;font-size:15px}.card-order-actions small{font-size:9px}.guest-work-card.card-drop-target{outline:3px solid #16896a;outline-offset:1px}
 #deskWork[data-collapsed=true] #guestCards{display:none}#deskWork[data-collapsed=true]{width:134px}#deskWork[data-has-cards=false]{width:134px}
 #guestManagement{top:40px;max-height:min(65dvh,600px)}#deskWork[data-dock=left] #guestManagement{right:auto;left:0}
 #bookingForm .field:has(#followUp){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}#bookingForm .field:has(#followUp)>span{grid-column:1/-1}#followUp{min-height:42px;white-space:nowrap}
 @media(max-width:760px){.calendar-workspace .desk-work.desk-work-embedded{top:220px;width:156px;right:5px}.calendar-workspace #deskWork[data-dock=left]{left:54px}#deskWork #guestCards{max-height:max(145px,calc(var(--rail-height,70dvh) - 268px))}.card-order-actions button{min-height:44px;min-width:44px}#deskWork .guest-work-card{padding:6px;max-height:280px}.card-order-actions small{display:none}#guestManagement{position:fixed;top:100px;right:8px!important;left:8px!important;width:auto;max-height:calc(100dvh - 116px)}}
}
@media screen{#bookingForm .field:has(#followUp){display:block}.last4-followup{display:flex;gap:8px;align-items:center;margin-top:6px}.last4-followup input{flex:1;min-width:0}.last4-followup #followUp{flex:0 0 auto;width:auto;margin:0;padding:8px 14px}}
@media screen{
 .calendar-workspace .desk-work.desk-work-embedded{width:204px}
 #deskWork .guest-work-card{display:flex;flex-direction:column;box-sizing:border-box;height:200px;min-height:200px;max-height:200px}
 #deskWork .guest-work-card>.guest-status-label,#deskWork .guest-work-card>p:not(.hint){display:none}
 #deskWork .guest-work-card>small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #deskWork .guest-work-card>.actions{margin-top:auto;display:flex;flex-direction:row;gap:4px}
 #deskWork .guest-work-card>.actions button{min-width:0;flex:1}
 @media(max-width:760px){.calendar-workspace .desk-work.desk-work-embedded{width:184px}#deskWork .guest-work-card{height:180px;min-height:180px;max-height:180px}#deskWork .guest-work-card>.actions button{font-size:9px;min-height:44px}#deskWork .guest-work-card .card-order-actions{margin:2px 0}.guest-work-card .draft-card-state{font-size:9px}}
}


@media screen{#guestManagement .desk-work-tools{display:block}#guestManagement .desk-work-tools p{font-size:11px;margin:6px 0}#recoverGuestCards{min-height:34px;min-width:44px;white-space:nowrap}#recoverGuestCards[aria-pressed=true]{background:#f8e9c2;color:#6c4820}#deskWork .guest-rail-tools{flex-wrap:wrap}#deskWork .guest-rail-tools #deskWorkToggle{min-width:44px;flex:1}}

@media screen{#deskWork .guest-work-card{position:relative;padding-top:10px}#deskWork .guest-work-card>strong{padding-right:39px;min-height:32px;line-height:1.3}#deskWork .guest-card-close{position:absolute;right:0;top:0;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;font-size:24px;line-height:1;background:transparent;border:0;border-radius:0 6px 0 6px;color:#6b716b;z-index:2}#deskWork .guest-card-close:hover{background:#f0e6dd;color:#854638}#deskWork .guest-work-card [hidden]{display:none!important}#deskWork .discarded-card{border-color:#9b9990}.discarded-label{font-weight:700;color:#7c3f37}#deskWork .guest-work-card>.actions [data-restore-card]{flex-basis:100%;min-height:44px}#deskWork .guest-work-card>.actions{flex-wrap:wrap}}

@media screen{.room-shell-manual{border-color:#c78967}.room-light-manual{--room-color:#c14548;--room-bg:#fff0ef}}

@media screen{.room-menu-layer{position:fixed;inset:0;z-index:1000;background:transparent}.room-overflow-menu{position:fixed;width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;padding:5px;border:1px solid #bdcfc2;border-radius:8px;background:#fff;box-shadow:0 6px 24px #26473130}.room-overflow-menu button{display:block;width:100%;min-height:44px;text-align:left;background:#fff;color:#17342d;border:0;padding:9px 12px;border-radius:5px;margin:0;font-size:12px;overflow-wrap:anywhere}.room-overflow-menu button:hover,.room-overflow-menu button:focus-visible{background:#e3efe7}.room-status-light .room-state-staff{font-size:12px;font-weight:750}.room-quick-actions button:last-child{flex-basis:36px;min-height:36px;font-size:21px}@media(max-width:800px){.room-quick-actions button{min-height:44px}.room-quick-actions button:last-child{flex-basis:40px;min-height:44px}}}

@media screen{.room-status-lights .room-status-light{min-height:0;justify-content:flex-start;padding:6px 7px;gap:4px}.room-top-line{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%}.room-top-line>b{display:flex;align-items:center;gap:4px;flex-shrink:0;font-size:12px}.room-top-line .room-state-label{text-align:right;font-size:10px;line-height:1.2}.room-top-line .room-state-staff{text-align:right;font-size:12px;line-height:1.2;overflow-wrap:anywhere;min-width:0}.room-status-lights{align-items:stretch}.room-status-light .room-light-clock{font-size:10px;line-height:1.2}.room-status-lights .room-light-shell{min-width:120px;flex-basis:120px}@media(max-width:800px){.room-status-lights .room-light-shell{min-width:120px;flex-basis:120px}}}

@media screen and (min-width:1000px){.room-status-lights{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:4px;overflow:visible;padding-bottom:0}.room-status-lights .room-light-shell{min-width:0;width:auto;flex-basis:auto;border-radius:6px}.room-status-lights .room-status-light{min-width:0;padding:4px;gap:3px;min-height:0}.room-top-line{gap:3px}.room-top-line>b{font-size:11px;gap:3px}.room-state-dot{width:6px;height:6px}.room-top-line .room-state-label{font-size:10px;white-space:nowrap}.room-top-line .room-state-staff{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-status-light .room-light-clock{font-size:10px;line-height:1.2}.room-quick-actions button{font-size:10px;min-height:32px;padding:3px;line-height:1.1}.room-quick-actions button:last-child{flex:0 0 24px;min-height:32px;font-size:18px}.room-strip-heading{margin-bottom:3px}#liveRoomStrip{margin-bottom:6px}}

/* Compact employee headers keep a stable height across all live states. */
@media screen{.calendar .staff-head,.calendar .time-head,.calendar:has(.column-off-duty) .staff-head,.calendar:has(.column-off-duty) .time-head{height:128px;padding:4px;box-sizing:border-box}.calendar .staff-head{display:grid;grid-template-rows:54px 24px 24px 12px;gap:1px;align-content:start}.column-live{min-height:0;height:54px;display:grid;grid-template-rows:16px 14px 12px 12px;gap:0;overflow:hidden}.column-name{font-size:13px;line-height:16px}.column-status-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;width:100%;line-height:14px}.column-state{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.column-status-row .column-room{font-size:10px;flex-shrink:0;max-width:60px}.column-live .column-clock,.column-live .column-sort-time{font-size:10px;line-height:12px;height:12px}.column-sort-time:empty{display:block}.column-actions{margin:0;gap:3px}.column-actions button{min-height:24px;height:24px;padding:2px;font-size:10px;margin:0}.staff-head .queue-metrics{margin:0;padding:1px 0 0;gap:3px;grid-template-columns:repeat(3,minmax(0,1fr))}.staff-head .queue-metrics>span,.staff-head .queue-metrics .queue-completed{padding:0;gap:0;line-height:11px}.staff-head .queue-metrics small{font-size:8px;line-height:10px}.staff-head .queue-metrics b{font-size:12px;line-height:12px}.staff-head .queue-metrics .queue-total,.staff-head .queue-metrics .queue-completed i{display:none}.column-off-duty{font-size:9px;margin:0;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar .time-head{font-size:9px;padding-top:8px}@media(max-width:800px){.calendar .staff-head,.calendar .time-head,.calendar:has(.column-off-duty) .staff-head,.calendar:has(.column-off-duty) .time-head{height:148px}.calendar .staff-head{grid-template-rows:54px 44px 24px 12px}.column-actions button{height:44px;min-height:44px}}}

@media screen{.room-action-message{font-size:10px;line-height:1.2;padding:3px;overflow-wrap:anywhere;margin:0}.room-action-message.error{background:#fff1ed;color:#953e29;border:0}}

/* Room row first, time grid below; all secondary controls remain in the floating Menu. */
@media screen{body.calendar-only-workspace{overflow:hidden}body.calendar-only-workspace>main{padding:3px 4px 0;margin:0!important}.calendar-only-workspace #content{padding:0}.calendar-only-workspace #liveRoomStrip{margin:0 0 4px}.calendar-only-workspace .room-strip-heading{margin:0 0 3px}.calendar-only-workspace .calendar-operations>.calendar-wrap{min-height:120px;border-radius:5px}.calendar-only-workspace .time-head{padding-top:49px!important}.calendar-only-workspace #notice:not(:empty){position:fixed;bottom:8px;left:65px;max-width:min(440px,calc(100vw - 80px));max-height:25vh;overflow:auto;z-index:45;padding:8px;font-size:11px;box-shadow:0 3px 12px #26473126}.calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:136px;max-height:calc(var(--rail-height,80dvh) - 140px)}.calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 148px)}.calendar-only-workspace #guestManagement{top:0;max-height:calc(var(--rail-height,80dvh) - 148px)}#workbenchMenuButton{position:fixed;z-index:35;left:8px;top:8px;min-height:44px;margin:0;padding:4px;font-size:10px;border:1px solid #92b3a0;border-radius:7px;background:#1f5848;color:white;box-shadow:0 2px 8px #26473122}body:not(.calendar-only-workspace)>main{padding-top:60px}.workbench-menu{padding:12px;width:min(440px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;border:1px solid #b8cdbf;border-radius:12px;background:#f7faf7;overflow:auto;color:#17342d}.workbench-menu::backdrop{background:#13291f55}.workbench-menu-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.workbench-menu h2{font-size:17px;margin:0}.workbench-menu button,.workbench-menu input,.workbench-menu select,.workbench-menu summary{min-height:44px;font-size:12px;box-sizing:border-box}.workbench-menu button{margin:0;padding:8px}.workbench-menu .testbar{display:block;padding:8px;margin:10px 0;font-size:11px;line-height:1.4;text-align:left;border-radius:6px;background:#f3e8cf;color:#744b14;max-height:none}.workbench-menu header{display:flex;flex-wrap:wrap;gap:8px;padding:0;background:none;border:0}.workbench-menu .brand{display:none}.workbench-menu #store{width:100%;max-width:none;flex:1 0 100%;font-size:13px}.workbench-menu #secondaryNav{position:static;margin:0;width:100%;padding:0;background:none;z-index:auto}.workbench-menu #secondaryNav nav{position:static;width:100%;box-sizing:border-box;box-shadow:none;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:6px;padding:0;border:0;background:none}.workbench-menu #secondaryNav #signOut{position:static;width:auto;display:block}.workbench-menu #secondaryNav:not([open]) nav{display:none}.workbench-menu .toolbar{display:block;margin:12px 0 0}.workbench-menu .toolbar>div:first-child{display:none}.workbench-menu .toolbar>.actions{display:flex;flex-wrap:wrap;gap:5px;width:100%;align-items:center}.workbench-menu #date{flex:1;width:145px;min-width:125px}.workbench-menu .working-sort-control{width:100%;justify-content:space-between}.workbench-menu #workingSort{width:190px;max-width:75%}.workbench-menu #calendarOptionsMount{position:static;width:100%}.workbench-menu #calendarOptions>summary{display:block;white-space:normal;padding:10px}.workbench-menu .calendar-options-panel{position:static;width:100%;max-height:none;overflow:visible;padding:10px;box-sizing:border-box;box-shadow:none;margin:0}.workbench-menu .guest-rail-tools{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}.workbench-menu .guest-rail-tools button{width:auto;min-width:0;font-size:12px}.workbench-menu [data-menu-history]{margin-top:10px}.workbench-menu footer{display:block;padding:8px 0;font-size:11px;text-align:left}.workbench-menu .workbench-menu-info{margin-top:8px}.workbench-menu [hidden]{display:none!important}@media(max-width:800px){.calendar-only-workspace .calendar,.calendar-only-workspace .calendar.staff-many{min-width:calc(48px + var(--staff-count)*150px);grid-template-columns:48px repeat(var(--staff-count),minmax(150px,1fr))!important}.calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:156px;max-height:calc(var(--rail-height,80dvh) - 160px)}.calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 168px)}.calendar-only-workspace #guestManagement{position:fixed;top:8px;max-height:calc(100dvh - 16px)}}}
@media print{#workbenchMenuButton,#workbenchMenu{display:none!important}}
/* Employee count drives width; dense desktop columns keep controls usable.
   Extra employees overflow horizontally rather than shrinking below the minimum. */
@media screen{
 .calendar-only-workspace .calendar,.calendar-only-workspace .calendar.staff-many{min-width:calc(54px + var(--staff-count)*84px);grid-template-columns:54px repeat(var(--staff-count),minmax(84px,1fr))!important}
 .calendar-only-workspace .calendar .staff-head,.calendar-only-workspace .calendar .time-head,.calendar-only-workspace .calendar:has(.column-off-duty) .staff-head,.calendar-only-workspace .calendar:has(.column-off-duty) .time-head{height:210px}
 .calendar-only-workspace .calendar .staff-head{grid-template-rows:54px 28px 24px 12px 72px;min-width:0;padding:3px;gap:1px}
 .calendar-only-workspace .column-actions button{min-height:28px;height:28px;font-size:10px;min-width:0;white-space:nowrap}
 .calendar-only-workspace .column-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .employee-todos{grid-row:5;min-width:0;text-align:left;border-top:1px solid #c7d8cb;padding-top:3px;overflow:hidden}
 .employee-todo-count{display:block;font-size:9px;height:12px;line-height:12px;color:#536e60}
 .employee-todo-list{height:56px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain}
 .employee-todo-list:focus-visible{outline:2px solid #27755d;outline-offset:-2px}
 .employee-todo-list .employee-todo-card{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:0;min-height:27px;height:27px;margin:0 0 1px;padding:0;border:1px solid #bdd7c6;border-radius:4px;background:#e9f4ec;box-shadow:none;overflow:hidden;cursor:grab}
 .employee-todo-card>strong,.employee-todo-card>small,.employee-todo-card>p,.employee-todo-card>.draft-card-state,.employee-todo-card>.guest-status-label,.employee-todo-card>.card-order-actions,.employee-todo-card .actions>[data-edit-guest]{display:none!important}
 .employee-todo-card .actions{display:contents}.employee-todo-card [data-open-card]{grid-column:1;grid-row:1;min-width:0;width:100%;min-height:25px;height:25px;margin:0;padding:1px 3px;border:0;border-radius:0;text-align:left;background:transparent;color:#184d39;font-size:12px;font-weight:650;line-height:20px}
 .employee-todo-card [data-close-card]{position:static;grid-column:2;grid-row:1;min-width:24px;width:24px;min-height:25px;height:25px;padding:0;margin:0;border:0;border-radius:0;background:transparent;font-size:17px;line-height:23px}
 .employee-todo-card button:hover{background:#cfe7d6}.employee-todo-card button:focus-visible{outline:2px solid #246850;outline-offset:-2px}
 .calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:216px;max-height:calc(var(--rail-height,80dvh) - 220px)}
 .calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 224px)}
 #guestCards:has(>.guest-work-card)::before{content:'Common customers / recovery';display:block;font-size:10px;background:#f5faf6;padding:4px;color:#355b48;position:sticky;top:0;z-index:2}
 @media(max-width:800px){
  .calendar-only-workspace .calendar,.calendar-only-workspace .calendar.staff-many{min-width:calc(48px + var(--staff-count)*150px);grid-template-columns:48px repeat(var(--staff-count),minmax(150px,1fr))!important}
  .calendar-only-workspace .calendar .staff-head,.calendar-only-workspace .calendar .time-head,.calendar-only-workspace .calendar:has(.column-off-duty) .staff-head,.calendar-only-workspace .calendar:has(.column-off-duty) .time-head{height:260px}
  .calendar-only-workspace .calendar .staff-head{grid-template-rows:54px 44px 24px 12px 104px}
  .calendar-only-workspace .column-actions button{height:44px;min-height:44px;font-size:11px}
  .employee-todo-list{height:90px}.employee-todo-list .employee-todo-card{height:44px;min-height:44px;grid-template-columns:minmax(0,1fr) 44px}
  .employee-todo-card [data-open-card],.employee-todo-card [data-close-card]{height:42px;min-height:42px;line-height:40px}.employee-todo-card [data-close-card]{width:44px;min-width:44px}.employee-todo-card [data-open-card]{font-size:14px}
  .calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:266px;max-height:calc(var(--rail-height,80dvh) - 270px)}.calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 274px)}
 }
}
@media print{.employee-todos{display:none!important}}
.calendar .staff-head[data-staff-bucket=booked]{border-top-color:#7350a5;background:#f0e7fa;color:#302344}
.live-card.live-booked{background:#eaf1ff;border-left:5px solid #315eaa}.booked-source{font-weight:700;color:#214b91}
/* Financial marks describe the order; they never imply a change to service occupancy. */
@media screen{
 .calendar .booking.financial-partial-refund{background:#fff0cb;color:#513b07;border-left:5px solid #a36a00}
 .calendar .booking.financial-refunded{background:#eee8fa;color:#3e2867;border-left:5px solid #7850ad}
 .calendar .booking.financial-void{background:#f5e5e9;color:#65273b;border-left:5px solid #aa4865}
 .calendar .booking .financial-tag{display:block;width:max-content;max-width:100%;padding:1px 4px;border-radius:3px;background:#fff;color:inherit;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .calendar .booking[class*="financial-"] .booking-indicators small:nth-child(2){font-weight:750;text-decoration:underline;text-underline-offset:2px}
 .financial-adjustment{padding:6px 8px;border-left:3px solid #7850ad;background:#f7f4fb;font-size:12px;line-height:1.45}
}
@media screen{.calendar-only-workspace .calendar .staff-head{overflow:hidden}.calendar-only-workspace .queue-metrics>span{min-width:0}.calendar-only-workspace .queue-metrics small{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

/* Keep invisible slot labels below existing appointment click targets. */
.calendar .time-slot{z-index:0}
.room-plan-choices{display:flex;flex-wrap:wrap;gap:5px}.room-plan-choices label{display:flex;align-items:center;gap:5px;border:1px solid #cbd9d1;border-radius:6px;padding:6px;margin:0;cursor:pointer}.room-plan-choices input{width:auto}.ordered-room-plan{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.ordered-room-plan li{border:1px solid #cbd9d1;border-radius:6px;padding:6px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ordered-room-plan li span{display:flex;gap:3px}.ordered-room-plan button{font-size:11px;padding:4px 6px}.matrix-resources .room-plan-choices{max-height:90px;overflow:auto}.matrix-resources .ordered-room-plan{max-height:72px;overflow:auto}.matrix-resources .room-plan-choices label{padding:3px;font-size:11px}.matrix-resources #matrixRoomPlan>p{font-size:10px;margin:3px 0}@media(max-width:800px){.room-plan-choices label{min-height:42px}.ordered-room-plan button{min-height:36px}.matrix-resources .room-plan-choices{max-height:150px}.matrix-resources .ordered-room-plan{max-height:140px}}
.matrix-resources .room-plan-choices label{min-height:24px;padding:3px;font-size:11px}.matrix-resources .ordered-room-plan li{padding:2px 4px;gap:4px;font-size:11px}.matrix-resources .ordered-room-plan button{min-height:24px;padding:2px 4px;font-size:10px}.matrix-resources .ordered-room-plan{max-height:90px}.matrix-resources [data-plan-clear]{min-height:24px;padding:3px 6px;font-size:11px}@media(max-width:800px){.matrix-resources .room-plan-choices label{min-height:42px}.matrix-resources .ordered-room-plan button{min-height:36px}.matrix-resources .ordered-room-plan{max-height:150px}}

@media screen and (min-width:801px){
 .calendar-only-workspace .calendar:has(.queue-yield){min-width:calc(54px + var(--staff-count)*84px + 38px);grid-template-columns:54px var(--queue-staff-tracks)!important}
}
/* Q1's manual, temporary Yield stays next to its rank. It never adds a timer. */
@media screen{
 .staff-head .queue-metrics:has(.queue-yield){grid-template-columns:minmax(44px,1.7fr) minmax(0,.7fr) minmax(0,.9fr)}
 .staff-head .queue-position-value{display:flex;align-items:center;gap:2px;min-width:0}
 .staff-head .queue-yield{font-size:9px;line-height:12px;min-height:20px;height:20px;min-width:28px;margin:-8px 0 0;padding:1px 2px;border:1px solid #829e88;border-radius:3px;background:#f8fcf7;color:#275336}
 .staff-head .queue-yield:disabled{opacity:.45;cursor:wait}
 .staff-head .queue-yield:focus-visible{outline:2px solid #245e43;outline-offset:1px}
 @media(max-width:800px){
  .calendar-only-workspace .calendar .staff-head,.calendar-only-workspace .calendar .time-head,.calendar-only-workspace .calendar:has(.column-off-duty) .staff-head,.calendar-only-workspace .calendar:has(.column-off-duty) .time-head{height:280px}
  .calendar-only-workspace .calendar .staff-head{grid-template-rows:54px 44px 44px 12px 104px}
  .staff-head .queue-yield{min-width:44px;min-height:44px;height:44px;font-size:10px;margin:-10px 0 0}
  .staff-head .queue-metrics:has(.queue-yield){grid-template-columns:minmax(62px,1.6fr) minmax(0,.7fr) minmax(0,1fr)}
  .calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:286px;max-height:calc(var(--rail-height,80dvh) - 290px)}
  .calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 294px)}
 }
}
@media print{.queue-yield{display:none!important}}

/* Payment appearance changes no service, room or financial state. */
@media screen{
 .calendar .booking.awaiting-payment:not(.done):not([class*="financial-"]),#deskWork .guest-work-card.awaiting-payment{background:#fff0df;color:#653707;border-color:#dfb88c;border-left:4px solid #b65e13}
 .payment-state-tag{display:inline-block;max-width:100%;padding:1px 4px;border:1px solid #d6a774;border-radius:3px;background:#ffebd2;color:#683600;font-size:10px;font-weight:750;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 .calendar .booking.payment-attention .payment-state-tag{background:#ffebd2;color:#683600}
 #deskWork .guest-work-card .payment-state-tag{font-size:11px;align-self:flex-start}
 @media(max-width:800px){.payment-state-tag{font-size:11px;line-height:1.3}}
}

/* Room identity stays at top; state is central; every action lives in the overflow menu. */
@media screen{
 .room-status-light .room-state-center{display:block;align-self:center;text-align:center;font-size:12px;line-height:1.3;font-weight:750;margin:5px 0 2px}
 .room-status-light .room-light-clock{align-self:center;text-align:center;min-height:24px}
 .room-status-light .room-light-clock:empty{display:block}
 .room-state-staff.room-staff-unassigned{color:#687b72;font-weight:400}
 .room-quick-actions{justify-content:flex-end}
 .room-quick-actions button:only-child{flex:0 0 36px;min-width:36px;min-height:32px;border-left:0}
 @media(pointer:coarse){.room-quick-actions button:only-child{min-width:44px;min-height:44px}}
}
/* v48: emphasize the room identifier and current state without changing controls. */
@media screen{.room-top-line>b{font-size:15px;line-height:1.2}.room-status-light .room-state-center{font-weight:900}}

/* Staff headers retain Booked and an accessible overflow menu. */
@media screen{
 .column-actions>[data-staff-booked]{flex:1}.column-actions [data-staff-booked][aria-pressed=true]{background:#e2ecff;border-color:#315eaa;color:#214b91}
 .staff-header-menu{position:relative;flex:0 0 28px;margin:0;text-align:left}.staff-header-menu>summary{list-style:none;border:1px solid #cbd9d1;border-radius:4px;min-height:28px;height:28px;display:flex;align-items:center;justify-content:center;padding:0;background:#f5f8f3;font-size:19px;line-height:1;cursor:pointer}.staff-header-menu>summary::-webkit-details-marker{display:none}.staff-header-menu>summary:focus-visible{outline:2px solid #245e50;outline-offset:1px}
 .staff-header-menu-panel{position:absolute;top:calc(100% + 3px);right:0;z-index:60;width:180px;padding:5px;background:white;border:1px solid #b4c9bd;border-radius:7px;box-shadow:0 5px 18px #203c3c30}.staff-header-menu-panel button{display:block;width:100%;height:auto!important;min-height:36px!important;text-align:left;white-space:normal!important;margin:0 0 3px;font-size:12px!important;padding:7px!important}.staff-header-menu-panel button:last-child{margin-bottom:0}
 .calendar-only-workspace .calendar .staff-head:has(.staff-header-menu[open]){overflow:visible;z-index:60}
 @media(max-width:800px),(pointer:coarse){.staff-header-menu{flex-basis:44px}.staff-header-menu>summary{height:44px;min-height:44px}.staff-header-menu-panel button{min-height:44px!important}}
}

/* Available-cohort ordinal only; decorative, never a Q score or click target. */
@media screen{.staff-available-rank{position:absolute;inset:28px 4px auto;height:26px;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;line-height:1;color:#245e500d;pointer-events:none;user-select:none;z-index:0}.staff-available-rank[hidden]{display:none}.staff-head>.column-live,.staff-head>.column-actions,.staff-head>.queue-metrics,.staff-head>.column-off-duty,.staff-head>.employee-todos{position:relative;z-index:1}}

/* A calm, temporary current-room locator, never a room-state change. */
@media screen{.column-live:disabled{opacity:1;cursor:default}.column-live.staff-room-locator{cursor:pointer}.room-status-light.room-staff-located{outline:3px solid #d79a28;outline-offset:2px;box-shadow:0 0 0 5px #f5d38a55;border-color:#b67f18}.room-status-light{transition:outline-color .2s,box-shadow .2s}@media(prefers-reduced-motion:reduce){.room-status-light{transition:none}}}

/* The entire Staff block locates its room; child controls are sibling layers. */
@media screen{.staff-head>.staff-avatar-hit{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent!important;z-index:1}.staff-avatar-hit:disabled{opacity:1;cursor:default}.staff-avatar-hit.staff-room-locator{cursor:pointer}.staff-avatar-hit:focus-visible{outline:2px solid #245e50;outline-offset:-3px}.staff-head>.column-live,.staff-head>.queue-metrics,.staff-head>.column-off-duty{position:relative;z-index:2;pointer-events:none}.staff-head>.column-actions,.staff-head>.employee-todos{position:relative;z-index:2;pointer-events:auto}.staff-head .queue-yield{pointer-events:auto}}

@media screen{.column-name-line{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;max-width:100%;width:100%}.column-name-line .column-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-q-position{flex:0 0 auto;font-size:12px;line-height:16px;font-weight:800;font-variant-numeric:tabular-nums;color:#294f3d;white-space:nowrap}.staff-head .queue-header-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-head .queue-header-metrics:has(.queue-yield){grid-template-columns:minmax(44px,1.2fr) minmax(0,1fr) minmax(0,1fr)}.staff-head .queue-header-metrics .queue-yield{margin:0}@media(max-width:800px),(pointer:coarse){.staff-head .queue-header-metrics:has(.queue-yield){grid-template-columns:minmax(44px,1.2fr) minmax(0,1fr) minmax(0,1fr)}}}

@media screen{.calendar .staff-head[data-staff-bucket=break]{background:#edf0ef;border-top-color:#a5afaa;color:#69736e}.calendar .staff-head[data-staff-bucket=break] .column-state{color:#66716a}.hidden-staff-recovery{padding:10px;border:1px solid #d7e1da;border-radius:7px;margin-top:8px}.hidden-staff-recovery h3{margin:0 0 6px}.hidden-staff-recovery p{font-size:12px;line-height:1.5}.staff-header-menu-panel [data-staff-break]{border-top:1px solid #dce5df}}

@media screen{.calendar .staff-head[data-staff-bucket=booked] .employee-todos{border-top-color:#bda4d6}.calendar .staff-head[data-staff-bucket=booked] [data-staff-booked]{background:#e5d6f5;border-color:#9974c4;color:#3e2860}}

@media screen{.calendar-only-workspace .staff-available-rank{height:50px;font-size:54px}}
/* A Booked point is a reminder, never a service/occupancy interval. */
.booked-time-marker{position:absolute;left:3px;right:3px;z-index:8;min-height:25px;height:auto;max-height:52px;overflow:auto;padding:3px 5px;border:1px dashed #70429a;border-left:4px solid #70429a;border-radius:4px;background:#f5edff;color:#42215e;font-size:12px;text-align:left;line-height:1.25;box-shadow:0 1px 2px #0002}
.booked-time-marker:focus{outline:3px solid #452569;z-index:12}
.employee-todo-list .employee-todo-card .todo-booking-metadata{display:block;grid-column:1/-1;font-size:12px;white-space:normal;overflow-wrap:anywhere;color:#523568}
.booking-source{display:block;overflow-wrap:anywhere}
#bookingReminderTray{margin:6px 0;padding:8px 12px;border:1px solid #d6b061;background:#fff7e6;border-radius:6px;font-size:14px}#bookingReminderTray p{margin:6px 0}#bookingReminderTray button{max-width:100%;white-space:normal;text-align:left}.booking-reminder-dialog{max-width:600px;width:calc(100% - 32px);padding:22px;border:1px solid #cdb784;border-radius:10px}.booking-reminder-dialog::backdrop{background:#19243b66}.booking-reminder-dialog .actions{display:flex;flex-wrap:wrap;gap:8px}

.booked-marker-group{position:absolute;left:3px;right:3px;z-index:8;display:grid;gap:2px;max-height:76px;overflow:auto}.booked-marker-group .booked-time-marker{position:relative;inset:auto;display:block;width:100%;box-sizing:border-box;min-height:25px;margin:0}

@media screen{.calendar .staff-head[data-staff-bucket=ended]{background:#e5e8ed;border-top-color:#64748b;color:#475569}.calendar .staff-head[data-staff-bucket=ended] .column-state{color:#475569}}

@media screen{.staff-head .queue-header-metrics .queue-daily-amount b{font-size:10px;white-space:normal;overflow-wrap:anywhere}.staff-head .queue-header-metrics .queue-daily-amount small{font-size:8px;white-space:normal}}

/* Compact reminder entry and shrinkable menu tracks on phone screens.
   All records and actions remain available; these rules change presentation only. */
@media screen{
 #bookingReminderTray{padding:2px 8px;min-width:0}
 #bookingReminderTray details{margin:0;min-width:0}
 #bookingReminderTray summary{min-height:44px;box-sizing:border-box;padding:11px 0;font-size:13px;line-height:20px;overflow-wrap:anywhere;cursor:pointer}
 #bookingReminderTray>details>summary>small{margin-left:8px;font-size:11px;font-weight:400;white-space:nowrap}
 #bookingReminderTray .booking-reminder-list{max-height:min(320px,40dvh);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
 #bookingReminderTray .booking-reminder-list p{overflow-wrap:anywhere}
 .workbench-menu{overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px}
 .workbench-menu-title h2{min-width:0;overflow-wrap:anywhere}
 .workbench-menu-title>button{flex:0 0 auto}
 .workbench-menu header,.workbench-menu #secondaryNav{min-width:0;max-width:100%}
 .workbench-menu #secondaryNav nav{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-width:100%;overflow:visible}
 .workbench-menu #secondaryNav nav>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .workbench-menu #secondaryNav nav>button{height:auto;text-align:left}
 .workbench-menu #authDraftNotice{grid-column:1/-1;line-height:1.4}
 .workbench-menu #paymentReferenceTodo{max-width:100%;height:auto;white-space:normal;overflow-wrap:anywhere}
 @media(max-width:440px){
  .workbench-menu #secondaryNav nav{grid-template-columns:minmax(0,1fr)}
  .workbench-menu .guest-rail-tools{grid-template-columns:minmax(0,1fr)}
 }
}

/* Booking reminders are passive notifications; details open only on a click. */
#bookingReminderTray .booking-reminder-attention{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:10px;background:#8a4b08;color:#fff;font-size:12px;line-height:20px;font-weight:700;white-space:normal}
