/* Oasis Green business records and management charts; status colors stay semantic. */
.business-erp{--erp-green:#244a30;--erp-sand:#c6986f;--erp-sage:#6ca285;--erp-snow:#e8eceb;--erp-ink:#242625;color:var(--erp-ink)}.erp-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}.erp-intro{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:26px 28px;background:linear-gradient(110deg,#eff5f0,#fff 80%);border:1px solid #dce6df;border-radius:14px;margin-bottom:20px}.erp-eyebrow{font-size:10px;letter-spacing:1.6px;color:#8c7054;font-weight:700}.erp-intro h2,.erp-dashboard-heading h2{font-size:24px;color:#244a30;line-height:1.5;margin:7px 0}.erp-intro p,.erp-dashboard-heading p{font-size:12px;color:#748477;line-height:1.8}.erp-create-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.erp-readonly{font-size:12px;color:#7b8b80}.erp-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:21px}.erp-metric{padding:21px 23px;border-radius:12px;border:1px solid #e0e8e2;background:white;min-width:0;position:relative;overflow:hidden}.erp-metric:before{content:"";position:absolute;top:21px;bottom:21px;left:0;width:3px;background:#244a30}.erp-metric.sand:before{background:#c6986f}.erp-metric.sage:before{background:#6ca285}.erp-metric.ink:before{background:#242625}.erp-metric>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#738377}.erp-metric>span svg{height:18px;width:18px;color:#7d9b85}.erp-metric>strong{display:block;color:#244a30;font-size:28px;line-height:1.5;letter-spacing:-.5px;margin-top:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.erp-metric>strong small{font-size:11px;font-weight:400;letter-spacing:0;margin-left:6px;color:#819083}.erp-metric p{font-size:10px;color:#829086;line-height:1.8;margin-top:5px}.erp-toolbar{display:flex;gap:12px;align-items:center;padding:18px 21px;flex-wrap:wrap}.erp-toolbar label{display:flex;align-items:center;gap:7px;font-size:11px;color:#7a8a7e;font-weight:400}.erp-toolbar select,.erp-toolbar input{font-size:11px;min-height:36px;padding:7px 9px;margin:0}.erp-toolbar input[type=date]{width:130px}.erp-toolbar>span{margin-left:auto;font-size:11px;color:#8b988f;white-space:nowrap}.erp-search{flex:1;min-width:170px;max-width:350px;border:1px solid #dce5df;border-radius:8px;padding:0 10px;background:#fafcfb}.erp-search input{border:0;background:transparent;box-shadow:none!important;padding:8px 0;width:100%;font-size:12px;outline:none}.erp-search .erp-icon{color:#8aa090;width:17px;height:17px;flex-basis:17px}.erp-table-wrap{overflow-x:auto}.erp-table{width:100%;border-collapse:collapse;min-width:750px;text-align:left}.erp-table th{font-size:11px;color:#7a8a7d;background:#f5f8f6;padding:13px 15px;font-weight:600;white-space:nowrap}.erp-table td{font-size:12px;color:#455b4b;padding:16px 15px;border-top:1px solid #e7eee9;vertical-align:middle}.erp-table td strong{font-size:12px;font-weight:600;display:block;line-height:1.8}.erp-table td small{font-size:10px;color:#85958a;display:block;margin-top:5px;line-height:1.7}.erp-table .erp-serial{color:#92a196;width:48px}.erp-numeric{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.erp-row-actions{display:flex;gap:7px;flex-wrap:wrap}.erp-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;border-radius:6px;padding:6px 10px;white-space:nowrap}.erp-status:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.erp-status-draft{color:#97632d;background:#fff2df}.erp-status-posted{color:#245d47;background:#e5f2ea}.erp-status-reversed{color:#a44f48;background:#fcecea}.erp-status-cancelled{color:#7a7f7b;background:#eff1ef}.erp-tag{font-size:10px;color:#456f53;background:#edf5ef;padding:4px 7px;border-radius:5px;display:inline-block}.erp-overdue{color:#bd593d!important}.erp-empty{display:grid;justify-items:center;text-align:center;padding:53px 25px 58px;color:#839487;gap:11px;min-height:210px}.erp-empty>.erp-icon{height:33px;width:33px;color:#93ae9b}.erp-empty h3{color:#406249;font-size:17px;font-weight:600}.erp-empty p{font-size:12px;line-height:1.8;max-width:520px}.erp-empty.compact{min-height:210px;padding:35px 24px;align-content:center}.erp-scope{font-size:11px;color:#839187;line-height:1.9;margin:17px 2px}.erp-form h3{color:#244a30;font-size:15px;margin:24px 0 14px}.erp-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.erp-form label{font-size:12px;line-height:1.8;color:#63796a;font-weight:550;display:block}.erp-form input:not([type=hidden]):not([type=checkbox]),.erp-form select,.erp-form textarea{display:block;width:100%;margin-top:6px;font-size:13px;min-height:41px;border:1px solid #dce5de;border-radius:8px;color:#242625;background:white;padding:10px 11px;line-height:1.5}.erp-form input:focus,.erp-form select:focus,.erp-form textarea:focus{border-color:#6ca285;box-shadow:0 0 0 3px #6ca28522}.erp-form textarea{resize:vertical}.erp-span-2{grid-column:span 2}.erp-full{grid-column:1/-1}.erp-lines-wrap{overflow:auto;border:1px solid #dfe7e1;border-radius:9px;margin-top:10px}.erp-lines{width:100%;min-width:760px;table-layout:fixed;border-collapse:collapse}.erp-lines th{font-size:10px;font-weight:600;background:#f5f8f5;color:#768b7c;text-align:left;padding:11px 8px}.erp-lines td{padding:10px 8px;border-top:1px solid #e5ece7;font-size:12px;color:#7b8f81;vertical-align:top}.erp-lines th:first-child{width:35px}.erp-lines th:nth-child(2){width:40%}.erp-lines th:nth-child(3){width:16%}.erp-lines th:nth-child(4){width:17%}.erp-lines th:last-child{width:35px}.erp-lines input,.erp-lines select{font-size:12px!important;padding:8px!important;min-height:37px!important;margin:0!important}.erp-lines td small{display:block;color:#8c9e90;font-size:10px;margin-top:5px}.erp-journal-lines th:nth-child(2){width:47%}.erp-journal-lines th:nth-child(3),.erp-journal-lines th:nth-child(4){width:20%}.erp-journal-lines td input[name=line_memo]{margin-top:6px!important}.erp-remove{border:0;background:none;color:#a68570;font-size:22px;line-height:34px;width:27px;padding:0}.erp-remove:hover{color:#ac4c41}.erp-line-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:15px 0}.erp-line-tools>strong{font-size:14px;color:#244a30;font-variant-numeric:tabular-nums}.erp-form-note{font-size:11px;line-height:1.9;color:#859388;margin:17px 0 0}.erp-form .erp-check{display:flex;align-items:flex-start;gap:9px;padding:14px 0}.erp-check input{width:17px;height:17px;flex:0 0 17px;margin-top:3px;accent-color:#244a30;min-height:0}.erp-check small{display:block;font-weight:400;color:#8b978e;font-size:11px;margin-top:5px;line-height:1.8}.erp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.erp-facts dt{font-size:11px;color:#87978b;margin-bottom:5px}.erp-facts dd{font-size:14px;font-weight:550;color:#3c5a45;margin:0;overflow-wrap:anywhere}.erp-detail-balance{display:flex;gap:30px;background:#f2f7f3;border-radius:8px;padding:16px 18px;font-size:12px;color:#708377;margin:15px 0}.erp-detail-balance b{margin-left:10px;color:#244a30;font-size:18px;font-variant-numeric:tabular-nums}.erp-detail-note{font-size:12px;color:#6d8172;line-height:1.9;margin:17px 0}.erp-detail-remarks{padding:18px 0;border-top:1px solid #e2eae4;margin-top:18px}.erp-detail-remarks h3{font-size:12px;color:#607c69;margin-bottom:8px}.erp-detail-remarks p{font-size:13px;line-height:1.8;white-space:pre-wrap;color:#4b6553}.erp-audit{display:grid;gap:6px;border-top:1px solid #e1e9e3;padding-top:15px;margin-top:15px;color:#8b9a90;font-size:10px;line-height:1.8}.erp-warning{font-size:12px;color:#8e6a43;background:#fbf4e9;padding:13px 17px;border-radius:7px;border-left:3px solid #c6986f;line-height:1.9;margin:13px 0}.erp-dashboard{margin:25px 0}.erp-dashboard-heading{padding-bottom:17px}.erp-period{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:0 0 19px;padding:13px 16px;border:1px solid #e0e8e2;background:#fafcfb;border-radius:10px}.erp-period label{display:flex;align-items:center;gap:8px;font-size:11px;color:#7c8c80;font-weight:400}.erp-period select,.erp-period input{font-size:12px;padding:7px 10px;min-height:35px;margin:0;max-width:150px}.erp-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:19px}.erp-dashboard-metrics .erp-metric{padding:18px 20px}.erp-dashboard-metrics .erp-metric strong{font-size:26px}.erp-dashboard-metrics .erp-metric>span{font-size:11px}.erp-chart-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}.erp-chart-card{min-width:0;padding:0 0 16px}.erp-chart-card>header{display:flex;gap:11px;padding:22px 23px 10px;align-items:flex-start}.erp-chart-card>header>span{height:33px;width:33px;border-radius:9px;background:#edf4ee;display:grid;place-items:center;color:#567e60;flex:none}.erp-chart-card h3{font-size:15px;color:#355b40;line-height:1.7}.erp-chart-card header p{font-size:10px;line-height:1.8;margin-top:5px;color:#85958a}.erp-line-chart{display:block;width:100%;max-height:270px;min-height:180px;padding:0 9px}.erp-chart-legend{display:flex;justify-content:center;gap:22px;font-size:10px;color:#6f8275;flex-wrap:wrap;padding:5px 12px 13px}.erp-chart-legend span,.erp-balance-chart p{display:flex;align-items:center;gap:7px}.erp-chart-legend i,.erp-balance-chart i{width:7px;height:7px;display:inline-block;border-radius:3px;flex:none}.erp-chart-data{margin:4px 23px 0;border-top:1px solid #e5ece7;padding-top:10px}.erp-chart-data summary{font-size:10px;color:#6f8c78;cursor:pointer}.erp-chart-data table{min-width:390px;margin-top:8px}.erp-chart-data .erp-table th,.erp-chart-data .erp-table td{font-size:10px;padding:8px!important}.erp-balance-chart{display:flex;align-items:center;gap:12px;padding:12px 20px 16px;min-height:230px}.erp-balance-chart svg{width:175px;max-width:48%;flex:none}.erp-balance-chart>div{flex:1;min-width:110px}.erp-balance-chart p{font-size:11px;color:#7b8d7f;flex-wrap:wrap;line-height:1.8;margin:18px 0}.erp-balance-chart strong{display:block;font-size:18px;color:#34573e;flex-basis:100%;padding-left:14px;font-variant-numeric:tabular-nums}.erp-analysis-notes{padding:18px 22px;border:1px solid #e3e7df;background:#f7f8f3;border-radius:9px;margin-top:19px;font-size:11px;line-height:1.9;color:#7d887b}.erp-analysis-notes p+p{margin-top:7px}.erp-analysis-notes b{color:#59735e;font-weight:600}.erp-report-section{margin:23px 0}.erp-report-section>header{padding:23px}.erp-report-section h3{font-size:16px;color:#244a30}.erp-report-section p{font-size:11px;line-height:1.8;color:#829085;margin-top:7px}.erp-report-boundary{padding:19px 22px;border:1px solid #e7dfd3;background:#fbf7f1;border-radius:10px}.erp-report-boundary h3{font-size:12px;color:#8d6b4c}.erp-report-boundary p{font-size:11px;color:#8d8174;line-height:1.9;margin-top:7px}
.erp-print-sheet{width:210mm;min-height:297mm;padding:15mm;background:#fff;color:#111;box-sizing:border-box;font:10pt/1.6 "PingFang SC","Microsoft YaHei",sans-serif}.erp-print-sheet header{display:flex;align-items:center;gap:5mm;border-bottom:.5mm solid #111;padding-bottom:5mm}.erp-print-sheet header img{width:15mm;height:15mm;object-fit:contain;filter:grayscale(1)}.erp-print-sheet header>div{flex:1}.erp-print-sheet header span{font-size:8pt}.erp-print-sheet h1{font-size:22pt;color:#111}.erp-print-sheet header>strong{font-size:9pt;font-weight:500}.erp-print-warning{padding:2mm 3mm;border:.4mm solid #333;font-weight:700;margin:4mm 0}.erp-print-sheet .erp-facts{gap:4mm}.erp-print-sheet .erp-facts dt{font-size:8pt;color:#555}.erp-print-sheet .erp-facts dd{font-size:10pt;color:#111}.erp-print-sheet .erp-table{min-width:0}.erp-print-sheet .erp-table th{background:#fff;color:#222;border-bottom:.3mm solid #111;font-size:8pt;padding:2mm}.erp-print-sheet .erp-table td{font-size:9pt;padding:3mm 2mm;color:#111;white-space:normal}.erp-print-sheet .erp-table small{font-size:7pt;color:#444}.erp-print-sheet .erp-table th,.erp-print-sheet .erp-table td{overflow-wrap:anywhere}.erp-print-sheet .erp-table thead{display:table-header-group}.erp-print-sheet .erp-table tr{break-inside:avoid;page-break-inside:avoid}.erp-print-sheet .erp-audit,.erp-print-sheet .erp-detail-note{font-size:8pt;color:#444}.erp-print-sheet footer{margin-top:10mm;border-top:.2mm solid #777;padding-top:3mm;font-size:7pt;color:#555}.erp-print-sheet .erp-detail-remarks p{color:#111}.erp-print-sheet .erp-status{color:#111;background:#fff;border:.2mm solid #777}.erp-print-sheet .notice{border:.2mm solid #666;background:white;color:#222}#commercial-print-root{display:none}
@media(max-width:1200px){.erp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-chart-grid{grid-template-columns:1fr}.erp-balance-chart{justify-content:center}.erp-balance-chart>div{max-width:260px}}
@media(max-width:760px){.erp-intro{padding:20px;align-items:flex-start;flex-direction:column;gap:16px}.erp-intro h2,.erp-dashboard-heading h2{font-size:21px}.erp-intro p{font-size:11px}.erp-create-actions{justify-content:flex-start}.erp-create-actions .button{min-height:43px}.erp-metrics{gap:10px}.erp-metric{padding:16px 14px}.erp-metric>span{font-size:10px;gap:5px}.erp-metric>span .erp-icon{display:none}.erp-metric>strong{font-size:23px}.erp-metric>strong small{font-size:9px}.erp-toolbar{padding:15px;gap:10px}.erp-toolbar .erp-search{min-width:100%;max-width:none}.erp-toolbar label{font-size:10px}.erp-toolbar input[type=date]{width:120px}.erp-toolbar>span{margin-left:0}.erp-form-grid{gap:13px}.erp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-detail-balance{gap:14px;flex-wrap:wrap}.erp-dashboard-metrics{gap:10px}.erp-dashboard-metrics .erp-metric{padding:17px 14px}.erp-dashboard-metrics .erp-metric strong{font-size:24px}.erp-period{gap:10px;padding:12px}.erp-period label{font-size:10px}.erp-period input,.erp-period select{font-size:11px;max-width:130px}.erp-chart-card>header{padding:20px 18px 8px}.erp-chart-legend{gap:15px}.erp-chart-data{margin-left:18px;margin-right:18px}.erp-analysis-notes{padding:16px;font-size:10px}.erp-line-tools>strong{font-size:12px}.erp-report-section>header{padding:20px}.erp-scope{font-size:10px}}
@media(max-width:420px){.erp-form-grid{grid-template-columns:1fr}.erp-span-2{grid-column:auto}.erp-metrics{grid-template-columns:1fr 1fr}.erp-metrics .erp-metric:last-child{grid-column:1/-1}.erp-period label:first-child{width:100%}.erp-metric>strong{font-size:22px}.erp-dashboard-metrics .erp-metric>span{font-size:10px}.erp-dashboard-metrics .erp-metric strong{font-size:22px}.erp-balance-chart{gap:5px;padding-left:12px;padding-right:12px}.erp-balance-chart strong{font-size:16px}}
.erp-margin-bars{padding:15px 24px}.erp-margin-bars>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,1.2fr) 100px;gap:17px;align-items:center;padding:12px 0;border-bottom:1px solid #e7eee9;font-size:12px;color:#57765f}.erp-margin-bars strong{font-size:12px;display:block;color:#3d5e47}.erp-margin-bars small{font-size:10px;color:#8a9b8e;display:block;margin-top:4px}.erp-margin-bars i{height:9px;border-radius:4px;background:#edf2ee;overflow:hidden}.erp-margin-bars i b{display:block;height:100%;border-radius:4px}.erp-margin-bars>div>b{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.erp-overdue-strip{display:flex;gap:20px;padding:11px 22px;color:#9c6a3c;background:#fcf5eb;font-size:10px;line-height:1.8;border-top:1px solid #f0e3d0;margin-top:12px;flex-wrap:wrap}.erp-overdue-strip b{font-size:12px;font-variant-numeric:tabular-nums;margin-left:7px}
@media(max-width:760px){.erp-margin-bars{padding:12px 18px}.erp-margin-bars>div{grid-template-columns:minmax(90px,1fr) minmax(65px,1fr) 85px;gap:9px}.erp-margin-bars>div>b{font-size:10px}.erp-overdue-strip{padding:11px 18px;gap:10px}.business-factory-heading h3{font-size:18px}}
@page hehe-commercial-record{size:A4 portrait;margin:0}
.erp-dashboard .erp-dashboard-metrics{gap:15px;margin-bottom:22px}
.erp-dashboard-metrics button.erp-metric{font:inherit;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;position:relative}
.erp-dashboard-metrics button.erp-metric:hover{transform:translateY(-2px);box-shadow:0 10px 25px #244a3016}
.erp-dashboard-metrics button.erp-metric:focus-visible{outline:3px solid #c6986f;outline-offset:3px}
.erp-dashboard-metrics button.erp-metric:first-child{background:linear-gradient(125deg,#244a30,#365e43);border-color:#244a30;color:#fff}
.erp-dashboard-metrics button.erp-metric:first-child>span,.erp-dashboard-metrics button.erp-metric:first-child strong{color:#fff}
.erp-dashboard-metrics button.erp-metric:first-child p,.erp-dashboard-metrics button.erp-metric:first-child small{color:#ccded1}
.erp-dashboard-metrics .erp-metric strong{font-size:28px;letter-spacing:-.5px}
.erp-metric-link{display:flex!important;justify-content:space-between;align-items:center;margin-top:12px!important;font-size:10px!important;letter-spacing:.2px}
.erp-metric-link .erp-icon{width:14px;height:14px}
.erp-chart-grid-primary{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.erp-chart-grid-secondary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}
.erp-chart-grid>article:only-child{grid-column:1/-1}
.erp-dashboard .erp-chart-card{border:1px solid #e0e7e1;box-shadow:0 3px 14px #244a3004;border-radius:12px;overflow:hidden}
.erp-dashboard .erp-chart-card>header{padding:22px 24px 12px}
.erp-dashboard .erp-chart-card h3{font-size:16px;letter-spacing:.2px}
.erp-dashboard .erp-chart-card header p{font-size:11px}
.erp-dashboard .erp-line-chart{max-height:310px;min-height:245px;padding:0 9px}
.erp-dashboard .erp-balance-chart{min-height:285px;gap:15px;padding:8px 22px 16px}
.erp-dashboard .erp-balance-chart svg{width:165px;max-width:46%}
.erp-dashboard .erp-balance-chart p{margin:9px 0;font-size:11px}
.erp-dashboard .erp-balance-chart strong{font-size:19px}
.erp-structure{display:flex;align-items:center;gap:20px;padding:15px 24px 23px;min-height:230px}
.erp-structure svg{width:165px;max-width:43%;flex:none}
.erp-structure-legend{min-width:0;flex:1}
.erp-structure-legend p{display:grid;grid-template-columns:8px minmax(60px,1fr) auto;gap:9px;align-items:center;margin:16px 0;font-size:11px;color:#6c7d71}
.erp-structure-legend i{width:7px;height:7px;border-radius:3px}
.erp-structure-legend span{overflow-wrap:anywhere}
.erp-structure-legend b{font-size:12px;color:#34583e;font-weight:600;font-variant-numeric:tabular-nums}
.erp-signed-bars{padding:18px 24px;min-height:230px;display:flex;flex-direction:column;justify-content:center;gap:20px}
.erp-signed-bars>div{display:grid;grid-template-columns:100px minmax(50px,1fr) 105px;align-items:center;gap:15px;color:#526f5b;font-size:12px}
.erp-signed-bars i{display:block;height:9px;border-radius:5px;background:#edf2ee;overflow:hidden}
.erp-signed-bars i b{height:100%;display:block;border-radius:5px}
.erp-signed-bars strong{font-size:12px;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.erp-chart-reversal{padding:0 24px;margin-bottom:0}
.erp-exception-card{margin-top:20px;border-radius:12px;overflow:hidden}
.erp-exception-card>header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.erp-exception-card h3{display:flex;gap:8px;align-items:center;color:#3b5c44;font-size:15px}
.erp-exception-card p{color:#839187;font-size:11px;line-height:1.8;margin-top:5px}
.erp-overdue-badge{display:inline-block;padding:4px 7px;color:#a75d36;background:#fbf0e3;border-radius:5px;font-size:10px;font-weight:600}
.erp-clear-state{display:flex;align-items:center;gap:10px;padding:18px 24px 28px;color:#7c8f82;font-size:12px}
.erp-sales-detail-summary{display:flex;gap:15px;flex-wrap:wrap;padding:17px 20px;background:#f1f6f2;border-radius:10px}
.erp-sales-detail-summary>span{flex:1;min-width:150px;font-size:11px;color:#718577}
.erp-sales-detail-summary b{display:block;color:#244a30;font-size:22px;margin-top:7px;font-weight:650;font-variant-numeric:tabular-nums}
.modal.wide:has(.erp-sales-detail-table){width:1380px}
.erp-sales-detail-table{min-width:1100px}
.erp-sales-detail-table td{font-size:11px;vertical-align:top}
.erp-sales-detail-table td:nth-child(3){min-width:165px;white-space:normal}
.erp-sales-detail-table th{font-size:10px}
@media(max-width:1100px){.erp-chart-grid-primary,.erp-chart-grid-secondary{grid-template-columns:1fr}.erp-dashboard .erp-balance-chart{justify-content:center;min-height:245px}.erp-dashboard .erp-balance-chart>div{flex:0 1 280px}.erp-structure{justify-content:center}.erp-structure-legend{flex:0 1 300px}.erp-dashboard-metrics .erp-metric strong{font-size:24px}}
@media(max-width:760px){.erp-dashboard .erp-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.erp-dashboard-metrics .erp-metric{padding:16px}.erp-dashboard-metrics .erp-metric strong{font-size:23px}.erp-dashboard-metrics .erp-metric p{font-size:10px}.erp-structure{padding:10px 16px 20px;gap:12px}.erp-structure-legend p{grid-template-columns:7px minmax(30px,1fr);gap:7px;margin:12px 0}.erp-structure-legend b{grid-column:2}.erp-signed-bars{padding:18px;gap:16px}.erp-signed-bars>div{grid-template-columns:80px minmax(30px,1fr) 90px;gap:9px;font-size:11px}.erp-signed-bars strong{font-size:11px}.erp-exception-card>header{padding:18px;align-items:flex-start;flex-direction:column}.erp-dashboard .erp-line-chart{min-height:210px}.erp-sales-detail-summary{padding:15px;gap:12px}.erp-sales-detail-summary b{font-size:19px}}
@media print{body.printing-commercial{margin:0!important;padding:0!important;background:#fff!important}body.printing-commercial> :not(#commercial-print-root){display:none!important}body.printing-commercial #commercial-print-root{display:block!important;page:hehe-commercial-record}body.printing-commercial .erp-print-sheet{margin:0;box-shadow:none}body.printing-commercial .erp-print-sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}body.printing-commercial .erp-table-wrap{overflow:visible}.erp-print-sheet .erp-detail-balance{background:white;color:#222;border:.2mm solid #777}.erp-print-sheet .erp-detail-balance b{color:#111}.erp-print-sheet .erp-warning{background:white;border:.2mm solid #555;color:#111}.erp-print-sheet .erp-tag{background:white;color:#111}}

.erp-order-progress {
  --flow-panel: #f9fbf9;
  --flow-panel-soft: #eef3ef;
  --flow-rim: rgb(255 255 255 / 90%);
  --flow-marker-size: 36px;
  --flow-marker-width: 46px;
  --flow-done: #244a30;
  --flow-done-bg: #e6f1e9;
  --flow-done-line: #a9c8b3;
  --flow-next: #754722;
  --flow-next-bg: #fbf0e4;
  --flow-next-line: #c6986f;
  padding: 18px 14px;
  margin: 20px 0;
  border: 1px solid var(--line, #dbe4de);
  border-radius: 14px;
  background: var(--flow-panel);
}
[data-workspace-theme="dark"] .erp-order-progress {
  --flow-panel: #282b29;
  --flow-panel-soft: #363d38;
  --flow-rim: rgb(255 255 255 / 24%);
  --flow-done: #bbdec6;
  --flow-done-bg: #2c4135;
  --flow-done-line: #6ca285;
  --flow-next: #ffd5aa;
  --flow-next-bg: #47382a;
}
.erp-order-progress h3 { margin: 0; font-size: 16px; color: var(--ink, #242625); }
.erp-order-progress .erp-progress-headline {
  margin: 6px 0 15px;
  color: var(--flow-done);
  font-size: 14px;
  font-weight: 650;
}
.erp-progress-message { margin: 9px 0 0; color: var(--muted, #53665a); font-size: 13px; }
.erp-progress-steps, .erp-progress-finance { padding: 0; list-style: none; }
.erp-progress-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 12px 0 0;
}
.erp-progress-steps > li, .erp-progress-finance > li {
  --flow-state: var(--muted, #53665a);
  --flow-bg: var(--surface-soft, #f2f5f3);
  --flow-line: var(--line, #dbe4de);
  position: relative;
  min-width: 0;
}
.erp-order-progress li[data-progress-status="complete"] {
  --flow-state: var(--flow-done);
  --flow-bg: var(--flow-done-bg);
  --flow-line: var(--flow-done-line);
}
.erp-order-progress li:is([data-progress-status="current"], [data-progress-status="partial"]) {
  --flow-state: var(--flow-next);
  --flow-bg: var(--flow-next-bg);
  --flow-line: var(--flow-next-line);
}
.erp-progress-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 18px calc(-50% + 27px) auto calc(50% + 27px);
  border-top: 1px solid var(--flow-line);
  pointer-events: none;
}
.erp-progress-marker {
  display: grid;
  place-items: center;
  width: var(--flow-marker-width);
  height: var(--flow-marker-size);
  margin: 0 auto 8px;
  color: var(--flow-state);
  background: var(--flow-bg);
  border: 1px solid var(--flow-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.erp-progress-item-copy { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.erp-progress-steps > li > .erp-progress-item-copy, .erp-progress-steps .erp-progress-control {
  padding-inline: 4px;
  text-align: center;
}
.erp-progress-item-copy strong { font-size: 13px; color: var(--ink, #242625); }
.erp-progress-state { color: var(--flow-state); font-size: 12px; font-weight: 650; }
.erp-progress-item-copy small { color: var(--muted, #53665a); font-size: 11px; line-height: 1.45; }
.erp-progress-control {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 0 5px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: transparent;
  text-align: inherit;
  cursor: pointer;
}
.erp-progress-control:hover { background: var(--flow-panel-soft); }
.erp-progress-control:focus-visible { outline: 2px solid var(--flow-done); outline-offset: 2px; }
.erp-progress-control .erp-progress-marker {
  background-image: linear-gradient(165deg, rgb(255 255 255 / 22%), transparent 70%);
  box-shadow: inset 0 1px 0 var(--flow-rim), 0 2px 4px rgb(21 44 31 / 8%);
}
.erp-progress-control:is(:hover, :focus-visible) .erp-progress-marker {
  border-color: var(--flow-state);
}
.erp-progress-finance .erp-progress-control { border-radius: 10px; }
.erp-progress-finance .erp-progress-action {
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid var(--flow-done-line);
  border-radius: 999px;
  background: var(--flow-done-bg);
  box-shadow: inset 0 1px 0 var(--flow-rim);
}
.erp-progress-action { color: var(--flow-done); font-size: 11px; font-weight: 650; }
.erp-progress-control:hover .erp-progress-action { text-decoration: underline; }
.erp-progress-finance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}
.erp-progress-finance > li {
  border: 1px solid var(--line, #dbe4de);
  border-radius: 10px;
}
.erp-progress-finance > li > .erp-progress-item-copy, .erp-progress-finance .erp-progress-control { padding: 11px 13px; }
@media (max-width: 760px) {
  .erp-progress-steps { grid-auto-flow: row; grid-auto-columns: auto; }
  .erp-progress-steps > li, .erp-progress-steps .erp-progress-control {
    display: grid;
    grid-template-columns: var(--flow-marker-width) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }
  .erp-progress-steps > li:has(> .erp-progress-control) { display: block; }
  .erp-progress-steps > li:not(:last-child)::after {
    inset: 39px auto 3px 23px;
    border-top: 0;
    border-left: 1px solid var(--flow-line);
  }
  .erp-progress-steps > li > .erp-progress-item-copy,
  .erp-progress-steps .erp-progress-control { text-align: left; padding-inline: 0; }
  .erp-progress-steps .erp-progress-item-copy { padding-bottom: 13px; }
  .erp-progress-marker { margin: 0; }
}
@media (max-width: 390px) {
  .erp-progress-finance { grid-template-columns: minmax(0, 1fr); }
}
