.scheduler-nav { display:flex; align-items:baseline; gap:8px 14px; flex-wrap:wrap; padding-right:clamp(12px,2vw,26px); }
.scheduler-instruments { display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-inline-start:auto; }
.scheduler-instruments button,.instrument-pop,.instrument-away button,.instrument-window-bar button { display:inline-flex; align-items:center; justify-content:center; gap:5px; border:1px solid var(--ui-line,#cbd6e0); border-radius:5px; background:#fff; color:var(--ui-navy,#254568); padding:5px 9px; font-weight:600; font-size:12px; line-height:1.4; }
.scheduler-instruments svg,.instrument-pop svg { width:15px; height:15px; }
.instrument-away { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:16px; background:var(--ui-wash,#f3f6f9); border-radius:6px; }
.instrument-away strong { margin-inline-end:auto; font-size:13px; }
.instrument-window-body { margin:0; padding:0; background:#fff; min-width:0; }
.instrument-window { box-sizing:border-box; background:#fff; color:var(--ui-ink,#14283c); outline:none; display:flex; flex-direction:column; overflow:hidden; }
.instrument-window.external { width:100%; height:100vh; height:100dvh; min-height:0; }
.instrument-window.floating { position:fixed; top:9vh; right:16px; width:min(770px,90vw); height:min(610px,79vh); min-width:min(320px,100vw); min-height:170px; max-width:100vw; max-height:95vh; z-index:51; resize:both; border:1px solid #8fa9bf; border-radius:10px; box-shadow:0 12px 58px #13253942; }
.instrument-window.floating[data-instrument=board] { top:15vh; right:4vw; }
.instrument-window-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 12px; background:#eaf0f6; border-bottom:1px solid #c9d5e0; color:#193957; flex:none; }
.instrument-window-bar strong { font-size:13px; letter-spacing:.01em; }
.instrument-window.floating .instrument-window-bar { cursor:move; touch-action:none; user-select:none; }
.instrument-window-content { flex:1; min-height:0; min-width:0; overflow:auto; }
.instrument-window .instruments { width:100%; margin:0; border:0; border-radius:0; }
.instrument-window .instrument-pop { display:none; }
.instrument-window :is(.triggerbar,.pin-legend) { flex-wrap:wrap; }
@media(max-width:650px) { .scheduler-instruments { margin:0 0 0 12px; } .instrument-window.floating { right:1vw; width:98vw; } }
