/* Appointment calendar — uses the staff workspace's existing semantic palette. */
.wc-workspace{color:var(--ink,#182b31);--wc-surface:var(--surface,#fff);--wc-line:var(--border,#dce3e6);--wc-muted:var(--muted,#5e6d74);--wc-accent:var(--accent,#126955);--wc-tint:var(--sage,#e4f2eb)}
.wc-toolbar,.wc-period-nav,.wc-toolbar-actions,.wc-calendar-head,.wc-day-head,.wc-booking-head,.wc-form-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wc-toolbar{margin-bottom:20px;gap:16px}.wc-toolbar h2,.wc-calendar-head h2,.wc-day-head h2,.wc-form-head h2{margin:0;font-size:18px;font-weight:650;letter-spacing:-.2px}.wc-toolbar p,.wc-form-head p{margin:4px 0 0;color:var(--wc-muted);font-size:13px;line-height:1.65}.wc-toolbar-actions{justify-content:flex-end}
.wc-period-nav{justify-content:flex-start;gap:8px}.wc-period-nav h2,.wc-period{min-width:150px;text-align:center;font-variant-numeric:tabular-nums;font-size:19px;font-weight:600;margin:0 4px}.wc-period-nav button{min-width:44px;min-height:44px}.wc-period-nav input[type=date]{max-width:160px}
.wc-view-switch,.wc-tabs,.wc-segmented{display:inline-flex;gap:3px;padding:4px;background:#eef2f3;border:1px solid var(--wc-line);border-radius:10px}.wc-view-switch button,.wc-tabs button,.wc-segmented button{min-height:40px;border:0;background:transparent;color:var(--wc-muted);box-shadow:none;margin:0;padding:8px 18px}.wc-view-switch button.active,.wc-tabs button.active,.wc-segmented button.active,.wc-view-switch button[aria-pressed=true],.wc-tabs button[aria-selected=true]{background:var(--wc-surface);color:var(--wc-accent);box-shadow:0 1px 3px #173e3812;font-weight:650}
.wc-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;margin:16px 0 20px;background:var(--wc-surface);border:1px solid var(--wc-line);border-radius:12px}.wc-filters label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:140px;font-size:12px;color:var(--wc-muted)}.wc-filters select,.wc-filters input{min-height:44px;width:100%;margin:0}.wc-filters .wc-reset{flex:none;align-self:flex-end}
.wc-layout,.wc-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:20px;align-items:start}.wc-calendar,.wc-day-detail,.wc-agenda,.wc-holiday-panel,.wc-form,.wc-result,.wc-conflicts{background:var(--wc-surface);border:1px solid var(--wc-line);border-radius:12px;min-width:0}.wc-calendar{overflow:hidden}.wc-calendar-head{padding:18px 20px;border-bottom:1px solid var(--wc-line)}.wc-calendar-head small,.wc-legend{color:var(--wc-muted);font-size:12px;line-height:1.6}.wc-legend{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:12px 18px;border-top:1px solid var(--wc-line);background:#fafcfc}.wc-legend span{display:inline-flex;align-items:center;gap:6px}.wc-legend i{width:7px;height:7px;border-radius:50%;background:var(--wc-accent)}.wc-legend i.closed{background:#aa792b}.wc-legend i.pending{background:#788b97}
.wc-grid,.wc-weekdays,.wc-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}.wc-weekdays{background:#f7f9fa;border-bottom:1px solid var(--wc-line);padding:12px 0;text-align:center;font-size:12px;color:var(--wc-muted);font-weight:600}.wc-cell{position:relative;display:flex;align-items:flex-start;flex-direction:column;justify-content:flex-start;gap:8px;text-align:left;min-width:0;min-height:102px;width:100%;padding:12px!important;margin:0!important;border:0!important;border-radius:0!important;border-right:1px solid #e9edef!important;border-bottom:1px solid #e9edef!important;background:var(--wc-surface);color:var(--ink,#182b31);box-shadow:none!important;line-height:1.4;transition:background-color .15s}.wc-cell:nth-child(7n){border-right:0!important}.wc-cell:hover{background:#f2f7f4!important}.wc-cell:focus-visible{z-index:1;outline:3px solid var(--wc-accent);outline-offset:-3px}.wc-cell.outside,.wc-cell.other-month{background:#f9fafb;color:#8b979c}.wc-cell.selected,.wc-cell.current,.wc-cell[aria-pressed=true]{background:#e9f4ee!important;box-shadow:inset 0 0 0 2px var(--wc-accent)!important}.wc-cell.chosen,.wc-cell.holiday-selected{background:#d8ece1!important;box-shadow:inset 0 0 0 2px var(--wc-accent)!important}.wc-cell[disabled]{opacity:.48;cursor:not-allowed}.wc-cell[disabled]:hover{background:var(--wc-surface)!important}.wc-cell .wc-date,.wc-day-number,.wc-cell>strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2}.wc-cell.today .wc-date,.wc-cell.today .wc-day-number,.wc-cell.today>strong{background:var(--wc-accent);color:#fff;min-width:27px;min-height:27px;text-align:center;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;margin:-4px 0}
.wc-count,.wc-day-count,.wc-cell small{font-size:12px;line-height:1.5;color:var(--wc-muted)}.wc-cell.selected .wc-count,.wc-cell.current .wc-count{color:#235e49}.wc-closed,.wc-day-closed{font-size:11px;line-height:1.5;padding:2px 6px;border-radius:4px;background:#fff3d9;color:#805915}.wc-pending,.wc-change{font-size:11px;line-height:1.5;color:#735d27;overflow-wrap:anywhere}.wc-change{color:#8a5632}.wc-cell.closed{background:#fffdf7}.wc-cell.closed .wc-day-number{color:#805915}.wc-grid.wc-day-grid,.wc-calendar-grid.wc-day-grid{grid-template-columns:1fr}.wc-day-grid .wc-cell{min-height:90px;flex-direction:row;align-items:center;gap:20px;border-right:0!important}.wc-grid.wc-week-grid .wc-cell{min-height:150px}
.wc-day-detail,.wc-agenda{padding:22px;position:sticky;top:20px}.wc-day-head{align-items:flex-start;margin-bottom:16px}.wc-day-head p{margin:4px 0 0;color:var(--wc-muted);font-size:13px}.wc-day-head button{flex:none}.wc-day-detail h3,.wc-agenda h3{font-size:15px;margin:0 0 14px;font-weight:650}.wc-empty{padding:36px 20px;color:var(--wc-muted);text-align:center;font-size:14px;line-height:1.8;border:1px dashed var(--wc-line);border-radius:9px;background:#fbfcfc}.wc-empty button{margin-top:14px}.wc-booking-row,.wc-booking{display:block;width:100%;padding:17px 0!important;margin:0;text-align:left;border:0!important;border-bottom:1px solid var(--wc-line)!important;background:transparent!important;border-radius:0!important;color:var(--ink,#182b31);box-shadow:none!important}.wc-booking-row:last-child,.wc-booking:last-child{border-bottom:0!important}.wc-booking-row:hover,.wc-booking:hover{background:#f7faf8!important}.wc-booking-head{gap:8px;align-items:flex-start}.wc-booking-head strong,.wc-booking-title{font-size:14px;font-weight:650;overflow-wrap:anywhere}.wc-booking-meta,.wc-booking small{display:block;color:var(--wc-muted);font-size:12px;line-height:1.8;margin-top:7px;white-space:normal;overflow-wrap:anywhere}.wc-booking-change{display:block;font-size:12px;line-height:1.6;color:#805915;margin-top:9px;padding:8px 10px;border-radius:6px;background:#fff7e7}.wc-booking-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.wc-booking-actions button{font-size:12px;min-height:36px;padding:7px 12px}.wc-unscheduled{margin-top:22px;border-top:1px solid var(--wc-line);padding-top:22px}.wc-unscheduled>p{font-size:13px;color:var(--wc-muted);line-height:1.7;margin:6px 0 12px}
.wc-status,.wc-badge{display:inline-block;flex-shrink:0;font-size:11px;line-height:1.5;border-radius:5px;padding:4px 7px;color:#3a6164;background:#edf3f3;white-space:nowrap}.wc-status.pending{background:#fff3d9;color:#805915}.wc-status.confirmed{background:#e6f3eb;color:#21664b}.wc-status.cancelled,.wc-status.rejected,.wc-status.completed{background:#f0f2f4;color:#5b6870}
.wc-holiday-panel,.wc-conflicts,.wc-result{padding:22px;margin:20px 0}.wc-holiday-panel h3,.wc-conflicts h3,.wc-result h3{font-size:16px;margin:0 0 10px}.wc-holiday-panel p,.wc-result p{font-size:13px;line-height:1.75;color:var(--wc-muted);margin:8px 0}.wc-holiday-panel{background:#fbfdfb}.wc-holiday-controls,.wc-date-range{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}.wc-holiday-controls label,.wc-date-range label{font-size:12px;color:var(--wc-muted);display:flex;flex-direction:column;gap:6px}.wc-date-range input{min-height:44px}.wc-selected-count{font-size:13px;color:var(--wc-accent);font-weight:600;margin:16px 0}.wc-holiday-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.wc-conflicts{border-color:#e4cea4;background:#fffaf0}.wc-conflicts p,.wc-conflicts small{font-size:13px;line-height:1.8;color:#795e28}.wc-conflict-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-top:1px solid #eee0c4;font-size:13px}.wc-conflict-row:first-of-type{margin-top:12px}.wc-conflict-row button{flex-shrink:0}
.wc-form{margin:24px 0;padding:26px;scroll-margin-top:24px}.wc-form-head{align-items:flex-start;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--wc-line)}.wc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wc-form label,.wc-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;font-size:14px;font-weight:500}.wc-form :is(input,select,textarea){width:100%;min-width:0;min-height:44px}.wc-form textarea{min-height:100px;resize:vertical;line-height:1.7}.wc-form .wc-wide,.wc-form-grid .wc-wide,.wc-form-grid .wc-notice,.wc-form-grid .wc-error{grid-column:1/-1}.wc-form .wc-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:14px;font-weight:400;line-height:1.7;min-height:44px;padding:12px 0}.wc-form .wc-check input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin:3px 0}.wc-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--wc-line);margin-top:24px;padding-top:20px}.wc-form-footer p{margin-right:auto;margin-top:0;margin-bottom:0;font-size:13px;color:var(--wc-muted);max-width:390px}.wc-search-row{display:flex;gap:10px;align-items:center;margin:18px 0 12px}.wc-search-row input{flex:1;min-width:0}.wc-customer-results{max-height:280px;overflow:auto;border:1px solid var(--wc-line);border-radius:8px;margin-bottom:20px}.wc-customer-option{display:block;width:100%;text-align:left;border:0!important;border-bottom:1px solid var(--wc-line)!important;border-radius:0!important;padding:14px 16px!important;background:var(--wc-surface);font-size:14px;margin:0}.wc-customer-option:last-child{border-bottom:0!important}.wc-customer-option small{display:block;font-size:12px;color:var(--wc-muted);line-height:1.7;margin-top:4px}.wc-customer-option.selected,.wc-customer-option[aria-pressed=true]{background:#e9f4ee!important;box-shadow:inset 3px 0 var(--wc-accent)}.wc-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wc-slot{background:var(--wc-surface);border:1px solid var(--wc-line);padding:12px!important;min-height:52px;text-align:center;border-radius:8px;color:var(--ink,#182b31)}.wc-slot.selected,.wc-slot[aria-pressed=true]{background:#e9f4ee!important;border-color:var(--wc-accent)!important;color:#235e49;font-weight:650}.wc-slot small{display:block;color:var(--wc-muted);font-size:11px;font-weight:400;line-height:1.6;margin-top:4px}.wc-slot:disabled{opacity:.5;cursor:not-allowed}
.wc-notice,.wc-error,.wc-success{font-size:13px;line-height:1.8;padding:14px 16px;border:1px solid #cce2d9;background:#edf6f2;color:#355f51;border-radius:8px;margin:14px 0;overflow-wrap:anywhere}.wc-error{background:#fff1ee;border-color:#edc6bf;color:#963e32}.wc-success{background:#edf6f2;border-color:#cce2d9}.wc-notice.warning{background:#fff7e7;border-color:#e4cea4;color:#795e28}.wc-retry{margin:12px 0}.wc-loading{padding:20px 0;color:var(--wc-muted);font-size:14px}.wc-invite-code{display:block;padding:15px;background:#f5f8f7;border:1px solid var(--wc-line);border-radius:8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8;word-break:break-all;margin:16px 0;user-select:all}.wc-invite-actions{display:flex;gap:10px;flex-wrap:wrap}.wc-result{border-top:3px solid #8db59f}.wc-result dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 18px;font-size:14px;line-height:1.7}.wc-result dt{color:var(--wc-muted)}.wc-result dd{margin:0;overflow-wrap:anywhere}
.wc-drawer{padding:0;border:1px solid var(--wc-line);border-radius:14px;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 90px #172d3540}.wc-drawer::backdrop{background:#172a366b}.wc-drawer .wc-form{margin:0;border:0;border-radius:0}.wc-drawer-head{position:sticky;top:0;background:var(--wc-surface);border-bottom:1px solid var(--wc-line);padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2}.wc-drawer-head h2{font-size:21px;margin:0}.wc-drawer-body{padding:24px 26px}.wc-drawer-footer{position:sticky;bottom:0;background:var(--wc-surface);padding:18px 26px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--wc-line);display:flex;justify-content:flex-end;gap:10px;z-index:2}
@media(max-width:1250px){.wc-layout,.wc-calendar-layout{grid-template-columns:minmax(0,1fr) minmax(265px,31%);gap:16px}.wc-cell{padding:10px 8px!important;min-height:94px}.wc-day-detail,.wc-agenda{padding:18px}.wc-calendar-head{padding:16px}}
@media(max-width:1050px){.wc-layout,.wc-calendar-layout{grid-template-columns:1fr}.wc-day-detail,.wc-agenda{position:static}.wc-day-detail .wc-booking-row,.wc-agenda .wc-booking-row{padding:18px 0!important}.wc-cell{min-height:98px}.wc-toolbar{align-items:flex-start}.wc-toolbar-actions{justify-content:flex-start}}
@media(max-width:680px){.wc-toolbar,.wc-period-nav{gap:10px}.wc-toolbar{flex-direction:column;align-items:stretch}.wc-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.wc-toolbar-actions button{min-width:0;padding:10px 9px}.wc-period-nav{justify-content:space-between}.wc-period-nav h2,.wc-period{min-width:0;font-size:17px;flex:1}.wc-period-nav input[type=date]{max-width:150px}.wc-view-switch,.wc-tabs,.wc-segmented{display:flex;width:100%}.wc-view-switch button,.wc-tabs button,.wc-segmented button{flex:1;min-height:44px}.wc-filters{padding:12px;gap:10px}.wc-filters label{min-width:120px}.wc-cell{padding:9px 4px!important;min-height:92px;gap:6px;align-items:center;text-align:center}.wc-cell .wc-date,.wc-day-number,.wc-cell>strong{font-size:15px}.wc-count,.wc-day-count,.wc-cell small{font-size:11px}.wc-pending,.wc-change{font-size:10px}.wc-closed,.wc-day-closed{font-size:10px;padding:2px 4px}.wc-weekdays{font-size:11px}.wc-calendar-head{padding:16px 12px}.wc-calendar-head h2{font-size:16px}.wc-grid.wc-week-grid .wc-cell{min-height:112px}.wc-day-detail,.wc-agenda,.wc-form,.wc-holiday-panel,.wc-conflicts,.wc-result{padding:18px}.wc-form-grid{grid-template-columns:1fr;gap:18px}.wc-form :is(input,select,textarea){font-size:16px}.wc-form-footer{align-items:stretch}.wc-form-footer>button{flex:1}.wc-form-footer p{width:100%;max-width:none;margin:0 0 4px}.wc-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.wc-holiday-controls,.wc-date-range{gap:10px}.wc-date-range label{flex:1;min-width:130px}.wc-holiday-actions button{flex:1;min-width:130px}.wc-conflict-row{align-items:flex-start;flex-direction:column;gap:10px}.wc-conflict-row button{align-self:flex-end}.wc-result dl{grid-template-columns:80px minmax(0,1fr);gap:9px 12px}.wc-drawer{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.wc-drawer-head,.wc-drawer-body,.wc-drawer-footer{padding:18px}.wc-drawer-head h2{font-size:19px}.wc-legend{font-size:11px;gap:10px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.wc-workspace *{transition:none!important;scroll-behavior:auto!important}}
@media(prefers-contrast:more){.wc-workspace{--wc-muted:var(--ink,#182b31);--wc-line:#677b76}.wc-cell{border-color:var(--wc-line)!important}.wc-count,.wc-day-count,.wc-cell small{color:var(--ink,#182b31)}}
@media print{.wc-toolbar-actions,.wc-form,.wc-holiday-panel,.wc-retry,.wc-booking-actions,.wc-invite-actions{display:none!important}.wc-layout,.wc-calendar-layout{grid-template-columns:1fr}.wc-day-detail,.wc-agenda{position:static}.wc-cell{min-height:70px;break-inside:avoid}.wc-workspace{font-size:11px}.wc-calendar,.wc-day-detail{break-inside:avoid}}
/* Controller aliases: the date button and event previews share one cell. */
.wc-cell.wc-selected{background:#e9f4ee!important;box-shadow:inset 0 0 0 2px var(--wc-accent)!important}.wc-cell.wc-other-month{background:#f9fafb;color:#8b979c}.wc-cell.wc-closed{font-size:inherit;line-height:1.4;color:var(--ink,#182b31);background:#fffdf7;border-radius:0;padding:12px!important}.wc-date-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;border:0;background:transparent;color:inherit;padding:4px!important;border-radius:6px!important;gap:6px;text-align:left}.wc-date-button>strong,.wc-date-button>span:first-child{font-size:16px;font-weight:650;font-variant-numeric:tabular-nums}.wc-today .wc-date-button>strong,.wc-today .wc-date-button>span:first-child{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;border-radius:50%;background:var(--wc-accent);color:white}.wc-events{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0}.wc-event{font-size:11px;display:block;min-width:0;width:100%;min-height:28px!important;line-height:1.55;text-align:left;white-space:normal;overflow-wrap:anywhere;border:0!important;border-left:3px solid #8ab39f!important;border-radius:4px!important;background:#eef6f0!important;color:#2f5948;padding:5px 6px!important;margin:0}.wc-event:hover{background:#dfede4!important}.wc-event.pending{border-left-color:#c4a160!important;background:#fff7e7!important;color:#765b27}.wc-event.cancelled,.wc-event.rejected{background:#f0f2f4!important;border-left-color:#a8b2b7!important;color:#68777e}.wc-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;font-size:11px;line-height:1.5;border-radius:5px;background:#edf3f3;color:#3a6164}.wc-chip.wc-closed{background:#fff3d9;color:#805915}.wc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wc-actions>button{flex:none}.wc-selected-dates{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.wc-selected-dates button,.wc-selected-dates span{display:inline-flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;border:1px solid #bbd5c6;border-radius:6px;color:#235e49;background:#edf6f0;padding:7px 10px;min-height:36px}.wc-banner{background:#edf6f2;color:#355f51;border:1px solid #cce2d9;border-radius:8px;padding:14px 16px;font-size:13px;line-height:1.8;margin:16px 0}.wc-banner.warning{background:#fff7e7;border-color:#e4cea4;color:#795e28}.wc-status{font-variant-numeric:tabular-nums}.wc-form .wc-actions{justify-content:flex-end;margin-top:20px;padding-top:18px;border-top:1px solid var(--wc-line)}.wc-customer-results:empty{display:none}.wc-customer-results>button{display:block;width:100%;border-radius:0;margin:0;text-align:left;border:0;border-bottom:1px solid var(--wc-line);padding:14px 16px;background:var(--wc-surface)}.wc-customer-results>button:last-child{border-bottom:0}.wc-customer-results .wc-selected{background:#e9f4ee;box-shadow:inset 3px 0 var(--wc-accent)}.wc-segmented .wc-selected,.wc-segmented button[aria-pressed=true]{background:var(--wc-surface);color:var(--wc-accent);font-weight:650;box-shadow:0 1px 3px #173e3812}
@media(max-width:680px){.wc-cell.wc-closed{padding:9px 4px!important}.wc-date-button{justify-content:center;flex-wrap:wrap;padding:2px!important}.wc-date-button>strong,.wc-date-button>span:first-child{font-size:15px}.wc-date-button .wc-chip{padding:2px 3px;font-size:10px}.wc-events{gap:4px}.wc-event{font-size:10px;padding:4px!important;border-left-width:2px!important;min-height:32px!important}.wc-selected-dates{gap:5px}.wc-selected-dates button,.wc-selected-dates span{font-size:11px;padding:6px 8px}.wc-form .wc-actions button{flex:1}.wc-banner{padding:12px;font-size:12px}}
/* Match the calendar controller's rendered structure. */
.wc-toolbar h1{font-size:27px;font-weight:650;letter-spacing:-.5px;line-height:1.35;margin:0}.wc-period-toolbar h2{font-size:19px;font-weight:600;margin:0 8px;min-width:150px;text-align:center}.wc-grid-day{grid-template-columns:1fr}.wc-grid-day .wc-cell{min-height:150px;border-right:0!important}.wc-grid-week .wc-cell{min-height:200px}.wc-cell.wc-checked{background:#d8ece1!important;box-shadow:inset 0 0 0 2px var(--wc-accent)!important}.wc-cell.wc-selected.wc-checked{background:#cbe3d5!important}.wc-more{font-size:11px;min-height:32px!important;width:100%;text-align:left;background:none;border:0!important;padding:5px 6px!important;color:var(--wc-accent)}.wc-day-heading{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}.wc-day-heading h2{font-size:17px;line-height:1.5;margin:0}.wc-day-detail>.primary{width:100%}.wc-day-detail>.wc-agenda{position:static;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;margin-top:18px}.wc-booking-row{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:14px;row-gap:7px;align-items:start;line-height:1.6}.wc-booking-row>span:nth-child(2){min-width:0}.wc-booking-row strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}.wc-booking-row small{display:block;font-size:12px;color:var(--wc-muted);line-height:1.7;margin-top:5px}.wc-booking-row>.wc-status{grid-column:2;justify-self:start}.wc-time{font-size:12px;line-height:1.65;color:var(--wc-accent);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wc-status-pending{background:#fff3d9;color:#805915}.wc-status-confirmed{background:#e6f3eb;color:#21664b}.wc-status-cancelled,.wc-status-rejected,.wc-status-completed{background:#f0f2f4;color:#5b6870}.wc-event.wc-status-pending{border-left-color:#c4a160!important;background:#fff7e7!important;color:#765b27}.wc-event.wc-status-cancelled,.wc-event.wc-status-rejected{background:#f0f2f4!important;border-left-color:#a8b2b7!important;color:#68777e}.wc-event.wc-status-completed{border-left-color:#8b9ba2!important;background:#f0f4f5!important;color:#53686f}.wc-form-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--wc-line)}.wc-form-heading h2{margin:0 0 6px;font-size:19px}.wc-form-heading p{margin:0}.wc-form-heading>button{flex:none}.wc-form fieldset{border:0;margin:0;padding:0;min-width:0}.wc-form fieldset:disabled{opacity:.65}.wc-form-grid{margin:20px 0}.wc-form .wc-checkbox{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;line-height:1.7;min-height:44px;padding:12px 0;margin-top:12px}.wc-form .wc-checkbox input{width:18px;min-width:18px;height:18px;min-height:18px;flex-shrink:0;margin:3px 0}.wc-form .wc-customer-search{display:flex;align-items:flex-end;gap:12px;margin:20px 0 12px}.wc-customer-search>label{flex:1;min-width:0}.wc-customer-search>button{flex:none}.wc-customer-results>button[aria-pressed=true]{background:#e9f4ee;box-shadow:inset 3px 0 var(--wc-accent)}.wc-customer-results>button>span{margin-left:10px;color:var(--wc-muted);font-size:13px}.wc-customer-results>button small{display:block;font-size:12px;color:var(--wc-muted);line-height:1.7;margin-top:5px}.wc-customer-results>p{padding:0 16px}.wc-readonly{display:flex;flex-direction:column;gap:8px;font-size:14px}.wc-readonly>strong{font-size:15px;padding:10px 12px;min-height:44px;line-height:1.5;background:#f5f8f7;border:1px solid var(--wc-line);border-radius:7px;font-weight:500}.wc-readonly small{font-size:12px;color:var(--wc-muted);line-height:1.65}.wc-form fieldset>button{margin-top:16px}.wc-form textarea{margin-top:3px}.wc-banner>h2{font-size:16px;margin:0 0 8px}.wc-banner>p{margin:4px 0}.wc-invite{margin:20px 0;border-top:3px solid #8db59f!important}.wc-invite h2{font-size:17px}.wc-invite>label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--wc-muted)}.wc-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;letter-spacing:.2px}.wc-invite-text{width:100%;min-height:120px;line-height:1.8;font-size:14px;resize:vertical;display:block;margin:18px 0}.wc-invite>button{margin:0 10px 8px 0}.wc-invite>.wc-banner{margin-bottom:0}.wc-closure-warning{color:#805915;background:#fff7e7}
@media(max-width:680px){.wc-toolbar h1{font-size:25px}.wc-period-toolbar h2{font-size:17px;min-width:125px;margin:0 4px}.wc-period-toolbar .wc-actions{gap:6px}.wc-period-toolbar .wc-actions>button{padding:8px 12px}.wc-grid-week .wc-cell{min-height:150px}.wc-form-heading{gap:12px}.wc-form-heading h2{font-size:18px}.wc-form-heading>button{font-size:12px;padding:9px 10px}.wc-form .wc-checkbox{font-size:14px}.wc-form .wc-customer-search{gap:8px}.wc-customer-search>button{padding:10px 12px}.wc-booking-row{grid-template-columns:65px minmax(0,1fr);column-gap:10px}.wc-invite-text{min-height:160px;font-size:16px}}

/* Keep each month event legible at seven-column widths; full details remain in title and day list. */
.wc-event{display:block!important;width:100%;min-width:0;overflow:hidden}.wc-event>span,.wc-event>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.5}.wc-event>.wc-event-name{font-weight:600}.wc-event>small{font-size:11px;opacity:.85}
.wc-grid-week .wc-date-button,.wc-grid-day .wc-date-button{flex-wrap:wrap;justify-content:flex-start;gap:4px;font-size:13px}.wc-grid-week .wc-today .wc-date-button>span:first-child,.wc-grid-day .wc-today .wc-date-button>span:first-child{width:auto;height:auto;border-radius:0;background:transparent;color:var(--wc-accent);white-space:nowrap;line-height:1.5}.wc-grid-week .wc-date-button>small{font-size:10px}
