
/* One calendar, one read scope. Keep the existing desktop grid/panel dimensions. */
body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar.sg-cl-filter-toolbar{display:grid!important;grid-template-columns:44px minmax(68px,1fr) 44px minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center;flex-wrap:nowrap}
body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cleaning-nav-button{width:44px!important;min-height:44px;order:0!important;grid-column:auto!important}
body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cleaning-month-button{min-width:0;min-height:44px;padding:4px 0!important;margin:0!important;order:0!important;grid-column:auto!important;font-size:13px;white-space:nowrap}
body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>#workspaceCleaningProperty,body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cleaning-view-switch{display:none!important}
body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cl-filter-button{order:0!important;display:flex;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:44px;padding:7px 8px;font:inherit;font-size:13px;margin:0;grid-column:auto!important}
.sg-cl-filter-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg-cl-filter-chevron{flex:none;font-size:11px}.sg-cl-provider-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--sg-cl-provider-color,#788b9e)}
.sg-cl-filter-menu{position:fixed;z-index:14000;margin:0;padding:6px;box-sizing:border-box;max-height:280px;overflow:auto;border:1px solid var(--sg-theme-border,#cbd8e4);border-radius:10px;background:var(--sg-card-bg,var(--sg-theme-surface,#fff));box-shadow:0 8px 28px #142e4929}
.sg-cl-filter-menu button{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:6px;text-align:left;font:inherit;font-size:14px;line-height:1.45;background:transparent;color:var(--sg-text,var(--sg-theme-text,#132744));white-space:normal;overflow-wrap:anywhere;cursor:pointer}.sg-cl-filter-menu button[aria-selected=true]{background:var(--sg-theme-surface,#e9f7f8)}.sg-cl-filter-menu button:focus-visible{outline:2px solid #008b99}
body.sg-workspace-mode #cleaningView .sg-cleaning-next-guests{display:flex;align-items:center;gap:4px;flex:0 0 100%;font-size:11px;line-height:1.35;font-weight:600}.sg-cleaning-next-guests svg{width:13px;height:13px;flex:none}body.sg-workspace-mode #cleaningView .sg-cleaning-cleaner-pill{flex-wrap:wrap}body.sg-workspace-mode #cleaningView .sg-cl-provider-tone:not(.cw-completed){background:var(--provider-bg,#edf5fa);background:color-mix(in srgb,var(--provider-bg,#edf5fa) 23%,white)}
.sg-cleaning-next-summary{display:grid;gap:7px;padding:10px 0;color:var(--sg-text);font-size:13px;line-height:1.55}.sg-cleaning-next-summary p{margin:0!important;overflow-wrap:anywhere}.sg-cleaning-next-summary [data-prep-cot=pending]{color:#9b6200}.sg-cleaning-next-summary [data-prep-cot=done]{color:#16804b}/* Read feedback belongs inside the calendar, never in the two-column planner grid. */
#cleaningView .sg-cl-read-status{flex:none;margin:8px 10px;padding:9px 12px;font-size:13px;color:#146571;background:var(--sg-theme-surface,#effbfa);border-radius:7px;line-height:1.5}
#cleaningView[aria-busy=true],#cleaningView .sg-cleaning-calendar-panel[aria-busy=true]{opacity:1}
#cleaningView.sg-data-not-ready #workspaceTomorrowCount,#cleaningView.sg-cl-read-unknown #workspaceTomorrowCount{visibility:hidden}
#cleaningView .sg-cl-read-status[role=alert]{color:#9f273a;background:var(--sg-theme-surface,#fff5f4)}
#cleaningView .sg-cl-read-status button{margin-left:10px;min-height:44px;padding:6px 12px;font:inherit;cursor:pointer}
#cleaningView.sg-data-not-ready>.sg-cleaning-planner{display:flex!important}
#cleaningView.sg-data-not-ready :is(.sg-cleaning-summary,.sg-cleaning-desktop-summary,#cleaningSelectedDayContent,#cleaningSelectedDateCount),#cleaningView.sg-cl-read-empty :is([data-cw-reservation],#cleaningSelectedDayContent,#cleaningSelectedDateCount){visibility:hidden}
body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title>.sg-cleaning-today-button{width:auto;justify-self:end;flex:0 0 auto}
#cleaningView .sg-cleaning-calendar-panel>.sg-data-status{flex:none;margin:8px 10px}
.sg-cl-read-unknown .sg-cleaning-summary,.sg-cl-read-unknown .sg-cleaning-desktop-summary,.sg-cl-read-unknown #cleaningSelectedDateCount{visibility:hidden}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{padding-left:6px!important;padding-right:6px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar.sg-cl-filter-toolbar{grid-template-columns:44px minmax(58px,.85fr) 44px minmax(0,1fr) minmax(0,1.1fr);gap:3px}body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cl-filter-button{padding:5px 3px;gap:3px;font-size:11.5px;letter-spacing:-.15px}body.sg-workspace-mode #cleaningView .sg-cl-filter-toolbar>.sg-cleaning-month-button{font-size:11.5px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-next-guests{font-size:11px}body.sg-workspace-mode #cleaningView .sg-cleaning-cleaner-pill{padding:4px!important}}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;height:auto!important;min-height:34px!important;max-height:none!important;gap:1px 3px}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-label{grid-row:1;grid-column:1;min-width:0;overflow:hidden;display:flex;align-items:center;gap:3px}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-state{grid-row:1;grid-column:2;position:static}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-next-guests{grid-row:2;grid-column:1/-1;min-width:0;flex-wrap:wrap;line-height:12px}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-label{flex-direction:column;align-items:flex-start;grid-column:1/-1;white-space:normal;overflow:visible;padding:0}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-property{font-size:10px!important;line-height:12px!important;white-space:normal;overflow-wrap:anywhere}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-state{position:absolute;top:4px;right:4px;width:12px;min-width:12px;max-width:none;min-height:12px;justify-content:center;gap:0;font-size:11px;line-height:12px}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-state .sg-cleaning-state-dot{width:10px;height:10px;flex:0 0 10px}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-state .sg-cleaning-status-icon{width:12px;height:12px;min-width:12px}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{min-height:54px!important}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-next-guests{font-size:10px;gap:2px}body.sg-workspace-mode #cleaningView .sg-cleaning-cleaner-pill .sg-assignment-calendar-badge{font-size:10px;min-width:18px!important;padding-inline:1px}}
body.sg-workspace-mode #cleaningView .sg-cleaning-next-guests .sg-cleaning-cot-indicator{color:#a96300}body.sg-workspace-mode #cleaningView .sg-cot-installed .sg-cleaning-next-guests .sg-cleaning-cot-indicator{color:#16804b}
