.correction-overlay{z-index:1500}.correction-dialog{width:min(960px,96vw);max-height:94vh;display:flex;flex-direction:column;padding:0;overflow:hidden}.correction-head,.correction-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 18px;background:#f4f8fb;flex-shrink:0}.correction-head h2{font-size:18px;margin:0}.correction-body{overflow:auto;padding:14px 18px;min-height:0}.correction-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.correction-fields label{display:flex;flex-direction:column;gap:6px}.correction-fields input,.correction-fields select,.correction-fields textarea{width:100%;min-width:0}.correction-reason{grid-column:1/-1}.correction-block{color:#a32424;background:#fff0ed;padding:10px}.correction-body pre{white-space:pre-wrap;overflow-wrap:anywhere}.correction-body p{overflow-wrap:anywhere}@media(max-width:600px){.correction-fields{grid-template-columns:1fr}.correction-head{align-items:flex-start}.correction-dialog{width:98vw;max-height:96vh}.correction-body{padding:12px}.correction-head h2{font-size:16px}}.receivable-detail-scroll{max-height:none;overflow:visible}.receivable-details{table-layout:fixed;width:100%}.receivable-details>thead th,.receivable-details>tbody>tr>td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:7px 6px}.receivable-details>thead th{position:static}.receivable-details button{white-space:normal;max-width:100%}.receivable-product-row>td{background:#f5f8fc}.receivable-products{width:100%;table-layout:fixed;border:1px solid #d9e2eb}.receivable-products th,.receivable-products td{position:static;white-space:normal;overflow-wrap:anywhere;padding:7px 8px;vertical-align:top}.receivable-products th:first-child{width:26%}.receivable-products th:nth-child(2){width:16%}.receivable-products th:nth-child(3){width:16%}.receivable-products caption{text-align:left;padding:6px;font-weight:600}.receivable-products small{white-space:normal}@media(max-width:700px){.receivable-details{font-size:10px}.receivable-details>thead th,.receivable-details>tbody>tr>td{padding:5px 2px}.receivable-products{font-size:11px}.receivable-products th,.receivable-products td{padding:5px 3px}}.quick-returns{min-width:0;max-width:100%}.quick-source{background:#eaf3f7;border-left:4px solid #267e91;padding:12px}.quick-head{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.quick-head label{max-width:260px}.quick-lines{max-height:440px;overflow:auto;margin:12px 0;border:1px solid #cadbe6}.quick-lines table{width:100%;table-layout:fixed;font-size:13px}.quick-lines th{position:sticky;top:0;background:#eaf3f7;z-index:1}.quick-lines td{padding:8px;overflow-wrap:anywhere}.quick-lines input,.quick-lines select{width:100%;min-width:0;max-width:100%}.quick-lines input[type=checkbox]{width:auto}.quick-lines small{display:block;color:#597181}.quick-lines td:first-child{width:20%}.quick-money{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:14px;margin:12px 0;background:#f1f8fb;border:1px solid #d7e2e9}.quick-money label{max-width:340px}.quick-money p,.quick-money h3{flex-basis:100%;margin:4px 0}.quick-records{display:flex;flex-direction:column;gap:8px}.quick-records button{text-align:left;white-space:normal;overflow-wrap:anywhere}.quick-returns .return-detail{overflow-wrap:anywhere}.quick-returns input{max-width:100%}@media(max-width:650px){.quick-head,.quick-money{display:block}.quick-head label,.quick-money label{display:block;max-width:100%;margin:10px 0}.quick-lines{max-height:560px;overflow-x:hidden}.quick-lines table,.quick-lines tbody,.quick-lines tr,.quick-lines td{display:block;width:auto}.quick-lines thead{display:none}.quick-lines tr{padding:10px;border-bottom:2px solid #c0d5e1}.quick-lines td[data-label]:before{content:attr(data-label)"：";display:block;color:#587185}.quick-lines td:first-child{width:auto}.quick-returns .toolbar{flex-wrap:wrap}.quick-returns button{min-height:40px;max-width:100%;white-space:normal}.quick-head .customer-search{max-width:100%;min-width:0}}.quick-returns select{max-width:100%;min-width:0}.quick-money select{display:block;width:100%;text-overflow:ellipsis}.quick-money>*{min-width:0}.quick-records{min-width:0}.quick-returns label{overflow-wrap:anywhere}.quick-records small{display:block;margin-top:4px;color:#536e7a}.returns-page{max-width:100%;min-width:0}.returns-overlay>.dialog{max-height:94vh;overflow:auto}.return-source-scroll{max-height:420px;overflow:auto;border:1px solid #d7e1e8}.return-table{font-size:13px}.return-table td{padding:8px}.return-table small{display:block;color:#657784}.return-draft,.return-detail{background:#f5f9fc;border:1px solid #d3e2eb;border-radius:8px;padding:16px;margin:16px 0}.return-line{padding:12px;margin:10px 0;background:#fff;border:1px solid #dae4ea;border-radius:6px}.return-inputs{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.return-inputs label{max-width:260px}.return-records{display:flex;flex-wrap:wrap;gap:8px}.physical-check{display:block;margin:16px 0}.return-error{color:#a42d2d;white-space:pre-wrap}.return-money{z-index:160}.return-money .dialog{max-height:94vh;overflow:auto}.return-money label{display:block;margin:10px 0}.return-money label input,.return-money label select{max-width:100%}.return-preview{border:2px solid #277b82;background:#f0faf8;padding:12px;margin:12px 0}.return-source-scroll th{position:sticky;top:0;background:#e9f2f7;z-index:1}@media(max-width:650px){.returns-overlay>.dialog{width:100%;padding:12px}.return-source-scroll{max-height:450px;overflow-x:hidden}.return-table,.return-table tbody,.return-table tr,.return-table td{display:block;width:auto;min-width:0}.return-table thead{display:none}.return-table tr{border-bottom:2px solid #c5d8e5;padding:10px}.return-table td{padding:4px;overflow-wrap:anywhere}.return-table td[data-label]:before{content:attr(data-label) "：";color:#506779}.return-inputs{display:block}.return-inputs label{display:block;max-width:100%;margin-bottom:10px}.return-inputs input{max-width:100%;width:100%}.return-inputs input[type=checkbox]{width:auto}.returns-page h1{font-size:24px}.return-draft,.return-detail{padding:10px}.return-records button{max-width:100%;white-space:normal;overflow-wrap:anywhere}}.purchase-editor-overlay{padding:12px}.dialog.purchase-editor{width:min(1280px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(930px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-width:0;padding:16px;display:flex;flex-direction:column;gap:8px;overflow:hidden}.purchase-editor .dialog-title{margin:0;padding-bottom:8px;flex:none}.purchase-editor .toolbar,.purchase-editor .pager{margin:0;gap:8px}.purchase-header{flex:none;flex-wrap:wrap}.purchase-header small{width:100%}.purchase-header select{max-width:250px}.purchase-picker-section,.purchase-selected-section{min-height:0;display:flex;flex-direction:column;gap:5px;flex:1 1 0}.purchase-picker-section{flex:1.15 1 0}.purchase-selected-section h3{font-size:14px;margin:0}.purchase-candidates-scroll,.purchase-lines-scroll{min-height:55px;flex:1 1 0;overflow:auto;overscroll-behavior:contain;max-width:100%}.purchase-editor table{min-width:780px;width:100%}.purchase-editor th,.purchase-editor td{padding:5px 8px;vertical-align:top}.purchase-editor th{position:sticky;top:0;z-index:2;background:#eaf1f7}.purchase-editor .purchase-candidates-scroll td{height:34px}.purchase-lines-scroll input:not([type=checkbox]){width:92px;max-width:100%}.purchase-lines-scroll td:nth-child(2){min-width:235px;max-width:380px;white-space:normal}.purchase-source-warning{margin-top:4px;padding:5px;background:#fff6df;color:#784c00;font-size:12px;line-height:1.5}.purchase-source-warning label{display:block;white-space:normal}.purchase-editor-footer{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:8px;border-top:1px solid #d4deea;font-size:12px}.purchase-editor-footer p{width:100%;margin:0;color:#9c2727;max-height:52px;overflow:auto}.purchase-editor section>p[role=alert]{margin:0;color:#9c2727}.purchase-group{border:1px solid #d5e0eb;border-radius:5px;margin:8px 0;background:#fff;min-width:0}.purchase-group-title{width:100%;display:flex;gap:12px;align-items:center;flex-wrap:wrap;text-align:left;background:#edf4fa;border:0;padding:10px;white-space:normal}.purchase-group>.purchase-groups,.purchase-group>.pending-leaf{padding:0 10px 8px}.purchase-groups{min-width:0}.purchase-groups p,.pending-leaf>p{margin:8px 0}.pending-lines-scroll{overflow:auto;max-width:100%;max-height:520px;overscroll-behavior:contain}.pending-lines-scroll th{position:sticky;top:0;z-index:1}.pending-receive-bar{position:sticky;bottom:0;background:#f7faff;z-index:3;border:1px solid #d5e0eb;padding:10px}.pending-receive-bar p{width:100%;color:#9c2727;margin:0}.purchase-view-toolbar .active{background:#264d89;color:#fff}.pending-selection-note{font-size:12px;color:#54667a}@media(max-width:600px){.dialog.purchase-editor{padding:8px;gap:5px}.purchase-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px;font-size:12px}.purchase-header label{display:flex;flex-direction:column;min-width:0}.purchase-header input,.purchase-header select{width:100%;min-width:0;max-width:100%}.purchase-header small{grid-column:1/-1}.purchase-picker-section>.toolbar{flex-wrap:wrap;gap:4px}.purchase-picker-section>.toolbar input{width:100%}.purchase-picker-section .pager{font-size:11px;gap:4px;flex-wrap:wrap}.purchase-editor .dialog-title h2{font-size:16px}.purchase-editor .pager button{padding:4px}.purchase-editor-footer span{flex:1}.purchase-group>.purchase-groups,.purchase-group>.pending-leaf{padding:0 4px 4px}.purchase-group-title{gap:5px;padding:8px;font-size:12px}.purchase-group-title b{width:100%}.pending-receive-bar{position:static}}.purchase-subgroups{padding:8px;max-height:70vh;overflow:auto;overscroll-behavior:contain}.purchase-subgroup{margin:0 0 18px;background:#fff;min-width:0}.purchase-subgroup-title{background:#24568a;color:#fff;padding:9px 10px;margin:0;font-size:14px;line-height:1.4}.purchase-subgroup .pending-leaf{padding:0 6px 6px}.purchase-subgroup tbody tr,.purchase-subgroup tbody td{background:#fff}.purchase-subgroup tbody tr.selected td{background:#eef6ff}.purchase-subgroup th,.purchase-subgroup td{padding:5px 8px}.purchase-subgroup .pending-lines-scroll{max-height:360px}.purchase-batch-result{background:#eef8f1;border:1px solid #a7cfb0;padding:12px;margin:12px 0}.purchase-batch-result h2{font-size:16px}.advice-summary{display:flex;gap:12px;margin:8px 0}.advice-summary section{flex:1;border:1px solid #d5dee9;border-radius:6px;padding:10px}.advice-summary small{display:block}.advice-table details{max-width:360px}.advice-table small{white-space:normal;overflow-wrap:anywhere}.advice-table td{white-space:normal}.advice-meta{flex-wrap:wrap}@media(max-width:600px){.advice-summary{flex-direction:column}.advice-wrap{overflow:visible}.advice-table{display:block;min-width:0!important;width:100%!important}.advice-table thead{display:none}.advice-table tbody{display:block}.advice-table tr{display:block;border:1px solid #ccd6e0;margin:12px 0;padding:8px;border-radius:6px}.advice-table td{display:flex!important;gap:8px;flex-wrap:wrap;min-width:0!important;width:auto!important;border:0;max-width:100%;padding:5px}.advice-table td:before{content:attr(data-label);font-weight:600;min-width:6em}.advice-table td small,.advice-table td details{width:100%;max-width:100%}.advice-table button{min-height:40px}.advice-meta{display:flex;flex-direction:column;align-items:flex-start}.tabs{flex-wrap:wrap}}:root{font-family:Microsoft YaHei,Segoe UI,sans-serif;color:#223449;background:#f5f7fa;font-size:13px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #cdd7e2;background:#fff;color:#25425e;padding:7px 11px;border-radius:4px;cursor:pointer;text-decoration:none;white-space:nowrap;display:inline-block}button:hover,.button:hover{background:#edf4ff;border-color:#9eb9e3}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#2353a4;color:#fff;border-color:#2353a4}.primary:hover{background:#17458f}input,select{border:1px solid #cbd5df;border-radius:3px;padding:7px;background:#fff;min-width:0;color:#24374c}input[type=checkbox]{width:15px;height:15px;vertical-align:middle;accent-color:#2353a4}label{display:inline-flex;align-items:center;gap:6px}.brand{font-weight:800;font-size:27px;color:#fff;display:flex;align-items:center;gap:12px;letter-spacing:.5px}.brand span{font-size:13px;letter-spacing:1px}.brand b{display:block;font-size:11px;font-weight:400;opacity:.65;margin-top:3px}header{height:64px;background:#172f49;color:#fff;display:flex;align-items:center;gap:20px;padding:0 22px}header .tag{background:#2a425c;border:0;color:#d7e5f3}.account{margin-left:auto}.shell{display:flex;min-height:calc(100vh - 64px)}nav{width:174px;flex-shrink:0;padding:23px 10px;background:#fff;border-right:1px solid #dfe5eb}nav small{color:#8493a3;padding:12px}nav button{display:block;width:100%;margin-top:8px;text-align:left;border:0;padding:11px 13px;background:transparent}nav .active{background:#e8effb;color:#1c4e9e;font-weight:700;border-left:3px solid #2353a4}.nav-note{padding:30px 12px;color:#93a1af;line-height:1.8;font-size:11px}main{flex:1;min-width:0;padding:14px 22px 28px}.titlebar{display:flex;justify-content:space-between;align-items:center;margin:15px 0 10px}.titlebar p{margin:5px 0;color:#6d7d8e;font-size:12px}h1{font-size:22px;margin:0 0 12px;font-weight:650}h2{font-size:17px}h3{font-size:14px}p{line-height:1.7}.notice{padding:9px 12px;background:#edf2f8;color:#526b87;border:1px solid #dce5f0;min-height:36px;display:flex;justify-content:space-between;gap:12px}.notice button{padding:1px 5px}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0}.toolbar input:not([type=checkbox]){max-width:260px}.tag{padding:5px 8px;border:1px solid #d4dee9;border-radius:3px;font-size:11px;background:#f1f5fa}.table-wrap{overflow:auto;max-height:calc(100vh - 330px);background:#fff;border:1px solid #d9e2eb}table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;font-size:12px}th{position:sticky;top:0;background:#edf2f7;z-index:1;color:#344b65;font-weight:600;white-space:nowrap}td,th{padding:9px 10px;border-bottom:1px solid #e1e7ed;border-right:1px solid #e9edf2;text-align:left}tbody tr:nth-child(2n){background:#fafbfd}tbody tr:hover{background:#f0f5fd}tr.selected,tr.selected:nth-child(2n){background:#e7f0ff}.items-table{min-width:1100px}.purchase-table{min-width:1400px}.row-choice{cursor:pointer;min-width:44px;color:#2556a7}.link{padding:0;border:0;background:none;color:#1f58af;white-space:normal;text-align:left;line-height:1.5}.link:hover{background:none;text-decoration:underline}td small{display:block;color:#7d8b9b;font-size:10px;margin-top:4px;white-space:nowrap}td b{font-weight:500}.numeric{font-variant-numeric:tabular-nums;text-align:right}.remaining{font-weight:700;color:#2c5487}.pager{padding:11px 0;display:flex;align-items:center;gap:10px;color:#748399;font-size:12px}.pager input{width:45px}.pager button{padding:5px 8px}.bottom{position:sticky;bottom:0;border-top:1px solid #d5dfeb;background:#f5f7fa;padding:12px 0}.qty{width:90px}.empty{text-align:center;color:#8a97a7;padding:35px}.empty-history{padding:10px 14px;background:#fff;border-left:3px solid #8098b8;margin:8px 0 14px}.empty-history small{margin-left:15px;color:#8b99a8}.tabs{display:flex;border-bottom:1px solid #cdd8e4;gap:5px}.tabs button{border:0;border-radius:0;padding:10px 20px;background:transparent}.tabs .active{border-bottom:3px solid #2353a4;color:#2353a4;font-weight:700}.overlay{position:fixed;inset:0;background:#12294470;display:flex;align-items:center;justify-content:center;z-index:10;padding:24px}.above{z-index:12}.dialog{background:#fff;padding:20px;max-width:850px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 15px 50px #182f4e40;border-radius:6px}.dialog.wide{max-width:1250px}.dialog.small{max-width:500px}.dialog-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dde5ee;margin-bottom:15px;padding-bottom:10px}.dialog-title h2{margin:0}.dialog .table-wrap{max-height:48vh}.dialog>.primary{margin-top:15px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.form-grid label{display:block;color:#5d7187;font-size:12px}.form-grid input,.form-grid select{width:100%;margin-top:6px}.form-grid fieldset{border:0;padding:0;margin:0}.small>label{display:block;margin:15px 0}.small input{display:block;width:100%;margin-top:7px}.grid-table td{padding:3px}.grid-table input{width:125px;border:1px solid transparent;border-radius:0}.grid-table input:focus{border-color:#2353a4}.grid-table th{min-width:120px}.picker{max-height:150px;overflow:auto;display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 14px}.file{display:none}.login{max-width:440px;margin:10vh auto;background:#fff;border:1px solid #d6e0eb;padding:35px;border-radius:8px}.login .brand{color:#234b81;margin-bottom:30px}.login h1{font-size:21px}.login label{display:block;margin:20px 0}.login input{display:block;width:100%;margin-top:6px}.login .primary{width:100%}.login small{color:#8493a3;font-size:11px}.login [role=alert]{color:#a33232}@media(max-width:760px){header{padding:10px;height:auto;gap:10px;flex-wrap:wrap}.brand{font-size:22px}header .tag{display:none}.shell{display:block}nav{width:100%;display:flex;overflow:auto;padding:6px;border-right:0;border-bottom:1px solid #d6dfe9}nav button{width:auto;white-space:nowrap;margin:0}nav small,.nav-note{display:none}main{padding:12px}.titlebar{gap:10px}h1{font-size:20px}.toolbar{gap:6px}.table-wrap{max-height:55vh}.pager{flex-wrap:wrap}.overlay{padding:10px}.dialog{padding:13px}.form-grid{grid-template-columns:1fr}.bottom{position:static}.dialog .table-wrap{max-height:45vh}.account{margin-left:auto}.login{margin:6vh 15px}.dialog input,.dialog select{min-height:35px}}.dialog.document{max-width:1880px;width:98vw}.document-layout{display:flex;gap:14px;align-items:flex-start}.document-lines{min-width:0;flex:1}.document-table{min-width:1000px}.document-table td{padding:6px}.document-table td input{max-width:130px}.document-header input{width:115px}.document-header select{max-width:300px}.price-panel{width:430px;flex-shrink:0;border-left:1px solid #dae3ed;padding-left:14px}.price-panel .table-wrap{max-height:48vh}.price-panel td{padding:7px}.price-panel h3{margin:5px 0}.price-panel p{font-size:11px;color:#687e94}.material-group td{background:#e5edf8;font-weight:600}.warning,.editor-message{color:#9b5c18}.editor-message:empty{display:none}.business-list{min-width:1050px}.document .picker{max-height:95px}.document .bottom{background:#fff}.document input[type=checkbox]{max-width:15px}@media(max-width:1100px){.document-layout{display:block}.price-panel{width:100%;border:0;padding:0;margin-top:16px}.document .table-wrap{max-height:35vh}.document-header{gap:8px}}.price-panel{width:510px}.price-panel table{table-layout:fixed;width:100%}.price-panel th{white-space:normal}.price-panel td{vertical-align:top;overflow-wrap:anywhere}.price-panel td small{white-space:normal;overflow-wrap:anywhere;line-height:1.45}.price-panel th:first-child{width:34%}.price-panel th:last-child{width:36%}.price-panel td:nth-child(2),.price-panel td:nth-child(3){font-variant-numeric:tabular-nums}.price-panel .table-wrap{overflow-x:hidden}@media(max-width:1100px){.price-panel{width:100%}}.document-actions{padding-top:0}.customer-search{display:flex;align-items:flex-start;gap:6px;position:relative}.customer-search>span{padding-top:8px}.customer-control{width:285px;max-width:100%;position:relative}.document-header .customer-control input{width:100%;max-width:100%}.selected-customer{display:block;font-size:10px;max-width:285px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;color:#526b87}.customer-results{position:absolute;top:36px;left:0;width:410px;max-width:calc(100vw - 55px);background:#fff;border:1px solid #a7bbd2;box-shadow:0 7px 22px #172f4933;z-index:5;border-radius:4px}.customer-results [role=listbox]{max-height:240px;overflow:auto}.customer-results [role=option]{display:block;width:100%;border:0;border-radius:0;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:9px 10px}.customer-results [aria-selected=true]{background:#e7f0ff}.customer-results p{padding:8px 12px}.customer-pages{display:flex;justify-content:space-between;align-items:center;padding:6px;border-top:1px solid #d9e2eb;font-size:11px;gap:3px}.customer-pages button{padding:5px}.customer-control input[readonly]{background:#f4f6f9;color:#344b65}.item-picker-overlay{z-index:20}.dialog.item-picker{max-width:1160px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.item-picker .dialog-title{margin-bottom:4px;flex-shrink:0}.item-picker>.toolbar{flex-shrink:0}.item-picker .toolbar input{width:370px;max-width:100%}.item-picker .table-wrap{flex:1;min-height:120px;max-height:55vh}.item-choice-table{table-layout:fixed;min-width:860px}.item-choice-table th:first-child{width:80px}.item-choice-table th:nth-child(2){width:27%}.item-choice-table th:nth-child(3){width:15%}.item-choice-table th:nth-child(4){width:20%}.item-choice-table th:nth-child(5){width:55px}.item-choice-table th{white-space:normal}.item-choice-table td{vertical-align:top;overflow-wrap:anywhere;padding:8px}.item-choice-table td small{white-space:normal;overflow-wrap:anywhere;line-height:1.4;color:#526b87}.picker-footer{flex-shrink:0;display:flex;justify-content:space-between;gap:10px;align-items:center}.picker-footer .toolbar{justify-content:flex-end}.item-picker [role=alert]{margin:5px 0;color:#9b3b28}.document-header{align-items:flex-start}.document-header>label{min-height:35px}.document-header>span{padding-top:8px}@media(max-width:760px){.customer-control{width:265px}.customer-results{width:300px}.item-picker-overlay{padding:8px}.dialog.item-picker{max-height:94vh;padding:12px}.picker-footer{flex-wrap:wrap;gap:0}.picker-footer>.toolbar{width:100%;padding-top:0}.item-picker .table-wrap{max-height:48vh}.item-picker .toolbar{padding:8px 0}.document-actions{gap:5px}.document-actions button{padding:6px 8px}.document-header{padding-top:0}.document .editor-message{margin:8px 0}}.advice-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;padding:8px 0}.advice-wrap{max-height:64vh;overflow:auto}.advice-table{min-width:1020px;width:100%;font-size:12px;table-layout:fixed}.advice-table th{position:sticky;top:0;z-index:1;background:#eef3f7}.advice-table td,.advice-table th{padding:7px 5px;overflow-wrap:anywhere}.advice-table th:first-child{width:38px}.advice-table th:nth-child(2){width:145px}.advice-table th:nth-child(3){width:65px}.advice-table th:nth-child(4){width:90px}.advice-table th:nth-child(5){width:38px}.advice-table th:last-child{width:180px}.advice-table small{font-size:11px}.advice-table button{padding:3px 6px;margin-top:3px}.advice-warning{color:#8b5600}.advice-table td:nth-child(n+6):nth-child(-n+12){text-align:right;font-variant-numeric:tabular-nums}@media(max-width:600px){.advice-meta,.advice-meta span{display:block}}.tabs{max-width:100%;overflow-x:auto;flex-shrink:0}.tabs button{flex-shrink:0}.advice-table td{overflow:hidden;vertical-align:top}.advice-table td small{overflow:hidden;text-overflow:ellipsis}.advice-table small.advice-warning,.advice-table details small{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.finance-overlay{z-index:80}.print-preview{width:100%;height:58vh;border:1px solid #bdc9d0;background:#fff}.finance-table td small{display:block;max-width:260px;white-space:normal}.finance-table td{font-variant-numeric:tabular-nums}.button{display:inline-block;padding:7px;border:1px solid #cad5df;border-radius:4px;background:#fff}.packing-box{border:1px solid #ccd7e4;margin:12px 0;padding:12px;min-width:0}.packing-measures{align-items:end;flex-wrap:wrap}.packing-measures label{display:flex;flex-direction:column;gap:4px}.packing-measures input{width:110px}.packing-lines{table-layout:fixed;min-width:650px}.packing-lines th:nth-child(1){width:80px}.packing-lines th:nth-child(4){width:120px}.packing-lines th:nth-child(6){width:70px}.packing-lines td{overflow-wrap:anywhere}.statement-table{max-height:62vh}.statement-table thead{position:sticky;top:0;z-index:1}.statement-table td:nth-child(n+4){text-align:right}.statement-table small,.packing-lines small{display:block;overflow-wrap:anywhere}.statement-filters{align-items:end;flex-wrap:wrap}.statement-filters label{display:flex;flex-direction:column}.packing-editor{max-width:calc(100vw - 32px);min-width:0}@media(max-width:600px){.packing-editor{padding:10px;max-width:calc(100vw - 12px)}.packing-box{padding:8px}.packing-measures input{width:90px}.statement-filters .customer-search{width:100%}.statement-table{width:100%;max-width:calc(100vw - 32px)}}.dialog.packing-editor{position:relative;display:flex;flex-direction:column;width:96vw;max-width:96vw;height:92dvh;max-height:94dvh;overflow:hidden;padding:0;min-height:0}.packing-fixed{flex:none;padding:12px 18px;border-bottom:1px solid #cbd5e1;background:#fff;z-index:1}.packing-fixed p{margin:5px 0}.packing-fixed .toolbar{margin:5px 0;gap:6px}.packing-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 18px}.packing-body [hidden]{display:none!important}@media(max-width:600px){.dialog.packing-editor{height:92dvh;max-height:94dvh;width:96vw;margin:0}.packing-fixed{padding:6px}.packing-fixed h2{font-size:16px}.packing-fixed p{font-size:11px}.packing-fixed button{padding:5px}.packing-body{padding:6px}.packing-measures label{flex:1 1 90px}}.packing-fixed{display:block;height:auto;color:#24374c}.packing-body .table-wrap{max-height:none}.packing-fixed .dialog-title{margin-bottom:6px;padding-bottom:6px}.packing-fixed [data-testid=packing-source]{overflow-wrap:anywhere}.packing-lines small{white-space:normal;overflow-wrap:anywhere}.stock-table td{vertical-align:top}.stock-table small{white-space:normal;overflow-wrap:anywhere}.document-table select{max-width:220px}.dialog[aria-label=库存操作]>label{display:flex;flex-wrap:wrap;margin:12px 0}.dialog[aria-label=库存操作] input:not([type=checkbox]){max-width:100%}.dialog[aria-label=库存操作] input[type=checkbox]{flex-shrink:0}.customer-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.customer-form label{display:flex;flex-direction:column;gap:5px}.customer-form textarea,.document-contacts textarea{font:inherit;resize:vertical;width:100%;min-height:60px}.document-contacts{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;border:1px solid #cbd5df;background:#f4f8fa;margin:8px 0}.document-contacts>label{display:flex;flex-direction:column;flex:1;min-width:220px}.employee-search{border:1px solid #cbd5df;padding:6px;min-width:220px}.employee-search legend{font-size:12px}.employee-search input,.employee-search select{max-width:270px}.contact-cell{white-space:pre-wrap;overflow-wrap:anywhere;max-width:320px}.import-preview{max-height:52vh}.import-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:430px;font-size:12px}.staff-report .toolbar>label{max-width:100%;flex-wrap:wrap}.staff-report select,.staff-report .table-wrap{max-width:100%}.staff-report td{overflow-wrap:anywhere}.staff-report .customer-search{max-width:100%}.user-cards{display:grid;gap:6px}.user-cards article{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto;align-items:center;gap:12px;padding:10px;border:1px solid #cbd5e1;border-radius:5px}.user-cards small{display:block}.user-fields,.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.user-fields label{display:flex;flex-direction:column;gap:5px}.permission-grid label{padding:7px;border:1px solid #d5dce4;border-radius:4px}.permission-grid small{margin-left:6px;color:#9b4d00}.user-dialog{max-height:90vh;overflow:auto}.user-management pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:700px){.user-cards article{grid-template-columns:1fr}.permission-grid,.user-fields{grid-template-columns:1fr}.user-management input,.user-management select{max-width:100%;min-width:0}.user-management .toolbar{flex-wrap:wrap}.user-dialog{width:calc(100vw - 24px);padding:14px}}.user-fields label{min-width:0;align-items:flex-start}.user-fields input:not([type=checkbox]),.user-fields select{width:100%;max-width:100%}.user-fields input[type=checkbox]{min-height:15px}.user-cards article>*{min-width:0;overflow-wrap:anywhere}.user-dialog p{overflow-wrap:anywhere}@media(max-width:700px){.user-fields,.permission-grid{grid-template-columns:minmax(0,1fr)}.user-dialog input[type=checkbox]{min-height:15px;flex-shrink:0}}.print-dialog{max-width:calc(100vw - 24px)}.print-dialog .toolbar{flex-wrap:wrap}.print-dialog input,.print-dialog textarea{max-width:100%}.print-scroll{max-width:100%;overflow:auto}.print-scroll .print-preview{width:100%;min-width:720px}.commercial-association{padding:10px;border:1px solid #c5d2df;margin:10px 0}.print-dialog a{display:inline-block;padding:4px}.print-dialog .table-wrap{max-width:100%;overflow:auto}@media(max-width:600px){.print-dialog .toolbar label{max-width:100%}.print-dialog .dialog-title h2{font-size:16px}.print-dialog .toolbar button{white-space:normal}.print-dialog{padding:10px}.print-dialog input{min-width:0}}.employee-search{position:relative;min-width:0;max-width:100%;padding:6px}.employee-search label{display:flex;flex-direction:column;gap:5px}.employee-search input{width:100%;max-width:100%;min-width:0}.employee-results{position:relative;background:#fff;border:1px solid #aebdcb;max-height:220px;overflow:auto;z-index:12}.employee-results button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;border-radius:0}.employee-results button[aria-selected=true]{background:#dbeafe}.assignment-dialog{max-height:90vh;overflow:auto}.assignment-dialog fieldset{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.assignment-dialog label{display:flex;flex-direction:column;gap:4px;min-width:0}.assignment-dialog small{display:block}.assignment-dialog article{border-top:1px solid #ccd5de}.staff-create-actions{position:sticky;bottom:0;background:#fff;padding:12px 0}.user-dialog details{margin:12px 0}.user-dialog summary{cursor:pointer;font-weight:600}@media(max-width:700px){.assignment-dialog{width:calc(100vw - 24px);padding:14px}.assignment-dialog fieldset>*{max-width:100%;width:100%}.assignment-dialog input,.assignment-dialog select{max-width:100%;min-width:0}.assignment-dialog .pager{flex-wrap:wrap}.customer-form{grid-template-columns:minmax(0,1fr)}.employee-search{max-width:100%}}.document-profit-summary{display:block;font-size:12px;color:#7a8089;padding:0;line-height:1.6;font-weight:400;flex:0 0 100%}.business-list td.numeric{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.user-table-scroll{max-height:65vh;overflow:auto}.compact-user-table{width:100%;border-collapse:collapse;font-size:13px}.compact-user-table th{position:sticky;top:0;background:#eef3f8;z-index:1}.compact-user-table td,.compact-user-table th{padding:7px 9px;text-align:left;border-bottom:1px solid #dce3eb}.compact-user-table td button{padding:3px 7px;margin:2px;font-size:12px}.compact-user-table small{color:#738196;white-space:nowrap}.compact-user-table td:last-child{min-width:320px}@media(min-width:761px){.items-table td,.items-table th{padding:5px 8px;line-height:1.3;white-space:nowrap}.items-table td small{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:10px}.items-table .row-choice{min-height:28px}.items-table .link{display:block;max-width:220px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 0}}.document-party-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(200px,.7fr) minmax(0,1.35fr);gap:14px;align-items:start;border:1px solid #cbd5df;background:#f4f8fa;padding:10px 12px;margin:8px 0}.document-party-row>*{min-width:0}.document-party-contact{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.document-party-row small{display:block;color:#687e94;margin-top:4px}.document-party-row .employee-search{border:0;padding:0}.quote-bank-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}.quote-bank-compact label{display:flex;flex-direction:column;gap:5px;min-width:0}.quote-bank-compact select{width:100%;max-width:100%;min-width:0}.quote-bank-compact small,.quote-bank-compact p{grid-column:1/-1;margin:0}.history-price{margin:4px 0 8px}.history-cny,.history-cny strong,.history-tax{font-size:14px;line-height:1.5}.history-tax{color:#596c7e}.history-foreign{font-size:12px;line-height:1.5}.group-history:not(:has(strong)){display:none}.group-history{padding:7px;background:#f4f8fa;border:1px solid #dae3ed}.group-history>.history-price{display:inline-block;margin:4px 14px 4px 0}.group-history>strong{display:block;font-size:12px}@media(max-width:800px){.document-party-row{grid-template-columns:minmax(0,1fr)}.quote-bank-compact{grid-template-columns:minmax(0,1fr) auto}.document-party-row button{max-width:100%;white-space:normal}.document-party-row .employee-search{width:100%}}.material-reference .material-group button{width:100%;text-align:left;white-space:normal;font-weight:700}.material-reference tbody[hidden],#partner-menu[hidden]{display:none}.partner-nav>button,.partner-nav #partner-menu button{width:100%;text-align:left}.partner-nav #partner-menu{padding-left:14px}.partner-nav #partner-menu button{font-size:13px}.material-reference{scroll-behavior:auto}@media(max-width:760px){.partner-nav{flex:none;min-width:130px}.partner-nav #partner-menu{padding-left:8px}}.remember-device{display:flex!important;align-items:center;gap:8px}.remember-device input{width:auto!important}.login form>small{display:block;margin:8px 0 16px;color:#64748b}.device-table{overflow-x:auto}.device-table table{min-width:600px}@media(max-width:600px){.device-table table{min-width:0;width:100%}.device-table thead{display:none}.device-table tbody,.device-table tr{display:block}.device-table tr{border:1px solid #d8e2ec;margin-bottom:12px;padding:8px}.device-table td{display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:normal;border:0;padding:6px 0;text-align:right}.device-table td:before{content:attr(data-label);color:#64748b;flex-shrink:0;font-size:12px}.device-table td button{min-height:40px}}.item-choice-table .picker-group-heading th{position:static;text-align:left;padding:5px 8px;background:#e8eff7;color:#284865;font-size:12px;white-space:normal;width:auto;overflow-wrap:anywhere}.picker-filters{display:flex;flex-wrap:wrap;gap:8px}.item-picker .picker-filters>input{flex:1 1 220px;min-width:160px;width:auto}.picker-filters label{display:flex;align-items:center;gap:4px;min-width:0}.picker-filters select{max-width:190px;min-width:120px}.picker-hint{font-size:12px;color:#526b87;margin:4px 0}.picker-selections{display:flex;gap:5px;flex-wrap:wrap;max-height:64px;overflow:auto;flex-shrink:0;margin:4px 0}.picker-selections button{font-size:11px;padding:3px 6px}.material-reference tr[data-active-reference=true]{background:#dcecff;box-shadow:inset 3px 0 #3269a8}.document-table input[data-grid-field]:focus{outline:2px solid #3974bb;outline-offset:-1px}@media(max-width:600px){.picker-filters label{flex:1 1 145px}.picker-filters select{min-width:0;max-width:100%;flex:1}.picker-filters>span{width:100%}}.packing-unpacked{position:absolute;z-index:5;right:18px;bottom:18px;width:min(850px,calc(100% - 36px));display:flex;flex-direction:column;min-height:0;max-height:min(55vh,460px);padding:12px;background:#fff;border:1px solid #cbd5e1;box-shadow:0 4px 24px #0003;border-radius:6px}.packing-summary-close{align-self:flex-end}.packing-unpacked h3{flex:none;font-size:14px;margin:6px 0}.packing-unpacked small{font-size:11px;color:#64748b}.packing-unpacked-scroll{flex:1;min-height:0;max-height:min(300px,40vh);overflow:auto;overscroll-behavior:contain}.packing-unpacked table{width:100%;table-layout:fixed}.packing-unpacked th{position:sticky;top:0;background:#eef3f8;z-index:1}.packing-unpacked td{overflow-wrap:anywhere}.packing-unpacked td:nth-child(3){text-align:right}.packing-search-results{max-height:min(180px,20vh);overflow:auto;border:1px solid #cbd5e1}.packing-search-results table{width:100%}.packing-search-results thead{position:sticky;top:0;background:#f1f5f9;z-index:1}.packing-search-hit>td{background:#fff1a8!important;box-shadow:inset 0 2px #d99a00,inset 0 -2px #d99a00}.packing-search-results button{padding:2px 8px}.packing-dimension-errors{border:1px solid #c2413b;background:#fff7f6;padding:6px 10px;flex:none}.packing-dimension-errors p{font-size:12px;margin:3px 0}.packing-dimension-scroll{max-height:min(140px,17vh);overflow:auto}.packing-dimension-scroll table{width:100%}.packing-dimension-scroll th{position:sticky;top:0;background:#fff1ef}.packing-dimension-scroll td{padding:3px 8px}.packing-dimension-scroll button{padding:2px 8px;color:#a11}.packing-measures input[aria-invalid=true]{border:2px solid #d12828;background:#fff1ef;box-shadow:0 0 0 1px #d12828}.packing-measures input[aria-invalid=true]:focus{outline:2px solid #ac1717;outline-offset:2px}
