.tech-avail-calendar{max-width:480px;width:100%;display:grid;gap:10px;border:1px solid #dbe4ea;border-radius:12px;background:#f7fafc;padding:12px}.tech-avail-header{display:flex;align-items:center;gap:8px}.tech-avail-header strong{flex:1;font-size:12px}.tech-avail-header button{border:1px solid #d9e2e9;background:#fff;border-radius:7px;cursor:pointer;width:32px;height:32px}.tech-avail-time{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;font-size:12px}.tech-avail-time input{width:130px!important;max-width:50%;padding:5px!important}.tech-avail-note{margin:0;min-height:14px;font-size:11px;color:#617384}.tech-avail-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.tech-avail-week{font-size:10px;text-align:center;color:#789}.tech-avail-day{display:grid;justify-items:center;align-content:center;gap:0;min-height:43px;border:1px solid #b7dfce;background:#eefaf4;color:#126b4d;border-radius:7px;cursor:pointer}.tech-avail-day strong{font-size:12px}.tech-avail-day small{font-size:9px}.tech-avail-day.is-busy{background:#edf0f3;border-color:#e1e5e9;color:#939da7;cursor:not-allowed}
.tech-avail-day.is-past{background:#e1e5e9;border-color:#d5dce2;color:#83909b;opacity:.68;cursor:not-allowed}
.tech-avail-day.is-partial{background:#eff5ff;border-color:#a8c8ee;color:#235f9a}
.tech-avail-day:disabled{pointer-events:none}
.tech-avail-day.is-past strong,.tech-avail-day.is-past small{color:#83909b}.tech-avail-day.is-selected{outline:2px solid #ef6c2c;outline-offset:-2px}@media(max-width:600px){.tech-avail-calendar{max-width:100%}.tech-avail-day{min-height:39px}.tech-avail-day small{font-size:8px}}

/* One scheduling interface: the calendar fills the Work Order form column. */
form[data-technician-booking] .tech-avail-calendar{box-sizing:border-box;width:100%;max-width:none;min-width:0;grid-column:1/-1;padding:16px;gap:12px}
form[data-technician-booking] .tech-avail-grid{width:100%;min-width:0;gap:6px}
form[data-technician-booking] .tech-avail-day{min-width:0;min-height:46px;padding:4px 1px}
form[data-technician-booking] .tech-avail-header strong{font-size:14px}
form[data-technician-booking] .tech-avail-time input{box-sizing:border-box;min-height:38px}
form[data-technician-booking] .tech-avail-note:empty{display:none}
@media(max-width:600px){form[data-technician-booking] .tech-avail-calendar{padding:12px}form[data-technician-booking] .tech-avail-grid{gap:4px}}

/* Hide the duplicate native date-time picker before the calendar script executes. */
form[data-technician-booking] label:has(> input[name="scheduled_at"]){display:none!important}
form[data-technician-booking] input[name="scheduled_at"]{display:none!important}
