
/* Calendar and Cleaning workspace presentation. Data and business-state handlers stay in their existing modules. */
body.sg-workspace-mode{overflow:hidden}
body.sg-workspace-mode #app .content-area{position:fixed;top:var(--workspace-top);bottom:var(--workspace-bottom);left:var(--workspace-left);right:0;max-width:none;width:auto;padding:10px 16px;display:flex;flex-direction:column;gap:8px;overflow:hidden}
body.sg-workspace-mode #mainPageIntro{flex:none;margin:0;min-height:0}body.sg-workspace-mode #mainPageTitle{font-size:20px;margin:0}body.sg-workspace-mode #mainPageSubtitle,body.sg-workspace-mode #todayLabel{display:none}
body.sg-workspace-mode #summarySection{flex:none;margin:0;gap:8px}body.sg-workspace-mode #summarySection .summary-card{min-height:56px;padding:7px 10px;display:flex;align-items:center;gap:8px}body.sg-workspace-mode #summarySection .summary-icon{width:28px;height:28px;font-size:18px}body.sg-workspace-mode #summarySection .summary-card-content{padding:0;display:flex;flex:1;gap:8px;align-items:center}body.sg-workspace-mode #summarySection .summary-card-content strong{font-size:22px}body.sg-workspace-mode #summarySection .summary-badge{display:none}
body.sg-workspace-mode #calendarView.active-view,body.sg-workspace-mode #cleaningView.active-view{flex:1;min-height:0;display:flex;flex-direction:column;margin:0}
body.sg-workspace-mode #calendarView .calendar-card{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;overflow:hidden}
body.sg-workspace-mode #calendarView .calendar-toolbar{flex:none}body.sg-workspace-mode #calendarView :is(#allPlannerView,#singleCalendarView){display:none!important}
.sg-workspace-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain;overflow-anchor:none;scroll-behavior:auto;touch-action:auto;scrollbar-gutter:stable}
.sg-workspace-weekdays[hidden],.sg-workspace-scroll[hidden]{display:none!important}.sg-workspace-scroll:after{content:"";display:block;height:90px}.sg-workspace-scroll:focus-visible{outline:2px solid var(--sg-selection-text);outline-offset:-3px}
.sg-workspace-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:8px 0;border-block:1px solid var(--sg-border-ui);background:var(--sg-card-bg);font-size:12px;text-align:center;flex:none}
.sg-workspace-month{padding:10px 10px 18px;min-width:0}.sg-workspace-month>h3{font-size:16px;margin:2px 0 10px;color:var(--sg-text)}.sg-workspace-month h4{margin:10px 0 6px;font-size:13px;color:var(--sg-text-muted)}
.sg-workspace-month--individual{padding:0 10px}.sg-workspace-month--individual+.sg-workspace-month--individual{margin-top:14px}
.sg-workspace-month--individual>.sg-workspace-month-title{box-sizing:border-box;display:flex;align-items:center;min-height:38px;margin:0;padding:7px 12px;border-top:2px solid var(--sg-primary);background:var(--sg-selection-bg);color:var(--sg-text);font-size:16px;line-height:1.4;text-align:left}
.sg-workspace-month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));width:100%;min-width:0;border:1px solid var(--sg-border-ui);border-bottom:0;background:var(--sg-card-bg);font-size:12px;text-align:center}
.sg-workspace-month-weekdays>div{min-width:0;padding:8px 2px;color:var(--sg-text-muted);font-weight:700}
.sg-workspace-month--individual .month-day-background.other-month{background:var(--sg-surface-soft)}
.sg-workspace-month .month-week-row{min-height:86px;grid-template-rows:26px repeat(var(--sg-week-lanes,1),34px)}.sg-workspace-month .month-day-background{grid-row:1/-1!important}.sg-workspace-month .sg-mobile-extra-lane{display:flex}.sg-workspace-month .month-reservation-bar{height:28px;font-size:12px}.sg-workspace-month .month-day-number{font-size:12px}
.sg-workspace-month--individual .month-reservation-bar.sg-month-boundary-carry-out{position:relative;padding-right:18px;border-top-right-radius:2px;border-bottom-right-radius:2px}
.sg-workspace-month--individual .sg-month-boundary-progress{position:absolute;right:5px;top:50%;display:inline-flex;width:10px;height:14px;align-items:center;justify-content:center;transform:translateY(-50%);font-size:17px;font-weight:800;line-height:1;color:currentColor;pointer-events:none}
.sg-workspace-month--individual .month-reservation-bar.sg-month-boundary-carry-in{border-top-left-radius:2px;border-bottom-left-radius:2px}
.sg-workspace-month--individual .month-reservation-bar.sg-month-boundary-checkout{min-width:0;padding:0;align-items:center;justify-content:center;overflow:visible}
.sg-workspace-month--individual .sg-month-boundary-checkout-icon{display:inline-flex;width:100%;height:100%;align-items:center;justify-content:center;pointer-events:none}
.sg-workspace-month--individual .sg-month-boundary-checkout-icon svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.sg-workspace-month--individual .month-reservation-bar.sg-month-boundary-checkout:focus-visible{z-index:4;outline:3px solid var(--sg-navy,#0B1220);outline-offset:2px}
#cleaningView .sg-cleaning-planner{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-header{display:none}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title h2{font-size:20px;margin:0}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title p{display:none}body.sg-workspace-mode #cleaningView .sg-cleaning-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;flex:none}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card{min-height:56px;padding:8px 12px;display:flex;flex-direction:row;align-items:center;gap:8px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-heading{flex:1}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer{margin:0;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer strong{font-size:24px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-caption{font-size:11px}
body.sg-workspace-mode #cleaningView .sg-cleaning-planner-layout{display:flex;flex-direction:column;flex:1;min-height:0}body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-panel{display:flex;flex-direction:column;flex:1;min-height:0;width:100%}body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px;flex:none}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar{width:auto;flex:1;min-width:0;gap:4px}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar .sg-cleaning-view-switch{display:none}body.sg-workspace-mode #cleaningView #cleaningCalendar{display:none}body.sg-workspace-mode #cleaningView .sg-cleaning-legend{padding:5px 10px;flex:none}
.sg-workspace-filter{min-height:44px;max-width:240px;min-width:0;padding:7px 10px;border:1px solid var(--sg-control-border);border-radius:var(--sg-radius-control);color:var(--sg-text);background:var(--sg-card-bg);font:inherit;font-size:13px}
.sg-workspace-actions{display:flex;gap:8px;flex:none;align-items:stretch}.sg-workspace-actions #cwSummary{flex:2;min-width:0;margin:0}.sg-workspace-actions .sg-workspace-stats{flex:1;min-width:0;border:1px solid var(--sg-control-border);border-radius:var(--sg-radius-control);background:var(--sg-card-bg);color:var(--sg-text);font:inherit;font-size:13px;min-height:44px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px}
.sg-workspace-actions .sg-workspace-stats svg{width:20px;height:20px;flex:none}.sg-workspace-actions .cw-issue-summary{height:100%;width:100%;min-height:44px;flex-wrap:nowrap!important;padding:8px 10px}.sg-workspace-actions .cw-issue-summary small{display:none!important}.sg-workspace-actions .cw-issue-heading{flex:1;min-width:0}.sg-workspace-actions .cw-issue-summary strong{font-size:18px}.sg-workspace-actions .cw-issue-summary strong[data-unknown]{color:var(--sg-text-muted)}
body.sg-workspace-mode #cleaningView :is(.sg-cleaning-monthly,#cwOperations,.sg-cleaning-day-panel){display:none}
.sg-workspace-month .sg-cleaning-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(90px,auto);gap:0;border:1px solid var(--sg-border-ui)}.sg-workspace-month .sg-cleaning-calendar-day{min-height:90px;padding:6px 3px;border-right:1px solid var(--sg-border-ui);border-bottom:1px solid var(--sg-border-ui);border-radius:0;background:var(--sg-card-bg);text-align:left}
.sg-workspace-month .sg-cleaning-cleaner-pill{box-sizing:border-box;min-height:28px;border:2px solid transparent!important;filter:none!important;box-shadow:none!important}.sg-workspace-month .sg-cleaning-cleaner-pill.cw-completed{border-color:var(--sg-primary)!important;border-radius:5px}.sg-workspace-month .cw-calendar-check{color:var(--sg-selection-text);filter:none;background:transparent}.sg-workspace-month .sg-cleaning-calendar-day.selected{outline:2px solid var(--sg-selection-text);outline-offset:-2px}.sg-workspace-month .sg-cleaning-calendar-day:focus-visible{outline:3px solid var(--sg-navy,#0B1220);outline-offset:-3px}
.sg-workspace-dialog{max-width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:20px;overflow:auto;color:var(--sg-text);border:1px solid var(--sg-border-ui);border-radius:var(--sg-radius-card);background:var(--sg-card-bg)}.sg-workspace-dialog::backdrop{background:#0b122066}.sg-workspace-dialog header{display:flex;align-items:center;gap:12px;justify-content:space-between;position:sticky;top:-20px;padding:10px 0;background:var(--sg-card-bg);z-index:2}.sg-workspace-dialog h2{margin:0;font-size:20px}.sg-workspace-dialog button{min-height:44px;border:1px solid var(--sg-control-border);border-radius:var(--sg-radius-control);background:var(--sg-card-bg);color:var(--sg-text);padding:8px 12px;font:inherit;cursor:pointer}.sg-workspace-dialog svg{width:16px;height:16px;flex:none}.sg-workspace-dialog .cw-head h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sg-workspace-dialog :is(.cw-completed,.sg-cleaning-cleaner-pill.cw-completed){filter:none!important}.sg-workspace-dialog article.sg-cleaning-compact-card{border:2px solid transparent;border-radius:6px;padding:10px}.sg-workspace-dialog article.sg-cleaning-compact-card.cw-completed{border-color:var(--sg-primary)}.sg-workspace-dialog .cw-tasks{margin:0;border:0;padding:0}.sg-workspace-dialog .sg-cleaning-day-panel{display:block!important;width:auto;border:0}.sg-workspace-dialog .sg-workspace-stat-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.sg-workspace-dialog .sg-workspace-metrics{display:flex;gap:16px;flex-wrap:wrap;padding:16px 0}.sg-workspace-dialog progress{accent-color:var(--sg-primary);width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;appearance:none}.sg-workspace-dialog progress::-webkit-progress-bar{background:var(--sg-border-ui)}.sg-workspace-dialog progress::-webkit-progress-value{background:var(--sg-primary)}.sg-workspace-dialog .sg-cleaning-matrix-scroll{overflow:auto}.sg-workspace-dialog .sg-cleaning-matrix{border-collapse:collapse;min-width:0;width:100%;font-size:13px}.sg-workspace-dialog :is(th,td){padding:10px;border-bottom:1px solid var(--sg-border-ui);text-align:left}
.sg-workspace-note{padding:12px;border:1px dashed var(--sg-border-ui);border-radius:8px;color:var(--sg-text-muted);font-size:13px}.sg-workspace-task-group{grid-column:1/-1;margin:12px 0 4px}
@media(min-width:1101px){body.sg-workspace-mode #app .content-area{padding:28px var(--sg-desktop-content-gutter,30px) 10px}}
@media(max-width:760px){body.sg-workspace-mode #app .content-area{padding:6px 8px;gap:6px}body.sg-workspace-mode #mainPageIntro{gap:6px}body.sg-workspace-mode #mainPageTitle{font-size:17px}body.sg-workspace-mode #mainPageIntro button{min-height:40px;padding:7px 8px;font-size:12px}body.sg-workspace-mode #summarySection .summary-card{min-height:46px;padding:6px;gap:4px}body.sg-workspace-mode #summarySection .summary-icon{display:none}body.sg-workspace-mode #summarySection .summary-card-content{gap:4px}body.sg-workspace-mode #summarySection .summary-card-content span{font-size:11px}body.sg-workspace-mode #summarySection .summary-card-content strong{font-size:18px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card{padding:6px;gap:4px;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer{flex-direction:column;align-items:flex-end;flex-wrap:nowrap;max-width:82px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-caption{max-width:82px;text-align:right}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-icon{width:22px;height:22px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-label{font-size:11px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer{gap:4px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-caption{font-size:10px;line-height:1.3}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar{flex-basis:100%}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar .sg-cleaning-month-button{font-size:13px}body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar .sg-cleaning-today-button{font-size:11px}.sg-workspace-filter{max-width:none;width:100%;font-size:12px}.sg-workspace-actions .cw-issue-heading{font-size:12px}.sg-workspace-actions .cw-warning{display:none}.sg-workspace-actions .cw-issue-arrow{display:none}.sg-workspace-actions .sg-workspace-stats{font-size:12px;flex:1 1 0}.sg-workspace-month{padding:8px 2px 14px}.sg-workspace-month--individual{padding:0 2px}.sg-workspace-month--individual>.sg-workspace-month-title{min-height:36px;padding:6px 10px;font-size:15px}.sg-workspace-month-weekdays{font-size:11px}.sg-workspace-month-weekdays>div{padding:7px 1px}.sg-workspace-month .month-week-row{min-height:80px}.sg-workspace-month .sg-cleaning-calendar-day{padding:4px 2px;min-height:82px}.sg-workspace-month .sg-cleaning-cleaner-pill{font-size:10px;padding:3px 1px}.sg-workspace-dialog{padding:12px}.sg-workspace-dialog header{top:-12px}.sg-workspace-dialog h2{font-size:17px}}
@media(max-width:760px){
 #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:14px minmax(14px,auto) 14px;gap:1px;min-height:50px;padding:3px 2px;align-items:start}
 #cleaningView .sg-workspace-month .sg-cleaning-event-label{display:contents}
 #cleaningView .sg-workspace-month .sg-cleaning-event-code{grid-column:1;grid-row:1;font-size:10px}
 #cleaningView .sg-workspace-month .sg-cleaning-event-separator{display:none}
 #cleaningView .sg-workspace-month .sg-cleaning-event-property{grid-column:1;grid-row:2;white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-size:10px}
 #cleaningView .sg-workspace-month .sg-cleaning-event-state{display:flex!important;grid-column:1;grid-row:3;min-height:14px;max-width:100%;font-size:10px;white-space:nowrap;flex-wrap:nowrap}
}
@media(max-width:760px){.sg-workspace-dialog .cw-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.sg-workspace-dialog .cw-filters>select{width:100%;min-width:0;min-height:44px;font:inherit;font-size:13px}.sg-workspace-dialog .cw-filters>select:first-child,.sg-workspace-dialog .cw-quick-filters{grid-column:1/-1}.sg-workspace-dialog .cw-quick-filters{display:flex;gap:4px;flex-wrap:wrap}}
#app .sg-workspace-month .cw-followup{padding:0 1px;border-radius:3px;gap:0;line-height:1}#app .sg-workspace-month .cw-followup svg{width:11px;height:11px}
@media(max-height:570px){body.sg-workspace-mode #app .content-area{padding:4px 8px;gap:4px}body.sg-workspace-mode #cleaningView .sg-cleaning-planner{gap:4px}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title{display:none}body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays>div{padding:4px 0}body.sg-workspace-mode #cleaningView .sg-cleaning-legend{padding:2px 8px}body.sg-workspace-mode #mainPageIntro{display:none!important}body.sg-workspace-mode #summarySection .summary-card{min-height:38px;padding:3px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card{min-height:38px;padding:3px}}
@media(min-width:1101px) and (max-height:570px){body.sg-workspace-mode #app .content-area{padding-inline:var(--sg-desktop-content-gutter,30px)}}
@media(prefers-reduced-motion:reduce){.sg-workspace-scroll{scroll-behavior:auto}}

.sg-calendar-landscape-strip{display:none}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #app .content-area{padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:6px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .top-header{height:52px;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .top-header .sg-header-slogan{display:none!important}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .mobile-logo{width:32px;height:32px;flex-basis:32px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .mobile-brand strong{font-size:15px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro{min-height:44px;align-items:center}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageTitle{font-size:19px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro .sg-menu-heading{gap:0}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro .sg-menu-heading-icon{display:none!important}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro .page-intro-actions{display:flex!important;max-width:132px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro .secondary-action{display:none!important}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #mainPageIntro .primary-action{display:block;min-width:44px;max-width:132px;min-height:44px;height:auto;padding:7px 10px;font-size:12px;line-height:1.2;white-space:normal}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #calendarSectionTabs{min-height:44px;margin:0}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #summarySection{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #summarySection .summary-card{min-height:42px;padding:5px 6px;border-radius:8px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #summarySection .summary-card-content{display:grid;gap:1px;align-content:center}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #summarySection .summary-card-content span{font-size:10px;line-height:1.15}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #summarySection .summary-card-content strong{font-size:16px;line-height:1}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #calendarView .calendar-card{border-radius:10px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #calendarView .calendar-toolbar{padding:5px;gap:5px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #calendarView .calendar-toolbar :is(button,select){min-height:44px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) #calendarView .month-title{font-size:14px}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .sg-workspace-month{padding:0;min-height:100%}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .sg-workspace-scroll:after{height:12px}
.sg-mobile-scroll-hint{display:none;color:var(--sg-text-muted);font-size:10px;line-height:1.3;text-align:center}
.sg-mobile-reservation-summary{display:none;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid var(--sg-border-ui);border-radius:10px;background:var(--sg-card-bg);color:var(--sg-text)}
.sg-mobile-reservation-summary[hidden]{display:none!important}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .sg-mobile-scroll-hint{display:block}
body.sg-mobile-all-calendar:not(.sg-mobile-calendar-landscape) .sg-mobile-reservation-summary:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}
.sg-mobile-reservation-summary strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg-mobile-reservation-summary p{grid-column:1/-1;margin:0;color:var(--sg-text-muted);font-size:11px;line-height:1.4}.sg-mobile-reservation-summary button{grid-column:1/-1;min-height:44px;border:1px solid var(--sg-primary);border-radius:8px;background:var(--sg-card-bg);color:var(--sg-selection-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
body.sg-mobile-all-calendar #calendarView .sg-planner-reservation[aria-pressed="true"]{outline:3px solid var(--sg-navy,#0B1220);outline-offset:1px;z-index:7!important}
body.sg-mobile-calendar-landscape{padding-bottom:0!important}
body.sg-mobile-calendar-landscape .sidebar{display:none!important}
body.sg-mobile-calendar-landscape .main-shell{width:100%!important;margin-left:0!important}
body.sg-mobile-calendar-landscape .top-header{box-sizing:border-box;width:100%;height:40px;padding:0 max(8px,env(safe-area-inset-left)) 0 max(8px,env(safe-area-inset-right));gap:8px}
body.sg-mobile-calendar-landscape .mobile-brand{display:flex;align-items:center;gap:6px;min-width:0}
body.sg-mobile-calendar-landscape .mobile-logo{display:flex;width:27px;height:27px;flex:0 0 27px;overflow:hidden;border-radius:7px}
body.sg-mobile-calendar-landscape .mobile-brand strong{font-size:12px;white-space:nowrap}
body.sg-mobile-calendar-landscape :is(.header-search,.sg-header-slogan,.header-actions>.sg-language-picker,.header-actions>.notification-button,.header-actions>.profile-block){display:none!important}
body.sg-mobile-calendar-landscape .header-actions{margin-left:auto}
body.sg-mobile-calendar-landscape .sg-mobile-menu-picker{display:block}
body.sg-mobile-calendar-landscape .bottom-nav{display:none!important}
body.sg-mobile-calendar-landscape #app .content-area{padding:4px max(6px,env(safe-area-inset-right)) 4px max(6px,env(safe-area-inset-left));gap:4px}
body.sg-mobile-calendar-landscape .sg-calendar-landscape-strip{display:flex;box-sizing:border-box;min-height:30px;align-items:center;gap:8px;padding:1px 42px 1px 8px;border:1px solid var(--sg-border-ui);border-radius:7px;background:var(--sg-card-bg);color:var(--sg-text)}
body.sg-mobile-calendar-landscape .sg-calendar-landscape-title{margin-right:auto;font-size:12px;font-weight:750}
body.sg-mobile-calendar-landscape .sg-calendar-landscape-toggle{display:flex;min-width:58px;min-height:28px;align-items:center;justify-content:center;gap:5px;padding:2px 8px;border:0;border-radius:6px;background:var(--sg-selection-bg);color:var(--sg-selection-text);font:inherit;font-size:10px;font-weight:700;cursor:ns-resize;touch-action:none}
body.sg-mobile-calendar-landscape .sg-calendar-landscape-toggle:focus-visible{outline:2px solid var(--sg-selection-text);outline-offset:2px}
body.sg-mobile-calendar-landscape .sg-calendar-landscape-handle{width:28px;height:3px;border-radius:999px;background:var(--sg-text-muted);opacity:.65}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed :is(#mainPageIntro,#calendarSectionTabs,#summarySection,#calendarView .calendar-card-header){display:none!important}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .top-header{height:0;padding:0;border:0;overflow:visible}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .top-header .mobile-brand{display:none!important}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .top-header .header-actions{position:absolute;top:1px;right:max(6px,env(safe-area-inset-right));z-index:2;margin:0}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .top-header .sg-mobile-more-button{width:28px;height:28px;border-radius:7px}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .top-header .sg-mobile-more-button svg{width:17px;height:17px}
body.sg-mobile-calendar-landscape.sg-calendar-chrome-collapsed .sg-calendar-landscape-strip{min-height:30px}
body.sg-mobile-calendar-landscape #calendarSectionTabs{margin:0;min-height:40px}
body.sg-mobile-calendar-landscape #summarySection{grid-template-columns:repeat(3,minmax(0,1fr))}
body.sg-mobile-calendar-landscape #calendarView .calendar-card{border-radius:10px}
body.sg-mobile-calendar-landscape #calendarView .calendar-toolbar{min-height:36px;padding:2px 5px;gap:3px}
body.sg-mobile-calendar-landscape #calendarView .calendar-toolbar :is(.month-button,.today-button){min-height:32px;height:32px;padding-block:2px}
body.sg-mobile-calendar-landscape #calendarView .month-title{font-size:15px}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-view-select{display:none}
body.sg-mobile-calendar-landscape #calendarView .calendar-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,132px);align-items:center}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-date-nav{width:100%;min-width:0;gap:3px}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-date-nav .month-button{width:32px;flex-basis:32px}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-date-nav .month-center{flex:1;min-width:0;gap:4px;flex-wrap:nowrap}
body.sg-mobile-calendar-landscape #calendarView .month-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.sg-mobile-calendar-landscape #calendarView .today-button{padding-inline:7px;font-size:10px}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-selectors{display:flex;width:100%;margin:0}
body.sg-mobile-calendar-landscape #calendarView .sg-calendar-property-select{display:block;width:100%;min-width:0;min-height:32px;height:32px;padding:2px 6px;font-size:10px}
body.sg-mobile-calendar-landscape #calendarView .property-tabs{display:none}
body.sg-mobile-calendar-landscape #calendarView .property-filter-area{min-height:34px;padding:2px 5px}
body.sg-mobile-calendar-landscape #calendarView .property-tabs :is(button,.property-tab){min-height:32px;padding-block:3px;font-size:11px}
body.sg-mobile-calendar-landscape .sg-workspace-scroll{overflow-y:auto;scrollbar-gutter:stable}
body.sg-mobile-calendar-landscape .sg-workspace-scroll:after{display:none}
body.sg-mobile-calendar-landscape .sg-workspace-month{padding:0;min-height:100%}
@media(max-width:760px){}

@media(min-width:1200px){
 body.sg-workspace-mode #app.sg-single-calendar-pc :is(#mainPageIntro,#summarySection,#calendarView){width:min(100%,1200px);margin-left:auto;margin-right:auto}
 body.sg-workspace-mode #app.sg-single-calendar-pc .content-area{padding-inline:var(--sg-desktop-content-gutter,30px)}
 body.sg-workspace-mode #app.sg-single-calendar-pc #mainPageIntro{padding:8px 12px;margin:0 auto;border-radius:12px 12px 0 0}
 body.sg-workspace-mode #app.sg-single-calendar-pc #summarySection{margin:0 auto;border-radius:0 0 12px 12px}
 body.sg-workspace-mode #app.sg-single-calendar-pc #summarySection .summary-card{min-height:44px;padding:6px 16px}
 body.sg-workspace-mode #app.sg-single-calendar-pc #summarySection .summary-icon{width:26px;height:26px;font-size:15px}
 body.sg-workspace-mode #app.sg-single-calendar-pc #summarySection .summary-card-content strong{font-size:18px}
 body.sg-workspace-mode #app.sg-single-calendar-pc #calendarView{margin:0 auto}
 body.sg-workspace-mode #app.sg-single-calendar-pc .sg-workspace-month--individual{padding-inline:12px}
 body.sg-workspace-mode #app.sg-single-calendar-pc .sg-workspace-month--individual>.sg-workspace-month-title{min-height:36px;padding:6px 10px;font-size:15px}
 body.sg-workspace-mode #app.sg-single-calendar-pc .sg-workspace-month .month-week-row{grid-template-rows:28px repeat(var(--sg-week-lanes,1),32px);min-height:max(92px,calc(28px + var(--sg-week-lanes,1) * 32px))}
 body.sg-workspace-mode #app.sg-single-calendar-pc .sg-workspace-month .month-reservation-bar{display:flex;height:28px;margin-block:2px;font-size:12px}
}
.sg-workspace-dialog #cwTasksHint{display:none}.sg-workspace-dialog .cw-task-compact .cw-task-meta{display:none}.sg-workspace-dialog .cw-task-compact h4{display:none}.sg-workspace-dialog .cw-task-compact .cw-task-title{font-size:14px;margin:0 0 6px}.sg-workspace-empty-groups{padding:10px 0;color:var(--sg-text-muted);font-size:13px}.sg-workspace-empty-groups summary{cursor:pointer}.sg-workspace-actions .cw-issue-heading{font-size:13px;line-height:1.35}.sg-workspace-actions .sg-workspace-stats{font-size:13px;line-height:1.35}
/* cleaning-polish:start — scoped presentation only */
body.sg-workspace-mode #cleaningView .sg-cleaning-planner{gap:10px}
body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title h2{letter-spacing:-.45px;font-weight:750}
body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-panel{border:1px solid var(--sg-border-ui);border-radius:16px;box-shadow:0 4px 18px #20344d05;overflow:hidden}
body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{padding:10px;gap:8px;background:var(--sg-card-bg)}
body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays{background:var(--sg-surface-soft,var(--sg-theme-surface,#f8fafc));border-color:var(--sg-border-ui)}
body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays>div{font-weight:650;color:var(--sg-text-muted)}
body.sg-workspace-mode #cleaningView .sg-cleaning-legend{gap:14px;padding:9px 12px;border-top:1px solid var(--sg-border-ui);background:var(--sg-card-bg)}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{border-radius:8px;border-width:1px!important;border-color:transparent!important}
/* Completion is a work state, while the provider colour remains on its badge. */
#cleaningView .sg-cleaning-calendar-panel{--sg-cleaning-completed-bg:var(--sg-theme-surface,#F5F6F7);--sg-cleaning-completed-border:var(--sg-theme-border,#D7DDE2);--sg-cleaning-completed-text:#536171}
#cleaningView .sg-cleaning-calendar-panel .sg-cleaning-cleaner-pill.cw-completed,
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill.cw-completed{background:var(--sg-cleaning-completed-bg)!important;border:1px solid var(--sg-cleaning-completed-border)!important;border-left:1px solid var(--sg-cleaning-completed-border)!important;color:var(--sg-cleaning-completed-text)!important;filter:none!important;opacity:1}
#cleaningView .sg-cleaning-calendar-panel .sg-cleaning-cleaner-pill.cw-completed .sg-cleaning-event-property,
#cleaningView .sg-cleaning-calendar-panel .sg-cleaning-cleaner-pill.cw-completed .cw-calendar-check{color:var(--sg-cleaning-completed-text)!important}
#cleaningView .sg-cleaning-calendar-panel .sg-cleaning-cleaner-pill.cw-completed .cw-calendar-check{background:transparent!important}
@media(max-width:760px){
 body.sg-workspace-mode:has(#cleaningView.active-view) #app .content-area{padding:10px 10px 6px;gap:8px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title h2{font-size:19px;line-height:1.3}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary{gap:8px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.today,body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.tomorrow{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:7px;min-height:94px;padding:10px 11px;border-radius:14px;box-shadow:0 2px 10px #20344d04;background:var(--sg-card-bg)}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-heading{align-items:center;gap:7px;min-height:30px;flex:none}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-icon{width:25px;height:25px;border-radius:8px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-icon svg{width:16px;height:16px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-label{font-size:12px;line-height:1.35;font-weight:600;overflow-wrap:normal}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;max-width:none;width:100%;margin:0}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer strong{font-size:27px;line-height:1;letter-spacing:-1px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-caption{font-size:10px;line-height:1.4;max-width:100px;text-align:right;text-wrap:balance}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions{gap:8px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions #cwSummary{flex:1.55}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-summary,body.sg-workspace-mode #cleaningView .sg-workspace-stats{min-height:44px;border-radius:12px;padding:9px 10px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-heading{font-size:11px;line-height:1.3;gap:5px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-summary strong{font-size:19px;margin-left:auto}
 body.sg-workspace-mode #cleaningView .sg-workspace-stats{font-size:11px;gap:5px}
 body.sg-workspace-mode #cleaningView .sg-workspace-stats svg{width:17px;height:17px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{padding:8px;gap:7px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar{display:grid;grid-template-columns:38px minmax(0,1fr) 38px auto;gap:4px;width:100%;align-items:center}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar button{min-height:44px;min-width:0;padding:6px;border-radius:10px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar .sg-cleaning-month-button{font-size:13px;font-weight:700;border-color:transparent;background:transparent}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar .sg-cleaning-today-button{font-size:10px;padding:6px 8px;background:var(--sg-surface-soft,var(--sg-theme-surface,#f8fafc))}
 body.sg-workspace-mode #cleaningView .sg-workspace-filter{font-size:14px;min-height:44px;padding:8px 10px;border-radius:10px;background:var(--sg-surface-soft,var(--sg-theme-surface,#f8fafc))}
 body.sg-workspace-mode #cleaningView .sg-workspace-month{padding:0 0 12px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month>h3{padding:8px 10px;margin:0;font-size:13px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{border-left:0;border-right:0;grid-auto-rows:minmax(88px,auto)}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day{min-height:88px;padding:5px 2px;border-color:var(--sg-theme-border,#edf1f5)}
 body.sg-workspace-mode #cleaningView .sg-cleaning-day-number{font-size:11px;font-weight:600;padding:1px 2px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:19px minmax(14px,auto);gap:2px;min-height:49px;padding:4px 3px;align-items:start;line-height:1.2}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-code{grid-row:1;font-size:10px;min-width:0}
 body.sg-workspace-mode #cleaningView .sg-workspace-month [data-cw-reservation] .sg-assignment-calendar-badge{min-width:22px;height:18px;font-size:10px;border:0;border-radius:5px;margin:0;padding:0 3px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-property{grid-row:2;font-size:10px;line-height:1.3;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-event-state{position:absolute;grid-column:auto;grid-row:auto;right:2px;top:5px;min-height:12px;max-width:14px;font-size:10px;gap:0}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .cw-calendar-check{font-size:11px;font-weight:750;color:#187e73}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill.cw-issue .sg-cleaning-event-state{max-width:none}
 body.sg-workspace-mode:has(#cleaningView.active-view) .sg-header-slogan strong{white-space:normal;font-size:10px;line-height:1.2}
 .sg-cleaning-stats .sg-cleaning-amounts article{border:1px solid var(--sg-border-ui);border-radius:12px;padding:12px;margin:9px 0;background:var(--sg-surface-soft,var(--sg-theme-surface,#f8fafc))}
}
@media(max-width:380px){body.sg-workspace-mode #cleaningView .sg-cleaning-summary-label{font-size:11px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.today,body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.tomorrow{padding:9px}body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-heading{font-size:10px}}
@media(max-height:570px) and (max-width:760px){body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.today,body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.tomorrow{min-height:60px;padding:6px;gap:3px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-heading{min-height:20px}body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer strong{font-size:21px}}
/* cleaning-polish:end */
/* next-arrival-cot:start */
#cleaningView .sg-cleaning-cot-indicator{display:inline-flex;flex:none;align-items:center;justify-content:center;width:13px;height:14px;color:#a65308;vertical-align:middle}
#cleaningView .sg-cleaning-cot-indicator svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#cleaningView .sg-workspace-month .sg-has-cot{position:relative}
#cleaningView .sg-cleaning-legend [data-cot-legend]{color:var(--sg-text-muted);font-weight:500}
@media(max-width:760px){
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot>.sg-cleaning-cot-indicator{position:absolute;top:5px;right:12px;width:9px;height:12px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot .sg-assignment-calendar-badge{min-width:16px;height:18px;padding:0 1px;font-size:9px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot .sg-cleaning-event-state{max-width:9px;font-size:9px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot .cw-calendar-check{font-size:9px}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot.cw-issue .sg-cleaning-event-state{right:2px;max-width:none}
 body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-has-cot.cw-issue>.sg-cleaning-cot-indicator{top:auto;right:2px;bottom:3px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-legend{gap:8px 12px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-legend]{font-size:10px;gap:4px}
}
/* next-arrival-cot:end */
/* cleaning-mobile-compact:start */
@media(max-width:760px){
 body.sg-workspace-mode #cleaningView .sg-cleaning-planner{gap:6px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title.sg-cleaning-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:44px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-mobile-heading h2{min-width:0;margin:0;font-size:22px;line-height:1.25}
 body.sg-workspace-mode #cleaningView .sg-cleaning-mobile-heading .sg-cleaning-today-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;min-height:44px;margin:0;padding:7px 10px;border:1px solid var(--sg-control-border);border-radius:var(--sg-radius-control);background:var(--sg-card-bg);color:var(--sg-text);font:inherit;font-size:12px;line-height:1.3;cursor:pointer}
 body.sg-workspace-mode #cleaningView .sg-cleaning-mobile-heading .sg-cleaning-today-button:focus-visible{outline:2px solid var(--sg-selection-text);outline-offset:2px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.today,body.sg-workspace-mode #cleaningView .sg-cleaning-summary-card.tomorrow{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:6px 8px;min-height:64px;align-content:center;column-gap:6px;row-gap:2px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-heading{align-items:center;min-height:0}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer{display:contents}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-footer strong{grid-column:2;grid-row:1;align-self:center;justify-self:end;font-size:24px;line-height:1}
 body.sg-workspace-mode #cleaningView .sg-cleaning-summary-caption{grid-column:1/-1;grid-row:2;justify-self:end;max-width:100%;text-align:right;line-height:1.25}
 body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{display:flex;flex-wrap:nowrap;gap:0;padding:6px 8px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar{display:grid;grid-template-columns:44px minmax(72px,90px) 44px minmax(0,1fr);align-items:center;gap:4px;width:100%;min-width:0;flex:1 1 auto}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar>.sg-cleaning-nav-button{width:44px;min-width:44px;min-height:44px;margin:0;padding:0}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar>.sg-cleaning-nav-button:first-child{grid-column:1}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar>#cleaningMonthButton{grid-column:2;width:100%;min-width:0;min-height:44px;margin:0;padding:6px 3px;white-space:nowrap;font-size:13px}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar>#cleaningMonthButton+.sg-cleaning-nav-button{grid-column:3}
 body.sg-workspace-mode #cleaningView .sg-cleaning-toolbar>#workspaceCleaningProperty{grid-column:4;width:100%;max-width:none;min-width:0;min-height:44px;margin:0;padding:7px 6px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:8px;align-items:stretch}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions #cwSummary{display:flex;align-self:stretch;height:100%;margin:0}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions :is(.cw-issue-summary,.sg-workspace-stats){box-sizing:border-box;height:100%;min-height:52px;margin:0;padding:7px 8px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-warning{display:grid;width:22px;height:22px;border-radius:7px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-warning svg{width:15px;height:15px}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-heading{gap:6px;line-height:1.3}
 body.sg-workspace-mode #cleaningView .sg-workspace-actions .cw-issue-summary strong{font-size:18px}
}
/* cleaning-mobile-compact:end */

/* Cleaning dates only: one grid stroke, civil-day badge, and a noninteractive inner frame. */
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{position:relative;border:0!important}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:#BBCAD8;pointer-events:none}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid>*{box-sizing:border-box;border:0;border-right:1px solid var(--sg-theme-border,#BBCAD8);border-bottom:1px solid var(--sg-theme-border,#BBCAD8)}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid>:nth-child(7n+1){border-left:1px solid var(--sg-theme-border,#BBCAD8)}
body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-panel .sg-cleaning-weekdays{box-sizing:border-box;border-bottom:1px solid var(--sg-theme-border,#BBCAD8)}
body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-panel .sg-cleaning-weekdays>div{box-sizing:border-box;border-right:1px solid var(--sg-theme-border,#BBCAD8)}
body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-panel .sg-cleaning-weekdays>div:first-child{border-left:1px solid var(--sg-theme-border,#BBCAD8)}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day:not(.other-month) .sg-cleaning-day-number{font-weight:600}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day:not(.other-month):not(.weekend):not(.holiday):not(.today) .sg-cleaning-day-number{color:var(--sg-theme-text,#334155)}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day.today{position:relative;container:sg-cleaning-date / inline-size;background:var(--sg-theme-surface,#EFFBFA)!important;box-shadow:none!important}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day.today:not(:focus-visible){outline:none}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day.today::after{content:"";position:absolute;inset:0;box-sizing:border-box;border:2px solid #008C99;border-top-width:3px;pointer-events:none;z-index:2}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-date-heading{display:flex;align-items:center;gap:4px;min-width:0;flex:none}
body.sg-workspace-mode #cleaningView .sg-workspace-month .today .sg-cleaning-day-number{position:relative;z-index:3;display:grid;place-items:center;box-sizing:border-box;flex:0 0 28px;width:28px;height:28px;min-height:28px;margin:0;padding:0;background:#008C99!important;color:#fff!important;opacity:1!important;font-weight:700!important;border-radius:50%;line-height:1}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-today-label{display:none;white-space:nowrap;padding:0 4px;border-radius:4px;background:#D7F5EF;color:#006975;font-size:10px;line-height:18px;font-weight:700}
@container sg-cleaning-date (min-width:104px){body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-today-label{display:inline-flex}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-month .today .sg-cleaning-day-number{flex-basis:24px;width:24px;height:24px;min-height:24px}}
