/* StilleWerkstatt: one room, two workflows, consistent component sizes. */
.zb-bc{--sw-bg:#f8f4fb;--sw-panel:#fff;--sw-line:#e1d4e9;--sw-ink:#35273d;--sw-muted:#74667b;--sw-accent:#eadff2;--sw-purple:#653481;box-sizing:border-box;max-width:none;margin:12px 0;padding:20px;background:var(--sw-bg);border-radius:18px;color:var(--sw-ink);font:14px/1.4 system-ui,sans-serif}
.zb-bc *,.zb-sw-modal *{box-sizing:border-box}.zb-bc [hidden],.zb-sw-modal [hidden]{display:none!important}.zb-bc p{margin:8px 0;font-size:14px;line-height:1.4}.zb-bc header{display:flex;align-items:center;gap:12px}.zb-bc h1{font-size:26px;margin:0}.zb-bc header span,.zb-bc header p{display:none}
.zb-bc button,.zb-sw-modal button{appearance:none;min-height:44px;padding:10px 14px;border:1px solid var(--sw-line,#d9c7e3);border-radius:10px;background:#f3ebf7;color:var(--sw-ink,#35273d);font:600 14px/1.25 system-ui,sans-serif;cursor:pointer;white-space:normal;text-align:center;overflow-wrap:break-word}.zb-bc button:disabled,.zb-sw-modal button:disabled{opacity:.45;cursor:default}.zb-bc button:focus-visible,.zb-bc summary:focus-visible,.zb-bc input:focus-visible,.zb-bc select:focus-visible,.zb-sw-modal :focus-visible{outline:3px solid #9661ae;outline-offset:3px}
.zb-bc input,.zb-bc select,.zb-bc textarea,.zb-sw-modal input:not([type=radio]):not([type=checkbox]),.zb-sw-modal select,.zb-sw-modal textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d9c7e3;border-radius:9px;background:#fff;color:#35273d;font:14px/1.4 system-ui,sans-serif}.zb-bc label{display:grid;gap:7px;font-size:14px}.zb-bc summary{cursor:pointer;font-size:14px;font-weight:600}.zb-bc h2{font-size:22px;margin:0 0 16px}
.zb-sw-daily:not(.zb-bc-focus){position:relative;left:50%;transform:translateX(-50%);width:calc(100vw - 48px);max-width:1600px;margin-left:0;margin-right:0}.zb-sw-daily header,.zb-sw-daily>.zb-bc-info,.zb-sw-daily>.zb-bc-picker,.zb-sw-daily>p:last-child,#zb-sw-archive,.zb-sw-feedback-count{display:none}.zb-sw-day-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:760px;margin:0 auto 20px}.zb-sw-day-nav button{min-height:48px;font-size:16px;background:#fff}.zb-sw-day-nav button[aria-pressed=true]{background:#eadff2;border-color:#c8acd9;color:#582574}
.zb-sw-daily[data-sw-tab=register] #zb-sw-groups,.zb-sw-daily[data-sw-tab=register] .zb-bc-toolbar,.zb-sw-daily[data-sw-tab=register] #zb-sw-day-controls,.zb-sw-daily[data-sw-tab=register] #zb-bc-clocks,.zb-sw-daily[data-sw-tab=register] #zb-bc-empty{display:none}.zb-sw-daily[data-sw-tab=today] #zb-sw-registration{display:none}
#zb-sw-registration{max-width:760px;margin:auto;padding:24px;border:1px solid var(--sw-line);border-radius:16px;background:white}.zb-sw-registration-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}.zb-sw-registration-form>label:first-child,.zb-sw-registration-form>label:nth-child(3),.zb-sw-registration-appointments,.zb-sw-register-save,.zb-sw-registration-form>[role=status]{grid-column:1/-1}.zb-sw-register-save{width:100%;background:#eadff2!important;color:#582574!important}.zb-sw-registration-appointments{padding:16px;border:1px solid var(--sw-line);border-radius:12px}.zb-sw-registration-appointments>summary{min-height:28px}.zb-sw-appointment-row{display:grid;grid-template-columns:130px minmax(0,1fr) 84px;gap:12px;align-items:end;padding-top:16px}.zb-sw-appointment-row>input{grid-column:1/3;grid-row:auto}.zb-sw-appointment-row>button{grid-column:3}.zb-sw-registration-form>[role=status]:empty{display:none}
.zb-sw-groups{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:12px 16px;border:1px solid var(--sw-line);border-radius:12px;background:white}.zb-sw-group-status{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.zb-sw-group-status span{display:none}.zb-sw-group-status strong{font-size:14px;font-weight:600}.zb-bc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.zb-bc-toolbar>strong{font-size:18px;font-weight:600}.zb-sw-common{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px;padding:12px 16px;border:1px solid var(--sw-line);border-radius:12px;background:white}.zb-sw-common>strong{flex:1;font-size:14px;font-weight:500}.zb-sw-common>span{display:none}.zb-sw-common>details{font-size:14px}.zb-sw-common>details[open]{flex-basis:100%}.zb-sw-common input{max-width:140px}.zb-sw-common button{background:#eadff2}
#zb-bc-message:empty{display:none}#zb-bc-message:not(:empty){padding:10px 14px;border:1px solid var(--sw-line);border-radius:9px;background:#f3ebf7;font-size:14px;margin:10px 0}
.zb-bc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}.zb-bc-card{--sw-slot:48px;--sw-actions:94px;position:relative;min-width:0;min-height:430px;display:flex;flex-direction:column;align-items:stretch;padding:18px;border:1px solid var(--sw-line);border-radius:16px;background:white;text-align:center}.zb-bc-card h2{margin:0;font-size:24px;line-height:1.2;min-height:29px;overflow-wrap:anywhere}.zb-bc .zb-bc-phase{font-size:14px;min-height:20px;margin:6px 0;color:var(--sw-muted)}.zb-bc-metrics{display:flex;align-items:center;justify-content:center;gap:18px;min-height:96px;flex:1;margin:10px 0}.zb-bc-ring{--tone:#ac88bd;width:100px;height:100px;flex:none;padding:7px;border-radius:50%;background:conic-gradient(var(--tone) var(--progress,0%),#f0eaf4 0)}.zb-bc-time{height:100%;display:grid;place-items:center;border-radius:50%;background:white;color:#111;font-size:32px;font-weight:700;font-variant-numeric:tabular-nums}.zb-bc-facts{text-align:left;max-width:55%}.zb-bc .zb-bc-balance{font-size:14px;font-weight:650;margin:0}.zb-sw-remaining{display:block;font-size:13px;color:var(--sw-muted);margin-top:6px}.zb-bc-work-done .zb-bc-time{color:#267344}.zb-bc-card[data-mode=pause] .zb-bc-ring{--tone:#e38a23}.zb-bc-card[data-mode=small] .zb-bc-ring{--tone:#dfbf32}
.zb-sw-agreement{margin:4px 0 8px}.zb-sw-agreement>summary{display:inline-flex;align-items:center;justify-content:center;min-height:32px;font-size:13px;color:#6c5b74;list-style:none}.zb-sw-agreement>summary::before{content:'▸';margin-right:6px}.zb-sw-agreement[open]>summary::before{content:'▾'}.zb-sw-child-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 12px;align-items:center}.zb-sw-child-tools>button,.zb-sw-child-more>summary{min-height:34px;font-size:13px;padding:7px 12px}.zb-sw-child-more{position:relative}.zb-sw-child-more>summary{cursor:pointer;display:flex;align-items:center;justify-content:center;border:1px solid var(--sw-line);border-radius:9px;background:#f3ebf7}.zb-sw-child-more>button{display:none}.zb-sw-child-more[open]{z-index:8}.zb-sw-child-more[open]>button{display:block;position:absolute;right:0;bottom:40px;width:165px;background:#faf7fc;box-shadow:0 3px 12px #35273d20}.zb-sw-child-more[open]>button:nth-of-type(2){bottom:88px}.zb-sw-child-more[open]>button:nth-of-type(3){bottom:136px}
.zb-sw-card-bottom{display:flex;flex-direction:column;gap:8px;margin-top:auto;flex:none}.zb-sw-appointments{height:var(--sw-slot);min-height:var(--sw-slot);display:flex}.zb-bc button.zb-sw-appointment{min-height:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 8px;background:#bd2727;color:white;border-color:#ad2424;font-size:13px;line-height:1.2}.zb-sw-appointment strong{font-size:14px;font-weight:600}.zb-sw-appointment span{font-size:12px}.zb-bc button.zb-sw-appointment.is-due{background:#ff0000;color:#111;border-color:#e00000}.zb-bc-actions{height:var(--sw-actions);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;flex:none}.zb-bc-actions button{min-height:0;height:100%;font-size:14px;line-height:1.2;padding:6px;display:flex;align-items:center;justify-content:center}.zb-bc .zb-bc-work{background:#eadff2;border-color:#bea1cf;color:#582574}.zb-bc .zb-bc-pause{background:#ffe0b9;border-color:#d59b50}.zb-bc .zb-bc-small{background:#fff2a9;border-color:#c5af4d}.zb-bc .zb-bc-finish{background:#f1edf5;border-color:#c8bdd0}
.zb-bc-settings,.zb-sw-appointment-panel{position:absolute;z-index:9;left:8px;right:8px;bottom:calc(var(--sw-slot) + var(--sw-actions) + 35px);max-height:calc(100% - var(--sw-slot) - var(--sw-actions) - 60px);overflow:auto;padding:14px;border:1px solid #cbb4d8;border-radius:12px;background:#fff;box-shadow:0 6px 28px #35273d25;text-align:left}.zb-bc-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zb-bc-settings label{font-size:13px}.zb-bc-settings input{min-height:38px;padding:6px 8px}.zb-bc-settings button{min-height:38px;font-size:13px;padding:7px}.zb-bc-footer{display:flex;gap:8px;grid-column:1/-1}.zb-bc-footer button{flex:1}.zb-sw-appointment-panel ul{padding-left:20px;font-size:14px}.zb-sw-appointment-panel button{margin:4px 4px 0 0}
.zb-sw-waiting .zb-bc-metrics,.zb-sw-waiting .zb-sw-agreement,.zb-sw-waiting .zb-sw-card-bottom{display:none}.zb-sw-waiting .zb-bc-phase{font-size:16px}.zb-sw-waiting .zb-sw-arrive{margin-top:auto;margin-bottom:8px;min-height:48px;background:#eadff2;color:#582574;font-size:17px}.zb-sw-waiting>details>summary{display:flex;align-items:center;justify-content:center;min-height:40px;font-size:13px}
.zb-sw-alerts{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Native top-layer screen view is independent of WordPress/Divi stacking. */
.zb-bc-focus-open{overflow:hidden!important}dialog.zb-bc-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f8f4fb;overflow:hidden}dialog.zb-bc-dialog::backdrop{background:#f8f4fb}.zb-bc.zb-bc-focus{position:fixed;inset:0;z-index:1000000;left:0;transform:none;width:100%;height:100dvh;max-width:none;margin:0;padding:10px;border-radius:0;display:flex;flex-direction:column}.zb-bc-focus header,.zb-bc-focus .zb-sw-day-nav,.zb-bc-focus>.zb-bc-info,.zb-bc-focus>.zb-bc-picker,.zb-bc-focus>p,.zb-bc-focus #zb-sw-registration{display:none!important}.zb-bc-focus .zb-sw-groups{margin:0 0 6px;padding:6px 12px;flex:none}.zb-bc-focus .zb-sw-group-status button,.zb-bc-focus .zb-bc-toolbar button{min-height:34px;padding:6px 12px;font-size:13px}.zb-bc-focus .zb-bc-toolbar{margin:0 0 6px;flex:none}.zb-bc-focus .zb-sw-common{padding:6px 12px;margin:0 0 8px;gap:8px}.zb-bc-focus .zb-sw-common strong{font-size:13px}.zb-bc-focus .zb-sw-common button{min-height:32px;font-size:13px;padding:6px 10px}.zb-bc-focus .zb-sw-common>details{display:none}.zb-bc-focus #zb-sw-day-controls{flex:none}.zb-bc-focus #zb-bc-message:not(:empty){position:absolute;right:200px;top:48px;max-width:40vw;padding:7px 10px;font-size:12px;z-index:10}
.zb-bc-focus .zb-bc-grid{flex:1;min-height:0;grid-template-columns:repeat(var(--bc-cols,3),minmax(0,1fr));grid-template-rows:repeat(var(--bc-rows,2),minmax(0,1fr));gap:10px}.zb-bc-focus .zb-bc-card{--sw-slot:36px;--sw-actions:64px;min-height:0;padding:8px 10px}.zb-bc-focus .zb-bc-card h2{font-size:20px;min-height:24px;line-height:1.2}.zb-bc-focus .zb-bc-phase{font-size:13px;line-height:1.2;min-height:16px;margin:3px 0}.zb-bc-focus .zb-bc-metrics{min-height:64px;margin:3px 0;gap:12px}.zb-bc-focus .zb-bc-ring{width:64px;height:64px;padding:5px}.zb-bc-focus .zb-bc-time{font-size:23px}.zb-bc-focus .zb-bc-balance{font-size:13px}.zb-bc-focus .zb-sw-remaining{font-size:12px;margin-top:3px}.zb-bc-focus .zb-sw-agreement{margin:0 0 3px}.zb-bc-focus .zb-sw-agreement>summary{min-height:24px;font-size:12px}.zb-bc-focus .zb-sw-child-tools{margin:0 0 5px;gap:6px}.zb-bc-focus .zb-sw-child-tools>button,.zb-bc-focus .zb-sw-child-more>summary{min-height:28px;font-size:12px;padding:5px 10px}.zb-bc-focus .zb-sw-card-bottom{gap:6px}.zb-bc-focus .zb-bc-actions{gap:4px}.zb-bc-focus .zb-bc-actions button{font-size:12px;line-height:1.1;padding:3px}.zb-bc-focus .zb-sw-appointment strong{font-size:13px}.zb-bc-focus .zb-sw-appointment span{font-size:11px}.zb-bc-focus .zb-sw-waiting .zb-sw-arrive{min-height:44px}.zb-bc-focus .zb-sw-waiting>details>summary{min-height:32px}
/* Shared modal components, with one compact traffic-light feedback form. */
dialog.zb-sw-modal{box-sizing:border-box;width:min(540px,94vw);height:fit-content;min-height:0;max-height:90dvh;overflow:auto;padding:24px;border:1px solid #d9c7e3;border-radius:16px;background:#faf7fc;color:#35273d;font:14px/1.4 system-ui,sans-serif;box-shadow:0 10px 50px #35273d30}dialog.zb-sw-modal::backdrop{background:#35273d66}.zb-sw-modal h2{margin:0 0 20px;padding-right:70px;font-size:21px;line-height:1.3}.zb-sw-modal .zb-sw-modal-close{position:absolute;top:14px;right:14px;min-height:32px;font-size:12px;padding:6px 9px}.zb-sw-modal label{display:flex;align-items:center;gap:9px;margin:8px 0}.zb-sw-modal button{background:#eee3f4;color:#582574;border-color:#d9c7e3}.zb-sw-modal input[type=checkbox],.zb-sw-modal input[type=radio]{accent-color:#9661ae}.zb-sw-simple-feedback{display:grid;gap:18px}.zb-sw-simple-feedback>label{display:grid;gap:7px;margin:0}.zb-sw-simple-feedback>label:has(input[type=checkbox]){display:flex}.zb-sw-simple-feedback textarea{min-height:85px;resize:vertical}.zb-sw-traffic{display:flex;gap:12px;padding:0;border:0;margin:0}.zb-sw-traffic legend{font-size:16px;margin-bottom:12px}.zb-sw-traffic label{display:flex;flex:1;flex-direction:column;align-items:center;gap:10px;padding:12px 8px;margin:0;border:2px solid transparent;border-radius:13px;font-size:16px;cursor:pointer}.zb-sw-traffic input{position:absolute;opacity:0;width:1px;height:1px}.zb-sw-dot{width:50px;height:50px;display:block;border:2px solid #0002;border-radius:50%}.zb-sw-dot.good{background:#71b777}.zb-sw-dot.medium{background:#f2cf59}.zb-sw-dot.bad{background:#e57878}.zb-sw-traffic label:has(input:checked){border-color:#9661ae;background:#eee3f4}.zb-sw-traffic label:has(input:focus-visible){outline:3px solid #9661ae}.zb-sw-comment-hint{font-size:14px;margin:0}.zb-sw-simple-feedback>[role=status]:empty,.zb-sw-comment-hint:empty{display:none}.zb-sw-simple-feedback~button{width:100%;margin-top:20px;font-size:16px;background:#eadff2}
.zb-sw-modal:has(#zb-sw-archive){width:min(820px,94vw)}.zb-sw-modal #zb-sw-archive{display:block}.zb-sw-archive-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.zb-sw-archive-filters label{display:grid}.zb-sw-history-day{padding:14px 0;border-bottom:1px solid #e1d4e9}.zb-sw-history-day summary{cursor:pointer}.zb-sw-history-day p{font-size:14px}.zb-sw-history-day small{display:block;color:#74667b}.zb-sw-history-day form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.zb-sw-history-day form label{display:grid}.zb-sw-history-day form input{max-width:120px}
/* Retained legacy account markup and shortcode compatibility. */
.zb-bc-picker{background:white;border-radius:12px;padding:14px;margin:12px 0}.zb-bc-pick{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e1d4e9}.zb-bc-account{padding:12px 0}.zb-bc-account form{display:flex;align-items:end;gap:12px;margin:12px 0}.zb-bc-account input{max-width:180px}.zb-bc-account .zb-bc-add-minutes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto}.zb-sw-plan-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:12px 0;padding:14px}.zb-sw-plan-form>button{margin-top:12px}
@media(max-width:650px){.zb-bc{padding:12px}.zb-sw-daily:not(.zb-bc-focus){width:calc(100vw - 24px)}.zb-sw-registration-form,.zb-sw-archive-filters{grid-template-columns:1fr}.zb-sw-registration-form>*{grid-column:1!important}.zb-sw-appointment-row{grid-template-columns:100px minmax(0,1fr)}.zb-sw-appointment-row>button{grid-column:1/-1}.zb-sw-group-status{flex-wrap:wrap}.zb-bc-account form{flex-direction:column;align-items:stretch}.zb-bc-account .zb-bc-add-minutes{grid-template-columns:1fr}.zb-sw-day-nav button{font-size:14px}}
.zb-sw-appointment-row>button{grid-row:1}
.zb-sw-registration-form>label:nth-child(3){grid-column:auto}.zb-bc-actions button{padding:4px 6px}.zb-bc-focus .zb-bc-actions button{padding:1px 2px;line-height:1.05}.zb-sw-appointment strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zb-bc-card h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.zb-bc-focus .zb-bc-card h2{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.zb-bc-card h2{font-weight:650}.zb-bc-focus .zb-bc-card{--sw-actions:60px}.zb-bc-focus .zb-bc-metrics{min-height:56px;margin:2px 0}.zb-bc-focus .zb-bc-ring{width:56px;height:56px}.zb-bc-focus .zb-bc-time{font-size:22px}.zb-bc-focus .zb-bc-phase{margin:2px 0}.zb-bc-focus .zb-sw-agreement>summary{min-height:22px}.zb-bc-focus .zb-sw-child-tools{margin-bottom:3px}.zb-bc-focus .zb-bc-actions button{line-height:1;padding:1px 2px}.zb-bc-focus button.zb-sw-appointment{padding:1px 6px;gap:1px;line-height:1.1}
/* Native select/time controls need explicit metrics; browser/theme defaults differ. */
.zb-bc .zb-sw-appointment-row{align-items:start}.zb-bc .zb-sw-appointment-row>label{display:grid;grid-template-rows:20px 44px;gap:8px;margin:0!important;padding:0;line-height:20px;font-size:14px;align-content:start}.zb-bc .zb-sw-appointment-row input,.zb-bc .zb-sw-appointment-row select,.zb-bc .zb-sw-appointment-row>button{box-sizing:border-box;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:8px 12px;font:14px/1.25 system-ui,sans-serif;vertical-align:top}.zb-bc .zb-sw-appointment-row>button{margin-top:28px!important}.zb-bc .zb-sw-appointment-row>input{margin-top:0!important}
@media(max-width:650px){.zb-bc .zb-sw-appointment-row>button{grid-column:1/-1;grid-row:auto;margin-top:0!important}}
.zb-sw-common{justify-content:flex-end}.zb-sw-common>button{min-width:250px}.zb-bc-focus .zb-sw-common>button{min-width:240px}.zb-sw-common>button:disabled{opacity:.6}
.zb-sw-registration-form select{appearance:none;-webkit-appearance:none;height:44px!important;min-height:44px!important;max-height:44px!important;background-image:none;padding-right:36px!important}.zb-sw-registration-form label:has(>select){position:relative}.zb-sw-registration-form label:has(>select)::after{content:'';position:absolute;right:16px;bottom:19px;width:7px;height:7px;border-right:2px solid #74667b;border-bottom:2px solid #74667b;transform:rotate(45deg);pointer-events:none}
/* Fast enrolment: visible roster with independent school/year filters. */
#zb-sw-registration:has(.zb-sw-quick-registration){max-width:1000px}.zb-sw-quick-registration>.zb-sw-kid-picker,.zb-sw-quick-registration>.zb-sw-selected-child,.zb-sw-quick-registration>.zb-sw-quick-appointments{grid-column:1/-1}.zb-sw-kid-filters{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:12px}.zb-sw-filter-group{display:flex;flex-wrap:wrap;gap:6px}.zb-sw-filter-group button{min-width:60px;min-height:40px;padding:8px 12px;background:#fff}.zb-sw-filter-group button[aria-pressed=true]{outline:2px solid #8d5aa6;outline-offset:-2px}.zb-sw-kid-picker>input{margin-bottom:12px}.zb-sw-kid-buttons{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:8px;max-height:300px;overflow:auto;padding:3px}.zb-bc button.zb-sw-kid{height:52px;min-height:52px;max-height:52px;padding:6px 10px;font-size:14px;text-align:left;font-weight:600;overflow:hidden;overflow-wrap:anywhere;line-height:1.25}.zb-bc button.sw-stage-12{background:#f8d7e0;border-color:#d07b93;color:#702d44}.zb-bc button.sw-stage-34{background:#ffe2bd;border-color:#ce9954;color:#754613}.zb-bc button.sw-stage-5{background:#fff0b2;border-color:#c2a741;color:#635012}.zb-bc button.sw-stage-other{background:#f2edf6;border-color:#d8c9e0}.zb-bc button.zb-sw-kid[aria-pressed=true]{outline:3px solid #85509f;outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff8}.zb-sw-selected-child{font-weight:650;font-size:17px!important;margin:0!important}.zb-sw-quick-appointments{padding:16px;border:1px solid #e1d4e9;border-radius:12px}.zb-sw-quick-appointments h3{font-size:16px;margin:0 0 14px;font-weight:600}.zb-sw-appointment-chips{display:flex;flex-wrap:wrap;gap:10px}.zb-sw-appointment-chips>div{display:flex;gap:4px;flex-wrap:wrap}.zb-sw-time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:560px;margin-top:12px}.zb-sw-time-grid:empty{display:none}.zb-sw-time-grid button{font-size:16px;font-variant-numeric:tabular-nums;min-height:44px;background:#fff}.zb-sw-time-grid button[aria-pressed=true]{background:#eadff2;border-color:#ad86c0}.zb-sw-time-hint:empty{display:none}
/* A paper appointment is an action, not a fabricated calendar entry. */
.zb-sw-visit-tools{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto}.zb-sw-visit-tools>button,.zb-sw-visit-tools>.zb-sw-child-more>summary{height:44px;min-height:44px;max-height:44px;line-height:1.1;padding:5px 7px}.zb-bc-focus .zb-sw-visit-tools>button,.zb-bc-focus .zb-sw-visit-tools>.zb-sw-child-more>summary{height:36px;min-height:36px;max-height:36px;font-size:12px;line-height:1.05;padding:3px 5px}.zb-bc-focus .zb-sw-visit-tools{margin-bottom:3px}
@media(max-width:650px){.zb-sw-kid-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.zb-sw-filter-group button{min-width:52px}.zb-sw-appointment-chips>div{width:100%}}
.zb-bc button.zb-sw-kid{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.zb-bc button.zb-sw-kid{display:flex;align-items:center}.zb-sw-kid>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:2.5em;line-height:1.25;width:100%}
.zb-bc-focus .zb-bc-phase{margin:0}.zb-bc-focus .zb-bc-metrics{min-height:64px;margin:0}.zb-bc-focus .zb-bc-ring{width:64px;height:64px}.zb-bc-focus .zb-sw-agreement>summary{min-height:20px}.zb-bc-focus .zb-sw-visit-tools{margin-bottom:1px}.zb-bc-focus .zb-sw-card-bottom{gap:4px}.zb-bc-time[data-digits="5"]{font-size:28px}.zb-bc-time[data-digits="6"]{font-size:24px}.zb-bc-focus .zb-bc-time[data-digits="5"]{font-size:20px}.zb-bc-focus .zb-bc-time[data-digits="6"]{font-size:16px}
/* Today by default; simple appointment reveal and a compact daily feedback list. */
.zb-sw-day-nav{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px}.zb-sw-daily[data-sw-tab=feedback] #zb-sw-registration,.zb-sw-daily[data-sw-tab=feedback] #zb-sw-groups,.zb-sw-daily[data-sw-tab=feedback] .zb-bc-toolbar,.zb-sw-daily[data-sw-tab=feedback] #zb-sw-day-controls,.zb-sw-daily[data-sw-tab=feedback] #zb-bc-clocks,.zb-sw-daily[data-sw-tab=feedback] #zb-bc-empty{display:none}#zb-sw-daily-feedback{display:none}.zb-sw-daily[data-sw-tab=feedback] #zb-sw-daily-feedback{display:block}.zb-sw-daily[data-sw-tab=feedback] #zb-bc-message{position:static}
.zb-bc button.zb-sw-kid{height:44px;min-height:44px;max-height:44px;padding:4px 8px;font-size:13px;font-weight:550}.zb-sw-kid-buttons{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));max-height:280px}.zb-sw-selected-child{font-size:15px!important}.zb-sw-quick-registration>label{grid-column:1/-1!important;max-width:260px}.zb-sw-quick-appointments{border:0;padding:0}.zb-sw-time-remove{grid-column:1/-1}.zb-sw-appointment-chips button{min-width:110px}
#zb-sw-daily-feedback{max-width:1100px;margin:auto;padding:20px;background:#fff;border:1px solid #e1d4e9;border-radius:16px}.zb-sw-feedback-day-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.zb-sw-feedback-day-bar label{max-width:230px}.zb-sw-feedback-day-bar p{color:#74667b}.zb-sw-feedback-heading,.zb-sw-feedback-row{display:grid;grid-template-columns:minmax(150px,1.2fr) 250px 155px 120px;align-items:center;gap:16px}.zb-sw-feedback-heading{font-size:13px;color:#74667b;padding:0 0 8px;border-bottom:1px solid #e1d4e9}.zb-sw-feedback-row{padding:12px 0;border-bottom:1px solid #eee7f2;position:relative}.zb-sw-feedback-row:last-child{border-bottom:0}.zb-sw-feedback-row strong{font-size:15px;font-weight:600}.zb-sw-feedback-row small{display:block;margin-top:4px;font-size:12px;color:#74667b}.zb-sw-row-lights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.zb-bc button.zb-sw-row-light{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:62px;padding:5px 4px;font-size:12px;font-weight:500;background:white;border:2px solid transparent}.zb-sw-row-light .zb-sw-dot{width:28px;height:28px;position:relative}.zb-sw-row-light[aria-pressed=false] .zb-sw-dot{opacity:.45}.zb-bc button.zb-sw-row-light[aria-pressed=true]{border-color:#ac88bd;background:#f5eff9}.zb-sw-row-light[aria-pressed=true] .zb-sw-dot::after{content:'';position:absolute;left:8px;top:4px;width:7px;height:12px;border-right:3px solid #35273d;border-bottom:3px solid #35273d;transform:rotate(45deg)}.zb-bc button.zb-sw-review-toggle{font-size:13px;min-height:40px;background:white}.zb-bc button.zb-sw-review-toggle[aria-pressed=true]{background:#eadff2;border-color:#ac88bd;color:#582574}.zb-sw-feedback-row>div:last-child>button,.zb-sw-feedback-note>summary{font-size:13px;min-height:36px;padding:7px 10px;border:1px solid #e1d4e9;border-radius:8px;background:#f7f2fa;list-style:none;text-align:center;cursor:pointer}.zb-sw-feedback-note[open]{z-index:10}.zb-sw-feedback-note>div{position:absolute;right:0;top:calc(100% - 8px);min-width:240px;max-width:min(420px,85vw);padding:14px;border:1px solid #d0badd;border-radius:12px;background:#fff;box-shadow:0 4px 24px #35273d26;z-index:10}.zb-sw-feedback-note p{font-size:14px;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.zb-sw-feedback-note button{min-height:34px;padding:6px 10px;font-size:13px}
@media(max-width:900px){.zb-sw-feedback-heading,.zb-sw-feedback-row{grid-template-columns:minmax(120px,1fr) 220px 140px 100px;gap:10px}#zb-sw-daily-feedback{padding:14px}}@media(max-width:700px){.zb-sw-feedback-heading{display:none}.zb-sw-feedback-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.zb-sw-feedback-row>div:first-child{grid-column:1/-1}.zb-sw-feedback-row .zb-sw-row-lights{grid-column:1/-1;max-width:330px}.zb-sw-day-nav button{padding:8px;font-size:13px}.zb-sw-kid-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Timer cards keep only the appointment control; occasional actions stay folded. */
.zb-sw-visit-tools{grid-template-columns:minmax(0,1fr)}.zb-sw-agreement-extras{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.zb-sw-agreement-extras button{min-height:36px;font-size:13px;padding:7px 12px}

/* Choose one stage first; every child uses the same lilac treatment. */
.zb-bc button.zb-sw-kid{background:#f2eaf7;border-color:#d7c2e2;color:#493351}.zb-sw-kid-filters .zb-sw-filter-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:10px}.zb-sw-filter-group button{background:#f2eaf7}.zb-sw-kid-picker>input[hidden]{display:none}

.zb-sw-registered{grid-column:1/-1;border-top:1px solid #e1d4e9;padding-top:16px}.zb-sw-registered[hidden]{display:none}.zb-sw-registered h3{font-size:15px;margin:0 0 10px}.zb-sw-registered-buttons{display:flex;flex-wrap:wrap;gap:8px}.zb-bc button.zb-sw-registered-child{background:#f2eaf7;border-color:#d7c2e2;color:#493351;font-size:13px;min-height:40px;padding:8px 12px;max-width:100%;overflow-wrap:anywhere}.zb-sw-registered-child[aria-pressed=true]{outline:2px solid #8d5aa6;outline-offset:-2px}

/* Silent appointment reminder uses the browser top layer, including fullscreen. */
dialog.zb-sw-appointment-alert{box-sizing:border-box;width:min(1000px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:20px;padding:clamp(24px,5vw,64px);background:#d00000;color:#fff;text-align:center;box-shadow:0 20px 90px #0006}dialog.zb-sw-appointment-alert::backdrop{background:#16001eb8}.zb-sw-appointment-alert h2{color:white;font-size:clamp(30px,4vw,58px);font-weight:800;line-height:1.15;margin:0 0 20px;overflow-wrap:anywhere}.zb-sw-appointment-alert p{font-size:22px;color:white;margin:0 0 24px}.zb-sw-appointment-alert p:empty{display:none}.zb-sw-appointment-alert button{border:2px solid white;border-radius:12px;background:white;color:#9e0000;font-size:22px;font-weight:750;min-height:60px;padding:14px 24px;cursor:pointer}.zb-sw-appointment-alert button:disabled{opacity:.6;cursor:default}.zb-sw-appointment-alert section+section{margin-top:30px;border-top:1px solid #ffffff80;padding-top:30px}.zb-sw-appointment-alert>button{margin-top:24px}.zb-sw-appointment-alert [role=status]{font-size:16px;margin-top:16px}

.zb-sw-awake{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.zb-sw-awake span{font-size:12px;color:#6c5b74}.zb-sw-awake button[aria-pressed=true]{background:#e7d9f0;border-color:#8d5aa6}.zb-bc button{touch-action:manipulation}.zb-bc-toolbar{flex-wrap:wrap}@media(pointer:coarse){.zb-bc:not(.zb-bc-focus) .zb-bc-actions{--sw-actions:96px}.zb-bc:not(.zb-bc-focus) .zb-bc-actions button{min-height:44px}}

/* One compact control area, with aligned cards rather than four large empty strips. */
.zb-sw-console{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:0 0 14px;padding:10px 12px;background:#fff;border:1px solid #e1d4e9;border-radius:12px}.zb-sw-console #zb-sw-groups{padding:0;margin:0;border:0;border-radius:0;flex:0 1 auto}.zb-sw-console .zb-sw-group-status{gap:8px}.zb-sw-console .zb-sw-group-status strong{font-size:13px}.zb-sw-console .zb-bc-toolbar{display:flex;flex:1;justify-content:flex-start;margin:0;gap:10px}.zb-sw-console .zb-bc-toolbar>strong{font-size:14px;white-space:nowrap}.zb-sw-console .zb-sw-awake{margin-left:0;gap:6px}.zb-sw-console .zb-sw-awake span{font-size:11px}.zb-sw-console #zb-sw-day-controls{margin-left:auto}.zb-sw-console .zb-sw-common{padding:0;margin:0;border:0;background:transparent}.zb-sw-console button{font-size:12px;min-height:38px;padding:7px 10px}.zb-sw-console .zb-sw-awake button:disabled{opacity:1;background:#f3eff6;color:#75657d;border-style:dashed}.zb-sw-daily:not([data-sw-tab=today]) .zb-sw-console{display:none}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-card{min-height:350px;padding:12px}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-card h2{font-size:18px;line-height:1.25;min-height:45px;display:flex;align-items:center;justify-content:center}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-metrics{flex:none;min-height:80px;margin:6px 0}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-ring{width:80px;height:80px}.zb-sw-daily:not(.zb-bc-focus) .zb-bc-time{font-size:27px}.zb-sw-daily:not(.zb-bc-focus) .zb-sw-agreement{margin:0 0 4px}.zb-sw-daily:not(.zb-bc-focus) .zb-sw-visit-tools{margin-bottom:8px}.zb-sw-daily #zb-bc-message:not(:empty){font-size:12px;padding:5px 9px;margin:0 0 10px;width:fit-content;max-width:100%}.zb-bc-focus .zb-sw-console{flex:none;margin-bottom:8px;padding:6px 10px;gap:6px 12px}.zb-bc-focus .zb-sw-console .zb-bc-toolbar{margin:0}.zb-bc-focus .zb-sw-console .zb-sw-groups{margin:0;padding:0}.zb-bc-focus .zb-sw-console .zb-sw-common{margin:0;padding:0}.zb-bc-focus .zb-sw-console button{min-height:34px;font-size:12px}@media(max-width:1000px){.zb-sw-console #zb-sw-groups{flex-basis:100%}.zb-sw-console #zb-sw-day-controls{margin-left:0}}@media(max-width:800px){.zb-sw-daily:not(.zb-bc-focus) .zb-bc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.zb-sw-daily:not(.zb-bc-focus) .zb-bc-grid{grid-template-columns:1fr}.zb-sw-console .zb-bc-toolbar{flex-basis:100%}.zb-sw-console .zb-sw-awake{flex-wrap:wrap}}

/* Keep long minute/second values inside their own ring, including theme CSS. */
.zb-bc .zb-bc-ring{container-type:inline-size}.zb-bc .zb-bc-time{width:100%;min-width:0;padding:0;white-space:nowrap;letter-spacing:0;line-height:1;font-family:system-ui,sans-serif;font-size:clamp(10px,calc(145cqw / var(--bc-digits,4)),32px)!important}.zb-sw-arrival-hint{font-size:12px!important;color:#74667b;margin:6px 0!important}

/* Daily registration can be ongoing; one shared note remains attached to the child. */
.zb-bc label.zb-sw-recurring-label{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-size:14px}.zb-bc .zb-sw-recurring-label input{width:19px;height:19px;min-height:19px;flex:none;accent-color:#85509f}.zb-sw-repeat-stop{grid-column:1/-1;justify-self:start}.zb-sw-selected-info{justify-self:end;grid-column:2}.zb-sw-registered-child small{display:block;font-size:10px;color:#74667b;font-weight:400}.zb-bc button.zb-sw-info{min-height:32px;padding:5px 10px;font-size:12px;background:white;color:#74667b;border-color:#d7c2e2}.zb-bc button.zb-sw-info[data-filled=true]{background:#80509d;color:white;border-color:#80509d}.zb-bc-card>.zb-sw-info{position:absolute;right:10px;top:10px;z-index:1}.zb-bc-card:has(>.zb-sw-info) h2{padding-left:45px;padding-right:45px}.zb-sw-feedback-row>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.zb-sw-modal>label textarea{min-height:160px}.zb-sw-modal>small{display:block;margin:10px 0;color:#74667b}

.zb-sw-selected-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.zb-sw-selected-info{display:inline-flex;flex:none}

.zb-sw-quick-registration>label.zb-sw-recurring-label{max-width:none}.zb-sw-info-modal>label{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.zb-sw-info-modal textarea{width:100%}

.zb-sw-common .zb-sw-finish-all{background:#f7dce3;border-color:#c66e84;color:#79293e}.zb-sw-common .zb-sw-repair{background:white;font-weight:500}.zb-sw-repair-row{padding:14px 0;border-top:1px solid #ddcee6}.zb-sw-repair-row details{font-size:13px;margin:8px 0}
