/* Check a Building: construction year and building-lifetime environmental history (16 Nov 2026). Prefix bh-. No inline styles. */
.bh-built { margin-top: 1.25rem; }
.bh-built input { max-width: 8rem; }
.rp-history .bh-precision, .rp-history .bh-coverage { color: var(--ds-muted, #4a5a68); }
.bh-timeline { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.bh-entry { border: 1px solid var(--ds-line, #d9e0e6); border-left: 4px solid #8a9aa8; border-radius: 8px; padding: .75rem .9rem; background: #fff; min-width: 0; }
.bh-entry.bh-near { border-left-color: #0b5345; }
.bh-entry.bh-wider { border-left-color: #8a9aa8; }
.bh-when { margin: 0 0 .35rem; }
.bh-meta { margin: 0 0 .4rem; padding-left: 1.1rem; }
.bh-systems, .bh-check, .bh-replaced, .bh-src { margin: .3rem 0 0; overflow-wrap: anywhere; }
.bh-replaced { font-weight: 600; }
.bh-src { color: var(--ds-muted, #4a5a68); }
.bh-notes { margin-top: 1rem; color: var(--ds-muted, #4a5a68); }
@media print { .bh-entry { break-inside: avoid; } }
.bh-h3 { margin: 1.25rem 0 .4rem; }
.bh-summary { padding-left: 1.1rem; margin: 0; }
.bh-bear { margin: .5rem 0 0; }
.bh-bear dt { font-weight: 700; margin-top: .6rem; }
.bh-bear dd { margin: .15rem 0 0; }
.bh-bear dd > span { display: block; margin-top: .2rem; }
.bh-year { border-top: 1px solid var(--ds-line, #d9e0e6); padding: .5rem 0; }
.bh-year > summary, .bh-minor > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.bh-minor { margin-top: .4rem; }
.bh-minor > summary { font-weight: 600; }
.bh-rel { margin: .2rem 0 0; }
/* Check a building slice C: a first look at the area, shown under the year built (19 Nov 2026) */
.bh-preview { margin: .9rem 0 0; padding: .9rem 1rem; border-radius: 12px; background: #eef5f6; border-left: 4px solid #2f8f87; }
.bh-preview p { margin: .25rem 0; line-height: 1.5; }
.bh-pv-k { font-weight: 700; color: #092a40; }
.bh-pv-list { margin: .3rem 0 .4rem 1.1rem; padding: 0; }
.bh-pv-list li { margin: .15rem 0; }
.bh-pv-note { font-size: .86rem; color: #4a6070; }
/* Check a building slice B: visual equipment picker (19 Nov 2026) */
.eqp-lede { margin: .2rem 0 .8rem; color: #4b5a66; font-size: .92rem; }
.eqp .eqp-group { border: 1px solid #dfe6ea; border-radius: 14px; padding: 0; margin: 0 0 .6rem; background: #fff; overflow: hidden; }
.eqp .eqp-group > summary.eqp-sum { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; cursor: pointer; list-style: none; font-weight: 650; color: #092a40; }
.eqp .eqp-group > summary.eqp-sum::before { content: none; }
.eqp .eqp-group > summary.eqp-sum::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: #2f8f87; }
.eqp .eqp-group[open] > summary.eqp-sum::after { content: "\2212"; }
.eqp-ico { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; padding: .35rem; border-radius: 10px; background: #e6f2f1; color: #1f6f69; }
.eqp-has .eqp-ico { background: #2f8f87; color: #fff; }
.eqp-count { font-size: .8rem; font-weight: 700; color: #1f6f69; }
.eqp .eqp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .5rem; margin: 0; padding: 0 1rem 1rem; }
.eqp .eqp-tiles .chip { position: relative; display: flex; align-items: center; min-height: 3.4rem; width: 100%; padding: .6rem 2.2rem .6rem .8rem; border-radius: 12px; border: 1.5px solid #dfe6ea; background: #f7f9fa; cursor: pointer; font-size: .92rem; line-height: 1.25; box-sizing: border-box; }
.eqp .eqp-tiles .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eqp .eqp-tiles .chip::after { content: ""; position: absolute; right: .7rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem; border-radius: 6px; border: 1.5px solid #9fb1bb; background: #fff; }
.eqp .eqp-tiles .chip:has(input:checked) { border-color: #2f8f87; background: #e9f5f4; color: #0b4f4a; font-weight: 600; }
.eqp .eqp-tiles .chip:has(input:checked)::after { background: #2f8f87 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .8rem no-repeat; border-color: #2f8f87; }
.eqp .eqp-tiles .chip:has(input:focus-visible) { outline: 3px solid #f4c463; outline-offset: 2px; }
.eqp .eqp-tiles { grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); }
.eqp .eqp-tiles li { min-width: 0; }
.eqp .eqp-tiles .chip { white-space: normal; }
.eqp .eqp-group, .eqp .eqp-group > summary { min-width: 0; max-width: 100%; }
.intake-main, .intake-main form, .intake-main .check-step { min-width: 0; max-width: 100%; }
.eqp .eqp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) { .eqp .eqp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eqp-count { white-space: nowrap; }
/* Sun, daylight and seasons in the Condition Profile (19 Nov 2026) */
.rp-sun .bs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .7rem; margin: 1rem 0; }
.rp-sun .bs-card { padding: .8rem .9rem; border-radius: 12px; background: linear-gradient(160deg, #fff6df 0%, #fde8b8 100%); border: 1px solid #f1d48a; }
main#main .rp-sun p.bs-k, .rp-section.rp-sun p.bs-k { margin: 0 0 .2rem; font: 700 .74rem/1.3 var(--ds-sans, system-ui, sans-serif); letter-spacing: .04em; text-transform: uppercase; color: #7a5410; }
main#main .rp-sun p.bs-big, .rp-section.rp-sun p.bs-big { margin: 0; font: 700 1.6rem/1.15 var(--ds-sans, system-ui, sans-serif); color: #092a40; }
main#main .rp-sun p.bs-sub, .rp-section.rp-sun p.bs-sub { margin: .25rem 0 0; font-size: .84rem; color: #4b5a66; line-height: 1.4; }
.rp-sun .bs-fig { margin: .6rem 0 1rem; } .rp-sun .bs-fig figcaption { font-size: .8rem; color: #5b6a75; }
.rp-sun .bs-chart { width: 100%; max-width: 40rem; height: auto; display: block; }
.rp-sun .bs-bar { fill: #f4b63e; } .rp-sun .bs-grid-l { stroke: #e4e0d6; } .rp-sun .bs-ax { fill: #5b6a75; font: 600 11px var(--ds-sans, system-ui, sans-serif); }
.rp-sun .bs-dir { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: center; margin: .4rem 0 1rem; }
.rp-sun .bs-compass { width: 12rem; height: 12rem; } .rp-sun .bs-ring { fill: #f6f3ec; stroke: #c9c2b3; }
.rp-sun .bs-rise { fill: rgba(244,182,62,.6); stroke: #d8961c; } .rp-sun .bs-set { fill: rgba(239,138,91,.5); stroke: #c9653a; }
.rp-sun .bs-notes { margin: 0 0 1rem; padding-left: 1.1rem; color: #33434f; line-height: 1.5; }
.rp-sun .bs-climate { padding: .9rem 1rem; border-radius: 12px; background: #eef4f4; margin: 0 0 1rem; }
.rp-sun .bs-clist { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .5rem 1rem; }
.rp-sun .bs-clist strong { display: block; color: #092a40; } .rp-sun .bs-clist span { font-size: .82rem; color: #5b6a75; }
.rp-sun .bs-more a { font-weight: 650; color: #0b5f6e; }
@media (max-width: 40rem) { .rp-sun .bs-dir { grid-template-columns: 1fr; } .rp-sun .bs-compass { margin: 0 auto; } }
@media print { .rp-sun .bs-card { background: #fff; border-color: #999; } .rp-sun .bs-more, .rp-sun .bs-how summary { display: none; } .rp-sun details.bs-how { display: block; } .rp-sun details.bs-how > p { display: block; } }
.rp-sun .bs-share { margin: 1rem 0; padding: 1rem; border-radius: 14px; border: 1px solid #e4d6b0; background: #fffaf0; }
.rp-sun .bs-facts { display: grid; gap: .35rem; margin: .6rem 0; } .rp-sun .bs-fact { display: flex; gap: .5rem; align-items: baseline; font-size: .92rem; }
.rp-sun .bs-fmt { display: flex; gap: 1rem; margin: .4rem 0 .7rem; font-size: .92rem; }
.rp-sun .bs-canvas { display: block; width: min(100%, 22rem); height: auto; border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(9,42,64,.5); }
.rp-sun .bs-acts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .3rem; }
.rp-sun .bs-btn { min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; border: 1.5px solid #092a40; background: #fff; color: #092a40; font-weight: 650; cursor: pointer; }
.rp-sun .bs-btn:first-child { background: #092a40; color: #fff; }
.bh-validated { margin: .45rem 0 0; padding: .45rem .6rem; border-radius: 6px; background: #eef6f2; color: #0b3d33; font-size: .88rem; line-height: 1.45; } .bh-validated a { color: #0b5345; font-weight: 650; }
/* the sky above the building (20 Nov 2026) */
.rp-sky .bs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .7rem; margin: 1rem 0; }
.rp-sky .bs-card { padding: .8rem .9rem; border-radius: 12px; background: linear-gradient(160deg, #0f2c45 0%, #1d4a6b 100%); color: #f6f3ec; }
main#main .rp-sky p.bs-k, .rp-section.rp-sky p.bs-k { margin: 0; font: 700 .72rem var(--ds-sans, system-ui, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #f4c463; }
main#main .rp-sky p.bs-big, .rp-section.rp-sky p.bs-big { margin: .2rem 0 0; font: 650 1.4rem/1.2 var(--ds-serif, Georgia, serif); color: #fff; } main#main .rp-sky p.bs-sub, .rp-section.rp-sky p.bs-sub { margin: .15rem 0 0; font-size: .82rem; color: #dfe7ec; }
.rp-sky .sky-ctl select { min-height: 2.4rem; padding: 0 .6rem; border-radius: 8px; border: 1px solid #c9d3db; font: inherit; }
.rp-sky .sky-seasons, .rp-sky .sky-showers { margin: .4rem 0 .8rem; padding-left: 1.2rem; line-height: 1.6; }
