.scm-hours-editor { margin:18px 0; padding:16px; border:1px solid var(--scm-line,#d8dfeb); border-radius:10px; max-width:100%; }
.scm-hours-editor>summary { cursor:pointer; font-weight:700; }
.scm-hours-editor label { display:block; font-weight:500; min-width:0; }
.scm-hours-editor select,.scm-hours-editor input[type="date"] { display:block; width:100%; max-width:100%; min-height:40px; padding:8px; margin-top:5px; }
.scm-hours-editor input[type="checkbox"] { width:auto; display:inline-block; margin-right:6px; }
.scm-hours-editor button { font:inherit; font-size:14px; font-weight:600; cursor:pointer; padding:9px 12px; min-height:44px; border:1px solid var(--scm-line,#d8dfeb); border-radius:8px; background:#fff; color:var(--scm-ink,#0a1626); white-space:normal; }
.scm-hours-editor button:disabled { cursor:default; opacity:.6; }
.scm-hours-editor button:focus-visible { outline:2px solid var(--scm-blue,#1d5fd4); outline-offset:2px; }
.scm-hours-day,.scm-holiday-row { min-width:0; margin:14px 0; padding:12px; border:1px solid var(--scm-line,#d8dfeb); border-radius:8px; }
.scm-hours-day legend,.scm-holiday-row legend { font-weight:700; padding:0 6px; }
.scm-hours-controls { display:grid; grid-template-columns:minmax(140px,1.2fr) repeat(2,minmax(100px,1fr)); gap:12px; align-items:start; }
.scm-hours-next { grid-column:1/-1; }
.scm-hours-time[hidden],.scm-hours-editor button[hidden] { display:none!important; }
.scm-holiday-heading { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.scm-hours-legacy { white-space:pre-line; }
.scm-hours-error { color:#a51f27; font-weight:600; }
.scm-public-hours dl { margin:12px 0; }
.scm-public-hours dl>div { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,1.3fr); gap:12px; margin:5px 0; }
.scm-public-hours dt { font-weight:600; }
.scm-public-hours dd { margin:0; overflow-wrap:anywhere; }
@media(max-width:640px) { .scm-hours-controls,.scm-holiday-heading { grid-template-columns:1fr; } .scm-hours-editor { padding:12px; } .scm-public-hours dl>div { grid-template-columns:1fr; gap:2px; } }
