/* V166 additions: existing design tokens and layout are retained. */
.selection-summary-observer:empty{display:none}
#selectionResultSummary{margin:.85rem 0;padding:1rem;border:1px solid var(--border,rgba(139,92,46,.22));border-radius:14px;background:var(--paper,#fff0d9);font-size:1rem;line-height:1.5}
#selectionResultSummary[hidden]{display:none}
#selectionResultSummary p{margin:.25rem 0}
#selectionResultSummary h2{font-size:1rem;margin:0 0 .35rem}
#selectionResultSummary a{display:inline-block;margin-top:.45rem;font-weight:700;text-underline-offset:3px}
#selectionSummaryPlace{overflow-wrap:anywhere}
#selectionSummaryDate{font-weight:400}
.weather-freshness,.weather-attribution{font-size:.875rem!important;line-height:1.5;overflow-wrap:anywhere}
.weather-freshness:empty,.weather-attribution:empty{display:none}
.google-maps-credit{font-family:Arial,sans-serif;font-style:normal;font-weight:400;font-size:14px;white-space:nowrap;color:#1f1f1f}
html.dark .google-maps-credit{color:#fff}
.methodology-band-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:1rem}
.methodology-band-table th,.methodology-band-table td{text-align:left;padding:.65rem .45rem;border-bottom:1px solid var(--border,rgba(139,92,46,.22));vertical-align:top}
.methodology-band-table th{font-weight:700}
.methodology-band-table caption{text-align:left;font-weight:700;margin-bottom:.5rem}
.methodology-band-table-wrap{overflow-x:auto}
.planner-band-figure img{display:block;max-width:480px;width:100%;height:auto;margin:auto}
.source-review-note{font-size:.875rem;line-height:1.6;color:var(--muted,#7c5b41)}
.worked-plan-example{margin-top:1.25rem}
.worked-plan-example .example-output{font-size:1.05rem;line-height:1.7}

/* Keep the result heading visible below the existing sticky navigation. */
#daylightPlanner{scroll-margin-top:12rem}

/* Allow the homepage flex item to fit small viewports. */
.page-wrap>main.container{width:100%;min-width:0}

@media(max-width:360px){#daylightPlanner{scroll-margin-top:17rem}}
