/* Existing Building Utility Data Calculator. Every rule is scoped under .ebuc so the WordPress theme is not affected. */
.ebuc{--ebuc-navy:#073b78;--ebuc-blue:#1267e5;--ebuc-orange:#ff641e;--ebuc-text:#102743;--ebuc-muted:#60738b;--ebuc-border:#cbd9ea;--ebuc-info:#eef6ff;max-width:1100px;margin:24px auto 56px;padding:0 16px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ebuc-text);line-height:1.45;box-sizing:border-box;-webkit-font-smoothing:antialiased}
.ebuc *,.ebuc *::before,.ebuc *::after{box-sizing:border-box}
.ebuc [hidden]{display:none!important}
.ebuc h2,.ebuc h3,.ebuc h4,.ebuc p,.ebuc ol,.ebuc li{font-family:inherit;text-transform:none;letter-spacing:normal}
.ebuc p{margin:0}

.ebuc .ebuc-card{background:#fff;border:1px solid var(--ebuc-border);border-radius:14px;padding:26px 30px;margin:0 0 20px;scroll-margin-top:90px}
.ebuc .ebuc-title{margin:0 0 8px;color:var(--ebuc-navy);font-size:30px;line-height:1.2;font-weight:700}
.ebuc .ebuc-subtitle{margin:0 0 22px;color:var(--ebuc-muted);font-size:16px}
.ebuc .ebuc-title+.ebuc-subtitle{margin-bottom:0}
.ebuc .ebuc-h2{margin:0 0 22px;color:var(--ebuc-navy);font-size:24px;line-height:1.25;font-weight:700}
.ebuc .ebuc-h2+.ebuc-subtitle{margin-top:-12px}
.ebuc .ebuc-h3{margin:0 0 14px;color:var(--ebuc-text);font-size:19px;line-height:1.3;font-weight:700}
.ebuc .ebuc-requirements ol{margin:0;padding-left:22px}
.ebuc .ebuc-requirements li{padding:6px 0;line-height:1.55}

.ebuc .ebuc-workflow{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;text-align:center}
.ebuc .ebuc-wf{color:#6d7f95;font-size:14px}
.ebuc .ebuc-wf span{margin:0 auto 9px;width:34px;height:34px;border-radius:50%;background:#aebdce;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.ebuc .ebuc-wf.ebuc-active{color:#075fd3;font-weight:700}
.ebuc .ebuc-wf.ebuc-active span{background:var(--ebuc-blue);outline:5px solid #e4efff}

.ebuc .ebuc-grid2,.ebuc .ebuc-methods,.ebuc .ebuc-entry{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ebuc .ebuc-label{display:block;margin:0 0 10px;font-weight:700;font-size:16px;color:var(--ebuc-text)}
.ebuc input[type=text],.ebuc input[type=number],.ebuc select{display:block;width:100%;height:56px;margin:0;padding:0 16px;border:1px solid #b9c9dd;border-radius:8px;background:#fff;color:var(--ebuc-text);font:inherit;font-size:17px;line-height:normal;box-shadow:none}
.ebuc input[type=text]:focus,.ebuc input[type=number]:focus,.ebuc select:focus{outline:0;border-color:var(--ebuc-blue);box-shadow:0 0 0 3px rgba(18,103,229,.15)}
.ebuc input[type=radio]{appearance:auto;-webkit-appearance:radio;width:20px;height:20px;margin:2px 0;accent-color:var(--ebuc-blue);flex:none}
.ebuc .ebuc-hint{margin-top:9px;font-size:14px;color:var(--ebuc-muted);line-height:1.4}
.ebuc .ebuc-unitwrap{position:relative}
.ebuc .ebuc-unitwrap input{padding-right:70px}
.ebuc .ebuc-unit{position:absolute;right:1px;top:1px;width:62px;height:54px;background:#f2f5f9;border-radius:0 8px 8px 0;display:flex;align-items:center;justify-content:center;font-size:16px}

.ebuc .ebuc-notice{display:none;margin-top:10px;padding:10px 12px;border:1px solid #bcd3f3;border-left:4px solid var(--ebuc-blue);border-radius:7px;background:#f3f8ff;font-size:14px;line-height:1.45;color:#17375e}
.ebuc .ebuc-notice.ebuc-warn{border-color:#f4b183;border-left-color:var(--ebuc-orange);background:#fff8f2;color:#333}
.ebuc .ebuc-notice strong{color:var(--ebuc-navy)}
.ebuc .ebuc-error{display:none;margin-top:8px;color:#a62626;font-size:14px}

.ebuc .ebuc-step{display:flex;gap:15px;margin-top:25px}
.ebuc .ebuc-step:first-of-type{margin-top:8px}
.ebuc .ebuc-num{flex:0 0 40px;height:40px;border-radius:50%;background:var(--ebuc-orange);color:#fff;font-weight:700;font-size:21px;display:flex;align-items:center;justify-content:center}
.ebuc .ebuc-stepbody{min-width:0;width:100%}
.ebuc .ebuc-method{display:flex;gap:14px;min-height:108px;padding:19px;border:1px solid #c5d2e2;border-radius:10px;cursor:pointer;margin:0}
.ebuc .ebuc-method.ebuc-selected{border:2px solid var(--ebuc-blue);background:#f6faff;padding:18px}
.ebuc .ebuc-method strong{font-size:18px}
.ebuc .ebuc-method p{margin:7px 0 0;color:var(--ebuc-muted);line-height:1.4}
.ebuc .ebuc-warning{display:none;margin-top:14px;padding:14px 17px;background:#fff4e8;border:1px solid #ffd3ae;border-radius:9px;line-height:1.45}
.ebuc .ebuc-unit-choice{display:flex;gap:22px;margin:5px 0 14px}
.ebuc .ebuc-unit-choice label{display:flex;align-items:center;gap:6px;margin:0;font-weight:600}
.ebuc .ebuc-intervalbox{display:none;margin-top:15px}
.ebuc .ebuc-calcresult{display:none;margin-top:15px;padding:16px 18px;background:var(--ebuc-info);border:1px solid #c9dcf5;border-radius:9px;font-size:18px}
.ebuc .ebuc-calcresult strong{color:var(--ebuc-navy)}
.ebuc .ebuc-info{padding:18px 20px;background:var(--ebuc-info);border-radius:10px;line-height:1.55;color:#315372}
.ebuc .ebuc-info strong{color:var(--ebuc-navy)}

.ebuc .ebuc-actions{display:flex;justify-content:flex-end;margin-top:26px}
.ebuc .ebuc-btn{display:inline-block;width:auto;margin:0;padding:15px 30px;border:1px solid var(--ebuc-orange);border-radius:8px;background:var(--ebuc-orange);color:#fff;font:inherit;font-size:17px;font-weight:700;line-height:1.2;text-transform:none;text-decoration:none;cursor:pointer;box-shadow:none}
.ebuc .ebuc-btn:hover{filter:brightness(.95);color:#fff}
.ebuc .ebuc-btn.ebuc-secondary{background:#fff;color:var(--ebuc-blue);border-color:var(--ebuc-blue);padding:13px 20px}
.ebuc .ebuc-btn.ebuc-secondary:hover{background:#eef5ff;filter:none;color:var(--ebuc-blue)}

.ebuc .ebuc-tablewrap{overflow-x:auto}
.ebuc table{width:100%;margin:0;border-collapse:collapse;border:0;font-size:15px}
.ebuc th,.ebuc td{padding:9px 7px;border:0;border-bottom:1px solid #e1e8f0;text-align:left;vertical-align:middle;background:transparent;color:var(--ebuc-text)}
.ebuc tbody tr:nth-child(even) td{background:transparent}
.ebuc .ebuc-loadtable{min-width:900px}
.ebuc .ebuc-loadtable input,.ebuc .ebuc-loadtable select{height:44px;padding:0 9px;font-size:15px}
.ebuc .ebuc-delete{width:auto;padding:0 8px;border:0;background:#fff;color:#a62626;font-size:24px;line-height:1;cursor:pointer;box-shadow:none}
.ebuc .ebuc-load-actions{display:flex;justify-content:space-between;gap:15px;margin-top:20px}

.ebuc .ebuc-status{margin-bottom:14px;padding:15px 12px;border:1px solid #f2a15d;border-radius:6px;background:#fff7ef;color:#a74700;font-weight:700}
.ebuc .ebuc-status.ebuc-pass{border-color:#9dc8a6;background:#f2faf4;color:#246b32}
.ebuc .ebuc-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.ebuc .ebuc-summary-card{padding:13px 11px;background:#f8fbff;border:1px solid var(--ebuc-border);border-radius:10px}
.ebuc .ebuc-summary-card h4{margin:0 0 12px;font-size:15px;color:var(--ebuc-navy)}
.ebuc .ebuc-metric{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:14px}
.ebuc .ebuc-metric strong{color:var(--ebuc-text)}
.ebuc .ebuc-section-title{margin:22px 0 8px;font-size:16px;color:var(--ebuc-navy);font-weight:700}
.ebuc .ebuc-result-table{font-size:13px}
.ebuc .ebuc-result-table th{padding:9px 8px;background:#f1f5f9;border-bottom:1px solid #cfd9e5;color:#16395e;text-transform:uppercase;letter-spacing:.06em;font-size:12px}
.ebuc .ebuc-result-table td{padding:9px 8px;border-bottom:1px solid #d7e0ea}
.ebuc .ebuc-total td{font-weight:700}
.ebuc .ebuc-equation{display:flex;align-items:center;justify-content:center;gap:26px;margin:16px 0;padding:17px;background:#eaf4ff;border:1px solid #c7def8;border-radius:6px;text-align:center}
.ebuc .ebuc-equation .ebuc-eq-label{font-size:12px}
.ebuc .ebuc-equation strong{display:block;margin-top:3px;font-size:18px;color:var(--ebuc-navy)}
.ebuc .ebuc-equation .ebuc-symbol{font-size:24px;font-weight:700}
.ebuc .ebuc-note{margin-top:14px;padding:12px;background:var(--ebuc-info);border:1px solid #9bc5ff;border-radius:6px;font-size:12px;line-height:1.45}
.ebuc .ebuc-result-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}

@media (max-width:780px){
  .ebuc .ebuc-card{padding:21px 18px}
  .ebuc .ebuc-title{font-size:25px}
  .ebuc .ebuc-grid2,.ebuc .ebuc-methods,.ebuc .ebuc-entry,.ebuc .ebuc-summary-grid{grid-template-columns:1fr}
  .ebuc .ebuc-workflow{grid-template-columns:1fr}
  .ebuc .ebuc-step{gap:10px}
  .ebuc .ebuc-load-actions{flex-direction:column}
  .ebuc .ebuc-equation{flex-direction:column;gap:8px}
}
