/* The Solar tab (App Dev, 2026-11-14). On the Qartë tokens and Alb's area cards; the sun's colour as the accent. */
.sl { --ac: #e08a00; --ac-l: #fff4dc; }
.sl-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 18px; align-items: start; }
.sl-form { display: grid; gap: 12px; position: sticky; top: 76px; }
.sl-form h3 { margin: 0; font-size: 19px; }
.sl-h3b { margin-top: 8px !important; }
.sl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sl-f { display: grid; gap: 6px; font: 600 13px var(--sans); color: var(--ink-2); }
.sl-f select, .sl-in input { width: 100%; box-sizing: border-box; height: 44px; border: 1px solid #e3e3e8; border-radius: 12px; background: #fff; padding: 0 12px; font: 500 16px var(--sans); color: var(--ink); }
.sl-in { position: relative; }
.sl-in input { padding-right: 52px; }
.sl-in i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 13px var(--sans); font-style: normal; color: var(--ink-2); pointer-events: none; }
.sl-f select:focus, .sl-in input:focus { outline: 2px solid var(--ac); outline-offset: 1px; }
.sl-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #f0f0f3; }
.sl-seg label { position: relative; }
.sl-seg input { position: absolute; opacity: 0; }
.sl-seg span { display: block; text-align: center; padding: 9px 0; border-radius: 10px; font: 600 14px var(--sans); cursor: pointer; }
.sl-seg input:checked + span { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.sl-seg input:focus-visible + span { outline: 2px solid var(--ac); }
.sl-note { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.45; }

.sl-res { display: grid; gap: 18px; }
.sl-hero { display: grid; gap: 10px; }
.sl-eye { font: 600 13px var(--sans); color: var(--ac); text-transform: uppercase; letter-spacing: .06em; }
.sl-big { display: flex; align-items: baseline; gap: 10px; }
.sl-big .ar-n { font: 700 clamp(56px, 9vw, 88px)/1 var(--round, var(--sans)); letter-spacing: -.04em; color: var(--ink); }
.sl-big > span { font: 600 20px var(--sans); color: var(--ink-2); }
.sl-why { margin: 0; font-size: 15px; color: var(--ink-2); }
.sl-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 8px; border-radius: 16px; overflow: hidden; background: #ececf0; }
.sl-kpis > div { display: grid; gap: 4px; align-content: start; padding: 14px 14px 16px; background: #fff; }
.sl-kpis span { font: 600 12.5px var(--sans); color: var(--ink-2); }
.sl-kpis b, .sl-kpis .ar-n { font: 700 21px var(--sans); letter-spacing: -.02em; color: var(--ink); }
.sl-kpis small { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.sl-yes { color: #0a8f5b !important; }
.sl-no { color: var(--ink) !important; }
.sl-fine { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.sl-empty h3 { margin-top: 0; }

.sl-sun-head p { margin: -6px 0 16px; max-width: 70ch; font-size: 15px; color: var(--ink-2); }
.sl-sun-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: center; }
.sl-plan svg, .sl-sky svg { width: 100%; height: auto; display: block; }
.sl-plan svg { max-height: 460px; }
.sl-roof { fill: #ececf0; stroke: #d4d4da; stroke-width: .08; }
.sl-par { fill: none; stroke: #9a9aa3; stroke-width: .35; }
.sl-cell { stroke: rgba(255,255,255,.9); stroke-width: .04; opacity: .42; transition: opacity .2s; }
.sl-use { opacity: 1; stroke: #0b0b0d; stroke-width: .07; }
.sl-shd { opacity: .14; }
.sl-use.sl-shd { opacity: .3; }
.sl-ray { stroke: #f2b400; stroke-dasharray: 1 .8; }
.sl-dot { fill: #ffc21a; stroke: #e08a00; stroke-width: 1; }
.sl-lab { font-weight: 600; font-family: var(--sans); fill: var(--ink-2); text-anchor: middle; }
.sl-ring { fill: none; stroke: #e3e3e8; stroke-width: .8; }
.sl-cd { font: 700 9px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.sl-hr { font: 600 7px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.sl-p { fill: none; stroke-width: 2; stroke-linecap: round; }
.sl-p1, .sl-skynote .k1 { stroke: #f2b400; color: #c98a00; }
.sl-p2, .sl-skynote .k2 { stroke: #f08c3a; color: #d36a12; }
.sl-p3, .sl-skynote .k3 { stroke: #4a7fc1; color: #2f63a6; }
.sl-pnow { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.sl-skynote { margin: 6px 0 0; font-size: 13px; text-align: center; color: var(--ink-2); }
.sl-skynote span { font-weight: 700; margin-left: 4px; }
.sl-ctl { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end; margin-top: 16px; }
.sl-ctl label { display: grid; gap: 8px; font: 600 13px var(--sans); color: var(--ink-2); }
.sl-ctl b { color: var(--ink); margin-left: 6px; }
.sl-ctl input[type=range] { width: 100%; accent-color: var(--ac); }
.sl-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.sl-quick button { border: 0; border-radius: 99px; padding: 8px 12px; background: #f0f0f3; font: 600 13px var(--sans); color: var(--ink); cursor: pointer; }
.sl-quick button:hover { background: var(--ac-l); }
.sl-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.sl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sl-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sl-legend .sl-on { background: #f5c242; border: 2px solid #0b0b0d; }
.sl-legend .sl-sh { background: #e6b08a; opacity: .4; }

@media (max-width: 1180px) { .sl-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .sl-kpis { grid-template-columns: repeat(2, 1fr); }
  .sl-grid { grid-template-columns: 1fr; }
  .sl-form { position: static; }
  .sl-sun-grid { grid-template-columns: 1fr; }
  .sl-sky { max-width: 320px; margin: 0 auto; width: 100%; }
  .sl-ctl { grid-template-columns: 1fr; }
}
.sl-big { flex-wrap: wrap; }
.sl-big .ar-n { white-space: nowrap; overflow-wrap: normal; }

/* The roof photo with panels in perspective and the glass dashboard (D-028 update, App Dev 2026-11-14). */
.rp { padding-bottom: 18px; }
.rp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.rp-head h3 { margin: 0; }
.rp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-btn { display: inline-flex; align-items: center; border: 0; border-radius: 99px; padding: 11px 18px; background: var(--ink); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.rp-btn.ghost { background: #f0f0f3; color: var(--ink); }
.rp-frame { position: relative; border-radius: 22px; overflow: hidden; background: #0b0b0d; }
.rp-svg { display: block; width: 100%; height: auto; max-height: 78vh; touch-action: none; cursor: crosshair; }
.rp-edge { fill: rgba(255,255,255,.08); stroke: #fff; stroke-dasharray: 8 6; }
.rp-pv { stroke: rgba(255,255,255,.35); opacity: .38; }
.rp-pv.on { opacity: .92; stroke: rgba(255,255,255,.85); }
.rp-h circle { fill: #ffc21a; stroke: #0b0b0d; cursor: grab; }
.rp-h text { fill: #0b0b0d; font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; font-family: var(--sans); }
.rp-hint { pointer-events: none; position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 10px 16px; border-radius: 99px; background: rgba(11,11,13,.72); color: #fff; font: 500 14px var(--sans); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.rp-hint small { opacity: .75; }
.rp-dash { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: auto auto 1.2fr 1.6fr; gap: 10px; pointer-events: none; }
.rp-g { pointer-events: auto; padding: 12px 14px; border-radius: 18px; color: #fff; background: rgba(20,22,28,.48); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.rp-g span { display: block; font: 600 12px var(--sans); opacity: .78; }
.rp-kpi b { display: block; font: 700 26px/1.1 var(--sans); letter-spacing: -.02em; }
.rp-kpi small { font-size: 12px; opacity: .8; }
.rp-mix { display: flex; align-items: center; gap: 12px; }
.rp-ring { width: 64px; height: 64px; flex: none; transform: rotate(0deg); }
.rp-ring-bg { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 12; }
.rp-arc { fill: none; stroke-width: 12; }
.rp-mix p { margin: 3px 0 0; font-size: 12.5px; white-space: nowrap; }
.rp-mix p i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.rp-bars > div:first-of-type { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-top: 6px; }
.rp-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255,255,255,.35); min-height: 3px; }
.rp-bars i.top { background: #ffc21a; }
.rp-bars b { opacity: 1; color: #ffc21a; }
.rp-ml { display: flex; gap: 4px; margin-top: 3px; } .rp-ml em { flex: 1; text-align: center; font: 600 10px var(--sans); font-style: normal; opacity: .7; }
@media (max-width: 900px) {
  .rp-dash { position: static; grid-template-columns: 1fr 1fr; padding: 10px; background: #0b0b0d; }
  .rp-mix, .rp-bars { grid-column: 1 / -1; }
  .rp-hint { font-size: 12.5px; }
}

/* ===== Solar hero in the reel look (App Dev, 2026-11-14): full-screen roof, dark glass, one amber accent ===== */
.sx-wrap { margin: -8px calc(50% - 50vw) 22px; }
.sx { --amb: #f5b524; --gl: rgba(14,16,20,.58); position: relative; height: min(900px, calc(100svh - 64px)); min-height: 620px; overflow: hidden; background: #0b0f14; color: #fff; isolation: isolate; }
.sx-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; touch-action: none; }
.sx-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.6)); }
.sx-roof { fill: #2b333d; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.sx-pv { fill: rgba(40,58,92,.55); stroke: rgba(255,255,255,.12); }
.sx-pv.on { fill: #1b2b4a; stroke: rgba(170,200,255,.55); }
.sx-sel { fill: rgba(245,181,36,.12); stroke: var(--amb); stroke-linejoin: round; }
.sx-chip { cursor: pointer; }
.sx-chip rect { fill: rgba(14,16,20,.78); stroke: rgba(255,255,255,.25); }
.sx-chip text { fill: #fff; font: 600 15px var(--sans); text-anchor: middle; }
.sx-chip.on rect { fill: var(--amb); stroke: var(--amb); } .sx-chip.on text { fill: #111; font-weight: 700; }
.sx-edge { fill: none; stroke: var(--amb); stroke-dasharray: 10 8; }
.sx .rp-h circle { fill: var(--amb); stroke: #111; }
.sx .rp-h text { fill: #111; font-weight: 800; text-anchor: middle; dominant-baseline: middle; font-family: var(--sans); pointer-events: none; }
.sx-pill, .sx-rail, .sx-seg, .sx-card, .sx-hint, .sx-cta { background: var(--gl); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.sx-pill { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; font: 500 14px var(--sans); white-space: nowrap; }
.sx-pill svg { width: 18px; height: 18px; opacity: .8; } .sx-pill b { color: var(--amb); }
.sx-rail { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; padding: 8px; border-radius: 22px; }
.sx-ri { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: transparent; border: 0; color: #fff; cursor: pointer; }
.sx-ri svg { width: 22px; height: 22px; } .sx-ri:hover { background: rgba(255,255,255,.1); } .sx-ri.on { background: rgba(245,181,36,.2); color: var(--amb); }
.sx-hint { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); padding: 10px 18px; border-radius: 99px; font: 500 14px var(--sans); pointer-events: none; white-space: nowrap; }
.sx-hint b { color: var(--amb); }
.sx-cta { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 99px; font: 600 15px var(--sans); cursor: pointer; white-space: nowrap; top: 16%; }
.sx-cta svg { width: 22px; height: 22px; color: var(--amb); }
.sx-seg { position: absolute; right: 18px; top: 78px; display: grid; gap: 4px; padding: 6px; border-radius: 20px; max-height: calc(100% - 330px); overflow: auto; }
.sx-seg button { display: grid; text-align: left; gap: 1px; padding: 9px 14px; border-radius: 14px; border: 0; background: transparent; color: #fff; cursor: pointer; min-width: 132px; }
.sx-seg button b { font: 700 14px var(--sans); } .sx-seg button span { font: 500 12px var(--sans); opacity: .7; }
.sx-seg button[aria-selected="true"] { background: var(--amb); color: #111; } .sx-seg button[aria-selected="true"] span { opacity: .8; }
.sx-bottom { position: absolute; left: 80px; right: 18px; bottom: 18px; display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 14px; }
.sx-card { border-radius: 24px; padding: 16px 18px; }
.sx-h { font: 600 14px var(--sans); opacity: .85; }
.sx-mix > div { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.sx-ring { width: 108px; height: 108px; flex: none; transform: rotate(-90deg); }
.sx-ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 11; }
.sx-arc { fill: none; stroke-width: 11; stroke-linecap: round; }
.sx-rn, .sx-rl { transform: rotate(90deg); transform-origin: 50px 50px; text-anchor: middle; fill: #fff; }
.sx-rn { font: 700 20px var(--sans); } .sx-rl { font: 500 9px var(--sans); fill: rgba(255,255,255,.65); }
.sx-mix ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; flex: 1; }
.sx-mix li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; opacity: .92; }
.sx-mix li i { width: 10px; height: 10px; border-radius: 3px; }
.sx-gh { display: flex; justify-content: space-between; align-items: center; }
.sx-dd { font: 500 12.5px var(--sans); padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); }
.sx-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; height: 132px; margin-top: 12px; align-items: end; }
.sx-bars > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.sx-bars i { position: relative; width: 100%; max-width: 30px; border-radius: 99px; background: rgba(255,255,255,.22); min-height: 6px; }
.sx-bars .top i { background: var(--amb); }
.sx-bars em { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 99px; background: #fff; color: #111; font: 700 12px var(--sans); font-style: normal; }
.sx-bars span { font: 500 11px var(--sans); opacity: .6; }
/* overview (shown under the hero; the reel's phone layout) */
.sx-ov { margin: 0 0 22px; padding: 18px; border-radius: 28px; background: #12161c; color: #fff; }
.sx-ovh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sx-ovh h3 { margin: 0; color: #fff; }
.sx-chipx { padding: 5px 12px; border-radius: 99px; background: #f5b524; color: #111; font: 700 13px var(--sans); }
.sx-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sx-t { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.sx-t span { font: 600 12.5px var(--sans); opacity: .7; }
.sx-t b { font: 700 24px var(--sans); letter-spacing: -.02em; } .sx-t b small { font-size: 13px; opacity: .7; font-weight: 600; }
.sx-t em { font-style: normal; font: 500 12px var(--sans); opacity: .7; }
.sx-t em.sx-ok { justify-self: start; opacity: 1; padding: 3px 9px; border-radius: 99px; background: rgba(245,181,36,.18); color: #f5b524; font-weight: 700; }
.sx-spark { width: 100%; height: 38px; margin-top: 6px; }
.sx-spark .a { fill: rgba(245,181,36,.22); } .sx-spark .l { fill: none; stroke: #f5b524; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sx-lolli { width: 100%; height: 38px; margin-top: 6px; } .sx-lolli line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; } .sx-lolli circle { fill: #fff; }
.sx-gauge { width: 100%; max-width: 150px; height: auto; margin-top: 4px; } .sx-gauge .t { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 10; stroke-linecap: round; } .sx-gauge .v { fill: none; stroke: #f5b524; stroke-width: 10; stroke-linecap: round; }
.sx-prn { margin-top: -26px; text-align: center; max-width: 150px; }
.sx-task { margin-top: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.sx-task > div:first-child { display: flex; justify-content: space-between; font: 600 14px var(--sans); }
.sx-prog { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 10px 0; overflow: hidden; } .sx-prog i { display: block; height: 100%; background: #f5b524; border-radius: 99px; }
.sx-task ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; opacity: .8; } .sx-task li.ok { color: #f5b524; opacity: 1; }
@media (max-width: 900px) {
  .sx { height: calc(100svh - 64px - 84px); min-height: 520px; }
  .sx-rail { left: 12px; top: auto; bottom: 16px; transform: none; display: flex; }
  .sx-seg { right: 12px; top: 66px; max-height: 40%; } .sx-seg button { min-width: 104px; padding: 7px 10px; }
  .sx-bottom { display: none; }
  .sx-pill { font-size: 13px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
  .sx-tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .sx-ov .sx-tiles { grid-template-columns: repeat(4, 1fr); } }
/* while the 4 corners are being marked, keep the photo free: no title pill, the tool rail at the top edge */
.sx.marking .sx-pill { display: none; }
.sx.marking .sx-rail { top: 12px; bottom: auto; transform: none; display: flex; }
.sx.marking .sx-hint { top: auto; bottom: 18px; }
/* bands outside the photo (a tall phone keeps the whole roof in view): a blurred, darkened copy of the same photo */
.sx-blur { position: absolute; inset: -40px; z-index: -3; background-size: cover; background-position: center; filter: blur(28px) brightness(.45) saturate(1.2); transform: scale(1.1); }
/* PM 375 px: the empty-hero photo button no longer hides behind the group list */
.sx-cta .s { display: none; }
.sx-roof { fill: #4a525c; stroke: rgba(255,255,255,.35); }
@media (max-width: 900px) {
  .sx-cta { top: auto; bottom: 16px; left: auto; right: 12px; transform: none; padding: 12px 16px; font-size: 14px; }
  .sx-cta .l { display: none; } .sx-cta .s { display: inline; }
}

/* ===== The whole Solar tab in the reel look (App Dev, 2026-11-14; the user: "krejt pjesen e solarve"): one full-screen
   dark backdrop (the roof photo, blurred, or a dark aerial texture), dark blurred-glass cards, white text, ONE amber accent.
   Only the look changes: every number and source is the same. ===== */
.sl-dark { --ink: #fff; --ink-2: rgba(255,255,255,.64); --rule: rgba(255,255,255,.12); --ac: #f5b524; --ac-l: rgba(245,181,36,.16); --paper: rgba(255,255,255,.05); --paper-2: rgba(255,255,255,.08); --card: rgba(14,16,20,.6); color: #fff; position: relative; isolation: isolate; }
.sl-bg { position: fixed; inset: 0; z-index: -1; background: #0b0f14 center / cover no-repeat; filter: blur(30px) brightness(.32) saturate(1.2); transform: scale(1.12); }
.sl-bg.aerial { filter: none; transform: none; background:
  radial-gradient(60% 50% at 30% 20%, rgba(60,72,52,.55), transparent 70%),
  radial-gradient(50% 45% at 80% 70%, rgba(48,58,44,.5), transparent 70%),
  repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, transparent 2px 22px),
  linear-gradient(#11161a, #0a0d10); }
.sl-dark .ar-head h1, .sl-dark h2, .sl-dark h3, .sl-dark h4 { color: #fff; }
.sl-dark .ar-eyebrow { color: var(--ac); }
.sl-dark .ar-lede { color: rgba(255,255,255,.78); }
.sl-dark .ar-card { background: rgba(14,16,20,.6); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 40px rgba(0,0,0,.35); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); color: #fff; border-radius: 26px; }
/* inputs: dark glass fields */
.sl-dark .sl-f { color: rgba(255,255,255,.66); }
.sl-dark .sl-f select, .sl-dark .sl-in input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; color-scheme: dark; }
.sl-dark .sl-f select option { background: #1a1d22; color: #fff; }
.sl-dark .sl-in i { color: rgba(255,255,255,.55); }
.sl-dark .sl-in input::placeholder { color: rgba(255,255,255,.35); }
.sl-dark .sl-f select:focus, .sl-dark .sl-in input:focus { outline: 2px solid var(--ac); border-color: transparent; }
.sl-dark .sl-seg { background: rgba(255,255,255,.07); }
.sl-dark .sl-seg span { color: rgba(255,255,255,.75); }
.sl-dark .sl-seg input:checked + span { background: var(--ac); color: #111; box-shadow: none; }
.sl-dark .sl-note, .sl-dark .sl-fine, .sl-dark .sl-why, .sl-dark .ar-src { color: rgba(255,255,255,.6); }
.sl-dark .sl-fine b { color: #fff; }
.sl-dark a { color: var(--ac); }
.sl-dark .ar-n { text-decoration-color: rgba(255,255,255,.35); }
/* the recommendation: big number, tiles with chips, ring and gauge */
.sl-dark .sl-eye { color: var(--ac); }
.sl-dark .sl-big .ar-n { color: #fff; font-weight: 700; }
.sl-dark .sl-big > span { color: rgba(255,255,255,.6); }
.sl-dark .sl-kpis { background: transparent; gap: 10px; border-radius: 0; overflow: visible; }
.sl-dark .sl-kpis > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 14px; }
.sl-dark .sl-kpis span, .sl-dark .sl-kpis small { color: rgba(255,255,255,.62); }
.sl-dark .sl-kpis b, .sl-dark .sl-kpis .ar-n { color: #fff; font-size: 23px; }
.sl-dark .sl-yes { color: var(--ac) !important; } .sl-dark .sl-no { color: #fff !important; }
.sl-chip { justify-self: start; align-self: start; margin-top: 4px; padding: 3px 10px; border-radius: 99px; background: rgba(245,181,36,.16); color: #f5b524; font: 700 11.5px var(--sans); font-style: normal; white-space: nowrap; }
.sl-chip.warn { background: rgba(255,255,255,.1); color: #fff; }
.sl-vis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 4px; }
.sl-vi { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.sl-vi > div { display: grid; gap: 2px; }
.sl-vi b { font: 700 26px var(--sans); letter-spacing: -.02em; color: #fff; } .sl-vi b.amb { color: var(--ac); }
.sl-vi span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.sl-ring2 { width: 74px; height: 74px; flex: none; transform: rotate(-90deg); }
.sl-ring2 .bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 11; }
.sl-ring2 .v { fill: none; stroke: #f5b524; stroke-width: 11; stroke-linecap: round; }
.sl-gauge { width: 96px; flex: none; }
.sl-gauge .t { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 10; stroke-linecap: round; }
.sl-gauge .v { fill: none; stroke: #f5b524; stroke-width: 10; stroke-linecap: round; }
.sl-dark .ar-warn { background: rgba(245,181,36,.12); color: #ffd98a; border: 1px solid rgba(245,181,36,.3); }
/* sun path and the per-panel map */
.sl-dark .sl-roof { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.18); }
.sl-dark .sl-par { stroke: rgba(255,255,255,.4); }
.sl-dark .sl-cell { stroke: rgba(0,0,0,.4); }
.sl-dark .sl-use { stroke: #fff; }
.sl-dark .sl-ctl label { color: rgba(255,255,255,.66); } .sl-dark .sl-ctl b { color: #fff; }
.sl-dark .sl-ctl input[type=range] { accent-color: #f5b524; }
.sl-dark .sl-quick button { background: rgba(255,255,255,.08); color: #fff; } .sl-dark .sl-quick button:hover { background: rgba(245,181,36,.2); }
.sl-dark .sl-legend { color: rgba(255,255,255,.62); }
.sl-dark .sl-sky circle.sl-ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: .8; }
.sl-dark .sl-cd, .sl-dark .sl-hr { fill: rgba(255,255,255,.66); }
.sl-dark .sl-pnow { stroke: #fff; }
.sl-dark .sl-skynote { color: rgba(255,255,255,.62); }
.sl-dark .sl-lab { fill: rgba(255,255,255,.6); }
.sl-dark .ar-steps li::marker { color: var(--ac); }
.sl-dark .ar-steps { color: rgba(255,255,255,.82); }
.sl-dark .ar-next { color: var(--ac); }
.sl-dark .sx-ov { background: rgba(14,16,20,.6); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
@media (max-width: 640px) { .sl-vis { grid-template-columns: 1fr; } }
.sl-dark .sl-kpis small .ar-n { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
@media (max-width: 420px) { .sx-pill { top: 12px; padding: 8px 14px; font-size: 12.5px; max-width: calc(100% - 140px); left: 12px; transform: none; } .sx-seg { top: 12px; } }
/* a dark base under the fixed backdrop, so translucent glass never shows the light page (e.g. beyond the first screen) */
.sl-dark { background: #0b0f14; box-shadow: 0 0 0 100vmax #0b0f14; clip-path: inset(0 -100vmax); }
/* BUG-076: the last link in dark glass, and no light page under the dark tab */
.sl-dark .ar-next { display: inline-flex; margin-top: 8px; padding: 14px 22px; border-radius: 99px; background: rgba(14,16,20,.6); border: 1px solid rgba(255,255,255,.14); color: #f5b524; text-decoration: none; font-weight: 700; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
html:has(.sl-dark), body:has(.sl-dark), #view:has(.sl-dark) { background: #0b0f14 !important; }
/* S4: at 390 px rows with a select stack, so "Biznes 0,4 kV, kat. II" is not cut */
.sl-form .sl-row:has(select) { grid-template-columns: 1fr; } /* the form column is narrow at every width (QA S4) */
