html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{--sidebar-width: 76px;--topbar-height: 64px;--primary-nav-height: 0px;--content-block-padding: 48px;--color-background: #f7f9fc;--color-surface: #ffffff;--color-surface-muted: #f9fbfd;--color-sidebar: #ffffff;--color-text: #172033;--color-text-muted: #667085;--color-text-subtle: #7a8699;--color-border: #d7dde7;--color-border-soft: #e6eaf0;--color-primary: #1677ff;--color-primary-strong: #0958d9;--color-primary-soft: #eaf3ff;--color-primary-text: #0958d9;--color-danger: #cf1322;--color-warning: #d48806;--color-success: #389e0d;--shadow-panel: 0 1px 2px rgb(31 45 61 / .04);color:var(--color-text);background:var(--color-background);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;margin:0;background:var(--color-background)}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}.app-shell{display:grid;min-height:100dvh;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:var(--color-background)}.primary-sidebar{position:sticky;top:0;z-index:30;display:flex;height:100dvh;min-width:0;flex-direction:column;align-items:center;border-right:1px solid #edf0f4;background:var(--color-sidebar)}.brand{display:grid;width:100%;height:var(--topbar-height);place-items:center}.brand:hover{background:transparent}.brand-logo{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover}.primary-nav{display:flex;width:100%;flex-direction:column;align-items:center;gap:16px;flex:1 1 auto;padding:24px 0;overflow-y:auto}.primary-nav-item{display:grid;width:42px;height:42px;min-height:42px;place-items:center;flex:0 0 auto;border-radius:50%;color:var(--color-text-muted);transition:background-color .16s ease,color .16s ease,transform .16s ease}.primary-nav-item:hover{background:#f1f3f6;color:var(--color-text)}.primary-nav-item:active{transform:translateY(1px)}.primary-nav-item.is-active{background:#111318;box-shadow:0 5px 12px #11131829;color:#fff}.primary-nav-item.is-active:hover{background:#111318;color:#fff}.primary-nav-icon{display:grid;width:18px;height:18px;place-items:center;font-size:18px}.rail-exit.ant-btn{display:grid;width:42px;min-width:42px;height:42px;margin:auto 0 18px;place-items:center;border:0;border-radius:50%;color:var(--color-text-muted);background:transparent;box-shadow:none}.rail-exit.ant-btn:hover{color:var(--color-text);background:#f1f3f6}.main-column{display:flex;min-height:100dvh;min-width:0;flex-direction:column}.topbar{position:sticky;top:0;z-index:20;display:flex;height:var(--topbar-height);min-width:0;align-items:center;justify-content:space-between;gap:18px;background:#f7f9fce0;padding:0 18px 0 12px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.secondary-nav{display:flex;min-width:0;align-items:center;gap:10px;overflow-x:auto;scrollbar-width:none}.secondary-nav::-webkit-scrollbar{display:none}.secondary-nav-item{display:inline-flex;height:34px;flex:0 0 auto;align-items:center;border:0;border-radius:999px;background:#ffffff9e;padding:0 18px;color:#9299a5;font-size:14px;white-space:nowrap;transition:background-color .16s ease,color .16s ease,transform .16s ease}.secondary-nav-item:hover{color:var(--color-text);background:#ffffffe0}.secondary-nav-item:active{transform:translateY(1px)}.secondary-nav-item.is-active{background:#fff;box-shadow:none;color:#15181e;font-weight:600}.topbar-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px}.topbar-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.topbar-search.ant-select{width:clamp(220px,22vw,340px);height:36px}.topbar-search.ant-select .ant-select-selector,.topbar-search.ant-select .ant-input-affix-wrapper{height:36px;border:0;border-radius:999px;background:#ffffffe6;box-shadow:none}.topbar-search.ant-select .ant-input-affix-wrapper{display:flex;align-items:center;padding:0 14px}.topbar-search.ant-select .ant-input-prefix{color:#a3a9b3}.topbar-search.ant-select input{font-size:12px}.page-search-option{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-search-option b{font-weight:600}.page-search-option small{color:var(--color-text-subtle)}.topbar-tool.ant-btn,.user-button{display:grid;width:36px;min-width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:#ffffffc2;box-shadow:none}.topbar-tool.ant-btn:hover{color:var(--color-text);background:#fff}.user-button{width:40px;min-width:40px;height:40px}.user-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;color:#fff;background:#2c4d83;font-size:12px;font-weight:700}.select-empty-guide{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--color-text-muted)}h1,h2,p{margin-top:0}.content{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;background:var(--color-background);padding:24px}.panel,.auth-panel,.scan-panel{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:var(--shadow-panel)}.panel{min-height:340px;padding:18px}.filter-panel.panel{min-height:auto;padding:14px 16px}.table-panel{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.table-panel .ant-table-wrapper{border-radius:8px}.table-panel>.ant-table-wrapper{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.table-panel>.ant-table-wrapper>.ant-spin,.table-panel>.ant-table-wrapper .ant-spin-nested-loading{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.table-panel>.ant-table-wrapper .ant-spin-container{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.table-panel>.ant-table-wrapper .ant-table{flex:1 1 auto;min-height:0;overflow:hidden}.table-panel>.ant-table-wrapper .ant-table-container{height:100%;overflow:auto}.table-panel>.ant-table-wrapper .ant-table-pagination.ant-pagination{margin:auto -18px 0;border-top:1px solid var(--color-border);background:var(--color-surface);justify-content:flex-end;padding:12px 18px}.ant-table-wrapper .ant-table-thead>tr>th{background:#f7f9fc;color:#0f172ad1;font-weight:650}.ant-table-wrapper .ant-table-tbody>tr>td{color:#0f172ae0}.ant-table-wrapper .ant-table-tbody>tr:hover>td{background:#f8fbff}.filter-bar.panel{min-height:auto}.empty-state{display:grid;min-height:340px;place-items:center;align-content:center;gap:10px;padding:32px;text-align:center}.scan-panel h1,.auth-panel h1{margin-bottom:0;font-size:22px}.scan-panel p,.auth-panel p{max-width:560px;margin-bottom:0;color:var(--color-text-muted)}.auth-page,.mobile-shell{display:grid;min-height:100dvh;place-items:center;padding:18px}.auth-panel,.scan-panel{display:grid;width:min(100%,430px);gap:14px;padding:24px}.auth-options.ant-form-item{margin-bottom:0}.page-stack{display:flex;min-height:calc(100dvh - var(--primary-nav-height) - var(--topbar-height) - var(--content-block-padding));flex:1 1 auto;flex-direction:column;gap:16px}.page-stack:has(>.table-panel){height:calc(100dvh - var(--primary-nav-height) - var(--topbar-height) - var(--content-block-padding));min-height:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading h2{margin-bottom:0;font-size:17px}.section-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.section-search.ant-input,.section-search.ant-input-search{width:280px}.filter-bar{display:grid;align-items:end;gap:14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.filter-bar>.ant-form-item{margin-bottom:0}.filter-actions .ant-form-item-control-input-content{display:flex;justify-content:flex-end}.filter-actions .ant-space{width:100%;justify-content:flex-end}.filter-bar .section-search,.filter-bar .section-filter-control{width:100%}.modal-filter-panel{margin-bottom:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);padding:12px}.stock-filter-form.ant-form{display:grid;align-items:end;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stock-filter-form .ant-form-item,.order-advanced-search.ant-form{margin-bottom:0}.order-page{--order-primary: #1677ff;--order-primary-soft: #f0f6ff;--order-surface: #ffffff;--order-surface-muted: #f9fbfd;--order-text: #172033;--order-text-secondary: #667085;--order-text-tertiary: #98a2b3;--order-border: #e6eaf0;--order-border-strong: #d7dde7;height:calc(100dvh - var(--primary-nav-height) - var(--topbar-height) - var(--content-block-padding));min-height:0;gap:16px}.order-page>.panel{border-color:var(--order-border);box-shadow:none}.order-filter-panel.panel{border-radius:12px;padding:16px}.order-filter-panel .order-advanced-search{grid-template-columns:1.1fr 1fr .9fr 1fr auto}.order-filter-panel .ant-form-item-label{padding-bottom:6px}.order-filter-panel .ant-form-item-label>label{height:auto;color:var(--order-text-secondary);font-size:12px;font-weight:500}.order-filter-panel .ant-input,.order-filter-panel .ant-select-selector,.order-filter-panel .ant-btn{min-height:36px;border-color:var(--order-border-strong);border-radius:8px}.order-filter-panel .ant-select-single{height:36px}.order-filter-panel .ant-select-single .ant-select-selector{align-items:center}.order-filter-panel .ant-input-affix-wrapper .ant-input{min-height:0}.order-master-detail{display:grid;min-height:0;flex:1 1 auto;gap:16px;grid-template-columns:minmax(0,1fr) minmax(360px,.37fr)}.order-master-detail>.panel{min-width:0;min-height:0}.order-list-panel.panel{border-radius:12px;padding:0}.order-list-panel>.section-heading{min-height:66px;align-items:flex-start;margin:0;padding:16px 18px 12px}.order-list-panel>.section-heading h2{color:var(--order-text);font-size:16px;font-weight:650;line-height:1.35}.order-list-panel>.section-heading .section-description{margin:3px 0 0;color:var(--order-text-tertiary);font-size:12px;line-height:1.4}.order-list-panel>.section-heading .ant-btn{min-height:36px;border-radius:8px}.order-list-panel>.ant-table-wrapper{padding:0 14px}.order-list-panel .ant-table{color:var(--order-text-secondary);font-size:12px}.order-list-panel .ant-table-container{border-top:0!important;border-inline-start:0!important;border-radius:0!important}.order-list-panel .ant-table-thead>tr>th{height:40px;border-bottom:1px solid var(--order-border)!important;border-inline-end:0!important;background:var(--order-surface-muted)!important;color:#475467;font-size:12px;font-weight:600;padding:0 10px;white-space:nowrap}.order-list-panel .ant-table-tbody>tr>td{height:48px;border-bottom:1px solid var(--order-border)!important;border-inline-end:0!important;color:var(--order-text-secondary);font-size:12px;padding:0 10px;white-space:nowrap}.order-list-panel>.ant-table-wrapper .ant-table-pagination.ant-pagination{min-height:56px;align-items:center;margin:auto -14px 0;border-top:0;background:var(--order-surface);gap:6px;padding:10px 14px}.order-list-panel .ant-pagination-total-text{margin-right:auto;color:var(--order-text-tertiary);font-size:12px}.order-list-panel .ant-pagination-item,.order-list-panel .ant-pagination-prev .ant-pagination-item-link,.order-list-panel .ant-pagination-next .ant-pagination-item-link{min-width:32px;height:32px;border-color:var(--order-border-strong);border-radius:6px;line-height:30px}.order-list-row{cursor:pointer}.order-list-row>td{transition:background-color .16s ease}.order-list-panel .ant-table-tbody>.order-list-row.is-selected>td,.order-list-panel .ant-table-tbody>.order-list-row.is-selected:hover>td{background:var(--order-primary-soft)}.order-list-panel .ant-table-tbody>.order-list-row.is-selected>td:first-child{box-shadow:inset 3px 0 0 var(--order-primary)}.order-list-panel .ant-table-tbody>.order-list-row:hover>td{background:#f8fbff}.order-list-row:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}.order-detail-panel.panel{overflow-y:auto;border-radius:12px;padding:18px}.order-detail-content{display:grid;min-width:0;min-height:100%;align-content:start;gap:0}.order-detail-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--order-border, #e6eaf0);padding-bottom:16px}.order-detail-title-group{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:8px}.order-detail-heading h2{margin-bottom:0;overflow-wrap:anywhere;color:var(--order-text, #172033);font-size:16px;font-weight:650;line-height:1.35}.order-detail-content .ant-tag{min-height:22px;margin:0;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;padding-inline:7px}.order-detail-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;margin-top:auto;border-top:1px solid var(--order-border, #e6eaf0);padding-top:14px}.order-detail-actions .ant-btn{min-width:0;min-height:36px;flex:1 1 0;border-color:var(--order-border-strong, #d7dde7);border-radius:8px;gap:4px;padding-inline:4px;font-size:12px}.order-detail-primary-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:12px;padding:14px 0}.order-detail-primary-facts>div{display:grid;min-width:0;align-content:center;gap:4px}.order-detail-primary-facts dt,.order-detail-plan-facts dt{color:var(--order-text-tertiary, #98a2b3);font-size:12px}.order-detail-primary-facts dd,.order-detail-plan-facts dd{margin:0;overflow-wrap:anywhere;color:var(--order-text, #172033);font-size:14px;font-weight:400}.order-detail-progress{display:grid;gap:8px;border-top:1px solid var(--order-border, #e6eaf0);padding:14px 0}.order-detail-progress__heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.order-detail-progress h3,.order-detail-progress strong{margin:0;color:var(--order-text, #172033);font-size:14px}.order-detail-progress strong,.order-detail-progress>span{font-variant-numeric:tabular-nums}.order-detail-progress>span{color:var(--order-text-tertiary, #98a2b3);font-size:12px}.order-detail-section{display:grid;gap:12px;border-top:1px solid var(--order-border, #e6eaf0);padding:14px 0}.order-detail-section h3{margin:0;color:var(--order-text, #172033);font-size:14px;font-weight:650}.order-detail-plan-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:10px}.order-detail-plan-facts>div{display:grid;min-width:0;align-content:center;gap:3px;border-radius:8px;background:var(--order-surface-muted, #f9fbfd);padding:10px}.order-detail-status-note p{margin:0;color:var(--order-text-secondary, #667085);font-size:13px;line-height:1.6}.order-advanced-search-actions .ant-form-item-control-input{min-height:32px}.modal-form{display:grid;align-items:stretch;grid-template-columns:minmax(0,1fr)}.modal-form .ant-form-item{margin-bottom:14px}.modal-form .ant-input-textarea-show-count{margin-bottom:24px}.modal-static-group{display:grid;gap:8px;margin-bottom:16px}.modal-static-group>span{color:var(--color-text);font-size:14px;font-weight:500}.warehouse-location-manager{gap:16px}.warehouse-location-form{border-top:1px solid var(--color-border);padding-top:16px}.warehouse-location-form-heading.section-heading,.stock-document-items-heading.section-heading{margin-bottom:10px}.stock-document-items-heading h2,.warehouse-location-form-heading h2{font-size:15px}.stock-document-option-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--color-text-muted);font-size:12px}.stock-document-detail-select{min-width:150px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.modal-form-error{margin-bottom:14px}.permission-checkbox-list{display:grid;gap:10px}.permission-checkbox-list .ant-checkbox-wrapper{margin-inline-start:0}.permission-option{display:grid;gap:2px;line-height:1.32}.role-permission-modal{gap:10px}.role-permission-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);padding:8px 12px}.role-permission-eyebrow{display:block;margin-bottom:1px;color:var(--color-text-muted);font-size:12px}.role-permission-title{color:var(--color-text);font-size:15px;font-weight:650}.role-permission-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:2px;color:var(--color-text-muted);font-size:12px}.permission-groups{display:grid;gap:8px}.permission-group{overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.permission-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--color-border);background:var(--color-surface-muted);padding:7px 10px}.permission-group-header h3{margin:0;font-size:14px}.permission-option-list{display:grid;gap:0}.permission-option-list--single{grid-template-columns:minmax(0,1fr)}.permission-option-row.ant-checkbox-wrapper{display:flex;align-items:flex-start;gap:8px;min-height:44px;margin-inline-start:0;border-bottom:1px solid var(--color-border);padding:7px 10px}.permission-option-row.ant-checkbox-wrapper:last-child{border-bottom:0}.permission-option-row .ant-checkbox{margin-top:3px}.permission-option-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--color-text);font-weight:600}.permission-option-code,.permission-option-description{color:var(--color-text-muted);font-size:12px}@media(max-width:720px){.role-permission-summary,.permission-group-header{align-items:stretch;flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.order-sku-section{display:grid;gap:12px;margin-bottom:16px}.order-sku-heading.section-heading{margin-bottom:0}.order-sku-heading h2{font-size:15px}.order-sku-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.order-sku-toolbar .ant-form-item{margin-bottom:0}.order-bulk-quantity-field{width:220px}.order-progress-cell{display:block;width:100px;min-width:0;max-width:100%}.batch-record-drawer .ant-drawer-content,.production-box-detail-drawer .ant-drawer-content{background:var(--color-background)}.batch-record-drawer .ant-drawer-header,.production-box-detail-drawer .ant-drawer-header{border-bottom:1px solid var(--color-border);background:var(--color-surface)}.batch-record-drawer .ant-drawer-body,.production-box-detail-drawer .ant-drawer-body{display:grid;align-content:start;gap:14px;grid-template-columns:minmax(0,1fr);min-width:0;overflow-x:hidden;padding:16px}.batch-record-drawer .ant-drawer-body>*,.production-box-detail-drawer .ant-drawer-body>*{min-width:0}.batch-record-drawer .ant-table-wrapper{max-width:100%}.production-box-detail{display:grid;gap:14px}.production-box-detail__qr{display:flex;align-items:center;gap:14px;border:1px solid var(--color-border-soft);border-radius:8px;background:#f8fafc;padding:12px}.production-box-detail__qr>span{display:grid;width:116px;height:116px;flex:0 0 auto;place-items:center;border-radius:8px;background:#fff}.detail-section{display:grid;gap:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--shadow-panel);padding:14px}.detail-section__heading.section-heading{margin-bottom:0}.detail-section__heading h2{font-size:15px}.trace-summary{display:grid;gap:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--shadow-panel);padding:14px}.trace-summary__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.trace-summary__header>div{display:grid;min-width:0;gap:3px}.trace-summary__label,.trace-fact span{color:var(--color-text-muted);font-size:12px}.trace-summary__header strong{overflow:hidden;color:var(--color-text);font-size:15px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.trace-summary__products{overflow:hidden;color:var(--color-text-muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.trace-fact-grid{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.trace-fact{display:grid;gap:4px;min-height:66px;align-content:center;border:1px solid var(--color-border-soft);border-radius:8px;background:#f8fafc;padding:10px}.trace-fact strong{color:var(--color-text);font-size:17px;font-variant-numeric:tabular-nums;line-height:1.25;overflow-wrap:anywhere}.trace-fact-grid--box{grid-template-columns:repeat(2,minmax(0,1fr))}.order-trace-page{display:grid;min-height:0;align-content:start;gap:14px;grid-template-rows:max-content minmax(480px,1fr);overflow:auto}.order-trace-summary,.order-trace-batches-panel{overflow:hidden;border:1px solid var(--order-border);border-radius:12px;background:var(--order-surface)}.order-trace-title-row{display:flex;min-height:80px;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px 10px}.order-trace-title{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:10px}.order-trace-title h1,.order-trace-title strong,.order-trace-batches-heading h2{margin:0;color:var(--order-text)}.order-trace-title h1{font-size:22px;font-weight:650;line-height:1.3}.order-trace-title strong{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:18px;font-weight:500}.order-trace-title-row>.ant-btn{min-height:36px;border-color:var(--order-border-strong);border-radius:8px}.order-trace-meta,.order-trace-facts,.batch-record-facts{margin:0}.order-trace-meta{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:12px 24px;padding:0 22px 14px}.order-trace-meta>div{display:flex;min-width:0;gap:12px}.order-trace-meta dt,.order-trace-facts dt,.batch-record-facts dt{color:var(--order-text-secondary)}.order-trace-meta dd,.order-trace-facts dd,.batch-record-facts dd{margin:0;color:var(--order-text);font-variant-numeric:tabular-nums}.order-trace-meta dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-trace-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--order-border)}.order-trace-facts>div{display:grid;min-height:112px;align-content:center;gap:6px;padding:16px 24px}.order-trace-facts>div+div{border-left:1px solid var(--order-border)}.order-trace-facts dt{font-size:12px}.order-trace-facts dd{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:23px;line-height:1.15}.order-trace-batches-panel{display:flex;min-height:0;flex-direction:column}.order-trace-batches-heading{display:flex;min-height:86px;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px 12px}.order-trace-batches-heading h2{font-size:18px;font-weight:650}.order-trace-batches-heading p{margin:5px 0 0;color:var(--order-text-secondary);font-size:12px}.order-trace-batch-filter.ant-form{display:grid;width:min(100%,460px);flex:0 1 auto;grid-template-columns:minmax(220px,1fr) 150px;gap:10px}.order-trace-batch-filter .ant-input-affix-wrapper,.order-trace-batch-filter .ant-select-selector{min-height:36px;border-color:var(--order-border-strong);border-radius:8px}.order-trace-batch-filter .ant-select-single{height:36px}.order-trace-error{margin:0 22px 12px}.order-trace-batches-panel>.ant-table-wrapper{min-height:0;border-top:1px solid var(--order-border)}.production-batch-table--trace .ant-table{color:var(--order-text-secondary);font-size:12px;font-variant-numeric:tabular-nums}.production-batch-table--trace .ant-table-container{border:0!important;border-radius:0!important}.production-batch-table--trace .ant-table-thead>tr>th{height:40px;color:#475467;background:var(--order-surface-muted);font-weight:600}.production-batch-table--trace .ant-table-tbody>tr>td{height:84px}.production-batch-table--trace .ant-table-tbody>tr:hover>td{background:#f8fbff!important}.order-trace-batches-panel.table-panel>.production-batch-table--trace.ant-table-wrapper .ant-table-pagination.ant-pagination{min-height:58px;align-items:center;margin:auto 0 0;padding:10px 22px}.order-list-progress.ant-progress{width:100px;line-height:1}.order-list-progress .ant-progress-inner,.order-list-progress .ant-progress-bg{height:6px!important}.order-list-progress .ant-progress-inner{background:#edf1f6}.order-list-progress .ant-progress-text{color:#667085;font-size:12px}.app-modal .ant-modal-body{max-height:calc(100dvh - 160px);overflow-y:auto}.full-width{width:100%}.tag-input-row.ant-space-compact{display:flex;width:100%}.tag-input-row .ant-input{min-width:0}.tag-list{display:flex;min-height:32px;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.tag-list--compact{min-height:0;gap:6px;margin-bottom:0}.tag-list-empty,.muted-text{color:var(--color-text-muted)}.tag-item{display:inline-flex;align-items:center;gap:6px;padding-right:4px}.tag-item button{display:inline-grid;width:18px;height:18px;place-items:center;border:0;border-radius:999px;background:transparent;color:inherit;padding:0}.tag-item button:hover{background:#00000014}.sku-expand-panel{display:grid;gap:12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:12px}.sku-expand-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sku-expand-heading span{color:var(--color-text-muted);font-size:12px}.sku-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.sku-grid-item{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted);padding:8px 10px}.form-error,.error-panel{border:1px solid rgb(239 68 68 / .28);border-radius:8px;background:#ef44441a;color:#991b1b;padding:12px 14px}.loading-panel{display:grid;min-height:180px;place-items:center;color:var(--color-text-muted)}.hourly-chart{min-height:286px;font-variant-numeric:tabular-nums}.hourly-chart__loading{display:grid;min-height:224px;place-items:center;color:var(--color-text-muted)}.numeric,.mono,.metric-tile strong{font-variant-numeric:tabular-nums}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.batch-qr{display:grid;width:52px;min-width:52px;min-height:52px;place-items:center}.batch-qr-button{display:inline-grid;width:56px;min-height:56px;padding:2px;border:1px solid var(--color-border);border-radius:6px;background:transparent;color:inherit;cursor:pointer;place-items:center}.batch-qr-button:hover,.batch-qr-button:focus-visible{border-color:var(--color-border);background:var(--color-surface-muted);outline:none}.batch-qr-preview{display:grid;gap:12px;justify-items:center;max-width:100%;padding:16px 0 6px;text-align:center;font-variant-numeric:tabular-nums}.batch-qr-preview .ant-qrcode{width:min(360px,calc(100vw - 96px))!important;height:min(360px,calc(100vw - 96px))!important}.batch-qr-preview .ant-qrcode svg{width:100%!important;height:100%!important}.batch-status-steps{min-width:248px}.batch-status-steps .ant-steps-item-title{font-size:12px;line-height:1.4}.batch-status-steps .ant-steps-inline{width:100%}.batch-status-steps .ant-steps-inline .ant-steps-item{--ant-cmp-steps-icon-size: 12px;--ant-cmp-steps-icon-size-active: 12px}.batch-record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.batch-record-facts>div{display:grid;min-width:0;gap:3px;border-radius:8px;background:var(--color-surface-muted);padding:10px}.batch-record-facts dt{font-size:12px}.batch-record-facts dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-record-list{margin:0;border-top:1px solid var(--color-border);padding:0;list-style:none}.batch-record-list li{display:grid;grid-template-columns:128px minmax(0,1fr) auto;gap:12px;border-bottom:1px solid var(--color-border);padding:14px 0}.batch-record-list time,.batch-record-list em,.batch-record-list span{color:var(--color-text-muted);font-size:12px;font-style:normal}.batch-record-list time{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.batch-record-list div{display:grid;min-width:0;gap:3px}.batch-record-list strong{color:var(--color-text);font-size:13px}.batch-record-pagination.ant-pagination{justify-content:flex-end;margin-top:2px}.metric-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.metric-tile{min-height:112px}.metric-tile .ant-card-body{padding:16px}.dashboard-page{gap:14px}.dashboard-summary{display:grid;gap:8px}.dashboard-summary-status{display:flex;min-height:20px;align-items:center;justify-content:flex-end;gap:8px;padding:0 2px;color:var(--color-text-muted);font-size:12px}.dashboard-summary-status .ant-badge-status-text{color:var(--color-text-muted);font-size:12px}.dashboard-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:var(--shadow-panel)}.dashboard-summary-item{display:grid;min-width:0;min-height:120px;align-content:center;padding:18px 20px}.dashboard-summary-item+.dashboard-summary-item{border-left:1px solid var(--color-border-soft)}.dashboard-summary-label{display:inline-flex;align-items:center;color:var(--color-text-muted);font-size:13px;font-weight:600}.dashboard-summary-item>strong,.dashboard-summary-link>strong{display:block;margin:7px 0 5px;color:var(--color-text);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.15}.dashboard-summary-item>strong small,.dashboard-summary-link>strong small{color:var(--color-text-subtle);font-size:15px;font-weight:500}.dashboard-summary-link{display:grid;min-width:0;align-content:center;color:inherit;text-decoration:none}.dashboard-summary-link:hover .dashboard-summary-label,.dashboard-summary-link:focus-visible .dashboard-summary-label{color:var(--color-primary-text)}.dashboard-summary-meta,.dashboard-summary-device-status{color:var(--color-text-subtle);font-size:12px;line-height:18px}.dashboard-summary-device-status{display:block;width:100%;padding:0 2px}.dashboard-summary-device-status--success{color:#389e0d;background:#f0f8e9}.dashboard-summary-device-status--warning{color:#ad6800;background:#fff7e6}.dashboard-summary-device-status--danger{color:var(--color-danger);background:#fff1f0}.dashboard-summary-device-status--neutral{background:var(--color-surface-muted)}.dashboard-stage-panel{min-height:auto}.dashboard-command-grid{display:grid;align-items:stretch;gap:14px;grid-template-columns:minmax(560px,1.15fr) minmax(420px,.85fr)}.dashboard-command-grid>.panel{min-width:0;min-height:384px}.dashboard-command-grid .section-heading{margin-bottom:12px}.dashboard-section-heading{align-items:center;min-height:24px}.dashboard-stage-heading{align-items:flex-start}.dashboard-panel-action{flex:0 0 auto;color:var(--color-primary-text);font-size:14px;font-weight:500;line-height:24px}.dashboard-panel-action:hover{color:var(--color-primary-strong)}.section-description{margin:3px 0 0;color:var(--color-text-muted);font-size:12px}.section-unit{color:var(--color-text-subtle);font-size:12px;white-space:nowrap}.dashboard-step-table{overflow:hidden;border-top:1px solid var(--color-border-soft)}.dashboard-step-header,.dashboard-step-row{display:grid;grid-template-columns:minmax(0,.8fr) repeat(3,minmax(0,1fr)) minmax(110px,1.2fr);align-items:center;column-gap:16px;padding:0 4px}.dashboard-step-header{min-height:42px;border-bottom:1px solid var(--color-border-soft);color:var(--color-text-subtle);font-size:12px}.dashboard-step-row{position:relative;min-height:62px;border-bottom:1px solid var(--color-border-soft);color:var(--color-text-muted);font-size:14px;font-variant-numeric:tabular-nums;transition:background-color .16s ease}.dashboard-step-row:has(.dashboard-step-row__trigger:hover),.dashboard-step-row:has(.dashboard-step-row__trigger:focus-visible){background:color-mix(in srgb,var(--color-primary) 4%,var(--color-surface))}.dashboard-step-row__trigger{position:absolute;z-index:1;inset:3px 0;border:0;border-radius:6px;background:transparent;cursor:pointer}.dashboard-step-row__trigger:focus-visible{outline-offset:-2px}.dashboard-step-row__step{color:var(--color-text);font-size:14px;font-weight:600}.dashboard-step-row__value{font-variant-numeric:tabular-nums}.dashboard-step-row__progress{min-width:0}.dashboard-step-row__progress .ant-progress{margin:0;line-height:1}.dashboard-step-row__progress .ant-progress-inner,.dashboard-step-row__progress .ant-progress-bg{border-radius:999px}.dashboard-step-row__progress .ant-progress-bg{height:6px!important}.dashboard-trend-heading{align-items:flex-start}.dashboard-trend-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 12px;color:var(--color-text-muted);font-size:12px}.dashboard-trend-legend>span{display:inline-flex;align-items:center;gap:7px}.dashboard-trend-legend__marker{width:11px;height:11px;border-radius:3px}.dashboard-event-panel{min-height:auto;padding-top:15px;padding-bottom:14px}.dashboard-event-panel .dashboard-section-heading{margin-bottom:24px}.dashboard-lower-grid{display:grid;align-items:stretch;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-lower-grid>.panel{min-width:0}.dashboard-upcoming-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.dashboard-upcoming-list li+li{border-top:1px solid var(--color-border-soft)}.dashboard-upcoming-item{display:grid;grid-template-columns:26px minmax(0,1fr) 12px;align-items:center;gap:10px;padding:10px 4px;color:var(--color-text);text-decoration:none;transition:background-color .16s ease}.dashboard-upcoming-item:hover,.dashboard-upcoming-item:focus-visible{background:color-mix(in srgb,var(--color-primary) 4%,var(--color-surface))}.dashboard-upcoming-rank{align-self:start;padding-top:1px;color:var(--color-text-subtle);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:10px;font-weight:600}.dashboard-upcoming-main{display:grid;min-width:0;gap:3px}.dashboard-upcoming-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-upcoming-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-upcoming-title b{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.dashboard-upcoming-title time,.dashboard-upcoming-copy{color:var(--color-text-muted);font-size:11px}.dashboard-upcoming-title time{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-upcoming-detail{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.dashboard-upcoming-copy{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-upcoming-quantities{display:flex;flex:0 0 auto;gap:8px}.dashboard-upcoming-quantity{display:inline-flex;align-items:center;gap:4px;color:var(--color-text-muted);font-size:11px;font-variant-numeric:tabular-nums}.dashboard-upcoming-quantity small{min-width:24px;color:var(--color-primary-text);font-size:10px;font-weight:600}.dashboard-upcoming-quantity b{color:var(--color-text);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px}.dashboard-upcoming-action{color:var(--color-text-subtle);font-size:9px;transition:color .16s ease,transform .16s ease}.dashboard-upcoming-item:hover .dashboard-upcoming-action,.dashboard-upcoming-item:focus-visible .dashboard-upcoming-action{color:var(--color-primary-text);transform:translate(2px)}.dashboard-upcoming-skeleton{display:grid;gap:4px}.dashboard-upcoming-skeleton .ant-skeleton{border-bottom:1px solid var(--color-border-soft);padding:8px 4px}.dashboard-event-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--color-border-soft);border-bottom:1px solid var(--color-border-soft)}.dashboard-event-item{display:grid;min-width:0;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;background:var(--color-surface);padding:9px 0;color:var(--color-text);font-size:12px;text-decoration:none;transition:background-color .16s ease}.dashboard-event-item+.dashboard-event-item{border-left:1px solid var(--color-border-soft)}.dashboard-lower-grid .dashboard-event-strip{grid-template-columns:1fr}.dashboard-lower-grid .dashboard-event-item+.dashboard-event-item{border-top:1px solid var(--color-border-soft);border-left:0}.dashboard-event-item:hover,.dashboard-event-item:focus-visible{background:color-mix(in srgb,var(--color-primary) 4%,var(--color-surface))}.dashboard-event-item time{color:var(--color-text-muted);font-variant-numeric:tabular-nums}.dashboard-event-description{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-event-item strong{color:var(--color-text-muted);font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.dashboard-skeleton{display:grid;gap:16px}.dashboard-skeleton__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--color-border);border-radius:12px;background:var(--color-border-soft)}.dashboard-skeleton__summary .ant-skeleton-input{width:100%;height:112px;border-radius:0}.dashboard-skeleton__body{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(410px,1.2fr) minmax(310px,.82fr);gap:14px}.dashboard-skeleton__body>div{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);padding:18px}.dashboard-drawer-alert{margin-bottom:12px}.dashboard-step-drawer .ant-drawer-content-wrapper{max-width:100vw}.mobile-shell{align-items:start;background:var(--color-background)}.scan-panel{margin-top:24px}.scan-panel--wide{width:min(100%,520px)}.mobile-detail.ant-descriptions{border-radius:8px;overflow:hidden}.mobile-detail .ant-descriptions-item-label{width:42%;color:var(--color-text-muted)}.mobile-confirm{width:100%}.result-panel{display:flex;min-height:52px;align-items:center;gap:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);padding:12px}.table-panel>.ant-spin-nested-loading{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.table-panel>.ant-spin-nested-loading>.ant-spin-container{min-height:0;flex:1 1 auto;overflow:auto}.device-card-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.device-card{display:grid;min-height:178px;align-content:start;gap:10px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);padding:0}.device-card__main{display:grid;min-height:132px;align-content:start;gap:8px;border:0;border-radius:8px 8px 0 0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:14px 14px 4px;text-align:left;transition:background-color .16s ease,box-shadow .16s ease}.device-card__main:hover,.device-card__main:focus-visible{background:#f8fbff;box-shadow:inset 0 0 0 2px #1677ff3d}.device-card__header,.device-card__footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.device-card__name{font-weight:650}.device-card__meta,.device-card__footer{color:var(--color-text-muted);font-size:12px}.device-card__actions{border-top:1px solid var(--color-border);padding:10px 14px 12px}.device-card-pagination.ant-pagination{margin:auto -18px 0;border-top:1px solid var(--color-border);background:var(--color-surface);justify-content:flex-end;padding:12px 18px;text-align:right}.device-detail{display:grid;gap:14px}.device-detail__actions{justify-content:flex-end}@media(max-width:1199px){.order-master-detail{grid-template-columns:minmax(0,1fr)}.order-detail-panel{display:none}.order-detail-drawer .ant-drawer-body{padding:16px}}@media(max-width:380px){.order-detail-actions{flex-wrap:wrap}.order-detail-actions .ant-btn{flex-basis:calc(50% - 3px)}}@media(max-width:1024px){.order-filter-panel .order-advanced-search,.order-trace-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.order-trace-batches-heading{align-items:stretch;flex-direction:column}.order-trace-batch-filter.ant-form{width:100%}.order-filter-panel .order-advanced-search-actions{grid-column:1 / -1}.order-filter-panel .order-advanced-search-actions .ant-space{justify-content:flex-start}}@media(max-width:1200px){.dashboard-command-grid,.dashboard-skeleton__body{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-skeleton__body>div:nth-child(3){grid-column:1 / -1}}@media(max-width:1100px){.dashboard-command-grid,.dashboard-lower-grid{grid-template-columns:1fr}}@media(max-width:960px){.dashboard-summary-strip,.dashboard-skeleton__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary-item:nth-child(3){border-top:1px solid var(--color-border-soft);border-left:0}.dashboard-summary-item:nth-child(4){border-top:1px solid var(--color-border-soft)}.dashboard-skeleton__body{grid-template-columns:1fr}.dashboard-skeleton__body>div:nth-child(3){grid-column:auto}}@media(max-width:820px){.dashboard-event-strip{grid-template-columns:1fr}.dashboard-event-item+.dashboard-event-item{border-top:1px solid var(--color-border-soft);border-left:0}}@media(max-width:640px){.dashboard-summary-strip,.dashboard-skeleton__summary{grid-template-columns:1fr}.dashboard-step-table{overflow-x:auto}.dashboard-step-header,.dashboard-step-row{min-width:620px}.dashboard-summary-item+.dashboard-summary-item{border-top:1px solid var(--color-border-soft);border-left:0}.dashboard-summary-label,.dashboard-summary-status,.dashboard-summary-status .ant-badge-status-text,.dashboard-step-header,.dashboard-step-row,.dashboard-trend-legend,.dashboard-upcoming-rank,.dashboard-upcoming-title b,.dashboard-upcoming-title time,.dashboard-upcoming-copy,.dashboard-upcoming-quantity,.dashboard-upcoming-quantity small,.dashboard-upcoming-quantity b,.dashboard-event-item{font-size:14px}.dashboard-upcoming-detail{align-items:flex-start;flex-direction:column;gap:4px}.dashboard-upcoming-title{align-items:flex-start;flex-direction:column;gap:2px}}@media(max-width:1024px){:root{--sidebar-width: 68px}.topbar-search.ant-select{width:200px}}@media(max-width:768px){:root{--sidebar-width: 0px;--topbar-height: 56px;--primary-nav-height: 53px;--content-block-padding: 32px}.order-filter-panel .order-advanced-search{grid-template-columns:minmax(0,1fr)}.order-filter-panel .order-advanced-search-actions{grid-column:auto}.order-trace-page{height:auto;grid-template-rows:max-content minmax(480px,1fr)}.order-trace-title-row,.order-trace-meta,.order-trace-batches-heading{padding-inline:14px}.order-trace-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.order-trace-facts>div{min-height:82px;padding:12px 14px}.order-trace-facts>div+div{border-left:0}.order-trace-facts>div:nth-child(2n){border-left:1px solid var(--order-border)}.order-trace-facts>div:nth-child(n+3){border-top:1px solid var(--order-border)}.order-trace-batch-filter.ant-form{grid-template-columns:minmax(0,1fr)}.batch-record-list li{grid-template-columns:96px minmax(0,1fr)}.batch-record-list em{grid-column:2}.app-shell{display:block;grid-template-columns:1fr}.primary-sidebar{position:sticky;top:0;z-index:30;display:grid;width:100%;height:53px;grid-template-columns:48px minmax(0,1fr);border-right:0;border-bottom:1px solid var(--color-border)}.brand{display:grid;height:52px}.brand-logo{width:30px;height:30px}.primary-nav{display:flex;flex-direction:row;align-items:center;gap:4px;overflow-x:auto;overflow-y:hidden;padding:6px 8px;scrollbar-width:none}.primary-nav::-webkit-scrollbar{display:none}.primary-nav-item{display:grid;width:40px;min-width:40px;height:40px;min-height:40px;flex:0 0 auto}.primary-nav-icon{display:grid}.rail-exit.ant-btn{display:none}.topbar{top:53px;height:var(--topbar-height);padding:0 12px}.topbar-actions{flex-wrap:nowrap}.topbar-search.ant-select{display:none}.main-column{min-height:calc(100dvh - var(--primary-nav-height))}.content{padding:16px}.section-heading{align-items:flex-start;flex-direction:column}.dashboard-trend-heading{width:100%;flex-direction:row}.section-actions{width:100%;align-items:stretch;flex-direction:column}.section-search.ant-input,.section-search.ant-input-search,.section-filter-control{width:100%}.filter-bar{grid-template-columns:1fr}.page-stack,.page-stack:has(>.table-panel){height:auto;min-height:0}.panel{padding:14px}.trace-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-panel>.ant-table-wrapper .ant-table-pagination.ant-pagination,.device-card-pagination.ant-pagination{justify-content:flex-end;overflow-x:auto;margin-right:-14px;margin-bottom:0;margin-left:-14px;padding-right:14px;padding-left:14px}.tag-input-row.ant-space-compact{display:grid;gap:8px}.tag-input-row.ant-space-compact .ant-input,.tag-input-row.ant-space-compact .ant-btn{border-radius:6px;width:100%}}
