/* Desktop work surface; phone rules follow in admin-mobile.css. */
.desktop-only{display:none}
@media(min-width:761px){
 .desktop-only{display:flex}
 .staff-page{font-size:14px}
 .staff-page .staff-sidebar{width:188px;padding:24px 12px 18px}
 .staff-page .staff-brand{padding:0 12px 24px;gap:10px}.staff-page .staff-brand img{width:94px}
 .staff-page .staff-sidebar nav{gap:4px}.staff-page .staff-sidebar nav button{padding:10px 12px;min-height:44px;font-size:13px;gap:9px}
 .staff-page .sidebar-bottom{padding:16px 12px 0;gap:10px}.staff-page .sidebar-bottom a,.staff-page .sidebar-bottom button{min-height:36px;display:flex;align-items:center}
 .staff-page .staff-workspace{margin-left:188px;padding:18px 22px 24px;max-width:1740px}
 .staff-page .staff-header{margin:0 0 14px;gap:16px;align-items:center;min-height:44px}.staff-page .staff-header .eyebrow{display:none}
 .staff-page .staff-header h1{font-size:26px;line-height:1.2;letter-spacing:-.7px}.staff-page .staff-header .muted{margin-top:6px}
 .staff-page .header-actions{flex-direction:row;gap:8px}.staff-page .header-actions>button{font-size:13px;min-height:40px;padding:8px 14px;white-space:nowrap}
 .staff-page .staff-notice{font-size:11px;padding:6px 10px;margin-bottom:10px}.staff-page .powered-by{margin-top:18px;padding-block:8px}
 .staff-page:not(.is-authenticated) .staff-header{display:none}.staff-page .staff-login{margin:clamp(28px,8vh,80px) auto 24px;padding:26px;gap:18px;max-width:420px;border-radius:10px}
 .staff-page .staff-login :is(input,button){min-height:44px;font-size:15px}.staff-page .staff-login label{font-size:13px}
 .staff-page .booking-overview{display:flex;align-items:center;gap:8px;padding:4px 10px;margin-bottom:12px;border-radius:8px}
 .staff-page .overview-heading{flex:0 0 144px;padding:0;gap:4px}.staff-page .overview-heading h2{font-size:11px;line-height:1.5;max-width:104px}
 .staff-page .overview-counts{flex:1;min-width:0;gap:0}.staff-page .overview-metric{min-height:44px;flex-direction:row;align-items:center;gap:8px;padding:6px 12px}
 .staff-page .overview-metric span{font-size:11px;line-height:1.3}.staff-page .overview-metric strong{font-size:21px;line-height:1;font-weight:500}
 .staff-page .staff-content{padding:14px;border-radius:8px}
 .staff-page .schedule-toolbar{margin-bottom:10px;gap:10px}.staff-page .day-navigation{gap:5px}.staff-page .day-navigation button{min-height:40px;font-size:13px;padding:8px 12px}
 .staff-page #calendarDateButton{order:1;min-width:148px;font-size:14px;font-weight:500}.staff-page #previousDay{order:0}.staff-page #nextDay{order:2}.staff-page #today{order:3;margin-left:4px}
 .staff-page #refresh{font-size:12px;min-height:40px;padding:8px 12px}.staff-page #lastUpdated{font-size:10px}
 .staff-page:not([data-view=calendar]) .schedule-toolbar{display:none}
 .staff-page .staff-filters{display:grid;grid-template-columns:minmax(200px,1.7fr) minmax(130px,1fr) minmax(150px,1fr) auto;align-items:end;gap:10px;padding:0 0 10px}
 .staff-page .staff-filters>label{min-width:0}.staff-page .staff-filters input,.staff-page .staff-filters select{min-height:40px;font-size:13px;padding:8px 10px}.staff-page .staff-filters label{font-size:11px;gap:5px}
 .staff-page .staff-filters>button{min-height:40px;font-size:12px;padding:8px 14px}
 .staff-page[data-view=pending] .staff-filters{grid-template-columns:minmax(240px,2fr) minmax(170px,1fr) auto}
 .staff-page[data-view=list] .staff-filters{grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(110px,1fr)) auto}
 .staff-page[data-view=list] .range-filters{grid-column:1/4;grid-row:2;align-items:end;gap:10px}.staff-page[data-view=list] .range-filters label{flex:0 1 180px}.staff-page[data-view=list] .range-filters input{max-width:none}
 .staff-page[data-view=list] #applyFilters{grid-column:6;grid-row:1}
 .staff-page .results-heading{margin:6px 0;gap:10px}.staff-page .results-context,.staff-page .selection-summary{gap:4px 14px}
 .staff-page .selection-scope,.staff-page .context-metric span{font-size:11px}.staff-page .context-metric{min-height:44px;padding:6px 0;gap:6px}.staff-page .context-metric strong{font-size:14px}
 .staff-page .status-legend{font-size:10px;gap:12px}.staff-page .metric-help summary{min-width:36px;min-height:40px}
 .staff-page .calendar-jumps{align-items:center;gap:6px;margin:0 0 8px;color:var(--muted);font-size:11px}
 .staff-page .calendar-jumps>span{margin-right:4px}.staff-page .calendar-jumps button{min-height:32px;padding:5px 10px;background:var(--surface-inset);border:1px solid var(--line);color:var(--ink);font-size:12px;border-radius:6px}
 .staff-page .calendar-jumps button:hover{background:var(--surface-raised);border-color:var(--control-border)}
 .staff-page .calendar-scroll{max-height:var(--calendar-viewport-height,calc(100dvh - 320px));min-height:260px;border-radius:6px;scroll-padding-top:40px;overscroll-behavior:contain}
 .staff-page .calendar-room-header,.staff-page .calendar-time-header{min-height:40px;font-size:12px;padding:9px 12px}
 .staff-page .calendar-time-rail span{font-size:11px;color:var(--muted)}
 .staff-page .calendar-event{border-radius:5px;padding:4px 7px}.staff-page .calendar-event:hover{outline:1px solid currentColor;outline-offset:1px;z-index:3}
 .staff-page .calendar-event strong{font-size:12px}.staff-page .calendar-event small{font-size:10px;margin-top:3px}.staff-page .calendar-event.compact strong{font-size:11px}
 .staff-page .calendar-board{--event-heading:16px;--event-line:16px}
 /* A slot never crops a line: what did not fit is printed on hover or focus,
    and min-height keeps a card that already fits exactly where it was. */
 .staff-page .calendar-event:is(:hover,:focus-visible){height:auto;min-height:var(--event-height);z-index:5}
 .staff-page .calendar-event:is(:hover,:focus-visible)::after{display:none}
 .staff-page .calendar-event:is(:hover,:focus-visible).compact{flex-direction:column;align-items:stretch;gap:0;padding-block:4px}
 .staff-page .calendar-event:is(:hover,:focus-visible) small{display:block}
 .staff-page .calendar-event:is(:hover,:focus-visible) .calendar-event-comment{-webkit-line-clamp:none;line-clamp:none;display:block}
 /* Booking load, one square per studio day. Squares stay small so a year fits
    without scrolling; colour is the metric, dimming is the past, a corner is a
    pending request. */
 .staff-page #loadChart{--cell:13px;--cell-gap:3px;--labels:20px;--body-gap:8px;
   /* The grid's own width, so the header, caption and legend share its column
      and the whole card reads as one centred block instead of a stranded map. */
   --load-width:calc(var(--weeks,52) * (var(--cell) + var(--cell-gap)) - var(--cell-gap) + var(--labels) + var(--body-gap));
   display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:22px;padding:22px 24px 24px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
 .staff-page #loadChart>*{width:100%;max-width:var(--load-width)}
 .staff-page .load-chart-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:2px}
 .staff-page .load-chart-head h3{font-size:14px;margin:0 auto 0 0}
 .staff-page .load-chart-modes{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:7px}
 .staff-page .load-chart-modes button{background:transparent;border:0;border-radius:5px;color:var(--muted);font-size:12px;min-height:30px;padding:5px 11px}
 .staff-page .load-chart-modes button[aria-pressed=true]{background:var(--surface-raised);color:var(--ink)}
 .staff-page .load-chart-modes button:hover:not([aria-pressed=true]){color:var(--ink)}
 .staff-page .load-chart-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:3px}
 .staff-page .load-chart-body{display:flex;gap:var(--body-gap);width:max-content}
 .staff-page .load-chart-weekdays{display:grid;grid-template-rows:repeat(7,var(--cell));gap:var(--cell-gap);align-self:end;width:var(--labels);font-size:9px;color:var(--subtle)}
 .staff-page .load-chart-weekdays span{line-height:var(--cell)}
 .staff-page .load-chart-columns{display:flex;flex-direction:column;gap:5px;min-width:0}
 .staff-page .load-chart-months{display:grid;grid-template-columns:repeat(var(--weeks,52),var(--cell));gap:var(--cell-gap);font-size:10px;color:var(--subtle);height:12px}
 .staff-page .load-chart-months span{grid-row:1;white-space:nowrap}
 .staff-page .load-chart-cells{display:grid;grid-template-rows:repeat(7,var(--cell));grid-auto-flow:column;grid-auto-columns:var(--cell);gap:var(--cell-gap)}
 .staff-page .load-chart-cells button{position:relative;width:var(--cell);height:var(--cell);min-height:0;padding:0;border:0;border-radius:2px;background:var(--load-0)}
 .staff-page .load-chart-cells button[data-level='1']{background:var(--load-1)}
 .staff-page .load-chart-cells button[data-level='2']{background:var(--load-2)}
 .staff-page .load-chart-cells button[data-level='3']{background:var(--load-3)}
 .staff-page .load-chart-cells button[data-level='4']{background:var(--load-4)}
 .staff-page .load-chart-cells button[data-past]{opacity:.45}
 .staff-page .load-chart-cells button[data-today]{box-shadow:0 0 0 1px var(--ink),0 0 0 2px var(--accent)}
 .staff-page .load-chart-cells button[data-selected]{outline:2px solid var(--accent);outline-offset:1px;opacity:1}
 .staff-page .load-chart-cells button[data-pending]::after{content:'';position:absolute;top:0;right:0;border-top:4px solid var(--pending-edge);border-left:4px solid transparent}
 .staff-page .load-chart-cells button:hover{outline:1px solid var(--ink);outline-offset:1px}
 .staff-page .load-chart-caption{font-size:12px;line-height:1.5;color:var(--ink);min-height:18px;margin:4px 0 0}
 .staff-page .load-chart-status:empty{display:none}.staff-page .load-chart-status{font-size:12px;color:var(--muted);margin:0}
 .staff-page .load-chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;font-size:10px;line-height:1.55;color:var(--subtle)}
 .staff-page .load-chart-scale{display:flex;align-items:center;gap:6px;flex:none}
 .staff-page .load-chart-legend i{width:var(--cell);height:var(--cell);border-radius:2px;background:var(--load-0);flex:none}
 .staff-page .load-chart-legend i[data-level='1']{background:var(--load-1)}
 .staff-page .load-chart-legend i[data-level='2']{background:var(--load-2)}
 .staff-page .load-chart-legend i[data-level='3']{background:var(--load-3)}
 .staff-page .load-chart-legend i[data-level='4']{background:var(--load-4)}
 .staff-page .load-chart-legend small{font-size:10px;flex:1 1 320px;min-width:0}
 .staff-page .calendar-night-row{font-size:11px}.staff-page .calendar-time-rail .calendar-night-label{font-size:10px}
 .staff-page .booking-table{table-layout:fixed;width:100%}.staff-page .booking-table th{font-size:10px;padding:10px 12px;letter-spacing:.5px}
 .staff-page .booking-table th:first-child{width:31%}.staff-page .booking-table th:nth-child(2){width:25%}.staff-page .booking-table th:nth-child(3){width:13%}.staff-page .booking-table th:nth-child(4){width:20%}.staff-page .booking-table th:last-child{width:11%}
 .staff-page .booking-table td{padding:12px;vertical-align:middle;font-size:13px;overflow-wrap:anywhere}.staff-page .booking-table small{font-size:11px;line-height:1.5;margin-top:3px}
 .staff-page .booking-table .booking-price{font-variant-numeric:tabular-nums;white-space:nowrap}.staff-page .booking-table td:last-child button{min-height:36px;padding:6px 9px;font-size:12px;white-space:nowrap}
 .staff-page .booking-table tbody tr:hover{background:var(--surface-raised)}.staff-page .booking-table tbody tr:focus-within{background:var(--surface-raised)}
 .staff-page .status-pill{font-size:11px;white-space:normal;line-height:1.4}.staff-page .booking-table .status-pill{font-size:10px}
 .staff-page .list-pagination{align-items:center;padding-top:12px;font-size:12px}.staff-page .list-pagination button{min-height:40px;font-size:12px}
 .staff-page .staff-empty{padding:32px 20px}
 /* Bounded modal surfaces, with common actions reachable on short laptops. */
 .staff-page dialog:not(.admin-date-picker){border-radius:12px;padding:20px;max-height:calc(var(--app-viewport-height,100dvh) - 32px);scroll-padding-block:74px 86px;overscroll-behavior:contain}
 .staff-page dialog:not(.admin-date-picker) .dialog-top{position:sticky;top:-20px;z-index:6;padding:8px 0 12px;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:16px;margin:0 0 16px}
 .staff-page dialog:not(.admin-date-picker) .dialog-top h2{font-size:22px;line-height:1.3}.staff-page dialog:not(.admin-date-picker) .dialog-top>button{min-width:40px;min-height:40px;border:1px solid var(--line);border-radius:7px;font-size:22px;margin:0}
 .staff-page dialog label{font-size:12px;gap:5px}.staff-page dialog :is(input,select,textarea){font-size:14px;min-height:40px;padding:8px 10px;border-radius:6px}
 .staff-page dialog input:is([type=checkbox],[type=radio]){width:18px;height:18px;min-height:18px;padding:0}
 .staff-page #detailDialog{width:min(960px,calc(100vw - 48px));max-width:960px;padding:20px;scroll-padding-block:74px 100px}
 .staff-page #detailDialog .detail-summary{padding:12px 14px;border-radius:8px}.staff-page #detailDialog .detail-summary>strong{font-size:25px}
 .staff-page #detailDialog .detail-section{padding:14px;border-radius:8px}.staff-page #detailDialog .detail-actions>button{min-height:40px;padding:8px 14px}
 .staff-page #detailDialog .detail-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px;align-items:start}
 .staff-page #detailDialog .detail-name-field{grid-column:1;grid-row:1}.staff-page #detailDialog .primary-contact{grid-column:1;grid-row:2}
 .staff-page #detailDialog .detail-note-field{grid-column:1;grid-row:3}.staff-page #detailDialog .detail-extra-fields{grid-column:2;grid-row:1/4;min-width:0}
 .staff-page #detailDialog .detail-extra-fields .additional-contact{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,1.5fr);gap:8px 10px;padding:10px;margin:0}
 .staff-page #detailDialog .additional-contact legend{font-size:11px;padding-inline:4px}.staff-page #detailDialog .additional-contact-list{gap:10px}
 .staff-page #detailDialog .remove-contact{grid-column:1/-1;justify-self:end;min-height:28px;font-size:11px;padding:3px 6px}.staff-page #detailDialog .add-contact{min-height:36px;font-size:12px}
 .staff-page #detailDialog .detail-form>p,.staff-page #detailDialog .detail-form>.customer-selection,.staff-page #detailDialog .detail-form>button{grid-column:1/-1}
 .staff-page #detailDialog .detail-edit-actions{grid-column:1/-1;position:sticky;bottom:-20px;background:var(--surface);padding:12px 0 8px;margin:0;z-index:4;border-top:1px solid var(--line);justify-content:flex-end}
 .staff-page #detailDialog .detail-edit-actions>button{min-height:40px;padding:8px 14px}.staff-page #detailDialog .detail-form>button{justify-self:start;width:auto;font-size:12px;min-height:36px;padding:8px 12px}
 .staff-page #detailContent:has(#detailForm:not([hidden])) :is(.detail-actions,.detail-customer-comment,.detail-history,.detail-related){display:none}
 .staff-page #detailContent:has(#detailForm:not([hidden])) .detail-customer{grid-row:auto}
 .staff-page #editDialog{width:min(1040px,calc(100vw - 48px));max-width:1040px}
 .staff-page #editForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:start}
 .staff-page #editForm>.admin-room-choices{grid-column:1;grid-row:1;padding:10px 12px;border-radius:7px}.staff-page #editRooms{gap:6px 12px}.staff-page #editRooms label{min-height:28px}
 .staff-page #editForm>.consent{grid-column:1;grid-row:2;min-height:30px;align-items:center}
 .staff-page #editForm>.two-fields{grid-column:1;grid-row:3;gap:12px}.staff-page #noteLabel{grid-column:1;grid-row:4}
 .staff-page #customerPicker{grid-column:2;grid-row:1;margin:0}.staff-page #customerPicker label{font-size:12px}.staff-page #customerPicker .customer-picker-results{max-height:160px}
 .staff-page #customerSelection{grid-column:2;grid-row:1;margin:0;padding:10px;font-size:12px}
 .staff-page #editCustomer{grid-column:2;grid-row:2/5;gap:10px}.staff-page #editCustomer .primary-contact{padding:10px;display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:10px}
 .staff-page #editCustomer .additional-contact{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:8px 10px;padding:10px}
 .staff-page #editCustomer .remove-contact{grid-column:1/-1;justify-self:end;min-height:28px;padding:3px 6px;font-size:11px}
 .staff-page #editCustomer .additional-contact legend{font-size:11px}.staff-page #editCustomer .add-contact{min-height:32px;font-size:12px}
 .staff-page #editCustomer .consent{font-size:12px;min-height:32px;align-items:center}.staff-page #editCustomer .form-status:empty{display:none}
 .staff-page #editForm .edit-quote-actions{grid-column:1/-1;grid-row:5;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px 12px;align-items:center;position:sticky;bottom:-20px;background:var(--surface);padding:14px 0 8px;border-top:1px solid var(--line);z-index:4}
 .staff-page #reviewQuote{grid-column:1;grid-row:1;min-height:40px;font-size:12px;padding:8px 12px}.staff-page #editTotal{grid-column:2;grid-row:1;font-size:14px;color:var(--ink);margin:0;font-weight:500}
 .staff-page #cancelEditBooking{grid-column:3;grid-row:1;min-height:40px;font-size:12px;padding:8px 12px}.staff-page #saveBooking{grid-column:4;grid-row:1;width:auto;margin:0;min-height:40px;font-size:13px;padding:8px 18px}
 .staff-page #toggleEditBreakdown{grid-column:2;grid-row:2;justify-self:start;min-height:28px;padding:3px 0;font-size:12px;border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
 .staff-page #editBreakdown{display:none;grid-column:1/-1;grid-row:3;max-height:160px;overflow:auto}.staff-page #editForm.quote-expanded #editBreakdown{display:block}
 .staff-page #editError{grid-column:1/-1;grid-row:4}.staff-page #editError:empty{display:none}
 .staff-page #editDialog:is([data-mode=reschedule],[data-mode=block]){max-width:740px}.staff-page #editDialog:is([data-mode=reschedule],[data-mode=block]) #editForm{grid-template-columns:1fr}
 .staff-page #editDialog:is([data-mode=reschedule],[data-mode=block]) #editForm> :is(.admin-room-choices,.consent,.two-fields,#noteLabel,.edit-quote-actions){grid-column:1;grid-row:auto}
 .staff-page #actionDialog{width:min(560px,calc(100vw - 48px));max-width:560px}.staff-page #actionDetails{margin:0 0 16px;font-size:13px;line-height:1.6}
 .staff-page .action-dialog-controls{display:flex;gap:10px;justify-content:flex-end;align-items:center;position:sticky;bottom:-20px;background:var(--surface);padding:12px 0 8px;border-top:1px solid var(--line)}
 .staff-page .action-dialog-controls button{width:auto;min-height:40px;margin:0;font-size:13px;padding:8px 14px}
 .staff-embedded dialog:not(.admin-date-picker){margin-block:16px auto}
}
@media(min-width:761px) and (max-width:1099px){
 .staff-page .staff-sidebar{width:172px}.staff-page .staff-workspace{margin-left:172px;padding:16px}
 .staff-page .overview-heading{flex-basis:120px}.staff-page .overview-metric{flex-direction:column;gap:5px;align-items:flex-start;padding:6px 8px}
 .staff-page .staff-filters{grid-template-columns:minmax(150px,1.4fr) minmax(115px,1fr) minmax(125px,1fr) auto;gap:8px}
 .staff-page[data-view=list] .staff-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-page[data-view=list] .range-filters{grid-column:1/3;grid-row:3}.staff-page[data-view=list] #applyFilters{grid-column:3;grid-row:3}
 .staff-page .staff-header{align-items:flex-start}.staff-page .header-actions{gap:5px}.staff-page .header-actions button{padding-inline:10px;font-size:12px}
 .staff-page .booking-table th:first-child{width:30%}.staff-page .booking-table th:nth-child(2){width:24%}.staff-page .booking-table th:nth-child(3){width:14%}.staff-page .booking-table th:nth-child(4){width:19%}.staff-page .booking-table th:last-child{width:13%}
 .staff-page #editForm{gap:12px 18px}.staff-page #editForm>.two-fields{grid-template-columns:1fr}
}

@media(min-width:761px){
 .staff-page #editForm:has(#customerSelection) #customerPicker{display:none}
 .staff-page #detailDialog .detail-form[data-kind=blocked] .detail-note-field{grid-column:1/-1;grid-row:1}
}

@media(min-width:761px){
 .staff-page #desktopFilterToggle{min-height:40px;padding:8px 12px;font-size:12px}
 .staff-page .calendar-jumps{gap:6px}.staff-page .desktop-calendar-modes{display:flex;gap:2px;background:var(--surface-inset);border:1px solid var(--line);padding:3px;border-radius:7px;margin-right:auto}
 .staff-page .desktop-calendar-modes button{border:0;background:none;font-size:12px;min-height:32px;padding:5px 12px}
 .staff-page .desktop-calendar-modes button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
 .staff-page .calendar-jumps[data-mode=agenda]>:is(.jump-caption,[data-calendar-jump]){display:none}
 .staff-page #desktopAgenda{display:grid;gap:8px;padding:2px 0}
 .staff-page #desktopAgenda .mobile-agenda-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:2px}
 .staff-page #desktopAgenda .mobile-calendar-event{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:68px;width:100%;padding:12px 16px;border:1px solid var(--line);border-left:3px solid var(--control-border);border-radius:7px;background:var(--paper);text-align:left;color:var(--ink)}
 .staff-page #desktopAgenda .mobile-calendar-event.pending{border-left-color:var(--pending-edge)}.staff-page #desktopAgenda .mobile-calendar-event.confirmed{border-left-color:var(--confirmed-edge)}.staff-page #desktopAgenda .mobile-calendar-event.blocked{border-left-color:var(--blocked-edge)}
 .staff-page #desktopAgenda .mobile-calendar-event:hover{background:var(--surface-raised)}
 .staff-page #desktopAgenda .mobile-event-time{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;font-variant-numeric:tabular-nums}.staff-page #desktopAgenda .mobile-event-time .mobile-event-day{font-size:10px;color:var(--muted)}
 .staff-page #desktopAgenda .mobile-event-body{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:4px 20px;font-size:13px;align-items:center}.staff-page #desktopAgenda .mobile-event-body>strong{font-weight:500;overflow-wrap:anywhere}
 .staff-page #desktopAgenda .mobile-event-room{grid-column:1;color:var(--muted);font-size:12px}.staff-page #desktopAgenda .mobile-event-comment{grid-column:1;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}.staff-page #desktopAgenda .mobile-event-comment-label{color:var(--subtle)}.staff-page #desktopAgenda .mobile-event-status{grid-column:2;grid-row:1/3;font-size:12px}
 .staff-page #desktopAgenda .pending .mobile-event-status{color:var(--pending-text)}.staff-page #desktopAgenda .confirmed .mobile-event-status{color:var(--confirmed-text)}.staff-page #desktopAgenda .blocked .mobile-event-status{color:var(--blocked-text)}
 .staff-page #desktopAgenda .mobile-event-value{font-size:14px;min-width:84px;text-align:right;font-variant-numeric:tabular-nums}.staff-page #desktopAgenda .mobile-agenda-empty{padding:32px;text-align:center;border:1px dashed var(--line);border-radius:7px}.staff-page #desktopAgenda .mobile-agenda-empty p{margin-bottom:16px;font-size:13px}
 .staff-page #mobileFilterDialog{width:min(560px,calc(100vw - 48px));max-width:560px}
 .staff-page #mobileFilterBody .staff-filters{grid-template-columns:1fr 1fr;border:0;padding:0}.staff-page #mobileFilterBody .search-field{grid-column:1/-1}.staff-page #mobileFilterBody #applyFilters{grid-column:1/-1;background:var(--accent);color:var(--on-accent);margin-top:8px}
 .staff-page #resetMobileFilters{width:100%;min-height:40px;margin-top:8px;font-size:12px}
 /* Reserve validation space so blur never moves the next click target. */
 .staff-page :is(#editForm,#detailForm,#loginForm) label:has(>input:not([type=checkbox]):not([type=radio])){position:relative;padding-bottom:34px;align-content:start}
 .staff-page :is(#editForm,#detailForm,#loginForm) label:has(>input:not([type=checkbox]):not([type=radio]))>.field-error{position:absolute;left:0;right:0;bottom:0;margin:0;min-height:30px;line-height:15px;font-size:11px}
}
@media(min-width:761px) and (max-width:1099px){.staff-page #desktopAgenda .mobile-event-body{grid-template-columns:1fr}.staff-page #desktopAgenda .mobile-event-status{grid-column:1;grid-row:auto}.staff-page #desktopAgenda .mobile-calendar-event{grid-template-columns:90px minmax(0,1fr) auto;gap:12px}}

@media(min-width:761px){
 .staff-page #editDialog[data-mode=new] #editForm{grid-template-rows:max-content min-content min-content minmax(0,1fr) auto}
}

@media(min-width:761px){.staff-page .booking-overview .metric-help>p{left:0;right:auto}}

@media(min-width:761px){.staff-page :is(#editForm,#detailForm) :is(.primary-contact,.additional-contact)>label{align-content:start}}

/* A narrow laptop keeps the whole year visible rather than scrolling it. */
@media(min-width:761px) and (max-width:1160px){.staff-page #loadChart{--cell:11px}}
