:root{--ink:#24382f;--muted:#768078;--green:#285a46;--border:#e5e9e4;--bg:#f5f6f2;--amber:#926921}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{border:1px solid #d9e0d8;border-radius:7px;background:white;color:var(--ink);padding:9px 11px;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #b4d4c0;outline-offset:1px}button:focus-visible{outline:3px solid #9fbfae}textarea{resize:vertical;width:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:214px;background:#fdfefb;border-right:1px solid var(--border);padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;font-size:20px;font-weight:650}.brand-icon{background:var(--green);color:white;font-size:23px;display:grid;place-items:center;width:42px;height:42px;border-radius:12px}.brand div span{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:2px}.workspace{font-size:12px;color:#8d978c;margin:38px 14px 15px}.nav{display:flex;align-items:center;text-align:left;width:100%;padding:13px 13px;margin:3px 0;border-radius:9px;color:#69776b;background:transparent}.nav.active{background:#e8eee5;color:#25543f;font-weight:600}.nav b{margin-left:auto;font-size:12px}.side-bottom{margin-top:auto;padding:10px 12px;color:var(--muted);font-size:12px}.local-dot{color:#53715d}.local-dot:before{content:"";display:inline-block;width:7px;height:7px;background:#7d9978;border-radius:50%;margin-right:7px}.side-bottom p{font-size:11px;line-height:1.8}main{margin-left:214px;padding:34px 35px 30px;max-width:1900px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#7b8d7c}h1{font-size:27px;letter-spacing:.5px;margin:4px 0;font-weight:650}.sub{font-size:13px;color:var(--muted);margin:4px 0}.header-actions{display:flex;gap:10px;align-items:center}.primary,.secondary{border-radius:8px;padding:10px 15px;font-weight:550;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#1d4937}.primary span{display:inline-block;margin-left:6px;background:#497762;border-radius:4px;padding:0 5px}.secondary{background:white;border:1px solid #d8dfd6;color:#415949}.editor-label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:2px}.editor-label input{width:92px;padding:5px 8px}.notice{margin:24px 0 20px;font-size:12px;color:#7a826b;background:#eff1e8;padding:10px 14px;border:1px solid #e4e8d9;border-radius:8px}.notice span{font-weight:600;margin-right:10px;color:#697851}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:24px}.metric{border:1px solid var(--border);border-radius:10px;background:white;padding:17px 20px;cursor:pointer;text-align:left}.metric-label{font-size:12px;color:var(--muted)}.metric-value{display:block;font-size:29px;line-height:1.5;letter-spacing:-.5px;font-weight:600}.metric small{color:#8d9589;font-size:11px}.card{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.toolbar{padding:22px 22px 18px;display:flex;justify-content:space-between;align-items:center}.toolbar h2{font-size:16px;margin:0 0 3px}.toolbar span{font-size:12px;color:var(--muted)}.search{display:flex;align-items:center;gap:8px;background:#fafbf8;border:1px solid var(--border);padding:0 10px;border-radius:8px}.search input{background:transparent;border:0;min-width:250px;padding:10px 3px}.search button{background:transparent;color:#798b7c;font-size:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th{text-align:left;padding:11px 12px;background:#fafbf8;color:#84907f;font-size:11px;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--border)}td{padding:16px 12px;border-bottom:1px solid #edf0ea;vertical-align:middle}.check{width:42px;padding-left:20px}tbody tr:hover{background:#fafcf8}td.person{min-width:220px}.name{font-weight:600;font-size:14px}.order-id{font-size:11px;color:#7f8b7c;font-variant-numeric:tabular-nums;margin-top:5px}.product-title{font-size:13px;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-note{font-size:11px;color:#929989;margin-top:5px;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.badge{font-size:11px;padding:4px 9px;border-radius:5px;display:inline-block;white-space:nowrap;background:#edf0eb;color:#71816e}.badge.warn{background:#fbf0d9;color:#9c722a}.badge.good{background:#e6f1e9;color:#3e7455}.badge.neutral{background:#edf0f2;color:#6f7d88}.text-button{background:transparent;color:var(--green);padding:6px 4px;white-space:nowrap}.linecount{font-size:12px;color:#88917f}.linecount b{font-size:15px;color:#53644f}.card footer{padding:15px 22px;font-size:11px;color:#929b8d}#empty{padding:50px;text-align:center;color:var(--muted)}#shade{position:fixed;inset:0;background:#14231d44;z-index:10;backdrop-filter:blur(2px)}#drawer{position:fixed;top:0;right:0;height:100vh;width:min(900px,90vw);background:#f8faf6;z-index:11;box-shadow:-10px 0 50px #172c2520;overflow:auto;padding:26px 28px 90px}.detail-head{display:flex;justify-content:space-between;align-items:start;position:sticky;top:-26px;background:#f8faf6;padding-top:6px;z-index:1}.detail-head h2{margin:0;font-size:23px}.detail-head p{margin:4px 0 16px;color:var(--muted);font-size:12px}.close{background:transparent;font-size:26px;color:#7d8877}.section{border:1px solid var(--border);background:white;border-radius:10px;margin:16px 0;padding:18px}.section h3{font-size:14px;margin:0 0 13px}.section .hint{font-size:12px;color:var(--muted);margin:8px 0}.field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#7e8978}.field input,.field select{width:100%;font-size:13px}.field.wide{grid-column:1/-1}.summary-money{display:flex;gap:28px;margin:6px 0}.summary-money span{display:block;font-size:11px;color:var(--muted)}.summary-money strong{font-size:22px;font-weight:600}.summary-money strong.unknown{color:#b18632;font-size:18px}.blockers{padding:13px 16px;background:#fff5df;border:1px solid #efdfbd;border-radius:8px;font-size:12px;color:#96732d}.blockers ul{margin:6px 0;padding-left:19px}.raw-text{font-size:12px;white-space:pre-wrap;color:#63725e;background:#f7f9f4;padding:12px;border-radius:6px;line-height:1.9}.component{background:#fafbf8;border:1px solid #e6eae1;padding:12px;margin:10px 0;border-radius:8px}.component .field-grid{grid-template-columns:3fr 1.2fr 1fr 1.2fr}.component-head{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px;color:#77866e}.danger{color:#a36758;background:transparent}.checks{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;margin-top:14px}.confirm-review{display:flex;align-items:start;gap:7px;color:#42664d;padding:12px 0;font-size:13px}.drawer-actions{position:fixed;bottom:0;right:0;width:min(900px,90vw);background:#fffffff0;backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:15px 28px;display:flex;justify-content:space-between;align-items:center;z-index:3}.drawer-actions small{color:var(--muted);font-size:11px}.link-row{display:flex;align-items:center;gap:10px;margin:10px 0}.link-row select{flex:1;min-width:0}.history{font-size:11px;color:#87917f}.empty-components{font-size:13px;text-align:center;padding:24px;background:#f7f9f4;color:#89947f;border-radius:8px}.mini-link{padding:6px 10px;margin:3px 5px 3px 0;border-radius:6px;background:#eaf1e6;color:#406249;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:30;max-width:700px;padding:13px 21px;background:#244537;color:white;border-radius:9px;box-shadow:0 8px 30px #0002;white-space:pre-wrap}#toast.error{background:#8d4e3c}button:disabled{opacity:.45}[hidden]{display:none!important}@media(max-width:1100px){.sidebar{width:170px;padding:24px 10px}main{margin-left:170px;padding:25px 20px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.metrics{gap:8px}.metric{padding:12px}.search input{min-width:190px}.product-title,.product-note{max-width:220px}}@media(max-width:760px){.sidebar{position:static;width:100%;height:auto;padding:12px;flex-direction:row;gap:4px;overflow:auto}.sidebar .brand,.workspace,.side-bottom{display:none}.nav{white-space:nowrap;padding:9px}main{margin:0;padding:18px}.metrics{grid-template-columns:repeat(2,1fr)}header{align-items:start}.header-actions{max-width:190px}.notice{margin:18px 0}.toolbar{gap:10px;padding:15px;flex-direction:column;align-items:stretch}.search input{min-width:0;width:100%}#drawer{width:100vw;padding:20px 16px 90px}.drawer-actions{width:100vw;padding:15px 16px}.component .field-grid,.field-grid{grid-template-columns:1fr 1fr}.summary-money{gap:18px}}

#drawer{scroll-padding-top:100px;scroll-padding-bottom:110px}#drawer .section button,#drawer input,#drawer select,#drawer textarea{scroll-margin-top:100px;scroll-margin-bottom:110px}

/* 原始订单与采购拆分并排核对，窄屏上下排列。 */
#drawer,.drawer-actions{width:min(1280px,96vw)}
.review-columns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}
.review-columns>div{min-width:0}.review-columns .field-grid{grid-template-columns:1fr 1fr}.review-columns .component .field:first-child{grid-column:1/-1}
.review-columns .summary-money{gap:12px;flex-wrap:wrap}.review-columns .summary-money strong{font-size:20px}
.review-help{font-size:12px;color:#42664d;line-height:1.9}.drawer-actions>div{display:flex;gap:10px}
@media(max-width:900px){.review-columns{grid-template-columns:1fr}#drawer,.drawer-actions{width:100vw}.drawer-actions small{max-width:36%}}

/* 核对层级：蓝色为原始依据，绿色为采购编辑，橙色为人工确认，红色为发货限制。 */
:root{--muted:#59665e;--source:#174a82;--source-bg:#eff6ff}
.notice{margin:18px 0 14px;color:#596552;background:#f0f2ed}.metrics{margin-bottom:18px}.metric{padding:12px 16px}.metric-value{font-size:25px}.metric-label,.metric small{color:#59665e}
th{color:#4a5c50;font-size:12px;font-weight:600}td{vertical-align:top}.name{font-size:15px}.order-id{font-size:12px;color:#56685a}
.source-cell{min-width:290px;max-width:470px}.source-label{font-size:11px;font-weight:700;color:var(--source);letter-spacing:.4px;margin-bottom:5px}.product-title{font-size:15px;font-weight:650;color:var(--source);max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.65}
.product-note{color:#5b665d;font-size:12px}.important-note{color:#854e09;white-space:normal;max-width:none;line-height:1.6;border-left:3px solid #d69236;padding-left:8px}
.list-quantity{display:flex;gap:7px;align-items:baseline;margin-top:7px;font-size:12px;color:var(--source)}.list-quantity strong{font-size:18px}.quantity-unit{font-size:11px;font-weight:400}.risk-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.risk-tags:empty{display:none}.risk-tag{font-size:11px;font-weight:650;border:1px solid transparent;border-radius:5px;padding:3px 7px;line-height:1.5}.risk-tag.warn{background:#fff3df;color:#805000;border-color:#edd0a0}.risk-tag.stop{background:#fff0ee;color:#a22e25;border-color:#efb9b3}.risk-tag.info{background:#eaf2ff;color:#174a82;border-color:#bfd5ed}.badge{font-weight:650;font-size:12px}.status-help{font-size:11px;color:#6b5a37;margin-top:8px;max-width:150px}.open-review{font-weight:650;border:1px solid #c8d9cf;border-radius:7px;padding:7px 10px;background:#f5faf6}
#drawer{background:#f4f6f8;padding-top:18px}.detail-head{top:-18px;background:#f4f6f8;padding-bottom:5px}.detail-head h2{font-size:22px}.detail-head p{color:#526174;margin-bottom:8px}.detail-risks{margin:0 0 10px}.blockers{padding:10px 14px;color:#795012;font-size:12px;background:#fff7e9}.blockers summary{font-weight:650;cursor:pointer}.blockers.passed{background:#edf7f0;color:#265d3a;border-color:#b7d7c0}.review-columns{gap:16px}.section{padding:18px;margin:14px 0}.section h3{font-size:15px;font-weight:700}.section-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:16px}.section-heading h3{margin:0}.section-chip{font-size:11px;font-weight:600;border-radius:5px;padding:3px 7px;white-space:nowrap;background:#e0ecfb;color:var(--source)}
.source-panel{background:var(--source-bg);border:1px solid #aac8ed;border-top:4px solid #326cb2}.source-panel h3{color:var(--source)}.source-sku{font-size:22px;line-height:1.55;font-weight:750;color:#123d70;overflow-wrap:anywhere;white-space:pre-wrap;margin:6px 0 16px}.source-title{font-size:13px;color:#36597e;overflow-wrap:anywhere}.missing-sku{font-size:18px;font-weight:700;color:#855315;margin:8px 0}.source-quantity{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;border-top:1px solid #c1d5ef;padding-top:12px;color:#174a82}.source-quantity-label{font-size:13px;font-weight:650}.source-quantity strong{font-size:30px;font-weight:750;line-height:1.2}.source-kinds{font-size:12px;margin-left:auto}.quantity-warning,.quantity-hint{font-size:12px;line-height:1.7;margin:10px 0 0}.quantity-warning{background:#fff3df;border:1px solid #edcb99;border-radius:6px;padding:9px;color:#805000;font-weight:600}.quantity-hint{color:#31587f}.source-notes{background:#fff8e9;border:1px solid #efd8a9;border-left:4px solid #d38d21;border-radius:6px;padding:12px;margin-top:15px;color:#714812;font-size:13px}.source-notes>strong{font-size:13px}.source-notes span{display:block;font-size:11px;margin:9px 0 3px;color:#7b5b2b}.source-notes p{font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}.source-notes ul{padding-left:18px;margin-bottom:0}.no-notes{font-size:12px;color:#506885;margin:12px 0 0}.source-context{font-size:12px;color:#52657d;margin-top:15px;border-top:1px solid #c9daef;padding-top:10px}.source-context summary{cursor:pointer}.source-context p{white-space:pre-wrap;overflow-wrap:anywhere}
.purchase-panel{border-top:4px solid #337452}.purchase-panel .section-chip{background:#e9f3ec;color:#285b3e}.pack-warning{margin:0 0 15px;padding:10px 12px;background:#f1f6f2;color:#345c41;border-radius:6px;font-size:12px;line-height:1.7}.component{background:white;border:1px solid #cbdacf;border-left:4px solid #638f73;padding:14px;margin:12px 0}.component-head{align-items:center;gap:6px;font-weight:650;color:#365641}.component-head .danger{margin-left:auto;font-size:12px;font-weight:400}.field{font-size:12px;font-weight:550;color:#415646}.field input,.field select,.field textarea{font-size:14px;font-weight:400;min-height:40px}.component [data-field=name]{font-size:16px;font-weight:650;color:#244d34;background:#f5faf6}.component [data-field=quantity]{font-size:22px;font-weight:750;color:#b42318;border:2px solid #83ae92;background:#f0f8f2}.quantity-field{color:#285b3e}.full-purchase-name{font-size:14px;font-weight:650;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#244d34;padding:7px 10px;background:#f0f6f1;border-radius:5px}.refund-money strong,.amount-warning{color:#a13e24}.amount-warning{font-size:13px;font-weight:600;background:#fff3e5;padding:10px;border-radius:5px}.fee-panel{border-left:4px solid #d69236}.section .hint{color:#536351}.checks label:has(input:checked){background:#fff0ee;color:#a22e25;font-weight:650;border-radius:5px;padding:6px}.checks{align-items:center}.drawer-actions{border-top:1px solid #cbd4db}.drawer-actions small{color:#526276;max-width:55%;font-size:12px}.drawer-actions .unsaved{color:#975315;font-weight:650}.drawer-actions .primary{min-width:116px}.history{color:#647064}.review-source,.review-purchase{min-width:0}
@media(min-width:901px){.review-source{position:sticky;top:78px;max-height:calc(100vh - 185px);overflow:auto;scroll-padding:12px;padding-right:3px}.review-source .section:first-child{margin-top:14px}.review-source::-webkit-scrollbar{width:5px}.review-source::-webkit-scrollbar-thumb{background:#c5d1df;border-radius:8px}}
@media(max-width:900px){.source-sku{font-size:20px}.section-heading{flex-wrap:wrap}.drawer-actions small{max-width:40%}.review-source{position:static;overflow:visible;max-height:none}}
@media(max-width:600px){#drawer{padding:14px 12px 115px}.detail-head{top:-14px}.source-cell{min-width:260px}.source-quantity strong{font-size:26px}.drawer-actions{padding:12px;gap:8px;flex-wrap:wrap}.drawer-actions small{max-width:100%;width:100%}.drawer-actions>div{margin-left:auto}.section{padding:14px}.source-kinds{margin-left:0}.summary-money{gap:10px}}
.purchase-extra{border-top:1px solid #dfe8e2;margin-top:12px;padding-top:9px}.purchase-extra summary{font-size:12px;color:#526c58;cursor:pointer}.purchase-extra .field-grid{margin-top:10px}.review-columns .purchase-extra .field:first-child{grid-column:auto}.purchase-extra:has([data-field=note]:not(:placeholder-shown)) summary{color:#805000;font-weight:650}
@media(min-width:1101px){.review-columns .component>.field-grid{grid-template-columns:1fr .7fr 1.1fr}}

.name-field>label{margin:0}.name-expansion summary{font-size:12px;color:#42644e;cursor:pointer}.name-expansion .full-purchase-name{margin-top:6px}

.name-options{border:1px solid #bacfbe;border-radius:8px;background:#fff;max-height:300px;overflow:auto;margin-top:5px;box-shadow:0 5px 15px #24382f12}.name-options button{display:block;width:100%;text-align:left;background:#fff;padding:10px 12px;border-top:1px solid #edf0ed;color:#244d34;white-space:normal}.name-options button:hover,.name-options button[aria-selected="true"]{background:#eaf3ed}.name-options strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.name-options small{display:block;color:#5a6c60;font-size:12px;margin-top:3px}.name-search-hint{padding:9px 12px;font-size:12px;color:#5a6c60;background:#f5f8f5}.name-options [role=option]{scroll-margin:0!important}

.list-quantity .goods-count,.source-quantity .goods-count{color:#b42318;font-weight:750}

.selection-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 22px 16px}.selection-bar>span{font-weight:650;color:#285a46}.selection-bar small{color:#647064;font-size:12px}.check input{width:17px;height:17px;accent-color:#285a46;cursor:pointer}.check input:disabled{cursor:not-allowed}
.refund-panel{border-left:4px solid #b34b39;background:#fff8f5}.refund-panel p{font-size:13px;line-height:1.7;margin:8px 0}.refund-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.refund-panel small{color:#71574d;font-size:12px}

.category-help{margin:0;padding:0 22px 14px;color:#59665e;font-size:13px}.status-filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 16px}.status-filters button[aria-pressed="true"]{background:#e8eee5;border-color:#719780;color:#25543f}.status-filters b{margin-left:6px;font-variant-numeric:tabular-nums}

.merge-panel{border-left:4px solid #668998}.merge-number{overflow-wrap:anywhere;font-weight:650}.merge-member{border-top:1px solid var(--border);padding:10px 0}.merge-member .source-sku{font-size:14px}.merge-member p{font-size:13px;color:#415949}
.screenshot-panel{border-top:4px solid #326cb2;background:#f5f9ff}.screenshot-panel>button{margin-top:10px}.screenshot-preview{margin-top:15px;overflow:auto;border:1px solid #bfd5ed;background:white}.screenshot-preview img{display:block;width:100%;min-width:640px}.screenshot-panel .hint{line-height:1.7}.screenshot-item{border:1px solid #c3d4e8;border-radius:8px;background:white;padding:14px;margin:12px 0;display:grid;grid-template-columns:1fr 2fr 140px;gap:10px}.screenshot-item .component-head,.screenshot-item>small,.screenshot-item>.quantity-warning{grid-column:1/-1}.screenshot-item textarea{font-size:16px;color:#174a82;font-weight:650}.screenshot-panel .goods-count{color:#b42318;font-size:22px;font-weight:750}.screenshot-actions{display:flex;gap:10px;flex-wrap:wrap}.screenshot-match{border-bottom:1px solid #c3d4e8;padding:12px 0;color:#174a82}.screenshot-match p{margin:8px 0}.screenshot-confirm{display:block;margin:14px 0;font-weight:650;color:#795012}.screenshot-confirm input{width:18px;height:18px;vertical-align:middle}.screenshot-sku{font-size:16px}.screenshot-sku small{display:block;font-size:12px;font-weight:400}.screenshot-panel details{margin:12px 0}
@media(max-width:700px){.screenshot-item{grid-template-columns:1fr}.screenshot-item .component-head{grid-column:1}.screenshot-preview img{min-width:520px}}

#drawer .validation-error{background:#fff0eb!important;border:2px solid #ce432b!important;border-radius:8px;padding:10px;box-shadow:0 0 0 3px #ce432b18}#drawer [aria-invalid=true]{border-color:#ce432b!important;background:#fffaf8!important}#drawer .field-error-message{display:block;color:#a52b18;font-size:13px;font-weight:650;line-height:1.6;margin-top:6px}#drawer .validation-error input,#drawer .validation-error select{scroll-margin-block:120px}

.screenshot-paste{margin:14px 0;padding:18px;border:2px dashed #326cb2;border-radius:10px;background:#fff;color:#174a82;outline-offset:3px}.screenshot-paste:focus{outline:3px solid #326cb2;background:#edf5ff}.screenshot-paste p{margin:8px 0}.screenshot-paste img{display:block;max-width:100%;max-height:220px;margin:10px 0}

.screenshot-item input:placeholder-shown,#screenshotOrder:placeholder-shown{border:2px solid #b42318;background:#fff1f0}.screenshot-item input:placeholder-shown::placeholder{color:#b42318}

.group-overview{border:2px solid #83a793;background:#fbfdfb}.group-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.group-stats>div{background:#eef5f0;padding:14px;border-radius:10px;min-width:0}.group-stats strong{display:block;font-size:25px;overflow-wrap:anywhere}.group-stats span{font-size:12px;color:#53675b}.group-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 24px}.group-source-card{border:1px solid #b9cee2;background:#f1f6fc;border-radius:12px;padding:18px;min-width:0}.group-source-card header{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;color:#174a82}.group-source-card header span{font-size:12px}.group-source-card .source-sku{font-size:18px;background:#e5effc;padding:14px;overflow-wrap:anywhere}.group-source-item{border-top:1px solid #c7d8e9;padding:12px 0}.group-source-item small{display:block;color:#486b90}.group-source-card .goods-count{color:#b42318;font-size:26px}.group-source-card .source-notes{font-size:14px}.group-member-issues{color:#a52b18}.group-routing-note{padding:14px;background:#fff4dc;border-left:4px solid #bb8125;border-radius:6px;margin:14px 0;overflow-wrap:anywhere}.factory-group{border:1px solid #a9c8b5;border-radius:10px;overflow:hidden;background:white;margin:14px 0}.factory-group h4{margin:0;padding:14px 18px;background:#e3efe7;font-size:19px}.factory-group h4 small{float:right;font-size:13px;font-weight:400}.factory-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-top:1px solid #dbe6de}.factory-row>div:first-child{min-width:0;overflow-wrap:anywhere}.factory-row strong{font-size:18px}.factory-row small{display:block;color:#69776e;font-size:12px;margin-top:6px}.pack-count{flex-shrink:0}.pack-count strong{color:#b42318;font-size:26px}.group-review-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #c6d9cc;padding-top:18px;margin-top:24px}.group-review-actions button{flex-shrink:0}.group-purchases>h3{margin-top:28px}#groupReviewIssues:empty{display:none}
@media(max-width:1000px){.group-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.group-source-grid{grid-template-columns:1fr}}
@media(max-width:650px){.group-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.group-review-actions{display:block}.group-review-actions button{width:100%}.factory-row{gap:10px;padding:12px}.factory-row strong{font-size:16px}}

.group-stats strong.goods-count{color:#b42318}
.group-source-card button,.group-review-actions button{scroll-margin-block:130px}

.group-extra{margin:14px 0;font-size:13px}.group-extra>summary{cursor:pointer;color:#52675b}.group-extra[open]>summary{margin-bottom:12px}.group-edit-notice{padding:16px 20px;background:#fff4dc;border-left:4px solid #bb8125;border-radius:8px;margin:18px 0}.group-edit-notice p{line-height:1.7;margin-bottom:0}.group-routing-note>summary{cursor:pointer;font-weight:600}.group-routing-note[open]>summary{margin-bottom:12px}

/* 订单备注先于采购明细展示，原文与当前要求分别保留。 */
.order-notes{background:#fff5df;border:1px solid #e7ba6a;border-left:5px solid #ba6b13;border-radius:10px;padding:18px 20px;margin:14px 0 18px;color:#673b0d;overflow-wrap:anywhere}
.order-notes h3{font-size:18px!important;margin:0 0 8px;color:#713e08}.note-guidance{font-size:13px;line-height:1.6;margin:0 0 12px;color:#805921}
.order-note-entry{margin:12px 0}.order-note-entry span{display:block;font-size:12px;color:#805921;margin-bottom:4px}.order-note-entry p{font-size:17px;font-weight:650;line-height:1.65;white-space:pre-wrap;margin:0}
.order-notes .field{color:#714812;margin-top:14px}.order-notes textarea{background:#fffdfa;border:1px solid #c99344;color:#56320c;font-size:17px;font-weight:600;line-height:1.6;resize:vertical;min-height:76px}
.group-source-card .order-notes{padding:14px;margin-top:12px}.group-source-card .order-notes h3{font-size:16px!important}

.note-originals{font-size:12px;color:#805921}.note-originals summary{cursor:pointer}

.note-review-state{font-size:13px;font-weight:650;margin:12px 0 0}

.note-review-choice{background:#fff;border:2px solid #d28b32;border-radius:8px;padding:16px;scroll-margin-block:120px}.note-review-title{font-size:18px;color:#843f0a}.note-review-choice>p{font-size:13px;line-height:1.6;margin:8px 0 12px}.note-review-buttons{display:flex;flex-wrap:wrap;gap:12px}.note-review-buttons button{flex:1 1 240px;min-height:56px;font-size:17px;font-weight:700;padding:14px;border:2px solid #b26c22;background:#fff8e9;color:#713e08}.note-review-buttons button[aria-pressed="true"]{background:#2e634d;border-color:#2e634d;color:white}.note-review-buttons button[aria-pressed="true"]::before{content:'✓ ';}.note-review-choice:focus-visible{outline:3px solid #c03d29;outline-offset:3px}.note-review-state{padding:10px 12px;background:#fff;border-radius:6px}

[data-group-note-order] small{display:block;margin-top:12px;font-size:12px;line-height:1.6}[data-group-note-order] .note-review-buttons{margin-top:12px}[data-group-note-order] .note-review-title{font-size:16px}

.shipping-review{margin:16px 0;padding:18px;border:2px solid #c86a27;border-radius:12px;background:#fff4e7;color:#713a16}
.shipping-review[hidden]{display:none}
.shipping-review>strong{font-size:19px}.shipping-review p{margin:8px 0}.shipping-review label{display:block;font-weight:600}
.shipping-review input:not([type=hidden]){display:block;width:100%;margin:8px 0;background:white}.shipping-review small{display:block;margin-top:10px}
.shipping-review.validation-error{border-color:#b52b24;background:#fff0ee}

.after-sales-panel{background:#f0f6fa;border-left:4px solid #4b7790}.after-sales-panel details{margin-top:12px}.after-sales-panel input{width:100%;margin:8px 0 12px}.after-sales-panel small{overflow-wrap:anywhere}

/* 分地址发货 */
.delivery-panel{border:2px solid #76a28b}.delivery-error{padding:14px;background:#fff0eb;color:#963c2e;border:1px solid #c86d59;border-radius:8px}.delivery-invalid{border:2px solid #bc392f!important;background:#fff0eb!important}
#deliveryDialog{width:min(1100px,95vw);max-height:92vh;overflow:auto;border:1px solid #aec5b8;border-radius:16px;padding:24px;color:#254d3b}#deliveryDialog::backdrop{background:#142a2280}#deliveryDialog header,#deliveryDialog footer,.delivery-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#deliveryDialog header{justify-content:space-between}#deliveryDialog footer{position:sticky;bottom:-24px;background:white;padding:16px 0;border-top:1px solid #ccd9d1}.delivery-recipient{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px}.delivery-recipient input{width:100%}.delivery-allocation{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e2e9e5}.delivery-allocation span{flex:1}.delivery-allocation small{display:block;color:#6b7f74}.delivery-allocation input{width:100px;color:#b23d25;font-weight:700}.delivery-tools{margin-bottom:16px}@media(max-width:700px){.delivery-recipient{grid-template-columns:1fr}.delivery-allocation input{width:75px}}

.small-receipts{border:1px solid #9ab6a8}.small-receipts summary{cursor:pointer;padding:12px 0;font-weight:600}.small-receipts input:not([type=checkbox]),.small-receipts select{width:100%;margin:8px 0}.small-receipts input[type=checkbox]{width:auto;margin-right:8px}.receipt-record{padding:14px 0;border-bottom:1px solid #d5e1da}.receipt-record p{color:#52675c;font-size:14px}

.identity-bar{position:sticky;top:0;z-index:10;background:#fff3d8;padding:10px 20px;display:flex;gap:20px;align-items:center;border-bottom:2px solid #c58c25}.identity-bar button{margin-left:auto}.account-page{margin:40px auto;max-width:1100px;padding:20px}.account-page form{display:grid;gap:14px}.account-page label{display:grid;gap:6px}.account-page input,.account-page select{padding:10px;border:1px solid #a5bbb0;border-radius:6px}.account-page .card{padding:24px;margin:20px 0}.account-row{border-bottom:1px solid #ddd;padding:16px 0}.backup-warning{background:#fee5dc;color:#8c2718;padding:15px;font-weight:700}#events{white-space:pre-line}#message{color:#9e341f;font-weight:700}

.account-page button,.identity-bar button{background:#315d4c;color:white;border:1px solid #315d4c;border-radius:8px;padding:10px 16px;font:inherit;cursor:pointer}.account-page button:disabled{opacity:.5;cursor:default}.identity-bar a{color:#315d4c;text-decoration:none;font-weight:600}.account-page .account-row{grid-template-columns:repeat(2,minmax(0,1fr))}.account-row h3{grid-column:1/-1}.account-page input[type=checkbox]{width:20px;height:20px}.account-page #message{position:sticky;bottom:12px;background:#fff5dc;padding:12px;border-radius:8px}@media(max-width:650px){.account-page .account-row{grid-template-columns:1fr}.identity-bar{flex-wrap:wrap;gap:10px}}
.job-progress{position:fixed;bottom:16px;left:260px;right:24px;z-index:20000;background:#fff8df;border:2px solid #a56a17;padding:14px 20px;border-radius:10px;display:flex;gap:16px;align-items:center;box-shadow:0 2px 12px #0002}.job-progress[hidden]{display:none}.job-progress span{flex:1}.pagination{display:flex;gap:16px;align-items:center;padding:16px}.date-filters{display:flex;gap:12px;padding:0 20px 12px}
