/**
 * public/css/components/climate-lights.css
 * Canopy v2 component - the Lights page of the Climate sheet (#732, U11).
 * Built from docs/design/mockups/climate-lights-732.html (round 5). The switch rows are the Home
 * rows (nursery-lights.css, .toggle-switch from settings-drawer.css); this file adds the page frame,
 * the watts on the name line, the lanes chart and the Climate settings row.
 * Consumes ONLY --v2-* tokens.
 */

.cl-sec { display: flex; flex-direction: column; gap: var(--v2-space-md); }
.cl-grp { background: var(--v2-bg-card); border-radius: 16px; padding: 4px 16px; }
.cl-grp .pl-row:last-child { padding-bottom: var(--v2-space-sm); }
.cl-grp .pl-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cl-grp .pl-state svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pl-nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pl-w { font-size: 15px; font-weight: 600; color: var(--v2-text-primary); font-variant-numeric: tabular-nums; flex: none; }
.pl-state.pl-warn { color: var(--v2-pop-ochre); font-weight: 600; }
.cl-why { margin: 0; font-size: 13px; line-height: 1.35; color: var(--v2-text-secondary); }
.cl-empty { margin: 0; font-size: 15px; line-height: 1.4; color: var(--v2-text-secondary); }
.cl-retry { align-self: flex-start; min-height: var(--v2-space-touch); padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--v2-accent-botanical); background: none; border: 1px solid var(--v2-accent-botanical); border-radius: var(--v2-radius-sm); cursor: pointer; }

.cl-slot { margin: 0; min-height: 24px; font-size: 15px; font-weight: 500; color: var(--v2-text-secondary); font-variant-numeric: tabular-nums; }
.cl-note { margin: 0; font-size: 13px; color: var(--v2-text-secondary); }

.cl-chart { display: block; width: 100%; height: auto; overflow: visible; }
.cl-t { font: 500 13px var(--v2-font-body); fill: var(--v2-text-secondary); }
.cl-lab { font-weight: 600; fill: var(--v2-text-primary); }
.cl-sub { font-weight: 500; fill: var(--v2-text-secondary); }
.cl-warn { fill: var(--v2-pop-ochre); font-weight: 600; }
.cl-off { fill: var(--v2-text-primary); fill-opacity: 0.1; }
.cl-on { fill: var(--v2-text-primary); }
.cl-stale { fill: url(#cl-hatch); stroke: var(--v2-pop-ochre); stroke-width: 1.25; }
.cl-hatch-bg { fill: var(--v2-bg-primary); }
.cl-hatch-ln { stroke: var(--v2-pop-ochre); stroke-width: 2; }
.cl-base, .cl-xt { stroke: var(--v2-border-strong); stroke-width: 1; }

.cl-group { background: var(--v2-bg-card); border-radius: 16px; overflow: hidden; }
.cl-lr { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; box-sizing: border-box; width: 100%; border: 0; background: none; text-align: left; color: var(--v2-text-primary); font: inherit; cursor: pointer; }
.cl-rowic { color: var(--v2-text-secondary); display: grid; place-items: center; width: 24px; flex: none; }
.cl-rowtx { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-rt { font-size: 17px; font-weight: 600; line-height: 1.25; }
.cl-rs { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--v2-text-secondary); }
.cl-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cl-chev { color: var(--v2-text-tertiary); width: 16px; height: 16px; }
.cl-lr:focus-visible, .cl-retry:focus-visible { outline: 2px solid var(--v2-accent-botanical); outline-offset: -2px; }
