.energy-page { padding: 0 0 48px; background: #fff; color: #203f4c; }
.energy-page [hidden] { display: none !important; }
.energy-page p { line-height: 1.6; color: #53636b; }
.energy-page a { text-decoration: underline; color: #006d88; text-underline-offset: 4px; }
.energy-example { padding: 14px 18px; background: #fff8eb; border-left: 3px solid #b98629; font-size: .925rem; }
.energy-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; align-items: start; margin-top: 28px; }
#energy-form fieldset { border: 0; border-bottom: 1px solid #d4dfe3; padding: 0 0 24px; margin: 0 0 24px; min-width: 0; }
#energy-form legend { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
#energy-form label { display: grid; gap: 8px; font-size: .925rem; font-weight: 600; min-width: 0; }
#energy-form p { font-size: .85rem; margin: 10px 0 18px; }
#energy-form input:not([type="checkbox"]):not([type="range"]),#energy-form select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #a9c2ca; border-radius: 6px; padding: 10px 12px; color: #203f4c; background: #fff; font: inherit; font-size: 16px; }
.energy-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
#energy-form .energy-toggle { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.energy-toggle input { width: 18px; height: 18px; accent-color: #007e9b; }
.energy-season.is-disabled .energy-season-fields { opacity: .5; }
#energy-form input[type="range"] { width: 100%; min-height: 32px; accent-color: #007e9b; }
.energy-reset { background: none; border: 0; color: #006d88; padding: 10px 0; font: inherit; cursor: pointer; }
.energy-result { border-left: 1px solid #d4dfe3; padding-left: 28px; min-width: 0; }
.energy-result h2 { font-size: 1.35rem; margin: 0 0 24px; }
#energy-result-title { scroll-margin-top: 90px; }
.energy-total strong { display: block; font-size: 2.75rem; color: #006d88; line-height: 1.2; overflow-wrap: anywhere; }
.energy-total span { display: block; margin-top: 8px; color: #53636b; }
.energy-total p { font-size: 1.2rem; font-weight: 700; margin: 12px 0 24px; }
.energy-range { border-left: 3px solid #50967c; padding: 14px; background: #eef7f2; }
#energy-range-note,#energy-monthly { font-size: .85rem; }
.energy-bars { height: 10px; display: flex; overflow: hidden; background: #e0e7e9; border-radius: 2px; margin: 24px 0 12px; }
#energy-heat-bar { background: #b87530; } #energy-cool-bar { background: #009aba; } #energy-extra-bar { background: #6f7b82; }
.energy-result table { border-collapse: collapse; width: 100%; font-size: .925rem; }
.energy-result caption { text-align: left; font-weight: 700; padding: 12px 0; }
.energy-result th,.energy-result td { border-bottom: 1px solid #d4dfe3; padding: 12px 6px; text-align: right; overflow-wrap: anywhere; }
.energy-result th:first-child { text-align: left; }
.energy-details { border-block: 1px solid #d4dfe3; margin: 24px 0; padding: 16px 0; }
.energy-details summary { font-weight: 700; cursor: pointer; }
.energy-details p { font-size: .85rem; }
.energy-result .btn-primary { width: auto; max-width: 100%; margin: 0; border-radius: 6px; padding: .95rem 1.6rem; background: linear-gradient(135deg,var(--cyan,#01a7c2),#0b7fa8); color: #fff; box-shadow: none; }
.energy-result-links { display: flex; flex-wrap: wrap; gap: 14px 24px; padding-top: 20px; }
#energy-error { padding: 16px; border-left: 3px solid #b75144; background: #fff1ef; color: #8c3028; }
#energy-copy { width: 100%; min-height: 220px; font: inherit; }
.energy-method { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 32px; align-items: center; border-top: 1px solid #d4dfe3; padding-top: 24px; margin-top: 36px; }
.energy-method h2,.energy-limits h2 { font-size: 1.25rem; }
.energy-method img { width: 100%; height: auto; border-radius: 6px; }
.energy-method p,.energy-limits p { font-size: .9rem; }
.energy-limits { max-width: 900px; margin-top: 28px; }
.energy-page :is(a,button,input,select,summary,textarea):focus-visible { outline: 2px solid #007e9b; outline-offset: 3px; }
@media(max-width:860px) {
 .energy-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .energy-result { border-left: 0; border-top: 1px solid #d4dfe3; padding: 24px 0 0; }
 .energy-method { grid-template-columns: minmax(0,1fr); }
 .energy-method img { max-width: 480px; }
}
@media(max-width:480px) {
 .energy-fields { grid-template-columns: minmax(0,1fr); }
}

.energy-page > .container { padding-top: 36px; }
.energy-page .page-hero p { color: #d9eef4; }
.energy-page .page-hero a { color: #fff; text-decoration: none; }
