.solar-lab { width: min(100% - 2rem, 48rem); margin: clamp(1.5rem, 5vw, 4rem) auto; }
.solar-lab .context { color: var(--accent); font-weight: 650; margin-bottom: .4rem; }
.solar-lab h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; max-width: 17ch; }
.solar-panel, #solar-example { padding: clamp(1rem, 3vw, 2rem); margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.solar-panel label, .solar-panel output { font-weight: 650; }
.solar-panel output { float: right; font-variant-numeric: tabular-nums; }
.solar-panel input { display: block; width: 100%; height: 44px; margin: .2rem 0 0; accent-color: var(--accent); }
.solar-scale, .solar-modes { display: flex; justify-content: space-between; gap: .8rem; }
.solar-scale, #solar-unit, .solar-reason { font-size: .9rem; color: var(--fg-muted); }
.solar-modes { border-top: 1px solid var(--line); padding-top: 1rem; }
.solar-modes section { flex: 1; min-width: 0; }
.solar-modes :is(h2, h3) { font-size: 1rem; margin: 0; }
.solar-reading { font-size: clamp(1.3rem, 4vw, 2.2rem); font-weight: 700; margin: .3rem 0; font-variant-numeric: tabular-nums; }
.solar-modes meter { display: block; width: 100%; }
#solar-example table { width: 100%; white-space: normal; }
#solar-example th { white-space: normal; }
#solar-example :is(th, td) { padding: .45rem .25rem; }
.solar-panel output { color: var(--accent); font-size: 1.35rem; line-height: 1; }
.solar-presets { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.solar-presets button {
  min-height: 44px; padding: .35rem .7rem; font: inherit; font-size: .875rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg); cursor: pointer;
}
.solar-presets button:hover, .solar-presets button:focus-visible { border-color: var(--accent); }
.solar-assumptions { margin-bottom: .75rem; }
.solar-assumptions summary { cursor: pointer; }
