.sp-dialog{width:min(1050px,94vw);max-height:90vh;border:1px solid #cbd5e1;border-radius:14px;padding:24px;color:#172b4d;overflow:auto}.sp-dialog::backdrop{background:#0f172a99}.sp-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sp-dialog h2{margin:0}.sp-dialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.sp-dialog input,.sp-dialog select{padding:9px;border:1px solid #b7c8df;border-radius:6px;min-width:0}.sp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.sp-grid input,.sp-grid select{background:#edf9e8}.sp-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.sp-dialog button{cursor:pointer}.sp-dialog button:disabled{opacity:.5;cursor:default}.sp-message{color:#9a3412;min-height:24px}.sp-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;background:#f1f5f9;padding:18px;border-radius:10px}.sp-results dd{margin:4px 0;font-size:1.2rem;font-weight:700}.sp-group{border:1px solid #cbd5e1;border-radius:9px;padding:16px;margin-bottom:18px}.sp-panel-row,.sp-member{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.sp-panel-row input,.sp-member input,.sp-member select{flex:1;min-width:110px}.sp-scroll{overflow:auto}.sp-dialog table{width:100%;border-collapse:collapse}.sp-dialog th,.sp-dialog td{padding:10px;border-bottom:1px solid #dbe3ee;text-align:left;white-space:nowrap}.sp-dialog th{background:#eef3fa}#spEpcButton{margin:0;align-self:center}#spEpcButton[hidden],#spDistributionButton[hidden],[data-sp-toolbar] button[hidden]{display:none!important}

#spEpcSettingsCard[hidden]{display:none!important}

.sp-grid input[readonly]{background:#f2f5f9}.sp-final-result{grid-column:1/-1}.sp-final-result dd{display:flex;align-items:center;gap:18px}.sp-final-result small{font-size:1rem;color:var(--blue)}

.sp-epc-result-sections{display:grid;gap:16px}.sp-epc-result-section{border:1px solid var(--line,#dbe3ef);border-radius:10px;overflow-x:auto}.sp-dialog .sp-epc-result-table{table-layout:fixed;min-width:510px}.sp-dialog .sp-epc-result-table th{width:33.333%;background:var(--blue,#0b3d91);color:white;white-space:normal}.sp-dialog .sp-epc-result-table td{font-size:1.15rem;font-weight:700;padding:18px 12px;background:#f8fafc;border-bottom:0;white-space:normal}.sp-epc-final-pct{display:block;font-size:.95rem;color:var(--blue,#0b3d91);margin-top:5px}.sp-epc-limits{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line,#dbe3ef);border-radius:10px;margin:0;overflow:hidden}.sp-epc-limits>div{padding:14px 18px}.sp-epc-limits>div+div{border-left:1px solid var(--line,#dbe3ef)}.sp-epc-limits dt{font-weight:700;color:var(--blue,#0b3d91)}.sp-epc-limits dd{margin:6px 0 0;font-size:1.1rem;font-weight:700}

.sp-dialog .sp-epc-result-table tbody td{color:#000}.sp-dialog .sp-epc-result-table tbody td:first-child{color:#000}

.sunrun-deposit-disabled{opacity:.55;pointer-events:none}

.sp-hierarchy{overflow:auto;padding:20px 12px;background:#f5f8fc;border:1px solid #dce5ef;border-radius:10px;max-height:65vh}
.sp-hierarchy ul{display:flex;justify-content:center;list-style:none;margin:0;padding:24px 0 0;position:relative;width:max-content;min-width:100%;box-sizing:border-box}
.sp-hierarchy>ul{padding-top:0}
.sp-hierarchy li{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;position:relative;padding:24px 10px 0;box-sizing:border-box}
.sp-hierarchy>ul>li{padding-top:0}
.sp-hierarchy li::before,.sp-hierarchy li::after{content:"";position:absolute;top:0;width:50%;height:24px;border-top:2px solid #9eb5d0;box-sizing:border-box}
.sp-hierarchy li::before{right:50%}
.sp-hierarchy li::after{left:50%;border-left:2px solid #9eb5d0}
.sp-hierarchy li:first-child::before,.sp-hierarchy li:last-child::after{border-top:0}
.sp-hierarchy li:last-child::before{border-right:2px solid #9eb5d0}
.sp-hierarchy li:only-child::before{display:none}
.sp-hierarchy>ul>li::before,.sp-hierarchy>ul>li::after{display:none}
.sp-hierarchy li>ul::before{content:"";position:absolute;top:0;left:50%;height:24px;border-left:2px solid #9eb5d0}
.sp-hierarchy-node{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;width:170px;padding:12px;background:white;border:1px solid #c4d6e8;border-top:4px solid var(--blue,#0b3d91);border-radius:9px;box-sizing:border-box;box-shadow:0 3px 8px #172b4d0d}
.sp-hierarchy-node strong{font-size:13px;overflow-wrap:anywhere}
.sp-hierarchy-node span{font-size:11px;color:#405b76}
.sp-hierarchy-node button{margin:0;padding:6px 10px;font-size:12px}

.sp-dialog label[hidden]{display:none!important}

.sp-dialog .sp-beneficiary-table{min-width:900px;border:1px solid #dbe3ee}
.sp-dialog .sp-beneficiary-table th,.sp-dialog .sp-beneficiary-table td{border-right:1px solid #dbe3ee}
.sp-dialog .sp-beneficiary-table tbody tr:nth-child(even){background:#f7f9fc}
.sp-dialog .sp-beneficiary-table th:nth-child(n+4),.sp-dialog .sp-beneficiary-table td:nth-child(n+4){text-align:right}
.sp-dialog .sp-beneficiary-table tfoot{background:#eef3fa;font-weight:700}
.sp-dialog .sp-beneficiary-table tfoot th{text-align:left}
.sp-dialog .sp-empty{text-align:center!important;white-space:normal;color:#52647d;padding:20px}
