/* RESTING SIDEBAR ROWS, status lights, OPT-OUT (issue #2704; Joe (ccsliinc), 2026-10-29, "make it an on off in settings. on by
 * default"). Card A5 (Adam (Adoom666), "lights still change state, they just don't animate") stilled the status light and the
 * keep-awake steam of every sidebar row that is not selected, hovered or focused; Adam's 2026-10-29 ruling put the motion back
 * on every row. This sheet is A5's look behind a switch: `client/js/motion-setting.js` paints `data-row-lights="still"` on
 * <html> ONLY for a stored `ui_preferences.row_lights_animate: false`, so absent or true leaves every row animating and calm
 * (animation-calm.css) and Reduce Motion still hold the lights when the window is unfocused. `animation: none`, not paused, so
 * nothing is left to service. The legacy `.status-dot` is the same element wearing `.status-led`. Project-heading lights are out
 * of scope. Settings, appearance, motion, "status lights on resting rows". */

@layer legacy {
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-led,
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-led::before,
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-led::after,
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-dot,
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-dot::before,
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .status-dot::after {
        animation: none !important;
    }

    /* The keep-awake cup's three steam wisps rest the same way: still, at 0.6 opacity, the value status-led.css's
     * reduced-motion look and card A5 gave them, so the cup still reads as "keep awake is on". */
    :root[data-row-lights="still"] .session-sidebar-row:not([aria-selected="true"], :hover, :focus-within) .session-sidebar-row-keep-awake[data-keep-awake="1"] .kaw-steam {
        animation: none !important;
        opacity: 0.6;
    }
}
