/* Step 180 / M10D — scoped balance sheet extraction workspace */
.bs-inner{min-width:0}.bs-inner *{box-sizing:border-box}.bs-inner [hidden]{display:none!important}.bs-drop{min-height:185px}.bs-heading{margin:25px 0 12px}.bs-heading h2{color:#172747;font-size:17px;letter-spacing:-.02em;line-height:1.35;margin:0 0 5px}.bs-heading p{font-size:13px;line-height:1.65;color:#5f7393;margin:0}.bs-file{display:flex;gap:12px;align-items:center;border-radius:12px;border:1px solid #dce4f4;background:#fafbff;padding:12px;margin:16px 0}.bs-file>div{min-width:0;flex:1}.bs-file strong{display:block;font-size:13px;color:#182846;overflow-wrap:anywhere}.bs-file small{display:block;font-size:11px;color:#617492;margin-top:4px}.bs-file-badge{border-radius:9px;background:#ecebff;color:#5541dc;font-weight:800;font-size:12px;padding:12px 10px}.bs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bs-field{min-width:0;margin:0 0 9px}.bs-field label{display:block;margin:0 0 6px;font-size:12px;color:#2b3c5a;font-weight:750}.bs-field input,.bs-field select,.bs-table input,.bs-table select{display:block;min-width:0;width:100%;min-height:42px;border:1px solid #cbd7eb;border-radius:9px;padding:10px 11px;background:#fff;color:#152746;font-family:inherit;font-size:13px}.bs-table input,.bs-table select{padding:7px;min-height:37px;font-size:12px}.bs-field input:focus,.bs-field select:focus,.bs-table input:focus{outline:2px solid #5743dc;outline-offset:1px}.bs-check{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#354762;line-height:1.65;margin:13px 0}.bs-check input{margin-top:4px;flex-shrink:0;accent-color:#5741dd}.bs-actions,.bs-downloads{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:15px 0}.bs-secondary{min-height:40px;padding:10px 13px;display:inline-flex;justify-content:center;align-items:center;border:1px solid #d7e0f1;background:#fff;color:#354763;font-size:12px;font-weight:750;border-radius:9px;text-decoration:none;cursor:pointer;font-family:inherit}.bs-secondary:hover{background:#f6f7ff}.bs-actions button:disabled{opacity:.45;cursor:not-allowed}.bs-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #e0e6f4;border-radius:11px}.bs-table{border-collapse:collapse;width:100%;min-width:790px;font-size:12px}.bs-table th{text-align:left;background:#f3f5fb;color:#354765;padding:10px 7px;white-space:nowrap}.bs-table td{padding:7px;border-top:1px solid #e5ebf7}.bs-table td:nth-child(1){width:142px}.bs-table td:nth-child(2),.bs-table td:nth-child(3){width:94px}.bs-table td:nth-child(4){width:96px}.bs-table td:nth-child(5){width:160px}.bs-table td:nth-child(6){width:90px}.bs-remove{min-height:36px;min-width:36px;border-radius:7px;border:1px solid #f0dae0;background:#fff5f7;color:#b82952;font-weight:800;cursor:pointer}.bs-small{font-size:12px;color:#60718c}.bs-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.bs-stat{border:1px solid #e1e7f5;background:#f8f9fe;border-radius:11px;padding:12px;min-width:0}.bs-stat strong{display:block;color:#192949;font-size:19px;overflow-wrap:anywhere}.bs-stat span{font-size:11px;color:#637693}.bs-warnings{padding:12px;background:#fff9ec;border-left:3px solid #e6a435;border-radius:0 8px 8px 0;white-space:pre-wrap;line-height:1.65;font-size:12px;color:#835c1a;margin:10px 0}.bs-warnings.bs-ok{border-left-color:#159968;background:#effaf4;color:#1c6a4f}.bs-preview{max-height:185px;overflow:auto;background:#f8f9fd;border:1px solid #e1e6f3;color:#516482;border-radius:10px;padding:11px;font-size:11px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.bs-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.bs-progress{margin:11px 0;background:#f7f8ff;border-radius:10px;padding:11px;border:1px solid #e1e7f4}.bs-progress-top{display:flex;justify-content:space-between;font-size:11px;color:#566a88;margin-bottom:7px}.bs-track{height:8px;background:#e0e7f7;border-radius:99px;overflow:hidden}.bs-track>div{height:100%;background:#5741dc;width:0;transition:width .2s}.bs-downloads a{max-width:100%;overflow-wrap:anywhere}.bs-inner .btn{max-width:100%}@media(max-width:650px){.bs-grid{grid-template-columns:1fr}.bs-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-stat strong{font-size:17px}.bs-file{flex-wrap:wrap}.bs-file>div{flex:1 1 150px}.bs-actions .btn,.bs-actions .bs-secondary{max-width:100%}.bs-heading{margin-top:21px}}@media(max-width:385px){.bs-stats{grid-template-columns:1fr}.bs-actions button,.bs-downloads a{font-size:12px}.bs-file .bs-secondary{width:100%}}

.bs-inner input[readonly]{background:#f5f7ff;color:#4d607e}.bs-table{min-width:680px}.bs-table td:nth-child(2){width:260px}.bs-table td:nth-child(3){width:180px}.bs-table td:nth-child(4){width:95px}

/* Step 182 — Balance Sheet-specific responsive rows and reconciliation */
.bs-inner{min-width:0}.bs-drop{min-height:190px}.bs-totals-table{min-width:490px}.bs-totals-table th:first-child{min-width:230px}.bs-table td:nth-child(1){min-width:160px}.bs-table td:nth-child(2){min-width:150px}.bs-table td:nth-child(3),.bs-table td:nth-child(4){min-width:130px}.bs-table input[type=number]{min-width:100px}.bs-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.bs-metric{border:1px solid #dce3f4;border-radius:11px;background:#f7f8ff;padding:12px}.bs-metric strong{display:block;font-size:18px;color:#182849;word-break:break-word}.bs-metric span{display:block;color:#60718c;font-size:11px;margin-top:4px}.bs-progress{margin:15px 0}.bs-progress-head{display:flex;justify-content:space-between;gap:10px;color:#475675;font-size:12px}.bs-progress-track{height:8px;background:#e7e9ff;border-radius:12px;overflow:hidden;margin-top:7px}.bs-progress-track div{height:100%;background:#5940d9;width:0;transition:width .1s}.bs-warnings{white-space:pre-line;color:#87510f;background:#fff9e7;border-left:3px solid #d79a2f;padding:12px 14px;border-radius:2px;font-size:12px;line-height:1.6;margin:12px 0}.bs-warnings:empty{display:none}.bs-preview{white-space:pre-wrap;word-break:break-word;background:#f7f8fd;max-height:170px;overflow:auto;border:1px solid #e1e5f3;border-radius:10px;font-size:11px;line-height:1.6;padding:12px}.bs-downloads[hidden],.bs-review[hidden]{display:none!important}@media(max-width:720px){.bs-grid,.bs-metrics{grid-template-columns:1fr}.bs-inner{padding:16px 13px}.bs-file{flex-wrap:wrap}.bs-actions button{max-width:100%}.bs-table-wrap{overflow-x:auto;max-width:100%}}
