.irrbb .path-switch a[href="frtb.html"],.irrbb .path-switch a[href="stochastic.html"]{background:transparent;color:#c5dbd6;border-color:#395753}
.irrbb .path-switch a[aria-current="page"]{background:#36534a;color:#dbffb6;border-color:#738d58}
.irrbb .source-banner{line-height:1.8;border-color:#739c90;background:#e8f2ed}.irrbb .source-banner a{color:#215e49}
.irrbb [hidden]{display:none!important}.irrbb .stats strong{font-size:clamp(18px,1.7vw,25px)}
.lab-steps{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.lab-steps span{display:flex;gap:10px;align-items:center;font-size:13px;color:#355d50}.lab-steps b{background:#153e34;color:#d7f5a2;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}
.book-preview{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px;background:#e6f0e9;border:1px solid #c8dccd;border-radius:10px;padding:18px;margin-bottom:18px}.book-preview span{display:grid;gap:7px;flex:1;min-width:130px}.book-preview small{font-size:12px;color:#426555}.book-preview strong{font-size:20px;color:#18513e}.book-preview button{background:#234f40;color:#e3ffc9;border:0;border-radius:7px;padding:12px;font-size:12px}
#balance-builder{margin-bottom:30px}.builder-head{display:flex;justify-content:space-between;gap:24px;margin-bottom:20px}.builder-head h2{margin:7px 0}.builder-head p,.lab-audit>p{color:#647b72;font-size:14px;line-height:1.7}.builder-actions{display:grid;gap:7px;min-width:225px;align-content:start}
.irrbb .book-row{padding:20px;background:#fff;border:1px solid #d8e5dc;border-radius:12px;margin:12px 0}.row-title{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #e1e9e4;padding-bottom:14px;margin-bottom:16px}.row-title label{max-width:420px;width:100%}.row-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.book-row label,.builder-actions label,.detail-tools label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#47665a;font-weight:600}
.book-row input,.book-row select,.builder-actions select,.detail-tools select{min-width:0;width:100%;padding:10px;border:1px solid #bacdc1;border-radius:6px;background:#fcfefd;color:#214636;font:inherit;font-size:14px}.book-row input:focus-visible,.book-row select:focus-visible{outline:3px solid #bbdf96;outline-offset:2px}.book-row input[aria-invalid=true]{border:2px solid #b54738}
.irrbb .row-note{font-size:12px;line-height:1.7;color:#647b72;margin-bottom:0}.builder-actions button,.builder-bottom button,.detail-tools button{background:#234f40;color:#e3ffc9;border:0;border-radius:7px;padding:11px 15px;font-size:12px}.row-title button{padding:8px 12px;border:1px solid #c7d6cc;background:white;color:#805b41;border-radius:6px;font-size:12px}.builder-bottom,.detail-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:18px 0}.builder-bottom span,.builder-bottom a{font-size:12px;color:#48695a}.lab-audit{background:#fff;border:1px solid #d9e4dc;border-radius:12px;padding:26px;margin:24px 0}.lab-audit h2{font-size:23px}.irrbb .formula{white-space:pre-wrap;line-height:1.8}.irrbb .reading a{display:inline-block;margin:5px 10px 5px 0}.irrbb .controls select{width:100%}
@media(max-width:1100px){.row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-head{flex-direction:column}.builder-actions{max-width:420px}.irrbb .workspace{grid-template-columns:1fr}.irrbb #inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.row-fields{grid-template-columns:1fr 1fr;gap:12px}.irrbb .book-row{padding:14px}.row-title{gap:10px}.lab-audit{padding:16px}.lab-steps{flex-direction:column}.irrbb #inputs{grid-template-columns:1fr}.irrbb .source-banner{font-size:12px}}
