.central-schedule{min-width:0;max-width:100%;--schedule-bg:#172338;--schedule-head:#22334f;--schedule-line:#64748b;--schedule-weekend:#1d2b42;--schedule-shift:#123d52;--schedule-text:#e2e8f0;color:var(--schedule-text)}
.central-schedule-month{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:16px 0}.central-schedule-month label{display:block;flex:1 1 160px;max-width:240px}.central-schedule-month .ops-input{margin-top:4px}.central-schedule-scroll{max-width:100%;max-height:580px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--schedule-line);border-radius:10px;background:var(--schedule-bg);scrollbar-gutter:stable;isolation:isolate}.central-schedule-scroll:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}.central-schedule table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:13px;color:var(--schedule-text)}.central-schedule caption{text-align:left;padding:10px;background:var(--schedule-head);font-weight:700}.central-schedule th,.central-schedule td{width:140px;min-width:140px;max-width:140px;border-right:1px solid var(--schedule-line);border-bottom:1px solid var(--schedule-line);padding:7px;vertical-align:top;background:var(--schedule-bg);overflow-wrap:anywhere}.central-schedule thead th{position:sticky;top:0;z-index:2;background:var(--schedule-head);text-align:center}.central-schedule tr>th:first-child{position:sticky;left:0;z-index:1;width:175px;min-width:175px;max-width:175px;background:var(--schedule-head);text-align:left}.central-schedule thead th:first-child{z-index:3}.central-schedule th small{display:block;font-weight:400}.central-schedule td.central-schedule-weekend{background:var(--schedule-weekend)}.central-schedule-item{display:flex;flex-direction:column;gap:3px;border-radius:7px;padding:7px;background:var(--schedule-shift);margin:0 0 6px;border-left:3px solid #38bdf8;line-height:1.35}.central-schedule-item:last-child{margin-bottom:0}.central-schedule-absence{background:transparent;border-left-color:#94a3b8}.central-schedule-hours{white-space:nowrap;font-weight:600}.central-schedule-site{overflow-wrap:anywhere}.central-schedule-item small{font-size:11px;opacity:1}.central-schedule-empty{display:block;text-align:center;opacity:.7}.central-schedule-hint{font-size:13px}.central-schedule .ops-filters{margin-bottom:0}.central-schedule .ops-filters label{display:block;flex:1 1 180px}.central-schedule .ops-filters select{margin-top:4px}.central-schedule-actions{display:flex;gap:8px;flex-wrap:wrap}.central-schedule-scroll>div>p{padding:16px}.central-schedule [data-schedule-status]{min-height:22px}
html[data-theme=light] .central-schedule{--schedule-bg:#fff;--schedule-head:#eaf0f8;--schedule-line:#b0bfd0;--schedule-weekend:#f2f5fa;--schedule-shift:#e0f2fe;--schedule-text:#172338}html[data-theme=light] .central-schedule-item{border-left-color:#0369a1}
@media(max-width:600px){.central-schedule.ops-card{padding:12px}.central-schedule-scroll{max-height:480px}.central-schedule tr>th:first-child{width:120px;min-width:120px;max-width:120px}.central-schedule th,.central-schedule td{width:130px;min-width:130px;max-width:130px}.central-schedule-month{gap:6px}.central-schedule-month label{flex:1 1 130px}.central-schedule .ops-filters label{flex-basis:100%}.central-schedule-actions{width:100%}.central-schedule-actions button{flex:1}.central-schedule-month button{padding:10px}}

.central-attendance-dialog {width:min(32rem,calc(100vw - 2rem));box-sizing:border-box;max-height:90dvh;overflow:auto;}
.central-attendance-dialog form,.central-attendance-dialog label {display:grid;gap:.5rem;min-width:0;}
.central-attendance-dialog form {gap:1rem;}
.central-attendance-dialog input,.central-attendance-dialog textarea {box-sizing:border-box;min-width:0;width:100%;max-width:100%;font-size:16px;}
.central-attendance-dialog textarea {min-height:6rem;}
.central-attendance-dialog p {overflow-wrap:anywhere;}
.central-schedule-item .ops-button {font-size:.8rem;margin-top:.3rem;white-space:normal;}

.central-schedule [hidden]{display:none!important}.central-schedule-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.central-schedule.central-schedule-fullscreen{position:fixed!important;inset:0!important;z-index:99999!important;margin:0!important;border-radius:0!important;padding:18px!important;width:100vw!important;height:100dvh!important;max-width:none!important;background:var(--schedule-bg)!important;overflow:auto;box-sizing:border-box}.central-schedule-fullscreen .central-schedule-scroll{max-height:calc(100dvh - 300px);min-height:200px}.central-schedule-daily table{width:100%}.central-schedule-daily td{width:auto;max-width:none}.central-schedule-daily .central-schedule-item{min-width:140px}.central-schedule-fullscreen .central-schedule-toolbar{position:sticky;top:-18px;background:var(--schedule-bg);z-index:5;padding:10px 0}.central-schedule-fullscreen .central-schedule-month{margin:8px 0}@media(max-width:600px){.central-schedule-fullscreen .central-schedule-scroll{max-height:55dvh}.central-schedule-fullscreen .ops-filters{padding-bottom:30px}}

.central-attendance-dialog select{min-width:0;max-width:100%;width:100%;font-size:16px;box-sizing:border-box;}

.central-coverage{padding:12px;border:1px solid var(--schedule-line);border-radius:10px;margin-bottom:12px;overflow-wrap:anywhere}.central-coverage h3{font-weight:bold}.central-coverage p{margin:8px 0}.central-coverage-warning,.central-coverage-gap{border:2px solid #f59e0b}.central-coverage-gap{padding:6px;border-radius:6px;margin-bottom:6px}.central-coverage summary{cursor:pointer;font-weight:bold;margin:8px 0}.central-schedule-toolbar label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.central-schedule-toolbar select{max-width:100%}

.central-coverage-day{font-size:11px;margin:0 0 6px;line-height:1.35}.central-coverage-complete{color:#6ee7b7}html[data-theme=light] .central-coverage-complete{color:#166534}

.central-create-rest{display:flex!important;align-items:flex-start;gap:.6rem}.central-create-rest[hidden]{display:none!important}.central-create-rest input{width:auto!important;flex:0 0 auto;margin-top:.2rem}.central-cell-create{font-size:.8rem;margin-top:.5rem;white-space:normal;max-width:100%}
