/* Isolated UI review tokens and presentation overrides. No production imports. */
.preview-host{--preview-top:64px;padding-top:var(--preview-top)!important}
#previewBar{position:fixed;inset:0 0 auto;z-index:300;height:64px;display:flex;align-items:center;gap:20px;padding:0 22px;background:#152b48;color:#fff;font:12px/1.4 "Microsoft YaHei",sans-serif;box-shadow:0 1px 6px #172c481a}
.preview-brand{display:grid;grid-template-columns:8px auto;column-gap:9px;align-items:center;flex-shrink:0}
.preview-brand b{font-size:14px}.preview-brand small{font-size:10px;color:#a7c2e6;margin-left:4px}
.preview-dot{width:7px;height:7px;border-radius:50%;background:#66d9b1}
#previewTime{grid-column:2;color:#b8c8dc;font-size:10px;margin-top:3px}
#previewBar nav{display:flex;gap:4px;flex-shrink:0}
#previewBar button,#previewBar a{font:inherit;color:#c6d5e9;background:none;border:0;padding:9px 10px;border-radius:6px;white-space:nowrap;text-decoration:none;cursor:pointer}
#previewBar button[aria-current=true]{background:#fff;color:#1d4ed8;font-weight:700}
#previewBar button:hover,#previewBar a:hover{background:#294261;color:white}
#previewBar .preview-tools{margin-left:auto;display:flex;gap:5px;align-items:center;min-width:0}
#previewBar select{background:#213b5b;border:1px solid #3a526f;color:#e8f0fc;max-width:218px;width:218px;padding:8px;border-radius:6px;min-height:34px;font:inherit}
.preview-host .sidebar{top:var(--preview-top)!important;height:calc(100dvh - var(--preview-top))!important}
.preview-host .workspace-bar{top:var(--preview-top)!important}
.preview-host .startup-gate{top:var(--preview-top)}
.review-notes{font-size:14px;line-height:1.8}.review-notes li{margin-bottom:12px}
.ui-review{--review-ink:#1c2d43;--review-muted:#6f7e92;--review-line:#e2e8f0;--review-blue:#245fe5;--review-soft:#f6f8fb;--review-sidebar:184px;color:var(--review-ink);background:#f4f6f9;font-family:"Microsoft YaHei","Segoe UI",sans-serif}
.ui-review .sidebar{width:var(--review-sidebar);background:#fff;border-right:1px solid var(--review-line);padding:18px 10px 10px}
.ui-review .app-shell{grid-template-columns:var(--review-sidebar) minmax(0,1fr)}
.ui-review .main{margin-left:0;width:100%;background:#f4f6f9}
.ui-review .brand{padding:0 10px 20px;gap:10px}.ui-review .brand-mark{width:34px;height:34px;border-radius:10px}
.ui-review .brand strong{font-size:16px}.ui-review .brand small{font-size:10px;color:#8895a6}
.ui-review .nav-item{min-height:39px;font-size:13px;padding:9px 12px;border-radius:7px;gap:10px;margin-bottom:3px}
.ui-review .business-nav-group{padding:4px 0}.ui-review .business-nav-children .nav-item{padding-left:39px;min-height:34px;font-size:12px}
.ui-review .nav-major{margin-top:5px!important;padding-top:10px!important;border-top:0!important}
.ui-review .nav-item.active{background:#edf3ff;border-color:transparent;color:#235fe5;box-shadow:none}
.ui-review .sidebar-bottom{padding-top:10px}.ui-review .user-card{padding:9px;font-size:12px}
.ui-review .workspace-bar{min-height:42px;background:#fff}.ui-review .workspace-bar #workspaceTabs.workspace-tabs{background:#f4f6f9;gap:4px}
.ui-review .workspace-bar .workspace-tab-wrap{max-width:175px}.ui-review .workspace-bar .workspace-tab-wrap.active{box-shadow:none;border:1px solid #e2e8f0;border-bottom:0}
.ui-review #content.content{width:100%;max-width:none;margin:0;padding:22px 24px 90px}
.ui-review .page-header{margin-bottom:18px;gap:16px;align-items:center;min-height:0}
.ui-review .page-header h1,.ui-review .page-header h2{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin:0 0 5px;font-weight:700}
.ui-review .page-header p{font-size:12px;color:#758397;margin:0}
.ui-review button{transition:background-color .12s,color .12s,border-color .12s}
.ui-review button:disabled{opacity:.48;cursor:not-allowed}
.ui-review .primary-btn{background:#245fe5;border-color:#245fe5;box-shadow:none;color:#fff}
.ui-review .outline-btn,.ui-review .ghost-btn{background:#fff;border:1px solid #dbe3ed;color:#44546b;box-shadow:none}
.ui-review .primary-btn,.ui-review .outline-btn,.ui-review .ghost-btn{min-height:36px;padding:8px 14px;border-radius:7px;font-size:12px;font-weight:600;line-height:18px}
.ui-review button:focus-visible,.ui-review summary:focus-visible{outline:2px solid #245fe5;outline-offset:3px}
.ui-review input:focus,.ui-review select:focus,.ui-review textarea:focus{outline:none;border-color:#80a6ff!important;box-shadow:0 0 0 3px #245fe50e!important}
.ui-review #orderForm label,.ui-review #productionSheetFormV4 label,.ui-review #purchaseSheetV23 label{font-size:12px;font-weight:500;color:#526177;min-width:0;gap:7px}
.ui-review #orderForm :is(input,select,textarea),.ui-review #productionSheetFormV4 :is(input,select,textarea),.ui-review #purchaseSheetV23 :is(input,select,textarea){font:13px/1.4 "Microsoft YaHei",sans-serif;color:#23364f;border:1px solid #dce3ed;border-radius:6px;background:#fff;min-height:38px;padding:8px 10px;min-width:0;box-shadow:none}
.ui-review input::placeholder,.ui-review textarea::placeholder{color:#9aa5b4;font-size:12px}
.ui-review input[readonly],.ui-review input:disabled{background:#f6f8fb!important;color:#65768c!important}
.ui-review :is(input[type=checkbox],input[type=radio]){min-height:0!important;width:16px;height:16px;accent-color:#245fe5}
.ui-review .review-section,.ui-review .draft-section,.ui-review .production-block-v4{background:#fff;border:1px solid var(--review-line);border-radius:11px;box-shadow:0 2px 5px #20385402;margin:0 0 16px;overflow:visible}
.ui-review .review-section h2,.ui-review .review-form-heading{font-size:14px;margin:0;padding:16px 18px 0;color:#24364e;font-weight:700}
.ui-review .draft-section-title,.ui-review .production-block-head-v4{min-height:0;background:#fff;border-bottom:1px solid #edf0f5;padding:13px 18px;border-radius:11px 11px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ui-review .draft-section-title b,.ui-review .production-block-head-v4 h2{font-size:14px;margin:0}
.ui-review .review-quiet-help{display:none!important}
.ui-review .review-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:16px 18px}
.ui-review .review-field-grid label{display:flex;flex-direction:column}.ui-review .review-field-grid .span-2,.ui-review .review-field-grid .wide{grid-column:span 2}
.ui-review .review-fold{background:#fff;border:1px solid var(--review-line);border-radius:9px;margin:0 0 12px;overflow:hidden}
.ui-review .review-fold>summary{padding:13px 17px;cursor:pointer;color:#51647d;font-size:12px;font-weight:600;list-style:none;display:flex;align-items:center;gap:9px}
.ui-review .review-fold>summary:before{content:'›';font-size:18px;line-height:16px;color:#8293a9;transition:transform .15s}
.ui-review .review-fold[open]>summary:before{transform:rotate(90deg)}
.ui-review .review-fold[open]>summary{border-bottom:1px solid #edf0f5;background:#fafbfd}
.ui-review .review-fold>section,.ui-review .review-fold>.production-source-card-v411,.ui-review .review-fold>.cost-confirmation{margin:0;border:0;box-shadow:none;border-radius:0}
.ui-review .review-fold .draft-section-title{display:none}
.ui-review .review-savebar{position:sticky!important;bottom:0;z-index:24;background:#fff!important;border:1px solid #dce4ef!important;box-shadow:0 -5px 18px #20385408!important;border-radius:10px!important;display:flex!important;align-items:center;justify-content:flex-end;gap:10px;padding:12px 16px!important;margin:20px 0 0!important;min-height:64px;width:100%}
.ui-review .review-savebar>span:first-child{margin-right:auto;max-width:45%;font-size:11px;color:#8693a4}
.ui-review .review-savebar>div:has(button){display:flex;gap:8px;align-items:center}
.ui-review .review-live-total{display:flex;gap:12px;align-items:center;margin-right:auto}
.ui-review .review-live-total span{font-size:12px;color:#6b7c91}.ui-review .review-live-total b{font-size:22px;color:#203755;font-variant-numeric:tabular-nums}
.ui-review .review-savebar>.review-live-total+span{display:none}
/* Sales: one concise customer block, then the product work area. */
.ui-review .full-order-surface{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ui-review .full-order-surface>.modal-head{display:none!important}
.ui-review #orderForm{padding:0!important}
.ui-review #orderForm .order-form-grid{display:grid!important;grid-template-columns:2fr 1fr 1fr 1fr!important;gap:16px!important;padding:17px 18px!important}
.ui-review #orderForm .order-form-grid label{grid-column:auto!important;display:flex!important;flex-direction:column}
.ui-review #orderForm .order-form-grid input,.ui-review #orderForm .order-form-grid select{height:39px!important}
.ui-review #orderForm .order-form-grid .customer-link-state{font-size:10px;line-height:1.5}
.ui-review #orderForm .order-more-toggle,.ui-review #orderForm .simple-entry-progress,.ui-review .order-entry-guide{display:none!important}
.ui-review #orderForm .customer-product-history{margin:12px 16px;padding:10px 13px;background:#f8faff;border:1px solid #e7edf7;border-radius:7px}
.ui-review #orderForm .customer-product-history small{font-size:10px}
.ui-review #orderForm .draft-items{padding:0!important}
.ui-review #orderForm .draft-sheet-scroll{border:0;border-radius:0;overflow-x:auto}
.ui-review #orderForm .draft-sheet{min-width:1000px!important}
.ui-review #orderForm .draft-sheet-head,.ui-review #orderForm .draft-sheet-row{display:grid!important;grid-template-columns:26px 80px minmax(155px,1.5fr) 135px 90px 80px 70px 110px minmax(120px,1.1fr) 54px!important;gap:10px!important;padding:12px 14px!important}
.ui-review #orderForm .draft-sheet-head{min-height:42px!important;background:#f7f9fc;font-size:11px;color:#6b7c91;font-weight:500}
.ui-review #orderForm .draft-sheet-head>:nth-child(3),.ui-review #orderForm .draft-sheet-head>:nth-child(6),.ui-review #orderForm .review-sale-col-2,.ui-review #orderForm .review-sale-col-5{display:none!important}
.ui-review #orderForm .draft-sheet-row{min-height:106px!important;background:#fff;border-top:1px solid #edf0f5;align-items:center}
.ui-review #orderForm .draft-sheet-row:nth-child(odd){background:#fcfdff}
.ui-review #orderForm .draft-sheet-row>div{min-width:0}
.ui-review #orderForm .draft-sheet-row input,.ui-review #orderForm .draft-sheet-row select{border:1px solid #e1e7ef!important;background:#fff!important;width:100%;padding:7px 8px;min-height:35px;height:35px;font-size:12px}
.ui-review #orderForm .simple-draft-fields{display:contents!important}
.ui-review #orderForm .review-sale-col-3,.ui-review #orderForm .review-sale-col-4{display:flex;flex-direction:column;gap:6px}
.ui-review #orderForm .draft-sheet-row label{font-size:0!important;display:block;margin:0!important;padding:0!important}
.ui-review #orderForm .draft-sheet-row label input,.ui-review #orderForm .draft-sheet-row label select{margin:0!important}
.ui-review #orderForm .review-sale-col-3>label:last-child select,.ui-review #orderForm .review-sale-col-4>label:last-child input{height:38px;min-height:38px;font-size:13px;line-height:20px;padding:8px 10px;color:#526177;background:#fff!important;box-sizing:border-box}
.ui-review #orderForm .draft-photo{width:62px!important;height:62px!important;min-height:62px!important;border-radius:8px;padding:0!important}
.ui-review #orderForm .draft-photo img{max-width:100%;height:100%;object-fit:contain}
.ui-review #orderForm .customer-product-history{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ui-review #orderForm .customer-product-history>.review-fold{flex-basis:100%;margin:0;border:0;background:#f8faff}
.ui-review #orderForm .customer-product-history>.review-fold>summary{padding:4px 0;font-size:10px}
.ui-review #orderForm .review-sale-col-3>select,.ui-review #orderForm .review-sale-col-4>input:last-child{font-size:11px;color:#7f8da1!important;min-height:29px;height:29px;background:#fafbfd!important}
.ui-review #orderForm .draft-image-box,.ui-review #orderForm .draft-image,.ui-review #orderForm .draft-image-placeholder{width:62px!important;height:62px!important;min-height:62px!important;border-radius:8px;margin:0 auto}
.ui-review #orderForm .draft-image-box img,.ui-review #orderForm .draft-image img{width:100%;height:100%;object-fit:contain}
.ui-review #orderForm .draft-sheet-head>:nth-child(2){text-align:center}
.ui-review #orderForm .draft-sheet-head>:nth-child(10){text-align:right;padding-right:10px}
.ui-review #orderForm .review-sale-col-9{width:100%;align-self:center}
.ui-review #orderForm .review-sale-col-9 .draft-line-total{display:flex;align-items:center;justify-content:flex-end;width:100%;height:38px;padding:0 10px;margin:0;box-sizing:border-box;font-size:13px;line-height:20px;font-variant-numeric:tabular-nums;white-space:nowrap;background:transparent}
.ui-review #orderForm .draft-sheet-row>.draft-photo-wrap{position:relative!important;display:flex;align-items:center;justify-content:center;align-self:center;width:72px!important;height:72px!important;margin:0 auto;gap:0}
.ui-review #orderForm .draft-sheet-row .draft-photo{display:flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:72px!important;height:72px!important;min-height:72px!important;box-sizing:border-box;font-size:12px!important;line-height:1.3!important}
.ui-review #orderForm .draft-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;line-height:1.3}
.ui-review #orderForm .draft-sheet-row .draft-photo-empty i{display:grid;place-items:center;margin:0!important;width:28px;height:28px;line-height:1;font-size:22px}
.ui-review #orderForm .draft-sheet-row .draft-photo-empty b{font-size:11px;line-height:14px}
.ui-review .review-field-section{margin:0;border-top:1px solid #edf0f5;background:#fff}
.ui-review .review-field-section>h3{margin:0;padding:14px 18px 0;color:#526177;font-size:12px;font-weight:600}
.ui-review #orderForm .draft-footer-grid{display:grid;grid-template-columns:1fr 330px;gap:20px;margin:16px 0}
.ui-review #orderForm .draft-summary{border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:14px 18px;gap:7px}
.ui-review #orderForm .draft-summary>div{font-size:12px;padding:4px 0}
.ui-review #orderForm .draft-summary .draft-grand-total{border-top:1px solid #e5ebf3;margin-top:5px;padding-top:10px}
.ui-review #orderForm .payment-tax-settings{padding:13px 18px;margin:0;background:#fafbfd;border-bottom:1px solid #edf0f5}
.ui-review #orderForm .payment-form-grid,.ui-review #orderForm .production-requirement-grid{padding:16px 18px;gap:14px 18px}
/* Production: concise context and a consistent entry grid. */
.ui-review .production-sheet-v4{max-width:none}.ui-review .production-sheet-head-v4{background:transparent;border:0;padding:0;margin:0 0 18px;box-shadow:none}
.ui-review .production-sheet-title-v4 h1{font-size:24px}.ui-review .production-sheet-title-v4 small{font-size:11px;color:#7e8ca0}.ui-review .production-sheet-title-v4 p{font-size:12px;margin-top:5px}
.ui-review .production-sheet-mark-v4{width:42px;height:42px;border-radius:10px;background:#edf3ff;color:#245fe5;font-size:20px;flex:0 0 42px}
.ui-review .production-sheet-actions-v4:has(#v4SaveProduction),.ui-review .production-lock-v4.editing,.ui-review .production-entry-guide-v411{display:none!important}
.ui-review .production-source-stats-v411{padding:10px 14px}.ui-review .production-source-heading-v411{padding:12px 16px}
.ui-review .production-meta-grid-v4{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:16px 18px!important;gap:15px!important}
.ui-review .production-meta-grid-v4>label{display:flex;flex-direction:column}
.ui-review .production-plan-note-v411{padding:9px 16px;margin:0;background:#f7faff;border:0;border-radius:0;font-size:11px;color:#698099}
.ui-review .production-plan-note-v411 b{font-size:11px}.ui-review .production-plan-note-v411 span{font-size:11px}
.ui-review .production-entry-wrap-v4{padding:0;overflow:auto}.ui-review .production-entry-table-v4{min-width:930px;width:100%}
.ui-review .production-entry-table-v4 th{font-size:11px;padding:11px 10px;background:#f7f9fc;color:#6f8096;font-weight:500}
.ui-review .production-entry-table-v4 td{padding:13px 9px;border-color:#edf0f5}
.ui-review .production-entry-table-v4 td:first-child{width:30px}.ui-review .production-entry-table-v4 td:nth-child(2){width:86px}
.ui-review .production-entry-table-v4 :is(input,select){font-size:12px!important;padding:7px 8px!important;min-height:35px!important}
.ui-review .production-entry-table-v4 td:nth-child(3){min-width:160px}.ui-review .production-entry-table-v4 td:nth-child(4){min-width:120px}.ui-review .production-entry-table-v4 td:nth-child(5){min-width:110px}
.ui-review .production-requirements-v4{padding:16px 18px;gap:18px}.ui-review .production-requirements-v4 textarea{min-height:85px}
.ui-review .production-sheet-summary-v4{background:#fafbfd;padding:11px 16px;font-size:12px}
/* Purchase: remove nesting, align metadata, preserve all accounting controls. */
.ui-review .purchase-entry-tab-page>.panel,.ui-review .purchase-entry-tab-page .purchase-entry-tab-card,.ui-review .purchase-entry-tab-page #purchaseSheetV23{background:transparent;border:0;padding:0;box-shadow:none}
.ui-review #purchaseSheetV23{background:#fff!important;border:1px solid var(--review-line)!important;border-radius:11px;overflow:visible}
.ui-review #purchaseSheetV23 .purchase-sheet-head-v23{display:grid;grid-template-columns:1.2fr 1fr 1fr!important;gap:15px 18px;padding:15px 18px 18px;margin:0!important}
.ui-review #purchaseSheetV23 .purchase-sheet-head-v23>label{display:flex;flex-direction:column;grid-column:auto!important}
.ui-review #purchaseSheetV23 .procurement-entry-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 18px;padding:15px 18px 18px;margin:0;border-bottom:1px solid #edf0f5}
.ui-review #purchaseSheetV23 .procurement-entry-meta>label{display:flex;flex-direction:column;grid-column:auto!important}
.ui-review #purchaseSheetV23 .procurement-entry-meta>label[hidden]{display:none!important}
.ui-review #purchaseSheetV23 .review-term-help{font-size:10px;line-height:1.4;color:#7890aa;margin:0}
.ui-review #purchaseSheetV23 .purchase-entry-v5{border:0;border-top:1px solid #edf0f5;border-radius:0 0 11px 11px;background:#fff;padding:0;margin:0}
.ui-review #purchaseSheetV23 .purchase-entry-heading{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0;padding:14px 18px;background:#fff;border:0}
.ui-review #purchaseSheetV23 .purchase-entry-heading>div{margin-right:auto}.ui-review #purchaseSheetV23 .purchase-entry-heading b{font-size:14px}
.ui-review .purchase-entry-list{overflow:visible}.ui-review .purchase-entry-scroll{overflow:auto;border-radius:0;border:0}
.ui-review #purchaseSheetV23 .purchase-entry-table{min-width:1110px!important;table-layout:fixed;border:0}
.ui-review #purchaseSheetV23 .purchase-entry-table th{padding:11px 7px;font-size:11px;font-weight:500;color:#6f8096;background:#f7f9fc;border-bottom:1px solid #e8edf4}
.ui-review #purchaseSheetV23 .purchase-entry-table td{padding:13px 7px;font-size:12px;border-color:#edf0f5;background:#fff;vertical-align:top}
.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(1){width:34px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(2){width:112px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(3){width:62px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(4){width:180px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(5){width:112px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(6){width:65px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(7){width:82px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(8){width:79px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(9){width:72px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(10){width:90px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(11){width:120px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(12){width:102px}.ui-review #purchaseSheetV23 .purchase-entry-table th:nth-child(13){width:50px}
.ui-review #purchaseSheetV23 .purchase-entry-table :is(input,select){width:100%;min-height:36px;height:36px;font-size:12px;padding:7px}
.ui-review #purchaseSheetV23 .purchase-entry-table [data-field=amount]{font-weight:700;color:#245fe5!important;background:#f3f7ff!important;font-variant-numeric:tabular-nums}
.ui-review .purchase-entry-table .review-fold{margin:6px 0 0;border:0;border-radius:4px;background:#f7f9fc}.ui-review .purchase-entry-table .review-fold summary{font-size:10px;padding:5px 7px}.ui-review .purchase-entry-table .review-fold small{padding:6px;font-size:10px}
.ui-review .purchase-entry-total{padding:15px 18px;margin:0;border-top:1px solid #edf0f5;gap:16px;background:#fafbfd;border-radius:0 0 11px 11px;font-size:12px}
.ui-review .purchase-entry-total b{font-size:23px;letter-spacing:-.3px}
.ui-review #purchaseSheetV23 .procurement-cash-panel:not([hidden]){margin:0 18px 16px;padding:12px 14px;border-radius:7px;font-size:11px;line-height:1.6;background:#f5f9ff;border:1px solid #e0eaff}
.ui-review .purchase-entry-hint{padding:12px 16px;font-size:11px;margin:0}.ui-review .purchase-entry-v5>.review-fold,.ui-review .purchase-entry-list>.review-fold{margin:0;border:0;border-top:1px solid #edf0f5;border-radius:0}
/* Sales detail: one next-action strip, secondary context collapsed. */
.ui-review .sales-order-head{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:11px;margin-bottom:14px}
.ui-review .sales-order-title h1{font-size:24px}.ui-review .sales-order-title p{font-size:12px}
.ui-review .sales-order-mark,.ui-review .sales-order-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#edf3ff;color:#245fe5;font-size:20px;flex:0 0 42px}
.ui-review .order-next-actions{padding:14px 18px;margin:14px 0;background:#f1f6ff;border:1px solid #dce7ff;display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:9px}
.ui-review .order-next-copy{flex:1}.ui-review .order-next-copy small{display:none}.ui-review .order-next-copy b{font-size:14px}.ui-review .order-next-copy span{font-size:11px;margin-top:5px}
.ui-review .order-next-buttons{display:flex;gap:8px;justify-content:flex-end;flex:0 0 auto;margin:0}
.ui-review .cost-confirmation{padding:14px 18px;background:#fffaf0;font-size:12px}.ui-review .cost-confirmation small{font-size:11px}
.ui-review .sales-order-section-tabs button.active{outline:0;border:1px solid #b7cef9;box-shadow:none;background:#eef4ff}
.ui-review .page-head{margin-bottom:18px;min-height:0}.ui-review .page-head h1{font-size:24px;margin:0 0 5px}.ui-review .page-head p{font-size:12px;margin:0}
.ui-review .production-block-v4>.review-fold{border:0;border-top:1px solid #edf0f5;border-radius:0;margin:0}
.ui-review .purchase-entry-tab-panel{border:0;background:transparent;box-shadow:none;padding:0}
.ui-review .review-save-status{display:block;margin:12px 2px 0;font-size:11px!important}
.ui-review .review-fold>#historicalEntryNote{display:block;margin:0;padding:10px 18px;background:#fffaf0;border:0;border-radius:0}
@media(max-width:1250px){#previewBar{gap:12px;padding:0 12px}.preview-brand #previewTime{max-width:150px}#previewBar select{width:160px}#previewBar nav button{padding:9px 8px}.ui-review{--review-sidebar:164px}.ui-review #content.content{padding:18px 16px 86px}}
@media(max-width:760px){
 .preview-host{--preview-top:110px}
 #previewBar{height:110px;display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:10px 12px}
 #previewBar .preview-brand{grid-column:1}.preview-brand #previewTime{max-width:none;font-size:9px}
 #previewBar nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:3px}
 #previewBar nav button{flex:1;font-size:12px;padding:9px 7px;min-height:36px}
 #previewBar .preview-tools{grid-row:1;grid-column:2;gap:0}#previewBar .preview-tools select{display:none}#previewBar .preview-tools a{display:none}#previewBar .preview-tools button{padding:8px 4px;font-size:11px}
 .ui-review .main{margin-left:0!important;width:100%!important}.ui-review .sidebar{width:230px}
 .ui-review #content.content{padding:16px 12px 95px}.ui-review .page-header{margin-bottom:14px;gap:10px;align-items:flex-start}
 .ui-review .page-header h1,.ui-review .page-header h2{font-size:20px;overflow-wrap:anywhere}.ui-review .page-header p{font-size:11px;line-height:1.5}
 .ui-review #orderForm .order-form-grid,.ui-review .production-meta-grid-v4,.ui-review #purchaseSheetV23 .purchase-sheet-head-v23,.ui-review #purchaseSheetV23 .procurement-entry-meta,.ui-review .review-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px!important;gap:13px 12px!important}
 .ui-review #orderForm .order-form-grid .customer-picker-field{grid-column:1/-1!important}
 .ui-review #orderForm :is(input,select,textarea),.ui-review #productionSheetFormV4 :is(input,select,textarea),.ui-review #purchaseSheetV23 :is(input,select,textarea){min-height:42px;font-size:14px!important}
 .ui-review .review-field-grid .wide,.ui-review .review-field-grid .span-2{grid-column:1/-1}
 .ui-review .draft-section-title,.ui-review .production-block-head-v4{padding:12px 14px}
 .ui-review .review-savebar{position:fixed!important;bottom:0!important;left:0!important;right:0!important;border-radius:0!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;min-height:66px;z-index:35;width:auto!important;max-width:100vw!important;box-sizing:border-box;gap:8px;flex-wrap:nowrap!important;transform:none!important}
 .ui-review .review-savebar>span:first-child,.ui-review .review-savebar .entry-autosave-status{display:none!important}
 .ui-review .review-live-total{display:block;flex:1}.ui-review .review-live-total span{display:block;font-size:10px}.ui-review .review-live-total b{font-size:18px}
 .ui-review .review-savebar button{min-height:42px;font-size:12px;padding:8px 12px;white-space:nowrap}
 .ui-review .review-savebar>div:has(button){margin-left:auto}
 .ui-review #orderForm .review-savebar>button{flex:0 0 auto;width:auto;min-width:0;padding:8px 10px}
 .ui-review #orderForm .review-savebar>button[type=submit]{flex:0 0 auto!important}
 .ui-review #orderForm .draft-sheet{min-width:0!important}.ui-review #orderForm .draft-sheet-head{display:none!important}
 .ui-review #orderForm .draft-sheet-row{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;padding:16px 14px!important;gap:12px 10px!important;margin:0!important;border:0;border-bottom:8px solid #f4f6f9!important;background:#fff;min-height:0!important;align-items:start}
 .ui-review #orderForm .draft-sheet-row>div{grid-column:auto!important;grid-row:auto!important;width:auto!important;max-width:none;position:static!important}
 .ui-review #orderForm .draft-sheet-row>.draft-photo-wrap{position:relative!important}
 .ui-review #orderForm .draft-sheet-row .simple-draft-fields{display:contents!important}
 .ui-review #orderForm .draft-sheet-row .simple-draft-fields>div{min-width:0}
 .ui-review #orderForm .draft-sheet-row label{font-size:10px!important;color:#7d8ba0}
 .ui-review #orderForm .draft-sheet-row label :is(input,select){margin-top:5px!important}
 .ui-review #orderForm .draft-sheet-row>div:before{font-size:10px;color:#7d8ba0;margin:0 0 5px;line-height:1.5}
 .ui-review #orderForm .review-sale-col-0{display:none!important}
 .ui-review #orderForm .review-sale-col-1{grid-column:1/3!important;grid-row:1!important;padding:0!important}
 .ui-review #orderForm .review-sale-col-1:before,.ui-review #orderForm .review-sale-col-3:before{display:none}
 .ui-review #orderForm .review-sale-col-3{grid-column:3/7!important;grid-row:1!important}
 .ui-review #orderForm .review-sale-col-4{grid-column:1/-1!important;flex-direction:row;gap:10px}
 .ui-review #orderForm .review-sale-col-4:before{display:none}
 .ui-review #orderForm .review-sale-col-4 input{width:calc(50% - 5px);height:42px;min-height:42px}
 .ui-review #orderForm .review-sale-col-4 label{width:calc(50% - 5px)}.ui-review #orderForm .review-sale-col-4 input{width:100%}
 .ui-review #orderForm .review-sale-col-6{grid-column:1/3!important}
 .ui-review #orderForm .review-sale-col-7{grid-column:3/5!important}
 .ui-review #orderForm .review-sale-col-8{grid-column:5/7!important}
 .ui-review #orderForm .review-sale-col-9{grid-column:1/5!important;display:flex;align-items:center;gap:8px;min-height:30px}
 .ui-review #orderForm .review-sale-col-9:before{content:'小计';font-size:11px;color:#718198;white-space:nowrap}
 .ui-review #orderForm .review-sale-col-9 .draft-line-total{flex:1;min-width:0;width:auto}
 .ui-review #orderForm .review-sale-col-10{grid-column:1/-1!important;grid-row:4!important}
 .ui-review #orderForm .review-sale-col-11{grid-column:5/7!important;display:flex;justify-content:flex-end}
 .ui-review #orderForm .draft-sheet-row input,.ui-review #orderForm .draft-sheet-row select{min-height:40px!important;height:40px!important;font-size:13px!important}
 .ui-review #orderForm .draft-image-box,.ui-review #orderForm .draft-image,.ui-review #orderForm .draft-image-placeholder{width:72px!important;height:72px!important;min-height:72px!important;margin:0}
 .ui-review #orderForm .draft-photo{width:72px!important;height:72px!important;min-height:72px!important}
 .ui-review #orderForm .draft-footer-grid{grid-template-columns:1fr;gap:12px}.ui-review #orderForm .payment-form-grid,.ui-review #orderForm .production-requirement-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}
 .ui-review .production-sheet-title-v4 h1{font-size:20px}.ui-review .production-sheet-title-v4 small{font-size:10px}.ui-review .production-sheet-mark-v4{display:none}
 .ui-review .production-entry-table-v4{min-width:0!important}.ui-review .production-entry-table-v4 tbody tr{padding:14px!important;gap:12px!important;border-radius:0!important;border:0!important;border-bottom:8px solid #f4f6f9!important;margin:0!important}
 .ui-review .production-entry-table-v4 td{min-width:0!important;width:auto!important;padding:0!important}.ui-review .production-entry-table-v4 td:before{font-size:10px;color:#7d8ba0}
 .ui-review .production-entry-table-v4 td:nth-child(2){width:auto!important}.ui-review .production-entry-table-v4 td:nth-child(3){min-width:0!important}
 .ui-review .production-entry-table-v4 :is(input,select){min-height:42px!important}
 .ui-review .production-requirements-v4{padding:14px;grid-template-columns:1fr;gap:14px}
 .ui-review .production-plan-note-v411{display:block;padding:9px 14px}.ui-review .production-plan-note-v411 span{display:block;margin-top:3px}
 .ui-review #purchaseSheetV23 .purchase-entry-heading{padding:12px 14px;flex-wrap:wrap;gap:8px}.ui-review #purchaseSheetV23 .purchase-entry-heading>div{flex:1;min-width:65px}
 .ui-review #purchaseSheetV23 .purchase-entry-heading button{font-size:11px;padding:8px 9px}
 .ui-review #purchaseSheetV23 .purchase-entry-table{min-width:0!important;table-layout:auto}
 .ui-review #purchaseSheetV23 .purchase-entry-table tbody tr{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;padding:14px!important;gap:12px 10px!important;border:0!important;border-bottom:8px solid #f4f6f9!important;border-radius:0!important;margin:0!important;background:#fff}
 .ui-review #purchaseSheetV23 .purchase-entry-table td{min-width:0;width:auto!important;grid-column:span 3!important;padding:0!important;background:transparent!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:before{font-size:10px;color:#7d8ba0;margin-bottom:5px;line-height:1.4}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:first-child{display:none!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(2){grid-column:3/7!important;grid-row:1!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(3){grid-column:1/3!important;grid-row:1/3!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(3):before{display:none}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(4){grid-column:3/7!important;grid-row:2!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(4):before{display:none}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(7),.ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(8),.ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(9){grid-column:span 2!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(10){grid-column:1/4!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(11){grid-column:1/-1!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:nth-child(12){grid-column:4/7!important;grid-row:5!important}
 .ui-review #purchaseSheetV23 .purchase-entry-table td:last-child{grid-column:1/-1!important;text-align:right;justify-content:flex-end}
 .ui-review #purchaseSheetV23 .purchase-entry-table :is(input,select){height:42px;min-height:42px}
 .ui-review .purchase-source-cell img{width:68px;height:68px;object-fit:contain}.ui-review .purchase-entry-total{padding:14px}
 .ui-review #purchaseSheetV23 .procurement-cash-panel:not([hidden]){margin:0 14px 14px}
 .ui-review .sales-order-head{padding:14px}.ui-review .sales-order-title h1{font-size:21px}.ui-review .sales-order-mark,.ui-review .sales-order-icon{width:34px;height:34px;flex:0 0 34px;font-size:17px}
 .ui-review .order-next-actions{align-items:stretch;flex-direction:column;padding:14px;gap:12px}.ui-review .order-next-buttons{justify-content:flex-start;flex-wrap:wrap}
 .ui-review .review-fold>summary{padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){.ui-review *{scroll-behavior:auto!important;transition:none!important}}
@media print{#previewBar{display:none}.preview-host{padding-top:0!important}}
