.cw-call-editor { --cw-call-accent: #42b7d1; }
.cw-call-editor .cw-call-toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 8px 0; }
.cw-call-editor .cw-call-toggle input { appearance: auto; -webkit-appearance: checkbox; position: static; opacity: 1; width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--cw-call-accent); }
.cw-call-editor .cw-call-help { color: #646970; font-size: 14px; line-height: 1.6; margin: 8px 0 20px; }
.cw-call-editor [hidden] { display: none !important; }
.cw-call-day { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid #eee; }
.cw-call-day-tools h4 { background: #424242; color: #fff; font-size: 14px; text-align: center; padding: 5px 8px; border-radius: 3px; margin: 0 0 5px; }
.cw-call-editor button { font: inherit; cursor: pointer; border: 0; border-radius: 3px; line-height: 1.5; }
.cw-call-day-tools button { display: block; width: 100%; padding: 4px 6px; margin-bottom: 4px; font-size: 12px; color: #36434a; background: #f4f4f4; }
.cw-call-day-tools .cw-call-add { background: #e5f6db; }
.cw-call-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 65px; align-items: center; gap: 15px; margin: 0 0 10px; }
.cw-call-range > label { min-width: 0; margin: 0; }
.cw-call-range input.cw-call-time { box-sizing: border-box; width: 100%; max-width: none; height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #ddd; border-radius: 3px; background: #fff; font-size: 14px; }
.cw-call-range .cw-call-remove { padding: 5px; background: #f7f7f7; color: #8c2525; font-size: 12px; }
.cw-call-editor button:focus-visible, .cw-call-editor input:focus-visible { outline: 2px solid #007cba; outline-offset: 2px; }
.cw-call-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.cw-call-feedback { color: #646970; font-size: 13px; }
.cw-call-widget li { display: flex; justify-content: space-between; gap: 12px; }
.cw-call-widget li span { float: none; text-align: right; }
.label-_clearwax_call_hours { display: none !important; }
/* Time-only popup, scoped to Call Hours so clinic pickers retain their existing styles. */
.flatpickr-calendar.cw-call-picker { position: absolute; display: none; visibility: hidden; opacity: 0; width: 220px; padding: 6px; background: #fff; border-radius: 4px; box-shadow: 0 2px 12px #0003; box-sizing: border-box; }
.flatpickr-calendar.cw-call-picker.open { display: block; visibility: visible; opacity: 1; z-index: 100000; pointer-events: auto; }
.cw-call-picker .flatpickr-time { display: flex; align-items: center; height: 44px; max-height: none; line-height: 44px; overflow: hidden; }
.cw-call-picker .flatpickr-time .numInputWrapper { position: relative; flex: 1; width: 48%; height: 44px; }
.cw-call-picker .flatpickr-time input { width: 100%; height: 44px; margin: 0; padding: 0 15px 0 5px; border: 0; box-shadow: none; background: transparent; color: #393939; text-align: center; font-size: 16px; box-sizing: border-box; }
.cw-call-picker .flatpickr-time-separator { width: 4%; text-align: center; }
.cw-call-picker .numInputWrapper span { position: absolute; right: 0; width: 14px; height: 50%; cursor: pointer; }
.cw-call-picker .numInputWrapper .arrowUp { top: 0; }
.cw-call-picker .numInputWrapper .arrowDown { bottom: 0; }
.cw-call-picker .numInputWrapper span::after { position: absolute; left: 3px; top: 8px; content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.cw-call-picker .numInputWrapper .arrowUp::after { border-bottom: 4px solid #555; }
.cw-call-picker .numInputWrapper .arrowDown::after { border-top: 4px solid #555; }
.cw-call-picker input::-webkit-inner-spin-button { appearance: none; }
@media (max-width: 700px) {
    .cw-call-day { grid-template-columns: 1fr; gap: 12px; }
    .cw-call-day-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .cw-call-day-tools h4 { flex: 1 0 100%; }
    .cw-call-day-tools button { width: auto; padding: 5px 12px; }
    .cw-call-range { gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cw-call-range .cw-call-remove { grid-column: 2; justify-self: end; }
}
