/* Final Sky Chart functional pass. */
.sky-foundation-aspect,
.sky-foundation-aspect-hit,
.sky-foundation-wheel [data-interactive="aspect"] { outline:none !important; }
.sky-foundation-aspect:focus,
.sky-foundation-aspect:focus-visible,
.sky-foundation-aspect-hit:focus,
.sky-foundation-aspect-hit:focus-visible,
.sky-foundation-wheel [data-interactive="aspect"]:focus,
.sky-foundation-wheel [data-interactive="aspect"]:focus-visible { outline:none !important; box-shadow:none !important; }
.sky-foundation-aspect-hit,
.sky-foundation-wheel rect.sky-foundation-aspect-hit { fill:transparent !important; stroke:transparent !important; pointer-events:stroke !important; }

/* Zodiac glyph presentation is owned by sky-chart-foundation-v1.css. This pass
   preserves interaction-state opacity only; it must not add glyph strokes or glow. */
.sky-foundation-wheel [data-layer="zodiac"] > g { opacity:1 !important; filter:none !important; }
.sky-foundation-wheel [data-layer="zodiac"] > g path,
.sky-foundation-wheel [data-layer="zodiac"] > g line,
.sky-foundation-wheel [data-layer="zodiac"] > g circle,
.sky-foundation-wheel [data-layer="zodiac"] > g polyline,
.sky-foundation-wheel [data-layer="zodiac"] > g polygon { opacity:1 !important; }
.sky-foundation-wheel.has-isolation [data-layer="zodiac"] > g.is-kept { opacity:1 !important; filter:none !important; }
.sky-foundation-wheel.has-isolation [data-layer="placements"] > g.is-kept { opacity:1 !important; filter:drop-shadow(0 0 4px rgba(255,255,255,.95)); }
.sky-foundation-wheel.has-isolation [data-layer="zodiac"] > g:not(.is-kept) { opacity:.16 !important; }

.sky-chart-filter-bar { display:grid; grid-template-columns:minmax(52px,.55fr) minmax(72px,1fr) minmax(78px,1.05fr) minmax(66px,.85fr) minmax(66px,.85fr) minmax(82px,1.08fr); gap:7px; padding:10px; border-bottom:1px solid rgba(31,27,24,.12); background:#faf7f2; }
.sky-chart-filter-bar label { display:grid; gap:4px; min-width:0; color:#4e463f; font:800 .62rem/1.2 system-ui,sans-serif; }
.sky-chart-filter-bar select,
.sky-chart-filter-bar input[data-filter="orb"],
.sky-chart-filter-bar input[data-harmonic-window-input] { width:100%; min-width:0; min-height:35px; box-sizing:border-box; border:1px solid rgba(31,27,24,.2); border-radius:9px; background:#fff; padding:.52rem .58rem; color:#191613; font:700 .68rem/1.2 system-ui,sans-serif; }
.sky-chart-filter-hidden { display:none !important; }
.sky-foundation-wheel .sky-chart-orb-hidden { display:none !important; }
.sky-where-when-action[data-final-now] { border-color:rgba(201,33,30,.38); color:#9e1b18; }
.sky-house-system-note { display:none !important; }

.sky-ph-heptagram { max-height:420px; min-height:270px; }
.sky-ph-circle { stroke-width:1.25; opacity:.42; }
.sky-ph-week-segment.future { stroke:#d8d0c8; stroke-width:2; opacity:.22; }
.sky-ph-week-segment.past { stroke:#c9211e; stroke-width:2; opacity:.38; }
.sky-ph-week-segment.current { stroke:#c9211e; stroke-width:5.5; opacity:1; filter:drop-shadow(0 0 4px rgba(201,33,30,.28)); }

.sky-axis-label { pointer-events:none; font:900 12px/1 system-ui,sans-serif; letter-spacing:.02em; paint-order:stroke; stroke:#fffdf8; stroke-width:4px; stroke-linejoin:round; }

.sky-selected-aspect-diagram { align-self:center; display:grid; justify-items:center; gap:.3rem; min-width:170px; padding:.7rem .45rem; border:1px solid rgba(31,27,24,.16); border-radius:18px; background:#fffdf8; }
.sky-selected-aspect-diagram svg { display:block; width:150px; height:150px; overflow:visible; }
.sky-selected-aspect-orbit { fill:none; stroke:rgba(31,27,24,.45); stroke-width:1.5; }
.sky-selected-aspect-radius { stroke:rgba(31,27,24,.52); stroke-width:1.6; }
.sky-selected-aspect-center { fill:#171717; }
.sky-selected-aspect-point { stroke:#fffdf8; stroke-width:2.5; }
.sky-selected-aspect-point.sky-a { fill:#c9211e; }
.sky-selected-aspect-point.sky-b { fill:#2462d0; }
.sky-selected-aspect-label { margin:0; font:700 .67rem/1.25 system-ui,sans-serif; text-align:center; }
.sky-selected-aspect-label span { display:inline-block; width:.62rem; height:.62rem; margin-right:.3rem; border-radius:50%; }
.sky-selected-aspect-label.sky-a span { background:#c9211e; }
.sky-selected-aspect-label.sky-b span { background:#2462d0; }
.sky-selected-aspect-diagram strong { font:800 .72rem/1.2 system-ui,sans-serif; }

@media(max-width:900px){ .sky-chart-filter-bar{grid-template-columns:repeat(3,1fr)} }
@media(max-width:760px){ .sky-chart-filter-bar{grid-template-columns:1fr 1fr}.sky-ph-heptagram{min-height:245px;max-height:360px} }
@media(max-width:620px){ .sky-selected-aspect-diagram{min-width:0;width:100%;grid-column:1/-1}.sky-selected-aspect-diagram svg{width:130px;height:130px} }
@media(max-width:430px){ .sky-chart-filter-bar{grid-template-columns:1fr} }
