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)}@-ms-viewport{width:device-width}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;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}mark{padding:.2em;background-color:#feffe6}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}#app{width:100%;height:100%}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}body{font-size:13px;line-height:1.6;color:#2c3e50}h1{font-size:20px;font-weight:500;margin:0 0 12px}h2{font-size:17px;font-weight:500;margin:0 0 10px}h3{font-size:15px;font-weight:500;margin:0 0 8px}h4{font-size:14px;font-weight:500;margin:0 0 6px}h5{font-size:13px;font-weight:500;margin:0 0 4px}.ant-card{border-radius:4px;box-shadow:0 1px 4px #00000014}.ant-card-head{border-bottom:1px solid #e8e8e8;padding:12px 16px;min-height:auto}.ant-card-head-title{font-size:14px;font-weight:500;padding:0}.ant-card-body{padding:16px;font-size:13px}.ant-card-small>.ant-card-head{padding:10px 14px}.ant-card-small>.ant-card-body{padding:12px}.ant-statistic{font-size:13px}.ant-statistic-title{font-size:13px;color:#666;margin-bottom:4px}.ant-statistic-content{font-size:20px;font-weight:500}.ant-statistic-content-prefix{font-size:18px;margin-right:4px}.ant-statistic-content-suffix{font-size:14px;margin-left:4px}.ant-table{font-size:12px}.ant-table-thead>tr>th{background:#fafafa;color:#333;font-weight:500;font-size:12px;padding:10px 12px}.ant-table-tbody>tr>td{padding:10px 12px;font-size:12px}.ant-btn{font-size:13px;height:30px;padding:4px 14px;border-radius:3px}.ant-btn-lg{font-size:14px;height:36px;padding:6px 18px}.ant-btn-sm{font-size:12px;height:24px;padding:2px 10px}.ant-form-item-label>label{font-size:13px;color:#333}.ant-input,.ant-select-selector,.ant-picker{font-size:13px;border-radius:3px}.ant-input{padding:4px 10px}.ant-input-lg{padding:6px 12px;font-size:14px}.ant-tag{font-size:12px;padding:0 6px;border-radius:2px}.ant-menu{font-size:13px}.ant-menu-item,.ant-menu-submenu-title{height:38px;line-height:38px;margin:0;padding:0 16px!important}.ant-breadcrumb{font-size:12px}.ant-alert{font-size:13px;padding:10px 14px;border-radius:3px}.ant-alert-message{font-size:13px;font-weight:500;margin-bottom:4px}.ant-alert-description{font-size:12px;line-height:1.6}.ant-descriptions-item-label{font-size:12px;color:#666;font-weight:400}.ant-descriptions-item-content{font-size:13px;color:#333}.ant-badge{font-size:11px}.ant-timeline-item-content{font-size:12px}.page-title{font-size:17px!important;font-weight:500!important;color:#2c3e50!important;margin:0 0 6px!important}.page-desc{font-size:12px!important;color:#8c8c8c!important;margin:0 0 16px!important}.operational-dashboard,.production-workorder,.okr-list,.performance-page{padding:12px 16px!important;max-width:100%!important}.chart-container{font-size:12px}:root{--primary-color: #d81e06;--primary-light: #ff6b6b;--primary-dark: #a81505;--primary-bg: rgba(216, 30, 6, .08);--primary-hover: rgba(216, 30, 6, .04);--success-color: #52c41a;--warning-color: #faad14;--danger-color: #ff4d4f;--info-color: #1890ff;--text-primary: #262626;--text-secondary: #595959;--text-tertiary: #8c8c8c;--border-color: #e8e8e8;--bg-gray: #fafafa;--bg-light: #ffffff;--gradient-red: linear-gradient(135deg, #d81e06 0%, #ff6b6b 100%);--gradient-blue: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);--gradient-green: linear-gradient(135deg, #52c41a 0%, #95de64 100%);--gradient-orange: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);--shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--shadow-primary: 0 4px 16px rgba(216, 30, 6, .2)}.sidebar .logo h2{font-size:16px!important;font-weight:500!important;margin:0 0 2px!important}.sidebar .logo p{font-size:11px!important;opacity:.7}.user-info .username{font-size:13px!important;margin-right:8px}.user-info .role-tag{font-size:11px!important;padding:0 6px}@media(max-width:1440px){body{font-size:12px}.ant-statistic-content{font-size:18px}}@media(max-width:1024px){.page-title{font-size:16px!important}.ant-statistic-content{font-size:16px}}.anticon,.ant-btn .anticon{font-size:13px}.metric-card .ant-card-body{padding:14px}.action-card{text-align:center}.action-card .anticon{font-size:36px!important;margin-bottom:10px}.action-card h3{font-size:14px!important;font-weight:500!important;margin:8px 0 4px!important}.action-card p{font-size:12px!important;color:#999!important;margin:0!important}.data-flow-stats .flow-stat-value{font-size:20px!important;font-weight:500!important}.data-flow-stats .flow-stat-label{font-size:11px!important}.system-status-card .system-name{font-size:13px!important;font-weight:500!important}.system-status-card .system-desc{font-size:11px!important}.system-status-card .system-time{font-size:10px!important}.workorder-card .workorder-no{font-size:13px!important}.workorder-card .card-row{font-size:12px!important}.production-workorder .ant-statistic{text-align:center}.production-workorder .ant-statistic-title{font-size:12px;margin-bottom:4px}.production-workorder .ant-statistic-content{font-size:18px}.qms-placeholder{padding:8px 0}.qms-data .ant-descriptions-item-label{font-weight:500;width:80px}.qms-data .ant-descriptions-item-content{word-break:break-all}.debug-window .debug-title{font-size:13px!important}.debug-window .log-entry{font-size:11px!important}.ant-card,.ant-btn,.ant-tag{transition:all .2s ease}.ant-card:hover{box-shadow:0 2px 8px #0000001a}.metric-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.ant-row[class*=ant-row-]{margin-left:-8px;margin-right:-8px}.ant-col[class*=ant-col-]{padding-left:8px;padding-right:8px}.ant-form-item{margin-bottom:16px}.ant-form-item-label{padding-bottom:4px}.mobile-screen{font-size:13px}.mobile-header h3{font-size:15px!important}.tab-item{font-size:12px!important}.ant-btn-primary{background:var(--gradient-red)!important;border:none!important;box-shadow:var(--shadow-sm);transition:all .3s cubic-bezier(.4,0,.2,1)!important}.ant-btn-primary:hover{opacity:.9;transform:translateY(-1px);box-shadow:var(--shadow-primary)!important}.ant-btn-primary:active{transform:translateY(0)}.ant-btn-link{color:var(--primary-color)!important}.ant-btn-link:hover{color:var(--primary-light)!important}.ant-card{transition:all .3s cubic-bezier(.4,0,.2,1);border:none!important}.ant-card:hover{box-shadow:var(--shadow-md)!important;transform:translateY(-2px)}.ant-statistic{transition:all .3s ease}.ant-statistic:hover{transform:translateY(-2px)}.ant-table-tbody>tr:hover>td{background:var(--primary-bg)!important}.ant-tag{border:none!important;font-weight:500}.ant-input:focus,.ant-input-focused,.ant-input-number:focus,.ant-input-number-focused,.ant-select-focused .ant-select-selector,.ant-picker-focused{border-color:var(--primary-color)!important;box-shadow:0 0 0 2px var(--primary-bg)!important}.ant-input:hover,.ant-input-number:hover,.ant-select:not(.ant-select-disabled):hover .ant-select-selector,.ant-picker:hover{border-color:var(--primary-light)!important}.ant-menu-item-selected{background:var(--primary-bg)!important;color:var(--primary-color)!important;font-weight:500!important}.ant-menu-item:hover:not(.ant-menu-item-selected){background:var(--primary-hover)!important;color:var(--primary-color)!important}.ant-pagination-item-active{background:var(--gradient-red)!important;border:none!important}.ant-pagination-item-active a{color:#fff!important}.ant-pagination-item:hover{border-color:var(--primary-color)!important}.ant-pagination-item:hover a{color:var(--primary-color)!important}.ant-switch-checked{background:var(--primary-color)!important}.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important}.ant-radio-checked .ant-radio-inner{border-color:var(--primary-color)!important}.ant-radio-checked .ant-radio-inner:after{background-color:var(--primary-color)!important}.ant-progress-bg,.ant-slider-track{background:var(--gradient-red)!important}.ant-slider-handle{border-color:var(--primary-color)!important}.ant-slider-handle:hover,.ant-slider-handle:focus{border-color:var(--primary-color)!important;box-shadow:0 0 0 4px var(--primary-bg)!important}.ant-rate-star-full svg{fill:var(--primary-color)!important}.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--primary-color)!important}.ant-tabs-ink-bar,.ant-badge-count{background:var(--primary-color)!important}.ant-spin-dot-item{background-color:var(--primary-color)!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f0f0f0;border-radius:4px}::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px;transition:background .3s ease}::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}.ant-modal-content{border-radius:8px!important;overflow:hidden}.ant-modal-header{border-bottom:1px solid #f0f0f0}.ant-modal-footer{border-top:1px solid #f0f0f0}.ant-drawer-header{border-bottom:1px solid #f0f0f0}.fade-in{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.gradient-text{background:var(--gradient-red);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.card-hover-effect{transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer}.card-hover-effect:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)!important}
