/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.\!container{width:100%!important}@media (min-width:40rem){.\!container{max-width:40rem!important}}@media (min-width:48rem){.\!container{max-width:48rem!important}}@media (min-width:64rem){.\!container{max-width:64rem!important}}@media (min-width:80rem){.\!container{max-width:80rem!important}}@media (min-width:96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.size-1{width:calc(var(--spacing) * 1);height:calc(var(--spacing) * 1)}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.ring,.shadow{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--bg:#e5eaf1;--panel:#f4f7fb;--panel-2:#eaf0f6;--line:#b8c4d2;--text:#0f172a;--muted:#475569;--cyan:#2563eb;--green:#34d399;--amber:#fbbf24;--red:#fb7185}*{box-sizing:border-box}body,html{min-height:100%;color:var(--text);margin:0;font-family:Arial,Microsoft YaHei,sans-serif}body,html{background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#08111fd1;height:100vh;padding:24px 18px;position:sticky;top:0}.brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.brand-mark{background:#38bdf81f;border:1px solid #38bdf873;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.brand-title{font-size:16px;font-weight:800}.brand-subtitle{color:var(--muted);margin-top:3px;font-size:12px}.nav{gap:8px;display:grid}.nav-link{color:#b8c7d9;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:0 12px;display:flex}.main{min-width:0;padding:22px 28px 42px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.eyebrow{color:var(--cyan);letter-spacing:0;font-size:12px;font-weight:700}h1,h2,h3{margin:0}.page-title{margin-top:6px;font-size:28px;line-height:1.2}.top-actions{align-items:center;gap:10px;display:flex}.role-pill,.status-pill{border:1px solid var(--line);color:#cbd5e1;white-space:nowrap;background:#0f172aa6;border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:0 10px;display:inline-flex}.role-button{cursor:pointer;font:inherit}.login-page{background:radial-gradient(circle at 20% 10%,#38bdf829,#0000 32%),#06111f;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{border:1px solid var(--line);background:#0f172ae0;border-radius:12px;gap:22px;width:min(420px,100%);padding:28px;display:grid;box-shadow:0 24px 70px #00000052}.login-title{margin-top:8px;font-size:30px}.login-form{gap:14px;display:grid}.login-form label{color:var(--muted);gap:7px;font-size:12px;display:grid}.login-form input,.user-inline-form input,.user-inline-form select,.user-reset-form input{border:1px solid var(--line);height:36px;color:var(--text);background:#08111fbf;border-radius:8px;padding:0 10px}.login-hint{color:var(--muted);font-size:12px}.form-error{color:#fecaca;font-size:12px}.form-success{color:#bbf7d0;font-size:12px}.status{border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;display:inline-flex}.status.ok{color:#bbf7d0;background:#22c55e29}.status.danger{color:#fecaca;background:#ef44442e}.status.info{color:#1d4ed8;background:#2563eb24}.user-actions,.user-inline-form,.user-reset-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.user-inline-form input{width:120px}.user-inline-form select{width:90px}.user-actions button,.user-inline-form button,.user-reset-form button{border:1px solid var(--line);min-height:30px;color:var(--text);cursor:pointer;background:#0f172abf;border-radius:8px;padding:0 10px}.user-actions button:hover,.user-inline-form button:hover,.user-reset-form button:hover{border-color:#38bdf89e}.user-actions button:disabled{cursor:not-allowed;opacity:.45}.production-plan-actions{flex-wrap:wrap;gap:5px;min-width:0;display:inline-flex}.production-plan-actions>button,.production-plan-inline-form button{min-height:26px;color:var(--text);cursor:pointer;background:#0f172ac7;border:1px solid #94a3b842;border-radius:6px;padding:0 8px;font-size:12px}.production-plan-actions>button:hover,.production-plan-inline-form button:hover{border-color:#38bdf89e}.production-plan-actions>button:disabled{cursor:progress;opacity:.58}.production-plan-inline-form{grid-template-columns:88px repeat(3,48px);align-items:center;gap:6px;max-width:100%;display:grid}.production-plan-inline-form input{border:1px solid var(--line);min-width:0;height:28px;color:var(--text);background:#08111fbf;border-radius:6px;padding:0 6px;font-size:12px}.production-plan-inline-form input[name=remark]{grid-column:1/-1}.production-plan-inline-form button{width:fit-content}.production-plan-inline-date{color:#dbeafe;white-space:nowrap;font-size:12px}.production-weekly-plan-table-wrap{overflow-x:visible}.production-weekly-plan-table{table-layout:fixed;width:100%;min-width:0}.production-weekly-plan-table td,.production-weekly-plan-table th{white-space:normal;overflow-wrap:anywhere;padding:8px 6px;font-size:12px}.production-weekly-plan-table td:first-child,.production-weekly-plan-table th:first-child{width:18%}.production-weekly-plan-table td:nth-child(2),.production-weekly-plan-table th:nth-child(2){width:13%}.production-weekly-plan-table td:nth-child(3),.production-weekly-plan-table td:nth-child(4),.production-weekly-plan-table td:nth-child(5),.production-weekly-plan-table th:nth-child(3),.production-weekly-plan-table th:nth-child(4),.production-weekly-plan-table th:nth-child(5){text-align:center;width:8%}.production-weekly-plan-table td:nth-child(6),.production-weekly-plan-table th:nth-child(6){width:26%}.production-weekly-plan-table td:nth-child(7),.production-weekly-plan-table th:nth-child(7){width:19%}.production-plan-slitting-header{align-items:flex-start;gap:12px}.production-plan-slitting-tools{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.production-plan-file-import{align-items:center;gap:8px;display:inline-flex}.production-plan-file-import input[type=file]{border:1px solid var(--line);background:var(--panel);color:#1f2937;border-radius:8px;height:34px;padding:0 10px}.production-plan-file-import input[type=file]::file-selector-button{color:#1f2937;cursor:pointer;background:#f8fafc;border:0;border-right:1px solid #cbd5e1;height:100%;margin:0 10px 0 -10px;padding:0 10px}.production-plan-file-import button,.slitting-plan-actions button{color:#1d4ed8;cursor:pointer;background:#2563eb1a;border:1px solid #2563eb59;border-radius:8px;min-height:32px;padding:0 10px}.production-plan-file-import button:hover,.slitting-plan-actions button:hover{background:#2563eb29;border-color:#2563eb99}.production-plan-import-summary{color:#bae6fd;background:#0e749024;border:1px solid #38bdf83d;border-radius:8px;margin:4px 0 12px;padding:8px 10px;font-size:12px}.slitting-plan-section{gap:10px;display:grid}.form-message{color:#bae6fd;font-size:12px}.mono-cell{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.slitting-plan-table-wrap{max-height:560px;overflow:auto}.slitting-plan-table{table-layout:fixed;border-spacing:0;width:max-content;min-width:max-content}.slitting-plan-col-device{width:34px}.slitting-plan-col-batch{width:84px}.slitting-plan-col-drawing{width:104px}.slitting-plan-col-name{width:120px}.slitting-plan-col-customer,.slitting-plan-col-days,.slitting-plan-col-plan-qty,.slitting-plan-col-total{width:52px}.slitting-plan-col-process,.slitting-plan-col-setup,.slitting-plan-col-shift{width:44px}.slitting-plan-col-date{width:76px}.slitting-plan-col-remark{width:180px}.slitting-plan-col-actions{width:60px}.slitting-plan-table td:first-child,.slitting-plan-table th:first-child{padding-left:4px;padding-right:4px}.slitting-plan-table th{z-index:2;background:#0d1a2b;position:sticky;top:0}.slitting-plan-table td{vertical-align:middle}.slitting-plan-table td,.slitting-plan-table th{padding-left:1px;padding-right:1px}.slitting-plan-table .slitting-plan-qty-cell{text-align:center;width:44px;min-width:44px;max-width:44px;padding-left:2px;padding-right:2px}.slitting-plan-table .slitting-plan-date-header{text-align:center}.slitting-plan-table .slitting-plan-qty-cell .slitting-plan-input.number{margin-left:auto;margin-right:auto;display:block}.slitting-plan-input{width:100%;min-width:0;height:30px;color:var(--text);background:#08111fbd;border:1px solid #94a3b838;border-radius:7px;padding:0 8px}.slitting-plan-input.short{text-align:center;width:24px;padding-left:4px;padding-right:4px}.slitting-plan-input.number{appearance:textfield;text-align:center;width:40px}.slitting-plan-input.number::-webkit-inner-spin-button,.slitting-plan-input.number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.slitting-plan-input.date{width:76px;padding-left:5px;padding-right:5px}.slitting-plan-input.remark{width:180px}.slitting-plan-actions{gap:6px;display:inline-flex}.slitting-plan-actions button{place-items:center;width:32px;padding:0;display:inline-grid}.slitting-plan-actions button:disabled{cursor:progress;opacity:.55}.slitting-machine-report{border-top:1px solid #94a3b829;gap:10px;margin-top:12px;padding-top:12px;display:grid}.slitting-machine-report-wrap{max-height:360px;overflow:auto}.slitting-machine-report-table{min-width:1320px}.slitting-machine-report-table thead th{z-index:2;background:var(--panel);position:sticky;top:0;box-shadow:0 1px #94a3b83d}.slitting-machine-report-table td,.slitting-machine-report-table th{text-align:center}.slitting-machine-report-table td:first-child,.slitting-machine-report-table th:first-child{text-align:left}.machine-report-input{text-align:center;width:72px}.machine-report-export{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.machine-report-save{color:#bae6fd;cursor:pointer;background:#38bdf81f;border:1px solid #38bdf852;border-radius:6px;place-items:center;width:30px;height:30px;display:inline-grid}.machine-report-save:disabled{cursor:progress;opacity:.55}.grid{gap:16px;display:grid}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.two-col{grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr)}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.quality-inspection-grid{align-items:start}.quality-item-row,.quality-items-grid{gap:8px;display:grid}.quality-item-row{grid-template-columns:minmax(96px,1fr) minmax(90px,.9fr) minmax(86px,.75fr) minmax(120px,1.2fr)}.quality-item-row input,.quality-item-row select{min-width:0}.section-subtitle{color:#dbeafe;margin:0 0 10px;font-size:14px;font-weight:800}.metric-card,.panel{border:1px solid var(--line);background:#101a2be0;border-radius:8px;box-shadow:0 16px 45px #00000038}.panel{padding:18px}.panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.panel-title{font-size:16px;font-weight:800}.panel-subtitle{color:var(--muted);margin-top:4px;font-size:12px}.dashboard-progress-header{align-items:flex-start}.dashboard-filter-bar{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:560px;display:flex}.dashboard-filter-bar button{color:#cbd5e1;cursor:pointer;white-space:nowrap;background:#0f172a9e;border:1px solid #94a3b842;border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:0 10px;font-size:12px;display:inline-flex}.dashboard-filter-bar button:hover,.dashboard-filter-bar button[aria-pressed=true]{color:#f8fbff;background:#38bdf826;border-color:#38bdf8ad}.dashboard-filter-bar strong{color:#f8fbff;background:#e2e8f01f;border-radius:999px;place-items:center;min-width:22px;height:20px;padding:0 6px;font-size:11px;display:inline-grid}.dashboard-status-list{align-items:start;gap:5px;display:grid}.dashboard-status-item{background:var(--panel-2);color:#334155;white-space:nowrap;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:7px;width:fit-content;min-height:24px;padding:0 8px;font-size:12px;line-height:1.2;display:inline-flex}.dashboard-status-item>span{background:#94a3b8;border-radius:999px;flex:none;width:7px;height:7px}.dashboard-status-item[data-tone=danger]>span{background:var(--red)}.dashboard-status-item[data-tone=danger]{color:#991b1b;background:#fff1f2;border-color:#fecaca}.dashboard-status-item[data-tone=active]>span{background:#86efac}.dashboard-status-item[data-tone=active]{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.dashboard-status-item[data-tone=pending]>span{background:#94a3b8}.dashboard-status-item[data-tone=pending]{color:#475569;background:#f8fafc;border-color:#cbd5e1}.dashboard-product-col{width:15em;min-width:15em}.dashboard-product-code{white-space:nowrap;max-width:none;display:inline-block}.dashboard-customer-col{width:8em;min-width:8em}.dashboard-customer-code{white-space:nowrap;max-width:none;display:inline-block}.dashboard-date-col{white-space:normal;width:37px;min-width:37px;max-width:37px;padding-left:2px;padding-right:2px}.dashboard-date-wrap{overflow-wrap:anywhere;text-align:center;line-height:1.1;display:inline-block}.dashboard-progress-table-wrap{max-height:960px;overflow:auto}.dashboard-progress-table-wrap thead th{z-index:4;color:#334155;background:#f8fafc;position:sticky;top:0}.production-batch-lookup{gap:5px;min-width:0;display:grid;position:relative}.production-batch-lookup span{color:var(--cyan);text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:calc(100% - 60px);font-size:12px;line-height:1.2;position:absolute;top:-21px;left:56px;overflow:hidden}.metric-card{min-height:132px;padding:16px}.metric-top{color:var(--muted);justify-content:space-between;gap:12px;font-size:13px;display:flex}.metric-value{margin-top:18px;font-size:32px;font-weight:800}.metric-foot{color:var(--muted);margin-top:10px;font-size:12px}.dashboard-todo-card{grid-template-rows:auto 1fr;gap:6px;display:grid}.dashboard-todo-textarea{resize:vertical;width:100%;height:100%;min-height:82px;color:var(--text);font:inherit;background:#08111f94;border:1px solid #94a3b842;border-radius:8px;padding:8px;font-size:13px;line-height:1.45}.dashboard-todo-textarea::placeholder{color:var(--muted)}.dashboard-todo-save{color:#dff6ff;cursor:pointer;background:#38bdf81f;border:1px solid #38bdf861;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;display:inline-grid}.dashboard-todo-save:disabled{cursor:default;opacity:.55}.equipment-status-card{position:relative}.equipment-status-body{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid}.equipment-status-actions{gap:6px;display:grid}.equipment-status-button{box-sizing:border-box;width:84px;min-width:84px;height:30px;color:var(--text);cursor:pointer;background:#0f172a9e;border:1px solid #94a3b852;border-radius:8px;justify-content:center;align-items:center;gap:3px;padding:0 5px;font-size:11px;line-height:1;display:inline-flex}.equipment-status-button strong{font-size:13px}.equipment-status-button[data-status=停机]{background:#f8717114;border-color:#f8717161}.equipment-status-button[data-status=维修]{background:#fbbf2414;border-color:#fbbf2461}.equipment-status-button[data-status=预警]{background:#38bdf814;border-color:#38bdf861}.equipment-status-button:hover{background:#38bdf824;border-color:#e2e8f09e}.slitting-metric-card{position:relative}.slitting-metric-body{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid}.slitting-action-stack{gap:6px;display:grid}.slitting-wip-button{box-sizing:border-box;width:84px;min-width:84px;height:34px;color:var(--text);cursor:pointer;text-align:center;background:#58a6ff14;border:1px solid #58a6ff52;border-radius:8px;justify-content:center;align-items:center;gap:3px;padding:0 5px;font-size:11px;line-height:1;display:inline-flex}.slitting-wip-button:hover{background:#58a6ff24;border-color:#58a6ff9e}.slitting-abnormal-button{border-color:#f8717157}.slitting-abnormal-button:hover{background:#f8717126;border-color:#f87171a8}.slitting-abnormal-button strong{color:#b91c1c}.slitting-completed-button{background:#dbeafeb8;border-color:#2563eb5c}.slitting-completed-button:hover{background:#bfdbfed1;border-color:#2563eb9e}.slitting-completed-button strong{color:#1d4ed8}.slitting-wip-button span{color:var(--muted);white-space:nowrap}.slitting-wip-button strong{margin-top:0;font-size:13px;line-height:1;display:inline}.more-operation-metrics{gap:12px;margin-top:12px;display:grid}.dashboard-operation-metrics{gap:12px;margin-top:16px;display:grid}.dashboard-operation-toggle{background:#2563eb14;border:1px solid #2563eb3d;border-radius:9px;justify-self:start;gap:4px;padding:4px;display:inline-flex}.dashboard-operation-toggle button{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:28px;padding:0 12px;font-size:12px;font-weight:800}.dashboard-operation-toggle button[aria-pressed=true]{color:#1d4ed8;background:#2563eb2e}.dashboard-operation-toggle button:hover{color:#1d4ed8}.more-operation-toggle{color:#1f2937;cursor:pointer;background:#2563eb14;border:1px solid #2563eb52;border-radius:8px;justify-self:start;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.more-operation-toggle:hover,.more-operation-toggle[aria-expanded=true]{color:#1d4ed8;background:#2563eb24;border-color:#2563eb8c}.more-operation-toggle svg{transition:transform .16s}.more-operation-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.more-operation-grid{animation:more-operation-reveal .14s ease-out}@keyframes more-operation-reveal{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.modal-backdrop{z-index:80;background:#020814b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--line);background:#101a2b;border-radius:8px;width:min(560px,100%);padding:18px;box-shadow:0 26px 80px #0000006b}.slitting-wip-modal{flex-direction:column;width:min(980px,100vw - 40px);max-height:calc(100vh - 40px);display:flex}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.modal-header h2{font-size:16px;font-weight:800}.modal-header p{color:var(--muted);margin-top:4px;font-size:12px}.modal-close{border:1px solid var(--line);width:28px;height:28px;color:var(--text);cursor:pointer;background:#ffffff0a;border-radius:8px;place-items:center;display:inline-grid}.modal-close:hover{background:#ffffff14}.slitting-wip-table{width:100%;min-width:760px}.slitting-wip-table td,.slitting-wip-table th{white-space:nowrap}.table-wrap{overflow-x:auto}.production-execution-insights{gap:12px;margin-top:14px;display:grid}.execution-insight-block{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;padding:12px}.execution-insight-heading{color:var(--muted);justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.execution-insight-heading>div:first-child{flex:1;min-width:0}.execution-insight-heading h3{color:var(--text);margin:0;font-size:14px;font-weight:800}.execution-insight-heading p{margin:4px 0 0;font-size:12px}.execution-title-row{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.execution-alert-list{gap:8px;max-height:360px;padding-right:2px;display:grid;overflow-y:auto}.execution-alert-history-list{max-height:620px}.execution-history-divider{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin:12px 0 8px;padding-top:10px;font-size:11px;display:flex}.execution-history-divider>div{align-items:baseline;gap:8px;display:flex}.execution-history-divider strong{color:var(--text);font-size:12px}.execution-history-tabs{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;display:flex}.execution-history-tab{background:var(--panel);color:var(--muted);cursor:pointer;text-align:left;border:1px solid #b8c4d2;border-radius:8px;align-items:baseline;gap:2px;min-width:0;padding:4px 7px;display:flex}.execution-history-tab span{color:var(--text);white-space:nowrap;font-size:12px;font-weight:800}.execution-history-tab small{color:var(--muted);font-size:10px}.execution-history-tab[aria-selected=true]{border-color:var(--cyan);background:#2563eb1a;box-shadow:0 0 0 2px #2563eb1f}.execution-alert-item{background:var(--panel);min-height:38px;color:var(--text);border:1px solid #cbd5e1;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;text-decoration:none;display:grid}.execution-alert-item:hover{border-color:var(--cyan);box-shadow:0 0 0 2px #2563eb1f}.execution-alert-dot{background:#f59e0b;border-radius:999px;width:8px;height:8px}.execution-alert-item[data-tone=danger] .execution-alert-dot{background:#ef4444}.execution-alert-main{gap:2px;min-width:0;display:grid}.execution-alert-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.execution-alert-main strong{white-space:normal;font-size:12px;font-weight:800;line-height:1.35}.execution-alert-item time,.execution-alert-main span{color:var(--muted);font-size:11px}.execution-empty{color:var(--muted);text-align:center;border:1px dashed #cbd5e1;border-radius:8px;padding:12px;font-size:12px}.execution-reminder-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.execution-reminder-card{background:var(--panel);border:1px solid #cbd5e1;border-radius:8px;min-width:0;padding:8px}.execution-reminder-card span{color:var(--muted);white-space:nowrap;font-size:11px;display:block}.execution-reminder-card strong{color:var(--text);margin-top:4px;font-size:18px;font-weight:900;display:block}.execution-reminder-foot{color:var(--muted);align-items:center;gap:6px;margin-top:10px;font-size:11px;display:flex}.slitting-waiting-table-wrap{max-height:calc(100vh - 180px);overflow:auto}.slitting-waiting-table-wrap thead th{z-index:1;position:sticky;top:0}table{border-collapse:collapse;width:100%;min-width:760px}.production-console-main-table{table-layout:fixed;width:100%;min-width:1180px}.production-console-col-code{width:126px}.production-console-col-product{width:150px}.production-console-col-customer{width:132px}.production-console-col-date{width:88px}.production-console-col-qty{width:58px}.production-console-col-priority{width:70px}.production-console-col-operations{width:410px}.production-console-main-table .production-product-col{width:auto;min-width:0;max-width:none}.production-console-main-table .production-product-name{white-space:normal;overflow-wrap:anywhere;max-width:100%;display:block}.production-console-main-table .production-product-code{text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}.production-console-resizable-th{position:relative;overflow:visible}.production-console-header-content{align-items:center;max-width:calc(100% - 8px);display:inline-flex}.production-console-column-resizer{z-index:7;cursor:col-resize;touch-action:none;width:7px;position:absolute;top:0;bottom:0;right:-3px}.production-console-column-resizer:after{content:"";background:0 0;border-radius:999px;width:2px;position:absolute;top:7px;bottom:7px;right:3px}.production-console-column-resizer.is-active:after,.production-console-column-resizer:hover:after{background:#2563eb}.production-console-column-resizing,.production-console-column-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}td,th{text-align:left;vertical-align:middle;border-bottom:1px solid #94a3b829;padding:8px 7px;font-size:12px}th{color:#9fb3c8;font-weight:700}td{color:#e6edf5}.production-product-col{width:120px;min-width:120px;max-width:120px}.production-product-name{display:block}.production-product-code{white-space:nowrap;max-width:none;display:block}.production-console-table td:nth-child(n+3):nth-child(-n+10),.production-console-table th:nth-child(n+3):nth-child(-n+10){padding-left:3px;padding-right:3px}.production-console-wrap{overflow-anchor:none;min-height:340px;max-height:1480px;overflow:auto}.production-console-empty-cell{vertical-align:top}.production-console-empty-space{height:220px}.production-console-scroll-shell{position:relative}.production-console-scroll-jumps{z-index:8;gap:6px;display:grid;position:absolute;top:48px;right:10px}.production-console-scroll-jumps button{color:#bae6fd;cursor:pointer;background:#08111fe6;border:1px solid #38bdf873;border-radius:7px;place-items:center;width:26px;height:26px;display:inline-grid;box-shadow:0 8px 18px #02061747}.production-console-scroll-jumps button:hover:not(:disabled){color:#f8fbff;background:#0e74908c;border-color:#38bdf8c7}.production-console-scroll-jumps button:disabled{cursor:progress;opacity:.55}.production-console-search{z-index:80;border:1px solid var(--line);background:var(--panel);width:min(620px,100vw - 32px);max-width:calc(100vw - 32px);color:var(--text);border-radius:8px;align-items:center;gap:6px;padding:7px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 32px #0f172a2e}.production-console-search input{border:1px solid var(--line);background:var(--panel-2);width:190px;min-width:120px;height:30px;color:var(--text);border-radius:7px;outline:none;padding:0 9px;font-size:13px}.production-console-search input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb2e}.production-console-search-count{min-width:52px;color:var(--muted);text-align:center;white-space:nowrap;font-size:12px}.production-console-search button{background:var(--panel-2);color:#334155;cursor:pointer;white-space:nowrap;border:1px solid #cbd5e1;border-radius:7px;justify-content:center;align-items:center;min-width:34px;height:30px;font-size:12px;display:inline-flex}.production-console-search button:hover:not(:disabled){color:#1d4ed8;background:#2563eb1f;border-color:#2563eb8c}.production-console-search button:disabled{cursor:progress;opacity:.52}.production-limit-note{margin:-4px 0 10px;font-size:12px}.production-virtual-note{margin:0;font-size:12px}.production-console-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:-2px 0 8px;display:flex}.production-console-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.production-export-button{color:#dff6ff;cursor:pointer;background:#0e749038;border:1px solid #38bdf873;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:30px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.production-export-button:hover{background:#0e749057;border-color:#7dd3fccc}.quick-report-trigger{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:32px;margin:-8px 0 16px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.quick-report-trigger:hover{background:#2563eb24;border-color:#2563eb8c}.quick-report-title span,.quick-report-trigger span{color:#64748b;border:1px solid #94a3b842;border-radius:999px;align-items:center;min-height:20px;padding:0 7px;font-size:11px;font-weight:700;display:inline-flex}.quick-report-dialog{z-index:95;border:1px solid var(--line);background:var(--panel);border-radius:10px;width:min(720px,100vw - 28px);max-height:calc(100vh - 28px);display:grid;position:fixed;overflow:hidden;box-shadow:0 28px 70px #0f172a2e}.quick-report-header{border-bottom:1px solid var(--line);background:var(--panel-2);cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.quick-report-title{align-items:center;gap:8px;display:inline-flex}.quick-report-title strong{color:#1f2937;font-size:14px}.quick-report-close{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;display:inline-grid}.quick-report-close:hover{background:#2563eb24;border-color:#2563eb8c}.quick-report-body{max-height:calc(100vh - 92px);padding:14px;overflow:auto}.quick-report-body .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-report-body .button{width:100%}.quick-report-completed{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;gap:8px;margin-top:12px;padding:10px;display:grid}.quick-report-completed-title{color:#1d4ed8;font-size:12px;font-weight:800}.quick-report-completed-list{gap:6px;max-height:164px;padding-right:4px;display:grid;overflow-y:auto}.quick-report-completed-item{background:var(--panel);color:#334155;border:1px solid #cbd5e1;border-radius:7px;grid-template-columns:minmax(92px,.9fr) minmax(120px,1.1fr) minmax(84px,.8fr) minmax(70px,.7fr) minmax(110px,.9fr) auto;align-items:center;gap:8px;min-height:30px;padding:6px 8px;font-size:12px;display:grid}.quick-report-completed-item strong{color:#1f2937}.quick-report-completed-item span,.quick-report-completed-item time{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.quick-report-completed-item time{color:var(--muted);text-align:right}.virtual-spacer-row td{border:0;padding:0}.trace-order-table-wrap{max-height:790px}.trace-order-table{min-width:1040px}.trace-order-table thead th{background:var(--panel-2);color:var(--text)}.trace-operation-toggle{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700}.trace-restore-button{color:#1d4ed8;white-space:nowrap;background:#dbeafe;border:1px solid #93c5fd;padding:5px 10px}.trace-restore-button:hover:not(:disabled){background:#bfdbfe}.trace-restore-button:disabled{cursor:wait;opacity:.65}.trace-restore-error{color:#991b1b;background:#fee2e2;border:1px solid #fca5a5;border-radius:6px;margin:8px 0;padding:8px 10px}.trace-operation-row td{background:#2563eb0a}.trace-operation-list{flex-wrap:wrap;gap:8px;padding:8px 0;display:flex}.trace-operation-chip{border:1px solid var(--line);background:var(--panel);color:var(--text);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:5px 8px;font-size:12px;display:inline-flex}.trace-operation-chip em{color:var(--muted);font-style:normal}.production-console-table thead th{z-index:5;background:#101a2bfa;position:sticky;top:0}.excel-filter-header{align-items:center;gap:4px;display:inline-flex;position:relative}.excel-filter-trigger{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:6px;place-items:center;width:20px;height:20px;padding:0;display:inline-grid}.excel-filter-trigger:hover,.excel-filter-trigger[aria-pressed=true]{color:#1d4ed8;background:#2563eb24;border-color:#2563eb8c}.excel-filter-menu{z-index:30;background:var(--panel);border:1px solid #cbd5e1;border-radius:10px;gap:8px;width:210px;min-width:240px;max-width:min(320px,100vw - 24px);padding:10px;display:grid;position:absolute;top:26px;left:0;box-shadow:0 18px 40px #0f172a29}.customer-filter-menu{width:320px;min-width:320px}.excel-filter-menu-title{color:#1f2937;font-size:12px;font-weight:800}.excel-filter-search{box-sizing:border-box;background:var(--panel);color:#1f2937;border:1px solid #cbd5e1;border-radius:8px;width:100%;height:32px;padding:0 9px;font-size:12px}.excel-filter-search:focus{border-color:#2563ebb8;outline:none}.excel-filter-actions{gap:6px;display:flex}.excel-filter-actions button{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:7px;min-height:26px;padding:0 8px;font-size:11px}.excel-filter-actions button:hover{color:#1d4ed8;border-color:#2563eb9e}.excel-filter-actions button[aria-pressed=true]{color:#1d4ed8;background:#2563eb24;border-color:#2563ebb8}.customer-filter-tools{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.customer-filter-confirm-row button,.customer-filter-tools button{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb52;border-radius:7px;padding:5px 8px;font-size:12px}.customer-filter-list{gap:4px;max-height:300px;padding-right:2px;display:grid;overflow-y:auto}.customer-filter-option{color:var(--text);cursor:pointer;border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:5px 6px;display:grid}.customer-filter-option:hover{background:#2563eb14}.customer-filter-option input{width:14px;height:14px}.customer-filter-option span{gap:2px;min-width:0;display:grid}.customer-filter-option small,.customer-filter-option strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-filter-option strong{font-size:12px}.customer-filter-option small{color:var(--muted);font-size:11px}.customer-filter-empty{color:var(--muted);text-align:center;padding:8px;font-size:12px}.customer-filter-confirm-row{justify-content:flex-end;display:flex}.work-order-finder{gap:8px;margin-top:14px;display:grid}.panel>.work-order-finder:first-child{margin-top:0;margin-bottom:16px}.work-order-finder .field{max-width:none}.work-order-finder .form-error{margin-top:0}tr[id^=work-order-row-]{transition:background .18s,box-shadow .18s,outline-color .18s}tr.work-order-row-highlight{outline-offset:-2px;background:#38bdf83d;outline:2px solid #38bdf880;box-shadow:inset 0 0 0 2px #38bdf8d9}.work-order-row-hidden{display:none!important}.production-console-table td:first-child{vertical-align:middle}.work-order-code-wrap{align-items:center;gap:5px;display:inline-flex}.work-order-code-cell{text-align:left;gap:2px;min-width:0;display:grid}.work-order-split-origin{color:var(--muted);font-size:10px;font-weight:500;line-height:1.2}.work-order-row-actions{vertical-align:middle;flex-wrap:nowrap;flex:none;gap:3px;display:inline-grid;position:relative}.work-order-edit-buttons button,.work-order-row-actions>button{background:var(--panel-2);color:#334155;cursor:pointer;white-space:nowrap;border:1px solid #cbd5e1;border-radius:6px;padding:0 4px;font-size:10px}.work-order-row-actions>button{color:#1d4ed8;background:#2563eb14;border-color:#2563eb47;place-items:center;width:22px;height:22px;padding:0;display:inline-grid}.work-order-edit-buttons button{align-items:center;gap:4px;min-height:22px;display:inline-flex}.work-order-edit-buttons button:hover,.work-order-row-actions>button:hover{background:#2563eb24;border-color:#2563eb8c}.work-order-edit-buttons .danger,.work-order-row-actions>button.danger{color:#be123c;background:#fff1f2;border-color:#fecdd3}.work-order-edit-buttons .danger{margin-right:auto}.work-order-edit-popover{z-index:40;border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:8px;min-width:260px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 14px 30px #0f172a2e}.work-order-edit-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.work-order-edit-form label{color:var(--muted);gap:4px;font-size:11px;display:grid}.work-order-edit-form input,.work-order-edit-form select{border:1px solid var(--line);background:var(--panel-2);width:100%;height:30px;color:var(--text);border-radius:6px;padding:0 7px}.work-order-edit-buttons{grid-column:1/-1;justify-content:flex-end;gap:6px;display:flex}.work-order-edit-buttons .primary{color:#1d4ed8;background:#2563eb1a;border-color:#2563eb6b}.work-order-split-form{border-top:1px solid var(--line);grid-template-columns:minmax(68px,.8fr) minmax(64px,.7fr) minmax(84px,1fr) auto;align-items:center;gap:6px;padding-top:8px;display:grid}.work-order-split-title{color:var(--text);font-size:12px;font-weight:700}.work-order-split-disabled{color:var(--muted);white-space:nowrap;grid-column:3/-1;font-size:12px}.work-order-split-form input{border:1px solid var(--line);background:var(--panel-2);width:100%;height:30px;color:var(--text);border-radius:6px;padding:0 7px}.work-order-split-form button{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#2563eb1a;border:1px solid #2563eb6b;border-radius:6px;min-height:30px;padding:0 8px;font-size:11px}.work-order-split-form button:disabled,.work-order-split-form input:disabled{cursor:not-allowed;opacity:.55}.progress{background:#94a3b82e;border-radius:999px;height:8px;overflow:hidden}.progress span{border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--green));height:100%;display:block}.chart-bars{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:10px;height:180px;padding-top:16px;display:grid}.bar{background:linear-gradient(#38bdf8f2,#34d3998c);border-radius:6px 6px 0 0;min-height:18px}.form-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.form-wide{grid-column:1/-1}.field{gap:6px;display:grid}.field label{color:var(--muted);font-size:12px}.field input,.field select{border:1px solid var(--line);width:100%;height:40px;color:var(--text);background:#08111fbf;border-radius:8px;padding:0 10px}.button{color:#e5f7ff;cursor:pointer;background:#38bdf829;border:1px solid #38bdf880;border-radius:8px;justify-content:center;height:40px;padding:0 14px}.button,.inline-field{align-items:center;gap:8px;display:inline-flex}.inline-select{min-width:92px}.inline-input,.inline-select{height:32px;color:var(--text);background:#08111fd1;border:1px solid #38bdf86b;border-radius:8px;padding:0 8px}.inline-input{min-width:116px}.device-code-inline{flex-direction:column;align-items:flex-start;gap:4px}.device-code-input{width:132px}.inline-input:disabled,.inline-select:disabled{opacity:.66;cursor:progress}.inline-error{color:var(--red);font-size:12px}.icon-button{border:1px solid var(--line);width:30px;height:30px;color:var(--text);cursor:pointer;background:#08111fb8;border-radius:8px;place-items:center;display:inline-grid}.icon-button.danger{color:var(--red)}.operation-editor{background:#f8fafc;border:1px solid #d5dde8;border-radius:8px;gap:10px;padding:12px;display:grid}.operation-editor-header{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;font-weight:700;display:flex}.operation-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.process-picker{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;display:grid}.process-option{background:var(--panel);color:#1f2937;cursor:pointer;-webkit-user-select:none;user-select:none;text-align:left;touch-action:none;border:1px solid #cbd5e1;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;min-height:34px;padding:0 6px;font-size:12px;transition:border-color .16s,background .16s,color .16s;display:flex}.process-option:hover{background:#2563eb14;border-color:#2563eb73}.process-option[aria-pressed=true]{color:#1d4ed8;background:#2563eb24;border-color:#2563ebb8}.process-option-index{color:#1d4ed8;background:#2563eb1f;border-radius:6px;place-items:center;min-width:20px;height:20px;font-size:10px;font-weight:800;display:inline-grid}.operation-process-dropdown{gap:8px;display:grid}.operation-process-toggle{color:#1d4ed8;cursor:pointer;background:#2563eb1a;border:1px solid #2563eb57;border-radius:8px;justify-self:start;min-height:30px;padding:0 10px;font-size:12px;font-weight:800}.operation-process-toggle:after{content:"▾";margin-left:8px;transition:transform .16s;display:inline-block}.operation-process-toggle[aria-expanded=true]:after{transform:rotate(180deg)}.operation-process-toggle:hover,.operation-process-toggle[aria-expanded=true]{background:#2563eb29;border-color:#2563ebad}.operation-process-panel{background:var(--panel-2);border:1px solid #d5dde8;border-radius:10px;gap:10px;padding:10px;display:grid}.operation-template-bar{align-items:center;gap:8px;display:flex}.operation-template-button{color:#15803d;cursor:pointer;background:#16a34a14;border:1px solid #34d39957;border-radius:8px;min-height:30px;padding:0 10px;font-size:12px;font-weight:800}.operation-template-button:hover{background:#16a34a24;border-color:#34d3999e}.selected-route{flex-wrap:wrap;gap:8px;padding-top:4px;display:flex}.selected-route-dropzone{background:var(--panel-2);border:1px dashed #2563eb47;border-radius:8px;min-height:38px;padding:8px}.selected-route-chip{color:#1d4ed8;cursor:grab;background:#2563eb14;border:1px solid #2563eb47;border-radius:8px;align-items:center;min-height:28px;padding:0 8px;font-family:inherit;font-size:12px;display:inline-flex}.selected-route-chip:active{cursor:grabbing}.selected-route-chip-drop-target{background:#2563eb29;border-color:#2563ebc7;box-shadow:0 0 0 2px #2563eb24}.selected-route-reset{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:8px;align-self:center;place-items:center;width:28px;height:28px;display:inline-grid}.selected-route-reset:hover{background:#2563eb24;border-color:#2563ebb8}.selected-route-manual-input{background:var(--panel);color:#1f2937;min-width:180px;height:28px;font:inherit;border:1px solid #cbd5e1;border-radius:8px;flex:180px;padding:0 8px;font-size:12px}.selected-route-manual-input:focus{border-color:#2563ebb8;outline:none;box-shadow:0 0 0 2px #2563eb1f}.manual-route-message{color:var(--muted);white-space:nowrap;align-self:center;font-size:12px}.operation-row{grid-template-columns:34px minmax(0,1fr) 30px;align-items:center;gap:8px;display:grid}.operation-index{color:var(--cyan);font-size:12px;font-weight:800}.operation-row input{border:1px solid var(--line);width:100%;height:32px;color:var(--text);background:#0f172adb;border-radius:8px;padding:0 8px}.operation-steps{flex-wrap:wrap;gap:5px;min-width:420px;display:flex}.operation-route{align-items:flex-start;gap:5px;min-width:480px;display:flex}.operation-route>.operation-steps{flex:auto}.operation-route-actions{flex-direction:column;flex:none;align-items:flex-end;gap:5px;min-height:28px;margin-left:auto;display:inline-flex}.production-operation-cell{align-items:flex-start;gap:8px;min-width:640px;display:flex}.production-operation-cell .operation-route{flex:auto}.latest-report-box{color:#1f2937;white-space:normal;background:#0e749029;border:1px solid #38bdf857;border-radius:6px;align-items:center;min-width:88px;max-width:120px;min-height:24px;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex}.latest-report-box[data-empty=true]{color:#1f2937;background:#0f172a6b;border-color:#94a3b833;font-weight:600}.operation-edit-arrow{color:#1d4ed8;cursor:pointer;background:#2563eb14;border:1px solid #2563eb47;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;display:inline-grid}.operation-edit-arrow:hover{background:#2563eb24;border-color:#2563eb8c}.operation-route-toolbar{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;font-weight:800;display:flex}.operation-route-buttons{align-items:center;gap:6px;display:inline-flex}.operation-add-picker button,.operation-edit-button,.operation-edit-item button{background:var(--panel-2);color:#334155;cursor:pointer;border:1px solid #cbd5e1;border-radius:6px;min-height:24px;padding:0 7px;font-size:12px}.operation-edit-button.primary{color:#1d4ed8;background:#2563eb1a;border-color:#2563eb6b}.operation-add-picker button:disabled,.operation-edit-button:disabled,.operation-edit-item button:disabled{cursor:not-allowed;opacity:.46}.operation-route-editing{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;gap:6px;padding:8px;display:grid}.operation-edit-list{gap:5px;max-width:560px;min-height:36px;display:grid}.operation-edit-hint{font-size:12px}.operation-edit-item{background:var(--panel);cursor:grab;border:1px solid #cbd5e1;border-radius:7px;grid-template-columns:28px minmax(82px,1fr) auto;align-items:center;gap:5px;padding:4px;display:grid}.operation-edit-item:active{cursor:grabbing}.operation-edit-item-drop-target{background:#2563eb1a;border-color:#2563ebb8;box-shadow:inset 0 0 0 1px #2563eb3d}.operation-edit-sequence{color:var(--cyan);font-size:12px;font-weight:900}.operation-edit-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.operation-add-picker{flex-wrap:wrap;gap:5px;max-width:560px;display:flex}.operation-chip{color:#1f2937;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;min-height:28px;padding:2px 4px 2px 6px;font-size:12px;display:inline-flex;position:relative}.operation-chip-active,.operation-chip[data-status=进行中]{color:#052e16;background:#86efac;border-color:#86efacd1}.operation-chip-waiting,.operation-chip[data-status=待加工]{color:#1e3a8a;background:#dbeafe;border-color:#3b82f694}.operation-chip-done,.operation-chip[data-status=已完成]{color:#f0fdf4;background:#15803d;border-color:#16a34adb}.operation-chip-danger,.operation-chip[data-status=异常]{color:#fff7f7;background:#ef4444;border-color:#f87171e6}.operation-context-menu{z-index:30;background:#08111ff5;border:1px solid #94a3b847;border-radius:999px;align-items:center;gap:6px;padding:6px 7px;display:inline-flex;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 12px 28px #02061761}.operation-context-option{cursor:pointer;background:#0f172ad6;border:1px solid #94a3b86b;border-radius:999px;width:17px;height:17px;padding:0}.operation-context-option[aria-pressed=true]{border-color:#f8fbff;box-shadow:0 0 0 1px #08111fb8,0 0 0 3px #f8fbff7a}.operation-context-option:disabled{opacity:.65;cursor:progress}.operation-remark-dot{background:#facc15;border-radius:999px;width:6px;height:6px;box-shadow:0 0 0 2px #facc152e}.operation-remark-popover{z-index:34;border:1px solid var(--line);background:var(--panel);min-width:240px;color:var(--text);white-space:normal;border-radius:8px;gap:8px;padding:10px;display:grid;position:absolute;top:calc(100% + 5px);left:0;box-shadow:0 14px 30px #0f172a2e}.operation-remark-popover strong{color:var(--text);font-size:12px}.operation-remark-popover textarea{resize:vertical;border:1px solid var(--line);background:var(--panel-2);width:100%;min-height:86px;color:var(--text);font:inherit;border-radius:7px;padding:8px;line-height:1.5}.operation-remark-actions{justify-content:flex-end;gap:8px;display:flex}.operation-remark-actions button{background:var(--panel-2);color:#334155;cursor:pointer;border:1px solid #cbd5e1;border-radius:6px;padding:5px 10px}.operation-remark-actions button:last-child{color:#1d4ed8;background:#2563eb1a;border-color:#2563eb6b}.operation-time-popover{z-index:31;border:1px solid var(--line);background:var(--panel);min-width:190px;color:var(--text);white-space:normal;border-radius:8px;gap:8px;padding:9px;display:grid;position:absolute;top:calc(100% + 5px);left:0;box-shadow:0 12px 28px #0f172a2e}.operation-time-current{border-bottom:1px solid var(--line);gap:3px;padding-bottom:7px;display:grid}.operation-time-current strong{color:var(--text);font-size:12px;font-weight:700}.operation-time-current span{color:#1d4ed8;font-size:13px}.operation-time-list{gap:5px;display:grid}.operation-time-row{color:#334155;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.operation-time-row time{color:var(--muted)}.operation-work-hour-editor{border-top:1px solid var(--line);gap:6px;padding-top:7px;display:grid}.operation-work-hour-editor label{color:#334155;gap:4px;font-size:12px;font-weight:700;display:grid}.operation-work-hour-editor input{background:var(--panel-2);width:100%;color:var(--text);border:1px solid #cbd5e1;border-radius:6px;padding:5px 7px;font-size:12px}.operation-work-hour-editor button{color:#1d4ed8;cursor:pointer;background:#2563eb1a;border:1px solid #2563eb6b;border-radius:6px;padding:5px 8px;font-size:12px}.dashboard-remark-col{min-width:220px;max-width:320px}.dashboard-remark-list{gap:5px;font-size:12px;line-height:1.45;display:grid}.dashboard-remark-list div{gap:2px;display:grid}.dashboard-remark-list strong{color:#bae6fd;font-weight:700}.dashboard-remark-list span{color:#e5eefb;white-space:normal;word-break:break-word}.dashboard-remark-editor{resize:vertical;color:#e5eefb;width:100%;min-height:34px;max-height:88px;font:inherit;background:#08111f9e;border:1px solid #94a3b838;border-radius:7px;padding:6px 8px;font-size:12px;line-height:1.35}.dashboard-remark-editor:focus{border-color:#38bdf8b8;outline:none;box-shadow:0 0 0 2px #38bdf81f}.dashboard-remark-editor:disabled{cursor:progress;opacity:.65}.operation-color-active{background:#86efac}.operation-color-waiting{background:#dbeafe}.operation-color-done{background:#15803d}.operation-color-danger{background:#ef4444}.operation-chip small{color:var(--red);margin-left:4px}.timeline{gap:12px;display:grid}.production-report-timeline{max-height:430px;padding-right:6px;overflow-y:auto}.trace-timeline-scroll{max-height:1360px;padding-right:8px;overflow-y:auto}.timeline-item{border-left:2px solid #38bdf88c;padding-left:12px}.muted{color:var(--muted)}@media (max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.form-row,.metrics,.nav,.three-col,.two-col{grid-template-columns:1fr}.slitting-metric-body{flex-direction:column;align-items:stretch}.slitting-wip-button{text-align:left;width:100%}.dashboard-progress-header{flex-direction:column}.dashboard-filter-bar{justify-content:flex-start;max-width:none}.process-picker{grid-template-columns:repeat(5,minmax(0,1fr))}.quick-report-body .form-row,.quick-report-completed-item{grid-template-columns:1fr}.quick-report-completed-item time{text-align:left}.execution-reminder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.sidebar{background:var(--panel);border-right-color:var(--line);box-shadow:8px 0 28px #0f172a0a}.brand-mark{color:#2563eb;background:#2563eb14;border-color:#2563eb47}.nav-link{color:#475569}.nav-link.active,.nav-link:hover{color:#1d4ed8;background:#2563eb1a}.role-pill,.status-pill{background:var(--panel);color:#334155}.role-button:hover{color:#1d4ed8;border-color:#2563eb80}.login-page{background:var(--bg)}.login-panel,.metric-card,.modal-card,.panel,.production-console-search,.production-reporting-shortcut{background:var(--panel);border-color:var(--line);color:var(--text);box-shadow:0 14px 36px #0f172a14}.login-title,.metric-card,.panel-title,.section-subtitle,td{color:var(--text)}.brand-subtitle,.field label,.login-form label,.login-hint,.muted,.panel-subtitle,th{color:var(--muted)}.dashboard-filter-bar button[aria-pressed=true],.eyebrow,.mono-cell{color:#2563eb}.field input,.field select,.inline-input,.inline-select,.login-form input,.machine-report-input,.slitting-plan-input,.user-inline-form input,.user-inline-form select,.user-reset-form input,input,select,textarea{background:var(--panel);border-color:var(--line);color:var(--text)}.field input:focus,.field select:focus,.machine-report-input:focus,.slitting-plan-input:focus,input:focus,select:focus,textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1f}.dashboard-remark-editor,.dashboard-todo-textarea,.operation-remark-popover textarea{background:var(--panel);border-color:var(--line);color:var(--text)}.dashboard-remark-editor::placeholder,.dashboard-todo-textarea::placeholder,.operation-remark-popover textarea::placeholder{color:#64748b}.button,.dashboard-filter-bar button,.machine-report-export,.machine-report-save,.operation-picker-toggle,.operation-template-button,.slitting-plan-actions button{color:#1d4ed8;background:#2563eb14;border-color:#2563eb47}.button:hover,.dashboard-filter-bar button:hover,.dashboard-filter-bar button[aria-pressed=true],.machine-report-save:hover,.operation-picker-toggle:hover,.operation-template-button:hover,.slitting-plan-actions button:hover{color:#1d4ed8;background:#2563eb24;border-color:#2563eb8c}.dashboard-filter-bar strong{color:#1d4ed8;background:#e0edff}.production-console-wrap,.slitting-machine-report-wrap,.slitting-plan-table-wrap,.table-wrap{background:var(--panel)}table{color:var(--text)}td,th{border-bottom-color:#d4dce6}.production-console-table thead th,.slitting-machine-report-table thead th,.slitting-plan-table th,th{background:var(--panel-2);color:#0f172a}.slitting-machine-report-table thead th,.slitting-plan-table td:first-child,.slitting-plan-table th:first-child{box-shadow:0 1px #e2e8f0}.work-order-row-highlight{outline-color:#2563eb73;background:#2563eb1f!important}.dashboard-filter-bar button,.inline-input,.inline-select,.role-pill,.status-pill{box-shadow:none}.form-message,.login-error{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.login-success{color:#166534;background:#ecfdf5;border-color:#bbf7d0}.modal-backdrop{background:#0f172a47}.slitting-wip-button{color:#1d4ed8;background:#2563eb14;border-color:#2563eb47}.slitting-abnormal-button{color:#b91c1c;background:#f8717114;border-color:#f8717161}.slitting-completed-button{color:#15803d;background:#22c55e14;border-color:#22c55e5c}.machine-report-save:disabled,.slitting-plan-actions button:disabled{opacity:.55}.work-order-edit-popover{border-color:var(--line)!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:0 14px 30px #0f172a2e!important}.work-order-edit-popover .work-order-edit-form label{color:var(--muted)!important}.work-order-edit-popover input,.work-order-edit-popover select{border-color:var(--line)!important;background:var(--panel-2)!important;color:var(--text)!important}.work-order-edit-popover .work-order-edit-buttons button{background:var(--panel-2)!important;color:#334155!important;border-color:#cbd5e1!important}.work-order-edit-popover .work-order-edit-buttons .primary{color:#1d4ed8!important;background:#2563eb1a!important;border-color:#2563eb6b!important}.work-order-edit-popover .work-order-edit-buttons .danger{color:#be123c!important;background:#fff1f2!important;border-color:#fecdd3!important}.operation-route-editing{border-color:var(--line)!important;background:var(--panel-2)!important;color:var(--text)!important}.operation-route-editing .operation-edit-item{background:var(--panel)!important;color:var(--text)!important;border-color:#cbd5e1!important}.operation-route-editing .operation-add-picker button,.operation-route-editing .operation-edit-button,.operation-route-editing .operation-edit-item button{background:var(--panel-2)!important;color:#334155!important;border-color:#cbd5e1!important}.operation-route-editing .operation-edit-button.primary{color:#1d4ed8!important;background:#2563eb1a!important;border-color:#2563eb6b!important}.production-console-table.trace-order-table thead th{background:var(--panel-2);color:var(--text)}.icp-footer{text-align:center;color:#94a3b8;padding:18px 12px 26px;font-size:12px}.icp-footer a{color:#94a3b8;text-decoration:none}.icp-footer a:hover{color:#64748b;text-decoration:underline}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}