.totals-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.totals-heading h2{margin:7px 0 10px}.totals-heading .muted{max-width:660px;font-size:1rem}.totals-source{margin:0 0 20px;padding-top:20px;border:1px solid var(--line,#dbe5e0)}.totals-source legend{padding:0 9px;font-size:1.1rem;font-weight:750}.totals-mode{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px!important}.totals-mode input{width:19px;height:19px;flex:none;margin:2px 0 0;accent-color:#176c65}.totals-mode b{display:block;font-size:1rem}.totals-mode small{display:block;margin-top:6px;color:#52665b;font-weight:400;line-height:1.6;font-size:1rem}.totals-source .form-note{margin-bottom:0}.totals-current{display:flex;justify-content:space-between;gap:28px}.totals-current h3{margin-bottom:10px}.totals-current p{margin-bottom:5px;font-size:1rem}.totals-current>div:last-child{min-width:180px;display:flex;flex-direction:column;gap:7px}.totals-current-label{font-size:.875rem;color:#52665b}.totals-values-note{line-height:1.7;margin:22px 0;font-size:1rem;color:#52665b}.totals-group{margin-bottom:20px}.totals-group h3{padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid var(--line,#dbe5e0)}.totals-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 30px}.totals-field>label:first-child{display:block;font-size:.9375rem;font-weight:650;margin-bottom:9px;line-height:1.5}.totals-input-wrap{position:relative}.totals-input-wrap input{padding-right:36px}.totals-input-wrap>span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#52665b;font-size:1rem}.totals-field input,.totals-field select{font-size:1rem}.totals-field input:disabled,.totals-field select:disabled{opacity:1;color:#334f45;background:#f0f5f2;cursor:default}.totals-inherit{display:flex!important;align-items:center;gap:8px;font-weight:400!important;font-size:.875rem!important;margin:11px 0 0!important}.totals-inherit input{width:17px;height:17px;margin:0;accent-color:#176c65}.totals-field .form-note{margin:9px 0 0;font-size:.8125rem;line-height:1.6}.totals-save-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;border-top:1px solid var(--line,#dbe5e0)}.totals-save-bar .form-note{max-width:500px;margin:8px 0 0}.totals-actions{display:flex;gap:10px;flex-shrink:0}.totals-setup [hidden]{display:none!important}@media(max-width:800px){.totals-current{flex-direction:column;gap:20px}.totals-current>div:last-child{padding-top:18px;border-top:1px solid var(--line,#dbe5e0)}.totals-save-bar{align-items:flex-start;flex-direction:column}.totals-actions{width:100%}.totals-actions button{flex:1}}@media(max-width:560px){.totals-field-grid{grid-template-columns:1fr}.totals-heading{gap:12px}.totals-heading .badge{white-space:nowrap}.totals-actions{flex-direction:column}.totals-mode small{font-size:1rem}.totals-save-bar .subtle{overflow-wrap:anywhere}}

.detail-total-row{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:10px 0;font-size:1rem;line-height:1.6}.detail-total-row>span:last-child{white-space:nowrap}.detail-totals{border-top:1px solid var(--line,#dbe5e0);padding-top:14px;margin-top:20px}
