/* Operational calendar: restrained colors, compact controls, readable appointments. */
html body #booking-system .sc-refined{border:1px solid #e8e8e8;border-radius:14px;box-shadow:0 3px 18px #32323203;background:#ffffff;color:#363636;font-family:'Poppins',sans-serif}
.sc-clean-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #f0f0f0;background:#ffffff}.sc-date-nav{display:flex;align-items:center;gap:6px;min-width:0}.sc-date-nav>button{border:1px solid #e4e4e4;background:#ffffff;border-radius:8px;height:34px;min-width:32px;padding:0 10px;font:400 12px 'Poppins',sans-serif;color:#4d4d4d}.sc-date-nav>button:not([data-today]){font-size:22px;border-color:transparent;padding:0 5px;min-width:25px}.sc-date-title{position:relative;display:inline-block;margin-left:9px;font-size:14px;font-weight:500;white-space:nowrap;text-transform:capitalize;cursor:pointer}.sc-date-title input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.sc-view-tabs{display:flex;align-items:center;background:#f5f5f5;padding:3px;border-radius:9px;gap:2px;flex-shrink:0}.sc-view-tabs button,.sc-view-tabs a{display:block;border:0;background:transparent;padding:7px 11px;border-radius:7px;font:400 12px/1.4 'Poppins',sans-serif;color:#727272;white-space:nowrap;text-decoration:none}.sc-view-tabs [aria-pressed=true]{background:#ffffff;color:#434343;box-shadow:0 1px 4px #0000000d}.sc-clean-toolbar .sc-plus{border:0;border-radius:50%;background:#444444;color:#ffffff;width:36px;height:36px;flex:0 0 36px;padding:0;font:300 27px/1 sans-serif;cursor:pointer}.sc-staff-tabs{display:flex;align-items:center;gap:5px;padding:12px 16px;overflow-x:auto;background:#ffffff;border-bottom:1px solid #e9e9e9;scrollbar-width:thin}.sc-staff-tabs button{display:flex!important;align-items:center;gap:7px;padding:6px 9px!important;border:1px solid transparent!important;border-radius:30px!important;background:#ffffff!important;color:#757575!important;white-space:nowrap;font:400 11px/1.3 'Poppins',sans-serif!important;flex:0 0 auto;cursor:pointer}.sc-staff-tabs button[aria-pressed=true]{background:#f2f2f2!important;color:#414141!important;border-color:#dbdbdb!important}.sc-avatar{width:28px;height:28px;min-width:28px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#efefef;font-size:12px;color:#636363}.sc-all-avatar{font-size:21px}.sc-staff-tabs i{width:5px;height:5px;border-radius:50%;display:block;margin-left:2px}.sc-refined .sc-scroll{max-height:calc(100dvh - 306px);min-height:360px}.sc-refined .sc-grid{grid-template-columns:48px repeat(var(--sc-columns),minmax(155px,1fr));min-width:calc(48px + var(--sc-columns)*155px)}.sc-refined.sc-week-view .sc-grid{grid-template-columns:48px repeat(var(--sc-columns),minmax(90px,1fr));min-width:calc(48px + var(--sc-columns)*90px)}.sc-refined .sc-corner,.sc-refined .sc-person{background:#ffffff;border-top:0;min-height:62px;border-bottom:1px solid #e7e7e7}.sc-refined .sc-person{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:10px 6px;border-left:1px solid #f2f2f2}.sc-refined .sc-person img{display:none}.sc-refined .sc-person strong{display:block!important;font-size:12px;font-weight:500;color:#424242}.sc-refined .sc-person small{font-size:10px;color:#939393;font-weight:400}.sc-refined .sc-times,.sc-refined .sc-lane{height:720px}.sc-refined .sc-times span{font-size:10px;right:7px;color:#909090}.sc-refined .sc-lane{background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#f3f3f3 35px,#f3f3f3 36px);border-right:1px solid #ededed}.sc-refined .sc-slot{height:36px}.sc-refined .sc-off{background:#f5f5f5}.sc-refined .sc-slot:hover,.sc-refined .sc-drop-target{background:#f0f0f0!important;box-shadow:inset 0 0 0 1px #cbcbcb}
html body #booking-system .sc-refined .sc-event{border:1px solid #dddddd!important;border-left:3px solid var(--sc-worker-color,#939393)!important;background:#f2f2f2!important;color:#404040!important;border-radius:6px!important;box-shadow:none;font-size:11px;padding:6px 8px!important;line-height:1.35;min-height:0!important;cursor:pointer}.sc-refined .sc-event strong{font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.sc-refined .sc-event span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;opacity:.8}.sc-refined .sc-event small{font-size:9px;color:#707070}.sc-refined .sc-event[draggable=true]{cursor:grab}html body #booking-system .sc-refined .sc-block{background:repeating-linear-gradient(135deg,#efefef,#efefef 6px,#e7e7e7 6px,#e7e7e7 7px)!important;border-color:#dbdbdb!important;border-left-color:#a3a3a3!important;color:#646464!important}html body #booking-system .sc-refined .sc-external{background:#eeeeee!important;border-color:#d9d9d9!important;border-left-color:#a4a4a4!important;color:#626262!important}.sc-clean-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 18px;border-top:1px solid #ececec;color:#939393;font-size:10px}.sc-clean-footer button{border:0;background:none;color:#6d6d6d;font:inherit;cursor:pointer}
.sc-drawer{position:fixed;inset:0 0 0 auto;margin:0;border:0;border-left:1px solid #e7e7e7;border-radius:0;width:min(430px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:28px;box-shadow:-12px 0 55px #2b2b2b17}.sc-drawer::backdrop{background:#23232324;backdrop-filter:none}.sc-drawer form{min-height:100%;display:flex;flex-direction:column}.sc-drawer header{border-bottom:1px solid #f0f0f0;padding-bottom:18px;margin-bottom:15px}.sc-drawer h2{font-size:18px;font-weight:500}.sc-drawer-kicker{font-size:10px;letter-spacing:.1em;color:#959595;margin:0 0 20px}.sc-drawer-client{display:flex;flex-direction:column;gap:5px;background:#f8f8f8;border:1px solid #ececec;border-radius:12px;padding:17px;margin-bottom:12px}.sc-drawer-client strong{font:500 17px 'Poppins',sans-serif}.sc-drawer-client small{font-size:11px;color:#848484;overflow-wrap:anywhere}.sc-drawer-client button,.sc-drawer [data-payment]{align-self:flex-start;background:none;border:0;padding:5px 0;color:#545454;font:400 11px 'Poppins',sans-serif;text-decoration:underline}.sc-drawer label{font:400 12px 'Poppins',sans-serif;margin:10px 0;gap:7px}.sc-drawer input,.sc-drawer select,.sc-drawer textarea{font:400 13px 'Poppins',sans-serif;padding:11px;border-radius:9px;color:#363636;background:#ffffff;border:1px solid #e5e5e5}.sc-drawer textarea{min-height:75px;resize:vertical;box-sizing:border-box;width:100%}.sc-drawer .sc-primary{margin-top:auto;width:100%;border-radius:24px;font:500 13px 'Poppins',sans-serif;min-height:45px}.sc-drawer-meta{display:flex;justify-content:space-between;font-size:11px;color:#8c8c8c;margin:0 0 8px}.sc-payment-label{font-size:12px;margin:10px 0 0;color:#5c5c5c}.sc-move-notice{padding:12px;border-radius:8px;background:#f2f2f2;font-size:12px;color:#545454}
@media(max-width:1000px){.sc-clean-toolbar{gap:10px;flex-wrap:wrap;padding:14px}.sc-date-nav{flex:1 1 calc(100% - 50px)}.sc-clean-toolbar .sc-plus{order:1}.sc-view-tabs{order:2;width:100%;justify-content:center}.sc-date-title{font-size:13px}.sc-refined .sc-scroll{max-height:calc(100dvh - 350px)}}
@media(max-width:650px){.sc-clean-toolbar{padding:12px;gap:10px}.sc-date-title{font-size:12px;margin-left:2px;max-width:190px;overflow:hidden;text-overflow:ellipsis}.sc-date-nav{gap:3px}.sc-staff-tabs{padding:10px;gap:3px}.sc-staff-tabs button{font-size:11px!important;padding:5px 8px!important}.sc-avatar{width:26px;height:26px;min-width:26px}.sc-refined.sc-day-view .sc-grid{grid-template-columns:42px minmax(0,1fr);min-width:0}.sc-refined.sc-week-view .sc-grid{grid-template-columns:42px repeat(6,minmax(105px,1fr));min-width:672px}.sc-refined .sc-scroll{max-height:calc(100dvh - 270px);min-height:320px}.sc-clean-footer{font-size:9px;padding:9px;gap:5px}.sc-clean-footer>span:nth-child(2){display:none}.sc-refined .sc-person{min-height:48px}.sc-drawer{padding:22px}}
html body #booking-system .sc-refined .sc-event{gap:1px;padding:4px 6px!important;line-height:1.15}.sc-refined .sc-event small{line-height:10px}.sc-refined .sc-event strong{line-height:13px}.sc-refined .sc-event span{font-size:9px;line-height:11px}
.sc-refined .sc-date-title{text-transform:none}
@media(max-width:650px){html body #admin-studio-shell .studio-topbar{gap:6px!important;padding:0 10px!important}html body #admin-studio-shell .studio-wordmark{gap:5px!important;min-width:0!important}html body #admin-studio-shell .studio-wordmark>img{width:20px!important;height:27px!important;padding:2px!important;outline-offset:1px!important}html body #admin-studio-shell .studio-wordmark>span{font-size:21px!important}html body #admin-studio-shell .studio-topbar .studio-top-spacer{min-width:0!important;flex:1 1 0!important}html body #admin-studio-shell .studio-topbar .site-select{width:43px!important;min-width:43px!important;max-width:43px!important;flex:0 0 43px!important}html body #admin-studio-shell .studio-topbar .select-trigger{min-width:43px!important;padding:4px 6px!important}html body #admin-studio-shell .studio-topbar>button{padding:5px 8px!important;font-size:10px!important}html body.admin-studio-view main:has(.sc-refined){padding-top:82px!important}.sc-refined .sc-scroll{min-height:350px}}
html body .sc-drawer h2{font:500 18px/1.35 'Poppins',sans-serif!important}.sc-drawer header{flex:0 0 auto}.sc-drawer .sc-detail{flex:0 0 auto}.sc-drawer .sc-detail>button{margin-top:10px;padding:10px 18px;border:1px solid #d5d5d5;border-radius:20px;background:#f4f4f4;color:#505050;cursor:pointer}
@media(max-width:650px){html body #admin-studio-shell .studio-topbar{gap:4px!important}html body #admin-studio-shell .studio-topbar .site-select{width:54px!important;min-width:54px!important;max-width:54px!important;flex:0 0 54px!important}html body #admin-studio-shell .studio-topbar .select-trigger{min-width:54px!important}}
/* Clear, predictable header rows with comfortable reading and touch targets. */
.sc-refined .sc-clean-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 20px;padding:22px 24px 18px}
.sc-refined .sc-date-nav{grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}
.sc-refined .sc-date-nav>button{height:42px;min-width:42px;font-size:14px;border:1px solid #e3e3e3;border-radius:10px;padding:0 13px;background:#ffffff}
.sc-refined .sc-date-nav>button:not([data-today]){font-size:25px;min-width:42px;border-color:#e3e3e3}
.sc-refined .sc-date-title{margin-left:12px;font-size:17px;font-weight:500;color:#3d3d3d;white-space:normal;max-width:none;line-height:1.4}
.sc-refined .sc-clean-toolbar .sc-plus{grid-column:2;grid-row:1;order:initial;width:auto;height:44px;min-width:100px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 17px;border-radius:24px;font:500 14px 'Poppins',sans-serif}
.sc-refined .sc-plus>span:first-child{font:300 26px/1 sans-serif}
.sc-refined .sc-view-tabs{grid-column:1/-1;grid-row:2;order:initial;width:auto;justify-content:flex-start;background:#f5f5f5;border-radius:12px;padding:5px;gap:6px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.sc-refined .sc-view-tabs button,.sc-refined .sc-view-tabs a{min-height:42px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.3;padding:10px 15px;border-radius:9px;text-align:center}
.sc-refined .sc-view-tabs [aria-pressed=true]{font-weight:500;background:#ffffff;box-shadow:0 1px 5px #31313112;color:#3c3c3c}
.sc-refined .sc-staff-tabs{padding:16px 20px;gap:9px;background:#ffffff}
.sc-refined .sc-staff-tabs button{font-size:13px!important;padding:8px 12px!important;gap:8px;border-radius:12px!important;min-height:48px}
.sc-refined .sc-avatar{width:32px;height:32px;min-width:32px}
.sc-refined .sc-scroll{max-height:calc(100dvh - 350px)}
@media(max-width:650px){.sc-refined .sc-clean-toolbar{padding:16px 12px 13px;gap:15px 8px;grid-template-columns:minmax(0,1fr) auto}.sc-refined .sc-date-nav{gap:5px}.sc-refined .sc-date-nav>button{height:40px;min-width:35px;padding:0 9px;font-size:12px}.sc-refined .sc-date-nav>button:not([data-today]){min-width:34px;font-size:24px;padding:0 5px}.sc-refined .sc-date-title{flex:0 0 100%;font-size:15px;margin:5px 0 0;white-space:normal;overflow:visible;text-overflow:clip}.sc-refined .sc-clean-toolbar .sc-plus{align-self:start;min-width:83px;height:40px;font-size:13px;padding:0 13px;gap:7px}.sc-refined .sc-view-tabs button,.sc-refined .sc-view-tabs a{font-size:13px;padding:10px 6px;min-height:42px}.sc-refined .sc-staff-tabs{padding:12px;gap:8px}.sc-refined .sc-staff-tabs button{font-size:12px!important;padding:7px 10px!important}.sc-refined .sc-scroll{max-height:calc(100dvh - 330px);min-height:300px}}

.sc-refined .sc-clean-toolbar .sc-plus{width:46px;min-width:46px;height:46px;padding:0;border-radius:50%}@media(max-width:650px){.sc-refined .sc-clean-toolbar .sc-plus{width:42px;min-width:42px;height:42px}}
html body #booking-system .sc-refined>.sc-clean-toolbar{height:auto!important;min-height:0!important;grid-template-rows:auto auto!important;align-content:start!important;padding:20px 22px 16px!important;row-gap:16px!important}
@media(max-width:650px){html body #booking-system .sc-refined>.sc-clean-toolbar{padding:15px 12px 12px!important;row-gap:14px!important}}
/* Team week: one worker per row and one day per column. */
.sc-date-picker svg{width:20px;height:20px;display:block}.sc-refined .sc-date-nav>.sc-date-picker{display:grid;place-items:center;min-width:40px;padding:0 9px}.sc-refined .sc-date-title{flex:1 1 auto}
.sc-matrix-scroll{overflow:auto!important}.sc-week-matrix{width:100%;min-width:620px;table-layout:fixed;border-collapse:separate;border-spacing:0;font:400 12px 'Poppins',sans-serif;color:#3f3f3f}.sc-week-matrix th,.sc-week-matrix td{border-right:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;padding:9px;vertical-align:top;background:#ffffff}.sc-week-matrix thead th{position:sticky;top:0;z-index:4;text-align:center;background:#f8f8f8;padding:10px 4px}.sc-week-matrix thead th:first-child{left:0;z-index:6;width:126px;font-size:12px;text-align:left;padding:20px 12px}.sc-week-matrix tbody th{position:sticky;left:0;z-index:3;background:#ffffff;text-align:left;font-weight:500;padding:15px 10px}.sc-week-matrix tbody th img,.sc-week-matrix tbody th .sc-avatar{display:block;width:30px;height:30px;border-radius:50%;object-fit:cover;margin-bottom:8px}.sc-week-matrix tbody th strong{display:block;font-weight:500;font-size:12px;overflow-wrap:anywhere}.sc-week-matrix th button{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;border:0;background:none;color:#4d4d4d;cursor:pointer}.sc-week-matrix th button>span{font-size:12px}.sc-week-matrix th button strong{font-size:20px;font-weight:500}.sc-week-matrix td{height:126px;padding:7px;position:relative}.sc-week-matrix td.sc-cell-off{background:#f4f4f4}.sc-week-matrix .sc-today{background:#f0f0f0}.sc-week-card{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;padding:8px 6px;margin-bottom:7px;border:1px solid #e0e0e0;border-left:3px solid #959595;border-radius:7px;background:#f2f2f2;color:#505050;cursor:pointer;font:400 11px/1.3 'Poppins',sans-serif}.sc-week-card small{font-size:10px}.sc-week-card strong{font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-week-card>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-week-card.sc-block{border-color:#d9d9d9;border-left-color:#9a9a9a;background:repeating-linear-gradient(135deg,#efefef,#efefef 6px,#e7e7e7 6px,#e7e7e7 7px);color:#696969}.sc-week-card.sc-external{border-color:#d8d8d8;border-left-color:#9b9b9b;background:#f0f0f0;color:#656565}.sc-week-card.sc-overlap{border-color:#9e9e9e;border-left-color:#767676}.sc-week-card em{font:500 9px/1.3 'Poppins',sans-serif;color:#666666}.sc-cell-add{display:block;width:26px;height:26px;margin:4px 0 0 auto;border:1px solid #e4e4e4;border-radius:50%;background:#ffffffb0;color:#898989;font-size:18px;cursor:pointer}.sc-cell-add:hover{background:#ededed}.sc-empty-day{display:block;color:#a1a1a1;text-align:center;padding:18px 0;font-size:11px}
/* Monthly overview: select a date to open the detailed team day. */
.sc-month-scroll{overflow:auto!important}.sc-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:560px}.sc-month-weekday{position:sticky;top:0;z-index:3;padding:12px 4px;background:#f7f7f7;border-bottom:1px solid #e5e5e5;text-align:center;font-size:12px;color:#6d6d6d}.sc-month-cell{min-height:128px;border-right:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;padding:8px 5px;background:#ffffff;display:flex;flex-direction:column;align-items:stretch;gap:4px}.sc-month-cell.sc-today{background:#f4f4f4}.sc-other-month{background:#f9f9f9;color:#bcbcbc}.sc-month-day{align-self:flex-start;border:0;background:none;padding:3px 7px;color:inherit;border-radius:50%;font:500 14px 'Poppins',sans-serif;cursor:pointer}.sc-today .sc-month-day{background:#565656;color:#ffffff}.sc-month-cell>small{font-size:9px;color:#939393;padding:0 4px}.sc-month-event{display:flex;gap:3px;padding:4px;border:0;border-left:2px solid #a4a4a4;border-radius:3px;background:#f2f2f2;color:#616161;font:400 9px/1.3 'Poppins',sans-serif;text-align:left;cursor:pointer;overflow:hidden}.sc-month-event time{flex:none}.sc-month-event>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-month-event.sc-block{border-left-color:#adadad;background:#eeeeee;color:#828282}.sc-month-event.sc-external{border-left-color:#a4a4a4;background:#efefef;color:#808080}.sc-month-more{border:0;background:none;text-align:left;font:400 10px 'Poppins',sans-serif;color:#797979;padding:4px;cursor:pointer}
@media(max-width:650px){.sc-refined .sc-date-title{flex-basis:calc(100% - 42px);order:2}.sc-refined .sc-date-nav>.sc-date-picker{order:3;margin-top:5px}.sc-week-matrix{min-width:760px}.sc-week-matrix thead th:first-child{width:120px}.sc-month-grid{min-width:630px}}
html body #booking-system .sc-week-card{background:#f2f2f2!important;border:1px solid #e0e0e0!important;border-left:3px solid #959595!important;border-radius:7px!important;padding:8px 6px!important;color:#505050!important}html body #booking-system .sc-week-card.sc-block{background:repeating-linear-gradient(135deg,#efefef,#efefef 6px,#e7e7e7 6px,#e7e7e7 7px)!important;border-color:#d9d9d9!important;border-left-color:#9a9a9a!important;color:#696969!important}html body #booking-system .sc-week-card.sc-external{background:#f0f0f0!important;border-color:#d8d8d8!important;border-left-color:#9b9b9b!important;color:#656565!important}html body #booking-system .sc-week-card.sc-overlap{border-color:#9e9e9e!important;border-left-color:#767676!important}html body #booking-system .sc-month-event{background:#f2f2f2!important;border:0!important;border-left:2px solid #a4a4a4!important;border-radius:3px!important;padding:4px!important;color:#616161!important}html body #booking-system .sc-month-event.sc-block{background:#eeeeee!important;border-left-color:#adadad!important;color:#828282!important}html body #booking-system .sc-month-event.sc-external{background:#efefef!important;border-left-color:#a4a4a4!important;color:#808080!important}
.sc-month-cell{min-height:100px;padding:6px 5px;gap:2px}.sc-month-weekday{padding:10px 4px}.sc-month-day{padding:2px 6px}.sc-month-cell>small{font-size:9px}.sc-month-event{min-height:0}

/* Monochrome calendar: no green tint, including inline staff colors. */
html body #booking-system .sc-refined{color:#171717!important;border-color:#e4e4e4!important}
html body #booking-system .sc-refined .sc-plus{background:#171717!important;color:#fff!important}
html body #booking-system .sc-refined .sc-staff-tabs button[aria-pressed=true]{background:#ededed!important;color:#111!important;border-color:#ccc!important}
html body #booking-system .sc-refined .sc-staff-tabs i{background:#777!important}
html body #booking-system .sc-refined .sc-event{border-left-color:#333!important;color:#171717!important;background:#f1f1f1!important}
html body #booking-system .sc-refined .sc-event.sc-block{border-left-color:#999!important;background:repeating-linear-gradient(135deg,#eee,#eee 6px,#e3e3e3 6px,#e3e3e3 7px)!important}
html body #booking-system .sc-refined .sc-week-card{border-left-color:#333!important;color:#171717!important}
html body #booking-system .sc-refined .sc-month-event{border-left-color:#333!important;color:#171717!important}
html body:has(.sc-refined) .admin-sidebar a[aria-current],html body:has(.sc-refined) .admin-sidebar .active{background:#ededed!important;color:#111!important}
html body .sc-drawer .sc-primary{background:#171717!important;color:#fff!important;border-color:#171717!important}
html body:has(.sc-refined) #booking-system a[aria-current=page]{background:#ededed!important;color:#111!important}
html body:has(.sc-refined) .studio-topbar .select-trigger,html body:has(.sc-refined) #studio-logout,html body:has(.sc-refined) .staff-bell-count,html body:has(.sc-refined) .studio-mobile-toggle{background:#171717!important;color:#fff!important;border-color:#171717!important}
html body:has(.sc-refined) .staff-bell{background:#f4f4f4!important;color:#171717!important;border-color:#ddd!important}

/* Worker colors identify appointments while surfaces remain monochrome. */
html body #booking-system .sc-refined .sc-staff-tabs i,.sc-worker-dot{background:var(--sc-worker-color,#777)!important;width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}
html body #booking-system .sc-refined .sc-event.sc-booking,html body #booking-system .sc-refined .sc-week-card.sc-booking,html body #booking-system .sc-refined .sc-month-event.sc-booking{background:var(--sc-worker-tint,#f1f1f1)!important;border-left-color:var(--sc-worker-color,#555)!important;color:#171717!important}

/* Higher-contrast worker colors for quick visual scanning. */
html body #booking-system .sc-refined .sc-event.sc-booking,html body #booking-system .sc-refined .sc-week-card.sc-booking{border-left-width:5px!important;border-top-color:var(--sc-worker-color)!important;border-right-color:var(--sc-worker-color)!important;border-bottom-color:var(--sc-worker-color)!important}
html body #booking-system .sc-refined .sc-month-event.sc-booking{border-left-width:4px!important}
html body #booking-system .sc-refined .sc-staff-tabs i,.sc-worker-dot{width:12px;height:12px}

/* Requested pause color in day, week and month views. */
html body #booking-system .sc-refined .sc-event.sc-block,html body #booking-system .sc-refined .sc-week-card.sc-block,html body #booking-system .sc-refined .sc-month-event.sc-block{background:repeating-linear-gradient(135deg,#ffd3d3,#ffd3d3 6px,#ffc6c6 6px,#ffc6c6 7px)!important;border-color:#d53434!important;border-left-color:#c52222!important;color:#641717!important}
html body #booking-system .sc-refined .sc-block small{color:#641717!important}

/* Keep client, professional and treatment readable on appointment cards. */
html body #booking-system .sc-refined .sc-event.sc-booking{display:flex!important;flex-direction:column!important;gap:2px!important;overflow:auto!important;padding:5px 6px!important}
html body #booking-system .sc-refined .sc-event.sc-booking strong{font-size:11px!important;line-height:1.2!important;flex-shrink:0}
html body #booking-system .sc-refined .sc-event.sc-booking span{font-size:10px!important;line-height:1.2!important;flex-shrink:0}
html body #booking-system .sc-refined .sc-event-service{white-space:normal!important;overflow-wrap:anywhere;line-height:1.25!important}
html body #booking-system .sc-refined .sc-week-card>span{white-space:normal!important;overflow-wrap:anywhere}
html body #booking-system .sc-refined .sc-month-event{flex-direction:column!important;gap:2px!important}
html body #booking-system .sc-refined .sc-month-event strong{font-size:10px;font-weight:600;white-space:normal;overflow-wrap:anywhere}
html body #booking-system .sc-refined .sc-month-event>span{white-space:normal!important;overflow-wrap:anywhere}

html body #booking-system .sc-refined .sc-times,html body #booking-system .sc-refined .sc-lane{height:1200px}
html body #booking-system .sc-refined .sc-slot{height:60px}
html body #booking-system .sc-refined .sc-lane{background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,#eee 59px,#eee 60px)}

/* Visible compact month picker. */
html body .sc-date-dialog{width:350px;max-width:calc(100vw - 28px);padding:20px;box-sizing:border-box;color:#171717;background:#fff}
html body .sc-date-dialog header{position:static!important;display:flex!important;height:auto!important;min-height:0!important;grid-template-rows:none!important;margin:0 0 12px!important;padding:0!important}
html body .sc-date-dialog h2{font:500 16px 'Poppins',sans-serif!important;color:#171717!important}
.sc-mini-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.sc-mini-nav strong{font:500 14px 'Poppins',sans-serif;text-transform:capitalize}
html body .sc-date-dialog button{background:#fff;color:#171717;border:0;box-shadow:none;cursor:pointer;font-family:'Poppins',sans-serif}
html body .sc-mini-nav button{width:36px;height:36px;border:1px solid #ddd;border-radius:50%;font-size:24px;padding:0}
.sc-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.sc-mini-weekday{text-align:center;font:400 10px 'Poppins',sans-serif;color:#777;padding:8px 0}
html body .sc-mini-grid button{height:38px;min-width:0;padding:0;border-radius:50%;font-size:12px}
html body .sc-mini-grid .sc-mini-outside{color:#aaa}
html body .sc-mini-grid .sc-mini-today{box-shadow:inset 0 0 0 1px #555}
html body .sc-mini-grid button[aria-pressed=true]{background:#171717;color:#fff}
html body .sc-mini-grid button:hover{background:#e8e8e8;color:#111}
html body .sc-date-dialog .sc-mini-now{width:100%;border:1px solid #ddd;border-radius:20px;padding:9px;margin-top:14px;font-size:12px}

/* Imported calendar appointments use the same staff identity colors. */
html body #booking-system .sc-refined .sc-event.sc-external,html body #booking-system .sc-refined .sc-week-card.sc-external,html body #booking-system .sc-refined .sc-month-event.sc-external{background:var(--sc-worker-tint,#eee)!important;border-color:var(--sc-worker-color,#777)!important;border-left-color:var(--sc-worker-color,#777)!important;color:#171717!important}

html body #booking-system .sc-refined .sc-event.sc-pause,html body #booking-system .sc-refined .sc-week-card.sc-pause,html body #booking-system .sc-refined .sc-month-event.sc-pause{background:#ffd3d3!important;border-color:#d53434!important;border-left-color:#c52222!important;color:#641717!important}
@media(max-width:650px){html body #booking-system .sc-refined.sc-day-view .sc-grid{grid-template-columns:42px repeat(var(--sc-columns),minmax(290px,1fr));min-width:calc(42px + var(--sc-columns)*290px)}}
/* Day resource timeline and compact professional dropdown. */
.sc-staff-filter{padding:14px 22px;border-bottom:1px solid #e5e5e5;position:relative;z-index:9;background:#fff}.sc-worker-picker{width:min(300px,100%);position:relative}.sc-worker-picker summary{display:flex;justify-content:space-between;align-items:center;list-style:none;border:1px solid #ccc;border-radius:12px;padding:12px 16px;font-size:13px;cursor:pointer;background:#fff;color:#111}.sc-worker-picker summary::-webkit-details-marker{display:none}.sc-worker-options{position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:12px;padding:6px;box-shadow:0 8px 25px #0002;max-height:350px;overflow:auto;z-index:20}
html body #booking-system .sc-worker-options button{display:flex!important;align-items:center;gap:10px;width:100%;padding:9px 10px!important;border:0!important;border-radius:8px;background:#fff!important;color:#111!important;font:400 13px 'Poppins',sans-serif;text-align:left}
html body #booking-system .sc-worker-options button:hover,html body #booking-system .sc-worker-options button[aria-pressed=true]{background:#eee!important}.sc-worker-options .sc-worker-dot{margin-left:auto}
.sc-horizontal-scroll{overflow:auto!important}.sc-day-horizontal{min-width:1300px;font:400 12px 'Poppins',sans-serif;color:#171717}.sc-horizontal-head,.sc-horizontal-row{display:grid;grid-template-columns:150px minmax(0,1fr)}.sc-horizontal-head{position:sticky;top:0;z-index:5;height:50px;background:#fafafa;border-bottom:1px solid #ddd}.sc-horizontal-head>strong{position:sticky;left:0;background:#fafafa;padding:17px 12px;z-index:6;font-weight:500}.sc-horizontal-head>div{position:relative}.sc-horizontal-head>div>span{position:absolute;top:17px;font-size:11px;padding-left:5px}.sc-horizontal-row{border-bottom:1px solid #ddd}.sc-horizontal-person{position:sticky;left:0;z-index:4;background:#fff;padding:15px 12px;border-right:1px solid #ddd;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.sc-horizontal-person img{width:32px;height:32px;object-fit:cover;border-radius:50%}.sc-horizontal-person strong{font-weight:500;font-size:12px}.sc-horizontal-lane{position:relative;background:#fff}.sc-horizontal-slot{position:absolute;top:0;bottom:0;width:5%;border:0;border-right:1px solid #eee;background:transparent;padding:0;cursor:pointer}.sc-horizontal-slot.sc-horizontal-off{background:#f1f1f1}.sc-horizontal-slot:hover{background:#e4e4e4}
html body #booking-system .sc-horizontal-lane .sc-week-card{position:absolute;height:90px;min-height:0;overflow:auto;box-sizing:border-box;padding:6px!important;margin:0;z-index:2;gap:2px;border-left-width:4px!important}.sc-horizontal-lane .sc-week-card strong,.sc-horizontal-lane .sc-week-card>span{white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.25}.sc-horizontal-lane .sc-week-card small{font-size:9px}
html body #booking-system .sc-refined .sc-date-nav>.sc-date-picker{order:-1;margin-top:0}
@media(max-width:650px){.sc-staff-filter{padding:12px}.sc-worker-picker{width:100%}.sc-day-horizontal{min-width:1200px}.sc-horizontal-head,.sc-horizontal-row{grid-template-columns:120px minmax(0,1fr)}.sc-horizontal-person{padding:12px 8px}}
html body #booking-system .sc-horizontal-person strong{font:500 12px/1.4 'Poppins',sans-serif!important}
.sc-shift-label{display:block;font:400 10px/1.4 'Poppins',sans-serif;color:#666;margin-bottom:7px}.sc-off-badge{display:inline-block;border:1px solid #ccc;background:#e8e8e8;color:#333;font:500 10px/1.4 'Poppins',sans-serif;padding:4px 7px;border-radius:6px;margin-bottom:6px}.sc-day-off .sc-horizontal-lane,.sc-month-cell.sc-month-off{background:#f1f1f1}.sc-day-off-label{position:sticky;left:15px;display:inline-block;top:45px;z-index:1;margin:42px 15px;color:#777;font:500 13px 'Poppins',sans-serif;pointer-events:none}.sc-month-off-list{font:400 9px/1.4 'Poppins',sans-serif;color:#666;margin:3px 0}.sc-month-off-list summary{cursor:pointer}.sc-month-off-list span{display:block;padding:2px 0}

/* Compact reference-inspired calendar toolbar. */
html body #booking-system .sc-refined>.sc-clean-toolbar{display:grid!important;grid-template-columns:minmax(270px,1fr) minmax(160px,220px) auto 38px!important;grid-template-rows:auto!important;gap:12px!important;padding:14px 16px!important;align-items:center!important;border-bottom:1px solid #e5e5e5}
html body #booking-system .sc-refined .sc-date-nav{grid-column:1;grid-row:1;display:flex;flex-wrap:nowrap;gap:5px;min-width:0}
html body #booking-system .sc-refined .sc-date-title{font:400 13px/1.4 'Poppins',sans-serif!important;letter-spacing:0!important;white-space:nowrap!important;margin:0 0 0 6px!important;flex:0 1 auto!important;order:0!important;text-transform:none!important}
html body #booking-system .sc-refined .sc-date-nav>button{height:36px;min-width:30px;padding:0 7px;font-size:12px;border:1px solid #e4e4e4;border-radius:9px}
html body #booking-system .sc-refined .sc-date-nav>[data-prev],html body #booking-system .sc-refined .sc-date-nav>[data-next]{font-size:20px;border-color:transparent;min-width:22px;padding:0 4px}
html body #booking-system .sc-refined .sc-date-nav>.sc-date-picker{min-width:34px;margin:0;padding:0 7px}
html body #booking-system .sc-refined .sc-staff-filter{grid-column:2;grid-row:1;padding:0;border:0;z-index:9;background:transparent}
html body #booking-system .sc-refined .sc-worker-picker{width:100%}.sc-worker-picker summary{padding:9px 12px;font-size:12px;border-radius:18px}
html body #booking-system .sc-refined .sc-view-tabs{grid-column:3;grid-row:1;display:flex;width:auto;gap:1px;padding:3px;border-radius:20px}
html body #booking-system .sc-refined .sc-view-tabs button{min-height:30px;font-size:12px;padding:6px 12px;border-radius:17px}
html body #booking-system .sc-refined .sc-clean-toolbar .sc-plus{grid-column:4;grid-row:1;width:38px;height:38px;min-width:38px;padding:0;border-radius:50%;font-size:25px}
html body #booking-system .sc-refined .sc-scroll{max-height:calc(100dvh - 235px)}
@media(max-width:1150px){html body #booking-system .sc-refined>.sc-clean-toolbar{grid-template-columns:minmax(0,1fr) minmax(130px,190px) 38px!important;grid-template-rows:auto auto!important}html body #booking-system .sc-refined .sc-staff-filter{grid-column:2;grid-row:1}html body #booking-system .sc-refined .sc-clean-toolbar .sc-plus{grid-column:3;grid-row:1}html body #booking-system .sc-refined .sc-view-tabs{grid-column:1/-1;grid-row:2;justify-self:end}}
@media(max-width:650px){html body #booking-system .sc-refined>.sc-clean-toolbar{grid-template-columns:minmax(0,1fr) 38px!important;gap:10px!important;padding:12px!important}html body #booking-system .sc-refined .sc-date-nav{grid-column:1;flex-wrap:wrap;gap:3px}html body #booking-system .sc-refined .sc-date-title{font-size:12px!important;flex:1 1 100%!important;margin:3px 0 0!important}html body #booking-system .sc-refined .sc-clean-toolbar .sc-plus{grid-column:2;grid-row:1;align-self:start}html body #booking-system .sc-refined .sc-staff-filter{grid-column:1/-1;grid-row:2;width:48%}html body #booking-system .sc-refined .sc-view-tabs{grid-column:1/-1;grid-row:2;justify-self:end;width:48%;justify-content:center}html body #booking-system .sc-refined .sc-view-tabs button{font-size:11px;padding:6px 8px}html body #booking-system .sc-refined .sc-scroll{max-height:calc(100dvh - 250px)}}
/* Geometrically centered plus, independent of font glyph metrics. */
html body #booking-system .sc-refined .sc-clean-toolbar .sc-plus{display:grid!important;place-items:center!important;line-height:1!important;padding:0!important}
html body #booking-system .sc-refined .sc-plus>span{position:relative!important;display:block!important;width:14px!important;height:14px!important;font-size:0!important;line-height:0!important;margin:0!important;padding:0!important;transform:none!important}
html body #booking-system .sc-refined .sc-plus>span::before,html body #booking-system .sc-refined .sc-plus>span::after{content:"";position:absolute;background:currentColor;border-radius:1px;display:block}
html body #booking-system .sc-refined .sc-plus>span::before{width:14px;height:2px;left:0;top:6px}
html body #booking-system .sc-refined .sc-plus>span::after{width:2px;height:14px;left:6px;top:0}
/* Availability is conveyed by neutral shading, without repeated day-off labels. */
html body #booking-system .sc-refined .sc-off-badge,html body #booking-system .sc-refined .sc-day-off-label,html body #booking-system .sc-refined .sc-month-off-list{display:none!important}
html body #booking-system .sc-refined .sc-horizontal-slot.sc-horizontal-off,html body #booking-system .sc-refined .sc-day-off .sc-horizontal-lane,html body #booking-system .sc-refined .sc-week-matrix td.sc-cell-off,html body #booking-system .sc-refined .sc-month-cell.sc-month-off{background:#dedede!important}
html body #booking-system .sc-refined .sc-month-cell:not(.sc-month-off):not(.sc-other-month),html body #booking-system .sc-refined .sc-week-matrix td:not(.sc-cell-off){background:#fff!important}
/* Use the entire administration workspace for the calendar. */
html body.admin-studio-view:has(.sc-refined) main{padding:84px 0 0!important;min-height:100dvh!important;box-sizing:border-box!important}
html body.admin-studio-view:has(.sc-refined) #booking-system{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
html body #booking-system .sc-refined{width:100%!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
html body #booking-system .sc-refined .sc-scroll{height:calc(100dvh - 186px)!important;max-height:calc(100dvh - 186px)!important;min-height:260px!important}
html body #booking-system .sc-day-horizontal{min-width:1300px;width:100%}
@media(max-width:1150px) and (min-width:651px){html body #booking-system .sc-refined .sc-scroll{height:calc(100dvh - 232px)!important;max-height:calc(100dvh - 232px)!important}}
@media(max-width:760px){html body.admin-studio-view:has(.sc-refined) main{padding-top:72px!important}}
@media(max-width:650px){html body #booking-system .sc-refined .sc-scroll{height:calc(100dvh - 233px)!important;max-height:calc(100dvh - 233px)!important;min-height:220px!important}}
/* Mini-calendar and upcoming activity alongside the full calendar workspace. */
.sc-workspace{display:grid;grid-template-columns:215px minmax(0,1fr);width:100%;align-items:start;min-height:calc(100dvh - 84px)}.sc-workspace>.sc-calendar-sidebar{background:#fff;border-right:1px solid #ddd;height:calc(100dvh - 84px);overflow:auto;box-sizing:border-box;padding:18px 12px;color:#171717;font-family:'Poppins',sans-serif}.sc-workspace>.sc-refined{min-width:0}.sc-calendar-sidebar .sc-mini-nav{gap:3px}.sc-calendar-sidebar .sc-mini-nav strong{font-size:12px}.sc-calendar-sidebar .sc-mini-nav button{background:#fff;border:0;color:#333;width:25px;height:30px;font-size:20px;cursor:pointer}.sc-calendar-sidebar .sc-mini-weekday{font-size:10px}.sc-calendar-sidebar .sc-mini-grid{gap:1px}
html body #booking-system .sc-calendar-sidebar .sc-mini-grid button{height:27px;min-height:0;width:100%;min-width:0;padding:0;border:0;border-radius:50%;background:#fff;color:#333;font:400 10px 'Poppins',sans-serif;cursor:pointer}
html body #booking-system .sc-calendar-sidebar .sc-mini-grid button.sc-mini-outside{color:#aaa}html body #booking-system .sc-calendar-sidebar .sc-mini-grid button.sc-mini-today{box-shadow:inset 0 0 0 1px #777}html body #booking-system .sc-calendar-sidebar .sc-mini-grid button[aria-pressed=true]{background:#171717;color:#fff}
.sc-side-activity{border-top:1px solid #ddd;margin-top:20px;padding-top:18px}.sc-side-activity h2{font:500 14px 'Poppins',sans-serif!important;color:#171717!important;margin:0 0 16px}.sc-side-activity h3{font:400 11px 'Poppins',sans-serif!important;color:#666!important;margin:0 0 12px}.sc-side-activity>p{font-size:11px;color:#777;line-height:1.6}
html body #booking-system .sc-side-appointment{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;padding:10px 8px;margin:0 0 10px;border:1px solid #e4e4e4;border-left:3px solid var(--sc-worker-color);border-radius:7px;background:#fff;color:#222;gap:3px;font:400 10px/1.4 'Poppins',sans-serif;cursor:pointer}.sc-side-appointment time{color:#777;font-size:10px}.sc-side-appointment strong{font-weight:500;font-size:11px}.sc-side-appointment span{overflow-wrap:anywhere}
@media(min-width:1151px){html body #booking-system .sc-workspace .sc-clean-toolbar{grid-template-columns:minmax(0,1fr) minmax(135px,170px) 38px!important;grid-template-rows:auto auto!important}html body #booking-system .sc-workspace .sc-clean-toolbar .sc-plus{grid-column:3;grid-row:1}html body #booking-system .sc-workspace .sc-view-tabs{grid-column:1/-1;grid-row:2;justify-self:end}html body #booking-system .sc-workspace .sc-scroll{height:calc(100dvh - 228px)!important;max-height:calc(100dvh - 228px)!important}}
@media(max-width:950px){.sc-workspace{grid-template-columns:180px minmax(0,1fr)}.sc-workspace>.sc-calendar-sidebar{padding:14px 8px}}
@media(max-width:760px){.sc-workspace{display:block}.sc-workspace>.sc-calendar-sidebar{display:none}}
html body #booking-system .sc-calendar-sidebar .sc-side-activity h2{font:500 14px/1.4 'Poppins',sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html body #booking-system .sc-calendar-sidebar .sc-side-activity h3{font:400 11px/1.5 'Poppins',sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html body #booking-system .sc-calendar-sidebar .sc-mini-weekday{font-size:9px!important}
/* Date navigation lives in the sidebar; keep the main toolbar focused on views. */
@media(min-width:761px){
html body #booking-system .sc-workspace .sc-clean-toolbar{grid-template-columns:minmax(160px,220px) auto minmax(0,1fr) 38px!important;grid-template-rows:auto!important;padding:12px 16px!important}
html body #booking-system .sc-workspace .sc-date-nav{display:none!important}
html body #booking-system .sc-workspace .sc-staff-filter{grid-column:1!important;grid-row:1!important}
html body #booking-system .sc-workspace .sc-view-tabs{grid-column:2!important;grid-row:1!important;justify-self:start!important}
html body #booking-system .sc-workspace .sc-clean-toolbar .sc-plus{grid-column:4!important;grid-row:1!important}
html body #booking-system .sc-workspace .sc-scroll{height:calc(100dvh - 185px)!important;max-height:calc(100dvh - 185px)!important}
}
/* One typography scale across day, week and month. */
html body #booking-system .sc-refined .sc-week-matrix,html body #booking-system .sc-refined .sc-month-grid{font:400 12px/1.4 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-matrix th strong,html body #booking-system .sc-refined .sc-week-matrix th button strong,html body #booking-system .sc-refined .sc-month-day{font:500 12px/1.4 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-matrix th button>span,html body #booking-system .sc-refined .sc-month-weekday{font:400 11px/1.4 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-card,html body #booking-system .sc-refined .sc-month-event{font:400 10px/1.25 'Poppins',sans-serif!important;padding:6px!important;gap:2px!important}
html body #booking-system .sc-refined .sc-week-card strong,html body #booking-system .sc-refined .sc-month-event strong{font:500 10px/1.25 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-card>span,html body #booking-system .sc-refined .sc-month-event>span{font:400 10px/1.25 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-card small,html body #booking-system .sc-refined .sc-month-event time,html body #booking-system .sc-refined .sc-shift-label{font:400 9px/1.4 'Poppins',sans-serif!important}
/* Hour guides continue through both working and shaded timeline slots. */
html body #booking-system .sc-horizontal-lane::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:repeating-linear-gradient(to right,transparent 0,transparent calc(10% - 1px),#c9c9c9 calc(10% - 1px),#c9c9c9 10%)}
html body #booking-system .sc-horizontal-head>div{background:repeating-linear-gradient(to right,transparent 0,transparent calc(10% - 1px),#dedede calc(10% - 1px),#dedede 10%)}
/* Worker identity color belongs around the portrait rather than a separate dot. */
html body #booking-system .sc-refined .sc-horizontal-person img,html body #booking-system .sc-refined .sc-week-matrix tbody th img,html body #booking-system .sc-refined .sc-week-matrix tbody th .sc-avatar,html body #booking-system .sc-refined .sc-worker-options .sc-avatar{border:2px solid var(--sc-worker-color,#888)!important;padding:2px!important;background:#fff!important;border-radius:50%!important;box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px!important;object-fit:cover!important}
html body #booking-system .sc-refined .sc-horizontal-person .sc-shift-label{margin:0!important;color:#666!important;font:400 10px/1.4 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-horizontal-person{gap:5px}
html body #booking-system .sc-refined .sc-horizontal-person .sc-avatar{border:2px solid var(--sc-worker-color,#888)!important;padding:2px!important;background:#fff!important;border-radius:50%!important;box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px!important}
/* Main arrows change the displayed period; sidebar arrows browse months. */
@media(min-width:761px){
html body #booking-system .sc-workspace .sc-clean-toolbar{grid-template-columns:64px minmax(160px,220px) auto minmax(0,1fr) 38px!important}
html body #booking-system .sc-workspace .sc-date-nav{display:flex!important;grid-column:1!important;grid-row:1!important;gap:2px!important}
html body #booking-system .sc-workspace .sc-date-nav>[data-today],html body #booking-system .sc-workspace .sc-date-nav>.sc-date-picker,html body #booking-system .sc-workspace .sc-date-title{display:none!important}
html body #booking-system .sc-workspace .sc-date-nav>[data-prev],html body #booking-system .sc-workspace .sc-date-nav>[data-next]{display:grid!important;place-items:center!important;width:30px!important;height:34px!important;border:1px solid #ddd!important;border-radius:9px!important;background:#fff!important;font:400 22px/1 'Poppins',sans-serif!important;padding:0!important}
html body #booking-system .sc-workspace .sc-staff-filter{grid-column:2!important}
html body #booking-system .sc-workspace .sc-view-tabs{grid-column:3!important}
html body #booking-system .sc-workspace .sc-clean-toolbar .sc-plus{grid-column:5!important}
}
/* Empty calendar spaces are clickable, without repeated plus buttons. */
.sc-week-matrix td[data-week-add],.sc-month-cell[data-month-cell]{cursor:pointer}
html body #booking-system .sc-refined .sc-selected-space{box-shadow:inset 0 0 0 2px #444!important;outline:0!important;background-color:#e8e8e8!important}
html body #booking-system .sc-refined .sc-week-matrix td[data-week-add]:hover,html body #booking-system .sc-refined .sc-month-cell[data-month-cell]:hover{box-shadow:inset 0 0 0 1px #aaa}
/* Continuous horizontal dividers separate worker rows across the day timeline. */
html body #booking-system .sc-refined .sc-horizontal-row{position:relative;border-bottom:1px solid #bdbdbd!important}
html body #booking-system .sc-refined .sc-horizontal-row::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background:#bdbdbd;pointer-events:none;z-index:5}
/* Shared calendar structure: one type scale, grid tone and centered worker identity. */
html body #booking-system .sc-refined{--sc-grid-line:#bdbdbd;--sc-heading-size:12px;--sc-axis-size:11px;--sc-card-size:10px;--sc-meta-size:9px}
html body #booking-system .sc-refined .sc-horizontal-person{align-items:center!important;justify-content:center!important;text-align:center!important}
html body #booking-system .sc-refined .sc-horizontal-person strong,html body #booking-system .sc-refined .sc-week-matrix tbody th strong{font:500 var(--sc-heading-size)/1.4 'Poppins',sans-serif!important;text-align:center!important;width:100%}
html body #booking-system .sc-refined .sc-horizontal-person .sc-avatar,html body #booking-system .sc-refined .sc-horizontal-person img,html body #booking-system .sc-refined .sc-week-matrix tbody th .sc-avatar,html body #booking-system .sc-refined .sc-week-matrix tbody th img{margin:0 auto 5px!important}
html body #booking-system .sc-refined .sc-week-matrix tbody th{text-align:center!important;vertical-align:middle!important;padding:12px 8px!important}
html body #booking-system .sc-refined .sc-horizontal-head>strong,html body #booking-system .sc-refined .sc-week-matrix thead th:first-child{font:500 var(--sc-heading-size)/1.4 'Poppins',sans-serif!important;text-align:center!important}
html body #booking-system .sc-refined .sc-horizontal-head>div>span,html body #booking-system .sc-refined .sc-week-matrix th button>span,html body #booking-system .sc-refined .sc-week-matrix th button strong,html body #booking-system .sc-refined .sc-month-weekday,html body #booking-system .sc-refined .sc-month-day{font:400 var(--sc-axis-size)/1.4 'Poppins',sans-serif!important}
html body #booking-system .sc-refined .sc-week-matrix th,html body #booking-system .sc-refined .sc-week-matrix td,html body #booking-system .sc-refined .sc-month-cell,html body #booking-system .sc-refined .sc-month-weekday,html body #booking-system .sc-refined .sc-horizontal-person,html body #booking-system .sc-refined .sc-horizontal-head,html body #booking-system .sc-refined .sc-horizontal-row{border-color:var(--sc-grid-line)!important}
html body #booking-system .sc-refined .sc-horizontal-row::after{background:var(--sc-grid-line)!important}
html body #booking-system .sc-refined .sc-horizontal-lane::after,html body #booking-system .sc-refined .sc-horizontal-head>div{background:repeating-linear-gradient(to right,transparent 0,transparent calc(10% - 1px),var(--sc-grid-line) calc(10% - 1px),var(--sc-grid-line) 10%)!important}
html body #booking-system .sc-refined .sc-week-matrix thead th,html body #booking-system .sc-refined .sc-month-weekday,html body #booking-system .sc-refined .sc-horizontal-head,html body #booking-system .sc-refined .sc-horizontal-head>strong{background-color:#fafafa!important;color:#333!important}
html body #booking-system .sc-refined .sc-week-matrix th button{gap:3px!important;color:#333!important}
html body #booking-system .sc-refined .sc-horizontal-person .sc-shift-label{font:400 var(--sc-meta-size)/1.4 'Poppins',sans-serif!important;text-align:center!important;width:100%}
html body #booking-system .sc-refined .sc-week-card,html body #booking-system .sc-refined .sc-month-event{font:400 var(--sc-card-size)/1.25 'Poppins',sans-serif!important;border-radius:6px!important}
html body #booking-system .sc-refined .sc-worker-week-hours{display:block;margin:5px auto 0;text-align:center;color:#666;font:400 9px/1.4 'Poppins',sans-serif!important;overflow-wrap:anywhere}

.sc-booking-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sc-client-results{display:grid;gap:4px;max-height:180px;overflow:auto}.sc-client-results button{text-align:left;padding:10px;border:1px solid #ddd;border-radius:8px;background:white;color:#111}.sc-drawer input,.sc-drawer select,.sc-drawer textarea{color:#111;background:#fff}@media(max-width:480px){.sc-booking-fields{grid-template-columns:1fr}}

.sc-book-mini{padding:12px;border:1px solid #ddd;border-radius:14px;margin:12px 0}.sc-book-mini header{display:flex;align-items:center;justify-content:space-between}.sc-book-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.sc-book-date-grid button,.sc-book-mini header button{border:0;background:transparent;color:#111;border-radius:50%;min-height:34px;padding:4px}.sc-book-date-grid button:disabled{opacity:.25}.sc-book-mini [aria-pressed=true]{background:#111;color:white}.sc-book-workers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sc-book-workers button{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #ddd;border-radius:12px;padding:12px 6px;background:#fff;color:#111;font-size:12px}.sc-book-workers img,.sc-book-initial{width:42px;height:42px;border-radius:50%;object-fit:cover;border:3px solid var(--sc-worker-color);display:grid;place-items:center}.sc-book-workers [aria-pressed=true]{border:2px solid #111;background:#f1f1f1}.sc-book-times{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.sc-book-times button{padding:9px 4px;border:1px solid #ccc;border-radius:9px;background:#fff;color:#111}.sc-book-times [aria-pressed=true]{background:#111;color:#fff}.sc-drawer fieldset{border:0;padding:0;margin:14px 0}.sc-drawer legend{font-size:13px;margin-bottom:8px}.sc-mini-outside{opacity:.4}

/* Fifteen-day week strip: retain readable days and sticky staff column. */
html body #booking-system .sc-refined .sc-week-matrix{min-width:2526px!important;width:100%;table-layout:fixed}html body #booking-system .sc-refined .sc-week-matrix thead th:first-child{width:126px!important}.sc-matrix-scroll{overscroll-behavior-x:contain;scrollbar-gutter:stable}
