/* Scoped RCF hours surfaces. Public schedules remain readable without JavaScript. */
.rcf-hours-card,.rcf-hours-editor{box-sizing:border-box;color:#172239;font:inherit;max-width:100%;min-width:0}
.rcf-hours-card *,.rcf-hours-editor *{box-sizing:border-box}
.rcf-hours-card{padding:20px;margin-top:20px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.rcf-hours-card h3{margin:0 0 15px;font-size:18px;font-weight:700;line-height:1.4;color:#172239}
.rcf-hours-card .rcf-hours-today{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px;margin-bottom:12px;background:#f3f7fa;border-radius:9px;font-size:13px;line-height:1.5}
.rcf-hours-today strong{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.rcf-hours-card [hidden]{display:none!important}
.rcf-hours-card summary,.rcf-hours-editor summary{cursor:pointer;color:#0369a1;font-size:13px;line-height:1.5;padding:8px 0}
.rcf-hours-card dl{margin:4px 0 0;font-size:13px;line-height:1.5}
.rcf-hours-card dl>div{display:grid;grid-template-columns:minmax(76px,.8fr) minmax(0,1.3fr);gap:10px;padding:9px 5px;border-bottom:1px solid #e2e8f0}
.rcf-hours-card dl>div:last-child{border-bottom:0}
.rcf-hours-card dt{font-weight:400;margin:0;color:#172239}
.rcf-hours-card dd{font-weight:400;margin:0;text-align:right;color:#172239;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rcf-hours-card dl>div[aria-current=date]{background:#edf7fd}
.rcf-hours-card dl>div[aria-current=date] dt,.rcf-hours-card dl>div[aria-current=date] dd{font-weight:600}
.rcf-hours-card .rcf-hours-zone{font-size:12px;line-height:1.5;color:#596a81;border-top:1px solid #e2e8f0;margin:12px 0 0;padding-top:12px}
.rcf-hours-card .rcf-hours-emergency{font-size:13px;font-weight:500;line-height:1.5;margin:15px 0 0}
.rcf-hours-card .rcf-hours-legacy{font-size:13px;font-weight:400;line-height:1.8;overflow-wrap:anywhere;white-space:normal;margin:0}
.rcf-hours-muted,.rcf-hours-editor .rcf-hours-muted{color:#596a81;font-size:12px;line-height:1.6;margin:8px 0 14px}
.rcf-hours-editor{background:#fff;border:1px solid #dbe4ed;border-radius:12px;padding:20px;margin:18px 0;max-width:850px}
.rcf-hours-editor .rcf-hours-fields{border:0;margin:0;padding:0;min-width:0}
.rcf-hours-editor legend{float:none;width:auto;padding:0;margin:0 0 4px;font-size:19px;line-height:1.4;font-weight:700;color:#172239}
.rcf-hours-editor label{display:flex;flex-direction:column;gap:6px;color:#172239;font-size:12px;font-weight:500;line-height:1.5;margin:0;min-width:0}
.rcf-hours-editor input,.rcf-hours-editor select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:40px;height:auto;border:1px solid #cad6e3;border-radius:7px;padding:8px;background:#fff;color:#172239;font:inherit;font-size:14px;line-height:1.5;margin:0}
.rcf-hours-editor input[type=checkbox]{appearance:auto;width:17px;min-width:17px;min-height:17px;height:17px;padding:0;border-radius:3px;accent-color:#0369a1}
.rcf-hours-editor .rcf-hours-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.rcf-hours-editor .rcf-hours-day{display:grid;grid-template-columns:minmax(150px,.85fr) minmax(0,1.2fr);gap:14px;padding:13px 0;border-bottom:1px solid #e2e8f0;align-items:start}
.rcf-hours-editor .rcf-hours-day-head{display:grid;grid-template-columns:1fr;gap:6px}
.rcf-hours-editor .rcf-hours-day-head>label{font-weight:600;font-size:13px}
.rcf-hours-editor .rcf-hours-periods{min-width:0}
.rcf-hours-editor .rcf-hours-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin-bottom:5px}
.rcf-hours-editor .rcf-hours-next,.rcf-hours-editor .rcf-hours-confirm{display:flex;flex-direction:row;align-items:center;gap:8px;grid-column:1/-1;min-height:32px;font-weight:400;font-size:12px}
.rcf-hours-editor .rcf-hours-confirm{margin:14px 0}
.rcf-hours-editor .rcf-hours-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;border:1px solid #cad6e3;border-radius:8px;color:#172239;font:inherit;font-size:12px;font-weight:600;line-height:1.4;min-height:40px;padding:9px 13px;margin:0;max-width:100%;white-space:normal}
.rcf-hours-editor .rcf-hours-link{display:inline-flex;align-items:center;cursor:pointer;background:none;border:0;border-radius:4px;color:#0369a1;font:inherit;font-size:12px;line-height:1.5;min-height:36px;padding:5px 0;margin:0;max-width:100%;white-space:normal}
.rcf-hours-editor .rcf-hours-period .rcf-hours-link{grid-column:1/-1}
.rcf-hours-editor .rcf-hours-save{background:#172239;color:#fff;border-color:#172239}
.rcf-hours-editor .rcf-hours-tools,.rcf-hours-editor .rcf-hours-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.rcf-hours-editor .rcf-hours-actions{border-top:1px solid #e2e8f0;padding-top:16px}
.rcf-hours-editor :disabled{opacity:.6;cursor:wait}
.rcf-hours-editor .rcf-hours-review{background:#fff8e7;border:1px solid #e7cf8c;border-radius:8px;padding:6px 12px;margin:12px 0}
.rcf-hours-editor .rcf-hours-review p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.rcf-hours-editor .rcf-hours-exceptions{margin-top:16px}
.rcf-hours-editor .rcf-hours-exception{border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin:10px 0}
.rcf-hours-editor .rcf-hours-feedback{font-size:13px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;margin:12px 0 0;color:#305e40}
.rcf-hours-editor .rcf-hours-feedback[role=alert]{color:#a32118}
.rcf-hours-editor .rcf-hours-feedback:empty{display:none}
.rcf-hours-editor .rcf-hours-history{font-size:12px;line-height:1.7;margin-top:12px}
.rcf-hours-editor .rcf-hours-history ul{padding-left:18px;margin:8px 0;list-style:disc}
@media(max-width:580px){.rcf-hours-editor{padding:16px}.rcf-hours-editor .rcf-hours-settings,.rcf-hours-editor .rcf-hours-day{grid-template-columns:minmax(0,1fr)}.rcf-hours-editor .rcf-hours-day-head{grid-template-columns:minmax(80px,.65fr) minmax(0,1fr);align-items:center}.rcf-hours-editor input,.rcf-hours-editor select{font-size:16px}.rcf-hours-card{padding:16px}.rcf-hours-card dl>div{padding:9px 2px;gap:8px}}
@media(pointer:coarse){.rcf-hours-editor .rcf-hours-button,.rcf-hours-editor .rcf-hours-link,.rcf-hours-editor .rcf-hours-next,.rcf-hours-editor .rcf-hours-confirm,.rcf-hours-card summary{min-height:44px}.rcf-hours-editor input:not([type=checkbox]),.rcf-hours-editor select{min-height:44px;font-size:16px}}

/* Fit native time controls to the actual editor column, including narrow portal cards. */
.rcf-hours-editor{container-type:inline-size}
@container(max-width:520px){.rcf-hours-editor .rcf-hours-settings,.rcf-hours-editor .rcf-hours-day{grid-template-columns:minmax(0,1fr)}}
@container(max-width:380px){.rcf-hours-editor .rcf-hours-day-head,.rcf-hours-editor .rcf-hours-period{grid-template-columns:minmax(0,1fr)}.rcf-hours-editor .rcf-hours-exception{padding:8px}}
