.solar-curves{margin:20px 0;padding:20px;border:1px solid #bcd5e4;border-radius:18px;background:#f6fbff;color:#17364b;min-width:0}
.solar-curves h4{margin:0 0 10px;font-size:1.15rem}.solar-curves p{line-height:1.65}
.solar-curve-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.solar-curve-controls label{display:flex;flex-direction:column;gap:8px;font-weight:700;min-width:0}
.solar-curve-controls input{width:100%;min-width:0;min-height:44px;border:1px solid #b8cedd;border-radius:10px;padding:10px 12px;background:#fff;color:#17364b;font-weight:650}
.solar-curve-controls input:focus-visible{outline:3px solid #087e9e;outline-offset:2px}
.solar-curves svg{display:block;width:100%;height:auto;min-height:190px;margin:16px 0;overflow:visible}
.solar-axis{fill:#3c576b;font:14px sans-serif}.solar-grid{stroke:#cbdce6;stroke-width:1}
.solar-reference{fill:none;stroke:#647789;stroke-width:2;stroke-dasharray:6 5}
.solar-unavailable{fill:#62798a;opacity:.1}.solar-band{opacity:.13;pointer-events:none}
.solar-band-0{fill:#556779}.solar-band-1{fill:#438da1}.solar-band-2{fill:#52ad8a}.solar-band-3{fill:#efae25}
.solar-threshold{fill:none;stroke-width:4;cursor:ns-resize;touch-action:none;pointer-events:stroke}
.solar-curve-0{stroke:#516477;color:#516477}.solar-curve-1{stroke:#087e9e;color:#087e9e}.solar-curve-2{stroke:#af6500;color:#af6500}
.solar-handle{cursor:ns-resize;touch-action:none;outline:none}.solar-handle circle{fill:#fff;stroke-width:4}
.solar-handle:focus circle{stroke-width:7;fill:#fff2c3}.solar-no-day{opacity:.45}
.solar-time-marker{stroke:#68798b;stroke-width:1;stroke-dasharray:3 4;pointer-events:none}
.solar-current-line{stroke:#b50b64;stroke-width:3;stroke-dasharray:9 4;pointer-events:none}.solar-current-time{stroke:#b50b64;stroke-width:1;stroke-dasharray:3 4;pointer-events:none}.solar-current-point{fill:#b50b64;stroke:#fff;stroke-width:2;pointer-events:none}.solar-current-summary{border-left:4px solid #b50b64;padding:10px 12px;background:#fff0f7;border-radius:8px;font-weight:700}
.solar-comparison-line{stroke:#6a35bd;stroke-width:3;stroke-dasharray:3 5;pointer-events:none}.solar-comparison-time{stroke:#6a35bd;stroke-width:1;stroke-dasharray:3 5;pointer-events:none}.solar-comparison-point{fill:#6a35bd;stroke:#fff;stroke-width:2;pointer-events:none}.solar-comparison-summary{border-left:4px solid #6a35bd;padding:10px 12px;background:#f3edff;border-radius:8px;font-weight:700}
.solar-curve-sliders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0}
.solar-curve-sliders label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-weight:750;padding:12px;border:1px solid currentColor;border-radius:12px}
.solar-curve-sliders input{width:100%;accent-color:currentColor;padding:0;min-height:40px}
.solar-curve-summary{padding:14px;background:#e5f1f8;border-radius:12px;font-weight:700;min-height:3em}
.solar-curves button{margin-top:10px}.solar-curves small{display:block;line-height:1.65;color:#3c576b}
.solar-season-examples{display:flex;flex-wrap:wrap;gap:10px}.solar-season-examples button{font-size:.8rem}
@media(max-width:700px){.solar-curves{padding:12px}.solar-curve-sliders{grid-template-columns:1fr;gap:8px}.solar-curve-controls{grid-template-columns:1fr}.solar-curves svg{min-height:160px}.solar-axis{font-size:36px}}
@media(prefers-color-scheme:dark){.solar-curves{background:#eef6fc;color:#17364b}}
.solar-horizon{margin:20px 0;padding:16px;border:1px solid #bcd5e4;border-radius:14px;background:#fff;min-width:0}
.solar-horizon-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.solar-horizon svg{width:100%;min-height:0;touch-action:pan-y;overflow:hidden}
.solar-horizon svg.is-drawing{touch-action:none;cursor:crosshair}
.horizon-background{fill:#f0f8fc}.horizon-grid{fill:none;stroke:#b7cbd9;stroke-width:1}
.horizon-axis{font:14px sans-serif;fill:#49677b}.horizon-compass{font:bold 20px sans-serif;fill:#17364b}
.horizon-sector{fill:#2488ba;stroke:#21759c;stroke-width:1;cursor:pointer}.horizon-sector.is-selected{stroke:#163c55;stroke-width:3}
.horizon-sunpath{fill:none;stroke-width:3;pointer-events:none}.horizon-sunpath-0{stroke:#bd7c00}.horizon-sunpath-1{stroke:#cd5e16;stroke-dasharray:6 5}.horizon-sunpath-2{stroke:#5683b4;stroke-dasharray:3 5}
.horizon-preview{fill:#ffd857;stroke:#634700;stroke-width:2;pointer-events:none}.horizon-current{fill:#b50b64;stroke:#fff;stroke-width:2;pointer-events:none}
.horizon-handle{fill:#fff;stroke:#163c55;stroke-width:3;cursor:move;touch-action:none}.horizon-handle:focus{stroke:#b50b64;stroke-width:5;outline:none}
.horizon-hit{fill:transparent;stroke:none;pointer-events:all}
.solar-horizon-row{padding:12px;border:1px solid #bcd5e4;border-radius:10px;margin:0 0 12px;min-width:0}
.solar-horizon-row legend{font-weight:800}.solar-horizon-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}
.solar-horizon-fields label{display:flex;flex-direction:column;gap:5px;font-weight:700;min-width:0;overflow-wrap:anywhere}.solar-horizon-fields input{width:100%;min-width:0;min-height:44px}
.solar-horizon button{white-space:normal;max-width:100%;min-height:44px}.solar-horizon [aria-pressed=true]{outline:3px solid #167c9e;outline-offset:2px}
@media(max-width:900px){.solar-horizon-layout{grid-template-columns:1fr}.solar-horizon{padding:12px}.solar-horizon svg{max-width:520px;margin-inline:auto}}
@media(max-width:700px){.horizon-axis{font-size:24px}.horizon-compass{font-size:28px}.horizon-hit{r:44px}}
.solar-shade-analysis{padding:14px;margin:16px 0;border:1px solid #bcd5e4;border-radius:12px;background:#f6fbff;min-width:0}
.solar-shade-analysis summary{font-weight:800;cursor:pointer;min-height:44px;line-height:1.6}
.solar-shade-analysis fieldset{min-width:0;margin:14px 0;border:1px solid #bcd5e4;border-radius:10px}
.solar-shade-analysis select{min-width:0;width:100%;min-height:44px}
.solar-shade-analysis .checkbox{display:flex;align-items:center;gap:10px;min-height:44px;overflow-wrap:anywhere}
.solar-shade-analysis .checkbox input{width:20px;min-height:20px;flex:0 0 20px}
.solar-shade-analysis progress{width:100%;margin-top:18px;accent-color:#087e9e}
.solar-shade-analysis [data-analysis-status]{padding:12px;background:#e5f1f8;border-radius:8px;font-weight:700;overflow-wrap:anywhere}
.solar-analysis-legend{display:flex;flex-wrap:wrap;gap:10px;font-weight:700}
.solar-analysis-legend span{padding:6px 10px;border-radius:8px;background:#edf2f5;border-left:4px solid #98a8b2}
.solar-analysis-legend span:nth-child(1){border-color:#2f9468}.solar-analysis-legend span:nth-child(2){border-color:#cb791b}
.horizon-evidence{stroke:#fff;stroke-width:.7;fill-opacity:.45}.horizon-evidence.is-bright{fill:#46ae76}.horizon-evidence.is-low{fill:#ef9b37}.horizon-evidence.is-unclear{fill:#b4bfc7}
.horizon-proposal{fill:none;stroke:#b85f05;stroke-width:3;stroke-dasharray:5 4;pointer-events:none}
