.erp-settings{padding:24px;width:100%;max-width:none;min-width:0}.erp-two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.erp-two label{min-width:0}@media(max-width:720px){.erp-two{grid-template-columns:1fr}}.erp-settings h2{margin:0 0 14px}.erp-settings p{line-height:1.7;margin:12px 0}.erp-settings label,.erp-two label{display:flex;flex-direction:column;gap:8px;margin:14px 0;flex:1}.erp-two{display:flex;gap:16px;flex-wrap:wrap}.erp-status{padding:16px;border-radius:8px;background:#edf3fc;margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere}.erp-ok{background:#eaf8f1;color:#176343}.erp-error{background:#fff0ed;color:#a22e26}.erp-primary-scan{padding:20px;border-left:4px solid #2563eb;margin-bottom:16px}.erp-primary-scan h3{margin-bottom:12px}.erp-scan-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.erp-scan-row input{flex:1;min-width:220px}.erp-scan-row select{max-width:210px}.erp-scan-hint{font-size:12px;color:#64748b;margin-top:10px;line-height:1.6}.erp-panel-overlay{position:fixed;inset:0;background:#0b193b55;z-index:1100;display:flex;justify-content:flex-end}.erp-panel{width:min(1160px,100%);height:100%;background:#f4f7fb;overflow:auto;box-shadow:-8px 0 32px #14285230}.erp-panel-head{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #dde5ef;padding:16px 24px}.erp-panel-head h2{font-size:19px;margin-bottom:12px}.erp-panel-body{padding:20px 24px}.erp-panel .card{padding:18px;margin:0 0 16px}.erp-order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.erp-order-grid small{display:block;color:#64748b;margin-bottom:5px}.erp-order-grid b{overflow-wrap:anywhere}.erp-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.erp-important{background:#fffbeb;border:1px solid #efcf70;padding:14px;border-radius:8px;margin:10px 0}.erp-line{display:grid;grid-template-columns:105px minmax(0,1fr);gap:18px;border-top:1px solid #e2e8f0;padding:18px 0}.erp-line img{width:96px;height:96px;object-fit:contain;border:1px solid #d8e0ea;border-radius:8px;background:white;cursor:zoom-in}.erp-line p{margin:6px 0}.erp-mapping{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.erp-mapping label{flex:1;min-width:180px}.erp-mapping select{width:100%}.erp-unit{border:1px solid #dbe3ef;border-radius:10px;background:white;padding:16px;margin:14px 0}.erp-unit h4{margin-bottom:12px}.erp-check{border-top:1px solid #e7edf5;padding:12px 0}.erp-check-head{display:flex;gap:12px;justify-content:space-between}.erp-check-head small{display:block;color:#64748b;margin-top:5px}.erp-check select{min-width:120px}.erp-check textarea{width:100%;margin-top:8px;min-height:54px}.erp-check input[type=file]{font-size:12px;margin-top:8px}.erp-evidence{max-width:100px;max-height:80px;cursor:zoom-in}.erp-panel-footer{position:sticky;bottom:0;z-index:2;background:white;border-top:1px solid #dde5ef;display:flex;align-items:center;gap:12px;padding:14px 24px;flex-wrap:wrap}.erp-sync-note{font-size:12px;color:#64748b}.erp-photo-overlay{position:fixed;inset:0;z-index:1400;background:#0a132ddd;display:flex;align-items:center;justify-content:center;padding:20px;cursor:zoom-out}.erp-photo-overlay img{max-width:96vw;max-height:94vh;object-fit:contain}.erp-panel details summary{cursor:pointer;color:#2563eb;padding:8px 0}.erp-diff{background:#fff0ed;border:1px solid #eaa28d;padding:14px;border-radius:8px;white-space:pre-wrap}.erp-remark-short{max-height:96px;overflow:auto}.erp-panel .textarea{min-height:60px}@media(max-width:700px){.erp-panel-head,.erp-panel-body,.erp-panel-footer{padding:14px}.erp-order-grid{grid-template-columns:1fr 1fr}.erp-line{grid-template-columns:75px minmax(0,1fr);gap:10px}.erp-line img{width:70px;height:70px}.erp-check-head{flex-direction:column}.erp-settings{padding:16px}.erp-scan-row input{min-width:140px}.erp-panel-head h2{font-size:16px}}
