body{color:#1f2530;background:#f6f3ee;margin:0;font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif}#root{min-height:100vh}.login-page{background:linear-gradient(#f8f3f5 0%,#f2f4f8 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fffffff0;border-radius:12px;width:min(420px,100%);padding:32px;box-shadow:0 18px 48px #1f25301f}.brand-block{color:#fff;padding:12px 18px 18px}.brand-logo{object-fit:cover;border-radius:18px;width:72px;height:72px;margin-bottom:12px;display:block;box-shadow:0 10px 24px #0000002e}.brand-title{font-size:21px;font-weight:800;line-height:1.3}.ant-layout-sider .ant-menu-submenu-title{color:#ffffffd1;margin-top:8px;font-weight:700}.ant-layout-sider .ant-menu-sub .ant-menu-item{padding-left:48px!important}.ant-layout-sider .ant-menu-sub .ant-menu-item-selected{background:#c55d8c!important}.app-header{background:#ffffffc7;border-bottom:1px solid #0f172a0f;justify-content:space-between;align-items:center;height:auto;padding:20px 24px;display:flex}.app-content{padding:24px}.page-grid{gap:20px;display:grid}.dashboard-main-grid{grid-template-columns:minmax(0,1.9fr) minmax(280px,.7fr);align-items:start;gap:20px;display:grid}.dashboard-table-panel{min-width:0}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stats-grid--five{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-stat-card{text-align:left;background:#fff;border:0;border-radius:8px;width:100%;min-height:126px;padding:18px 24px;box-shadow:0 18px 48px #1f253014}.dashboard-stat-card-clickable{cursor:pointer}.dashboard-stat-card-clickable:hover{box-shadow:0 18px 48px #c0528429}.dashboard-stat-card:disabled{cursor:default}.two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.order-entry-modal{max-width:2048px;padding-bottom:16px}.order-entry-modal .ant-modal-content{border-radius:8px}.order-entry-modal .ant-modal-body{padding-top:14px}.order-entry-form .ant-form-item{margin-bottom:0}.order-entry-form .ant-form-item-label{padding-bottom:4px}.order-entry-form .ant-form-item-label>label{color:#5f6b7a;height:auto;font-size:13px}.order-entry-head-grid{grid-template-columns:repeat(6,minmax(170px,1fr));gap:12px;display:grid}.order-entry-detail{background:#f3f7fc;border:1px solid #dce7f4;border-radius:8px;margin-top:14px;overflow:hidden}.order-entry-detail-title{color:#172033;background:#f8fbff;border-bottom:1px solid #dce7f4;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-weight:700;display:flex}.order-entry-line-scroll{gap:12px;padding:12px;display:grid;overflow:visible}.order-entry-line-grid{background:#fff;border:1px solid #dbe7f5;border-left:4px solid #3b82c4;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));align-items:end;gap:12px;min-width:0;padding:14px 14px 14px 18px;display:grid;position:relative;box-shadow:0 1px 2px #1e40680f}.order-entry-line-grid:nth-child(2n){background:#fcfeff;border-left-color:#57a773}.order-entry-line-grid:hover{border-color:#b9d3ee;box-shadow:0 4px 12px #1e40681a}.order-entry-line-grid .ant-form-item{min-width:0;margin-bottom:0}.order-entry-line-grid .ant-select,.order-entry-line-grid .ant-input-number,.order-entry-line-grid .ant-picker,.order-entry-line-grid .ant-input,.order-entry-line-grid .ant-select-selector{width:100%}.order-entry-line-grid .ant-form-item-label{padding-bottom:4px}.order-entry-line-grid .ant-form-item-label>label{color:#5f6b7a;max-width:100%;font-size:13px}.order-entry-line-grid .ant-form-item-label>label:after{content:""}.order-entry-index-field{min-width:0;max-width:88px}.order-entry-field-label{color:#5f6b7a;margin-bottom:4px;font-size:13px;line-height:22px;display:block}.order-entry-index-box{color:#1f5d9b;background:linear-gradient(#eef7ff 0%,#e1efff 100%);border:1px solid #bdd7f2;border-radius:6px;place-items:center;height:34px;font-weight:700;display:grid}.order-entry-row-actions{min-width:0}.order-entry-row-actions .ant-space-compact{width:100%}.order-entry-row-actions .ant-btn{width:38px}.unit-option-row{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.unit-option-row .ant-btn{width:26px;height:24px;padding:0}.order-entry-actions{justify-content:flex-end;gap:10px;margin-top:14px;display:flex}.table-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.split-main{align-items:start}.progress-track{background:#e8edf3;border-radius:999px;width:100%;height:8px;overflow:hidden}.progress-fill{border-radius:999px;height:100%;transition:width .2s}.customer-progress-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.customer-progress-toolbar .ant-select-auto-complete{width:min(420px,100%)}.customer-progress-detail-link{white-space:normal;text-align:left;height:auto;padding:0}.customer-progress-track{max-width:120px}.workflow-route-summary{background:#fff5e8;border:1px solid #c4812d29;border-radius:8px;padding:12px 14px}.workflow-loading{justify-content:center;align-items:center;gap:12px;min-height:260px;display:flex}.reminder-card,.reminder-modal-card{background:#fff;border:1px solid #0f172a14;border-radius:8px;padding:14px}.reminder-card-due,.reminder-modal-card.reminder-card-due{background:#fff5f5;border-color:#d85b5b47}.reminder-card-soon,.reminder-modal-card.reminder-card-soon{background:#fffaf1;border-color:#d38a103d}.dye-subflow{background:#fffaf3;border:1px solid #c4812d2e;border-radius:8px;padding:14px 18px}.dye-subflow-header{grid-template-columns:210px minmax(0,1fr);align-items:center;gap:14px;display:grid}.dye-substep-grid{grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;width:100%;display:grid}.dye-substep{cursor:pointer;background:#fff;border:1px solid #0f172a14;border-radius:8px;min-height:78px;margin:0;padding:10px}.dye-substep-completed{background:#f1fbf6;border-color:#137c663d}.dye-substep-in_progress{background:#f5f8ff;border-color:#2b63d63d}.dye-substep-pending{background:#fff}.dye-subflow-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.batch-progress-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.sample-purchase-layout{grid-template-columns:minmax(420px,.95fr) minmax(520px,1.25fr)}.sample-purchase-row-active>td{background:#fff7f9!important}.sample-requirement-cell{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (width<=1280px){.stats-grid,.stats-grid--five,.two-col,.dashboard-main-grid{grid-template-columns:1fr}.dye-substep-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.order-entry-head-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.order-entry-line-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}@media (width<=720px){.order-entry-head-grid{grid-template-columns:1fr}.order-entry-detail-title{align-items:stretch}.order-entry-detail-title .ant-space{flex-wrap:wrap;justify-content:flex-start;width:100%}.order-entry-line-grid{grid-template-columns:1fr;padding:12px}.dye-subflow-header,.dye-substep-grid{grid-template-columns:1fr}}
