.energy-input-summary{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin-bottom:20px;padding:14px;background:#f4f7ed;border:1px solid #e4e9da;border-radius:8px}
.energy-input-summary>span{font-size:12px;color:#7a856f}.energy-input-summary b{color:var(--forest);margin-left:5px;font-weight:500}
.energy-input-summary .button{margin-left:auto}
.energy-panel .note p{margin-top:7px}.energy-panel .note a{display:inline-block;margin-top:9px}
.energy-results{margin-top:20px}.energy-results .result{min-width:0}.energy-results small{line-height:1.5}
.energy-panel details>summary{cursor:pointer;color:#4b6640;font-size:12px;font-weight:500;line-height:1.6}
.energy-comparison,.energy-pal-reference,.energy-reds-reference{margin-top:20px}
.energy-comparison>summary,.energy-pal-reference>summary,.energy-reds-reference>summary{padding:12px;background:#f6f8f0;border:1px solid #e5e9db;border-radius:6px}
.energy-factor-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
.energy-factor-presets .button{min-width:43px}
.energy-table-scroll{overflow-x:auto;max-width:100%;margin-top:14px;border:1px solid #e2e7d9;border-radius:7px}
.energy-activity-table,.energy-equation-table,.energy-reference-table,.energy-met-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;line-height:1.6}
.energy-activity-table th,.energy-equation-table th,.energy-reference-table th,.energy-met-table th{color:#788368;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;background:#f1f5e9}
.energy-activity-table th,.energy-activity-table td,.energy-equation-table th,.energy-equation-table td,.energy-reference-table th,.energy-reference-table td,.energy-met-table th,.energy-met-table td{padding:12px 11px;border-bottom:1px solid #e5e9df;vertical-align:top}
.energy-equation-table small,.energy-activity-table small,.energy-met-table small{display:block;font-size:12px;color:#88917e;line-height:1.6;margin-top:5px}
.energy-equation-table td:first-child{width:60%}.energy-equation-table td:last-child{white-space:nowrap}
.energy-activity-table{min-width:780px}.energy-activity-table td:first-child{min-width:230px}.energy-activity-table td:first-child>.button{margin-top:8px}
.energy-activity-table .field label{font-size:11px;line-height:1.4}.energy-activity-table .field input{font-size:12px;padding:8px 7px;min-width:62px}
.energy-activity-table .field select{font-size:12px;padding:8px}
.energy-activity-table input[readonly]{background:#edf2e5;color:#46643b;border-color:#d8e1cd}
.energy-row-details{margin-top:10px;max-width:290px}.energy-row-details>summary{font-size:12px!important}
.energy-row-details p,.energy-row-details a{font-size:12px;line-height:1.6;margin:9px 0;overflow-wrap:anywhere}
.energy-row-details .field{margin-top:12px}.energy-row-details .button{margin-top:10px}.energy-row-details .inline-check{font-size:12px;align-items:flex-start}
.energy-row-details .inline-check input{min-width:0;width:auto}.energy-met-actions{margin:0 0 17px}
.energy-availability-state{padding:14px;background:#f5f8ef;border:1px solid #e3e9d8;border-radius:7px;margin:18px 0 15px}
.energy-availability-state p{font-size:12px;line-height:1.7;color:#76826a;margin-top:9px}
.energy-ea-scenarios{margin-top:13px}.energy-ea-scenarios td:last-child{white-space:nowrap}
.energy-goal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}
.energy-goal-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:17px 14px;border:1px solid #dce5cc;background:#f5f8ee;border-radius:8px;color:#49603c;text-align:left;min-width:0}
.energy-goal-card:hover{background:#eaf1df;border-color:#a9bc8b}.energy-goal-card span{font-size:12px;line-height:1.5}
.energy-goal-card strong{font-size:22px;font-weight:500;color:var(--forest)}.energy-goal-card small{font-size:11px;color:#82916e}
#energyMetDialog{max-width:920px;padding:25px}#energyMetDialog .dialog-title{align-items:flex-start}
#energyMetResults{margin-top:17px;max-height:50vh;overflow-y:auto}
.energy-met-table td:first-child{width:65%}.energy-met-table td:last-child{white-space:nowrap}.energy-met-table b{font-weight:500}
.energy-met-table small[lang]{font-size:12px;color:#8d9585}
.energy-panel .index-class.neutral{background:#e8eee1;color:#58704a}
.energy-panel input[type=checkbox]:disabled{opacity:.5}
@media(max-width:1200px){.energy-goal-cards{grid-template-columns:1fr}.energy-goal-card{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center}.energy-goal-card small{grid-column:1/-1}}
@media(max-width:700px){
 .energy-input-summary{padding:13px;gap:10px 14px}.energy-input-summary .button{margin-left:0}
 .energy-results{grid-template-columns:1fr}.energy-results .result{padding:15px}.energy-results .result strong{font-size:23px}
 .energy-panel .form-grid{gap:17px}.energy-goal-card strong{font-size:23px}
 .energy-met-actions>.button{flex:1 1 44%}.energy-met-actions>.badge{width:100%}
 #energyMetDialog{padding:18px 15px}.energy-met-table td,.energy-met-table th{padding:10px 7px}.energy-met-table td:last-child{white-space:normal}.energy-met-table .button{padding:7px 8px;font-size:12px;line-height:1.4}
 .energy-equation-table th,.energy-equation-table td,.energy-reference-table th,.energy-reference-table td{padding:11px 8px}
 .energy-equation-table td:first-child{width:52%}.energy-equation-table .button{font-size:12px;padding:7px 9px}
 .energy-activity-table .field input{font-size:16px}.energy-ea-scenarios .button{font-size:12px;padding:6px 9px}
}
@media print{#energyMetDialog{display:none!important}}

.energy-fa-alert{padding:8px 10px;border-left:3px solid #b9893e;background:#fff7e9;color:#725228}
.energy-met-explainer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.energy-met-explainer>div{padding:12px;background:#f5f8ef;border:1px solid #e3e9d8;border-radius:7px}
.energy-met-explainer b,.energy-section-heading{color:#3d5537;font-size:13px}
.energy-met-explainer p{margin:5px 0 0;line-height:1.55;font-size:12px}
.energy-section-heading{margin:16px 0 6px}
.energy-section-heading:first-child{margin-top:0}
.energy-section-heading+.help-text{margin:0 0 12px}
.energy-ea-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.energy-ea-source{min-width:0;margin:0;padding:10px 13px 13px;border:1px solid #e3e9d8;border-radius:8px}
.energy-ea-source legend{padding:0 4px;color:#3d5537;font-size:13px;font-weight:600}
.energy-ea-choice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:10px;border:1px solid transparent;border-radius:6px;cursor:pointer}
.energy-ea-choice+.energy-ea-choice{margin-top:4px}
.energy-ea-choice:has(input:checked){background:#f1f5ea;border-color:#dce5cf}
.energy-ea-choice input{margin:3px 0 0;accent-color:#4b6640}
.energy-ea-choice strong,.energy-ea-choice small{display:block;line-height:1.5}
.energy-ea-choice strong{font-size:13px;color:#3d5537}
.energy-ea-choice small{margin-top:3px;font-size:12px;color:#52604b}
.energy-ea-source [data-ea-option]{margin:12px 0 0}
.energy-ea-results{grid-template-columns:repeat(4,minmax(0,1fr))}
.energy-availability-state ul{margin:9px 0 0;padding-left:18px}
.energy-availability-state :is(p,li){font-size:12px;line-height:1.6;color:#52604b}
#energyEaApplyInfo{margin-bottom:9px}
.energy-panel [data-ea-option][hidden]{display:none}
@media screen {
 .energy-flow .assessment-step-body{min-width:0}
 .energy-flow .assessment-step-body .field input[readonly]{background:#f1f5ed;border-color:#d3dfcc;color:#35543b}
 .energy-flow .assessment-step-body .field :is(input,select,textarea){max-width:100%}
}
@media(max-width:700px){.energy-met-explainer,.energy-ea-sources{grid-template-columns:1fr}.energy-ea-results{grid-template-columns:repeat(2,minmax(0,1fr))}}

#energyReportPaper{padding:15px;max-height:760px;overflow:auto}
.energy-report-paper .assessment-paper-section{margin-bottom:15px}
.energy-report-paper .assessment-measures dd{white-space:normal;text-align:right}
.energy-report-target{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 15px;padding:9px 12px;background:#edf3e8;border-radius:5px}
.energy-report-target strong{font-size:1.15em;color:#234c37}
.energy-report-macros :is(th,td):not(:first-child){text-align:right}
.energy-report-macros tbody td{white-space:nowrap}
@media(max-width:700px){
 #energyReportPaper{padding:8px;max-height:650px}
 .energy-report-macros :is(th,td){padding:7px 4px}
 .energy-report-macros tbody td{white-space:normal}
}
@media print{
 @page energy-report{size:A4;margin:14mm}
 body[data-energy-print]{page:energy-report}
 body[data-energy-print] .section-header,body[data-energy-print] #energyReportPreview>summary{display:none!important}
 body[data-energy-print] #energyReportPreview{margin:0;border:0;background:white;overflow:visible}
 body[data-energy-print] #energyReportPaper{padding:0;max-height:none;overflow:visible}
 body[data-energy-print] .energy-report-paper{padding:0;max-width:none;border:0;border-radius:0;box-shadow:none;font-size:10pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body[data-energy-print] .energy-report-paper .assessment-letterhead{break-inside:avoid;break-after:avoid}
 body[data-energy-print] .energy-report-paper .assessment-letterhead strong{font-size:19pt}
 body[data-energy-print] .energy-report-paper .assessment-patient h2{font-size:15pt}
 body[data-energy-print] .energy-report-paper .assessment-paper-section h3{font-size:11pt;break-after:avoid}
 body[data-energy-print] .energy-report-paper .assessment-table-scroll{overflow:visible}
 body[data-energy-print] .energy-report-macros thead{display:table-header-group}
 body[data-energy-print] .energy-report-paper :is(.assessment-patient,.energy-report-target,.assessment-measures>div,.energy-report-macros tr){break-inside:avoid}
 body[data-energy-print] .energy-report-paper .assessment-measures{grid-template-columns:1fr 1fr}
 body[data-energy-print] .energy-report-paper :is(dt,dd,th,td){font-size:9pt}
}
