.room-schedules{--rs-label:156px;--rs-surface:#2d2d2d;--rs-line:#ffffff0d;min-width:0}
.room-schedules .card-head{align-items:flex-start;margin-bottom:18px}
.rs-room-count{font-size:10px;color:#b6bdc4;white-space:nowrap;margin-top:3px}
.rs-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.rs-toolbar label{min-width:158px;max-width:200px;flex:0 0 auto}
.rs-toolbar select{font-size:11px;padding:8px 10px}
.rs-toolbar p{font-size:11px;line-height:1.65;margin:0 auto 2px 0;color:#c4cbd2;flex:1 1 230px}
.rs-toolbar p span{color:#9faab5;font-size:10px}
.rs-toolbar button{margin-bottom:2px}
.rs-toolbar button:disabled{cursor:default;opacity:.4}
.rs-scroll{overflow:auto;max-height:610px;border:1px solid #45494d;border-radius:9px;scrollbar-width:thin;scrollbar-color:#66717b #25272a;overscroll-behavior:contain}
.rs-scroll:focus-visible{outline:2px solid #80bdff;outline-offset:3px}
.rs-grid{min-width:576px}
.rs-header,.rs-row{display:grid;grid-template-columns:var(--rs-label) minmax(420px,1fr)}
.rs-header{position:sticky;top:0;z-index:4;background:#292b2e;border-bottom:1px solid #45494d}
.rs-header>span{position:sticky;left:0;z-index:5;background:#292b2e;display:flex;align-items:center;padding:0 13px;font-size:10px;font-weight:600;color:#c4ccd4;border-right:1px solid #45494d}
.rs-axis{display:block;width:100%;height:34px;color:#acb7c3;font:10px 'Segoe UI',Tahoma,sans-serif}
.rs-axis text{fill:currentColor}
.rs-row{border-bottom:1px solid #ffffff09;align-items:center}
.rs-row:last-child{border-bottom:0}
.rs-room-label{position:sticky;left:0;z-index:2;background:var(--rs-surface);border-right:1px solid #45494d;padding:13px;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;height:100%;box-shadow:5px 0 10px #0000000a}
.rs-room-label strong{font-size:11px;font-weight:600;line-height:1.4;color:#e4e8ec;overflow-wrap:anywhere}
.rs-room-label i{display:inline-block;width:7px;height:7px;border-radius:2px;background:var(--rs-color);margin-right:7px;vertical-align:1px}
.rs-profile-name{display:block;font-size:10px;color:#becbd7;line-height:1.45;overflow-wrap:anywhere}
.rs-profile-name>span{font-size:9px;color:#98a5b3}
.rs-room-label small{font-size:9px;color:#98a5b3;line-height:1.45}
.rs-plot{display:block;width:100%;height:100px;overflow:hidden;background:#282a2d}
.rs-gridline{stroke:var(--rs-line);stroke-width:1}
.rs-gridline.major{stroke:#ffffff14}
.rs-midline{stroke:#ffffff0c;stroke-dasharray:2 4}
.rs-scale{font:9px 'Segoe UI',Tahoma,sans-serif;fill:#8d99a6}
.rs-area{fill:var(--rs-color);fill-opacity:.07}
.rs-line{fill:none;stroke:var(--rs-color);stroke-width:1.2;stroke-linejoin:round;stroke-opacity:.85}
.rs-cursor{stroke:#d9e6f4;stroke-width:1;stroke-opacity:.2;stroke-dasharray:2 3}
.rs-point{cursor:ns-resize;touch-action:none;outline:none}
.rs-hit{fill:transparent}
.rs-dot{fill:var(--rs-color);stroke:#282a2d;stroke-width:1.5;pointer-events:none}
.rs-point.is-hour .rs-dot{stroke:var(--rs-color);stroke-width:2.5}
.rs-point.is-selected .rs-dot,.rs-point:hover .rs-dot,.rs-point:focus-visible .rs-dot{stroke:#edf5ff;stroke-width:2.5}
.rs-point:focus-visible .rs-hit{fill:#ffffff10;stroke:#c3e2ff;stroke-width:1}
.rs-readout{border:1px solid #454b52;border-radius:8px;padding:12px 14px;margin-top:14px;background:#292d31;min-height:80px}
.rs-readout>div{display:flex;gap:8px 16px;align-items:baseline;flex-wrap:wrap;font-size:12px}
.rs-readout strong{font-weight:600;color:#e5edf4;min-width:0;overflow-wrap:anywhere}
.rs-readout span{color:#b7c7d7;font-variant-numeric:tabular-nums}
.rs-readout b{font-weight:600;margin-left:auto;color:#acd4fa}
.rs-readout b small{font-weight:400;font-size:10px;color:#acb6c1}
.rs-readout p{font-size:11px;color:#b2becb;line-height:1.6;margin:6px 0 0}
.rs-readout .rs-current-profile{display:flex;gap:3px 6px;flex-wrap:wrap;align-items:baseline;margin-top:7px}
.rs-current-profile>span{font-size:10px;color:#9fadb9}
.rs-current-profile>strong{font-size:11px;font-weight:600;color:#d5e3f0}
.rs-note{font-size:10px;color:#a6b0bb;line-height:1.7;margin:13px 0 0}
.rs-pan-hint{display:none;font-size:10px;line-height:1.6;color:#aab6c3;margin:0 0 10px}
.rs-has-overflow .rs-pan-hint{display:block}
@media(max-width:700px){.room-schedules{--rs-label:132px}.rs-grid{min-width:612px}.rs-header,.rs-row{grid-template-columns:var(--rs-label) minmax(480px,1fr)}.rs-room-count{font-size:9px}.rs-toolbar{gap:12px}.rs-toolbar p{flex-basis:100%;order:3}.rs-toolbar button{margin-left:auto}.rs-room-label{padding:11px}.rs-room-label strong{font-size:10px}.rs-readout b{margin-left:0}.rs-scroll{max-height:560px}}
@media print{.rs-toolbar{display:none}.rs-scroll{overflow:visible;max-height:none}.rs-grid{min-width:0}.rs-header,.rs-row{grid-template-columns:140px minmax(0,1fr)}.rs-room-label,.rs-header,.rs-header>span{position:static}.room-schedules{break-inside:auto}.rs-row{break-inside:avoid}}

/* Daily schedule editing: shared scope stays beside the values it affects. */
.schedule-editor .schedule-list{gap:6px;flex-wrap:wrap}
.schedule-editor .schedule-list button{min-height:36px;padding:7px 11px;font-size:12px;white-space:normal;text-align:left}
.schedule-editor .field-group>.row-between{flex-wrap:wrap;gap:10px}
.schedule-editor .input-title{flex:1 1 220px;min-width:0;max-width:100%}
.schedule-editor .row-between>div{display:flex;gap:4px;flex-wrap:wrap}
.schedule-editor .text-button{min-height:32px}
.schedule-usage{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;border-top:1px solid var(--ui-line,#434d56);padding-top:12px;margin-top:12px;color:var(--ui-text-secondary,#bdc8d2);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.schedule-usage strong{color:var(--ui-text,#e4eaf0);font-weight:600}
.schedule-usage span{flex:1 1 240px;max-width:75ch}
.schedule-editor .schedule-hours,.schedule-editor .schedule-grid label{font-variant-numeric:tabular-nums}
.room-schedules{--rs-surface:var(--ui-surface,#2b3035)}
.room-schedules .rs-room-count,.room-schedules .rs-profile-name,.room-schedules .rs-current-profile>strong{font-size:12px}
.room-schedules .rs-room-label strong{font-size:13px}
.room-schedules .rs-room-label small,.room-schedules .rs-profile-name>span,.room-schedules .rs-current-profile>span,.room-schedules .rs-note,.room-schedules .rs-pan-hint{font-size:11px;color:var(--ui-text-secondary,#bdc8d2)}
.room-schedules .rs-axis{font-size:11px}
.room-schedules .rs-scale{font-size:11px;fill:#bdc8d2}
.room-schedules .rs-readout{border:0;border-top:1px solid var(--ui-line,#434d56);border-radius:0;background:transparent;padding:12px 0 0}
.room-schedules .rs-readout p,.room-schedules .rs-toolbar p{font-size:12px}
.room-schedules .rs-toolbar p span{font-size:11px;color:#bdc8d2}
@media(max-width:700px){.schedule-editor .schedule-list button{font-size:12px}.room-schedules .rs-room-label strong{font-size:12px}.room-schedules .rs-room-label{padding:10px}.schedule-usage span{flex-basis:100%}}
