#sgCleaningFlow{position:relative;flex:none;min-width:0;box-sizing:border-box;margin:0;padding:16px 20px 14px;border:1px solid var(--sg-border-ui,#cbe8e8);border-radius:16px;background:linear-gradient(118deg,var(--sg-selection-bg,#f2fcfb),var(--sg-card-bg,#fbfefe));color:var(--sg-text,#11263c);overflow:hidden}
#sgCleaningFlow .gcf-heading{display:flex;align-items:center;gap:10px;min-width:0;margin:0}#sgCleaningFlow .gcf-copy{display:grid;gap:3px;min-width:0}#sgCleaningFlow .gcf-title{font-size:16px;line-height:1.3;letter-spacing:-.2px;font-weight:650}#sgCleaningFlow .gcf-caption{font-size:10px;color:var(--sg-text-muted,#67868d);line-height:1.3}#sgCleaningFlow .gcf-brand{position:relative;display:grid;place-items:center;flex:none;width:38px;height:38px}#sgCleaningFlow .gcf-brand img{display:block;width:32px;height:32px;border-radius:50%;filter:drop-shadow(0 0 5px #00c7c638)}#sgCleaningFlow .gcf-orbit{position:absolute;inset:0;border:1px solid #0dc8c333;border-radius:50%;transform:rotate(var(--gcf-orbit,0deg))}#sgCleaningFlow .gcf-orbit:after{content:'';position:absolute;top:2px;left:5px;width:3px;height:3px;border-radius:50%;background:#18d9cf;box-shadow:0 0 5px #07c9c6;opacity:var(--gcf-awake,.2)}
#sgCleaningFlow .gcf-pause{display:grid;place-items:center;flex:none;margin-left:auto;width:44px;height:44px;padding:12px;border:0;border-radius:9px;background:transparent;color:var(--sg-text-muted,#67868d);cursor:pointer}#sgCleaningFlow .gcf-pause:focus-visible{outline:2px solid var(--sg-primary,#009ca4);outline-offset:-2px}#sgCleaningFlow .gcf-pause svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#sgCleaningFlow .gcf-pause[data-paused=false] .gcf-play-symbol,#sgCleaningFlow .gcf-pause[data-paused=true] .gcf-pause-symbol{display:none}
#sgCleaningFlow .gcf-timeline{position:relative;isolation:isolate;margin-top:15px}#sgCleaningFlow .gcf-track{position:absolute;left:12.5%;width:75%;top:18px;height:2px;border-radius:4px;background:var(--sg-border-ui,#d9e6e8);z-index:-1}#sgCleaningFlow .gcf-fill{position:absolute;left:0;top:0;height:100%;border-radius:4px;background:linear-gradient(90deg,#94d4ce,#0fc4c0)}#sgCleaningFlow .gcf-comet{position:absolute;top:-3px;left:0;width:65px;height:8px;transform:translateX(-100%);opacity:0}#sgCleaningFlow .gcf-tail{position:absolute;inset:2px 0;border-radius:50%;background:linear-gradient(90deg,transparent,#20c8c435 30%,#0ee5dfaa 78%,#fff);box-shadow:0 0 8px #19e4df45}#sgCleaningFlow .gcf-core{position:absolute;right:-3px;top:1px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 3px #fff,0 0 9px #00eddd,0 0 18px #00dcd4}
#sgCleaningFlow .gcf-stages{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0}#sgCleaningFlow .gcf-step{text-align:center;position:relative;margin:0;padding:0;min-width:0}#sgCleaningFlow .gcf-circle{display:grid;place-items:center;position:relative;width:36px;height:36px;margin:auto;border:1.5px solid var(--sg-border-ui,#cfdee1);border-radius:50%;background:var(--sg-card-bg,#f7fbfc);color:var(--sg-text-muted,#a2b5bb);transform:scale(var(--gcf-pop,1));box-shadow:0 0 calc(var(--gcf-pulse,0)*20px) var(--gcf-halo,transparent)}#sgCleaningFlow .gcf-circle svg{width:19px;height:19px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}#sgCleaningFlow .gcf-label{display:block;margin-top:8px;font-size:12px;line-height:1.3;font-weight:600;opacity:0;overflow-wrap:anywhere;color:var(--gcf-ink)}#sgCleaningFlow .gcf-step[data-reached=true] .gcf-circle{background:var(--gcf-tone);border-color:var(--gcf-tone);color:#fff}#sgCleaningFlow .gcf-step[data-index="0"]{--gcf-tone:#f4bc24;--gcf-ink:#92690f;--gcf-halo:#f4bc2440}#sgCleaningFlow .gcf-step[data-index="0"][data-reached=true] .gcf-circle{color:#675012}#sgCleaningFlow .gcf-step[data-index="1"]{--gcf-tone:#19a66b;--gcf-ink:#18774e;--gcf-halo:#19a66b40}#sgCleaningFlow .gcf-step[data-index="2"]{--gcf-tone:#069eaa;--gcf-ink:#07808b;--gcf-halo:#0bbfcf40}#sgCleaningFlow .gcf-step[data-index="3"]{--gcf-tone:#839099;--gcf-ink:var(--sg-text-muted,#506472);--gcf-halo:#95a4ad40}
@media(max-width:760px){body.sg-workspace-mode #cleaningView #sgCleaningFlow{padding:8px 10px 9px;border-radius:12px}#sgCleaningFlow .gcf-heading{gap:8px}#sgCleaningFlow .gcf-brand{width:28px;height:28px}#sgCleaningFlow .gcf-brand img{width:24px;height:24px}#sgCleaningFlow .gcf-title{font-size:12px;letter-spacing:0}#sgCleaningFlow .gcf-caption{font-size:9px}#sgCleaningFlow .gcf-pause{width:36px;height:36px;padding:9px;min-height:36px}#sgCleaningFlow .gcf-timeline{margin-top:7px}#sgCleaningFlow .gcf-circle{width:26px;height:26px}#sgCleaningFlow .gcf-circle svg{width:16px;height:16px}#sgCleaningFlow .gcf-track{top:13px}#sgCleaningFlow .gcf-label{margin-top:5px;font-size:9px;line-height:1.25}#sgCleaningFlow .gcf-comet{width:40px}}
@media(max-width:760px){#sgCleaningFlow .gcf-pause{width:44px;height:44px;min-height:44px;padding:13px;margin-top:-4px;margin-bottom:-4px}body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays>div{padding:4px 0!important;line-height:16px!important;font-size:10px!important}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-day-number{width:16px!important;height:14px!important;line-height:14px!important;min-height:0!important;margin:0 0 2px!important;font-size:10px!important}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-cleaner-pill{padding:2px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-legend{font-size:9px!important;gap:6px!important;padding:4px!important}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day{padding:2px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-day-number{height:12px!important;line-height:12px!important;width:14px!important;padding:0!important;margin:0 0 1px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-date-heading{min-height:0!important;height:13px!important;margin:0!important;padding:0!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-today-label{display:none!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-cleaner-pill{min-height:0!important;height:auto!important;padding:2px!important;border-width:1px!important;grid-template-rows:auto!important;line-height:10px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-event-label{gap:1px!important;line-height:10px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-event-property{font-size:9px!important;line-height:10px!important;max-height:20px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-assignment-calendar-badge{height:12px!important;min-height:12px!important;line-height:10px!important;padding:0 2px!important}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-scroll{scrollbar-gutter:auto!important;scrollbar-width:none}body.sg-workspace-mode #cleaningView .sg-workspace-scroll::-webkit-scrollbar{display:none}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day{padding:2px 1px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-cleaner-pill{padding:1px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-event-label{padding-right:0!important;grid-column:1/-1!important;width:100%!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-event-property{overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important}}
/* One status vocabulary, color and symbol across workflow guide, cards and legend. */
#cleaningView .sg-app-cleaning-status-icon{display:inline-grid;place-items:center;width:17px;height:17px;min-width:17px;flex:none;border-radius:50%;line-height:1;vertical-align:middle;box-sizing:border-box;font-size:12px}
#cleaningView .sg-app-cleaning-status-icon svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#cleaningView .sg-app-state-scheduled{background:#f4bc24;color:#71530c}#cleaningView .sg-app-state-scheduled i{width:4px;height:4px;border-radius:50%;background:currentColor}
#cleaningView .sg-app-state-confirmed{background:#19a66b;color:#fff}#cleaningView .sg-app-state-in_progress{background:transparent;color:#069eaa}#cleaningView .sg-app-state-completed{background:#839099;color:#fff}
#cleaningView .sg-app-sweeping svg{transform-origin:45% 78%;animation:sgAppBroomSweep .85s ease-in-out infinite}
@keyframes sgAppBroomSweep{0%,100%{transform:translateX(-2px) rotate(-16deg)}50%{transform:translateX(2px) rotate(16deg)}}
#cleaningView:not(.active-view) .sg-app-sweeping svg{animation-play-state:paused}
body.sg-workspace-mode #cleaningView .sg-cleaning-legend{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 4px!important;padding:9px 7px!important;align-items:center;flex:none}
#cleaningView .sg-cleaning-legend>[data-filter-provider-legend],#cleaningView .sg-cleaning-legend>span:has(.sg-cleaner-dot){display:none!important}
#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend]{display:flex;justify-content:center;gap:5px;min-width:0;white-space:nowrap;font-size:11px!important;line-height:1.3}
#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend=scheduled]{grid-column:1;grid-row:1}#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend=confirmed]{grid-column:2;grid-row:1}#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend=in_progress]{grid-column:3;grid-row:1}#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend=completed]{grid-column:4;grid-row:1}
#cleaningView .sg-cleaning-legend>[data-cot-legend],#cleaningView .sg-cleaning-legend>[data-cot-done-legend]{grid-column:1/-1;justify-self:start;font-size:10px}
body.sg-workspace-mode #cleaningView [data-cw-reservation][data-app-cleaning-state=scheduled]{background:#fff5cf!important;border-color:#f5dfa1!important;color:#4c432b!important}
body.sg-workspace-mode #cleaningView [data-cw-reservation][data-app-cleaning-state=confirmed]{background:#e2f5e9!important;border-color:#bbdfc9!important;color:#244839!important}
body.sg-workspace-mode #cleaningView [data-cw-reservation][data-app-cleaning-state=in_progress]{background:#e3f6f5!important;border-color:#9edbd6!important;color:#1b5456!important}
body.sg-workspace-mode #cleaningView [data-cw-reservation][data-app-cleaning-state=completed]{background:#eef0f2!important;border-color:#d9dee2!important;color:#52616e!important}
@media(max-width:760px){#cleaningView .sg-cleaning-legend>[data-cleaning-status-legend]{gap:4px;font-size:10px!important}#cleaningView .sg-cleaning-event-state .sg-app-cleaning-status-icon{width:13px;height:13px;min-width:13px}#cleaningView .sg-cleaning-event-state .sg-app-cleaning-status-icon svg{width:12px;height:12px}}
@media(prefers-reduced-motion:reduce){#cleaningView .sg-app-sweeping svg{animation:none!important}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView #sgCleaningFlow{padding:6px 10px 5px}#sgCleaningFlow .gcf-heading{min-height:28px;padding-right:34px}#sgCleaningFlow .gcf-pause{position:absolute;right:3px;top:1px;margin:0}#sgCleaningFlow .gcf-timeline{margin-top:6px}#cleaningView .sg-workspace-scroll .sg-cleaning-event-label{line-height:9px!important}#cleaningView .sg-workspace-scroll .sg-cleaning-event-property{line-height:9px!important;max-height:18px!important}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day [data-app-cleaning-state] .sg-cleaning-event-property{line-height:9px!important;max-height:18px!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day .sg-cleaning-day-number{margin-bottom:0!important}}
/* Menu matches the existing thin-line icons; title keeps the archived PNG. */
.sidebar-item[data-view=cleaningView] svg.sg-cleaning-house-outline,.nav-button[data-view=cleaningView] svg.sg-cleaning-house-outline{display:block;width:22px;height:22px;flex:none;fill:none}
.sidebar-item[data-view=cleaningView]:not(.active) svg.sg-cleaning-house-outline{color:#b7c5ce!important}
svg.sg-cleaning-house-outline .sg-cleaning-house-sparkle{fill:#35cbd0;stroke:none}
#cleaningView img.sg-cleaning-house-heading{width:44px!important;height:44px!important;object-fit:contain;flex:none}
@media(max-width:760px){#cleaningView img.sg-cleaning-house-heading{width:36px!important;height:36px!important}}

/* Stable menu geometry: only the selected item gains color and a small emphasis. */
.sidebar-item .sidebar-icon>svg,.nav-button .nav-icon>svg{width:22px!important;height:22px!important;flex:none;transform:scale(1);transform-origin:center;transition:color .16s ease,transform .16s ease}
.sidebar-item.active .sidebar-icon>svg,.nav-button.active .nav-icon>svg{color:var(--sg-primary,#009ca4)!important;transform:scale(1.08)}
.sidebar-item:not(.active) .sidebar-icon>svg{color:#b7c5ce!important}.nav-button:not(.active) .nav-icon>svg{color:var(--sg-text-muted,#6f8295)!important}
.sidebar-item:not(.active) svg.sg-cleaning-house-outline .sg-cleaning-house-sparkle,.nav-button:not(.active) svg.sg-cleaning-house-outline .sg-cleaning-house-sparkle{fill:currentColor}
@media(prefers-reduced-motion:reduce){.sidebar-item .sidebar-icon>svg,.nav-button .nav-icon>svg{transition:none}}
/* Month rows share the available calendar space before the readability expansion below. */
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{height:var(--sg-cleaning-height,420px)!important;grid-auto-rows:auto!important;grid-template-rows:repeat(var(--sg-clean-weeks,6),minmax(0,1fr))!important}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day{min-height:0!important;height:auto!important}
@media(min-width:1100px){#sgCleaningFlow{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.5fr);align-items:center;gap:24px;padding:12px 48px 12px 18px}#sgCleaningFlow .gcf-timeline{margin-top:0}#sgCleaningFlow .gcf-heading{padding-right:0}#sgCleaningFlow .gcf-pause{position:absolute;right:4px;top:8px;margin:0}}
/* A single APP height controller; keep readable rows when the window is short. */
body.sg-workspace-mode #cleaningView .sg-workspace-month{height:auto!important}
body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{height:max(calc(var(--sg-cleaning-height,420px) * 1.2),calc(var(--sg-clean-weeks,6) * 76.8px))!important}
body.sg-workspace-mode:has(#cleaningView.active-view) #app .content-area{overflow:hidden!important}
body.sg-workspace-mode #cleaningView .sg-cleaning-planner-layout{overflow:hidden;min-height:0!important}
body.sg-workspace-mode #cleaningView .sg-cleaning-day-panel{overflow:hidden!important;min-height:0!important;max-height:100%}
@media(min-width:1101px){body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;column-gap:14px;row-gap:0;align-items:center;flex:none}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title h2{grid-column:1;grid-row:1;margin:0!important}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title p{grid-column:1;grid-row:2;max-width:none;font-size:12px;line-height:18px;margin:0!important}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title>.sg-cleaning-today-button{grid-column:2;grid-row:1/3;margin:0!important;align-self:center}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title>.sg-month-genie-slot{grid-column:3;grid-row:1/3}body.sg-workspace-mode #cleaningView .sg-cleaning-desktop-summary-card{height:44px!important;min-height:44px!important;padding:5px!important}#sgCleaningFlow{padding-block:8px}#sgCleaningFlow .gcf-circle{width:30px;height:30px}#sgCleaningFlow .gcf-track{top:15px}#sgCleaningFlow .gcf-label{margin-top:4px;font-size:10px}}
@media(max-width:760px){body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{height:max(calc(var(--sg-cleaning-height,420px) * 1.15),calc(var(--sg-clean-weeks,6) * 66.7px))!important}body.sg-workspace-mode #cleaningView .sg-workspace-scroll .sg-workspace-month .sg-cleaning-calendar-day [data-app-cleaning-state] .sg-cleaning-event-property{font-size:9.5px!important;line-height:10px!important;max-height:20px!important}}
#cleaningView .sg-cleaning-calendar-day{position:relative}#cleaningView .sg-app-cleaning-more{position:absolute;right:3px;top:2px;font-size:10px;line-height:16px;font-weight:700;padding:0 3px;border-radius:5px;color:var(--sg-primary,#168f95);background:var(--sg-selection-bg,#e1f5f2)}
@media(min-width:1101px){body.sg-workspace-mode #cleaningView .sg-cleaning-desktop-summary{height:44px!important;min-height:44px!important}body.sg-workspace-mode #cleaningView .sg-workspace-month [data-app-cleaning-state] .sg-cleaning-event-property{font-size:11px!important;line-height:14px!important;max-height:28px!important}}
@media(min-width:1101px) and (max-height:800px){body.sg-workspace-mode:has(#cleaningView.active-view) #app .content-area{padding-block:8px!important;gap:6px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-planner{gap:6px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title p{display:none!important}body.sg-workspace-mode #cleaningView .sg-cleaning-planner-title h2{grid-row:1/3}#cleaningView img.sg-cleaning-house-heading{width:32px!important;height:32px!important}#sgCleaningFlow{padding-block:6px}#sgCleaningFlow .gcf-caption{display:none}#sgCleaningFlow .gcf-circle{width:24px;height:24px}#sgCleaningFlow .gcf-circle svg{width:15px;height:15px}#sgCleaningFlow .gcf-track{top:12px}#sgCleaningFlow .gcf-label{font-size:10px;line-height:10px;margin-top:3px}body.sg-workspace-mode #cleaningView .sg-cleaning-calendar-header{min-height:48px!important;padding-block:2px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays{height:28px!important}body.sg-workspace-mode #cleaningView .sg-cleaning-weekdays>div{padding-block:5px;font-size:11px;line-height:16px}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-grid{height:max(calc(var(--sg-cleaning-height,420px) * 1.2),calc(var(--sg-clean-weeks,6) * 72px))!important}body.sg-workspace-mode #cleaningView .sg-workspace-month .sg-cleaning-calendar-day{padding:2px 4px}body.sg-workspace-mode #cleaningView .sg-cleaning-legend{padding-block:6px!important;gap:6px 4px!important}}

/* Cot preparation is a centered, readable footer note, separate from status keys. */
body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-legend],body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-done-legend]{display:flex!important;flex:0 0 100%!important;width:100%!important;justify-content:center!important;align-items:center!important;gap:7px!important;text-align:center!important;min-height:28px!important}
body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-legend] .sg-cleaning-cot-indicator,body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-done-legend] .sg-cleaning-cot-indicator{width:28px!important;height:28px!important;flex:0 0 28px!important}
body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-legend] svg,body.sg-workspace-mode #cleaningView .sg-cleaning-legend [data-cot-done-legend] svg{width:28px!important;height:28px!important}
