.sales-report-hub{display:grid;gap:16px}
.sales-report-hub>.ws-intro{margin:0}
.sales-report-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:6px;border:1px solid #e0e9e2;border-radius:14px;background:#f7faf8}
.sales-tab{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:10px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:#385348;text-align:left;cursor:pointer;font:inherit}
.sales-tab b{display:grid;place-items:center;min-width:46px;padding:6px 7px;border-radius:7px;background:#eaf2ed;color:#267459;font-size:.75rem}
.sales-tab span{font-size:.8rem;font-weight:650;line-height:1.3}
.sales-tab:hover,.sales-tab.active{border-color:#cce2d6;background:#fff;box-shadow:0 2px 9px #1d50300d}
.sales-tab.active b{background:#18785a;color:#fff}
.business-workbench{display:grid;gap:14px}
.business-upload-card,.business-history-card{padding:18px 20px}
.business-card-heading,.business-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}
.business-card-heading>div,.business-section-heading>div{display:flex;align-items:center;gap:11px}
.business-step{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;background:#eaf4ef;color:#17785b;font-size:.76rem;font-weight:800}
.business-card-heading h2,.business-section-heading h2{margin:0;color:#173c34;font-size:1rem}
.business-card-heading p{margin:4px 0 0;color:#718078;font-size:.82rem}
.business-format{padding:6px 10px;border:1px solid #e2eae4;border-radius:99px;color:#6b7c72;font-size:.75rem;white-space:nowrap}
.business-upload-fields{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(300px,1.35fr);align-items:start;gap:12px}
.business-upload-fields label{display:grid;gap:7px;color:#53675c;font-size:.8rem;font-weight:700}
.business-upload-fields input:not([type=file]){width:100%;min-height:41px;padding:8px 10px;border:1px solid #d7e1da;border-radius:9px;background:#fff;color:#243b33;font:inherit;font-weight:450}
.business-upload-fields small{color:#78867e;font-size:.74rem;font-weight:450;line-height:1.4}
.business-file-drop{min-height:84px;padding:11px 13px;border:1px dashed #bdd3c6;border-radius:11px;background:#f8fbf9}
.business-file-drop input{width:100%;margin-top:2px;color:#53675c;font:inherit;font-size:.78rem}
.business-history-list{display:grid;gap:8px}
.business-history-list article{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 13px;border:1px solid #e8eee9;border-radius:10px;background:#fff}
.business-history-main{min-width:0}
.business-history-main strong{color:#294e3d;font-size:.87rem}
.business-history-main strong span{color:#9aa9a0}
.business-history-main p,.business-history-main small{display:block;margin:4px 0 0;color:#738179;font-size:.74rem;overflow-wrap:anywhere}
.business-history-main .business-history-summary{color:#385649;font-size:.77rem}
.business-empty{margin:0;padding:16px;border:1px dashed #e0e8e2;border-radius:10px;color:#748078;text-align:center;font-size:.82rem}
.business-crosscheck{margin:0;padding:0;overflow:hidden}
.business-crosscheck>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 17px;cursor:pointer;list-style:none}
.business-crosscheck>summary::-webkit-details-marker{display:none}
.business-crosscheck>summary span{display:flex;align-items:center;gap:9px;color:#294e3d;font-size:.88rem;font-weight:750}
.business-crosscheck>summary b{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0f4f1;color:#718078;font-size:.72rem}
.business-crosscheck>summary small{color:#77847c;font-size:.75rem}
.business-crosscheck-content{padding:0 17px 16px;border-top:1px solid #edf1ed}
.business-crosscheck-content .sales-help{margin:12px 0;color:#718078;font-size:.78rem}
.sales-report-hub [data-business-panel]>.ws-intro,.sales-report-hub [data-business-panel]>.ws-tip{display:none}
.sales-report-hub .sales-preview-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.sales-report-hub .sales-preview-cards>div{min-width:0}
.sales-report-hub .sales-report-list article{align-items:center}
.sales-report-hub .sales-report-list article>div{min-width:0;overflow-wrap:anywhere}
.sales-bct01-workbench .business-card-heading h2{margin:0}
.sales-bct01-workbench .business-branch-picker{grid-column:auto}
.sales-bct01-workbench .sales-current-results{margin:0}
@media(max-width:980px){.sales-report-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.sales-report-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.business-upload-card,.business-history-card{padding:14px}.business-card-heading{align-items:flex-start}.business-format{display:none}.business-upload-fields,.sales-report-hub .sales-import-fields{grid-template-columns:1fr}.business-history-list article{align-items:flex-start}.sales-report-hub .sales-preview-cards{grid-template-columns:1fr}.business-crosscheck>summary{align-items:flex-start}.business-crosscheck>summary small{max-width:45%;text-align:right}}
.business-branch-picker{grid-column:1/-1;margin:13px 0 4px;border:1px solid #dfe9e2;border-radius:11px;background:#fbfdfb}
.business-branch-picker>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;cursor:pointer;list-style:none;color:#385649;font-size:.82rem;font-weight:700}
.business-branch-picker>summary::-webkit-details-marker{display:none}
.business-branch-picker>summary small{color:#718078;font-size:.74rem;font-weight:500}
.business-branch-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 12px 10px}
.business-branch-options label{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid #e8eee9;border-radius:9px;background:#fff;color:#435a4d;font-size:.78rem;cursor:pointer}
.business-branch-options label:has(input:checked){border-color:#b7d7c4;background:#eff8f2;color:#176b4d}
.business-branch-options input{margin:0;accent-color:#17785b}
.business-branch-options label span{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.business-branch-options label b{flex:none;color:#708076;font-size:.68rem}
.business-branch-options>p{grid-column:1/-1;margin:0;padding:8px;color:#79877f;font-size:.77rem}
.business-branch-help{display:block;padding:0 13px 11px;color:#7a877e;font-size:.72rem;line-height:1.45}
.business-scope-note{margin:9px 0;padding:10px 12px;border:1px solid #dfeae2;border-radius:9px;background:#f7fbf8;color:#39594a;font-size:.78rem;line-height:1.4}
.business-scope-note small{display:block;margin-top:3px;color:#738078;font-size:.72rem}
@media(max-width:900px){.business-branch-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.business-branch-picker>summary{align-items:flex-start;flex-direction:column}.business-branch-options{grid-template-columns:1fr}}

.business-import-actions{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.business-import-actions button{min-height:40px;padding:9px 14px;border:1px solid #d6e4da;border-radius:10px;background:#f7fbf8;color:#24523f;font:inherit;font-size:.83rem;font-weight:700;cursor:pointer}.business-import-actions button.primary{border-color:#176556;background:#176556;color:#fff}.business-import-actions button:hover{filter:brightness(.97)}.business-results-page>.ws-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.business-results-page>.ws-actions label{display:grid;gap:5px;color:#52665b;font-size:.8rem;font-weight:700}.business-results-page>.ws-actions select{min-width:150px;min-height:40px;padding:8px 11px;border:1px solid #d9e5dd;border-radius:10px;background:#fff;color:#284b3a;font:inherit}.business-result-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.business-results-page .business-history-card{margin:14px 0}.business-results-page .sales-table-wrap{max-height:62vh}.business-results-page .sales-table-wrap table{min-width:850px}@media(max-width:640px){.business-import-actions{display:grid;grid-template-columns:1fr}.business-results-page>.ws-actions{display:grid;grid-template-columns:1fr 1fr}.business-results-page>.ws-actions label{min-width:0}.business-results-page>.ws-actions select{min-width:0;width:100%}.business-results-page>.ws-actions button{min-height:42px}.business-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.business-import-primary{margin-left:auto;min-width:190px}.business-import-primary:disabled{opacity:.52;cursor:not-allowed}@media(max-width:680px){.business-import-primary{margin-left:0;min-width:0}}

.business-source-module{overflow:hidden}.business-source-tabs{display:flex;gap:8px;margin:10px 0 14px;padding-bottom:10px;border-bottom:1px solid #e6eee8}.business-source-tabs button{min-height:38px;padding:8px 14px;border:1px solid #dce8df;border-radius:10px;background:#f8fbf9;color:#3b5d4b;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.business-source-tabs button.active{border-color:#16765a;background:#e8f5ee;color:#12664d;box-shadow:0 2px 8px #176b4d18}.business-total-row{background:#edf7f0;color:#164f3c;font-weight:750}.business-total-row th{border-top:2px solid #b8d9c5}.business-results-page .sales-table-wrap td,.business-results-page .sales-table-wrap th{vertical-align:middle}
@media(max-width:640px){.business-source-tabs{display:grid;grid-template-columns:1fr 1fr}.business-source-tabs button{padding:8px 7px;font-size:.76rem}.business-source-module .sales-table-wrap{max-height:56vh}}
