.clinical-scheduling{display:block}.clinical-scheduling[hidden]{display:none}.scheduling-note{margin:16px 0;color:var(--muted)}.scheduling-block{display:grid;gap:12px;padding-top:17px;margin-top:17px;border-top:1px solid var(--line)}.scheduling-title{display:flex;justify-content:space-between;align-items:end;gap:12px}.scheduling-title h3{margin:0}.scheduling-title small{color:var(--muted)}.room-form,.schedule-form{display:grid;gap:9px;align-items:end}.room-form{grid-template-columns:1.6fr .7fr 1.2fr .7fr .9fr auto}.schedule-form{grid-template-columns:1.4fr 1.2fr 1fr .8fr .8fr .9fr auto}.room-form label,.schedule-form label{display:grid;gap:5px}.room-form label span,.schedule-form label span{font-size:11px;color:var(--muted)}.room-form input,.room-form select,.schedule-form input,.schedule-form select{width:100%;min-height:44px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:#091923;color:#fff}.room-form button,.schedule-form button{min-height:44px;border:0;border-radius:11px;padding:0 14px;background:#177a50;color:#fff;font-weight:900}.resource-list,.schedule-list{display:grid;gap:8px}.resource-row,.schedule-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #234050;border-radius:12px;background:#0a1923}.resource-row small,.schedule-row small{display:block;color:var(--muted);margin-top:3px}.resource-row button,.schedule-row button{flex:0 0 auto;border:0;border-radius:9px;padding:8px 10px;background:#692630;color:#fff}.schedule-day{display:inline-flex;min-width:88px;margin-right:8px;padding:5px 8px;border-radius:8px;background:#173d58;color:#b9dcff;font-size:12px;font-weight:900}.resource-empty{padding:13px;border:1px dashed #345465;border-radius:11px;color:var(--muted)}@media(max-width:1050px){.room-form,.schedule-form{grid-template-columns:repeat(3,1fr)}.room-form button,.schedule-form button{min-height:44px}}@media(max-width:700px){.scheduling-title{display:block}.scheduling-title small{display:block;margin-top:4px}.room-form,.schedule-form{grid-template-columns:1fr}.resource-row,.schedule-row{align-items:flex-start}.schedule-day{display:block;width:max-content;margin:0 0 6px}}
.schedule-days{min-width:250px;margin:0;padding:5px 8px 7px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:5px}.schedule-days legend{padding:0 5px;color:var(--muted);font-size:11px}.schedule-days label{display:block}.schedule-days input{position:absolute;opacity:0;pointer-events:none}.schedule-days span{display:grid!important;place-items:center;min-width:30px;height:28px;padding:0 6px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--muted)!important;font-size:12px!important;font-weight:800;cursor:pointer}.schedule-days input:checked+span{border-color:#159b78;background:#167b5d;color:#fff!important}.schedule-days input:focus-visible+span{outline:3px solid rgba(24,183,160,.22)}
@media(max-width:1050px){.schedule-days{grid-column:1/-1}}@media(max-width:700px){.schedule-days{min-width:0;flex-wrap:wrap}}
.schedule-form{grid-template-columns:1.4fr 1.2fr .8fr auto}.schedule-days-grid{grid-column:1/-1;display:grid;gap:7px}.schedule-day-entry{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.7fr) minmax(130px,.7fr);gap:9px;align-items:end;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.schedule-day-entry.disabled{opacity:.52}.schedule-day-check{display:flex!important;align-items:center;gap:9px;min-height:44px}.schedule-day-check input{width:20px!important;height:20px;min-height:0!important;accent-color:#178865}.schedule-day-check span{font-size:14px!important;font-weight:800;color:var(--text)!important}.schedule-day-entry input[type="time"]{min-height:40px}.schedule-form>button{align-self:end}@media(max-width:1050px){.schedule-form{grid-template-columns:1fr 1fr}.schedule-days-grid{grid-column:1/-1}}@media(max-width:700px){.schedule-day-entry{grid-template-columns:1fr 1fr}.schedule-day-check{grid-column:1/-1}.schedule-form{grid-template-columns:1fr}.schedule-days-grid{grid-column:auto}}
.schedule-editor{border:1px solid var(--line);border-radius:13px;background:var(--panel2);overflow:hidden}.schedule-editor>summary{min-height:50px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-weight:900;list-style:none}.schedule-editor>summary::-webkit-details-marker{display:none}.schedule-editor>summary span{display:flex;align-items:center;gap:8px}.schedule-editor>summary i{color:var(--brand)}.schedule-editor>summary small{color:var(--muted);font-size:12px}.schedule-editor[open]>summary{border-bottom:1px solid var(--line)}.schedule-editor .schedule-form{padding:14px}
.schedule-room-group{border:1px solid var(--line);border-radius:13px;background:var(--panel2);overflow:hidden}.schedule-room-group>summary{min-height:58px;padding:8px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none}.schedule-room-group>summary::-webkit-details-marker{display:none}.schedule-room-group>summary div{display:grid;gap:3px}.schedule-room-group>summary b{display:flex;align-items:center;gap:8px;color:var(--text)}.schedule-room-group>summary b i{color:var(--brand)}.schedule-room-group>summary small{color:var(--muted)}.schedule-room-group>summary>span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:800}.schedule-room-group>summary>span i{transition:transform .2s}.schedule-room-group[open]>summary{border-bottom:1px solid var(--line)}.schedule-room-group[open]>summary>span i{transform:rotate(180deg)}.schedule-room-rows{display:grid;gap:7px;padding:10px}.schedule-room-rows .schedule-row{background:var(--panel)}@media(max-width:600px){.schedule-room-group>summary{align-items:flex-start}.schedule-room-group>summary>span{white-space:nowrap}.schedule-room-rows{padding:7px}}
.room-form{grid-template-columns:repeat(4,minmax(150px,1fr))}.room-form [hidden]{display:none}.room-form button{align-self:end}@media(max-width:1050px){.room-form{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:700px){.room-form{grid-template-columns:1fr}}
.resource-row-actions{display:flex;align-items:center;gap:8px}.resource-row .room-edit-button{background:#176b78}.room-edit-dialog{width:min(720px,calc(100% - 24px));border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);padding:22px}.room-edit-dialog::backdrop{background:rgba(0,0,0,.68)}.room-edit-dialog>button{position:absolute;right:13px;top:10px;border:0;background:transparent;color:var(--text);font-size:28px}.room-edit-dialog>p{color:var(--muted)}.room-edit-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.room-edit-dialog label{display:grid;gap:6px}.room-edit-dialog label[hidden]{display:none}.room-edit-dialog label span{font-size:12px;color:var(--muted)}.room-edit-dialog input,.room-edit-dialog select{min-height:44px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:#091923;color:var(--text)}.room-edit-dialog form button{min-height:42px;border:0;border-radius:10px;background:#1b6ed0;color:#fff;font-weight:900}.room-edit-dialog form button[data-cancel]{background:#263d4b}html[data-theme="light"] .room-edit-dialog{background:#fff}html[data-theme="light"] .room-edit-dialog input,html[data-theme="light"] .room-edit-dialog select{background:#fff;color:#092132}@media(max-width:560px){.room-edit-dialog form{grid-template-columns:1fr}}
