/* Right-hand list of lights; shares its glass look with the detail pane (controls.css). */
.fixture-light-panel{position:absolute;right:0;top:0;z-index:9;width:340px;min-width:0;height:auto;
  max-height:calc(100dvh - var(--dock-clear,96px) - 14px);--fp-amber:#d9822b;overflow-x:hidden;animation:fp-in-right .34s cubic-bezier(.22,1,.36,1) both}
@keyframes fp-in-right{from{opacity:0;transform:translateX(28px) scale(.985)}to{opacity:1;transform:none}}
.fl-summary{margin:0 0 12px;font-size:12px;color:var(--glass-secondary);font-variant-numeric:tabular-nums}
.fl-summary:empty{display:none}
.fl-bulk{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fl-bulk button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 8px;border:1px solid rgb(255 255 255 / .8);border-radius:14px;
  font-size:12px;font-weight:600;background:rgb(255 255 255 / .55);transition:background-color .2s ease,transform .2s ease,opacity .2s ease,box-shadow .25s ease}
.fl-bulk button:hover:not(:disabled){background:#fff;transform:translateY(-1px)}
.fl-bulk button:disabled{opacity:.42;cursor:default}
.fl-bulk .fx-bulb{width:17px;height:17px}
.fl-bulk-on{color:#8a4b00}
.fl-bulk-on:not(:disabled){background:linear-gradient(135deg,#ffe2b8,rgb(255 255 255 / .65));box-shadow:0 6px 16px rgb(217 130 43 / .2)}
.fl-bulk-off .fx-slash{opacity:1;stroke-dashoffset:0}
.fl-bulk-off{color:var(--glass-secondary)}
.fl-overlay{display:flex;align-items:center;gap:12px;margin-top:10px;padding:9px 12px 9px 9px;border-radius:16px;border:1px solid rgb(255 255 255 / .8);background:rgb(255 255 255 / .5)}
.fl-overlay-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--glass-secondary);background:rgb(255 255 255 / .75);
  box-shadow:inset 0 1px #fff,0 3px 10px rgb(24 36 40 / .1);transition:color .25s ease,background-color .25s ease}
.fl-overlay-icon svg{width:19px;height:19px}
.fl-overlay:has(.fp-switch[aria-checked=true]) .fl-overlay-icon{color:#8a4b00;background:#ffe9c9}
.fl-overlay-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.fl-overlay-text strong{font-size:13px;font-weight:600}
.fl-overlay-text small{font-size:11px;color:var(--glass-muted)}
.fl-overlay .fp-switch{width:48px;height:28px}
.fl-overlay .fp-switch span{width:22px;height:22px}
.fl-overlay .fp-switch[aria-checked=true] span{transform:translateX(20px)}
.fl-group{margin-top:16px}
.fl-group h3{margin:0 0 8px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--glass-secondary)}
.fl-row{display:flex;align-items:center;gap:10px;margin-top:7px;padding:6px 6px 6px 7px;border-radius:19px;border:1px solid rgb(255 255 255 / .8);
  background:rgb(255 255 255 / .5);transition:background-color .25s ease,border-color .25s ease,box-shadow .3s ease,transform .3s cubic-bezier(.22,1,.36,1)}
.fl-row:hover{background:rgb(255 255 255 / .82);box-shadow:0 8px 22px rgb(30 22 8 / .1)}
.fl-row.is-selected{border-color:#246fb4;box-shadow:0 0 0 3px #246fb433}
.fl-row[data-state=off] .fl-text strong{color:var(--glass-secondary)}
.fl-orb{flex:none;border:0;padding:0;cursor:pointer}
.fl-orb::after{display:none}
.fl-orb:hover{transform:scale(1.07)}
.fl-orb:active{transform:scale(.94)}
.fl-open{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 2px;border:0;border-radius:14px;background:none;text-align:left;cursor:pointer;color:inherit}
.fl-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.fl-text strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-text small{font-size:11px;color:var(--glass-muted)}
.fl-chevron{flex:none;width:18px;height:18px;color:var(--glass-muted);transition:transform .3s cubic-bezier(.22,1,.36,1),color .2s ease}
.fl-open:hover .fl-chevron{transform:translateX(3px);color:var(--glass-ink)}
.fl-empty{margin:18px 0 6px;font-size:12px;color:var(--glass-muted)}
.fixture-light-panel :is(button):focus-visible{outline:2px solid #246fb4;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.fixture-light-panel{animation-duration:.01s}.fl-row,.fl-chevron,.fl-bulk button{transition-duration:.01s}}
