.business-tabs,.business-period{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.business-tabs .solid-btn{flex:1;min-width:0}.business-period .solid-btn{min-height:38px;padding:8px 18px}.business-summary,.business-panel{background:white;border:1px solid #d9e2f2;border-radius:18px;padding:22px;margin:18px 0}.business-panel h2{font-size:19px;margin:0 0 16px}.business-panel summary{cursor:pointer;font-weight:650}.business-profit{padding:0 0 18px;border-bottom:1px solid #d9e2f2}.business-profit>small,.business-profit>strong{display:block}.business-profit>strong{font-size:32px;margin:8px 0;color:#193ca8}.business-profit p{margin:0;color:#647693;line-height:1.6}.business-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px;padding-top:20px}.business-metrics strong,.business-metrics small{display:block}.business-metrics strong{font-size:22px;margin:7px 0}.business-metrics small{color:#647693;line-height:1.5}.business-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #e0e6f2}.business-row:last-child{border-bottom:0}.business-row>div{min-width:0}.business-row small{display:block;color:#647693;font-size:12px;line-height:1.6;margin-top:4px}.business-row .solid-btn{min-height:38px;padding:8px 14px;font-size:13px;flex-shrink:0}.business-table-wrap{overflow:auto;margin-top:16px}.business-table{border-collapse:collapse;width:100%;font-size:13px}.business-table th,.business-table td{padding:12px 10px;border-bottom:1px solid #e0e6f2;text-align:right}.business-table th:first-child{text-align:left}.business-table tbody th{font-weight:500}.business-checks{display:grid;gap:10px;margin-top:12px}.business-checks label{display:flex;align-items:center;gap:10px}.business-checks input{width:18px;height:18px}.business-purchase-payment{display:grid;gap:14px}.business-weigh{grid-column:1/-1}.business-weigh .provider-extra-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.business-expense-account>.field,.business-purchase-account>.field{width:100%}@media(max-width:600px){.business-summary,.business-panel{padding:16px;border-radius:14px}.business-tabs{gap:6px}.business-tabs .solid-btn{font-size:12px;padding:10px 7px;min-height:44px}.business-metrics{grid-template-columns:1fr 1fr;gap:16px}.business-row{gap:10px;align-items:flex-start}.business-row>b{white-space:nowrap}.business-row .solid-btn{padding:8px 10px}.business-profit>strong{font-size:28px}.business-table{min-width:0}}@media(max-width:370px){.business-weigh .provider-extra-fields{grid-template-columns:1fr}}
.home-result{background:#fff;border:1px solid #d9e2f2;border-radius:20px;padding:24px;margin:22px 0 28px;min-width:0}.home-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.home-result-heading h2{font-size:21px;margin:0}.home-result-heading>span{font-size:13px;color:#647693}.home-result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-result-metrics small,.home-result-metrics strong{display:block}.home-result-metrics small{color:#647693;font-size:14px}.home-result-metrics strong{font-size:24px;margin-top:6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.home-result-net{background:#edf3ff;border:1px solid #d7e3ff;border-radius:14px;padding:18px 20px;margin:20px 0 12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 16px}.home-result-net>span{font-weight:650}.home-result-net>strong{font-size:30px;color:#193ca8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-result-net p{grid-column:1/-1;margin:0;color:#536684;font-size:13px;line-height:1.6}.home-result-net.is-loss{background:#fff3f1;border-color:#f3ccc7}.home-result-net.is-loss>strong{color:#b42318}.home-result-net.is-pending{background:#fffbeb;border-color:#f0dfae}.home-result-net.is-pending>strong{color:#805b00;font-size:23px}.home-result-calculation{font-size:13px;margin:14px 0 18px}.home-result-calculation summary{cursor:pointer;color:#536684;min-height:28px}.home-result-calculation dl{margin:10px 0;max-width:500px}.home-result-calculation dl>div{display:flex;justify-content:space-between;gap:14px;padding:6px 0}.home-result-calculation dd{margin:0;font-weight:650}.home-result-calculation p{color:#647693;line-height:1.65;margin:8px 0}.home-result-actions{display:flex;gap:10px;flex-wrap:wrap}.sj-ui .home-result-actions .solid-btn{min-height:42px;padding:10px 16px;font-size:14px}.home-result-balances{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid #e0e6f2;padding-top:16px;margin-top:20px}.home-result-balances>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}.home-result-balances span{color:#647693}.home-result-balances b{font-variant-numeric:tabular-nums}@media(max-width:600px){.home-result{padding:16px;border-radius:16px;margin:18px 0 24px}.home-result-heading{gap:6px;margin-bottom:16px}.home-result-heading h2{font-size:19px}.home-result-metrics{gap:10px}.home-result-metrics small{font-size:12px}.home-result-metrics strong{font-size:18px}.home-result-net{padding:14px;grid-template-columns:1fr;gap:6px;margin-top:16px}.home-result-net>strong{font-size:28px}.home-result-actions .solid-btn{flex:1;white-space:normal}.home-result-balances{grid-template-columns:1fr;gap:10px}.home-result-balances>div{flex-wrap:nowrap}}@media(max-width:360px){.home-result-metrics strong{font-size:16px}.sj-ui .home-result-actions .solid-btn{padding:10px;font-size:13px}}
.home-seller-result .label-value{flex-wrap:wrap;gap:4px 8px;margin:0;font-size:12px}.home-seller-result .label-value b{white-space:nowrap}
@media(max-width:600px){.home-result-metrics{grid-template-columns:1fr;gap:10px}.home-result-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.home-result-metrics small{font-size:14px}.home-result-metrics strong{font-size:20px;margin:0;white-space:nowrap}.home-result-actions .solid-btn{min-width:0}}

.purchase-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto;padding:4px}.purchase-choices label{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #d9e2f2;border-radius:12px;cursor:pointer;font-size:14px}.purchase-choices label:has(:checked){background:#edf3ff;border-color:#1943b5}.purchase-choices input{width:20px!important;height:20px;flex:0 0 20px;accent-color:#1943b5}.purchase-quantities{display:grid;gap:14px}.purchase-product{padding:16px;border:1px solid #d9e2f2;border-radius:14px;background:#fff;min-width:0}.purchase-product h4{margin:0 0 14px}.purchase-product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.purchase-product-fields .field{min-width:0}.purchase-product-fields input,.purchase-product-fields select{width:100%;min-width:0}.purchase-tare{margin-top:12px}.purchase-tare summary{font-size:13px;color:#647693;cursor:pointer}.purchase-tare>div{margin-top:12px}.purchase-line-total{text-align:right;color:#1943b5;font-weight:700;margin-top:14px}.purchase-total{background:#edf3ff;padding:16px;border-radius:12px}.purchase-product[hidden]{display:none}@media(max-width:420px){.purchase-choices{grid-template-columns:1fr;max-height:240px}.purchase-product{padding:12px}.purchase-product-fields{gap:10px}.purchase-product-fields .field{font-size:13px}}

.sj-ui .business-table thead th { white-space: normal; }
.sj-ui .business-table tbody th { white-space: normal; overflow-wrap: anywhere; min-width: 8em; }
.business-table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
