/*! tailwindcss v4.2.1 | 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)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--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-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}}}@layer theme{:root,:host{--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;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--radius-md:.375rem;--radius-xl:.75rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{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}html,:host{-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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{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}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-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{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.isolate{isolation:isolate}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.h-9{height:calc(var(--spacing) * 9)}.h-12{height:calc(var(--spacing) * 12)}.min-h-screen{min-height:100vh}.w-9{width:calc(var(--spacing) * 9)}.w-12{width:calc(var(--spacing) * 12)}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-sm{max-width:var(--container-sm)}.min-w-full{min-width:100%}.border-collapse{border-collapse:collapse}.resize-y{resize:vertical}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\[var\(--line\)\]{border-color:var(--line)}.border-\[var\(--rel-red\)\]{border-color:var(--rel-red)}.bg-\[var\(--canvas\)\]{background-color:var(--canvas)}.bg-\[var\(--rel-red\)\]{background-color:var(--rel-red)}.bg-\[var\(--surface\)\]{background-color:var(--surface)}.object-contain{object-fit:contain}.p-4{padding:calc(var(--spacing) * 4)}.p-8{padding:calc(var(--spacing) * 8)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-8{padding-block:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-\[var\(--ink\)\]{color:var(--ink)}.text-\[var\(--ink-2\)\]{color:var(--ink-2)}.text-\[var\(--muted\)\]{color:var(--muted)}.text-\[var\(--rel-red\)\]{color:var(--rel-red)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);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,)}.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,)}.outline-none{--tw-outline-style:none;outline-style:none}.odd\:bg-\[var\(--canvas\)\]:nth-child(odd){background-color:var(--canvas)}@media (hover:hover){.hover\:border-\[var\(--rel-red\)\]:hover{border-color:var(--rel-red)}.hover\:text-\[var\(--rel-red\)\]:hover{color:var(--rel-red)}}.focus\:border-\[var\(--rel-red\)\]:focus{border-color:var(--rel-red)}.disabled\:opacity-50:disabled{opacity:.5}}:root{--rel-red:#e82127;--rel-red-dark:#b7181d;--rel-red-soft:#fff0f1;--ink:#17191e;--ink-2:#353942;--muted:#727781;--line:#e5e6e9;--surface:#fff;--canvas:#f5f5f7;--green:#16865e;--green-soft:#e8f7f0;--blue:#2f65bf;--blue-soft:#eaf1fb;--amber:#9d6712;--amber-soft:#fff5dc;--sidebar:#17191e;--font-geist-sans:"Geist";--font-geist-mono:"Geist Mono"}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);font-family:var(--font-geist-sans), Arial, Helvetica, sans-serif;margin:0}button,input,textarea{font:inherit}button{color:inherit}.app-shell{background:radial-gradient(circle at 95% 0%, #e8212709, transparent 28rem), var(--canvas);min-height:100vh}.sidebar{z-index:30;color:#fff;background:linear-gradient(180deg, #e821271f, transparent 23%), var(--sidebar);border-right:1px solid #ffffff12;flex-direction:column;width:276px;transition:transform .2s;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #ffffff14;flex:none;padding:21px 22px 18px}.brand-image{object-fit:contain;object-position:center;background:var(--rel-red);border-radius:9px;width:132px;height:68px;display:block}.brand-copy{flex-direction:column;gap:2px;margin-top:10px;display:flex}.brand-copy span{color:#ffffff87;letter-spacing:.11em;text-transform:uppercase;font-size:11px}.brand-copy strong{font-size:14px;font-weight:600}.primary-nav{scrollbar-width:thin;flex:auto;min-height:0;padding:24px 14px 14px;overflow-y:auto}.nav-section{color:#ffffff61;letter-spacing:.13em;text-transform:uppercase;padding:0 10px 9px;font-size:10px;font-weight:700;display:block}.nav-item{color:#ffffffb8;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;margin-bottom:4px;padding:10px;transition:all .16s;display:flex}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item-active{color:#fff;background:linear-gradient(135deg,#e82127eb,#b7181ddb);box-shadow:0 8px 24px #b7181d3b}.nav-short{letter-spacing:.04em;background:#ffffff0f;border:1px solid #ffffff24;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;font-size:10px;font-weight:750;display:grid}.nav-item>span:last-child{flex-direction:column;gap:1px;min-width:0;display:flex}.nav-item strong{font-size:13px;font-weight:650}.nav-item small{color:inherit;opacity:.54;font-size:10px}.source-card{background:#ffffff0a;border:1px solid #ffffff17;border-radius:12px;flex:none;margin:12px 20px 16px;padding:14px}.source-card-top{align-items:center;gap:7px;display:flex}.source-card p{color:#ffffff8c;margin:7px 0 8px;font-size:10px;line-height:1.5}.source-card>span{color:#ffffff5c;letter-spacing:.04em;font-size:9px}.live-dot{background:#43cf9a;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #43cf9a21}.sidebar-foot{border-top:1px solid #ffffff14;flex:none;align-items:center;gap:10px;padding:15px 20px 19px;display:flex}.avatar{width:34px;height:34px;color:var(--rel-red);background:#fff;border-radius:50%;flex:none;place-items:center;font-size:10px;font-weight:800;display:grid;overflow:hidden}.sidebar-foot>span:last-child{flex-direction:column;flex:1;min-width:0;display:flex}.sidebar-foot strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sidebar-foot small{color:#fff6;font-size:9px}.logout-button{color:#ffffffbf;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;font-size:13px;transition:background .15s,color .15s;display:grid}.logout-button:hover:not(:disabled){color:#fff;background:#ffffff1a}.logout-button:disabled{opacity:.6;cursor:default}.main{min-height:100vh;margin-left:276px;transition:margin-left .2s}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;border-bottom:1px solid #17191e14;justify-content:space-between;align-items:center;gap:24px;min-height:78px;padding:12px clamp(22px,3vw,42px);display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:12px;display:flex}.eyebrow{color:var(--rel-red);letter-spacing:.13em;text-transform:uppercase;font-size:10px;font-weight:750;line-height:1.3;display:block}.eyebrow-light{color:#ffffffb3}.topbar-actions{align-items:center;gap:12px;display:flex}.period-control{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;gap:1px;min-width:158px;padding:8px 13px;display:flex}.period-control span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px}.period-control strong{font-size:12px}.period-control input{width:132px;color:var(--ink);background:0 0;border:0;outline:0;font:700 11px/1.2 inherit}.presence-strip{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:8px;padding:6px 9px;display:flex}.presence-avatars{padding-left:5px;display:flex}.presence-avatar{color:#555a64;background:#e8e9ec;border:2px solid #fff;border-radius:50%;place-items:center;width:28px;height:28px;margin-left:-5px;font-size:8px;font-weight:800;display:inline-grid;position:relative}.presence-avatar.active:after{content:"";background:#20a46b;border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;bottom:-1px;right:-1px}.presence-strip>span:last-child{flex-direction:column;display:flex}.presence-strip strong{font-size:9px}.presence-strip small{color:var(--muted);font-size:7px}.workspace-presence-bar{z-index:12;background:#f7f9f8;border-bottom:1px solid #dfe2e5;align-items:center;gap:12px;min-height:42px;padding:5px 12px;display:flex;position:relative}.workspace-presence-bar.has-active{background:#f1f8f4;border-bottom-color:#cce2d7}.workspace-presence-heading{align-items:center;gap:7px;min-width:190px;display:flex}.workspace-presence-heading>span:last-child{flex-direction:column;gap:1px;display:flex}.workspace-presence-heading strong{color:#26332d;font-size:8px}.workspace-presence-heading small{color:#6c7771;font-size:6px}.workspace-presence-signal{background:#e7e9ea;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.workspace-presence-signal i{background:#8b949b;border-radius:50%;width:7px;height:7px}.workspace-presence-bar.has-active .workspace-presence-signal{background:#d8eee2}.workspace-presence-bar.has-active .workspace-presence-signal i{background:#1d9d63;box-shadow:0 0 0 4px #1d9d631f}.workspace-presence-people{scrollbar-width:thin;align-items:center;gap:5px;min-width:0;display:flex;overflow-x:auto}.workspace-presence-person{background:#fff;border:1px solid #d8dcdf;border-radius:999px;align-items:center;gap:5px;min-width:max-content;padding:3px 7px 3px 4px;display:flex}.workspace-presence-person.online{background:#fbfefc;border-color:#b9daca}.workspace-presence-person>span:last-child{flex-direction:column;gap:0;display:flex}.workspace-presence-person strong{color:#30373b;text-overflow:ellipsis;white-space:nowrap;max-width:125px;font-size:7px;overflow:hidden}.workspace-presence-person small{color:#747d82;text-overflow:ellipsis;white-space:nowrap;max-width:210px;font-size:5.5px;overflow:hidden}.workspace-presence-person.online small{color:#287452}.workspace-presence-person .presence-avatar{border-width:1px;width:23px;height:23px;margin:0;font-size:6px}.workspace-presence-empty{color:#737c81;font-size:7px}.workspace-presence-more{color:#59636a;background:#e6e9eb;border-radius:999px;flex:none;padding:5px 8px;font-size:6px;font-weight:850}.sync-pill{color:#116747;background:#edf8f3;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:10px;font-weight:700;display:inline-flex}.menu-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;width:38px;height:38px;display:none}.sidebar-toggle-button{border:1px solid var(--line);width:38px;height:38px;color:var(--ink-2,#555);cursor:pointer;background:#fff;border-radius:9px;flex:none;place-items:center;font-size:12px;display:grid}.sidebar-toggle-button:hover{background:#f4f5f6}@media (width<=900px){.sidebar-toggle-button{display:none}}@media (width>=901px){.app-shell.sidebar-collapsed .sidebar{transform:translate(-100%)}.app-shell.sidebar-collapsed .main{margin-left:0}}.content{width:min(100%,1580px);margin:0 auto;padding:30px clamp(22px,3vw,42px) 48px}.global-filters{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:minmax(230px,1fr) minmax(160px,.55fr) minmax(180px,.7fr) auto;align-items:end;gap:10px;margin:14px clamp(22px,3vw,42px) 0;padding:12px;display:grid}.global-filters label,.master-manager form label{flex-direction:column;gap:5px;display:flex}.global-filters label span,.master-manager form label span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:7px;font-weight:750}.global-filters input,.global-filters select,.master-manager input,.master-manager select{width:100%;min-height:36px;color:var(--ink);background:#fafafb;border:1px solid #dfe1e5;border-radius:7px;padding:7px 9px;font-size:9px}.global-filters>button{border:1px solid var(--line);min-height:36px;color:var(--rel-red);cursor:pointer;background:#fff;border-radius:7px;padding:0 11px;font-size:8px;font-weight:750}.page-stack{flex-direction:column;gap:22px;display:flex}.hero{color:#fff;background:linear-gradient(112deg, #00000026, transparent 60%), linear-gradient(120deg, var(--rel-red-dark), #ee292e 72%, #f23a3e);border-radius:18px;justify-content:space-between;align-items:center;gap:42px;min-height:212px;padding:clamp(28px,4vw,50px);display:flex;position:relative;overflow:hidden;box-shadow:0 22px 45px #b7181d26}.hero:after{content:"REL";color:#ffffff12;letter-spacing:-.1em;pointer-events:none;font-size:186px;font-weight:800;position:absolute;bottom:-58px;right:-8px}.hero>div{z-index:1;position:relative}.hero h2{letter-spacing:-.055em;max-width:630px;margin:7px 0 12px;font-size:clamp(31px,4vw,50px);line-height:1.02}.hero p{color:#ffffffbf;max-width:680px;margin:0;font-size:13px;line-height:1.62}.hero-score{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff17;border:1px solid #ffffff26;border-radius:14px;align-items:center;gap:16px;min-width:258px;padding:15px;display:flex}.hero-score>div:last-child{flex-direction:column;gap:3px;display:flex}.hero-score strong{font-size:11px}.hero-score>div:last-child span{color:#ffffff9e;font-size:9px}.score-ring{--progress:0deg;background:conic-gradient(#fff var(--progress), #ffffff2b 0);border-radius:50%;flex:none;place-items:center;width:64px;height:64px;display:grid;position:relative}.score-ring:after{content:"";background:#c82025;border-radius:50%;position:absolute;inset:6px}.score-ring span{z-index:1;font-size:11px;font-weight:750;position:relative}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;flex-direction:column;justify-content:space-between;min-height:132px;padding:19px 20px;display:flex;box-shadow:0 8px 25px #17191e06}.metric-card strong{letter-spacing:-.045em;margin:8px 0 4px;font-size:clamp(25px,2.6vw,35px);line-height:1}.metric-card>span:last-child,.metric-card .text-button{color:var(--muted);font-size:10px}.metric-primary{background:linear-gradient(145deg,#fff,#fff7f7);border-color:#f1d0d2}.metric-kicker{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:700}.positive{color:var(--green)!important}.warning-text{color:var(--rel-red)!important}.text-button{cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0}.text-button:hover{color:var(--rel-red)}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(330px,.8fr);gap:16px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;box-shadow:0 8px 28px #17191e06}.panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:16px 20px;display:flex}.panel-note,.priority-count{color:var(--muted);font-size:9px}.priority-count{background:var(--rel-red-soft);color:var(--rel-red);border-radius:999px;padding:6px 9px;font-weight:700}.process-row{text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #f0f0f2;grid-template-columns:minmax(120px,.72fr) minmax(180px,1.4fr) 56px 16px;align-items:center;gap:16px;width:100%;padding:12px 2px;display:grid}.process-row:last-child{border-bottom:0}.process-row:hover .process-name strong{color:var(--rel-red)}.process-name{flex-direction:column;gap:2px;display:flex}.process-name strong{font-size:11px;transition:all .15s}.process-name small,.bar-wrap small{color:var(--muted);font-size:8px}.bar-wrap{flex-direction:column;gap:5px;display:flex}.bar{background:#eff0f2;border-radius:999px;height:6px;overflow:hidden}.bar-fill{border-radius:inherit;background:var(--blue);height:100%;display:block}.bar-risk{background:var(--rel-red)}.process-percent{text-align:right;font-size:11px}.row-arrow{color:#b1b4ba;font-size:18px}.priority-row{border-bottom:1px solid #f0f0f2;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 0;display:grid}.priority-row:last-child{border-bottom:0}.priority-index{color:#b2b5bb;font-family:var(--font-geist-mono), monospace;font-size:9px}.priority-row>div{flex-direction:column;gap:2px;min-width:0;display:flex}.priority-row strong{font-size:11px}.priority-row span:not(.priority-index){color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.priority-progress{text-align:right}.priority-progress strong{color:var(--rel-red)}.source-strip{background:#f3fbf7;border:1px solid #dae7e2;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;display:flex}.source-strip>div{align-items:center;gap:12px;display:flex}.source-icon{background:var(--rel-red);color:#fff;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;font-size:13px;font-weight:800;display:grid}.source-strip div div{flex-direction:column;gap:3px;display:flex}.source-strip strong{font-size:11px}.source-strip span{color:#668078;font-size:9px}.page-intro{justify-content:space-between;align-items:flex-end;gap:28px;padding:4px 1px 0;display:flex}.page-intro p{max-width:670px;color:var(--muted);margin:0;font-size:12px;line-height:1.6}.primary-button,.secondary-button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:9px 14px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.primary-button{border:1px solid var(--rel-red);background:var(--rel-red);color:#fff;box-shadow:0 7px 15px #e8212724}.primary-button:hover{border-color:var(--rel-red-dark);background:var(--rel-red-dark)}.primary-button:disabled{opacity:.55;cursor:wait}.validated-action{vertical-align:top;flex-direction:column;align-items:stretch;gap:3px;min-width:0;max-width:330px;display:inline-flex}.action-disabled-reason{color:#9d252b;text-align:left;white-space:normal;max-width:330px;font-size:7px;font-weight:800;line-height:1.35}.form-actions .validated-action,.correction-form-actions .validated-action{align-items:flex-end}.form-actions .action-disabled-reason,.correction-form-actions .action-disabled-reason{text-align:right}.rm-inline-form .validated-action,.rm-batch-actions .validated-action{max-width:280px}.secondary-button{border:1px solid var(--line);color:var(--ink-2);background:#fff}.secondary-button:hover{border-color:#c6c8cd}.mini-metrics{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.mini-metrics>div{border-right:1px solid var(--line);flex-direction:column;gap:5px;padding:16px 20px;display:flex}.mini-metrics>div:last-child{border-right:0}.mini-metrics span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:9px}.mini-metrics strong{letter-spacing:-.035em;font-size:21px}.table-panel{overflow:hidden}.table-toolbar{border-bottom:1px solid var(--line);align-items:center;gap:16px;min-height:61px;padding:11px 16px;display:flex}.search-field{border:1px solid var(--line);background:#fafafb;border-radius:8px;align-items:center;gap:7px;width:min(100%,360px);min-height:37px;padding:0 11px;display:flex}.search-field.wide{width:min(100%,520px)}.search-field span{color:var(--muted);font-size:16px}.search-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:10px}.check-filter{color:var(--ink-2);align-items:center;gap:7px;font-size:10px;display:inline-flex}.check-filter input,.otd-check input,.process-selector input{accent-color:var(--rel-red)}.record-count{color:var(--muted);margin-left:auto;font-size:9px}.table-scroll{overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;min-width:920px}th{border-bottom:1px solid var(--line);color:#777b84;letter-spacing:.07em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#fafafb;height:41px;padding:0 13px;font-size:8px;font-weight:750}td{height:57px;color:var(--ink-2);vertical-align:middle;border-bottom:1px solid #eeeff1;padding:9px 13px;font-size:10px}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fbfbfc}.otd-row td{background:#fff8f8}.otd-row td:first-child{box-shadow:inset 3px 0 var(--rel-red)}.numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}td>small,.part-code+small{color:var(--muted);margin-top:3px;font-size:8px;display:block}.part-code{color:var(--ink);font-family:var(--font-geist-mono), monospace;letter-spacing:-.02em;white-space:nowrap;font-size:10px}.machine-name,.wire-name{text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;max-width:190px;display:inline-block;overflow:hidden}.wire-name{max-width:250px}.route-chips{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.route-chips span{color:#4d5b72;white-space:nowrap;background:#f7f9fc;border:1px solid #dfe4ec;border-radius:999px;padding:5px 8px;font-size:8px}.route-chips.compact{max-width:420px}.route-chips.compact span{padding:3px 6px;font-size:7px}.table-action{color:var(--rel-red);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 8px;font-size:9px;font-weight:700}.table-action:hover{background:var(--rel-red-soft)}.priority-toggle{border:1px solid var(--line);color:#9a9da4;cursor:pointer;background:#fff;border-radius:6px;min-width:36px;padding:5px 6px;font-size:8px;font-weight:800}.priority-toggle-on{background:var(--rel-red);color:#fff;border-color:#efb5b7}.process-tabs{border:1px solid var(--line);scrollbar-width:none;background:#fff;border-radius:11px;gap:6px;padding:7px;display:flex;overflow-x:auto}.process-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;padding:9px 12px;font-size:9px;font-weight:650}.process-tabs button:hover{color:var(--ink);background:#f6f6f7}.process-tabs button.active{background:var(--ink);color:#fff}.pace-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:3px 14px;min-width:225px;padding:13px 15px;display:grid}.pace-card span,.pace-card small{color:var(--muted);font-size:9px}.pace-card strong{letter-spacing:-.04em;grid-row:span 2;font-size:23px}.legend{align-items:center;gap:13px;margin-left:auto;display:flex}.legend span{color:var(--muted);align-items:center;gap:5px;font-size:8px;display:inline-flex}.legend-dot{border-radius:50%;width:6px;height:6px;display:inline-block}.dot-red{background:var(--rel-red)}.dot-blue{background:var(--blue)}.dot-green{background:var(--green)}.inline-otd{background:var(--rel-red);color:#fff;vertical-align:middle;border-radius:4px;margin-left:7px;padding:3px 5px;font-size:6px;font-weight:800;display:inline-block}.strong-number{color:var(--ink);font-weight:700}.cell-progress{align-items:center;gap:8px;min-width:120px;display:flex}.cell-progress>span{background:#eceef1;border-radius:999px;width:68px;height:5px;overflow:hidden}.cell-progress i{border-radius:inherit;background:var(--blue);height:100%;display:block}.cell-progress strong{font-size:8px}.status{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:700;display:inline-flex}.status-behind{background:var(--rel-red-soft);color:var(--rel-red-dark)}.status-on-track{background:var(--blue-soft);color:var(--blue)}.status-completed{background:var(--green-soft);color:var(--green)}.pill{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 8px;font-size:8px;font-weight:700;display:inline-flex}.pill-admin,.pill-owner{background:var(--rel-red-soft);color:var(--rel-red-dark);margin-left:6px}.pill-muted{background:var(--canvas);color:var(--muted)}.avatar-photo{object-fit:cover;width:100%;height:100%;display:block}.avatar-lg{width:56px;height:56px;font-size:16px;overflow:hidden}.user-photo-row{align-items:center;gap:14px;display:flex}.role-switch{gap:8px;display:inline-flex}.role-switch button{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer;border-radius:8px;padding:7px 12px;font-size:10px;font-weight:600}.role-switch button.active{border-color:var(--rel-red);color:var(--rel-red);background:var(--rel-red-soft)}.permission-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px 14px;padding:10px 0 2px;display:grid}.permission-check{font-size:10px}.permission-matrix-hint{color:var(--muted);margin:4px 0 8px;font-size:10px;display:block}.email-notice{border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:11px;line-height:1.5;display:flex}.email-notice p{flex:1;margin:0}.email-notice-ok{color:#1a5c2a;background:#f0faf2;border:1px solid #b6dfbe}.email-notice-warn{color:#7a5c10;background:#fdf6e3;border:1px solid #e5c76b}.full-edit-toggle{border:1px solid var(--line);background:var(--canvas,#f6f7f8);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;margin:2px 0 10px;padding:10px 12px;display:flex}.full-edit-toggle input{width:15px;height:15px;accent-color:var(--rel-red,#b3282d);cursor:pointer;margin-top:2px}.full-edit-toggle strong{font-size:11px;display:block}.full-edit-toggle small{color:var(--muted);margin-top:2px;font-size:9.5px;line-height:1.45;display:block}.permission-matrix-bulk{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:10px;display:flex}.permission-matrix{border:1px solid var(--line);border-radius:10px;overflow:hidden}.permission-matrix-head,.permission-matrix-row{grid-template-columns:minmax(0,1fr) 76px 76px 76px;align-items:center;display:grid}.permission-matrix-head{background:var(--canvas,#f6f7f8);border-bottom:1px solid var(--line);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:9px;font-weight:700}.permission-matrix-head span{text-align:center;padding:7px 10px}.permission-matrix-head span:first-child{text-align:left}.permission-matrix-row{border-bottom:1px solid var(--line)}.permission-matrix-row:last-child{border-bottom:none}.permission-matrix-row:nth-child(2n){background:#00000004}.permission-matrix-label{text-overflow:ellipsis;white-space:nowrap;padding:7px 10px;font-size:10.5px;font-weight:600;overflow:hidden}.permission-matrix-cell{cursor:pointer;place-items:center;padding:7px 0;display:grid}.permission-matrix-cell input{accent-color:var(--rel-red,#b3282d);cursor:pointer;width:14px;height:14px}.access-chip-view,.access-chip-edit{white-space:nowrap}.access-chip-view{opacity:.75}.view-only-pill{color:#8a6d1a;letter-spacing:.04em;white-space:nowrap;background:#fdf6e3;border:1px solid #e5c76b;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:10px;font-weight:700;display:inline-flex}.flow-panel{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:190px minmax(0,1fr);align-items:stretch;display:grid;overflow:hidden}.flow-label{background:var(--ink);color:#fff;flex-direction:column;justify-content:center;gap:4px;padding:18px;display:flex}.flow-label span{color:#ffffff7a;letter-spacing:.08em;text-transform:uppercase;font-size:9px}.stage-flow{align-items:stretch;padding:12px;display:flex;overflow-x:auto}.stage-node{min-width:150px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:0;border-right:1px dashed #d4d5d9;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;padding:8px 28px 8px 10px;display:grid;position:relative}.stage-node:hover,.stage-node-selected{background:#fff5f5}.stage-node-selected>span{background:var(--rel-red);color:#fff}.stage-node:last-child{border-right:0}.stage-node>span{color:#6e737c;background:#eceef1;border-radius:50%;place-items:center;width:23px;height:23px;font-size:7px;font-weight:800;display:grid}.stage-node div{flex-direction:column;gap:2px;display:flex}.stage-node small{color:var(--muted);font-size:7px}.stage-node i{background:var(--rel-red-soft);color:var(--rel-red);border-radius:4px;padding:3px 4px;font-size:6px;font-style:normal;font-weight:800;position:absolute;top:7px;right:7px}.stage-risk>span{background:var(--rel-red);color:#fff}.inventory-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.inventory-kpis article{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;justify-content:center;gap:5px;min-height:104px;padding:18px 20px;display:flex}.inventory-kpis article.hold-kpi{background:#fffaf0;border-color:#efc36b}.inventory-kpis span,.inventory-kpis small{color:var(--muted);font-size:8px}.inventory-kpis strong{letter-spacing:-.04em;font-size:22px}.intro-actions{gap:8px;display:flex}.wire-stock-panel{overflow:hidden}.wire-stock-panel .panel-head{border-bottom:1px solid var(--line);padding:18px 20px}.wire-stock-panel .panel-head p{max-width:760px;color:var(--muted);margin:5px 0 0;font-size:9px;line-height:1.5}.wire-stock-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;max-height:280px;padding:12px;display:grid;overflow:auto}.wire-stock-grid>button{border:1px solid var(--line);min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:#fafafb;border-radius:9px;flex-direction:column;gap:5px;padding:13px;display:flex}.wire-stock-grid>button:hover{background:#fff8f8;border-color:#e8abad}.wire-stock-grid span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.wire-stock-grid small{color:var(--muted);font-size:7px}.import-history{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:8px;padding:12px 14px;display:flex;overflow-x:auto}.import-history span{color:var(--muted);white-space:nowrap;font-size:8px}.import-history strong{white-space:nowrap;background:#f4f5f7;border-radius:6px;padding:5px 8px;font-size:8px}.hold-panel,.scrap-panel{overflow:hidden}.hold-panel .panel-head,.scrap-panel .panel-head{border-bottom:1px solid var(--line);padding:18px 20px}.hold-panel .panel-head p,.scrap-panel .panel-head p{max-width:760px;color:var(--muted);margin:5px 0 0;font-size:9px;line-height:1.5}.hold-badge{color:#805d12;white-space:nowrap;background:#fff5d9;border:1px solid #e8c06c;border-radius:999px;padding:7px 10px;font-size:8px;font-weight:800}.row-actions{align-items:center;gap:3px;display:flex}.hold-action{color:#8a6515}.hold-action:hover{background:#fff5d9}.stage-pill{color:#4d5b72;background:#f7f9fc;border:1px solid #dfe4ec;border-radius:999px;padding:5px 8px;font-size:8px;display:inline-flex}.stock-health{background:var(--green-soft);color:var(--green);border-radius:999px;padding:5px 8px;font-size:8px;font-weight:700;display:inline-flex}.stock-low{background:var(--rel-red-soft);color:var(--rel-red)}.movement-panel{overflow:hidden}.movement-list{max-height:620px;padding:5px 18px 12px;overflow:auto}.movement-list>div{border-bottom:1px solid #eff0f2;grid-template-columns:55px minmax(0,1fr);align-items:start;gap:10px;padding:13px 0;display:grid}.movement-list>div:last-child{border-bottom:0}.movement-list span{font-family:var(--font-geist-mono), monospace;font-size:9px;font-weight:700}.movement-plus{color:var(--green)}.movement-minus{color:var(--rel-red)}.movement-list div div{flex-direction:column;gap:3px;min-width:0;display:flex}.movement-list strong{font-size:9px}.movement-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;line-height:1.4;overflow:hidden}.master-source{background:linear-gradient(100deg,#fff8f8,#fff);border:1px solid #efcfd0;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 19px;display:grid}.master-manager{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.master-manager>article,.master-manager>form{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;justify-content:center;gap:5px;min-height:104px;padding:15px;display:flex}.master-manager article span,.master-manager article small{color:var(--muted);font-size:8px;line-height:1.4}.master-manager>form{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;display:grid}.master-source>div:nth-child(2){min-width:0}.master-source strong{margin:3px 0 2px;font-size:12px;display:block}.master-source p{color:var(--muted);margin:0;font-size:9px}.readonly-badge{color:var(--rel-red-dark);text-transform:uppercase;border:1px solid #e7babc;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:750}.modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#12131794;place-items:center;padding:24px;animation:.14s fade-in;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #fff3;border-radius:16px;width:min(100%,820px);max-height:calc(100vh - 48px);animation:.18s rise-in;overflow:auto;box-shadow:0 28px 80px #00000038}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;display:flex}.modal-head h2{letter-spacing:-.04em;margin:5px 0 0;font-size:24px}.icon-button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;font-size:20px}.form-stack{flex-direction:column;gap:16px;padding:22px 24px 24px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.field{flex-direction:column;gap:7px;display:flex}.field>span,.process-selector legend{color:var(--ink-2);letter-spacing:.03em;font-size:9px;font-weight:700}.field input,.field textarea,.field select{width:100%;color:var(--ink);background:#fff;border:1px solid #dfe1e5;border-radius:8px;outline:0;padding:10px 11px;font-size:11px;transition:all .14s}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--rel-red);box-shadow:0 0 0 3px #e8212717}.field input:disabled{color:var(--muted);background:#f6f6f7}.selected-item{background:#fafafb;border:1px solid #e4e6e9;border-radius:9px;grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.selected-item>div{flex-direction:column;gap:4px;display:flex}.selected-item .full{grid-column:1/-1}.selected-item span{color:var(--muted);font-size:8px}.selected-item strong{font-size:10px}.selected-item .selected-rm-summary{background:#fff;border:1px solid #d8e0e6;border-radius:6px;padding:7px 8px}.selected-rm-summary strong{overflow-wrap:anywhere}.selected-rm-summary small{color:#687681;font-size:7px}.otd-check{background:var(--rel-red-soft);border:1px solid #efc5c7;border-radius:9px;align-items:flex-start;gap:10px;padding:13px;display:flex}.otd-check input{margin-top:2px}.otd-check span{flex-direction:column;gap:3px;display:flex}.otd-check strong{color:var(--rel-red-dark);font-size:10px}.otd-check small{color:#8c5c5e;font-size:8px}.form-actions{justify-content:flex-end;gap:9px;padding-top:2px;display:flex}.entry-summary{border:1px solid var(--line);border-radius:9px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.entry-summary>div{border-right:1px solid var(--line);flex-direction:column;gap:4px;padding:13px;display:flex}.entry-summary>div:last-child{border-right:0}.entry-summary span{color:var(--muted);font-size:8px}.entry-summary strong{font-size:13px;line-height:1.35}.three-column{grid-template-columns:repeat(2,minmax(0,1fr))}.balance-check{background:var(--rel-red-soft);color:var(--rel-red-dark);border:1px solid #efc2c4;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;font-size:9px;display:flex}.balance-check.balanced{background:var(--green-soft);color:var(--green);border-color:#bcdccf}.balance-check strong{font-family:var(--font-geist-mono), monospace}.info-note{border-left:3px solid var(--blue);background:var(--blue-soft);color:#436189;border-radius:5px;padding:11px 13px;font-size:9px;line-height:1.5}.stock-current{background:var(--ink);color:#fff;border-radius:9px;justify-content:space-between;align-items:center;padding:14px 15px;display:flex}.stock-current span{color:#ffffff94;font-size:9px}.stock-current strong{font-size:17px}.process-selector{border:1px solid var(--line);border-radius:9px;margin:0;padding:14px}.process-selector legend{padding:0 4px}.process-selector p{color:var(--muted);margin:0 0 11px;font-size:8px}.process-selector>div{flex-wrap:wrap;gap:7px;display:flex}.process-selector label{position:relative}.process-selector input{opacity:0;pointer-events:none;position:absolute}.process-selector label span{border:1px solid var(--line);color:var(--muted);cursor:pointer;border-radius:7px;padding:7px 9px;font-size:8px;display:inline-flex}.process-selector label.selected span{background:var(--rel-red-soft);color:var(--rel-red-dark);border-color:#f0b0b2;font-weight:700}.transfer-arrow{border:1px solid var(--line);color:var(--ink-2);text-align:center;background:#fafafb;border-radius:9px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:13px;font-size:9px;display:grid}.transfer-arrow b{color:var(--rel-red);font-size:18px}.route-builder{border:1px solid var(--line);border-radius:10px;margin:0;padding:16px}.route-builder legend{color:var(--ink-2);padding:0 5px;font-size:10px;font-weight:750}.route-builder>p{color:var(--muted);margin:0 0 13px;font-size:8px;line-height:1.5}.operation-list{flex-direction:column;gap:8px;display:flex}.operation-row{background:#fafafb;border:1px solid #e7e8eb;border-radius:9px;grid-template-columns:28px minmax(120px,.8fr) minmax(150px,1fr) 110px auto;align-items:end;gap:9px;padding:10px;display:grid}.operation-number{background:var(--ink);color:#fff;border-radius:50%;align-self:center;place-items:center;width:26px;height:26px;font-size:8px;font-weight:800;display:grid}.operation-name{flex-direction:column;align-self:center;gap:3px;display:flex}.operation-name strong{font-size:10px}.operation-name small,.operation-row label span{color:var(--muted);font-size:7px}.operation-row label{flex-direction:column;gap:5px;display:flex}.operation-row input,.operation-row select,.add-operation select{width:100%;color:var(--ink);background:#fff;border:1px solid #dfe1e5;border-radius:7px;padding:8px 9px;font-size:9px}.machine-recommendations{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;display:grid}.machine-recommendations article{border:1px solid var(--line);border-top:3px solid var(--rel-red);background:#fff;border-radius:10px;padding:15px}.machine-recommendations h3{margin:5px 0 3px;font-size:13px}.machine-recommendations p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0 0 10px;font-size:8px;overflow:hidden}.machine-recommendations article>div{flex-direction:column;gap:5px;display:flex}.machine-recommendations article>div span{color:var(--ink-2);background:#f7f8f9;border-radius:6px;padding:6px 7px;font-size:8px}.machine-recommendations b{color:var(--rel-red)}.priority-strip{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:7px;padding:11px 13px;display:flex;overflow-x:auto}.priority-strip span{color:var(--muted);white-space:nowrap;font-size:8px}.priority-strip strong{background:var(--blue-soft);color:var(--blue);white-space:nowrap;border-radius:6px;padding:6px 8px;font-size:8px}.batch-date{color:var(--muted);align-items:center;gap:6px;font-size:8px;display:flex}.batch-date input,.batch-input,.batch-select,.batch-remarks{min-height:32px;color:var(--ink);background:#fff;border:1px solid #dfe1e5;border-radius:6px;padding:6px 7px;font-size:9px}.reject-disposition-cell{vertical-align:middle}.reject-policy-note{color:var(--muted);white-space:normal;margin-top:2px;font-size:6px;font-weight:700;line-height:1.2;display:block}.reject-policy-note.mandatory{color:#a12a30;font-weight:850}.priority-rank{background:var(--ink);color:#fff;border-radius:6px;padding:5px 7px;font-size:8px;font-weight:800;display:inline-flex}.import-template,.import-summary{border:1px solid var(--line);background:#fafafb;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:13px;display:flex}.import-template>div,.import-summary{font-size:9px}.import-template>div{flex-direction:column;gap:4px;display:flex}.import-template span,.import-summary span{color:var(--muted);font-size:8px}.file-drop{text-align:center;cursor:pointer;background:#fff8f8;border:1px dashed #d7a4a6;border-radius:10px;align-content:center;place-items:center;gap:5px;min-height:120px;display:grid;position:relative}.file-drop input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-drop strong{font-size:11px}.file-drop span{color:var(--muted);font-size:8px}.import-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.import-preview span{color:var(--ink-2);background:#f5f6f8;border-radius:6px;justify-content:space-between;gap:10px;padding:7px 8px;font-size:8px;display:flex}.import-preview b{white-space:nowrap}.operation-actions{gap:3px;display:flex}.operation-actions button{border:1px solid var(--line);width:27px;height:32px;color:var(--muted);cursor:pointer;background:#fff;border-radius:6px}.operation-actions button:last-child{color:var(--rel-red)}.operation-actions button:disabled{opacity:.35;cursor:default}.add-operation{grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:10px;display:grid}.empty-state{color:var(--muted);text-align:center;padding:35px 20px;font-size:10px}.error-banner{background:var(--rel-red-soft);color:var(--rel-red-dark);border:1px solid #efc2c4;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;margin:16px clamp(22px,3vw,42px) 0;padding:12px 14px;font-size:10px;display:flex}.error-banner button{color:var(--rel-red-dark);cursor:pointer;background:#fff;border:1px solid #e9a9ac;border-radius:6px;padding:5px 8px;font-size:8px;font-weight:700}.toast{z-index:80;background:var(--ink);color:#fff;border-radius:10px;max-width:min(420px,100vw - 48px);padding:13px 16px;font-size:10px;animation:.18s rise-in;position:fixed;bottom:24px;right:24px;box-shadow:0 15px 40px #00000038}[data-hover-reveal]{cursor:help}.compact-hover-reveal{z-index:90;color:#fff;pointer-events:none;white-space:normal;overflow-wrap:anywhere;background:#17212b;border:1px solid #ffffff29;border-radius:6px;width:max-content;max-width:min(420px,100vw - 24px);padding:7px 9px 8px;animation:.1s fade-in;position:fixed;box-shadow:0 10px 26px #0c12183d}.compact-hover-reveal-above{transform:translateY(-100%)}.compact-hover-reveal>span{color:#ffb3b6;letter-spacing:.08em;text-transform:uppercase;font-size:7px;font-weight:800;line-height:1.2;display:block}.compact-hover-reveal>strong{color:#fff;margin-top:3px;font-size:10px;font-weight:700;line-height:1.4;display:block}.loading-screen{background:var(--sidebar);color:#fff;justify-content:center;align-items:center;gap:14px;min-height:100vh;display:flex}.loading-mark{background:var(--rel-red);border-radius:13px;place-items:center;width:58px;height:58px;font-size:16px;font-weight:800;animation:1.4s infinite pulse;display:grid}.loading-copy{flex-direction:column;gap:4px;display:flex}.loading-copy strong{font-size:14px}.loading-copy span{color:#ffffff73;font-size:9px}.sidebar-scrim{display:none}.sidebar{width:206px}.brand{align-items:center;gap:9px;padding:9px 10px;display:flex}.brand-image{border-radius:3px;width:72px;height:38px}.brand-copy{gap:0;margin-top:0}.nav-item{border-radius:4px;gap:7px;margin-bottom:1px;padding:5px 6px}.nav-item small{font-size:7px}.nav-item-active{box-shadow:none}.source-card p,.source-card>span{display:none}.sidebar-foot{gap:7px;padding:7px 9px}.sidebar-foot .avatar{width:24px;height:24px;font-size:7px}.topbar{-webkit-backdrop-filter:none;backdrop-filter:none;gap:10px;min-height:48px;padding:5px 12px}.topbar h1{letter-spacing:-.01em;margin:0;font-size:15px}.topbar-left .eyebrow{display:none}.topbar-actions{gap:6px}.presence-strip{border-radius:3px;padding:3px 6px}.period-control{border-radius:3px;min-width:132px;padding:3px 6px}.period-control input{width:116px;font-size:9px}.sync-pill{border-radius:3px;gap:5px;padding:5px 7px;font-size:7px}.global-filters{border-radius:3px;grid-template-columns:minmax(180px,1fr) 130px 160px auto;gap:5px;margin:6px 10px 0;padding:5px}.global-filters label{gap:2px}.content{width:100%;padding:8px 10px 20px}.control-summary{border:1px solid #cfd2d8;border-left:4px solid var(--rel-red);background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:62px;padding:8px 12px;display:flex}.control-summary h2{letter-spacing:-.01em;margin:2px 0;font-size:15px}.control-summary p{color:var(--muted);margin:0;font-size:8px}.control-progress{grid-template-columns:1fr auto;align-items:center;gap:1px 12px;min-width:235px;display:grid}.control-progress span,.control-progress small{color:var(--muted);font-size:7px}.control-progress strong{grid-area:1/2/span 2;font-size:17px}.control-progress i{background:#eceef1;grid-column:1/-1;height:4px;overflow:hidden}.control-progress b{background:var(--rel-red);height:100%;display:block}.metric-card{min-height:66px;box-shadow:none;border-radius:2px;padding:8px 10px}.metric-card strong{letter-spacing:-.02em;margin:3px 0 1px;font-size:19px}.metric-primary{border-left:3px solid var(--rel-red);background:#fff}.panel{box-shadow:none;border-radius:2px}.panel-head{gap:8px;min-height:42px;padding:6px 9px}.panel-head h3{letter-spacing:0;margin:1px 0 0;font-size:11px}.panel-head p{margin:2px 0 0!important;font-size:7px!important;line-height:1.3!important}.eyebrow{letter-spacing:.09em;font-size:6px}.process-list{padding:1px 8px 5px}.process-row{grid-template-columns:minmax(95px,.7fr) minmax(140px,1.4fr) 45px 10px;gap:8px;padding:6px 2px}.priority-list{padding:3px 8px 7px}.priority-row{min-height:36px;padding:4px 0}.page-intro{align-items:center;gap:12px;min-height:45px;padding:2px 1px}.page-intro h2{letter-spacing:-.02em;margin:2px 0;font-size:17px;line-height:1.1}.page-intro p{font-size:8px;line-height:1.35}.primary-button,.secondary-button{min-height:27px;box-shadow:none;border-radius:2px;padding:4px 8px;font-size:8px}.primary-button.small{min-height:24px;padding:3px 6px;font-size:7px}.table-toolbar{gap:7px;min-height:36px;padding:4px 6px}.search-field{border-radius:2px;gap:4px;width:min(100%,300px);min-height:25px;padding:0 6px}.search-field span{font-size:11px}.compact-select{color:var(--muted);align-items:center;gap:4px;font-size:7px;display:flex}.compact-select select{border:1px solid var(--line);background:#fff;border-radius:2px;min-height:25px;padding:2px 5px;font-size:7px}.table-scroll{scrollbar-width:thin}thead th{z-index:2;position:sticky;top:0}th{letter-spacing:.045em;height:27px;padding:0 6px;font-size:6px}td>small,.part-code+small{margin-top:1px;font-size:6px}.route-chips{gap:2px}.priority-toggle{border-radius:2px;min-width:29px;padding:3px;font-size:6px}.row-actions{gap:1px}.pace-card{border-radius:2px;padding:6px 8px}.process-tabs{border-radius:2px;gap:2px;padding:3px}.process-tabs button{border-radius:2px;padding:5px 7px;font-size:7px}.machine-recommendations{gap:5px}.machine-recommendations article{border-radius:2px;min-width:190px;padding:7px}.machine-recommendations article>div span{border-radius:2px;padding:3px 4px;font-size:6px}.priority-strip{border-radius:2px;min-height:30px;padding:3px 5px}.priority-strip strong{border-radius:2px;padding:3px 5px;font-size:6px}.batch-date input,.batch-input,.batch-select,.batch-remarks{border-radius:2px;min-height:23px;padding:2px 4px;font-size:7px}.priority-rank{border-radius:2px;padding:2px 4px;font-size:6px}.inventory-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.inventory-kpis article{border-radius:2px;gap:1px;min-height:57px;padding:6px 8px}.inventory-kpis article.aging-kpi{background:#fff9ec;border-color:#dd9b35}.flow-label{gap:2px;padding:7px}.flow-label span{font-size:6px}.flow-label strong{font-size:8px;line-height:1.25}.stage-node{grid-template-columns:18px 1fr;gap:4px;min-width:120px;padding:4px 12px 4px 4px}.stage-node>span{width:17px;height:17px;font-size:5px}.inventory-layout{grid-template-columns:minmax(0,1fr) 245px}.inventory-table-scroll{max-height:calc(100vh - 230px)}.movement-list{max-height:calc(100vh - 270px);font-size:8px}.movement-list>div{padding:5px 7px}.wire-stock-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:3px;max-height:180px;padding:5px}.wire-stock-grid>button{border-radius:2px;gap:2px;padding:6px}.wire-stock-grid strong{font-size:11px}.lot-link{color:#27538f;cursor:pointer;background:#edf4ff;border:1px solid #9ab3d7;border-radius:2px;padding:1px 4px;font-size:7px;font-weight:750}.age-badge{color:#176d4f;white-space:nowrap;background:#edf7f2;font-weight:750;display:inline-flex}.age-watch{color:#8a5b10;background:#fff5dc}.age-old{color:var(--rel-red-dark);background:#fff0f1}.batch-code{color:#244f88;font-family:var(--font-geist-mono), monospace;white-space:nowrap;font-size:7px}.master-manager{gap:5px}.master-manager>article,.master-manager>form{border-radius:2px;gap:2px;min-height:58px;padding:6px}.master-manager article strong{font-size:14px}.master-source{border-radius:2px;gap:7px;padding:7px 9px}.machine-capacity-strip>span{border-radius:2px;gap:1px;min-width:140px;padding:5px 7px}.daily-bars{height:130px;padding:5px 8px 0}.team-presence-list{gap:3px;padding:0 7px 7px}.team-presence-list>div{border-radius:2px;grid-template-columns:25px 1fr auto;gap:5px;padding:4px}.source-strip{border-radius:2px;padding:6px 8px}.machine-capacity-strip{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.machine-capacity-strip>span{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;gap:3px;min-width:170px;padding:10px 12px;display:flex}.machine-capacity-strip strong{font-size:9px}.machine-capacity-strip small{color:var(--muted);font-size:8px}.plan-action{color:#116747!important;border-color:#b8d7c9!important}.team-presence-list{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:8px;padding:0 18px 18px;display:grid}.team-presence-list>div{border:1px solid var(--line);background:#fafafb;border-radius:9px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.team-presence-list>div>span:nth-child(2),.presence-state{flex-direction:column;gap:2px;display:flex}.team-presence-list strong{font-size:9px}.team-presence-list small{color:var(--muted);font-size:7px}.presence-state{color:var(--muted);text-align:right;font-size:8px}.presence-state.online{color:#116747;font-weight:750}.presence-state i{display:none}.monitoring-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;display:grid}.daily-monitor{padding-bottom:16px}.daily-bars{align-items:end;gap:3px;height:210px;padding:12px 18px 0;display:flex}.daily-bars>div{border-bottom:1px solid var(--line);flex:1;justify-content:center;align-items:end;min-width:6px;height:100%;display:flex;position:relative}.daily-bar{background:linear-gradient(#ef4c51, var(--rel-red));border-radius:3px 3px 0 0;width:min(14px,70%);min-height:1px}.daily-bars i{background:#79161a;width:2px;position:absolute;bottom:0;right:5%}.daily-bars small{color:var(--muted);font-size:6px;position:absolute;bottom:-14px}@media (width<=1180px){.monitoring-grid{grid-template-columns:1fr}.presence-strip{display:none}.workspace-presence-bar{gap:8px;padding:5px 10px}.workspace-presence-heading{min-width:170px}}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)scale(.99)}}@keyframes pulse{50%{opacity:.5}}@media (width<=1180px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.inventory-layout{grid-template-columns:1fr}.movement-panel{max-height:440px}.mini-metrics{grid-template-columns:repeat(2,1fr)}.mini-metrics>div:nth-child(2){border-right:0}.mini-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.operation-row{grid-template-columns:28px minmax(120px,.8fr) minmax(150px,1fr) 100px}.operation-actions{grid-column:2/-1;justify-content:flex-end}.master-manager{grid-template-columns:repeat(3,1fr)}.master-manager>form{grid-column:1/-1}}@media (width<=900px){.sidebar{transition:all .19s;transform:translate(-100%)}.sidebar-open{transform:translate(0);box-shadow:20px 0 60px #00000040}.sidebar-scrim{z-index:25;background:#0000006b;border:0;display:block;position:fixed;inset:0}.main{margin-left:0}.menu-button{place-items:center;display:grid}.hero{flex-direction:column;align-items:flex-start}.hero-score{min-width:0}.flow-panel{grid-template-columns:1fr}.flow-label{min-height:72px}.inventory-kpis{grid-template-columns:1fr}.global-filters{grid-template-columns:1fr 1fr}.master-manager{grid-template-columns:1fr}.master-manager>form{grid-column:auto}}@media (width<=680px){.topbar{min-height:68px;padding:10px 15px}.topbar h1{font-size:17px}.topbar-actions{display:none}.workspace-presence-bar{gap:6px;min-height:40px;padding:4px 8px}.workspace-presence-heading{min-width:132px}.workspace-presence-heading small{display:none}.workspace-presence-person small{max-width:130px}.content{padding:20px 15px 36px}.hero{border-radius:14px;min-height:0;padding:28px 24px}.hero h2{font-size:34px}.hero-score{width:100%}.metric-grid,.mini-metrics{grid-template-columns:1fr}.mini-metrics>div{border-right:0;border-bottom:1px solid var(--line)}.mini-metrics>div:last-child{border-bottom:0}.dashboard-grid{gap:14px}.process-row{grid-template-columns:minmax(105px,.85fr) 1fr 45px;gap:10px}.row-arrow{display:none}.source-strip,.page-intro{flex-direction:column;align-items:flex-start}.source-strip>span{margin-left:46px}.page-intro h2{font-size:33px}.page-intro .primary-button{width:100%}.intro-actions{flex-direction:column;width:100%}.intro-actions button,.pace-card{width:100%}.table-toolbar{flex-wrap:wrap;align-items:flex-start}.search-field,.search-field.wide{width:100%}.record-count{margin-left:0}.legend{width:100%;margin-left:0}.master-source{grid-template-columns:40px 1fr}.readonly-badge{grid-column:2;justify-self:start}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:16px 16px 0 0;width:100%;max-height:92vh}.modal-head,.form-stack{padding-left:18px;padding-right:18px}.form-grid,.global-filters,.master-manager>form,.import-preview{grid-template-columns:1fr}.global-filters>button{width:100%}.entry-summary{grid-template-columns:1fr}.entry-summary>div{border-right:0;border-bottom:1px solid var(--line)}.entry-summary>div:last-child{border-bottom:0}.operation-row{grid-template-columns:28px 1fr;align-items:center}.operation-row label,.operation-actions{grid-column:1/-1}.add-operation,.transfer-arrow{grid-template-columns:1fr}.transfer-arrow b{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.sidebar{background:linear-gradient(#202329 0%,#15171b 100%);width:220px}.main{margin-left:220px}.brand{gap:10px;padding:11px 12px}.brand-image{border-radius:7px;width:76px;height:40px;box-shadow:0 5px 16px #0000003d}.brand-copy span{font-size:8px}.brand-copy strong{font-size:11px}.primary-nav{padding:12px 8px}.nav-section{padding:0 8px 6px;font-size:8px}.nav-item{border-radius:8px;gap:9px;min-height:39px;margin-bottom:3px;padding:6px 8px}.nav-item:hover{background:#ffffff12}.nav-item-active{box-shadow:inset 3px 0 var(--rel-red);background:linear-gradient(90deg,#e8212740,#e8212714)}.nav-short{border-radius:7px;width:27px;height:27px;font-size:8px}.nav-item strong{font-size:10px}.nav-item small{margin-top:1px;font-size:8px}.source-card{border-radius:8px;margin:auto 9px 8px;padding:9px 10px}.source-card strong{font-size:9px}.sidebar-foot{padding:9px 11px}.sidebar-foot .avatar{border-radius:8px;width:28px;height:28px;font-size:8px}.sidebar-foot strong{font-size:9px}.sidebar-foot small{font-size:8px}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-bottom-color:#dedfe3;min-height:57px;padding:7px 14px}.topbar h1{font-size:17px}.presence-strip,.period-control,.sync-pill{border-radius:7px}.period-control{padding:4px 8px}.period-control span{font-size:7px}.period-control input{font-size:10px}.sync-pill{padding:6px 9px;font-size:8px}.presence-avatar{width:25px;height:25px;font-size:7px}.global-filters{background:#ffffffeb;border-color:#dfe1e5;border-radius:9px;grid-template-columns:minmax(190px,1fr) repeat(3,minmax(135px,.55fr)) auto;gap:7px;margin:8px 12px 0;padding:7px;box-shadow:0 2px 9px #191c2209}.global-filters label>span{font-size:7px}.global-filters input,.global-filters select,.master-manager input,.master-manager select{border-radius:6px;min-height:30px;padding:5px 8px;font-size:9px}.global-filters>button{border-radius:6px;min-height:30px;font-size:8px}.content{padding:10px 12px 26px}.page-stack{gap:10px}.control-summary{border-left:4px solid var(--rel-red);border-radius:9px;min-height:74px;padding:10px 14px;box-shadow:0 3px 13px #1d20260b}.control-summary h2{font-size:17px}.control-summary p{font-size:9px}.control-progress{min-width:250px}.control-progress span,.control-progress small{font-size:8px}.control-progress strong{font-size:19px}.control-progress i{border-radius:9px;height:5px}.metric-card{border-color:#dfe1e5;border-radius:9px;min-height:76px;padding:10px 12px;box-shadow:0 3px 12px #1d20260a}.metric-card strong{font-size:21px}.dashboard-grid,.monitoring-grid,.inventory-layout{gap:10px}.panel{border-color:#dfe1e5;border-radius:9px;box-shadow:0 3px 13px #1d20260a}.panel-head{min-height:50px;padding:8px 11px}.panel-head h3{font-size:13px}.panel-head p{font-size:8px!important}.eyebrow{font-size:7px}.panel-note,.priority-count{font-size:8px}.process-row{padding:8px 3px}.process-name strong{font-size:9px}.process-name small,.bar-wrap small{font-size:7px}.page-intro{min-height:55px;padding:3px 2px}.page-intro h2{font-size:20px}.page-intro p{max-width:850px;font-size:9px;line-height:1.45}.plan-scope-note{color:#5c430f;background:#fff9eb;border:1px solid #efc76d;border-left:4px solid #d99113;border-radius:8px;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:13px;padding:9px 12px;display:grid}.plan-scope-note strong{white-space:nowrap;font-size:10px}.plan-scope-note span{font-size:8px;line-height:1.45}.plan-definition-note{color:#5c430f;background:#fff9eb;border:1px solid #efc76d;border-radius:7px;flex-direction:column;gap:3px;padding:9px 10px;display:flex}.plan-definition-note strong{font-size:10px}.plan-definition-note span{font-size:8px;line-height:1.45}.plan-rm-availability{background:#f3faf6;border:1px solid #b8d7c8;border-left:4px solid #2f855f;border-radius:8px;flex-direction:column;gap:7px;padding:9px;display:flex}.plan-rm-availability.shortage{background:#fff5f5;border-color:#e4b6b8 #e4b6b8 #e4b6b8 #bd343b}.plan-rm-availability.unmapped{background:#fff9e8;border-color:#e4c576 #e4c576 #e4c576 #c38a18}.plan-rm-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.plan-rm-head>div{flex-direction:column;gap:2px;min-width:0;display:flex}.plan-rm-head span,.plan-rm-grid span{color:#66727c;text-transform:uppercase;font-size:6px;font-weight:850}.plan-rm-head strong{font-size:10px}.plan-rm-head small{color:#65727d;font-size:7px;line-height:1.35}.plan-rm-state{white-space:nowrap;border:1px solid;border-radius:4px;flex:none;padding:4px 6px;color:#267453!important}.plan-rm-availability.shortage .plan-rm-state{color:#a42e34!important}.plan-rm-availability.unmapped .plan-rm-state{color:#8d620e!important}.plan-rm-grid{background:#fff;border:1px solid #66796f40;border-radius:6px;grid-template-columns:minmax(145px,1.4fr) repeat(5,minmax(92px,1fr));display:grid;overflow:hidden}.plan-rm-grid>div{border-right:1px solid #e0e5e2;flex-direction:column;justify-content:center;gap:2px;min-width:0;min-height:56px;padding:6px 7px;display:flex}.plan-rm-grid>div:last-child{border-right:0}.plan-rm-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.plan-rm-grid small{color:#73808a;text-overflow:ellipsis;white-space:nowrap;font-size:6px;line-height:1.3;overflow:hidden}.plan-rm-grid .rm-balance{background:#2f855f0f}.plan-rm-availability.shortage .plan-rm-grid .rm-balance{background:#fff0f0}.plan-rm-availability.unmapped .plan-rm-grid .rm-balance{background:#fff8e4}@media (width<=900px){.plan-rm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-rm-grid>div:nth-child(3n){border-right:0}.plan-rm-grid>div:nth-child(-n+3){border-bottom:1px solid #e0e5e2}}@media (width<=560px){.plan-rm-head{flex-direction:column}.plan-rm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-rm-grid>div{border-bottom:1px solid #e0e5e2;border-right:1px solid #e0e5e2}.plan-rm-grid>div:nth-child(2n){border-right:0}.plan-rm-grid>div:nth-last-child(-n+2){border-bottom:0}}.primary-button,.secondary-button{border-radius:7px;min-height:31px;padding:5px 10px;font-size:9px}.primary-button{box-shadow:0 3px 8px #b7181d29}.primary-button.small{min-height:27px;font-size:8px}.mini-metrics{border-radius:9px;box-shadow:0 3px 12px #1d202609}.mini-metrics>div{padding:9px 11px}.table-toolbar{min-height:43px;padding:6px 8px}.search-field{border-radius:7px;min-height:30px}.search-field input,.check-filter,.record-count{font-size:8px}.compact-select select{border-radius:6px;min-height:29px;font-size:8px}table{min-width:800px}th{background:#f6f7f9;height:31px;padding:0 7px;font-size:7px}td{height:39px;padding:5px 7px;font-size:9px}td>small,.part-code+small{font-size:7px}.part-code{font-size:9px}.route-chips span,.route-chips.compact span{border-radius:5px;padding:3px 5px;font-size:7px}.table-action{border-radius:5px;padding:4px 6px;font-size:8px}.priority-toggle{border-radius:5px;font-size:7px}.stage-pill,.stock-health,.age-badge{border-radius:5px;padding:3px 5px;font-size:7px}.source-type{color:#38516f;white-space:nowrap;background:#eef2f8;border-radius:5px;padding:3px 5px;font-size:7px;font-weight:750;display:inline-flex}.rework-badge{color:#8d5806;white-space:nowrap;background:#fff0d9;border-radius:5px;margin-top:3px;padding:2px 5px;font-size:7px;font-weight:800;display:table}.batch-date input,.batch-input,.batch-select,.batch-remarks{border-radius:5px;min-height:27px;font-size:8px}.batch-input{width:62px}.batch-select{width:70px}.batch-remarks{width:100px}.flow-panel{border-radius:9px;grid-template-columns:135px minmax(0,1fr)}.flow-label{padding:9px}.stage-flow{padding:5px}.stage-node{border-radius:7px;min-width:142px;padding:6px 14px 6px 6px}.stage-node>span{border-radius:6px;width:21px;height:21px;font-size:6px}.stage-node strong{font-size:8px}.stage-node small{font-size:6px}.stage-node-selected{background:#fff0f1;box-shadow:inset 0 0 0 1px #e8212738}.hold-reason{color:#72501b;max-width:240px;line-height:1.35;display:block}.master-manager>article,.master-manager>form{border-radius:9px;min-height:68px;padding:8px}.master-source{border-radius:9px;padding:9px 11px}.machine-capacity-strip>span{border-radius:7px;padding:7px 9px}.minimum-chips{flex-wrap:wrap;gap:3px;max-width:310px;display:flex}.minimum-chips>span{color:#39516e;white-space:nowrap;background:#f2f6fb;border:1px solid #d8e2ef;border-radius:5px;padding:3px 5px;font-size:7px}.minimum-chips>span strong{color:#172b44;margin-left:3px}.minimum-chips>small{color:var(--muted);font-size:7px}.operation-row{border-radius:8px;grid-template-columns:28px minmax(145px,.9fr) minmax(150px,1fr) 95px minmax(145px,.8fr) auto;gap:8px;padding:8px}.operation-row label span,.minimum-not-applicable span{font-size:7px}.operation-row input,.operation-row select{border-radius:6px;min-height:29px;font-size:8px}.minimum-not-applicable{color:var(--muted);flex-direction:column;justify-content:center;gap:3px;display:flex}.minimum-not-applicable small{font-size:7px;line-height:1.3}.finished-minimum{max-width:310px;margin-top:8px}.decision-switch{grid-template-columns:1fr 1fr;gap:6px;display:grid}.decision-switch button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;min-height:34px;font-size:9px;font-weight:700}.decision-switch button.active{color:#244f88;background:#edf4fc;border-color:#9cb7d9}.decision-switch button.danger{color:var(--rel-red-dark);background:#fff0f1;border-color:#e5aeb0}.hold-route-reference{background:#f7f9fc;border:1px solid #cfd9e6;border-left:3px solid #47719e;border-radius:8px;gap:9px;padding:11px;display:grid}.hold-route-reference.route-incomplete{background:#fffaf3;border-color:#e8c4a3 #e8c4a3 #e8c4a3 #b76a1f}.hold-route-reference-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.hold-route-reference-head>div{gap:2px;display:grid}.hold-route-reference-head>div>span{color:#57708c;letter-spacing:.09em;text-transform:uppercase;font-size:7px;font-weight:800}.hold-route-reference-head strong{color:#172b44;font-size:11px}.hold-route-status{color:#287044;white-space:nowrap;background:#e7f5ec;border-radius:999px;padding:4px 7px;font-size:7px;font-weight:800}.route-incomplete .hold-route-status{color:#99581b;background:#fff0df}.hold-original-route{align-items:stretch;gap:5px;padding:2px 0 4px;display:flex;overflow-x:auto}.hold-original-step{background:#fff;border:1px solid #d9e1eb;border-radius:7px;grid-template-columns:22px auto;align-items:center;gap:2px 6px;min-width:112px;padding:7px;display:grid}.hold-original-step>span{color:#355c86;background:#eaf0f7;border-radius:6px;grid-row:1/span 2;place-items:center;width:22px;height:22px;font-size:7px;font-weight:850;display:grid}.hold-original-step>strong{color:#202d3d;white-space:nowrap;font-size:8px}.hold-original-step>small{color:var(--muted);white-space:nowrap;font-size:6px}.hold-original-step.finished{background:#f2faf5;border-color:#c8e3d2}.hold-original-step.finished>span{color:#287044;background:#dcefe3}.hold-original-arrow{color:#7890aa;align-self:center;font-size:12px}.hold-route-reference p{color:#647488;margin:0;font-size:7px;line-height:1.45}.hold-route-missing{color:#8d5016;background:#fff4e8;border:1px solid #edc9a7;border-radius:6px;padding:8px;font-size:8px;line-height:1.4}.rework-builder{border-radius:8px;padding:10px}.rework-route-list{gap:5px;margin:8px 0;display:grid}.rework-route-list>div{grid-template-columns:26px 1fr 30px;align-items:center;gap:6px;display:grid}.rework-route-list>div>span{color:#fff;background:#202329;border-radius:7px;place-items:center;width:24px;height:24px;font-size:8px;display:grid}.rework-route-list select{border:1px solid var(--line);background:#fff;border-radius:6px;min-height:31px;padding:4px 7px;font-size:9px}.rework-route-list button{width:28px;height:28px;color:var(--rel-red-dark);cursor:pointer;background:#fff5f5;border:1px solid #e5c5c6;border-radius:6px}.modal{border-radius:13px;box-shadow:0 24px 70px #0f121847}.modal-head{padding-top:15px;padding-bottom:12px}.modal-head h2{font-size:18px}.form-stack{gap:11px}.field input,.field select{border-radius:7px;min-height:34px;font-size:10px}@media (width<=1180px){.global-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-row{grid-template-columns:28px minmax(130px,1fr) minmax(140px,1fr)}.operation-row label,.operation-row .minimum-not-applicable,.operation-actions{grid-column:auto}}@media (width<=900px){.sidebar{width:220px}.main{margin-left:0}}@media (width<=680px){.global-filters{grid-template-columns:1fr}.plan-scope-note{grid-template-columns:1fr;gap:4px}.operation-row{grid-template-columns:28px 1fr}.operation-row label,.operation-row .minimum-not-applicable,.operation-actions{grid-column:1/-1}}.master-view-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.master-view-switch.two-masters{grid-template-columns:repeat(2,minmax(0,1fr))}.master-view-switch.three-masters{grid-template-columns:repeat(3,minmax(0,1fr))}.master-view-switch>button{min-height:58px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe1e5;border-radius:9px;grid-template-columns:29px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.master-view-switch>button>span{color:#60656d;background:#eef0f3;border-radius:7px;place-items:center;width:29px;height:29px;font-size:7px;font-weight:850;display:grid}.master-view-switch button div{flex-direction:column;gap:2px;min-width:0;display:flex}.master-view-switch button strong{font-size:10px}.master-view-switch button small{color:var(--muted);font-size:7px;line-height:1.3}.master-view-switch>button:hover{background:#fafafa;border-color:#c6c9cf}.master-view-switch>button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff5f5;border-color:#e8a9ab}.master-view-switch>button.active>span{background:var(--rel-red);color:#fff}.process-master-panel{grid-template-columns:minmax(185px,.45fr) minmax(310px,.75fr) minmax(0,1.8fr);align-items:center;gap:10px;padding:9px 11px;display:grid}.process-master-panel>div:first-child{flex-direction:column;gap:2px;display:flex}.process-master-panel>div:first-child>strong{font-size:11px}.process-master-panel>div:first-child>small{color:var(--muted);font-size:7px;line-height:1.3}.process-master-panel form{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.process-master-panel input,.master-editor input,.wire-master-form input{border:1px solid var(--line);min-height:31px;color:var(--ink);background:#fff;border-radius:6px;padding:5px 8px;font-size:9px}.process-master-chips{flex-wrap:wrap;gap:3px;max-height:60px;display:flex;overflow-y:auto}.process-master-chips span{color:#3e5068;background:#eef2f7;border-radius:5px;padding:3px 5px;font-size:7px;font-weight:750}.master-editor{padding:11px}.master-editor-active{box-shadow:inset 3px 0 var(--rel-red);border-color:#e5a3a6}.machine-edit-banner{background:#fff3f3;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;margin:-2px 0 9px;padding:7px 8px;display:flex}.machine-edit-banner>div{align-items:baseline;gap:7px;display:flex}.machine-edit-banner span{color:var(--rel-red-dark);text-transform:uppercase;font-size:7px;font-weight:800}.machine-edit-banner strong{font-size:10px}.master-editor form{grid-template-columns:1.2fr 1fr .7fr .7fr auto;align-items:end;gap:8px;display:grid}.master-editor label,.wire-master-form label{flex-direction:column;gap:4px;display:flex}.master-editor label>span,.wire-master-form label>span{color:var(--muted);font-size:7px;font-weight:750}.machine-category{color:#39516f;background:#eef3f8;border-radius:5px;padding:3px 6px;font-size:7px;font-weight:800;display:inline-flex}.wire-master-layout{grid-template-columns:275px minmax(0,1fr);align-items:start;gap:9px;display:grid}.wire-master-form{flex-direction:column;gap:9px;padding:12px;display:flex}.wire-master-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:5px;padding:7px;display:grid}.wire-master-grid>div{background:#fafbfc;border:1px solid #e1e3e7;border-radius:7px;flex-direction:column;justify-content:center;gap:2px;min-height:61px;padding:8px 9px;display:flex}.wire-master-grid span,.wire-master-grid small{color:var(--muted);font-size:6px}.wire-master-grid strong{font-size:9px}.inventory-head-selector{border-radius:9px;display:block;overflow:visible}.inventory-head-selector .flow-label{flex-direction:row;justify-content:space-between;align-items:center;min-height:34px;padding:6px 10px}.inventory-head-selector .stage-flow{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px;padding:6px;display:grid;overflow:visible}.inventory-head-selector .stage-node{background:#fff;border:1px solid #e1e3e7;border-radius:7px;grid-template-columns:23px minmax(0,1fr);gap:6px;width:100%;min-width:0;min-height:55px;padding:7px}.inventory-head-selector .stage-node>span{border-radius:6px;width:23px;height:23px;font-size:6px}.inventory-head-selector .stage-node small{font-size:6px;line-height:1.3}.inventory-head-selector .stage-node-all{background:#f7f8fa}.inventory-table-scroll .hold-reason{margin-top:4px;font-size:6px}@media (width<=1180px){.inventory-head-selector .stage-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.master-editor form{grid-template-columns:repeat(2,minmax(0,1fr))}.master-editor form button{grid-column:1/-1}.process-master-panel{grid-template-columns:minmax(180px,.7fr) minmax(280px,1fr)}.process-master-chips{grid-column:1/-1}}@media (width<=760px){.master-view-switch,.process-master-panel,.wire-master-layout{grid-template-columns:1fr}.inventory-head-selector .stage-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}.forging-duplicate-entry-alert{color:#75470d;background:#fff8e8;border:1px solid #d79a4c;border-left:4px solid #b66b0c;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;display:flex}.forging-duplicate-entry-alert>div{flex-direction:column;gap:1px;min-width:0;display:flex}.forging-duplicate-entry-alert span{letter-spacing:.05em;text-transform:uppercase;font-size:6px;font-weight:900}.forging-duplicate-entry-alert strong{font-size:9px}.forging-duplicate-entry-alert small{color:#7a6041;font-size:6px}.forging-duplicate-entry-alert button{color:#85510e;cursor:pointer;background:#fff;border:1px solid #b66b0c;border-radius:4px;flex:none;min-height:27px;padding:4px 7px;font-size:6px;font-weight:900}.tool-bom-metrics .readiness-red{border-top-color:#bc4147}.tool-bom-metrics .readiness-yellow{border-top-color:#d69a21}.tool-bom-metrics .readiness-green{border-top-color:#2f855f}.tool-bom-metrics .readiness-excluded{border-top-color:#75808b}.tool-bom-board-panel{overflow:hidden}.tool-bom-sticker-grid{background:#f3f5f7;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;padding:8px;display:grid}.tool-bom-sticker-shell{content-visibility:auto;contain-intrinsic-size:80px 52px;min-width:0;position:relative}.tool-bom-sticker{width:100%;min-width:0;min-height:52px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #d8dde2;border-radius:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:5px 5px 17px 10px;display:flex;position:relative;overflow:hidden}.tool-bom-sticker:hover{z-index:1;border-color:#7a8795;transform:translateY(-1px);box-shadow:0 3px 10px #141e2a1f}.tool-bom-sticker .readiness-dot{width:5px;position:absolute;top:0;bottom:0;left:0}.tool-bom-sticker strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;line-height:1.1;overflow:hidden}.tool-bom-sticker small{color:#66717c;font-size:6px;font-weight:750}.tool-bom-sticker.readiness-red{background:#fff3f3;border-color:#edc8ca}.tool-bom-sticker.readiness-red .readiness-dot{background:#c83d44}.tool-bom-sticker.readiness-yellow{background:#fff9e9;border-color:#ead7a7}.tool-bom-sticker.readiness-yellow .readiness-dot{background:#d89a18}.tool-bom-sticker.readiness-green{background:#f0faf5;border-color:#bbdccd}.tool-bom-sticker.readiness-green .readiness-dot{background:#2f8a63}.tool-bom-sticker.readiness-excluded{color:#4e5b66;background:#f2f4f6;border-color:#c9d0d6}.tool-bom-sticker.readiness-excluded .readiness-dot{background:#75808b}.tool-bom-requirement-toggle{z-index:2;color:#a43d42;cursor:pointer;background:#fff;border:1px solid #d6a1a4;border-radius:3px;min-height:12px;padding:1px 4px;font-size:5px;font-weight:900;line-height:1.2;position:absolute;bottom:3px;right:3px}.tool-bom-sticker-shell.is-excluded .tool-bom-requirement-toggle{color:#435d72;border-color:#aeb9c2}.tool-bom-requirement-toggle:disabled{cursor:wait;opacity:.55}.machine-tool-card-grid{background:#f3f5f7;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:8px;display:grid}.machine-tool-card{min-width:0;min-height:72px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #d9dde2;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;padding:9px;display:flex}.machine-tool-card:hover{border-color:#8b98a6;box-shadow:0 3px 12px #121f2d1a}.machine-tool-card.mapped{background:#f7fbfe;border-left:4px solid #4b708f}.machine-tool-card span{color:var(--muted);text-transform:uppercase;font-size:6px;font-weight:800}.machine-tool-card strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;overflow:hidden}.machine-tool-card small{color:#627183;font-size:7px;line-height:1.3}.tool-description{flex-direction:column;gap:2px;display:flex}.tool-description small{color:#6e7883;font-size:6px;line-height:1.35}.tool-bom-draft-warning{color:#76550d;background:#fff8df;border:1px solid #e5c878;border-radius:5px;padding:7px 9px;font-size:8px;font-weight:700}.machine-bom-note{background:#f2f7fa;border-left:3px solid #53738f;border-radius:5px;align-items:center;gap:12px;padding:8px 10px;display:flex}.machine-bom-note strong{white-space:nowrap;font-size:11px}.machine-bom-note span{color:#536b80;font-size:8px;line-height:1.4}.plan-tool-bom-block{background:#fff4f4;border:1px solid #e0b2b5;border-left:4px solid #bc3c43;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.plan-tool-bom-block.readiness-yellow{background:#fff9e8;border-color:#e6ca80 #e6ca80 #e6ca80 #d69517}.plan-tool-bom-block>div{flex-direction:column;gap:2px;min-width:0;display:flex}.plan-tool-bom-block span{color:var(--muted);text-transform:uppercase;font-size:6px;font-weight:800}.plan-tool-bom-block strong{font-size:10px}.plan-tool-bom-block small{color:#66717c;font-size:7px;line-height:1.4}.danger-pace{background:#fff7f7;border-top-color:#bd3f45}.danger-pace strong{color:#a3282e}.tool-inventory-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.tool-inventory-metrics button{min-height:65px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dce0e4;border-top:3px solid #657b8d;border-radius:6px;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 10px;display:flex}.tool-inventory-metrics button.shortage{border-top-color:#be4147}.tool-inventory-metrics button.warning{border-top-color:#d29a24}.tool-inventory-metrics button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff6f6;border-color:#e0a1a4}.tool-inventory-metrics span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.tool-inventory-metrics strong{font-size:15px}.tool-inventory-metrics small{color:var(--muted);font-size:7px}.tool-inventory-tabs{background:#fff;border:1px solid #dadddf;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.tool-inventory-tabs button{color:#687581;cursor:pointer;background:0 0;border:0;border-right:1px solid #dadddf;min-height:34px;font-size:8px;font-weight:800}.tool-inventory-tabs button:last-child{border-right:0}.tool-inventory-tabs button.active{color:#fff;background:#253a4e}.tool-inventory-table{table-layout:fixed;width:100%;min-width:1110px}.tool-inventory-table .shortage-row{background:#fff8f8}.inventory-description{max-width:240px}.life-missing-note{font-weight:800;color:#a46b09!important}.minimum-stock-button,.usage-button{color:#315f87;cursor:pointer;background:0 0;border:0;font-size:7px;font-weight:800}.tool-minimum-suggestion-note{color:#476957;background:#f1f8f4;border:1px solid #cde0d5;border-left:3px solid #438266;align-items:center;gap:8px;padding:5px 8px;font-size:7px;display:flex}.tool-minimum-suggestion-note strong{color:#225a42;flex:none;font-size:7px}.minimum-stock-control{flex-direction:column;align-items:center;gap:3px;min-width:0;display:flex}.minimum-suggestion{color:#226449;cursor:pointer;white-space:normal;background:#edf8f2;border:1px solid #9fc7b3;border-radius:4px;max-width:100%;padding:2px 4px;font-size:6px;font-weight:850;line-height:1.2}.minimum-suggestion:hover{background:#dff1e7;border-color:#5e9c7c}.minimum-suggestion.applied{color:#71808a;background:#f4f6f7;border-color:#d6dde0}.minimum-suggestion:disabled{cursor:default;opacity:.72}.minimum-suggestion-unavailable{color:#9a6b17;text-align:center;font-size:5.5px;font-weight:800;line-height:1.2}.tool-part-search-note{color:#47657d;background:#f2f7fb;border:1px solid #c9dbe8;border-left:3px solid #4f7fa2;align-items:center;gap:8px;padding:5px 8px;font-size:7px;display:flex}.tool-part-search-note strong{color:#244e70;flex:none;font-size:7px}.tool-part-usage{flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex}.tool-part-codes{flex-wrap:wrap;justify-content:center;gap:3px;width:100%;max-height:55px;padding-right:2px;display:flex;overflow:auto}.tool-part-codes button{color:#294f6d;overflow-wrap:anywhere;cursor:pointer;background:#edf4f8;border:1px solid #b8cedd;border-radius:4px;max-width:100%;padding:2px 4px;font-size:6px;font-weight:850;line-height:1.2;display:inline-flex}.tool-part-codes button:hover,.tool-part-codes button:focus-visible{color:#173f60;background:#dcebf4;border-color:#4f7fa2;outline:1px solid #4f7fa2}.tool-part-codes em{color:var(--muted);font-size:6px;font-style:normal}.tool-requirement-value{flex-direction:column;align-items:flex-end;gap:1px;display:inline-flex}.tool-requirement-value small{color:#71808a;white-space:normal;font-size:5.5px;font-weight:750;line-height:1.1}.minimum-stock-button span{color:#7c8791;margin-left:2px;font-size:6px}.tool-shortage-badge,.tool-ok-badge,.calculation-alert{border-radius:4px;justify-content:center;align-items:center;min-width:38px;padding:3px 5px;font-size:7px;font-weight:850;display:inline-flex}.tool-shortage-badge{color:#9d2026;background:#f8d9da}.tool-ok-badge{color:#1f7454;background:#e2f3eb}.calculation-alert{color:#875c08;background:#fff0cb}.tool-inventory-table .tool-shortage-badge,.tool-inventory-table .tool-ok-badge,.tool-inventory-table .calculation-alert{min-width:0;padding-left:2px;padding-right:2px}.tool-stock-actions{align-items:center;gap:4px;display:flex}.tool-stock-actions button{color:#325a7d;cursor:pointer;background:#f7fafc;border:1px solid #b9c7d4;border-radius:4px;min-height:24px;padding:3px 6px;font-size:6px;font-weight:800}.tool-stock-actions button.danger{color:#a32d33;background:#fff5f5;border-color:#e2b5b8}.tool-stock-actions button:disabled{cursor:not-allowed;opacity:.42}.tool-usage-detail td{background:#edf3f7;padding:7px 10px!important}.tool-usage-detail td>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tool-usage-detail span{color:#50697f;flex-direction:column;gap:3px;font-size:7px;line-height:1.5;display:flex}.tool-usage-detail strong{color:#23394c;text-transform:uppercase;font-size:7px}.tool-movement-table{table-layout:fixed;width:100%;min-width:980px}.tool-movement-table th:first-child{width:90px}.tool-movement-table th:nth-child(2){width:150px}.tool-movement-table th:nth-child(3){width:100px}.tool-movement-table th:nth-child(4){width:70px}.tool-movement-table th:nth-child(5){width:250px}.tool-movement-table th:nth-child(6){width:160px}.tool-movement-table th:nth-child(7){width:145px}.movement-inward,.movement-broken{border-radius:4px;padding:3px 6px;font-size:7px;font-weight:850;display:inline-flex}.movement-inward{color:#1d7452;background:#e4f4ed}.movement-broken{color:#a1262d;background:#f9dfe0}.selected-tool-summary{background:#f7f9fb;border:1px solid #d8dfe5;border-radius:6px;flex-direction:column;gap:3px;padding:8px 10px;display:flex}.selected-tool-summary span{color:var(--muted);text-transform:uppercase;font-size:7px}.selected-tool-summary strong{font-size:10px}.selected-tool-summary small{color:#5f7180;font-size:7px}.broken-outward-alert{color:#84272c;background:#fff4f4;border:1px solid #e4b9bb;border-left:3px solid #b9363d;border-radius:5px;padding:8px 10px;font-size:8px;line-height:1.45}@media (width<=1320px){.tool-bom-sticker-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.machine-tool-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=980px){.tool-bom-sticker-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.machine-tool-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-bom-metrics,.tool-inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.tool-bom-sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.machine-tool-card-grid,.tool-bom-metrics,.tool-inventory-metrics,.tool-inventory-tabs{grid-template-columns:1fr}.plan-tool-bom-block{flex-direction:column;align-items:stretch}}.control-room-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px;display:grid}.control-room-tabs>button{min-height:55px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe1e5;border-radius:9px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.control-room-tabs>button>span{color:#60656d;background:#eef0f3;border-radius:7px;place-items:center;width:28px;height:28px;font-size:7px;font-weight:850;display:grid}.control-room-tabs button div{flex-direction:column;gap:2px;display:flex}.control-room-tabs button strong{font-size:10px}.control-room-tabs button small{color:var(--muted);font-size:7px}.control-room-tabs>button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff5f5;border-color:#e8a9ab}.control-room-tabs>button.active>span{background:var(--rel-red);color:#fff}.monitoring-breakdown-tabs{border:1px solid var(--line);background:#f3f4f6;border-radius:9px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;display:grid}.monitoring-breakdown-tabs button{min-height:47px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex-direction:column;justify-content:center;gap:2px;padding:7px 9px;display:flex}.monitoring-breakdown-tabs button strong{font-size:9px}.monitoring-breakdown-tabs button small{color:var(--muted);font-size:7px}.monitoring-breakdown-tabs button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff;border-color:#e6a5a8}.inventory-table-scroll table{min-width:1420px}.inventory-plan-chips{flex-direction:column;gap:3px;min-width:150px;display:flex}.inventory-plan-chips>span{color:#294d78;background:#f2f6fb;border:1px solid #cfdbea;border-radius:5px;flex-direction:column;gap:1px;padding:4px 6px;display:flex}.inventory-plan-chips strong{font-size:7px}.inventory-plan-chips small{color:#64748a;white-space:nowrap;font-size:6px}.inventory-plan-chips em{color:var(--muted);font-size:7px;font-style:normal;font-weight:750}.plan-month-badge{color:#2f537f;white-space:nowrap;background:#eef3f8;border-radius:5px;padding:3px 6px;font-size:7px;font-weight:800;display:inline-flex}@media (width<=760px){.control-room-tabs,.monitoring-breakdown-tabs{grid-template-columns:1fr}}.table-scroll table{min-width:700px}.table-scroll th{white-space:normal;padding-left:5px;padding-right:5px;line-height:1.15}.table-scroll td{overflow-wrap:anywhere;padding-left:5px;padding-right:5px;line-height:1.25}.table-scroll .part-code{white-space:normal;overflow-wrap:anywhere}.table-scroll .machine-name,.table-scroll .wire-name{max-width:100%}.table-scroll .route-chips.compact,.table-scroll .minimum-chips{max-width:260px}.table-scroll .row-actions{flex-wrap:wrap}.plan-month-badge,.table-scroll .source-type{text-align:center;white-space:normal;line-height:1.15}.inventory-table-scroll table{table-layout:fixed;width:100%;min-width:1040px}.inventory-table-scroll th:first-child,.inventory-table-scroll td:first-child{width:88px}.inventory-table-scroll th:nth-child(2),.inventory-table-scroll td:nth-child(2){width:96px}.inventory-table-scroll th:nth-child(3),.inventory-table-scroll td:nth-child(3){width:78px}.inventory-table-scroll th:nth-child(4),.inventory-table-scroll td:nth-child(4){width:62px}.inventory-table-scroll th:nth-child(5),.inventory-table-scroll td:nth-child(5){width:64px}.inventory-table-scroll th:nth-child(6),.inventory-table-scroll td:nth-child(6){width:128px}.inventory-table-scroll th:nth-child(7),.inventory-table-scroll td:nth-child(7){width:42px}.inventory-table-scroll th:nth-child(8),.inventory-table-scroll td:nth-child(8),.inventory-table-scroll th:nth-child(9),.inventory-table-scroll td:nth-child(9){width:48px}.inventory-table-scroll th:nth-child(10),.inventory-table-scroll td:nth-child(10){width:44px}.inventory-table-scroll th:nth-child(11),.inventory-table-scroll td:nth-child(11){width:64px}.inventory-table-scroll th:nth-child(12),.inventory-table-scroll td:nth-child(12){width:132px}.inventory-table-scroll .inventory-plan-chips{gap:2px;min-width:0}.inventory-table-scroll .inventory-plan-chips>span{padding:3px 4px}.inventory-table-scroll .inventory-plan-chips small,.inventory-table-scroll .stage-pill,.inventory-table-scroll .stock-health{white-space:normal;line-height:1.15}.inventory-table-scroll .row-actions{max-width:126px}.inventory-table-scroll .row-actions .table-action{white-space:normal;line-height:1.1}.machine-master-table{min-width:620px}.finished-code-table{table-layout:fixed;width:100%;min-width:1070px}.finished-code-table th:first-child,.finished-code-table td:first-child{width:100px}.finished-code-table th:nth-child(2),.finished-code-table td:nth-child(2){width:125px}.finished-code-table th:nth-child(3),.finished-code-table td:nth-child(3){width:145px}.finished-code-table th:nth-child(4),.finished-code-table td:nth-child(4){width:58px}.finished-code-table th:nth-child(5),.finished-code-table td:nth-child(5){width:145px}.finished-code-table th:nth-child(6),.finished-code-table td:nth-child(6){width:90px}.finished-code-table th:nth-child(7),.finished-code-table td:nth-child(7){width:86px}.finished-code-table th:nth-child(8),.finished-code-table td:nth-child(8){width:245px}.finished-code-table th:nth-child(9),.finished-code-table td:nth-child(9){width:76px}.finished-code-table .wire-name,.finished-code-table .machine-name{overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%;max-width:100%;line-height:1.2;display:-webkit-box;overflow:hidden}.lot-ledger table{min-width:880px}.batch-production-table th,.batch-production-table td{padding-left:4px;padding-right:4px}.route-status-select{cursor:pointer;border:1px solid;border-radius:5px;width:88px;min-height:27px;padding:3px 20px 3px 6px;font-size:8px;font-weight:800}.route-status-complete{color:#176d4f;background:#edf8f3;border-color:#9bcab7}.route-status-pending{color:#855b0d;background:#fff7e4;border-color:#e5bd6d}.route-status-select:disabled{cursor:wait;opacity:.68}.inventory-layout-full{grid-template-columns:minmax(0,1fr)}.inventory-head-selector .flow-label{min-height:42px;padding:8px 12px}.inventory-head-selector .flow-label span{font-size:7px}.inventory-head-selector .flow-label strong{font-size:10px}.inventory-head-selector .stage-node{border-color:#d8dbe1;border-radius:9px;grid-template-columns:30px minmax(0,1fr);gap:8px;min-height:74px;padding:9px}.inventory-head-selector .stage-node strong{font-size:10px;line-height:1.2}.inventory-head-selector .stage-node small{flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-top:3px;line-height:1.2;display:flex}.inventory-head-selector .stage-node small b{color:#202a37;font-variant-numeric:tabular-nums;font-size:9px}.inventory-head-selector .stage-node small em{color:var(--muted);font-size:7px;font-style:normal}.inventory-head-selector .stage-node-selected{box-shadow:inset 4px 0 var(--rel-red), 0 2px 8px #7d1a1d14;background:#fff1f1;border-color:#df777a}.fully-planned{color:#176d4f;white-space:nowrap;background:#edf8f3;border-radius:5px;padding:3px 5px;font-size:7px;font-weight:800;display:inline-flex}@media (width<=1180px){.inventory-head-selector .stage-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.inventory-head-selector .stage-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}.rm-stock-detail-views{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.rm-stock-detail-views button{color:#3f4851;text-align:left;cursor:pointer;background:#fff;border:1px solid #d8dde1;border-top:3px solid #667786;border-radius:7px;min-width:0;min-height:66px;padding:7px 9px}.rm-stock-detail-views button.stock-view-open-order{background:#f7fbfd;border-top-color:#497e9d}.rm-stock-detail-views button.stock-view-without-order{background:#f7fcf9;border-top-color:#4e8a6d}.rm-stock-detail-views button.stock-view-rejected{background:#fff8f8;border-top-color:#b4464c}.rm-stock-detail-views button.active{border-color:#9aa8b3;box-shadow:inset 3px 0 #5c7486,0 2px 8px #1b252d17}.rm-stock-detail-views button.stock-view-open-order.active{border-color:#8eb4c9;box-shadow:inset 3px 0 #497e9d,0 2px 8px #3367861a}.rm-stock-detail-views button.stock-view-without-order.active{border-color:#98c0aa;box-shadow:inset 3px 0 #3f7c5e,0 2px 8px #2b704e1a}.rm-stock-detail-views button.stock-view-rejected.active{border-color:#daa3a6;box-shadow:inset 3px 0 #b4464c,0 2px 8px #9f31391a}.rm-stock-detail-views span,.rm-stock-detail-views small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rm-stock-detail-views span{color:#535f69;font-size:7px;font-weight:850}.rm-stock-detail-views strong{color:#1f2931;margin:4px 0 2px;font-size:15px;line-height:1;display:block}.rm-stock-detail-views small{color:#77818a;font-size:5.5px}.rm-stock-detail-views button.stock-view-open-order small{text-overflow:clip;white-space:normal;line-height:1.35;overflow:visible}.rm-stock-detail-heading{background:#f8fafb;border:1px solid #dfe3e6;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;display:flex}.rm-stock-detail-heading h3{margin:1px 0;font-size:11px}.rm-stock-detail-heading p{color:#69757f;margin:0;font-size:6px}.rm-stock-detail-heading>strong{color:#425867;flex:none;font-size:8px}.stock-detail-quantity strong{color:#285f7c;font-size:9px!important}.rm-table tbody tr.rejected-stock-row{background:snow}@media (width<=980px){.rm-stock-detail-views{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.rm-stock-detail-views{grid-template-columns:1fr}.rm-stock-detail-heading{flex-direction:column;align-items:flex-start}}.global-filters label,.table-scroll,.table-scroll td,.table-scroll th{min-width:0}.global-filters select,.table-scroll input,.table-scroll select,.table-scroll button,.table-scroll td>*{max-width:100%}.table-scroll td:not(.numeric),.table-scroll .machine-category,.table-scroll .stage-pill,.table-scroll .stock-health,.table-scroll .source-type,.table-scroll .batch-code,.table-scroll .hold-reason{overflow-wrap:anywhere;word-break:break-word}.table-scroll .machine-category,.table-scroll .source-type,.table-scroll .batch-code{white-space:normal}.monthly-plan-table,.process-ledger-table,.stage-inventory-table,.lot-history-table,.scrap-history-table,.machine-master-table,.batch-production-table{table-layout:fixed;width:100%}.monthly-plan-table{min-width:1210px}.monthly-plan-table th:first-child{width:46px}.monthly-plan-table th:nth-child(2){width:145px}.monthly-plan-table th:nth-child(3),.monthly-plan-table th:nth-child(4){width:85px}.monthly-plan-table th:nth-child(5),.monthly-plan-table th:nth-child(6),.monthly-plan-table th:nth-child(7){width:75px}.monthly-plan-table th:nth-child(8){width:110px}.monthly-plan-table th:nth-child(9){width:80px}.monthly-plan-table th:nth-child(10){width:110px}.monthly-plan-table th:nth-child(11){width:220px}.monthly-plan-table th:nth-child(12){width:50px}.process-ledger-table{min-width:1160px}.process-ledger-table th:first-child{width:145px}.process-ledger-table th:nth-child(2){width:90px}.process-ledger-table th:nth-child(3){width:80px}.process-ledger-table th:nth-child(4),.process-ledger-table th:nth-child(5){width:70px}.process-ledger-table th:nth-child(6){width:85px}.process-ledger-table th:nth-child(7){width:90px}.process-ledger-table th:nth-child(8){width:85px}.process-ledger-table th:nth-child(9){width:120px}.process-ledger-table th:nth-child(10){width:100px}.process-ledger-table th:nth-child(11){width:105px}.batch-production-table{min-width:1540px}.plan-code,.muted-code{color:#7d2020;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;font-weight:800;display:inline-block;overflow:hidden}.muted-code{color:var(--muted)}.plan-identity{background:#fff7f7;border:1px solid #e5b4b4;border-radius:7px;grid-template-columns:auto 1fr;gap:3px 10px;padding:9px 10px;display:grid}.plan-identity span,.plan-identity small{color:var(--muted);font-size:8px}.plan-identity strong{color:#8f1e1e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.plan-identity small{grid-column:1/-1}.lot-history-table{min-width:880px}.scrap-history-table{min-width:760px}.inventory-table-scroll .stage-inventory-table{min-width:1240px}.stage-inventory-table th:first-child{width:95px}.stage-inventory-table th:nth-child(2){width:120px}.stage-inventory-table th:nth-child(3){width:190px}.stage-inventory-table th:nth-child(4){width:95px}.stage-inventory-table th:nth-child(5),.stage-inventory-table th:nth-child(6){width:70px}.stage-inventory-table th:nth-child(7){width:170px}.stage-inventory-table th:nth-child(8),.stage-inventory-table th:nth-child(11){width:48px}.stage-inventory-table th:nth-child(9),.stage-inventory-table th:nth-child(10){width:58px}.stage-inventory-table th:nth-child(12){width:70px}.stage-inventory-table th:nth-child(13){width:150px}.inventory-route-status{color:#176448;background:#f2faf6;border:1px solid #b8d8ca;border-radius:5px;flex-direction:column;gap:2px;min-width:0;padding:5px 6px;display:flex}.inventory-route-status strong{letter-spacing:.04em;text-transform:uppercase;font-size:7px}.inventory-route-status small{overflow-wrap:anywhere;color:#355d4e;font-size:7px;font-weight:700;line-height:1.35}.inventory-route-incomplete{color:#a51f1f;background:#fff1f1;border-color:#e6a5a5}.inventory-route-incomplete small{color:#8a3434}.scrap-history-table th:first-child{width:110px}.scrap-history-table th:nth-child(2){width:70px}.scrap-history-table th:nth-child(3),.scrap-history-table th:nth-child(4){width:100px}.scrap-history-table th:nth-child(5){width:230px}.scrap-history-table th:nth-child(6){width:150px}.machine-master-table th:first-child{width:180px}.machine-master-table th:nth-child(2){width:140px}.machine-master-table th:nth-child(3){width:105px}.machine-master-table th:nth-child(4){width:120px}.machine-master-table th:nth-child(5){width:150px}.machine-master-table th:nth-child(6){width:100px}.batch-production-table .batch-input,.batch-production-table .batch-select,.batch-production-table .batch-remarks{width:100%;min-width:0}.table-scroll .route-chips span,.table-scroll .minimum-chips span{overflow-wrap:anywhere;white-space:normal;max-width:100%}.wire-master-grid>div,.wire-master-grid strong,.wire-stock-grid>button,.wire-stock-grid span{min-width:0;max-width:100%}.wire-master-grid strong{overflow-wrap:anywhere;word-break:break-word}.inventory-head-selector .stage-node{--stage-accent:#587390;--stage-background:#f6f9fc;--stage-border:#d6e0ea;--stage-icon:#e6eef6;border-color:var(--stage-border);border-top:2px solid var(--stage-accent);background:var(--stage-background)}.inventory-head-selector .stage-node:nth-child(4n+2){--stage-accent:#4f7b72;--stage-background:#f4f9f7;--stage-border:#d3e4de;--stage-icon:#e2efeb}.inventory-head-selector .stage-node:nth-child(4n+3){--stage-accent:#6f6889;--stage-background:#f7f6fa;--stage-border:#dedbe8;--stage-icon:#ebe8f1}.inventory-head-selector .stage-node:nth-child(4n+4){--stage-accent:#887044;--stage-background:#faf8f3;--stage-border:#e8dfcd;--stage-icon:#f1eadc}.inventory-head-selector .stage-node[data-stage=ALL]{--stage-accent:#4f6175;--stage-background:#f3f6f8;--stage-border:#d5dde5;--stage-icon:#e2e8ee}.inventory-head-selector .stage-node[data-stage=HOLD]{--stage-accent:#a56d12;--stage-background:#fff9ed;--stage-border:#ead6aa;--stage-icon:#f5e8c9}.inventory-head-selector .stage-node[data-stage=FINISHED\ GOODS]{--stage-accent:#37775e;--stage-background:#f1f8f4;--stage-border:#c9dfd4;--stage-icon:#dceee5}.inventory-head-selector .stage-node>span{background:var(--stage-icon);color:var(--stage-accent)}.inventory-head-selector .stage-node:hover{border-color:var(--stage-accent);background:var(--stage-background);box-shadow:0 2px 7px #1f2b3814}.inventory-head-selector .stage-node.stage-node-selected{--stage-accent:var(--rel-red);--stage-background:#fff1f1;--stage-border:#df777a;--stage-icon:var(--rel-red);border-color:var(--stage-border);background:var(--stage-background);box-shadow:inset 4px 0 var(--rel-red), 0 2px 8px #7d1a1d14}.inventory-head-selector .stage-node.stage-node-selected>span{color:#fff}.planning-workspace-tabs,.execution-mode-tabs{gap:7px;display:grid}.planning-workspace-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.planning-workspace-tabs>button,.execution-mode-tabs>button{min-height:58px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe1e5;border-radius:9px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.planning-workspace-tabs>button>span,.execution-mode-tabs>button>span{color:#60656d;background:#eef0f3;border-radius:7px;place-items:center;width:28px;height:28px;font-size:7px;font-weight:850;display:grid}.planning-workspace-tabs button div,.execution-mode-tabs button div{flex-direction:column;gap:2px;min-width:0;display:flex}.planning-workspace-tabs button strong,.execution-mode-tabs button strong{font-size:10px}.planning-workspace-tabs button small,.execution-mode-tabs button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.planning-workspace-tabs>button.active,.execution-mode-tabs>button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff5f5;border-color:#e8a9ab}.planning-workspace-tabs>button.active>span,.execution-mode-tabs>button.active>span{background:var(--rel-red);color:#fff}.pending-process-summary{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;display:grid}.pending-process-summary article{background:#f8fafc;border:1px solid #dce1e6;border-top:2px solid #607c96;border-radius:8px;flex-direction:column;gap:2px;min-width:0;padding:10px 11px;display:flex}.pending-process-summary span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.pending-process-summary small{color:var(--muted);font-size:7px}.pending-plan-table{table-layout:fixed;width:100%;min-width:1120px}.pending-plan-table th:nth-child(4){width:115px}.pending-plan-table th:nth-child(5),.pending-plan-table th:nth-child(6),.pending-plan-table th:nth-child(7),.pending-plan-table th:nth-child(8){width:70px}.pending-plan-table th:nth-child(9),.pending-plan-table th:nth-child(10){width:90px}.forging-machine-entry-selector,.forging-recent-entry-status{background:#fff;border:1px solid #d8dde2;border-radius:8px;overflow:hidden}.forging-selector-heading,.forging-recent-heading{background:#f6f8f9;border-bottom:1px solid #e0e4e7;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.forging-selector-heading>div,.forging-recent-heading>div{flex-direction:column;gap:1px;display:flex}.forging-selector-heading span,.forging-recent-heading span{color:#68747f;letter-spacing:.05em;text-transform:uppercase;font-size:6px;font-weight:900}.forging-selector-heading strong,.forging-recent-heading strong{font-size:10px}.forging-selector-heading small,.forging-recent-heading small{color:#6d7882;font-size:6px}.forging-entry-machine-cards{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:2.5px;padding:3px;display:grid}.forging-entry-machine-card{min-width:0;height:31.5px;min-height:31.5px;color:var(--ink);text-align:left;cursor:pointer;background:#fafbfc;border:1px solid #d7dce0;border-top:2px solid #6e7f8d;border-radius:3px;flex-direction:column;align-items:flex-start;gap:1px;padding:3.5px 4px;display:flex;overflow:hidden}.forging-entry-machine-card:hover{background:#f5f7f9;border-color:#9ba8b2}.forging-entry-machine-card.active{border-color:#bd555a;border-top-color:var(--rel-red);box-shadow:inset 3px 0 var(--rel-red);background:#fff3f3}.forging-entry-machine-card span{display:none}.forging-entry-machine-card strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:8px;line-height:1;overflow:hidden}.forging-entry-machine-card small{color:#66727c;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:5px;line-height:1.05;overflow:hidden}.forging-entry-machine-card em{color:#3f6178;text-overflow:ellipsis;white-space:nowrap;width:100%;margin-top:0;font-size:5px;font-style:normal;font-weight:850;line-height:1.05;overflow:hidden}.forging-entry-machine-card.active em{color:#972d33}.table-toolbar.forging-entry-toolbar{align-items:stretch;gap:6px;padding:4px 6px}.forging-machine-entry-selector-inline{border:0;border-right:1px solid #dfe3e6;border-radius:0;flex:auto;grid-template-columns:105px minmax(0,1fr);align-items:stretch;min-width:0;display:grid}.forging-machine-entry-selector-inline .forging-selector-heading{background:0 0;border-bottom:0;border-right:1px solid #e0e4e7;min-width:0;padding:3px 6px 3px 1px}.forging-machine-entry-selector-inline .forging-selector-heading small{white-space:nowrap}.forging-machine-entry-selector-inline .forging-entry-machine-cards{align-content:center;padding:0 6px}.forging-entry-toolbar>.legend{flex:none;margin-left:0}@media (width<=1080px){.table-toolbar.forging-entry-toolbar{flex-wrap:wrap}.forging-machine-entry-selector-inline{border-bottom:1px solid #dfe3e6;border-right:0;flex-basis:100%}.forging-entry-toolbar>.legend{justify-content:flex-end;width:100%}}@media (width<=700px){.forging-machine-entry-selector-inline{grid-template-columns:1fr}.forging-machine-entry-selector-inline .forging-selector-heading{border-bottom:1px solid #e0e4e7;border-right:0}.forging-entry-toolbar>.legend{flex-direction:column;align-items:stretch}}.forging-recent-day-cards{grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;padding:3px;display:grid}.forging-day-card{border:1px solid;border-radius:3px;flex-direction:column;gap:1px;min-width:0;height:35px;min-height:35px;padding:3px;display:flex;overflow:hidden}.forging-day-card.complete{color:#225f49;background:#eef8f3;border-color:#2f7c5c #9dcab7 #9dcab7;border-top-style:solid;border-top-width:3px}.forging-day-card.missing{color:#8e2930;background:#fff1f1;border-color:#b4363d #e0adb0 #e0adb0;border-top-style:solid;border-top-width:3px}.forging-day-card span{letter-spacing:.05em;text-transform:uppercase;font-size:4.5px;font-weight:900;line-height:1}.forging-day-card strong{color:#202a32;font-size:7px;line-height:1}.forging-day-card b{font-size:5.5px;line-height:1}.forging-day-card small{width:100%;color:inherit;text-overflow:ellipsis;white-space:nowrap;margin-top:auto;font-size:4.5px;line-height:1;overflow:hidden}.machine-production-groups{flex-direction:column;gap:10px;padding:9px;display:flex}.machine-production-block{background:#fff;border:1px solid #dfe1e5;border-radius:9px;overflow:hidden}.machine-production-head{border-bottom:1px solid #e4e6e9;border-left:3px solid var(--rel-red);background:#fafafb;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.machine-production-head>div{flex-direction:column;gap:2px;display:flex}.machine-production-head span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.machine-production-head strong{font-size:11px}.machine-production-head p{color:var(--muted);text-align:right;margin:0;font-size:7px;font-weight:700}.machine-production-block .table-scroll{border:0;border-radius:0}.forging-daily-log{background:#f5f7f9;border-bottom:1px solid #dfe3e7;flex-direction:column;gap:6px;padding:7px 8px;display:flex}.forging-daily-log.ready{background:#f2f8f5;box-shadow:inset 3px 0 #2e7a5b}.forging-log-source{justify-content:space-between;align-items:center;gap:12px;display:flex}.forging-log-source>div{flex-direction:column;gap:1px;display:flex}.forging-log-source span{color:#5e6a75;letter-spacing:.05em;text-transform:uppercase;font-size:6px;font-weight:900}.forging-log-source strong{font-size:9px}.forging-log-source small{color:#6c7883;text-align:right;font-size:6px}.forging-capacity-inputs{grid-template-columns:86px 116px repeat(4,minmax(105px,1fr));gap:4px;display:grid}.forging-capacity-inputs>label,.forging-capacity-inputs>div,.forging-downtime-grid label{background:#fff;border:1px solid #d8dde2;border-radius:4px;flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:5px 6px;display:flex}.forging-capacity-inputs span,.forging-downtime-grid span{color:#68747f;text-transform:uppercase;font-size:6px;font-weight:850}.forging-capacity-inputs strong{font-size:9px;line-height:1.2}.forging-capacity-inputs small{color:#7a858f;font-size:5px;line-height:1.2}.forging-capacity-inputs input,.forging-capacity-inputs select,.forging-downtime-grid input{width:100%;min-height:25px;color:var(--ink);background:#fff;border:1px solid #c9d0d6;border-radius:3px;padding:3px 5px;font-size:7px;font-weight:750}.forging-capacity-inputs .lost-hours{background:#fff8ec;border-color:#e3c08b}.forging-capacity-inputs .lost-hours strong{color:#985f0b}.forging-speed-alert{color:#8c282e;background:#fff4f4;border:1px solid #e2b1b4;border-left:3px solid #bd343b;border-radius:4px;padding:5px 7px;font-size:7px;font-weight:800}.forging-downtime-grid{grid-template-columns:repeat(10,minmax(72px,1fr));gap:4px;display:grid}.forging-downtime-grid label{padding:4px}.forging-downtime-grid input{min-height:23px}.forging-category-check{color:#76570f;background:#fff8e5;border:1px solid #dfc47f;border-radius:4px;grid-template-columns:auto auto minmax(220px,1fr);align-items:center;gap:10px;padding:5px 7px;font-size:7px;display:grid}.forging-category-check span{font-weight:700}.forging-category-check b{font-size:7px}.forging-category-check small{color:inherit;text-align:right;font-size:6px}.forging-category-check.ok{color:#21694e;background:#edf8f2;border-color:#b8d8c9}.route-complete-text{color:#176d4f}.route-pending-text{color:#a51f1f}.inline-route-builder,.idle-stock-selector{background:#fafbfc;border:1px solid #e1e4e8;border-radius:9px;flex-direction:column;gap:8px;padding:11px;display:flex}.inline-route-builder{background:#fff8f8;border-color:#e7b4b5}.inline-route-head,.idle-stock-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.inline-route-head>div,.idle-stock-head>div{flex-direction:column;gap:2px;display:flex}.inline-route-head span,.idle-stock-head span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.inline-route-head strong,.idle-stock-head strong{font-size:10px}.inline-route-head small,.idle-stock-head small{max-width:610px;color:var(--muted);font-size:7px;line-height:1.45}.route-alert-badge{background:#fbdcdc;border-radius:5px;flex:none;padding:4px 6px;color:#9d2024!important}.inline-route-rows,.idle-stock-rows{flex-direction:column;gap:6px;display:flex}.inline-route-row{background:#fff;border:1px solid #e2e4e8;border-radius:7px;grid-template-columns:28px minmax(125px,1fr) minmax(145px,1fr) 100px auto;align-items:end;gap:7px;padding:7px;display:grid}.inline-route-row label{flex-direction:column;gap:3px;min-width:0;display:flex}.inline-route-row label span{color:var(--muted);font-size:7px}.inline-route-row select,.inline-route-row input{width:100%;min-width:0;min-height:29px;color:var(--ink);background:#fff;border:1px solid #dfe1e5;border-radius:5px;padding:5px 6px;font-size:8px}.route-order-actions{gap:3px;padding-bottom:1px;display:flex}.route-order-actions button{width:25px;height:29px;color:var(--ink-2);cursor:pointer;background:#fff;border:1px solid #dfe1e5;border-radius:5px}.route-order-actions button:last-child{color:#a51f1f}.route-order-actions button:disabled{cursor:default;opacity:.35}.route-add-button{align-self:flex-start;min-height:30px}.route-validation{color:#9d2024;font-size:7px;font-weight:750}.finished-goods-support{background:#f1f8f4;border:1px solid #c9dfd4;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.finished-goods-support>div{align-items:baseline;gap:8px;display:flex}.finished-goods-support span,.finished-goods-support small{color:#47705f;font-size:7px}.finished-goods-support strong{color:#176448;font-size:10px}.idle-stock-row{background:#fff;border:1px solid #dfe2e6;border-radius:7px;grid-template-columns:18px minmax(0,1fr) 70px 88px;align-items:center;gap:8px;padding:7px 8px;display:grid}.idle-stock-row.selected{background:#f3faf6;border-color:#9dc5b4;box-shadow:inset 3px 0 #37775e}.idle-stock-row>span{flex-direction:column;gap:2px;min-width:0;display:flex}.idle-stock-row>span strong{font-size:9px}.idle-stock-row>span small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.idle-stock-row .idle-available{align-items:flex-end}.idle-stock-row .idle-available strong{font-variant-numeric:tabular-nums}.idle-quantity{text-align:right;background:#fff;border:1px solid #d8dce1;border-radius:5px;width:100%;min-height:29px;padding:5px 6px;font-size:8px}.idle-stock-empty{color:var(--muted);text-align:center;border:1px dashed #d5d9de;border-radius:7px;padding:9px;font-size:8px}.plan-calculation-strip{background:#fff;border:1px solid #dadddf;border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.plan-calculation-strip>div{border-right:1px solid #e1e3e6;flex-direction:column;gap:2px;min-width:0;padding:7px 8px;display:flex}.plan-calculation-strip>div:last-child{border-right:0}.plan-calculation-strip span{color:var(--muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:6px;font-weight:800;overflow:hidden}.plan-calculation-strip strong{font-size:10px}.plan-calculation-strip .requirement-result{background:#fff1f1}.plan-calculation-strip .requirement-result strong{color:var(--rel-red-dark)}@media (width<=900px){.planning-workspace-tabs{grid-template-columns:1fr}.inline-route-row{grid-template-columns:28px 1fr 1fr}.inline-route-row label:nth-of-type(3){grid-column:2/3}.route-order-actions{grid-column:3/4;justify-content:flex-end}.plan-calculation-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-calculation-strip>div:nth-child(2){border-right:0}.plan-calculation-strip>div:nth-child(-n+2){border-bottom:1px solid #e1e3e6}.forging-recent-day-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=640px){.execution-mode-tabs{grid-template-columns:1fr}.idle-stock-row{grid-template-columns:18px minmax(0,1fr) 68px}.idle-stock-row .idle-quantity{grid-column:2/-1}.finished-goods-support,.forging-selector-heading,.forging-recent-heading,.machine-production-head{flex-direction:column;align-items:flex-start}.machine-production-head p{text-align:left}}.tool-bom-status,.tool-bom-status-select{border:1px solid;border-radius:5px;align-items:center;min-height:26px;padding:4px 20px 4px 7px;font-size:8px;font-weight:850;display:inline-flex}.tool-bom-status{padding-right:7px}.tool-bom-pending{color:#855b0d;background:#fff7e5;border-color:#e4bd70}.tool-bom-complete{color:#176d4f;background:#edf8f3;border-color:#9bcab7}.tool-bom-excluded{color:#4f616f;background:#f1f4f6;border-color:#b9c3cb}.tool-bom-status-select{cursor:pointer;width:92px}.tool-bom-status-select:disabled{cursor:wait;opacity:.68}.tool-bom-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.tool-bom-metrics button{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe2e6;border-top:2px solid #61778d;border-radius:8px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.tool-bom-metrics button.pending{border-top-color:#a8751b}.plan-tool-bom-block.readiness-excluded{color:#435563;background:#f2f5f7;border-color:#bdc8d0}.tool-bom-metrics button.complete{border-top-color:#37775e}.tool-bom-metrics button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff5f5;border-color:#e29a9d}.tool-bom-metrics span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.tool-bom-metrics strong{font-size:14px}.tool-bom-metrics small{color:var(--muted);font-size:7px}.tool-bom-table{table-layout:fixed;width:100%;min-width:780px}.tool-bom-table th:first-child{width:120px}.tool-bom-table th:nth-child(2){width:100px}.tool-bom-table th:nth-child(3){width:90px}.tool-bom-table th:nth-child(4){width:260px}.tool-bom-table th:nth-child(5){width:135px}.tool-bom-table th:nth-child(6){width:75px}.tool-bom-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.tool-bom-workspace-tabs>button{min-height:56px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe1e5;border-radius:9px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.tool-bom-workspace-tabs>button>span{color:#60656d;background:#eef0f3;border-radius:7px;place-items:center;width:28px;height:28px;font-size:7px;font-weight:850;display:grid}.tool-bom-workspace-tabs button div{flex-direction:column;gap:2px;min-width:0;display:flex}.tool-bom-workspace-tabs button strong{font-size:10px}.tool-bom-workspace-tabs button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.tool-bom-workspace-tabs>button.active{box-shadow:inset 3px 0 var(--rel-red);background:#fff5f5;border-color:#e8a9ab}.tool-bom-workspace-tabs>button.active>span{background:var(--rel-red);color:#fff}.tool-count{font-variant-numeric:tabular-nums;font-size:12px;display:block}.tool-life-coverage{grid-template-columns:34px minmax(80px,1fr);align-items:center;gap:3px 7px;display:grid}.tool-life-coverage>strong{font-variant-numeric:tabular-nums;font-size:9px}.tool-life-coverage>span{background:#e5e8eb;border-radius:999px;height:5px;overflow:hidden}.tool-life-coverage>span i{border-radius:inherit;background:#37775e;height:100%;display:block}.tool-life-coverage>small{color:var(--muted);grid-column:1/-1;font-size:7px}.updated-time{color:var(--ink-2);font-size:8px;line-height:1.35}.tool-master-table{table-layout:fixed;width:100%;min-width:680px}.tool-master-table th:first-child{width:220px}.tool-master-table th:nth-child(2){width:360px}.tool-master-table th:nth-child(3){width:100px}.tool-code{overflow-wrap:anywhere;color:#7d2020;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}.table-limit-note{border-top:1px solid var(--line);color:var(--muted);text-align:right;background:#fafafb;padding:8px 11px;font-size:7px}.modal:has(.tool-bom-form){width:min(100%,960px)}.tool-bom-form{gap:9px}.tool-bom-form-head{grid-template-columns:minmax(240px,.7fr) minmax(360px,1.3fr);align-items:end;gap:10px;display:grid}.tool-bom-entry-summary{border:1px solid #dfe2e6;border-radius:7px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.tool-bom-entry-summary>div{border-right:1px solid #e2e4e7;flex-direction:column;gap:2px;padding:7px 9px;display:flex}.tool-bom-entry-summary>div:last-child{border-right:0}.tool-bom-entry-summary span{color:var(--muted);font-size:7px}.tool-bom-entry-summary strong{font-size:11px}.warning-number{color:#a51f1f}.tool-bom-entry-note{color:#455f78;background:#f3f7fa;border-left:3px solid #587390;border-radius:5px;padding:7px 9px;font-size:8px}.tool-bom-entry-table-wrap{border:1px solid #dfe2e6;border-radius:8px;max-height:430px;overflow:auto}.tool-bom-entry-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:1000px}.tool-bom-entry-table thead{z-index:2;position:sticky;top:0}.tool-bom-entry-table th{color:var(--muted);letter-spacing:.04em;text-align:left;text-transform:uppercase;background:#f0f2f4;border-bottom:1px solid #d9dde1;padding:6px;font-size:7px}.tool-bom-entry-table td{vertical-align:middle;border-bottom:1px solid #eceef0;padding:4px 6px}.tool-bom-entry-table input{width:100%;min-height:28px;color:var(--ink);background:#fff;border:1px solid #d9dde1;border-radius:5px;padding:4px 6px;font-size:8px}.bom-row-number{color:#59616c;background:#edf0f3;border-radius:5px;place-items:center;width:22px;height:22px;font-size:7px;font-weight:850;display:grid}.tool-description{color:var(--ink-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:8px;line-height:1.3;display:-webkit-box;overflow:hidden}.tool-description.missing{color:#a51f1f;font-weight:750}.remove-bom-row{color:#a51f1f;cursor:pointer;background:#fff5f5;border:1px solid #e0b3b4;border-radius:5px;width:26px;height:26px}.remove-bom-row:disabled{cursor:default;opacity:.3}.tool-bom-add-actions{align-items:center;gap:7px;display:flex}.tool-bom-add-actions span{color:var(--muted);margin-left:auto;font-size:7px;font-weight:750}@media (width<=700px){.tool-bom-metrics,.tool-bom-workspace-tabs,.tool-bom-form-head{grid-template-columns:1fr}}.tool-bom-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-bom-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.tool-description{-webkit-line-clamp:initial;flex-direction:column;display:flex;overflow:hidden}.tool-bom-entry-table{min-width:1120px}.tool-bom-entry-table th:first-child{width:34px}.tool-bom-entry-table th:nth-child(2){width:105px}.tool-bom-entry-table th:nth-child(3){width:190px}.tool-bom-entry-table th:nth-child(4){width:285px}.tool-bom-entry-table th:nth-child(5){width:105px}.tool-bom-entry-table th:nth-child(6){width:100px}.tool-bom-entry-table th:nth-child(7){width:75px}.tool-bom-entry-table th:nth-child(8){width:38px}.machine-bom-entry-table{min-width:1000px}.machine-bom-entry-table th:first-child{width:34px}.machine-bom-entry-table th:nth-child(2){width:140px}.machine-bom-entry-table th:nth-child(3){width:200px}.machine-bom-entry-table th:nth-child(4){width:285px}.machine-bom-entry-table th:nth-child(5){width:105px}.machine-bom-entry-table th:nth-child(6){width:170px}.machine-bom-entry-table th:nth-child(7){width:38px}@media (width<=980px){.tool-bom-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.tool-bom-metrics,.tool-bom-workspace-tabs{grid-template-columns:1fr}}.table-scroll th,.rm-table-wrap th,.tool-bom-table-wrap th,.tool-inventory-scroll th{text-align:center;vertical-align:middle}.numeric,.rm-table .numeric,.table-center{text-align:center;font-variant-numeric:tabular-nums}.table-scroll th.numeric,.rm-table-wrap th.numeric,.table-scroll th.table-center,.rm-table-wrap th.table-center{text-align:center}.rm-table th.numeric .rm-sort-button,.rm-master-table th.numeric .rm-sort-button,.rm-table.availability th.numeric .rm-sort-button{text-align:center;justify-content:center}.table-scroll td.table-center{text-align:center}.table-scroll td:has(>.machine-name){text-align:center}.table-scroll td:has(>.stock-health){text-align:center}.table-scroll td:has(>.age-badge){text-align:center}.table-scroll td:has(>.stage-pill:only-child){text-align:center}.table-scroll input[type=number],.rm-table-wrap input[type=number],.tool-inventory-scroll input[type=number]{text-align:center;font-variant-numeric:tabular-nums}:is(.table-scroll td:not(.numeric):not(.table-center):not(:has(>.machine-name)):not(:has(>.stock-health)):not(:has(>.age-badge)):not(:has(>.stage-pill:only-child)),.rm-table-wrap td:not(.numeric):not(.table-center)){text-align:left}.pending-process-summary button{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #dce1e6;border-top:2px solid #607c96;border-radius:8px;flex-direction:column;gap:2px;padding:10px 11px;display:flex}.pending-process-summary button:hover{background:#fff;border-color:#9aa8b5}.pending-process-summary button.active{border-color:#e29a9d;border-top-color:var(--rel-red);box-shadow:inset 3px 0 var(--rel-red);background:#fff3f3}.pending-process-summary button.active strong{color:var(--rel-red-dark)}.machine-plan-selector{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.pending-plan-table{min-width:1210px}.pending-plan-table th:nth-child(10),.pending-plan-table th:nth-child(11){width:90px}.pending-plan-table th:nth-child(12){width:65px}.pending-plan-table td:nth-child(9) small{color:var(--muted);white-space:nowrap;font-size:6px;display:block}.plan-calculation-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-bom-head-controls{align-items:stretch;gap:8px;display:flex}.tool-master-launch{min-width:155px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #d9dde1;border-left:3px solid #4f6d87;border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.tool-master-launch span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:850}.tool-master-launch strong{font-size:12px}.tool-master-launch small{color:var(--muted);font-size:6px}.tool-master-launch.active{border-color:#df999c;border-left-color:var(--rel-red);background:#fff4f4}.tool-master-workspace{flex-direction:column;gap:8px;display:flex}.tool-master-bulk-entry{padding:10px}.tool-master-entry-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.tool-master-entry-grid label{background:#fafbfc;border:1px solid #e1e4e7;border-radius:6px;grid-template-columns:23px minmax(82px,.75fr) minmax(120px,1.25fr);align-items:center;gap:4px;min-width:0;padding:4px;display:grid}.tool-master-entry-grid label>span{color:#5c6670;background:#e8ecef;border-radius:4px;place-items:center;width:22px;height:25px;font-size:6px;font-weight:850;display:grid}.tool-master-entry-grid input{width:100%;min-width:0;min-height:27px;color:var(--ink);background:#fff;border:1px solid #d8dce0;border-radius:4px;padding:4px 5px;font-size:7px}.tool-code-master-table{table-layout:fixed;width:100%;min-width:840px}.tool-code-master-table th:first-child{width:190px}.tool-code-master-table th:nth-child(2){width:auto}.tool-code-master-table th:nth-child(3){width:160px}.tool-code-master-table th:nth-child(4){width:150px}.tool-inventory-scroll{scrollbar-gutter:stable;overflow-x:auto}.tool-inventory-scroll .tool-inventory-table{width:1390px!important;min-width:1390px!important}.tool-movement-legend{background:#fafbfc;border-top:1px solid #e5e7e9;flex-wrap:wrap;gap:6px;padding:5px 8px;display:flex}.tool-movement-legend span{border:1px solid;border-radius:5px;align-items:center;gap:3px;padding:4px 7px;font-size:7px;display:inline-flex}.tool-movement-legend .inventory-in-legend{color:#285f4b;background:#edf8f2;border-color:#b8d7c8}.tool-movement-legend .inventory-out-legend{color:#8d3035;background:#fff1f1;border-color:#e3b7b9}.tool-movement-split{grid-template-columns:340px 260px;justify-content:start;align-items:stretch;gap:5px;display:grid}.tool-movement-block{border:1px solid;border-radius:5px;min-width:0;padding:3px}.tool-movement-inward{background:#f1f8f4;border-color:#b8d7c8}.tool-movement-outward{background:#fff3f3;border-color:#e3b7b9}.tool-movement-block-head{grid-template-columns:14px auto 1fr;align-items:center;gap:3px;margin-bottom:2px;display:grid}.tool-movement-block-head>span{border-radius:50%;place-items:center;width:13px;height:13px;font-size:8px;font-weight:900;display:grid}.tool-movement-block-head strong{font-size:7px}.tool-movement-block-head small{letter-spacing:.06em;justify-self:end;font-size:6px;font-weight:900}.tool-movement-inward .tool-movement-block-head>span{color:#21664d;background:#cfe8dc}.tool-movement-inward .tool-movement-block-head small{color:#21664d}.tool-movement-outward .tool-movement-block-head>span{color:#972d34;background:#f3cfd1}.tool-movement-outward .tool-movement-block-head small{color:#972d34}.tool-inward-source-grid{grid-template-columns:92px 58px 94px 64px;justify-content:start;align-items:stretch;gap:4px;display:grid}.tool-inward-source{background:#ffffffdb;border:1px solid #c2dccc;border-radius:4px;flex-direction:column;justify-content:space-between;align-items:stretch;gap:2px;min-width:0;padding:3px;display:flex}.tool-inward-source strong,.tool-inward-source>span{color:#315e49;text-overflow:ellipsis;white-space:normal;font-size:5.5px;font-weight:900;line-height:1.15;overflow:hidden}.third-party-name-source{background:#fff}.third-party-qty-source{background:#f8fcfa}.tool-room-source{background:#e9f6ef;border-color:#a9cdb9}.tool-room-source strong{color:#1f684a}.inward-submit-source{grid-template-columns:1fr;align-content:center}.inward-submit-source>span{text-align:center}.tool-movement-outward-fields{grid-template-columns:40px 140px 58px;justify-content:start;align-items:center;gap:4px;display:grid}.tool-movement-outward-fields.has-custom-reason{grid-template-columns:40px 88px 68px 58px}.tool-movement-block label{color:#5b636b;flex-direction:column;gap:2px;min-width:0;font-size:5px;font-weight:800;line-height:1.1;display:flex}.tool-movement-block input,.tool-movement-block select{width:100%;min-width:0;min-height:21px;color:var(--ink);background:#fff;border:1px solid #cfd5d9;border-radius:4px;padding:2px 4px;font-size:6px}.tool-movement-block input[type=number]{text-align:right}.tool-movement-block button{cursor:pointer;border:1px solid;border-radius:4px;min-height:21px;padding:2px 5px;font-size:6px;font-weight:900}.tool-movement-inward button{color:#1d694d;background:#dff1e8;border-color:#83b69f}.tool-movement-outward button{color:#912c32;background:#f8dfe0;border-color:#d99da1}.tool-movement-block button:disabled{cursor:not-allowed;opacity:.38}.tool-movement-validation{color:#9d3238;margin-top:3px;font-size:6px;font-weight:800;display:block}.tool-movement-hint{color:#6c7c74;margin-top:2px;font-size:5.5px;display:block}@media (width<=1500px){.tool-master-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.tool-bom-head-controls{flex-direction:column;width:100%}.tool-master-entry-grid,.plan-calculation-strip{grid-template-columns:1fr}.plan-calculation-strip>div{border-bottom:1px solid #e1e3e6;border-right:0}.plan-calculation-strip>div:last-child{border-bottom:0}}.culture-cue{border:1px solid #e1e3e6;border-left:3px solid var(--rel-red);background:linear-gradient(90deg,#fff6f6 0%,#fff 40%);border-radius:8px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:7px;min-height:36px;padding:5px 8px;display:grid;box-shadow:0 2px 8px #1d202609}.culture-cue-mark{background:var(--rel-red);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:8px;font-weight:900;display:grid}.culture-cue>div{align-items:baseline;gap:7px;min-width:0;display:flex}.culture-cue>div>span{color:var(--rel-red-dark);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;font-size:6px;font-weight:900}.culture-cue strong{white-space:nowrap;font-size:9px}.culture-cue small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}@media (width<=760px){.culture-cue>div>span,.culture-cue small{display:none}.culture-cue strong{text-overflow:ellipsis;overflow:hidden}}.rm-workspace{flex-direction:column;gap:8px;min-width:0;display:flex}.rm-command-bar{background:#fff;border:1px solid #dfe2e6;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex;box-shadow:0 3px 12px #16191e0a}.rm-command-bar h2{margin:1px 0 2px;font-size:17px}.rm-command-bar p{color:var(--muted);margin:0;font-size:8px}.rm-command-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;display:flex}.rm-source-badge{color:#285f4b;white-space:nowrap;background:#eff8f3;border:1px solid #b8d8c7;border-radius:6px;align-items:center;gap:4px;padding:6px 8px;font-size:7px;font-weight:850;display:inline-flex}.rm-source-badge i{background:#2a9a69;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #2a9a691f}.rm-master-purpose{background:#f1f8f4;border:1px solid #b8d8c7;border-left:3px solid #2a9a69;border-radius:7px;grid-template-columns:minmax(260px,1fr) minmax(340px,auto);align-items:center;gap:12px;padding:9px 11px;display:grid}.rm-master-purpose>div{flex-direction:column;gap:2px;min-width:0;display:flex}.rm-master-purpose strong{color:#245f48;font-size:9px}.rm-master-purpose span{color:#4f6b5e;font-size:7px;line-height:1.4}.rm-master-purpose em{color:#476355;background:#fff;border:1px solid #b7d5c5;border-radius:5px;padding:6px 8px;font-size:6.5px;font-style:normal;line-height:1.4}.rm-master-purpose em b{color:#245f48}.modal:has(.integrated-item-form){width:min(100%,1180px)}.integrated-item-form{gap:9px;padding:12px 14px 14px}.item-setup-section,.item-route-section{background:#fff;border:1px solid #dfe2e6;border-radius:9px;gap:8px;margin:0;padding:10px;display:grid}.item-route-section{background:#fafbfc;border-color:#d9dfe6}.item-setup-head{align-items:center;gap:8px;min-width:0;display:flex}.item-setup-head>span:first-child{color:#fff;background:#202329;border-radius:7px;flex:none;place-items:center;width:25px;height:25px;font-size:8px;font-weight:900;display:grid}.item-setup-head>div{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.item-setup-head strong{font-size:10px}.item-setup-head small{color:var(--muted);font-size:7px;line-height:1.35}.item-code-grid{grid-template-columns:minmax(220px,1fr) minmax(160px,.45fr)}.inline-master-choice{background:#f1f3f5;border:1px solid #dadddf;border-radius:7px;gap:3px;width:fit-content;padding:3px;display:inline-flex}.inline-master-choice button{color:#5e656d;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;min-height:27px;padding:4px 8px;font-size:7px;font-weight:850}.inline-master-choice button.active{color:#202329;background:#fff;border-color:#d3d7dc;box-shadow:0 1px 4px #14181e12}.new-rm-inline{background:#f3faf6;border:1px solid #b8d8c7;border-left:3px solid #2a9a69;border-radius:7px;grid-template-columns:minmax(280px,1fr);align-items:end;gap:6px;padding:8px;display:grid}.new-rm-inline>span{color:#376651;grid-column:1/-1;font-size:7px}.integrated-tool-bom{background:#fffdfa;border-color:#d8cfb9}.setup-ready,.setup-pending{border-radius:999px;flex:none;padding:4px 7px;font-size:7px;font-weight:850}.setup-ready{color:#236a45;background:#e4f4ea}.setup-pending{color:#8e581a;background:#fff0dc}.integrated-tool-rows{gap:4px;display:grid;overflow-x:auto}.integrated-tool-labels,.integrated-tool-row{grid-template-columns:26px minmax(145px,.8fr) minmax(250px,1.5fr) 105px 105px 28px;align-items:start;gap:5px;min-width:790px;display:grid}.integrated-tool-labels{color:#69717a;text-transform:uppercase;padding:0 6px;font-size:6px;font-weight:850}.integrated-tool-row{background:#fff;border:1px solid #e1e3e6;border-radius:7px;padding:6px}.integrated-tool-row.new-tool{background:#fffaf0;border-color:#e5c486}.integrated-tool-row>span{color:#59616a;background:#eceff2;border-radius:6px;place-items:center;width:23px;height:27px;font-size:7px;font-weight:900;display:grid}.integrated-tool-row label{flex-direction:column;gap:2px;min-width:0;display:flex}.integrated-tool-row input{background:#fff;border:1px solid #cfd4da;border-radius:5px;width:100%;min-height:27px;padding:4px 6px;font-size:8px}.integrated-tool-row input:disabled{color:#525a62;background:#f4f5f6;border-color:#e1e4e7}.integrated-tool-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.integrated-tool-row>button{width:27px;height:27px;color:var(--rel-red-dark);cursor:pointer;background:#fff3f3;border:1px solid #e2b9bb;border-radius:5px}.integrated-tool-row>button:disabled{cursor:not-allowed;opacity:.35}.integrated-tool-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.integrated-tool-actions>span{color:var(--muted);font-size:7px}.integrated-save-summary{color:#49525c;background:#f4f6f8;border:1px solid #d9dde1;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:7px;font-size:7px;font-weight:800;display:flex}.integrated-save-summary b{color:var(--rel-red);font-size:11px}@media (width<=760px){.item-code-grid,.new-rm-inline{grid-template-columns:1fr}.integrated-tool-actions{flex-direction:column;align-items:flex-start}.item-setup-head{align-items:flex-start}}.rm-command-actions button{min-height:29px;padding:6px 9px;font-size:7px}.rm-tabs{background:#eceff2;border:1px solid #dfe2e6;border-radius:8px;gap:3px;padding:4px;display:flex;overflow-x:auto}.rm-tabs button{color:#58606a;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex:1 0 auto;justify-content:center;align-items:center;gap:6px;min-height:33px;padding:5px 9px;font-size:8px;font-weight:800;display:inline-flex}.rm-tabs button strong{min-width:18px;color:inherit;text-align:center;background:#5b646e1a;border-radius:9px;padding:2px 4px;font-size:6px}.rm-tabs button.active{color:#1e2228;background:#fff;border-color:#d5d9dd;box-shadow:0 2px 6px #171a1f14}.rm-tabs button.active:before{background:var(--rel-red);content:"";border-radius:2px;width:3px;height:14px}.rm-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.rm-kpis>div{background:#fff;border:1px solid #dfe2e5;border-top:3px solid #667786;border-radius:7px;min-width:0;padding:8px 9px}.rm-kpis>div:nth-child(2){border-top-color:#306caa}.rm-kpis>div:nth-child(4){border-top-color:#a76a31}.rm-kpis>div:nth-child(5){border-top-color:#7864a4}.rm-kpis>div.danger{border-color:#e6b8bb;border-top-color:var(--rel-red);background:#fff8f8}.rm-kpis span,.rm-kpis small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;display:block;overflow:hidden}.rm-kpis strong{margin:3px 0 1px;font-size:16px;line-height:1;display:block}.rm-toolbar{background:#fff;border:1px solid #dfe2e5;border-radius:7px;justify-content:space-between;align-items:center;gap:7px;padding:6px 7px;display:flex}.rm-search{background:#fafbfc;border:1px solid #cfd4d9;border-radius:5px;align-items:center;gap:5px;width:min(390px,100%);padding:0 7px;display:flex}.rm-search span{color:#7a828b;font-size:13px}.rm-search input{background:0 0;border:0;outline:0;width:100%;min-height:27px;font-size:8px}.rm-health-filters{flex-wrap:wrap;gap:3px;display:flex}.rm-health-filters button{color:#5e656e;cursor:pointer;background:#fafbfc;border:1px solid #dadddf;border-radius:4px;min-height:25px;padding:4px 6px;font-size:6px;font-weight:800}.rm-health-filters button strong{margin-left:3px}.rm-health-filters button.active{box-shadow:inset 0 0 0 1px}.rm-health-filters .critical{color:#a82e35;background:#fff1f1;border-color:#e3b3b6}.rm-health-filters .low{color:#875c13;background:#fff8e7;border-color:#e8d09e}.rm-health-filters .normal{color:#28674f;background:#edf8f2;border-color:#b9d9c8}.rm-health-filters .excess{color:#315d94;background:#eef4fb;border-color:#b8cae2}.rm-exception{color:#76541c;background:#fff9ec;border:1px solid #e6c589;border-left:3px solid #d88b14;border-radius:6px;grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:4px 10px;padding:7px 9px;font-size:7px;display:grid}.rm-exception>div{grid-column:1/-1;gap:4px;display:flex;overflow-x:auto}.rm-exception>div span{background:#fff;border:1px solid #ead6ae;border-radius:4px;flex:none;padding:3px 5px;font-size:6px}.rm-table-wrap{background:#fff;border:1px solid #dfe2e5;border-radius:7px;overflow:auto}.rm-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:1040px;font-size:7px}.rm-table th{z-index:2;color:#555e68;letter-spacing:.035em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f0f2f4;border-bottom:1px solid #d6d9dd;border-right:1px solid #e3e5e8;height:29px;padding:5px 7px;font-size:6px;font-weight:850;position:sticky;top:0}.rm-table td{text-overflow:ellipsis;vertical-align:middle;border-bottom:1px solid #e8eaec;border-right:1px solid #eceef0;height:36px;padding:5px 7px;line-height:1.15;overflow:hidden}.rm-table tbody tr:hover{background:#f8fafb}.rm-table tbody tr.short-row{background:snow}.rm-table tbody tr.short-row:hover{background:#fff4f4}.rm-table td>strong,.rm-table td>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rm-table td>strong{font-size:7px}.rm-table td>small{color:var(--muted);margin-top:2px;font-size:6px}.rm-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.rm-status{white-space:nowrap;border:1px solid;border-radius:10px;align-items:center;min-height:19px;padding:3px 6px;font-size:6px;font-weight:850;display:inline-flex}.rm-status.critical{color:#a4252d;background:#fff0f1;border-color:#e1aeb2}.rm-status.low{color:#845c17;background:#fff7e3;border-color:#e2cb9a}.rm-status.normal{color:#29684f;background:#eaf7f0;border-color:#afd3c0}.rm-status.excess{color:#315e93;background:#edf4fc;border-color:#aec6e1}.rm-status.no-level{color:#666d75;background:#f4f5f6;border-color:#d2d5d8}.mapping-note{color:#94651b;margin-top:2px;font-size:5px;font-weight:750;display:block}.danger-text{color:#aa2830!important}.good-text{color:#237052!important}.rm-code-list{flex-wrap:wrap;gap:2px;max-height:27px;display:flex;overflow:hidden}.rm-code-list span{color:#414951;background:#edf0f3;border-radius:3px;padding:2px 4px;font-size:5px;font-weight:800}.rm-plan-months{flex-wrap:wrap;gap:2px;margin-top:3px;display:flex}.rm-plan-months span{color:#315f77;background:#e9f2f7;border-radius:3px;padding:2px 4px;font-size:5px;font-weight:800}.monthly-plan-rm small{color:#586b78!important}.rm-shortage-value{color:#aa2830}.rm-empty{color:var(--muted);text-align:center;padding:28px;font-size:8px}.rm-entry-layout{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:7px;display:grid}.rm-entry-types{grid-template-columns:1fr;gap:3px;display:grid}.rm-entry-types button{text-align:left;cursor:pointer;background:#fff;border:1px solid #dadddf;border-radius:6px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px;min-height:43px;padding:5px 7px;display:grid}.rm-entry-types button:hover{background:#fafbfc;border-color:#b9bec4}.rm-entry-types button.active{border-color:#dd9a9d;border-left:3px solid var(--rel-red);background:#fff7f7;box-shadow:0 2px 7px #aa262d14}.rm-entry-types i{color:#4e5862;background:#edf0f2;border-radius:5px;place-items:center;width:25px;height:25px;font-size:11px;font-style:normal;font-weight:900;display:grid}.rm-entry-types button.active i{color:#a82d34;background:#fbdfe0}.rm-entry-types span{min-width:0}.rm-entry-types strong,.rm-entry-types small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rm-entry-types strong{font-size:8px}.rm-entry-types small{color:var(--muted);margin-top:2px;font-size:6px}.rm-entry-form,.rm-master-form{background:#fff;border:1px solid #dfe2e5;border-radius:7px;padding:10px}.rm-form-head{border-bottom:1px solid #e4e6e9;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;padding-bottom:7px;display:flex}.rm-form-head h3{margin:2px 0 0;font-size:13px}.rm-form-head>strong{color:#6a727b;letter-spacing:.04em;font-size:6px}.rm-form-grid{grid-template-columns:repeat(3,minmax(130px,1fr));gap:6px;display:grid}.rm-form-grid label,.rm-inline-form label{color:#5a626b;flex-direction:column;gap:3px;min-width:0;font-size:6px;font-weight:800;display:flex}.rm-form-grid label.wide{grid-column:span 2}.rm-form-grid input,.rm-form-grid select,.rm-inline-form input,.rm-inline-form select,.rm-filter-select{width:100%;min-width:0;min-height:29px;color:var(--ink);background:#fff;border:1px solid #cdd2d7;border-radius:4px;padding:5px 6px;font-size:7px}.rm-form-grid label>small{color:#8c4d25;font-size:5px}.rm-entry-summary{color:#36516b;background:#f1f6fa;border:1px solid #cbd8e4;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;padding:6px 8px;font-size:7px;display:flex}.rm-submit{width:100%;min-height:31px;margin-top:7px;font-size:8px}.rm-location-cards{grid-template-columns:repeat(11,minmax(70px,1fr));gap:3px;display:grid}.rm-location-cards button{cursor:pointer;background:#fff;border:1px solid #d8dcdf;border-top:3px solid #9aa7b2;border-radius:5px;min-width:0;min-height:42px;padding:5px}.rm-location-cards button:nth-child(4n+2){background:#f8fbfd;border-top-color:#5c85a6}.rm-location-cards button:nth-child(4n+3){background:#f8fcfa;border-top-color:#66957e}.rm-location-cards button:nth-child(4n+4){background:#fdfbf7;border-top-color:#b18c55}.rm-location-cards button.active{border-color:#e19a9d;border-top-color:var(--rel-red);background:#fff4f4;box-shadow:inset 0 0 0 1px #f0c7c9}.rm-location-cards span,.rm-location-cards strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rm-location-cards span{color:#68717a;font-size:5px;font-weight:800}.rm-location-cards strong{margin-top:3px;font-size:8px}.rm-selection-label,.location-chip,.reject-chip{color:#505961;background:#edf0f3;border-radius:4px;padding:4px 6px;font-size:6px;font-weight:800;display:inline-flex}.reject-chip{color:#9b3036;background:#fff0f1}.rm-section-head{border:1px solid #e1d5d6;border-left:3px solid var(--rel-red);background:snow;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.rm-section-head h3{margin:2px 0;font-size:13px}.rm-section-head p{color:var(--muted);margin:0;font-size:7px}.rm-split{grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);align-items:start;gap:7px;display:grid}.rm-mini-ledger{background:#fff;border:1px solid #dfe2e5;border-radius:7px;padding:9px}.rm-mini-ledger h4{margin:0 0 7px;font-size:9px}.rm-mini-ledger>div{border-bottom:1px solid #eceef0;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;padding:5px 0;display:grid}.rm-mini-ledger>div>span{border-radius:4px;place-items:center;width:22px;height:19px;font-size:6px;font-weight:900;display:grid}.rm-mini-ledger .in{color:#28684f;background:#e4f3eb}.rm-mini-ledger .out{color:#a62b32;background:#fee9ea}.rm-mini-ledger p{min-width:0;margin:0}.rm-mini-ledger strong,.rm-mini-ledger small{text-overflow:ellipsis;white-space:nowrap;font-size:6px;display:block;overflow:hidden}.rm-mini-ledger small{color:var(--muted);margin-top:2px}.rm-subtabs{gap:4px;display:flex}.rm-subtabs button{color:#59616a;cursor:pointer;background:#f4f6f7;border:1px solid #d5d9dd;border-radius:5px;align-items:center;gap:5px;min-height:29px;padding:5px 8px;font-size:7px;font-weight:800;display:inline-flex}.rm-subtabs button.active{color:#9f2930;background:#fff5f5;border-color:#d99c9f}.rm-subtabs button strong{background:#464c5317;border-radius:8px;min-width:18px;padding:2px 4px;font-size:5px}.rm-inline-form{background:#fff;border:1px solid #dfe2e5;border-radius:7px;grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(120px,1fr)) auto;align-items:end;gap:5px;padding:8px;display:grid}.rm-inline-form.compact{grid-template-columns:minmax(320px,2fr) 150px auto}.rm-inline-form button{white-space:nowrap;min-height:29px;padding:5px 9px;font-size:7px}.rm-filter-select{max-width:220px}.rm-table .direction{float:left;border-radius:3px;margin-right:5px;padding:3px 4px;font-size:5px;font-weight:900;display:inline-flex}.rm-table .direction.in{color:#21664c;background:#e6f4ed}.rm-table .direction.out{color:#a12931;background:#fee9ea}.rm-table.history th:first-child{width:155px}.rm-table.history th:nth-child(2){width:210px}.rm-table.history th:nth-child(3){width:135px}.rm-table.history th:nth-child(4),.rm-table.history th:nth-child(5){width:130px}.rm-table.history th:nth-child(6){width:160px}.rm-master-form{padding-bottom:8px}.rm-form-grid.master-grid{grid-template-columns:repeat(6,minmax(100px,1fr));align-items:end}.rm-form-grid.master-grid .wide{grid-column:span 2}.rm-form-grid.master-grid button{min-height:29px;font-size:7px}@media (width<=1450px){.rm-location-cards{grid-template-columns:repeat(8,minmax(70px,1fr))}.rm-form-grid.master-grid{grid-template-columns:repeat(4,minmax(110px,1fr))}}@media (width<=1280px){.rm-command-bar,.rm-section-head{flex-direction:column;align-items:flex-start}.rm-command-actions{justify-content:flex-start}.rm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-entry-layout{grid-template-columns:1fr}.rm-entry-types{grid-template-columns:repeat(4,minmax(0,1fr))}.rm-location-cards{grid-template-columns:repeat(5,minmax(70px,1fr))}.rm-inline-form{grid-template-columns:repeat(2,minmax(150px,1fr))}.rm-split{grid-template-columns:1fr}}@media (width<=700px){.rm-kpis,.rm-form-grid,.rm-form-grid.master-grid,.rm-entry-types{grid-template-columns:1fr 1fr}.rm-location-cards{grid-template-columns:repeat(3,minmax(65px,1fr))}.rm-form-grid label.wide,.rm-form-grid.master-grid .wide{grid-column:span 2}.rm-toolbar{flex-direction:column;align-items:stretch}.rm-inline-form,.rm-inline-form.compact{grid-template-columns:1fr}}.execution-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.pending-month-selector{background:#fff;border:1px solid #dfe2e5;border-radius:9px;grid-template-columns:190px minmax(0,1fr);gap:8px;padding:8px;display:grid}.pending-month-heading{border-right:1px solid #e4e6e9;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:2px 7px;display:flex}.pending-month-heading>div{flex-direction:column;gap:2px;display:flex}.pending-month-heading strong{font-size:10px}.pending-month-heading small{color:var(--muted);font-size:6px;line-height:1.4}.pending-month-boxes{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:5px;display:grid}.pending-month-boxes button{min-width:0;min-height:52px;color:var(--ink);text-align:left;cursor:pointer;background:#f8fafb;border:1px solid #d9dde1;border-top:2px solid #758ba0;border-radius:6px;flex-direction:column;justify-content:center;gap:2px;padding:6px 8px;display:flex}.pending-month-boxes button:hover{background:#fff;border-color:#9eabb7}.pending-month-boxes button.active{border-color:#dc9699;border-top-color:var(--rel-red);box-shadow:inset 3px 0 var(--rel-red);background:#fff4f4}.pending-month-boxes button:disabled{cursor:wait;opacity:.65}.pending-month-boxes span{color:#5d6670;text-overflow:ellipsis;white-space:nowrap;font-size:6px;font-weight:850;overflow:hidden}.pending-month-boxes strong{font-size:10px}.pending-month-boxes small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.pending-plan-table,.pending-plan-table.pending-forging-table,.pending-plan-table.pending-secondary-table{table-layout:fixed;width:100%;min-width:930px}.pending-plan-table th:first-child{width:86px}.pending-plan-table th:nth-child(2){width:82px}.pending-plan-table th:nth-child(3){width:92px}.pending-plan-table th:nth-child(4),.pending-plan-table th:nth-child(5),.pending-plan-table th:nth-child(6),.pending-plan-table th:nth-child(7){width:58px}.pending-plan-table th:nth-child(8){width:74px}.pending-plan-table th:nth-child(9){width:72px}.pending-plan-table th:nth-child(10){width:104px}.pending-plan-table th:nth-child(11){width:52px}.pending-plan-table td{padding-left:4px;padding-right:4px}.pending-plan-table td:nth-child(8) small{color:var(--muted);white-space:normal;font-size:6px;display:block}.backlog-badge{color:#805b13;background:#fff8e6;border:1px solid #e4c37b;border-radius:4px;max-width:100%;padding:3px 5px;font-size:6px;font-weight:850;line-height:1.25;display:inline-flex}.batch-date>span{flex-direction:column;gap:1px;font-weight:800;display:flex}.batch-date>span small{color:var(--muted);white-space:nowrap;font-size:5px;font-weight:650}.posted-movement-confirmation{background:#f4faf7;border:1px solid #acd3c1;border-left:3px solid #2f7b5d;border-radius:7px;margin:0 8px 8px;overflow:hidden}.posted-movement-head{border-bottom:1px solid #d3e7dd;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.posted-movement-head>div{flex-direction:column;gap:1px;display:flex}.posted-movement-head span{color:#247052;text-transform:uppercase;font-size:6px;font-weight:900}.posted-movement-head strong{font-size:9px}.posted-movement-head small{color:var(--muted);font-size:6px}.posted-movement-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:5px;padding:6px;display:grid}.posted-movement-grid article{background:#fff;border:1px solid #d5e7df;border-radius:5px;grid-template-columns:1fr auto;gap:2px 8px;min-width:0;padding:6px 7px;display:grid}.posted-movement-grid article strong{font-size:8px}.posted-movement-grid article>span{color:#267054;font-size:7px;font-weight:850}.posted-movement-grid article p{color:#4c5a54;grid-column:1/-1;margin:0;font-size:6px}.posted-movement-grid article p b{color:#267054;padding:0 3px}.posted-movement-grid article small{color:#9e3439;grid-column:1/-1;font-size:6px;font-weight:800}.production-records-table{table-layout:fixed;width:100%;min-width:1595px}.production-records-table th:first-child{width:72px}.production-records-table th:nth-child(2){width:70px}.production-records-table th:nth-child(3){width:82px}.production-records-table th:nth-child(4){width:88px}.production-records-table th:nth-child(5){width:100px}.production-records-table th:nth-child(6){width:138px}.production-records-table th:nth-child(7){width:180px}.production-records-table th:nth-child(8){width:92px}.production-records-table th:nth-child(9),.production-records-table th:nth-child(10),.production-records-table th:nth-child(11){width:52px}.production-records-table th:nth-child(12){width:58px}.production-records-table th:nth-child(13),.production-records-table th:nth-child(14){width:105px}.production-records-table th:nth-child(15){width:120px}.production-records-table th:nth-child(16){width:100px}.production-records-table th:nth-child(17){width:85px}.production-records-table td{overflow-wrap:anywhere;padding-left:4px;padding-right:4px}.record-id{color:#536474;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px;font-weight:850}.record-forging-capacity,.record-forging-loss{flex-direction:column;gap:2px;min-width:0;display:flex}.record-forging-capacity strong,.record-forging-loss strong{font-size:7px}.record-forging-capacity span,.record-forging-capacity small,.record-forging-loss span{color:#61707d;font-size:6px;line-height:1.35}.record-forging-loss strong{color:#9b610a}.entry-log-code,.record-timestamps{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.correction-count{color:#815805;white-space:nowrap;background:#fff0cb;border-radius:3px;padding:2px 4px;font-size:5px;font-weight:900;display:inline-flex}.record-timestamps small{color:#96600d;font-size:5px;line-height:1.35}.corrected-production-row{background:#fffcf4}.production-edit-button{white-space:normal;min-height:25px;padding:3px 5px}.modal:has(.production-correction-form){width:min(100%,1180px)}.production-correction-form{background:#f5f7f9;gap:8px;padding:10px 12px 12px}.correction-identity-strip{grid-template-columns:92px 125px 125px 170px minmax(240px,1fr);gap:4px;display:grid}.correction-identity-strip>div{background:#fff;border:1px solid #d9dee3;border-radius:4px;flex-direction:column;gap:2px;min-width:0;padding:6px 7px;display:flex}.correction-identity-strip span,.correction-fields-grid label>span,.correction-reason>span{color:#697580;text-transform:uppercase;font-size:6px;font-weight:850}.correction-identity-strip strong{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.correction-identity-strip>small{color:#526675;background:#f7fafc;border:1px solid #dce2e7;border-left:3px solid #697d8d;border-radius:4px;align-items:center;padding:5px 7px;font-size:6px;line-height:1.4;display:flex}.correction-safety-note{background:#f1f7fb;border:1px solid #c8d9e5;border-left:3px solid #4f7b9b;border-radius:4px;align-items:center;gap:10px;padding:6px 8px;display:flex}.correction-safety-note strong{color:#315c7c;flex:none;font-size:7px}.correction-safety-note span{color:#4f6575;font-size:6px;line-height:1.4}.correction-fields-grid{grid-template-columns:140px repeat(3,minmax(95px,1fr)) minmax(180px,1.5fr);gap:4px;display:grid}.correction-fields-grid label,.correction-reason{background:#fff;border:1px solid #d8dde2;border-radius:4px;flex-direction:column;gap:3px;min-width:0;padding:5px 6px;display:flex}.correction-fields-grid input,.correction-fields-grid select,.correction-reason textarea{width:100%;min-height:27px;color:var(--ink);background:#fff;border:1px solid #c8cfd6;border-radius:3px;padding:4px 6px;font-size:7px;font-weight:700}.correction-fields-grid label small{color:#7b8791;font-size:5px;line-height:1.25}.correction-fields-grid input:disabled,.correction-fields-grid select:disabled{color:#7b858e;background:#eef1f3}.correction-validation-error{color:#8d252b;background:#fff3f3;border:1px solid #e3b0b3;border-left:3px solid #ba333a;border-radius:4px;padding:5px 7px;font-size:7px;font-weight:800}.reject-policy-alert{color:#8d252b;background:#fff3f3;border:1px solid #e3b0b3;border-left:3px solid #ba333a;border-radius:4px;padding:6px 8px;font-size:7px;font-weight:800}.correction-forging-log{background:#edf1f4;border:1px solid #d9dee3;border-radius:5px;flex-direction:column;gap:5px;padding:6px;display:flex}.correction-section-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.correction-section-head>div{flex-direction:column;gap:1px;display:flex}.correction-section-head span{color:#65717c;text-transform:uppercase;font-size:6px;font-weight:900}.correction-section-head strong{font-size:8px}.correction-section-head small{color:#697580;font-size:6px}.correction-capacity-inputs{grid-template-columns:90px 110px repeat(3,minmax(105px,1fr))}.correction-reason textarea{resize:vertical;min-height:48px;font-weight:600}.correction-form-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.correction-form-actions>div{gap:5px;display:flex}.correction-void-button{color:#9c2930;background:#fff5f5;border-color:#e1b3b6}.correction-history-register{background:#fff;border:1px solid #d9dee3;border-radius:5px;flex-direction:column;gap:4px;padding:6px;display:flex}.correction-history-register article{background:#fffaf0;border:1px solid #e1e4e7;border-left:3px solid #c68a1b;border-radius:4px;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:8px;padding:5px 6px;display:grid}.correction-history-register article>div{flex-direction:column;gap:2px;min-width:0;display:flex}.correction-history-register article strong{font-size:7px}.correction-history-register article small,.correction-history-register article p{color:#6c747c;font-size:6px;line-height:1.4}.correction-history-register article p{margin:0}@media (width<=900px){.pending-month-selector{grid-template-columns:1fr}.pending-month-heading{border-bottom:1px solid #e4e6e9;border-right:0;padding-bottom:7px}.execution-mode-tabs{grid-template-columns:1fr}.forging-capacity-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.forging-downtime-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.forging-category-check{grid-template-columns:1fr;gap:3px}.forging-category-check small{text-align:left}.correction-identity-strip,.correction-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.correction-identity-strip>small,.correction-remarks{grid-column:1/-1}.correction-form-actions{flex-direction:column;align-items:stretch}.correction-form-actions>div{justify-content:flex-end}.correction-history-register article{grid-template-columns:1fr}}.rm-batch-entry{flex-direction:column;gap:7px;display:flex}.rm-batch-entry .rm-entry-types{grid-template-columns:repeat(8,minmax(105px,1fr))}.rm-batch-entry .rm-entry-types button{min-height:48px;padding-top:14px;position:relative}.rm-batch-entry .rm-entry-types button.stock-effect-increase{background:#f3faf6;border-color:#b9d8c6}.rm-batch-entry .rm-entry-types button.stock-effect-increase i{color:#246b4d;background:#dff1e7}.rm-batch-entry .rm-entry-types button.stock-effect-increase.active{background:#eaf7ef;border-color:#6ea989 #6ea989 #6ea989 #287555;border-left-style:solid;border-left-width:3px;box-shadow:0 2px 7px #206e4c1f}.rm-batch-entry .rm-entry-types button.stock-effect-reduce{background:#fff5f5;border-color:#e4b9bc}.rm-batch-entry .rm-entry-types button.stock-effect-reduce i{color:#9a3037;background:#f9dfe1}.rm-batch-entry .rm-entry-types button.stock-effect-reduce.active{background:#ffeded;border-color:#d37d82 #d37d82 #d37d82 #ad343b;border-left-style:solid;border-left-width:3px;box-shadow:0 2px 7px #a32a321f}.rm-batch-entry .rm-entry-types button.stock-effect-neutral{background:#f5f8fa;border-color:#cbd5dc}.rm-batch-entry .rm-entry-types button.stock-effect-adjust{background:#fffaf0;border-color:#e0cca4}.rm-batch-entry .rm-entry-types button.stock-effect-adjust i{color:#805d1e;background:#f5e9cf}.rm-stock-effect{color:#5f6870;letter-spacing:.04em;background:#ffffffb8;border-radius:3px;padding:2px 4px;font-size:5px;font-weight:900;position:absolute;top:3px;right:4px}.stock-effect-increase .rm-stock-effect{color:#246b4d}.stock-effect-reduce .rm-stock-effect{color:#9a3037}.stock-effect-adjust .rm-stock-effect{color:#805d1e}.rm-batch-form{padding:0}.rm-entry-submit-strip{background:linear-gradient(90deg,#f7f8f9,#fff);border-bottom:1px solid #d9dee2;grid-template-columns:minmax(150px,.55fr) minmax(210px,1fr) minmax(220px,auto);align-items:center;gap:8px;padding:7px 9px;display:grid}.rm-entry-submit-strip>div,.rm-entry-submit-strip>p{flex-direction:column;gap:2px;min-width:0;margin:0;display:flex}.rm-entry-submit-strip>div>span,.rm-entry-submit-strip>p>small{color:#69727a;font-size:6px;font-weight:800}.rm-entry-submit-strip input{width:145px;min-height:29px;color:var(--ink);background:#fff;border:1px solid #c5ccd1;border-radius:4px;padding:3px 6px;font-size:8px}.rm-entry-submit-strip>p strong{font-size:8px}.rm-entry-submit-strip>.validated-action{justify-self:end;width:100%;max-width:310px}.rm-entry-submit-strip .rm-top-submit{width:100%;min-height:32px;font-size:8px;font-weight:900}.rm-entry-submit-strip .action-disabled-reason{max-width:310px;font-size:6px}.rm-batch-form .rm-form-head{margin:0;padding:8px 9px}.rm-batch-form .rm-form-head h3{font-size:11px}.rm-batch-form .rm-form-head small{color:var(--muted);margin-top:2px;font-size:6px;display:block}.rm-allocation-rule{color:#38556c;background:#f2f8fc;border-block:1px solid #c9d9e5;align-items:center;gap:8px;padding:6px 9px;display:flex}.rm-allocation-rule strong{flex:none;font-size:7px}.rm-allocation-rule span{font-size:6px;line-height:1.35}.rm-shared-date{color:var(--muted);align-items:center;gap:6px;font-size:6px;font-weight:800;display:flex}.rm-shared-date input{border:1px solid #ccd2d7;border-radius:4px;min-height:27px;padding:3px 5px;font-size:7px}.rm-batch-lines{background:#f3f5f7;flex-direction:column;gap:3px;padding:6px;display:flex}.rm-batch-line{border:1px solid #dfe2e5;background:#fff;border-left:3px solid #a9b2bb;border-radius:5px;flex-wrap:wrap;align-items:flex-end;gap:4px;min-width:0;padding:5px;display:flex}.rm-batch-line.started{border-left-color:#5c7d99;box-shadow:0 1px 4px #1a25300d}.rm-batch-line label,.rm-adjust-direction,.rm-open-plan-picker{color:#5c646d;flex-direction:column;flex:96px;gap:2px;min-width:82px;font-size:5px;font-weight:850;display:flex}.rm-batch-line .rm-line-finished-part{flex:1.8 220px;min-width:190px}.rm-batch-line .rm-line-allocation{flex:2 260px;min-width:220px}.rm-batch-line .rm-line-material{flex:1.8 180px;min-width:155px}.rm-batch-line .rm-line-remarks{flex:1.5 150px;min-width:120px}.rm-batch-line.rm-machine-return-line,.rm-batch-line.rm-rejection-transfer-line{border-left-width:4px;padding:7px}.rm-batch-line.rm-machine-return-line{background:linear-gradient(135deg,#fbfefc,#f2f8f5);border-color:#bfd6c9 #bfd6c9 #bfd6c9 #287555}.rm-batch-line.rm-rejection-transfer-line{background:linear-gradient(135deg,#fffdfd,#fbf3f3);border-color:#e3c7c7 #e3c7c7 #e3c7c7 #b84646}.rm-machine-return-line .rm-return-coil-picker{flex:2.1 360px;min-width:300px}.rm-return-balance{background:#fff;border:1px solid #bdd6c8;border-radius:5px;flex:4 520px;min-width:430px;padding:5px 7px}.rm-return-balance header{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:2px 8px;display:grid}.rm-return-balance header>span{color:#4e665a;text-transform:uppercase;letter-spacing:.05em;font-size:5px;font-weight:900}.rm-return-balance header>strong{color:#1d4f39;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;overflow:hidden}.rm-return-balance header>small{color:#63736b;grid-column:1/-1;font-size:5px}.rm-return-balance>div{grid-template-columns:repeat(4,minmax(80px,1fr));gap:3px;margin-top:4px;display:grid}.rm-return-balance>div>span{background:#f0f4f2;border-radius:4px;flex-direction:column;gap:1px;padding:4px 5px;display:flex}.rm-return-balance>div>span small{color:#68746e;font-size:5px;font-weight:800}.rm-return-balance>div>span strong{color:#263a31;font-size:8px}.rm-return-balance>div>span.returnable{background:#dff2e7}.rm-return-balance>div>span.returnable strong{color:#14613d}.rm-machine-return-line .rm-auto-quantity input,.rm-rejection-transfer-line .rm-auto-quantity input{color:#165b3b;background:#eaf6ef;border-color:#8eb7a2;font-weight:900}.rm-machine-return-line .rm-return-reason{flex:1.7 260px;min-width:220px}.rm-rejection-transfer-line .rm-rejection-coil-picker{flex:2 310px;min-width:250px}.rm-rejection-transfer-line .rm-rejection-destination input{color:#8e2929;background:#f9e7e7;border-color:#d8a9a9;font-weight:900}.rm-batch-line input,.rm-batch-line select{width:100%;min-width:0;min-height:27px;color:var(--ink);background:#fff;border:1px solid #ccd2d7;border-radius:4px;padding:3px 5px;font-size:7px}.rm-batch-line select:disabled,.rm-batch-line input:disabled,.rm-batch-line input:read-only{color:#47535d;background:#f3f5f6}.rm-batch-line label small{color:#7f5725;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-open-plan-picker>div{align-items:stretch;gap:3px;min-height:27px;display:flex;overflow-x:auto}.rm-open-plan-picker>div>em{color:#737d85;background:#f6f7f8;border:1px dashed #cfd5da;border-radius:4px;align-items:center;width:100%;padding:4px 6px;font-size:6px;font-style:normal;display:flex}.rm-open-plan-picker>div>button{color:#45515b;text-align:left;cursor:pointer;background:#fff;border:1px solid #cbd3d9;border-radius:4px;grid-template-columns:auto 1fr;align-items:center;gap:1px 4px;min-width:104px;padding:3px 5px;display:grid}.rm-open-plan-picker>div>button strong{font-size:6px}.rm-open-plan-picker>div>button small{color:#6d7780;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:5px;overflow:hidden}.rm-open-plan-picker>div>button b{color:#365f78;grid-column:1/-1;font-size:5px}.rm-open-plan-picker>div>button.active{background:#edf7fc;border-color:#769fb7;box-shadow:inset 3px 0 #477c9b}.rm-open-plan-picker>small{color:#7f5725;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-line-number{color:#56616b;background:#e8edf1;border-radius:4px;flex:0 0 22px;place-items:center;width:22px;height:27px;font-size:6px;font-weight:900;display:grid}.rm-line-clear{color:#a6383d;cursor:pointer;background:#fff5f5;border:1px solid #e2c3c5;border-radius:4px;flex:0 0 24px;width:24px;height:27px}.rm-adjust-direction>div{grid-template-columns:1fr 1fr;gap:2px;display:grid}.rm-adjust-direction button{color:#59636c;cursor:pointer;background:#f5f6f7;border:1px solid #d5dadd;border-radius:4px;min-height:27px;padding:3px;font-size:6px;font-weight:850}.rm-adjust-direction button.active.in{color:#21694e;background:#edf8f3;border-color:#9dcab7}.rm-adjust-direction button.active.out{color:#9a2f35;background:#fff1f1;border-color:#e3a6a9}.rm-batch-actions{border-top:1px solid #dfe2e5;justify-content:flex-end;align-items:center;gap:8px;padding:7px 8px;display:flex}.rm-batch-actions>span{color:var(--muted);margin-left:auto;font-size:6px;font-weight:800}.rm-batch-actions button{min-height:29px;font-size:7px}.rm-batch-actions button:disabled{cursor:not-allowed;opacity:.42}.rm-batch-actions .rm-add-five-rows:not(:disabled){color:#355d75;background:#f2f8fb;border-color:#afc5d3}.rm-receipt-invoice-head{background:#f2f8f4;border-top:1px solid #d8e5dc;border-bottom:1px solid #cfded5;grid-template-columns:minmax(220px,1.35fr) minmax(190px,1fr) minmax(150px,.7fr);align-items:end;gap:7px;padding:8px;display:grid}.rm-receipt-invoice-head label,.rm-receipt-invoice-head>div{color:#53635b;flex-direction:column;gap:3px;min-width:0;font-size:6px;font-weight:850;display:flex}.rm-receipt-invoice-head input{width:100%;min-height:30px;color:var(--ink);background:#fff;border:1px solid #b9cec1;border-radius:4px;padding:4px 6px;font-size:8px}.rm-receipt-invoice-head small{color:#708077;font-size:5.5px;line-height:1.35}.rm-receipt-invoice-head>div{background:#fff;border:1px solid #b9d4c4;border-radius:5px;justify-content:center;min-height:48px;padding:6px 8px}.rm-receipt-invoice-head>div strong{color:#286347;font-size:10px}.rm-receipt-wire-lines{background:#edf2ef;grid-template-columns:repeat(2,minmax(520px,1fr));gap:7px;padding:7px;display:grid}.rm-receipt-wire{background:#fff;border:1px solid #d0d8d3;border-left:3px solid #8ba296;border-radius:6px;min-width:0;overflow:hidden}.rm-receipt-wire.started{border-left-color:#287555;box-shadow:0 2px 7px #1c5b4014}.rm-receipt-wire>header{background:#f8faf9;border-bottom:1px solid #dce3df;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:6px 7px;display:grid}.rm-receipt-wire>header>div{flex-direction:column;gap:1px;min-width:0;display:flex}.rm-receipt-wire>header span{color:#66756d;letter-spacing:.07em;text-transform:uppercase;font-size:5px;font-weight:900}.rm-receipt-wire>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.rm-receipt-wire>header small{color:#708078;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-receipt-wire>header>b{color:#286347;white-space:nowrap;font-size:7px}.rm-receipt-wire-setup{grid-template-columns:minmax(180px,1.25fr) minmax(145px,.9fr) minmax(105px,.65fr) minmax(175px,1fr);align-items:end;gap:5px;padding:6px 7px;display:grid}.rm-receipt-wire-setup label,.rm-coil-autofill-note{color:#5c6962;flex-direction:column;gap:2px;min-width:0;font-size:5.5px;font-weight:850;display:flex}.rm-receipt-wire-setup input,.rm-receipt-wire-setup select{width:100%;min-width:0;min-height:27px;color:var(--ink);background:#fff;border:1px solid #c8d2cc;border-radius:4px;padding:3px 5px;font-size:7px}.rm-receipt-wire-setup small{color:#6d7c74;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-receipt-description input{background:#fafffc;border-color:#9dbbad;font-weight:850}.rm-receipt-declared-total input{text-align:right;border-color:#8faf9f;font-size:8px;font-weight:900}.rm-receipt-declared-total small.match{color:#287555}.rm-receipt-declared-total small.pending{color:#956a1c}.rm-receipt-declared-total small.over{color:#b64242}.rm-receipt-total-status{border:1px solid #0000;border-radius:4px;padding:4px 6px}.rm-receipt-total-status.match{background:#eaf7ef;border-color:#9bc8ad;color:#226943!important}.rm-receipt-total-status.mismatch{background:#fff7e8;border-color:#e1c291;color:#8b6019!important}.rm-coil-autofill-note{background:#f2f8f4;border:1px solid #c9dbd0;border-radius:4px;justify-content:center;min-height:34px;padding:4px 6px}.rm-coil-autofill-note strong{color:#356a50;font-size:5.5px}.rm-coil-autofill-note small{white-space:normal;line-height:1.35}.rm-receipt-coils{border:1px solid #d8dfdb;border-radius:4px;margin:0 7px;overflow:hidden}.rm-receipt-coil-head,.rm-receipt-coils>div{grid-template-columns:minmax(145px,1.35fr) minmax(100px,.9fr) minmax(90px,.75fr) minmax(78px,.65fr) minmax(94px,.7fr);align-items:center;gap:4px;display:grid}.rm-receipt-coil-head{color:#637069;letter-spacing:.04em;text-transform:uppercase;background:#eef3f0;min-height:23px;padding:3px 5px;font-size:5px;font-weight:900}.rm-receipt-coils>div:not(.rm-receipt-coil-head){background:#fff;border-top:1px solid #e5e9e7;min-height:31px;padding:3px 5px}.rm-receipt-coils>div.started{background:#f5fbf7}.rm-receipt-coils b{color:#708078;text-align:center;font-size:6px}.rm-receipt-coil-identity{flex-direction:column;gap:1px;min-width:0;display:flex;text-align:left!important}.rm-receipt-coil-identity span{color:#2e6a4c;font-size:7px}.rm-receipt-coil-identity small{color:#63726a;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:5px;font-weight:700;overflow:hidden}.rm-receipt-coils input,.rm-receipt-coils select{background:#fff;border:1px solid #ccd5d0;border-radius:3px;width:100%;min-width:0;min-height:24px;padding:2px 4px;font-size:7px}.rm-add-coil{margin:5px 7px 6px;min-height:25px!important;padding:3px 6px!important;font-size:6px!important}.rm-receipt-actions{background:#f7faf8;border-top-color:#cadbd1}.rm-reprint-tags{color:#2f654b!important;background:#eef7f2!important;border-color:#a9c2b4!important}.rm-receipt-print-sheet,.rm-voucher-print-sheet,.mwis-print-sheet{display:none}.mwis-modal{max-width:860px}.mwis-preview{flex-direction:column;gap:12px;display:flex}.mwis-preview-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.mwis-preview-meta span{border:1px solid var(--line);background:var(--canvas,#f7f8f9);border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.mwis-preview-meta small{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:8.5px;font-weight:700}.mwis-preview-meta strong{overflow-wrap:anywhere;font-size:11px}.mwis-preview-table{border:1px solid var(--line);border-radius:8px;overflow-x:auto}.mwis-preview-table table{border-collapse:collapse;width:100%;font-size:10.5px}.mwis-preview-table th,.mwis-preview-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:7px 9px}.mwis-preview-table th{background:var(--canvas,#f6f7f8);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-size:8.5px}.mwis-preview-table td small{color:var(--muted);font-size:9px;display:block}.mwis-preview-table .mwis-num{text-align:right;white-space:nowrap}.mwis-preview-table .mwis-total-row td{background:var(--canvas,#f6f7f8);font-weight:700}.mwis-excess-cell{color:#a3230f;font-weight:800}.mwis-banner{border-radius:8px;padding:10px 12px;font-size:11px;font-weight:700}.mwis-banner-ok{color:#1a5c2a;background:#f0faf2;border:1px solid #b6dfbe}.mwis-banner-excess{color:#a3230f;background:#fdf0ec;border:1.5px solid #d8452b}.mwis-banner-wait{border:1px dashed var(--line);background:var(--canvas,#f6f7f8);color:var(--muted)}@media print{@page{size:A4 portrait;margin:8mm}body *{visibility:hidden!important}.rm-receipt-print-sheet,.rm-receipt-print-sheet *,.rm-voucher-print-sheet,.rm-voucher-print-sheet *,.mwis-print-sheet,.mwis-print-sheet *{visibility:visible!important}:is(body:has(.rm-voucher-print-sheet) .rm-receipt-print-sheet,body:has(.rm-voucher-print-sheet) .rm-receipt-print-sheet *,body:has(.mwis-print-sheet) .rm-receipt-print-sheet,body:has(.mwis-print-sheet) .rm-receipt-print-sheet *,body:has(.rm-voucher-print-sheet) .mwis-print-sheet,body:has(.rm-voucher-print-sheet) .mwis-print-sheet *){visibility:hidden!important;display:none!important}.mwis-print-sheet{color:#111;background:#fff;width:194mm;position:absolute;inset:0 auto auto 0;display:block!important}.mwis-page{border:.5mm solid #222;flex-direction:column;min-height:130mm;padding:4mm;font-family:Arial,Helvetica,sans-serif;display:flex}.mwis-page>header{border-bottom:.6mm solid #b3282d;grid-template-columns:16mm 1fr auto;align-items:center;gap:3mm;padding-bottom:2mm;display:grid}.mwis-page>header img{object-fit:cover;width:15mm;height:11mm}.mwis-page>header div{flex-direction:column;gap:.8mm;display:flex}.mwis-page>header h2{letter-spacing:.03em;margin:0;font-size:11.5pt}.mwis-page>header span{letter-spacing:.1em;color:#b3282d;font-size:6.5pt;font-weight:800}.mwis-page>header>strong{font-family:Courier New,monospace;font-size:9pt}.mwis-meta{border:.35mm solid #777;grid-template-columns:repeat(4,1fr);margin:2.5mm 0;display:grid}.mwis-meta span{border-bottom:.35mm solid #999;border-right:.35mm solid #999;flex-direction:column;gap:.7mm;padding:1.2mm 1.8mm;display:flex}.mwis-meta span:nth-child(4n){border-right:0}.mwis-meta span:nth-child(n+5){border-bottom:0}.mwis-meta small{text-transform:uppercase;color:#444;font-size:5.5pt;font-weight:700}.mwis-meta strong{overflow-wrap:anywhere;font-size:7.5pt}.mwis-page table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;font-size:7pt}.mwis-page th,.mwis-page td{overflow-wrap:anywhere;text-align:left;vertical-align:top;border:.3mm solid #888;padding:1.2mm 1.3mm}.mwis-page th{text-transform:uppercase;white-space:normal;background:#ededed;height:auto;font-size:5.8pt}.mwis-page td{height:auto}.mwis-page td small{color:#444;margin-top:.5mm;font-size:6pt;display:block}.mwis-page .mwis-num{text-align:right;white-space:nowrap}.mwis-page .mwis-total-row td{background:#f3f3f3;font-weight:800}.mwis-page .mwis-excess-cell{color:#a3230f;font-weight:800}.mwis-page .mwis-banner{border-radius:1.5mm;margin-top:2mm;padding:1.5mm 2.5mm;font-size:7.5pt;font-weight:800}.mwis-page .mwis-banner-ok{color:#1a5c2a;border:.4mm solid #2f7a43}.mwis-page .mwis-banner-excess{color:#a3230f;background:#fbeae6;border:.6mm solid #b3282d}.mwis-page .mwis-banner-wait{color:#555;border:.35mm dashed #999}.mwis-operator-entry{border:.45mm solid #333;margin-top:2.5mm}.mwis-operator-entry>b{letter-spacing:.06em;text-transform:uppercase;background:#ededed;border-bottom:.3mm solid #888;padding:1.2mm 2mm;font-size:6.2pt;font-weight:800;display:block}.mwis-operator-entry>div{grid-template-columns:repeat(3,1fr);display:grid}.mwis-operator-entry>div span{border-right:.3mm solid #888;flex-direction:column;min-height:13mm;padding:1.5mm 2mm;display:flex}.mwis-operator-entry>div span:last-child{border-right:0}.mwis-operator-entry small{text-transform:uppercase;color:#333;font-size:6.2pt;font-weight:800}.mwis-operator-entry i{border-bottom:.4mm solid #555;flex:1;margin:2mm 1mm .8mm;display:block}.mwis-signatures{grid-template-columns:repeat(3,1fr);gap:6mm;margin-top:auto;padding-top:8mm;display:grid}.mwis-signatures span{text-align:center;font-size:7pt;font-weight:700;line-height:1.4;display:block}.mwis-signatures i{border-top:.4mm solid #333;height:0;margin-bottom:1.5mm;display:block}.mwis-page>footer{color:#444;border-top:.35mm solid #777;margin-top:2mm;padding-top:1.5mm;font-size:5.5pt}.mwis-cut{color:#888;letter-spacing:.08em;text-align:center;border-top:.35mm dashed #999;margin-top:3.5mm;padding-top:1.2mm;font-size:5.8pt}.rm-receipt-print-sheet{background:#fff;grid-template-columns:repeat(2,95mm);align-items:start;gap:4mm;width:194mm;position:absolute;inset:0 auto auto 0;display:grid!important}.fgen-tag{break-inside:avoid;color:#111;background:#fff;border:.6mm solid #222;border-radius:2mm;flex-direction:column;min-height:68mm;font-family:Arial,Helvetica,sans-serif;display:flex;overflow:hidden}.fgen-doc{border-bottom:.35mm solid #555;justify-content:space-between;gap:2mm;padding:1.2mm 2.5mm;font-size:5.5pt;font-weight:800;display:flex}.fgen-head{border-bottom:.5mm solid #222;grid-template-columns:14mm 1fr;align-items:center;gap:2.5mm;padding:1.5mm 2.5mm;display:grid}.fgen-head img{object-fit:cover;object-position:center;width:13mm;height:9.5mm}.fgen-head h2{letter-spacing:.02em;margin:0;font-size:10.5pt;line-height:1.05}.fgen-head h2 b{vertical-align:super;font-size:6.5pt;font-weight:800}.fgen-head p{color:#333;margin:.6mm 0 0;font-size:5.3pt}.fgen-title{letter-spacing:.06em;text-align:center;background:#f0f0f0;border-bottom:.35mm solid #555;padding:1.3mm 2.5mm;font-size:8pt;font-weight:800}.fgen-body{flex:1;display:flex}.fgen-fields{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;display:grid}.fgen-fields span{border-bottom:.3mm solid #bbb;border-right:.3mm solid #bbb;flex-direction:column;gap:.5mm;min-width:0;padding:1.3mm 2.2mm;display:flex}.fgen-fields span.wide{border-right:0;grid-column:1/-1}.fgen-fields span:nth-of-type(2n):not(.wide){border-right:0}.fgen-fields small{text-transform:uppercase;color:#444;font-size:5.6pt;font-weight:700}.fgen-fields strong{overflow-wrap:anywhere;font-size:8.5pt;line-height:1.15}.fgen-side{border-left:.35mm solid #777;flex-direction:column;justify-content:flex-start;align-items:center;gap:1mm;width:24mm;padding:1.5mm;display:flex}.fgen-side>span{line-height:0;display:block}.fgen-side svg{width:19mm;height:19mm}.fgen-side small{letter-spacing:.04em;text-align:center;font-size:4.6pt;font-weight:800}.fgen-qc{text-align:center;width:100%;margin-top:auto;padding-top:4mm;font-size:6pt;font-weight:800}.fgen-qc i{border-top:.35mm solid #333;margin:0 1mm 1mm;display:block}.fgen-code{overflow-wrap:anywhere;border-top:.35mm solid #555;padding:1.2mm 2.5mm;font-family:Courier New,monospace;font-size:7.5pt;font-weight:800}.fgen-foot{color:#fff;background:#202020;justify-content:space-between;align-items:center;gap:2mm;padding:1.4mm 2.5mm;font-size:5.5pt;display:flex}.fgen-foot strong{overflow-wrap:anywhere;text-align:right;max-width:60mm;font-size:6pt}.rm-voucher-print-sheet{color:#111;background:#fff;width:194mm;position:absolute;inset:0 auto auto 0;display:block!important}.rm-voucher-pdf-page{break-after:page;border:.4mm solid #333;min-height:275mm;padding:4mm;font-family:Arial,Helvetica,sans-serif}.rm-voucher-pdf-page>header{border-bottom:.6mm solid #222;grid-template-columns:24mm 1fr auto;align-items:center;gap:4mm;padding-bottom:4mm;display:grid}.rm-voucher-pdf-page>header img{object-fit:cover;width:23mm;height:17mm}.rm-voucher-pdf-page>header div{flex-direction:column;gap:.8mm;display:flex}.rm-voucher-pdf-page>header span,.rm-voucher-pdf-page>header small{font-size:7pt;font-weight:700}.rm-voucher-pdf-page>header h2{margin:0;font-size:15pt}.rm-voucher-pdf-page>header>strong{font-family:Courier New,monospace;font-size:9pt}.rm-voucher-pdf-meta{border:.35mm solid #777;grid-template-columns:repeat(4,1fr);margin:4mm 0;display:grid}.rm-voucher-pdf-meta span{border-right:.35mm solid #999;flex-direction:column;gap:1mm;padding:2mm;display:flex}.rm-voucher-pdf-meta span:last-child{border-right:0}.rm-voucher-pdf-meta small{text-transform:uppercase;font-size:6.5pt}.rm-voucher-pdf-meta strong{font-size:8pt}.rm-voucher-pdf-page table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:6.5pt}.rm-voucher-pdf-page th,.rm-voucher-pdf-page td{overflow-wrap:anywhere;text-align:left;vertical-align:top;border:.3mm solid #888;padding:1.7mm 1.3mm}.rm-voucher-pdf-page th{text-transform:uppercase;background:#ededed;font-size:6pt}.rm-voucher-pdf-page td small{color:#444;margin-top:.7mm;display:block}.rm-voucher-pdf-page>footer{border-top:.4mm solid #777;justify-content:space-between;gap:5mm;margin-top:4mm;padding-top:2mm;font-size:6.5pt;display:flex}.rm-voucher-coil-tags{grid-template-columns:repeat(2,95mm);align-items:start;gap:4mm;width:194mm;display:grid}}.rm-location-view-switch{background:#f1f3f5;border:1px solid #dfe2e5;border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px;display:grid}.rm-location-view-switch button{color:#5a636c;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex-direction:column;justify-content:center;gap:2px;min-height:43px;padding:6px 9px;display:flex}.rm-location-view-switch button strong{font-size:8px}.rm-location-view-switch button small{color:var(--muted);font-size:6px}.rm-location-view-switch button.active{color:#20262c;box-shadow:inset 3px 0 var(--rel-red), 0 1px 5px #141c2312;background:#fff;border-color:#ccd3d9}.rm-location-cards button.rejected-rack{background:#fff5f5;border-color:#b53b42 #e3b1b4 #e3b1b4}.rm-location-cards button.rejected-rack span,.rm-location-cards button.rejected-rack strong{color:#8f2e34}.rm-selection-label.rejected{color:#9b3036;background:#fff0f1}.rejected-location-head{background:#fff7f7;border-color:#e6b3b6}.rm-rack-trace-rule{background:#f1f8fc;border:1px solid #b9d3e1;border-left:3px solid #477d9b;border-radius:6px;align-items:center;gap:10px;padding:7px 9px;display:flex}.rm-rack-trace-rule strong{color:#315f79;flex:none;font-size:7px}.rm-rack-trace-rule span{color:#526c7c;font-size:6px;line-height:1.4}.rm-rack-infographic{grid-template-columns:repeat(4,minmax(185px,1fr));gap:7px;display:grid}.rm-rack{background:#f7f8f9;border:1px solid #cfd5da;border-radius:7px;min-width:0;overflow:hidden;box-shadow:0 2px 7px #18222b12}.rm-rack>header{background:#e9edf0;border-bottom:1px solid #d8dde1;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;display:flex}.rm-rack>header>div{flex-direction:column;gap:1px;min-width:0;display:flex}.rm-rack>header span{color:#6b747c;text-transform:uppercase;font-size:5px;font-weight:800}.rm-rack>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.rm-rack>header small{color:#687782;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-rack>header b{color:#365a73;flex:none;font-size:8px}.rm-rack-frame{background:#e4e8eb;border:7px solid #6f7b84;border-width:7px 4px;margin:7px;padding:4px 5px 6px}.rm-rack-shelf{scrollbar-width:thin;background:#fafbfb;border-left:1px solid #a8b0b6;border-right:1px solid #a8b0b6;flex-direction:column;justify-content:flex-start;gap:0;min-height:150px;max-height:255px;display:flex;overflow-y:auto}.rm-rack-shelf>div{background:linear-gradient(90deg,#f9fafb,#eef1f3);border-bottom:4px solid #87929a;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 5px;min-height:36px;padding:4px 5px;display:grid}.rm-rack-shelf>div span{color:#29343d;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px;font-weight:850;overflow:hidden}.rm-rack-shelf>div strong{color:#496579;white-space:nowrap;font-size:6px}.rm-rack-shelf>div small{color:#6b7881;text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:5px;line-height:1.3;overflow:hidden}.rm-rack-shelf>div.traceable-coil{background:linear-gradient(90deg,#f3fbff,#e7f2f7);border-left:3px solid #3a819f;min-height:47px}.rm-rack-shelf>div.traceable-coil span{color:#214f67;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;font-size:5.5px;line-height:1.25;overflow:visible}.rm-rack-shelf>div.traceable-coil strong{color:#245f7c}.rm-rack-shelf>div.opening-rm{border-left:3px solid #909ba3}.rm-rack-shelf>div.opening-rm small{color:#7a6a50}.rm-rack-shelf>p{color:var(--muted);margin:auto;font-size:6px}.rm-rack-shelf>small{color:var(--muted);text-align:center;padding:5px;font-size:5px}.rm-rack>button{color:#4e5c67;cursor:pointer;background:#fff;border:1px solid #cad1d6;border-radius:4px;width:calc(100% - 14px);min-height:25px;margin:0 7px 7px;font-size:6px;font-weight:850}.rm-rack>button:hover{background:#f9fbfc;border-color:#8ea0ad}.topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.table-scroll,.rm-table-wrap,.tool-bom-sticker-grid,.machine-tool-card-grid{contain:paint}.tool-bom-sticker:hover,.machine-tool-card:hover,.inventory-head-selector .stage-node:hover{box-shadow:none;transform:none}.rm-rack.rejected{background:#fff5f5;border-color:#dfafb2}.rm-rack.rejected>header{background:#f7dddd;border-color:#e5b9bb}.rm-rack.rejected>header b,.rm-rack.rejected>header strong{color:#94353a}.rm-rack.rejected .rm-rack-frame{background:#efdfe0;border-color:#91575a}.rm-rack.rejected .rm-rack-shelf>div{background:linear-gradient(90deg,snow,#f8e9ea);border-bottom-color:#b06c70}.rm-rack.rejected .rm-rack-shelf>div strong{color:#9a3e43}.rm-master-simple{padding:8px}.rm-simple-master-grid{grid-template-columns:minmax(220px,1.8fr) minmax(155px,1fr) minmax(105px,.7fr) auto;align-items:end;gap:6px;display:grid}.rm-simple-master-grid label{color:#5a626b;flex-direction:column;gap:3px;min-width:0;font-size:6px;font-weight:850;display:flex}.rm-simple-master-grid input{width:100%;min-width:0;min-height:31px;color:var(--ink);background:#fff;border:1px solid #cbd1d6;border-radius:4px;padding:5px 7px;font-size:8px}.rm-simple-master-grid button{min-height:31px;font-size:7px}.rm-consumption-input small{color:#47705b;order:3;font-size:5px;font-weight:750}.rm-master-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.rm-master-summary article{background:#fff;border:1px solid #d9dfe3;border-top:3px solid #658298;border-radius:6px;min-width:0;padding:7px 9px}.rm-master-summary article.warning{background:#fffaf1;border-top-color:#c78b23}.rm-master-summary article.critical{background:#fff7f7;border-top-color:#b83c43}.rm-master-summary span,.rm-master-summary small{color:#66727b;text-overflow:ellipsis;white-space:nowrap;font-size:6px;display:block;overflow:hidden}.rm-master-summary span{letter-spacing:.04em;text-transform:uppercase;font-weight:850}.rm-master-summary strong{color:#26343e;margin:3px 0 2px;font-size:14px;line-height:1;display:block}.rm-master-summary .warning strong{color:#875a0d}.rm-master-summary .critical strong{color:#9e2e34}.rm-master-controls{background:#f7f9fa;border:1px solid #dfe3e6;border-radius:6px;grid-template-columns:minmax(235px,.75fr) minmax(460px,1.45fr) auto;align-items:center;gap:7px;padding:6px 7px;display:grid}.rm-master-controls>span{color:#5d6871;white-space:nowrap;font-size:7px;font-weight:850}.rm-master-filter-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;display:grid}.rm-master-filter-tabs button{color:#58636d;cursor:pointer;background:#fff;border:1px solid #d1d7dc;border-radius:4px;justify-content:space-between;align-items:center;gap:5px;min-width:0;min-height:27px;padding:4px 6px;font-size:6px;font-weight:800;display:flex}.rm-master-filter-tabs button:hover{background:#f7fafc;border-color:#9eb0bd}.rm-master-filter-tabs button.active{color:#315b74;background:#eaf3f8;border-color:#7d9db2;box-shadow:inset 3px 0 #4d7c99}.rm-master-filter-tabs button strong{color:#46525c;background:#e9edf0;border-radius:9px;place-items:center;min-width:19px;height:17px;padding:0 3px;font-size:5.5px;display:grid}.rm-master-filter-tabs button.active strong{color:#315b74;background:#fff}.rm-master-table-wrap{max-height:610px}.rm-master-table{min-width:840px}.rm-master-table th{color:#465663;background:#e9eef2;height:36px}.rm-master-table th.numeric .rm-sort-button{text-align:right;justify-content:flex-end}.rm-master-table th:nth-child(2) .rm-sort-button span{white-space:normal;line-height:1.25}.rm-master-table th:first-child{width:285px}.rm-master-table th:nth-child(2){width:195px}.rm-master-table th:nth-child(3){width:100px}.rm-master-table th:nth-child(4){width:125px}.rm-master-table th:nth-child(5){width:65px}.rm-master-table tbody tr:nth-child(2n){background:#fafbfc}.rm-master-table tbody tr:hover{background:#eef5f9}.rm-master-table tbody tr.no-stock{box-shadow:inset 3px 0 #ba3e45}.rm-master-table tbody tr.below-minimum{box-shadow:inset 3px 0 #c48b29}.rm-master-table tbody tr.editing{background:#fff7e8;box-shadow:inset 3px 0 #d18413}.rm-master-code{flex-direction:column;gap:3px;min-width:0;display:flex}.rm-master-code strong{color:#1e303c;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.rm-master-code small{color:#6d7a84;text-overflow:ellipsis;white-space:nowrap;font-size:5.5px;overflow:hidden}.rm-consumption-value{flex-direction:column;align-items:flex-end;gap:4px;min-width:0;display:flex}.rm-consumption-value strong{color:#244f68;font-size:8px}.rm-consumption-value>span{background:#e4eaee;border-radius:3px;width:100%;height:4px;overflow:hidden}.rm-consumption-value>span i{border-radius:inherit;background:linear-gradient(90deg,#6d9bb6,#3d708f);height:100%;display:block}.rm-lead-time{color:#4f616e;background:#f4f7f9;border:1px solid #d2dbe1;border-radius:9px;padding:3px 5px;font-size:6px;font-weight:850;display:inline-flex}.rm-master-updated{flex-direction:column;gap:2px;display:flex}.rm-master-updated strong{color:#4d5963;font-size:7px}.rm-master-updated small{color:#7a858e;font-size:5.5px}.rm-master-edit{width:100%;min-height:24px}.tool-inventory-table{min-width:1110px}.tool-inventory-table th:first-child{width:67px}.tool-inventory-table th:nth-child(2){width:89px}.tool-inventory-table th:nth-child(3){width:11px}.tool-inventory-table th:nth-child(4){width:39px}.tool-inventory-table th:nth-child(5){width:44px}.tool-inventory-table th:nth-child(6){width:28px}.tool-inventory-table th:nth-child(7){width:832px}.tool-inventory-table th:nth-child(-n+3),.tool-inventory-table tbody tr:not(.tool-usage-detail)>td:nth-child(-n+3){z-index:4;background:#fff;position:sticky}.tool-inventory-table th:nth-child(-n+3){z-index:7;background:#f0f2f4}.tool-inventory-table th:first-child,.tool-inventory-table tbody tr:not(.tool-usage-detail)>td:first-child{left:0}.tool-inventory-table th:nth-child(2),.tool-inventory-table tbody tr:not(.tool-usage-detail)>td:nth-child(2){left:67px}.tool-inventory-table th:nth-child(3),.tool-inventory-table tbody tr:not(.tool-usage-detail)>td:nth-child(3){left:156px;box-shadow:4px 0 6px -5px #1c2b38b3}.tool-inventory-table .shortage-row>td:nth-child(-n+3){background:#fff8f8}.inventory-description{gap:2px;max-width:100%}.inventory-description-text{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.5em;font-size:7px;line-height:1.25;display:-webkit-box;overflow:hidden}.tool-inventory-table td:nth-child(2){cursor:help}.tool-inventory-description-cell{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.tool-description-edit-button{color:#36556b;cursor:pointer;background:#f7f9fa;border:1px solid #c8d0d6;border-radius:4px;min-height:20px;padding:2px 5px;font-size:5.5px;font-weight:850}.tool-description-edit-button:hover{background:#eef3f6;border-color:#9aaab6}.tool-code-cell{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.tool-code-cell .tool-code{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;max-height:2.4em;line-height:1.2;display:-webkit-box;overflow:hidden}.tool-history-tabs{background:#f5f7f8;border-bottom:1px solid #dfe3e6;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px;display:grid}.tool-history-tabs button{color:#5f6d78;text-align:left;cursor:pointer;background:#fff;border:1px solid #d3d9de;border-radius:5px;flex-direction:column;justify-content:center;gap:2px;min-height:40px;padding:6px 9px;display:flex}.tool-history-tabs button strong{color:#2b3d4b;font-size:7px}.tool-history-tabs button span{font-size:5.5px}.tool-history-tabs button.active{color:#dce5eb;box-shadow:inset 3px 0 var(--rel-red);background:#253a4e;border-color:#8296a6}.tool-history-tabs button.active strong{color:#fff}.tool-master-edit-history-table{table-layout:fixed;width:100%;min-width:1180px}.tool-master-edit-history-table th:first-child,.tool-master-edit-history-table th:nth-child(2),.tool-master-edit-history-table th:nth-child(3){width:125px}.tool-master-edit-history-table th:nth-child(4),.tool-master-edit-history-table th:nth-child(5){width:250px}.tool-master-edit-history-table th:nth-child(6),.tool-master-edit-history-table th:nth-child(7){width:90px}.tool-master-edit-history-table th:nth-child(8){width:125px}.tool-master-edit-history-table td:nth-child(4),.tool-master-edit-history-table td:nth-child(5){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tool-master-edit-history-table .old-code{color:#8a5558;text-decoration:line-through;text-decoration-thickness:1px}.tool-master-edit-form{min-width:min(520px,100vw - 40px)}.tool-edit-impact{color:#496158;background:#f0f8f4;border:1px solid #bdd4c8;border-left:4px solid #3e8064;border-radius:6px;flex-direction:column;gap:4px;padding:9px 10px;display:flex}.tool-edit-impact strong{color:#285c47;font-size:8px}.tool-edit-impact span{font-size:7px;line-height:1.45}.tool-edit-impact small{color:#6e7b75;font-size:6px}.tool-edit-warning{color:#7d641e;background:#fff9ec;border:1px solid #ecd29b;border-radius:5px;align-items:center;gap:6px;padding:7px 9px;font-size:6px;display:flex}.tool-edit-warning strong{font-size:6.5px}.page-logbook-button{color:#344d60;cursor:pointer;background:#fff;border:1px solid #cfd5da;border-radius:5px;align-items:center;gap:4px;min-height:31px;padding:4px 7px;display:flex}.page-logbook-button>span{font-size:11px;line-height:1}.page-logbook-button small{text-transform:uppercase;font-size:5.5px;font-weight:850}.page-logbook-button:hover{background:#f5f8fa;border-color:#9baab5}.modal:has(.page-logbook){width:min(100%,1060px)}.page-logbook{background:#f4f6f7;flex-direction:column;gap:8px;min-height:420px;max-height:calc(100vh - 135px);padding:10px;display:flex}.logbook-purpose{background:#fff;border:1px solid #cdd8df;border-left:4px solid #405e73;border-radius:6px;align-items:center;gap:9px;padding:8px 10px;display:flex}.logbook-purpose>span{color:#385a70;background:#e8eef2;border-radius:5px;flex:0 0 27px;place-items:center;width:27px;height:27px;font-size:13px;display:grid}.logbook-purpose>div{flex-direction:column;gap:2px;display:flex}.logbook-purpose strong{font-size:8px}.logbook-purpose small{color:var(--muted);font-size:6px;line-height:1.4}.logbook-list{gap:6px;padding-right:2px;display:grid;overflow:auto}.logbook-entry{background:#fff;border:1px solid #d9dee2;border-radius:6px;padding:8px 9px}.logbook-entry.reversed{background:snow;border-color:#ddc9ca}.logbook-entry>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.logbook-entry>header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.logbook-entry>header strong{font-size:8px}.activity-code{color:#7a8790;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:5.5px}.activity-status{color:#2e7157;text-transform:uppercase;background:#eaf5ef;border-radius:999px;flex:none;padding:3px 5px;font-size:5.5px;font-weight:900}.activity-status.reversed{color:#8b4146;background:#f5e7e8}.activity-status.corrected{color:#8a5c13;background:#fff1d9}.logbook-entry.corrected{background:#fffdf8;border-color:#e5cfaa}.logbook-entry>p{color:#263845;margin:5px 0 6px;font-size:7px;font-weight:750}.activity-meta{color:#64717b;flex-wrap:wrap;gap:5px 12px;font-size:6px;display:flex}.activity-meta span{gap:4px;display:flex}.activity-meta strong{color:#354a5a;text-transform:uppercase;font-size:5.5px}.logbook-entry details{border-top:1px dashed #d8dde1;margin-top:6px;padding-top:5px}.logbook-entry summary{color:#566c7c;cursor:pointer;font-size:6px;font-weight:800}.logbook-entry pre{color:#3f4b54;white-space:pre-wrap;background:#f2f4f6;border-radius:4px;max-height:140px;margin:5px 0 0;padding:6px;font-size:5.5px;overflow:auto}.logbook-entry>footer{justify-content:flex-end;gap:5px;margin-top:6px;display:flex}.reverse-action{color:#9b3036!important;border-color:#e1b3b6!important}.pdf-action{margin-right:auto;color:#315f79!important;background:#f1f8fc!important;border-color:#acc7d7!important}.activity-reversal{color:#854046;background:#f8eaeb;border-radius:4px;flex-direction:column;gap:2px;margin-top:6px;padding:5px 7px;font-size:6px;display:flex}.logbook-reverse-confirmation{background:#fff;border:1px solid #d6a6a9;border-radius:7px;grid-template-columns:minmax(220px,1fr) minmax(240px,1.2fr);align-items:end;gap:8px;padding:9px;display:grid;position:sticky;bottom:0;box-shadow:0 -5px 16px #222a311f}.logbook-reverse-confirmation>div:first-child{flex-direction:column;gap:3px;display:flex}.logbook-reverse-confirmation>div:first-child strong{font-size:7px}.logbook-reverse-confirmation>div:first-child small{color:var(--muted);font-size:6px;line-height:1.4}.logbook-reverse-confirmation .form-actions{grid-column:1/-1;padding-top:0}.danger-button{color:#fff;cursor:pointer;background:#b8393f;border:1px solid #a8343a;border-radius:5px;min-height:31px;padding:5px 10px;font-size:7px;font-weight:850}.danger-button:disabled{opacity:.45;cursor:not-allowed}:is(.modal:has(.rm-voucher-preview),.modal:has(.rm-voucher-correction)){width:min(100%,1180px)}.rm-voucher-preview{background:#f4f6f7;flex-direction:column;gap:9px;max-height:calc(100vh - 150px);padding:10px;display:flex}.rm-voucher-preview-head{background:#fff;border:1px solid #cad6de;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.rm-voucher-preview-head>div{flex-direction:column;gap:3px;min-width:0;display:flex}.rm-voucher-preview-head strong{font-size:10px}.rm-voucher-preview-head span{color:var(--muted);font-size:7px}.rm-voucher-preview-table{background:#fff;border:1px solid #d7dde1;border-radius:6px;overflow:auto}.rm-voucher-preview-table table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:790px}.rm-voucher-preview-table th,.rm-voucher-preview-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #e6e9eb;padding:6px 7px;font-size:7px}.rm-voucher-preview-table th{color:#536674;text-transform:uppercase;background:#eef2f4;font-size:6px;position:sticky;top:0}.rm-voucher-preview-table td small{color:var(--muted);margin-top:2px;font-size:6px;display:block}.rm-pdf-storage-note{color:#5b6d78;font-size:6.5px;line-height:1.45}.rm-voucher-correction{background:#f4f6f7;flex-direction:column;gap:8px;max-height:calc(100vh - 135px);padding:10px;display:flex}.rm-voucher-correction-rule{background:#f2f9f5;border:1px solid #b8d2c5;border-left:4px solid #3f8063;border-radius:6px;flex-direction:column;gap:3px;padding:8px 10px;display:flex}.rm-voucher-correction-rule strong{color:#285f48;font-size:8px}.rm-voucher-correction-rule span{color:#526a5e;font-size:6.5px;line-height:1.45}.rm-voucher-edit-table{background:#fff;border:1px solid #d6dce0;border-radius:6px;overflow:auto}.rm-voucher-edit-table table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:1120px}.rm-voucher-edit-table th,.rm-voucher-edit-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e7eaec;padding:4px 5px}.rm-voucher-edit-table th{z-index:1;color:#5b6973;text-transform:uppercase;background:#edf1f3;font-size:6px;position:sticky;top:0}.rm-voucher-edit-table th:first-child{width:205px}.rm-voucher-edit-table th:nth-child(2){width:110px}.rm-voucher-edit-table th:nth-child(3){width:90px}.rm-voucher-edit-table th:nth-child(4),.rm-voucher-edit-table th:nth-child(5),.rm-voucher-edit-table th:nth-child(6){width:155px}.rm-voucher-edit-table th:nth-child(7){width:190px}.rm-voucher-edit-table td{font-size:7px}.rm-voucher-edit-table td>strong,.rm-voucher-edit-table td>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rm-voucher-edit-table td>small{color:var(--muted);margin-top:2px;font-size:5.5px}.rm-voucher-edit-table input{border:1px solid #ccd4d9;border-radius:4px;width:100%;min-width:0;min-height:25px;margin-bottom:3px;padding:3px 5px;font-size:6.5px}@media (width<=760px){.page-logbook-button small{display:none}.logbook-reverse-confirmation{grid-template-columns:1fr}.logbook-reverse-confirmation .form-actions{grid-column:auto}}.rm-sort-help{color:#64717b;background:#f6f8f9;border:1px solid #dce2e6;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;font-size:6px;display:flex}.rm-sort-help strong{color:#263b4b;font-size:7px}.rm-sort-help button{color:#425c70;cursor:pointer;background:#fff;border:1px solid #cfd6db;border-radius:4px;min-height:22px;padding:3px 6px;font-size:6px;font-weight:850}.rm-table.availability{min-width:1210px}.rm-table.availability th:first-child{width:310px}.rm-table.availability th:nth-child(2),.rm-table.availability th:nth-child(3),.rm-table.availability th:nth-child(4),.rm-table.availability th:nth-child(5),.rm-table.availability th:nth-child(6){width:105px}.rm-table.availability th:nth-child(7){width:110px}.rm-table.availability th:nth-child(8){width:245px}.rm-sort-button{width:100%;min-height:20px;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-transform:uppercase;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:5px;padding:0;font-weight:850;display:flex}.rm-table.availability th.numeric .rm-sort-button{text-align:right;justify-content:flex-end}.rm-sort-button i{color:#8a949d;flex:none;font-size:6px;font-style:normal}.rm-sort-button.active{color:#263f53}.rm-sort-button.active i{color:var(--rel-red)}.rm-header-filters th{background:#f8fafb;height:31px;padding:3px 4px;top:29px}.rm-header-filters input,.rm-header-filters select{color:#3e4851;letter-spacing:normal;text-align:left;text-transform:none;background:#fff;border:1px solid #cfd6db;border-radius:3px;outline:0;width:100%;min-width:0;min-height:23px;padding:3px 4px;font-size:6px;font-weight:700}.rm-header-filters input:focus,.rm-header-filters select:focus{border-color:#bd555a;box-shadow:0 0 0 2px #bd343b14}.rm-table.availability td{height:46px}.rm-material-primary{cursor:help}.rm-table .rm-material-primary>strong{color:#1f2c36;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.5em;font-size:10px;line-height:1.22;display:-webkit-box;overflow:hidden}.rm-table .rm-material-primary>small{color:#687681;margin-top:3px;font-size:6px}.rm-material-primary small b{color:#415969;letter-spacing:.05em;font-size:5px}.inventory-head-selector .stage-node-rm{background:#f1f8fc;border-color:#a9c7d8}.inventory-head-selector .stage-node-rm>span{color:#fff;background:#416f8c}.before-forging-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.before-forging-kpis article:first-child{background:#f5fafc;border-top-color:#416f8c}.before-forging-panel{border-color:#c7d8e2;overflow:hidden}.before-forging-rm-table{table-layout:fixed;width:100%;min-width:1260px}.before-forging-rm-table th:first-child{width:190px}.before-forging-rm-table th:nth-child(2){width:250px}.before-forging-rm-table th:nth-child(3){width:110px}.before-forging-rm-table th:nth-child(4){width:100px}.before-forging-rm-table td{vertical-align:middle;height:48px;padding:4px 5px}.before-forging-rm-name{cursor:help}.before-forging-rm-name strong{color:#1e303c;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.5em;font-size:9px;line-height:1.2;display:-webkit-box;overflow:hidden}.before-forging-rm-name small{color:#647783;margin-top:2px;font-size:6px}.before-forging-plan-parts{flex-wrap:wrap;gap:3px;display:flex}.before-forging-plan-parts span{background:#f5fafc;border:1px solid #cddce4;border-radius:3px;flex-direction:column;gap:1px;max-width:170px;padding:2px 4px;display:flex}.before-forging-plan-parts span.legacy-allocation{color:#8e3036;background:#fff5f5;border-color:#e3b4b7}.before-forging-plan-parts strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px}.before-forging-plan-parts small,.before-forging-plan-parts em{color:#64727c;font-size:5px;font-style:normal}.rm-table .legacy-allocation{color:#77818a;font-size:6px;font-weight:750}.rm-return-input,.rm-return-rack{width:100%;min-height:26px;color:var(--ink);background:#fff;border:1px solid #cbd3d9;border-radius:3px;padding:3px 4px;font-size:7px}.rm-return-button{white-space:normal;width:100%;min-height:27px}.rm-return-button:disabled{cursor:not-allowed;opacity:.45}.rm-master-table td:first-child strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}@media (width<=1200px){.rm-batch-entry .rm-entry-types{grid-template-columns:repeat(4,minmax(105px,1fr))}.rm-rack-infographic{grid-template-columns:repeat(3,minmax(180px,1fr))}.rm-receipt-wire-lines{grid-template-columns:1fr}}@media (width<=800px){.rm-location-view-switch,.rm-simple-master-grid{grid-template-columns:1fr 1fr}.rm-master-purpose{grid-template-columns:1fr}.rm-master-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-master-controls{grid-template-columns:1fr}.rm-rack-infographic{grid-template-columns:repeat(2,minmax(165px,1fr))}}@media (width<=560px){.rm-batch-entry .rm-entry-types,.rm-location-view-switch,.rm-simple-master-grid,.rm-rack-infographic{grid-template-columns:1fr}.rm-master-summary,.rm-master-filter-tabs{grid-template-columns:1fr 1fr}.rm-batch-actions{flex-direction:column;align-items:stretch}.rm-batch-actions>span{margin-left:0}.rm-receipt-invoice-head,.rm-receipt-wire-setup{grid-template-columns:1fr}}.inventory-head-selector .stage-flow{grid-template-columns:repeat(5,minmax(0,1fr));gap:5.6px;padding:6.4px}.inventory-head-selector .stage-node{border-radius:7.2px;grid-template-columns:24px minmax(0,1fr);gap:6.4px;min-height:59.2px;padding:7.2px}.inventory-head-selector .stage-node>span{width:24px;height:24px;font-size:5.6px}.inventory-head-selector .stage-node-all>span{font-size:4.8px}.inventory-head-selector .stage-node strong{font-size:8px}.inventory-head-selector .stage-node small{gap:1.6px 6.4px;margin-top:2.4px}.inventory-head-selector .stage-node small b{font-size:7.2px}.inventory-head-selector .stage-node small em{font-size:5.6px}@media (width<=1180px){.inventory-head-selector .stage-flow{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=760px){.inventory-head-selector .stage-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}.rm-coil-traceability{background:#fff;border:1px solid #b7cec0;border-radius:6px;margin:7px 0;overflow:hidden}.rm-coil-traceability>summary{cursor:pointer;background:linear-gradient(90deg,#edf7f1,#f8fbf9);justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:7px 10px;list-style:none;display:flex}.rm-coil-traceability>summary::-webkit-details-marker{display:none}.rm-coil-traceability>summary span{grid-template-columns:25px auto;align-items:center;column-gap:7px;min-width:0;display:grid}.rm-coil-traceability>summary i{color:#28714d;text-align:center;grid-row:1/3;font-size:18px;font-style:normal}.rm-coil-traceability>summary b{color:#1d4f37;font-size:10px}.rm-coil-traceability>summary small{color:#5d7065;font-size:7px;font-weight:650}.rm-coil-traceability>summary>strong{color:#204f38;flex:none;font-size:9px}.rm-coil-traceability[open]>summary{border-bottom:1px solid #d3e1d9}.rm-coil-trace-body{padding:7px}.rm-coil-trace-table{table-layout:fixed;min-width:1100px}.rm-coil-trace-table th:first-child{width:235px}.rm-coil-trace-table th:nth-child(2){width:170px}.rm-coil-trace-table th:nth-child(3){width:100px}.rm-coil-trace-table th:nth-child(4),.rm-coil-trace-table th:nth-child(5){width:145px}.rm-coil-trace-table th:nth-child(6),.rm-coil-trace-table th:nth-child(7){width:88px}.rm-coil-trace-table th:nth-child(8){width:70px}.rm-coil-trace-table td{vertical-align:middle}.rm-coil-trace-table td small,.rm-coil-history td small{color:#6d7872;margin-top:2px;font-size:6px;display:block}.rm-coil-trace-table tr.selected td{background:#f0f8f3}.rm-coil-code-cell{color:#245c40;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;display:block;overflow:hidden}.location-chip.machine{color:#245d9b;background:#e9f2ff}.rm-coil-history{background:#fbfcfb;border:1px solid #d7dfdb;border-radius:5px;margin-top:7px}.rm-coil-history>header{border-bottom:1px solid #e2e7e4;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;display:flex}.rm-coil-history h4{color:#1f5138;margin:1px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.rm-coil-history>header>strong{color:#56655d;font-size:7px}.rm-trace-direction{border-radius:3px;justify-content:center;min-width:28px;padding:2px 4px;font-size:6px;font-weight:900;display:inline-flex}.rm-trace-direction.in{color:#247044;background:#e4f5e9}.rm-trace-direction.out{color:#a63838;background:#fde9e9}.rm-line-coil{min-width:170px}.rm-line-coil input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6.5px!important}.before-forging-rm-table{min-width:1460px}.before-forging-rm-table th:nth-child(5){width:235px}.before-forging-rm-table th:nth-child(6){width:85px}.before-forging-rm-table th:nth-child(7){width:105px}.before-forging-rm-table th:nth-child(8){width:100px}.before-forging-rm-table th:nth-child(9){width:75px}.before-forging-rm-table th:nth-child(10){width:105px}.before-forging-rm-table th:nth-child(11){width:140px}.rm-return-coil{text-overflow:ellipsis;background:#fff;border:1px solid #cbd3d9;border-radius:3px;width:100%;min-height:26px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px;overflow:hidden}.rm-table.availability.stock-details-table{min-width:1445px}.rm-table.availability.stock-details-table th:first-child{width:265px}.rm-table.availability.stock-details-table th:nth-child(2){width:145px}.rm-table.availability.stock-details-table th:nth-child(3){width:110px}.rm-table.availability.stock-details-table th:nth-child(4){width:185px}.rm-table.availability.stock-details-table th:nth-child(5),.rm-table.availability.stock-details-table th:nth-child(6),.rm-table.availability.stock-details-table th:nth-child(7){width:100px}.rm-table.availability.stock-details-table th:nth-child(8){width:135px}.rm-table.availability.stock-details-table th:nth-child(9){width:120px}.rm-table.availability.stock-details-table th:nth-child(10){width:185px}.rm-stock-minimum-editor{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px;display:grid}.rm-stock-minimum-editor input{color:#23333f;text-align:right;background:#fff;border:1px solid #c8d0d6;border-radius:4px;width:100%;min-width:0;min-height:25px;padding:3px 4px;font-size:7px;font-weight:800}.rm-stock-minimum-editor button{color:#255f46;cursor:pointer;background:#edf8f2;border:1px solid #7ea58f;border-radius:4px;min-height:25px;padding:3px 5px;font-size:6px;font-weight:850}.rm-stock-minimum-editor button:disabled{cursor:wait;opacity:.55}.rm-stock-minimum-editor small{color:#708078;text-align:right;grid-column:1/-1;font-size:5.5px}.inline-tool-master-create{background:#fffaf0;border:1px solid #d7b061;border-left:3px solid #c98612;border-radius:6px;grid-template-columns:minmax(185px,.8fr) minmax(145px,.65fr) minmax(240px,1.1fr) auto;align-items:end;gap:6px;padding:7px;display:grid}.inline-tool-master-copy,.inline-tool-master-create label{flex-direction:column;gap:2px;min-width:0;display:flex}.inline-tool-master-copy span,.inline-tool-master-create label>span{color:#806018;letter-spacing:.04em;text-transform:uppercase;font-size:6px;font-weight:900}.inline-tool-master-copy strong{color:#4c3c18;font-size:8px}.inline-tool-master-copy small{color:#756a52;font-size:6px;line-height:1.3}.inline-tool-master-create input{width:100%;min-width:0;min-height:28px;color:var(--ink);background:#fff;border:1px solid #d7c69d;border-radius:4px;padding:4px 6px;font-size:7px}.inline-tool-master-actions{gap:4px;display:flex}.inline-tool-master-actions button{white-space:nowrap}.inline-create-tool-button{color:#7d580f;cursor:pointer;background:#fff8e7;border:1px solid #d3aa57;border-radius:3px;align-self:flex-start;margin-top:3px;padding:2px 4px;font-size:6px;font-weight:850}.inline-create-tool-button:hover{background:#fff2cc;border-color:#b5790e}.inline-new-tool-launch{color:#73500f;background:#fff7e7;border-color:#c69436}@media (width>=1000px){.content .table-scroll,.content .inventory-table-scroll,.content .rm-table-wrap,.modal .tool-bom-entry-table-wrap,.modal .rm-voucher-preview-table,.modal .rm-voucher-edit-table{overflow-x:hidden}.content .tool-inventory-scroll{overflow-x:auto}.content .table-scroll>table,.content .inventory-table-scroll>table,.content .rm-table-wrap>table,.modal .tool-bom-entry-table-wrap>table,.modal .rm-voucher-preview-table>table,.modal .rm-voucher-edit-table>table{table-layout:fixed!important;width:100%!important;min-width:0!important}.content .tool-inventory-scroll>.tool-inventory-table{width:1390px!important;min-width:1390px!important}.content .table-scroll>table th,.content .inventory-table-scroll>table th,.content .rm-table-wrap>table th,.modal .tool-bom-entry-table-wrap>table th,.modal .rm-voucher-preview-table>table th,.modal .rm-voucher-edit-table>table th{overflow-wrap:anywhere;white-space:normal;max-width:none;padding-left:3px;padding-right:3px;width:auto!important}.content .table-scroll>table td,.content .inventory-table-scroll>table td,.content .rm-table-wrap>table td,.modal .tool-bom-entry-table-wrap>table td,.modal .rm-voucher-preview-table>table td,.modal .rm-voucher-edit-table>table td{overflow-wrap:anywhere;min-width:0;padding-left:3px;padding-right:3px;overflow:hidden}.content .tool-inventory-scroll>.tool-inventory-table th:first-child{width:67px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(2){width:89px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(3){width:11px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(4){width:55px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(5){width:65px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(6){width:45px!important}.content .tool-inventory-scroll>.tool-inventory-table th:nth-child(7){width:1058px!important}.tool-inventory-table .tool-movement-split{grid-template-columns:340px 260px;justify-content:start}.tool-inventory-table .tool-inward-source-grid{grid-template-columns:92px 58px 94px 64px}.tool-inventory-table .tool-movement-outward-fields{grid-template-columns:40px 140px 58px}.tool-inventory-table .tool-movement-outward-fields.has-custom-reason{grid-template-columns:40px 88px 68px 58px}.production-records-table th,.production-records-table td,.batch-production-table th,.batch-production-table td{font-size:5.5px}.tool-bom-entry-table th:first-child{width:3.5%!important}.tool-bom-entry-table th:nth-child(2){width:10%!important}.tool-bom-entry-table th:nth-child(3){width:18%!important}.tool-bom-entry-table th:nth-child(4){width:27%!important}.tool-bom-entry-table th:nth-child(5){width:11%!important}.tool-bom-entry-table th:nth-child(6){width:10%!important}.tool-bom-entry-table th:nth-child(7){width:8%!important}.tool-bom-entry-table th:nth-child(8){width:3.5%!important}}@media (width<=999px){.inline-tool-master-create{grid-template-columns:1fr 1fr}.inline-tool-master-copy{grid-column:1/-1}}@media (width<=620px){.inline-tool-master-create{grid-template-columns:1fr}.inline-tool-master-copy{grid-column:auto}.inline-tool-master-actions{justify-content:flex-end}}.rm-deviation-badge{color:#805100;letter-spacing:.02em;white-space:nowrap;background:#fff4d9;border:1px solid #d8a743;border-radius:999px;align-items:center;width:fit-content;padding:2px 5px;font-size:5.8px;font-weight:900;display:inline-flex}.plan-rm-deviation-editor{background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid #dfbb65;border-radius:7px;gap:8px;padding:10px;display:grid}.plan-rm-deviation-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.plan-rm-deviation-head>div{gap:2px;display:grid}.plan-rm-deviation-head span{color:#8b630d;text-transform:uppercase;font-size:6px;font-weight:900}.plan-rm-deviation-head strong{color:#5d430d;font-size:10px}.plan-rm-deviation-head small{color:#766b55;font-size:6.5px}.plan-rm-deviation-head>span{background:#f5e3b7;border-radius:4px;flex:none;padding:4px 7px}.plan-rm-deviation-list{gap:4px;display:grid}.plan-rm-deviation-list article{background:#fff;border:1px solid #ead9b3;border-radius:5px;grid-template-columns:minmax(0,1fr) 130px auto;align-items:center;gap:8px;padding:6px;display:grid}.plan-rm-deviation-list article>div{gap:2px;min-width:0;display:grid}.plan-rm-deviation-list article strong{color:#4b3b18;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;overflow:hidden}.plan-rm-deviation-list article small,.plan-rm-deviation-list article span{color:#786b50;font-size:5.8px}.plan-rm-deviation-fields{grid-template-columns:minmax(220px,1.5fr) minmax(170px,1fr) auto;align-items:end;gap:7px;display:grid}.plan-rm-deviation-fields .primary-button{min-height:32px}.plan-rm-deviation-flow{color:#6c5c37;align-items:center;gap:5px;font-size:6px;font-weight:800;display:flex}.plan-rm-deviation-flow span{background:#f5ead0;border-radius:3px;padding:3px 5px}.rm-approved-route-picker{grid-column:span 2}.rm-approved-route-picker>div{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:4px;display:grid!important}.rm-approved-route-picker button{color:#31414d;text-align:left;background:#fff;border:1px solid #cbd4da;border-radius:5px;gap:1px;min-width:0;padding:5px 6px;display:grid}.rm-approved-route-picker button.active{background:#edf8f1;border-color:#357c58;box-shadow:inset 0 0 0 1px #357c58}.rm-approved-route-picker button.deviated{background:#fff9ed;border-color:#dfb65d}.rm-approved-route-picker button.deviated.active{background:#fff1ce;border-color:#b77800;box-shadow:inset 0 0 0 1px #b77800}.rm-approved-route-picker button strong{text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.rm-approved-route-picker button small{color:#68756e;font-size:5.5px}.rm-approved-route-picker button b{color:#255c42;font-size:6px}.rm-batch-line.rm-machine-issue-line{background:linear-gradient(135deg,#fbfefc 0%,#f3f9f6 100%);border-color:#b9cdc2 #b9cdc2 #b9cdc2 #287555;border-left-style:solid;border-left-width:4px;grid-template-columns:22px minmax(145px,.85fr) minmax(180px,1fr) minmax(190px,1.1fr) minmax(165px,.95fr) minmax(118px,.65fr) 24px;align-items:end;gap:4px;padding:5px;display:grid;box-shadow:0 1px 5px #225b420f}.rm-machine-issue-line>.rm-line-number{color:#fff;background:#287555;grid-area:1/1;align-self:end}.rm-machine-issue-line>.rm-line-finished-part{grid-area:1/2;min-width:0}.rm-machine-issue-line>.rm-open-plan-picker{grid-area:1/3;min-width:0}.rm-machine-issue-line>.rm-approved-route-picker{grid-area:1/4;min-width:0}.rm-machine-issue-line>.rm-machine-required{grid-area:1/5;min-width:0}.rm-machine-issue-line>.rm-machine-assignment{grid-area:1/6;min-width:0!important}.rm-machine-issue-line>.rm-line-clear{grid-area:1/7}.rm-machine-issue-line .rm-open-plan-picker>div,.rm-machine-issue-line .rm-approved-route-picker>div{gap:3px;min-height:27px;max-height:30px;overflow:auto hidden;display:flex!important}.rm-machine-issue-line .rm-open-plan-picker>div>button,.rm-machine-issue-line .rm-approved-route-picker>div>button{min-width:104px;height:27px;padding:2px 4px}.rm-machine-issue-line .rm-approved-route-picker>div>button{grid-template-columns:minmax(0,1fr) auto;align-items:center}.rm-machine-issue-line .rm-approved-route-picker>div>button small{display:none}.rm-machine-issue-line .rm-approved-route-picker>div>button b{white-space:nowrap}.rm-machine-required{background:#eef8f2;border:1px solid #a9c6b6;border-radius:4px;flex-direction:column;justify-content:center;gap:1px;min-width:0;min-height:27px;padding:3px 5px;display:flex}.rm-machine-required>span{color:#567064;letter-spacing:.04em;text-transform:uppercase;font-size:5px;font-weight:900}.rm-machine-required>strong{color:#174f37;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.rm-machine-required>small{color:#577065;font-size:5.5px}.rm-machine-required.deviated{background:#fff7e7;border-color:#d7ae55}.rm-machine-required.deviated>strong{color:#805400}.rm-machine-assignment{flex:none!important;min-width:0!important}.rm-machine-assignment input{font-weight:900;color:#24536c!important;background:#eef5f9!important;border-color:#a7bdcb!important}.rm-machine-issue-coils{background:#fff;border:1px solid #9ebcac;border-radius:5px;grid-area:2/1/auto/-1;grid-template-columns:minmax(130px,.58fr) minmax(0,3.2fr) minmax(145px,.72fr);width:100%;display:grid;overflow:hidden}.rm-machine-issue-coils>header{background:#eaf5ef;border-right:1px solid #cfe0d7;align-items:center;gap:5px;padding:4px 5px;display:flex}.rm-machine-issue-coils>header>div{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.rm-machine-issue-coils>header span{color:#527064;letter-spacing:.05em;text-transform:uppercase;font-size:5px;font-weight:900}.rm-machine-issue-coils>header strong{color:#174f37;font-size:7px}.rm-machine-issue-coils>header small{display:none}.rm-machine-issue-coils>header b{color:#246544;white-space:nowrap;background:#fff;border:1px solid #9bc1ad;border-radius:4px;padding:3px 4px;font-size:6px}.rm-machine-issue-coil-list{background:#f7faf8;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:3px;padding:3px;display:grid}.rm-machine-issue-coil-list article{background:#fff;border:1px solid #d1ddd7;border-radius:4px;grid-template-columns:16px minmax(105px,1.7fr) minmax(62px,.62fr) minmax(55px,.68fr) 16px;align-items:end;gap:3px;min-width:0;padding:3px;display:grid;position:relative}.rm-machine-issue-coil-list article.selected{background:#f7fcf9;border-color:#66a27f;box-shadow:inset 0 0 0 1px #66a27f}.rm-machine-issue-coil-list article>i{color:#426354;background:#dfeae4;border-radius:50%;align-self:center;place-items:center;width:15px;height:15px;font-size:6px;font-style:normal;font-weight:950;display:grid}.rm-machine-issue-coil-list label,.rm-machine-coil-meta{flex-direction:column;gap:1px;min-width:0;display:flex}.rm-machine-issue-coil-list label>span,.rm-machine-coil-meta>span{color:#68776f;text-transform:uppercase;font-size:5px;font-weight:900}.rm-machine-issue-coil-list select,.rm-machine-issue-coil-list input{background:#fff;border:1px solid #b9c9c1;border-radius:3px;width:100%;min-width:0;min-height:24px;padding:2px 3px;font-size:6px}.rm-machine-issue-coil-list select{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.rm-machine-issue-coil-list label small,.rm-machine-coil-meta small{color:#687970;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.rm-machine-issue-qty input{text-align:right;font-weight:900;font-size:8px!important}.rm-machine-coil-meta{background:#f3f7f5;border:1px solid #d3ddd8;border-radius:3px;justify-content:center;min-height:24px;padding:2px 3px}.rm-machine-coil-meta strong{color:#315b47;font-size:7px}.rm-machine-issue-coil-list article>button{color:#a63232;background:#fff1f1;border:1px solid #e0b7b7;border-radius:50%;align-self:center;width:16px;height:16px;font-size:9px}.rm-machine-issue-coils>footer{background:#fff;border-left:1px solid #d7e2dc;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:3px 5px;display:flex}.rm-machine-issue-coils>footer span{color:#315b47;text-align:center;font-size:6px;font-weight:850}.rm-machine-issue-coils>footer button{color:#276346;background:#edf7f1;border:1px solid #8eb4a0;border-radius:4px;min-height:24px;padding:3px 6px;font-size:6px;font-weight:900}.rm-machine-issue-coils>footer button:disabled{cursor:not-allowed;opacity:.45}@media (width<=1280px){.rm-batch-line.rm-machine-issue-line{grid-template-columns:22px minmax(135px,.9fr) minmax(155px,1fr) minmax(155px,1fr) 24px;overflow:visible}.rm-machine-issue-line>.rm-line-number{grid-area:1/1}.rm-machine-issue-line>.rm-line-finished-part{grid-area:1/2}.rm-machine-issue-line>.rm-open-plan-picker{grid-area:1/3}.rm-machine-issue-line>.rm-approved-route-picker{grid-area:1/4}.rm-machine-issue-line>.rm-line-clear{grid-area:1/5}.rm-machine-issue-line>.rm-machine-required{grid-area:2/2/auto/span 2}.rm-machine-issue-line>.rm-machine-assignment{grid-area:2/4}.rm-machine-issue-coils{grid-area:3/1/auto/-1;grid-template-columns:minmax(110px,.5fr) minmax(0,3fr) minmax(130px,.65fr);min-width:0}}@media (width<=700px){.rm-entry-submit-strip{grid-template-columns:1fr 1fr}.rm-entry-submit-strip>.validated-action{grid-column:1/-1;justify-self:stretch;max-width:none}.rm-batch-line.rm-machine-issue-line{grid-template-columns:22px minmax(145px,1fr) minmax(145px,1fr) 24px}.rm-machine-issue-line>.rm-line-finished-part{grid-column:2}.rm-machine-issue-line>.rm-open-plan-picker{grid-column:3}.rm-machine-issue-line>.rm-approved-route-picker{grid-area:2/2/auto/span 2}.rm-machine-issue-line>.rm-machine-required{grid-area:3/2}.rm-machine-issue-line>.rm-machine-assignment{grid-area:3/3}.rm-machine-issue-line>.rm-line-clear{grid-column:4}.rm-machine-issue-coils{grid-row:4;grid-template-columns:1fr}.rm-machine-issue-coils>header,.rm-machine-issue-coils>footer{border:0;border-bottom:1px solid #d7e2dc}.rm-machine-issue-coil-list{grid-template-columns:1fr}}.rm-deviation-note{color:#8a5b00!important;font-weight:900!important}.deviated-wire{color:#8a5b00!important}.rm-batch-entry{gap:9px}.rm-batch-entry .rm-entry-types{grid-template-columns:repeat(4,minmax(170px,1fr));gap:6px}.rm-batch-entry .rm-entry-types button{border-radius:8px;grid-template-columns:32px minmax(0,1fr);gap:8px;min-height:62px;padding:17px 9px 8px;transition:border-color .14s,box-shadow .14s,transform .14s;box-shadow:0 1px 2px #19252f0a}.rm-batch-entry .rm-entry-types button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #19252f14}.rm-batch-entry .rm-entry-types button.active{box-shadow:0 4px 13px #1e313d1a}.rm-batch-entry .rm-entry-types i{border-radius:7px;width:29px;height:29px;font-size:13px}.rm-batch-entry .rm-entry-types strong{letter-spacing:.01em;font-size:9px}.rm-batch-entry .rm-entry-types small{color:#66727b;margin-top:3px;font-size:6.5px}.rm-batch-entry .rm-stock-effect{padding:2px 5px;font-size:5.5px;top:5px;right:6px}.rm-batch-form{border-color:#cfd6db;border-radius:9px;overflow:hidden;box-shadow:0 3px 14px #1d2d380f}.rm-entry-submit-strip{background:linear-gradient(90deg,#edf3f6 0%,#f9fbfc 48%,#fff 100%);border-bottom-color:#cbd5db;grid-template-columns:minmax(150px,.5fr) minmax(230px,1fr) minmax(240px,auto);padding:9px 11px}.rm-entry-submit-strip>div>span,.rm-entry-submit-strip>p>small{font-size:6.5px}.rm-entry-submit-strip>p strong{color:#273b49;font-size:9px}.rm-entry-submit-strip input{border-color:#aebdc7;min-height:31px;font-size:8px}.rm-entry-submit-strip .rm-top-submit{border-radius:6px;min-height:34px;font-size:8px}.rm-entry-workflow-head{background:#fff;grid-template-columns:minmax(280px,1fr) minmax(390px,1.15fr);border-bottom:1px solid #dde3e7!important;align-items:center!important;gap:16px!important;padding:10px 11px!important;display:grid!important}.rm-entry-workflow-head>div{min-width:0}.rm-entry-workflow-head h3{color:#243a48;font-size:12px!important}.rm-entry-workflow-head>div>small{max-width:720px;line-height:1.45;color:#536774!important;font-size:6.8px!important}.rm-entry-workflow-head ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.rm-entry-workflow-head li{background:#f5f8fa;border:1px solid #d5dee4;border-radius:5px;grid-template-columns:21px minmax(0,1fr);align-items:center;gap:5px;min-height:34px;padding:4px 6px;display:grid}.rm-entry-workflow-head li b{color:#fff;background:#486a80;border-radius:50%;place-items:center;width:20px;height:20px;font-size:6px;display:grid}.rm-entry-workflow-head li span{color:#40535f;font-size:6.5px;font-weight:850;line-height:1.25}.rm-entry-mode-purchase-receipt .rm-entry-workflow-head li b,.rm-entry-mode-machine-return .rm-entry-workflow-head li b,.rm-entry-mode-rejected-in .rm-entry-workflow-head li b{background:#287555}.rm-entry-mode-machine-issue .rm-entry-workflow-head li b,.rm-entry-mode-rejection-transfer .rm-entry-workflow-head li b,.rm-entry-mode-rejected-out .rm-entry-workflow-head li b{background:#a5363d}.rm-entry-mode-physical-correction .rm-entry-workflow-head li b{background:#8b681f}.rm-allocation-rule{padding:7px 11px}.rm-allocation-rule strong{font-size:7.5px}.rm-allocation-rule span{font-size:6.5px}.rm-batch-lines{background:#eef2f4;gap:6px;padding:8px}.rm-batch-line{border-radius:7px;gap:6px;padding:8px 8px 32px;position:relative}.rm-batch-line label,.rm-adjust-direction,.rm-open-plan-picker{gap:3px;font-size:6px}.rm-batch-line input,.rm-batch-line select{border-radius:5px;min-height:30px;padding:4px 6px;font-size:7.5px}.rm-batch-line label small{font-size:5.6px}.rm-line-number{height:30px;font-size:6.5px}.rm-line-clear{height:30px}.rm-row-status{border:1px solid;border-radius:4px;align-items:center;gap:7px;min-height:22px;padding:3px 7px;display:flex;position:absolute;bottom:5px;left:34px;right:7px}.rm-row-status b{flex:none;font-size:6px}.rm-row-status span{text-overflow:ellipsis;white-space:nowrap;font-size:5.8px;overflow:hidden}.rm-row-status.ready{color:#226648;background:#edf8f2;border-color:#a9cfba}.rm-row-status.attention{color:#913039;background:#fff3f3;border-color:#e0b7ba}.rm-batch-line.rm-machine-issue-line{padding:7px 7px 33px}.rm-machine-issue-line .rm-row-status{grid-area:3/1/auto/-1;margin-top:1px;position:static}.rm-machine-return-line .rm-row-status,.rm-rejection-transfer-line .rm-row-status{left:36px}.rm-machine-issue-coils{border-radius:6px}.rm-machine-issue-coils>header{padding:5px 7px}.rm-machine-issue-coils>header span{font-size:5.5px}.rm-machine-issue-coils>header strong{font-size:7.5px}.rm-machine-issue-coil-list{gap:4px;padding:4px}.rm-machine-issue-coil-list article{padding:4px}.rm-machine-issue-coil-list select,.rm-machine-issue-coil-list input{min-height:26px;font-size:6.5px}.rm-batch-actions{background:#fbfcfd;padding:8px 10px}.rm-batch-actions>span{font-size:6.5px}.rm-receipt-invoice-head{padding:10px 11px}.rm-receipt-invoice-head label,.rm-receipt-invoice-head>div{font-size:6.5px}.rm-receipt-invoice-head input{min-height:32px;font-size:8px}.rm-receipt-wire-lines{gap:9px;padding:9px}.rm-receipt-wire{border-radius:8px;box-shadow:0 1px 4px #1b2c230d}.rm-receipt-wire-setup label,.rm-coil-autofill-note{font-size:6px}.rm-receipt-wire-setup input,.rm-receipt-wire-setup select{min-height:29px;font-size:7.5px}.rm-receipt-coil-head{font-size:5.6px}.rm-receipt-coils>div:not(.rm-receipt-coil-head){min-height:34px}@media (width<=1280px){.rm-batch-entry .rm-entry-types{grid-template-columns:repeat(4,minmax(145px,1fr))}.rm-entry-workflow-head{grid-template-columns:1fr;gap:8px!important}.rm-machine-issue-line .rm-row-status{grid-row:4}}@media (width<=760px){.rm-batch-entry .rm-entry-types{grid-template-columns:repeat(2,minmax(135px,1fr))}.rm-entry-workflow-head ol{grid-template-columns:1fr}.rm-entry-submit-strip{grid-template-columns:1fr 1fr}.rm-entry-submit-strip>.validated-action{grid-column:1/-1;max-width:none}.rm-machine-issue-line .rm-row-status{grid-row:5}}.pending-rm-routes,.record-rm-route{gap:2px;min-width:0;display:grid}.pending-rm-routes>span{color:#42515b;text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.pending-rm-routes>span.deviated{color:#855600;border-left:2px solid #d89e27;padding-left:4px;font-weight:850}.pending-rm-routes small,.record-rm-route small{color:#776c56;font-size:5.4px;display:block}.record-rm-route strong{text-overflow:ellipsis;white-space:nowrap;max-width:145px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px;overflow:hidden}@media (width<=860px){.plan-rm-deviation-fields,.plan-rm-deviation-list article{grid-template-columns:1fr}}.topbar-left{flex:auto;min-width:0}.topbar-title-block{grid-template-columns:max-content max-content minmax(0,1fr);align-items:center;column-gap:8px;min-width:0;display:grid}.topbar-title-block>.eyebrow{grid-column:1/-1}.topbar-title-block>h1{grid-column:1;min-width:0}.topbar-culture{border-left:2px solid var(--rel-red);color:#5e6670;white-space:nowrap;grid-column:2;align-items:baseline;gap:4px;min-width:0;max-width:min(360px,30vw);padding-left:7px;font-size:6px;line-height:1.15;display:inline-flex}.topbar-culture b{color:var(--rel-red-dark);letter-spacing:.07em;text-transform:uppercase;font-size:5.5px}.topbar-culture i{color:#a4aab0;font-style:normal}.topbar-culture strong{color:#39434c;text-overflow:ellipsis;font-size:6.5px;overflow:hidden}.topbar-presence{border-left:1px solid #dadddf;grid-column:3;align-items:center;gap:5px;min-width:0;padding-left:7px;display:flex;overflow:hidden}.topbar-presence-status{color:#59636a;white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.topbar-presence-status i{background:#8b949b;border-radius:50%;width:6px;height:6px}.topbar-presence.has-active .topbar-presence-status{color:#236a4d}.topbar-presence.has-active .topbar-presence-status i{background:#1d9d63;box-shadow:0 0 0 3px #1d9d631c}.topbar-presence-status strong{font-size:6.5px}.topbar-presence-people{align-items:center;gap:3px;min-width:0;display:flex;overflow:hidden}.topbar-presence-person{background:#f8f9fa;border:1px solid #d9dde0;border-radius:999px;align-items:center;gap:3px;min-width:0;max-width:135px;padding:2px 5px 2px 2px;display:inline-flex}.topbar-presence-person.online{background:#f3faf6;border-color:#b9daca}.topbar-presence-person .presence-avatar{border-width:1px;flex:none;width:17px;height:17px;margin:0;font-size:5px}.topbar-presence-person .presence-avatar.active:after{border-width:1px;width:5px;height:5px}.topbar-presence-person b{color:#384149;text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.topbar-presence-person small{color:#717a81;flex:none;font-size:5px}.topbar-presence-person.online small{color:#287452}.topbar-presence-empty{color:#7b8389;text-overflow:ellipsis;white-space:nowrap;font-size:5.5px;overflow:hidden}.topbar-presence-more{color:#5b666e;flex:none;font-size:5.5px;font-weight:850}.control-room-tabs,.planning-workspace-tabs,.execution-mode-tabs,.master-view-switch,.tool-bom-workspace-tabs,.tool-inventory-tabs,.rm-tabs{border:1px solid #243542;border-top:3px solid var(--rel-red);background:#253642;border-radius:7px;gap:4px;padding:4px;box-shadow:0 2px 7px #1926301c}.control-room-tabs{margin-bottom:8px}.control-room-tabs>button,.planning-workspace-tabs>button,.execution-mode-tabs>button,.master-view-switch>button,.tool-bom-workspace-tabs>button{color:#f7f9fa;background:0 0;border-color:#0000;border-radius:5px;grid-template-columns:24px minmax(0,1fr);gap:6px;min-height:42px;padding:5px 7px}.control-room-tabs>button>span,.planning-workspace-tabs>button>span,.execution-mode-tabs>button>span,.master-view-switch>button>span,.tool-bom-workspace-tabs>button>span{color:#fff;background:#ffffff1f;border-radius:4px;width:23px;height:23px}.control-room-tabs button strong,.planning-workspace-tabs button strong,.execution-mode-tabs button strong,.master-view-switch button strong,.tool-bom-workspace-tabs button strong{color:inherit;letter-spacing:.01em;font-size:9px}.control-room-tabs button small,.planning-workspace-tabs button small,.execution-mode-tabs button small,.master-view-switch button small,.tool-bom-workspace-tabs button small{color:#ffffff9e;font-size:6px}.control-room-tabs>button:hover,.planning-workspace-tabs>button:hover,.execution-mode-tabs>button:hover,.master-view-switch>button:hover,.tool-bom-workspace-tabs>button:hover{background:#ffffff12;border-color:#ffffff29}.control-room-tabs>button.active,.planning-workspace-tabs>button.active,.execution-mode-tabs>button.active,.master-view-switch>button.active,.tool-bom-workspace-tabs>button.active{background:var(--rel-red);color:#fff;border-color:#da7479;box-shadow:0 1px 4px #630d113d}.control-room-tabs>button.active>span,.planning-workspace-tabs>button.active>span,.execution-mode-tabs>button.active>span,.master-view-switch>button.active>span,.tool-bom-workspace-tabs>button.active>span{color:#fff;background:#ffffff2e}.control-room-tabs>button.active small,.planning-workspace-tabs>button.active small,.execution-mode-tabs>button.active small,.master-view-switch>button.active small,.tool-bom-workspace-tabs>button.active small{color:#ffffffc7}.tool-inventory-tabs button,.rm-tabs button{color:#ffffffbd;background:0 0;border:0;border-radius:4px;min-height:30px}.tool-inventory-tabs button.active,.rm-tabs button.active{background:var(--rel-red);color:#fff;box-shadow:none;border:0}.rm-tabs button.active:before{display:none}.rm-tabs button strong{color:inherit;background:#ffffff24}.metric-grid{gap:5px}.metric-card{border-radius:5px;min-height:40px;padding:5px 7px}.metric-card strong{margin:2px 0 0;font-size:15px}.metric-kicker,.metric-card>span:last-child,.metric-card .text-button{font-size:6px}.mini-metrics{border-radius:5px}.mini-metrics>div{gap:1px;padding:4px 6px}.mini-metrics span{font-size:5.5px}.mini-metrics strong{font-size:11px}.tool-bom-metrics,.tool-inventory-metrics{gap:4px}.tool-bom-metrics button,.tool-inventory-metrics button{border-top-width:2px;border-radius:5px;justify-content:center;gap:0;min-height:33px;padding:3px 6px}.tool-bom-metrics span,.tool-inventory-metrics span{font-size:5.5px}.tool-bom-metrics strong,.tool-inventory-metrics strong{font-size:11px;line-height:1}.tool-bom-metrics small,.tool-inventory-metrics small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:5.5px;line-height:1.15;overflow:hidden}.inventory-kpis{gap:4px}.inventory-kpis article{border-radius:5px;min-height:36px;padding:4px 6px}.inventory-kpis strong{font-size:11px}.inventory-kpis span,.inventory-kpis small{font-size:5.5px}.rm-kpis,.rm-master-summary{gap:4px}.rm-kpis>div,.rm-master-summary article{border-top-width:2px;border-radius:5px;min-height:34px;padding:4px 6px}.rm-kpis strong,.rm-master-summary strong{margin:1px 0 0;font-size:11px}.rm-kpis span,.rm-kpis small,.rm-master-summary span,.rm-master-summary small{font-size:5.5px}.pending-process-summary{gap:4px}.pending-process-summary button,.pending-process-summary article{border-radius:5px;min-height:34px;padding:4px 6px}.pending-process-summary span{font-size:5.5px}.pending-process-summary strong{font-size:10px}.pending-process-summary small{font-size:5.5px}.report-table{overflow-x:auto}.report-table th,.report-table td{white-space:nowrap}.report-table tfoot th{border-top:1px solid var(--line);color:var(--ink);text-transform:none;letter-spacing:normal;background:#fafafb;font-size:9px}.report-table thead tr.report-totals-row th{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);text-transform:none;letter-spacing:normal;background:#fafafb;font-size:9px}.report-row-short td{background:var(--rel-red-soft)}.report-row-pending td{background:var(--amber-soft)}.report-row-ok td{background:var(--green-soft)}.report-note{border:1px solid var(--line);background:var(--canvas);color:var(--muted);border-radius:6px;margin:0 0 4px;padding:8px 12px;font-size:9px;line-height:1.5}.status-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:8px;font-weight:700;display:inline-flex}.status-pill.status-ok,.status-pill.status-complete{background:var(--green-soft);color:var(--green)}.status-pill.status-short{background:var(--rel-red-soft);color:var(--rel-red-dark)}.status-pill.status-pending{background:var(--amber-soft);color:var(--amber)}@media (width<=760px){.topbar-title-block{grid-template-columns:max-content minmax(0,1fr)}.topbar-title-block>.eyebrow{display:none}.topbar-culture{border-left:0;grid-column:2;max-width:none;padding-left:0;display:flex}.topbar-culture b,.topbar-culture i{display:none}.topbar-presence{border-top:1px solid #e3e5e7;border-left:0;grid-column:1/-1;margin-top:2px;padding:2px 0 0}.topbar-presence-people{overflow-x:auto}.topbar-presence-person{flex:none}.control-room-tabs,.planning-workspace-tabs,.execution-mode-tabs,.master-view-switch,.tool-bom-workspace-tabs{grid-template-columns:1fr}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@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-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}
