:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef4fa;font-family:Segoe UI,Segoe UI Variable,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100vh;margin:0}body{background:#eef4fa;min-width:320px}button,input,select{font:inherit}h1,h2,p{margin:0}.erp-layout{background:#f3f5f7;height:100vh;overflow:hidden}.topbar{color:#fff;background:linear-gradient(#198be6 0%,#1280da 100%);justify-content:space-between;align-items:center;height:44px;padding:0 20px;display:flex;box-shadow:0 2px 8px #08488e2e}.topbar__brand,.topbar__actions,.topbar__title{align-items:center;display:flex}.topbar__brand{gap:10px}.topbar__menu-button{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff47;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;line-height:1;display:none}.topbar__logo{letter-spacing:.08em;background:#ffffff29;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:inline-flex}.topbar__title{flex-direction:column;align-items:flex-start;gap:2px}.topbar__title strong{font-size:15px;font-weight:700}.topbar__title span{color:#ffffffd1;font-size:11px}.topbar__actions{gap:12px}.topbar__user{font-weight:600}.topbar__link{color:#fff;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.app-shell{grid-template-columns:var(--sidebar-width,248px) minmax(0, 1fr);height:calc(100vh - 44px);display:grid;overflow:hidden}.sidebar{background:#fff;border-right:1px solid #dde4ec;flex-direction:column;height:100%;min-height:0;display:flex;position:relative;overflow:visible}.sidebar__inner{background:#fff;flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.sidebar.is-collapsed{border-right-color:#0000}.sidebar.is-collapsed .sidebar__inner{opacity:0;pointer-events:none}.sidebar__mobile-header{display:none}.sidebar__collapse-toggle{z-index:4;color:#1f7ae0;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;line-height:1;display:inline-flex;position:absolute;top:16px;right:-16px;box-shadow:0 2px 8px #0f172a14}.sidebar__brand{border-bottom:1px solid #eef2f6;padding:18px 18px 14px}.sidebar__brand h1,.sidebar__label,.panel__header h2{margin:0}.sidebar__eyebrow,.panel__eyebrow{color:#8ea0b5;text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px;font-size:12px}.sidebar__brand h1{color:#1f2d3d;font-size:16px;font-weight:700}.sidebar__panel{background:#fff;border-bottom:1px solid #eef2f6;padding:10px 12px}.sidebar__panel--categories{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.sidebar__label{color:#1f2d3d;margin-bottom:8px;padding:0 6px;font-size:14px;font-weight:700}.view-switcher,.category-list,.content-stack,.form-stack{flex-direction:column;gap:6px;display:flex}.category-list{flex:auto;min-height:0;padding-right:4px;overflow:hidden auto}.view-switcher button,.category-pill,.ghost-button,.remove-button,.primary-button,.mini-button,.status-pill{cursor:pointer;border:0}.view-switcher button,.category-pill{text-align:left;border-radius:8px;padding:9px 12px;transition:background .16s,color .16s,border-color .16s}.view-switcher button{color:#334155;background:#fff;border:1px solid #0000;font-weight:600;line-height:1.3}.view-switcher button.is-active,.category-pill.is-active{color:#1f7ae0;background:#eaf4ff;border-color:#d6e8fb}.category-pill{color:#334155;background:#fff;border:1px solid #0000;justify-content:space-between;align-items:center;line-height:1.3;display:flex}.category-pill small{color:#9aa8b8;font-size:11px}.sidebar__resizer{cursor:col-resize;background:0 0;border:0;width:10px;height:100%;padding:0;position:absolute;top:0;right:-5px}.sidebar__resizer:before{content:"";background:#d4dde6;border-radius:999px;width:3px;height:60px;transition:background .16s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sidebar__resizer:hover:before,.sidebar__resizer:focus-visible:before{background:#9eb9d6}.sidebar.is-collapsed .sidebar__resizer{display:none}.main-panel{background:#f3f5f7;flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden auto}.mobile-sidebar-backdrop{display:none}.workspace-tabs{background:#f7f8fa;border-bottom:1px solid #dfe5ec;align-items:center;height:42px;padding:0 14px;display:flex}.workspace-tab{color:#1f7ae0;min-width:132px;height:32px;font:inherit;background:#fff;border:1px solid #d9e1e9;border-bottom-color:#0000;border-radius:6px 6px 0 0;padding:0 14px;font-size:13px;font-weight:700}.toolbar-card{background:#fff;border-bottom:1px solid #e6ebf1;padding:10px 14px}.toolbar-card__main,.toolbar-card__stats,.toolbar-card__title{display:flex}.toolbar-card__main{justify-content:space-between;align-items:center;gap:12px}.toolbar-card__title{flex-direction:column;align-items:flex-start;gap:4px}.toolbar-card__title strong{color:#1f2937;font-size:15px}.toolbar-card__title span{color:#7a8695;font-size:12px}.toolbar-card__stats{flex-wrap:wrap;align-items:center;gap:8px}.toolbar-card__stats span,.tag-chip{color:#1f7ae0;background:#f0f7ff;border:1px solid #d6e8fb;border-radius:999px;align-items:center;height:26px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.content-grid{grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:16px;padding:12px 14px 14px;display:grid}.content-stack{gap:16px;padding:12px 14px 14px}.panel{box-shadow:none;background:#fff;border:1px solid #e4eaf0;border-radius:6px;padding:14px}.panel__header{border-bottom:1px solid #edf1f5;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px;padding-bottom:10px;display:flex}.panel__headers{border-bottom:1px solid #edf1f5;align-items:flex-start;gap:4px;margin-bottom:12px;padding-bottom:10px;display:flex}.panel__header h2{font-size:18px}.panel__header p:last-child{color:#6b7280;font-size:12px}.field,.field-group{flex-direction:column;gap:6px;display:flex}.field span,.field-group__header span{color:#334155;font-size:12px;font-weight:700}.field-group__header,.inline-field,.row-actions{align-items:center;gap:8px;display:flex}.field-group__header{justify-content:space-between}.inline-field input{flex:auto}input,select{color:#0f172a;width:100%;min-height:34px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d7dee7;border-radius:4px;padding:0 10px;font-size:13px}input:focus,select:focus{border-color:#1f7ae0;outline:2px solid #1f7ae024}.ghost-button,.remove-button,.mini-button--ghost{color:#356da8;background:#fff;border:1px solid #d6e4f2}.ghost-button,.remove-button,.mini-button{min-height:30px;font:inherit;border-radius:4px;padding:0 10px;font-size:12px}.remove-button{color:#881515;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;text-align:center;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.primary-button,.mini-button{color:#fff;background:#1f7ae0}.primary-button{min-height:34px;font:inherit;border-radius:4px;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.primary-button:disabled{cursor:wait;opacity:.72}.empty-hint{color:#8b97a6;margin:0}.main-panel .empty-hint{color:#6b7280}.preview-table,.table-wrap{border:1px solid #e3e8ef;border-radius:4px;overflow:auto}.preview-table__head{color:#334155;background:#f7f9fb;grid-auto-columns:minmax(120px,1fr);grid-auto-flow:column;font-weight:700;display:grid}.preview-table__head span,.preview-table__body{padding:14px 16px}.preview-table__body{color:#556373}.ali-upload{flex-direction:column;gap:10px;display:flex}.ali-upload__hint{flex-wrap:wrap;gap:8px;display:flex}.ali-upload__hint span,.ali-result__meta span{color:#486174;background:#f5f8fc;border:1px solid #e0e7ef;border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:12px;display:inline-flex}.ali-result{flex-direction:column;gap:12px;display:flex}.express-result{flex-direction:column;gap:14px;display:flex}.express-result__summary{flex-direction:column;gap:12px;display:flex}.express-result__brand{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.express-result__logo{object-fit:contain;box-sizing:border-box;background:#fff;border:1px solid #e3e8ef;border-radius:10px;width:52px;height:52px;padding:6px}.express-result__meta{flex-direction:column;gap:4px;display:flex}.express-result__meta strong{color:#1f2937;font-size:16px}.express-result__meta span{color:#5c6f82;font-size:13px}.express-timeline{border:1px solid #e3e8ef;border-radius:6px;flex-direction:column;display:flex;overflow:hidden}.express-timeline__item{border-bottom:1px solid #edf1f5;grid-template-columns:180px 24px minmax(0,1fr);align-items:start;gap:12px;padding:14px 16px;display:grid}.express-timeline__item:last-child{border-bottom:0}.express-timeline__time{color:#486174;font-size:12px;line-height:1.5}.express-timeline__dot{background:#1f7ae0;border-radius:999px;width:12px;height:12px;margin-top:2px;position:relative}.express-timeline__dot:after{content:"";background:#d6e4f2;width:2px;height:calc(100% + 18px);position:absolute;top:12px;left:50%;transform:translate(-50%)}.express-timeline__item:last-child .express-timeline__dot:after{display:none}.express-timeline__status{color:#334155;word-break:break-word;font-size:13px;line-height:1.6}.ali-result__cards{grid-template-columns:repeat(auto-fit,minmax(180px,220px));gap:12px;display:grid}.ali-result__card{background:#f4f9ff;border:1px solid #d7e6f8;border-radius:6px;flex-direction:column;gap:8px;padding:16px;display:flex}.ali-result__card strong{color:#1f7ae0;font-size:24px;line-height:1}.ali-result__card span{color:#5c6f82;font-size:12px}.error-banner--inline{margin:0}.table-toolbar{justify-content:space-between;margin-left:auto;display:flex}.table-batchbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.table-batchbar span{color:#486174;font-size:12px;font-weight:700}.table-batchbar select{width:auto;min-width:140px}.table-page-size{align-items:center;gap:8px;display:inline-flex}.table-page-size span{color:#486174;white-space:nowrap;font-size:12px;font-weight:700}.table-search{align-items:center;gap:8px;display:flex}.table-search span{color:#334155;white-space:nowrap;font-size:12px;font-weight:700}.table-search input{width:220px}.form-stack{align-items:stretch;gap:12px}.form-stack .primary-button{align-self:flex-start;min-width:108px;margin-top:4px}.dynamic-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dynamic-fields--meta{margin-top:10px}.field--wide{grid-column:span 2}.product-form .field{min-width:0}.product-form input,.product-form select{height:30px;min-height:34px}.product-form .primary-button{margin-top:10px;margin-left:auto}.erp-table{border-collapse:collapse;width:100%;min-width:720px;font-family:SimSun,Songti SC,serif;font-size:12pt}.erp-table th,.erp-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #edf1f5;padding:10px 14px}.erp-table input,.erp-table select{height:28px;min-height:28px;font-family:inherit;font-size:inherit;padding:0 8px}.erp-table input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0}.erp-table thead{color:#334155;background:#f7f9fb}.erp-table tbody tr:hover{background:#fafcff}.erp-row--parent{cursor:pointer;background:#fff}.erp-row--child{background:#fbfdff}.erp-row--child td:first-child{position:relative}.row-label{align-items:center;gap:8px;display:flex}.row-toggle{color:#6b7280;justify-content:center;align-items:center;width:16px;transition:transform .16s;display:inline-flex}.row-toggle.is-collapsed{transform:rotate(-90deg)}.row-label--child{padding-left:20px}.row-label--child:before{content:"";background:#9eb9d6;flex:none;width:10px;height:1px}.row-badge{color:#1f7ae0;background:#eaf4ff;border:1px solid #d6e8fb;border-radius:999px;align-items:center;height:20px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.row-subcount{color:#7a8695;white-space:nowrap;margin-left:4px;font-size:12px;font-weight:600}.table-empty{text-align:center;color:#6b7280}.table-summary td{z-index:1;background:#f8fbff;font-weight:700;position:sticky;bottom:0}.status-pill{color:#fff;border-radius:4px;min-height:24px;padding:0 10px;font-size:12px;font-weight:600}.text-action{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:500}.text-action--edit{color:#1f7ae0}.text-action--delete{color:#dc2626}.text-action--move{color:#0f766e}.status-pill--待寄回{background:#94a3b8}.status-pill--已寄回{background:#6366f1}.status-pill--已到货{background:#14b8a6}.status-pill--已发出{background:#1f7ae0}.status-pill--已完成{background:#16a34a}.error-banner{color:#1f7ae0;background:#f2f8ff;border:1px solid #d7e9fb;border-radius:4px;margin:16px 20px 0;padding:12px 16px}.tag-row{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.spec-preview-actions{justify-content:flex-end;margin-bottom:10px;display:flex}.table-pagination{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.loss-filters,.loss-form-actions{align-items:flex-end;gap:12px;display:flex}.loss-filters{margin-bottom:14px}.loss-filters .field,.loss-form .field{min-width:0}.loss-form{flex-direction:column;gap:12px;display:flex}.page-button{color:#356da8;min-width:32px;height:32px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d6e4f2;border-radius:4px}.page-button.is-active{color:#1f7ae0;background:#eaf4ff;border-color:#1f7ae0;font-weight:700}@media (width<=1100px){.app-shell,.content-grid{grid-template-columns:1fr}.sidebar{z-index:30;width:min(84vw,320px);height:calc(100vh - 44px);transition:transform .18s;position:fixed;top:44px;left:0;transform:translate(-104%);box-shadow:0 18px 40px #0f172a29}.sidebar.is-mobile-open{transform:translate(0)}.sidebar__collapse-toggle,.sidebar__resizer{display:none}.sidebar__mobile-header{border-bottom:1px solid #eef2f6;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.sidebar__mobile-header strong{color:#1f2d3d;font-size:15px}.sidebar__mobile-close{color:#1f7ae0;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:10px;width:34px;height:34px;font-size:22px;line-height:1}.mobile-sidebar-backdrop{z-index:20;background:#0f172a3d;border:0;display:block;position:fixed;inset:44px 0 0}}@media (width<=768px){.topbar{flex-direction:row;align-items:center;gap:8px;height:52px;padding:0 12px}.topbar__menu-button{display:inline-flex}.topbar__actions{flex-wrap:wrap;gap:12px}.topbar__brand{gap:8px;width:100%}.topbar__logo{width:28px;height:28px;font-size:11px}.topbar__title strong{font-size:14px}.topbar__title span{font-size:10px}.workspace-tabs,.toolbar-card,.content-grid,.content-stack{padding-left:10px;padding-right:10px}.toolbar-card__main{flex-direction:column;align-items:flex-start}.workspace-tabs{height:auto;padding-top:8px;padding-bottom:0;overflow-x:auto}.workspace-tab{min-width:max-content;height:34px}.field--wide{grid-column:span 1}.dynamic-fields{grid-template-columns:1fr}.panel{border-radius:10px;padding:12px}.panel__headers{flex-direction:column;align-items:stretch;gap:10px}.table-toolbar{width:100%;margin-left:0}.table-search{flex-direction:column;align-items:stretch;gap:6px;width:100%}.table_space{width:10010000px;height:10000px}.table-search input{width:100%}.table-batchbar{align-items:stretch;gap:8px}.table-batchbar select,.table-page-size,.table-page-size select,.table-batchbar .remove-button{width:100%}.table-page-size{flex-direction:column;align-items:stretch;gap:6px}.loss-filters,.loss-form-actions{flex-direction:column;align-items:stretch}.express-timeline__item{grid-template-columns:1fr;gap:8px}.express-timeline__dot{display:none}.loss-form-actions .primary-button,.loss-form-actions .ghost-button{width:100%}.form-stack .primary-button,.product-form .primary-button{width:100%;margin-left:0}.inline-field{flex-direction:column;align-items:stretch}.inline-field .remove-button,.field-group__header .ghost-button{width:100%}.field-group__header{flex-direction:column;align-items:stretch}.erp-table{min-width:980px}.table-wrap{-webkit-overflow-scrolling:touch;border-radius:10px}.erp-table th,.erp-table td{padding:10px}.row-actions{flex-wrap:wrap;gap:10px}.table-pagination{flex-wrap:wrap;justify-content:flex-start}}
