/* Light planner (lighting category) */
.light-lab{margin-top:28px;margin-bottom:8px}
.lt-head{max-width:680px;margin-bottom:18px}
.lt-head h2{margin:.2em 0 .25em;font-size:clamp(22px,2.6vw,32px);line-height:1.35}
.lt-head p{margin:0;color:var(--muted);font-size:14px}

.lt-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:22px;align-items:start}
.lt-side{display:flex;flex-direction:column;gap:14px;min-width:0}

.lt-control{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:16px 18px 14px}
.lt-presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:14px}
.lt-preset{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.lt-preset:hover,.lt-preset:focus-visible{border-color:var(--olive);outline:none}
.lt-preset.is-on{background:var(--forest);border-color:var(--forest);color:#fff}
.lt-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.lt-type{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid var(--line);border-radius:16px;background:#fff;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;transition:all .2s}
.lt-type svg{width:34px;height:34px;color:#8a8f7c;transition:color .2s}
.lt-type:hover{border-color:var(--olive)}
.lt-type.is-on{border-color:#1b2233;background:#1b2233;color:#fff}
.lt-type.is-on svg{color:#ffd98a;filter:drop-shadow(0 0 6px rgba(255,210,120,.7))}
.lt-slider-label{display:flex;align-items:baseline;justify-content:space-between;font-size:14px;color:var(--muted);margin-bottom:4px}
.lt-lm-out{font-size:22px;font-weight:800;color:#b07a18}
.lt-slider{-webkit-appearance:none;appearance:none;width:100%;height:12px;margin:8px 0 4px;border-radius:999px;cursor:pointer;background:linear-gradient(90deg,#1b2233 0%,#5b5a4a 40%,#ffd98a 100%)}
.lt-slider:focus-visible{outline:2px solid var(--olive);outline-offset:4px}
.lt-slider::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff8e1;border:4px solid #e0a83a;box-shadow:0 0 14px rgba(255,200,90,.8)}
.lt-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff8e1;border:4px solid #e0a83a;box-shadow:0 0 14px rgba(255,200,90,.8)}
.lt-ends{display:flex;justify-content:space-between;flex-direction:row-reverse;font-size:11.5px;color:var(--muted)}

.lt-result{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:16px 18px}
.lt-found-title{font-size:13px;font-weight:700}
.lt-found-n{color:#b07a18;margin-inline-start:4px}
.lt-targets{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.lt-targets li{display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 9px;border-radius:999px;font-size:12.5px;background:#ebe9e1;color:#8a8a80;transition:background .3s,color .3s}
.lt-tick{width:16px;height:16px;border-radius:50%;background:#cfccc0;color:#fff;display:inline-flex;align-items:center;justify-content:center;transition:background .3s,transform .3s}
.lt-tick .icon{width:10px;height:10px;opacity:0;transition:opacity .2s}
.lt-targets li.is-seen{background:#fff3d6;color:#6b4a0c}
.lt-targets li.is-seen .lt-tick{background:#e0a83a;transform:scale(1.1)}
.lt-targets li.is-seen .lt-tick .icon{opacity:1}
.lt-pick{display:grid;grid-template-columns:24px 76px 1fr auto;gap:12px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}
.lt-pick[hidden]{display:none}
.lt-pick-img{width:76px;height:76px;object-fit:cover;border-radius:14px;background:#efede4}
.lt-pick-body{display:flex;flex-direction:column;gap:1px;min-width:0}
.lt-pick-badge{font-size:11px;color:var(--olive);font-weight:700}
.lt-pick-name{font-weight:700;color:var(--ink);text-decoration:none;line-height:1.5}
.lt-pick-name:hover{text-decoration:underline}
.lt-pick-spec{font-size:12px;color:var(--ink);line-height:1.7}
.lt-pick-price{font-size:13px;color:var(--muted)}
.lt-add{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.lt-add .icon{width:17px;height:17px}
.lt-add[disabled]{opacity:.5;cursor:wait}
.lt-msg{margin:10px 0 0;font-size:13px;color:var(--forest)}
.lt-msg a{color:inherit;font-weight:700}

.lt-stage{position:sticky;top:110px;border-radius:22px;overflow:hidden;background:#04070f;box-shadow:0 18px 40px rgba(4,7,15,.35)}
.lt-scene{display:block;width:100%;height:auto;aspect-ratio:400/260;touch-action:pan-y;cursor:crosshair}
.lt-stars circle{animation:lt-twinkle 3.5s ease-in-out infinite}
@keyframes lt-twinkle{50%{opacity:.3}}
.lt-bulb{filter:drop-shadow(0 0 3px #ffd98a) drop-shadow(0 0 7px #ffb347)}
.lt-lantern{cursor:grab}
.lt-hint{margin:0;padding:9px 14px 11px;font-size:12px;color:#c9cbd6;text-align:center;background:#0b1020}

@media (max-width:900px){
 .lt-grid{grid-template-columns:1fr}
 .lt-stage{order:-1;position:sticky;top:84px;z-index:3}
 .lt-scene{max-height:min(230px,30vh);aspect-ratio:auto;height:min(230px,30vh)}
 .lt-hint{padding:6px 10px 8px;font-size:11.5px}
 .lt-control,.lt-result{padding:14px}
 .lt-pick{grid-template-columns:24px 62px 1fr}
 .lt-pick-img{width:62px;height:62px}
 .lt-add{grid-column:1 / -1;justify-self:end}
}
@media (prefers-reduced-motion:reduce){.lt-stars circle{animation:none}}

/* per-item checkbox (same look as the tools planner) */
.pl-check{position:relative;display:inline-flex;cursor:pointer;align-self:center}
.pl-check input{position:absolute;opacity:0;width:0;height:0}
.pl-check span{width:20px;height:20px;border-radius:6px;border:1.5px solid #b9b5a6;background:#fff;transition:all .2s}
.pl-check input:checked+span{background:var(--forest);border-color:var(--forest);box-shadow:inset 0 0 0 3px #fff}
.pl-check input:focus-visible+span{outline:2px solid var(--olive);outline-offset:2px}
.is-unchecked img,.is-unchecked [class$="-body"],.is-unchecked [class$="-price"]{opacity:.45;transition:opacity .2s}

/* =====================================================================
   Realistic look (matches the fitting room): framed module, a real
   night camp, result card with an empty state
   ===================================================================== */
.lt-shell{position:relative;padding:clamp(18px,2.6vw,32px);border-radius:32px;border:1px solid rgba(37,60,49,.09);
 background:radial-gradient(70% 60% at 100% 0,rgba(240,160,58,.07),rgba(240,160,58,0) 70%),radial-gradient(60% 60% at 0 100%,rgba(104,115,75,.1),rgba(104,115,75,0) 70%),linear-gradient(180deg,#f4f1e8,#f8f6f0);
 box-shadow:0 30px 60px -40px rgba(31,45,36,.35)}
.lt-eyebrow{display:inline-block;font-size:13px;font-weight:700;color:var(--ember-deep,#a8501a)}
.lt-head{margin-bottom:22px}
.lt-head h2{margin:.45em 0 .3em;font-size:clamp(24px,3vw,36px);line-height:1.3;color:var(--ink)}
.lt-head p{font-size:14.5px;line-height:1.9}
@media (min-width:901px){.lt-grid{gap:24px}}
.lt-side{gap:18px}
.lt-control,.lt-result{border-radius:26px;border:1px solid rgba(37,60,49,.1);background:linear-gradient(180deg,#fffdf9,#fbf9f3);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 22px 40px -30px rgba(31,45,36,.45)}
.lt-type{border-radius:18px;box-shadow:0 6px 14px -12px rgba(31,45,36,.5)}
.lt-pick-img{border-radius:16px}
.lt-add{min-height:46px;padding-inline:20px;border-radius:14px;box-shadow:0 12px 24px -12px rgba(227,119,43,.65)}
.lt-stage{border-radius:26px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 26px 50px -30px rgba(4,7,15,.7)}
.lt-hint{padding:11px 16px 13px;font-size:12.5px;font-weight:600;color:#dfe2ea;background:linear-gradient(180deg,#0d1322,#0a0f1b)}

.lt-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.lt-result-head strong{font-size:16px;color:var(--ink)}
.lt-empty{display:none}
.light-lab.is-empty .lt-empty{display:block}
.light-lab.is-empty .lt-found,.light-lab.is-empty .lt-pick{display:none}
.lt-empty-box{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px;border:1.5px dashed rgba(37,60,49,.18);border-radius:18px;text-align:center;background:rgba(255,255,255,.55)}
.lt-empty-box svg{width:34px;height:38px;fill:none;stroke:var(--olive,#68734b);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px;opacity:.85}
.lt-empty-box b{font-size:13.5px;color:var(--forest)}
.lt-empty-box small{font-size:12px;color:var(--muted);line-height:1.8;max-width:330px}
.lt-empty-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid rgba(37,60,49,.12)}
.lt-empty-sum{display:flex;flex-direction:column;font-size:12px;color:var(--muted)}
.lt-empty-sum strong{font-size:20px;font-weight:800;color:var(--ink)}
.lt-add-ghost[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none;filter:grayscale(.4)}
@media (max-width:600px){
 .lt-shell{padding:16px 12px;border-radius:24px;margin-inline:-4px}
}
.light-lab:not([data-light="string"]) .lt-wire{display:none}
