/*! 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{--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}::backdrop{--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;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance: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}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.order-1{order:1}.order-2{order:2}.order-3{order:3}.hidden{display:none}.table{display:table}.table-row{display:table-row}.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,)}}:root{--ink:#17312b;--muted:#73817e;--line:#e3ebe7;--paper:#fff;--canvas:#f3f6f4;--green:#0b715f;--green-dark:#084e43;--green-soft:#e0f2ec;--lime:#d9f65f;--amber:#d78816;--amber-soft:#fff3dc;--red:#c94d43;--red-soft:#feeae7;--purple:#745ea4;--purple-soft:#efeafa;--shadow:0 9px 28px #17443a0e}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.58}h1,h2,h3,p{margin-top:0}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-loading{min-height:100vh;color:var(--green);background:#f1f5f2;flex-direction:column;justify-content:center;align-items:center;gap:11px;display:flex}.app-loading .loading-brand{background:var(--green);width:52px;height:52px;color:var(--lime);border-radius:16px;place-items:center;font-size:25px;font-weight:900;display:grid;box-shadow:0 10px 24px #0b715f33}.app-loading strong{margin-top:8px;font-size:14px}.app-loading span{color:var(--muted);font-size:12px}.erp-shell{min-height:100vh;display:flex}.sidebar{z-index:10;background:var(--green-dark);color:#fff;flex-direction:column;width:238px;padding:24px 16px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{text-align:left;color:#fff;background:0 0;border:0;align-items:center;gap:11px;width:100%;padding:1px 8px 30px;display:flex}.brand-mark{background:var(--lime);width:37px;height:37px;color:var(--green-dark);border-radius:11px;flex:none;place-items:center;font-size:18px;font-weight:900;display:grid;box-shadow:0 6px 15px #0000001f}.brand>span:last-child{min-width:0}.brand b,.brand small{display:block}.brand b{letter-spacing:.06em;font-size:17px}.brand small{color:#ffffff6e;letter-spacing:.1em;margin-top:3px;font-size:8px;font-weight:700}.sidebar nav{gap:6px;display:grid}.nav-item{color:#ffffffa3;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:43px;padding:0 12px;font-size:13px;transition:color .16s,background .16s;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:#ffffff18}.nav-item.active svg{color:var(--lime)}.nav-item.active:after{content:"";background:var(--lime);border-radius:50%;width:5px;height:5px;margin-left:auto}.nav-item em{color:#fff;background:#d95c50;border-radius:50%;place-items:center;min-width:19px;height:19px;margin-left:auto;font-size:9px;font-style:normal;font-weight:800;display:grid}.sidebar-divider{background:#ffffff17;height:1px;margin:24px 9px 18px}.system-state{background:#00000014;border:1px solid #d9f65f21;border-radius:12px;margin:0 4px;padding:14px}.system-state span{color:#ffffff7a;letter-spacing:.08em;align-items:center;gap:7px;font-size:9px;display:flex}.system-state span i{background:var(--lime);border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #d9f65f14}.system-state strong,.system-state small{display:block}.system-state strong{margin-top:9px;font-size:12px}.system-state small{color:#ffffff61;margin-top:4px;font-size:9px}.sidebar-foot{color:#fff;text-align:left;background:0 0;border:0;border-top:1px solid #ffffff1a;align-items:center;gap:10px;width:100%;margin-top:auto;padding:18px 7px 0;display:flex}.avatar{width:35px;height:35px;color:var(--green);background:#cce8df;border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.sidebar-foot>div{flex:1;min-width:0}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:12px}.sidebar-foot small{color:#ffffff6b;margin-top:3px;font-size:9px}.sidebar-foot svg{color:#ffffff59}.main-area{flex:1;min-width:0;margin-left:238px;padding:35px clamp(24px,3.8vw,58px) 58px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;min-height:76px;margin-bottom:24px;display:flex}.eyebrow{color:#79908a;letter-spacing:.15em;text-transform:uppercase;margin:0 0 7px;font-size:9px;font-weight:800}h1{letter-spacing:-.045em;margin-bottom:6px;font-size:clamp(26px,3vw,33px);line-height:1.12}h2{letter-spacing:-.025em;margin-bottom:0;font-size:18px}h3{margin-bottom:0;font-size:14px}.subtitle{color:var(--muted);margin-bottom:0;font-size:12px}.top-actions{align-items:center;gap:9px;display:flex}.icon-button,.primary-button,.secondary-button,.success-button{border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:800;display:inline-flex}.icon-button{color:#78908a;background:#fff;border:1px solid #0b4d4112;width:41px;height:41px;position:relative;box-shadow:0 3px 12px #17443a0a}.icon-button:hover{color:var(--green);border-color:#0b715f33}.notification .notification-count{border:2px solid var(--canvas);color:#fff;background:#e75d51;border-radius:10px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:7px;font-weight:900;display:grid;position:absolute;top:-5px;right:-5px}.primary-button{background:var(--green);color:#fff;border:0;min-height:41px;padding:0 16px;box-shadow:0 6px 15px #0b715f29}.primary-button:hover{background:#096553}.secondary-button{border:1px solid var(--line);min-height:35px;color:var(--ink);background:#fff;padding:0 13px}.secondary-button:hover{color:var(--green);border-color:#b9d4cc}.success-button{background:var(--green-soft);min-height:35px;color:var(--green);border:0;padding:0 13px}.success-button:hover{background:#ceeae0}.error-banner{color:#a63f37;background:#fff4f2;border:1px solid #f4ccc6;border-radius:10px;align-items:center;gap:10px;margin:-5px 0 18px;padding:11px 14px;font-size:11px;display:flex}.error-banner span{flex:1}.error-banner button{color:inherit;background:0 0;border:0;place-items:center;display:grid}.metrics{grid-template-columns:1.2fr repeat(4,1fr);gap:13px;margin-bottom:16px;display:grid}.metric-card{background:var(--paper);min-height:145px;box-shadow:var(--shadow);border:1px solid #0f4c3f11;border-radius:15px;padding:19px;position:relative;overflow:hidden}.metric-card p{color:var(--muted);margin-bottom:12px;font-size:11px}.metric-card strong{letter-spacing:-.05em;font-size:30px;display:block}.metric-card>span{color:#95a39f;font-size:9px;position:absolute;bottom:18px}.metric-card-button{width:100%;color:var(--ink);text-align:left;transition:transform .16s,box-shadow .16s,border-color .16s}.metric-card-button:hover{border-color:#0b715f3d;transform:translateY(-2px);box-shadow:0 13px 32px #17443a17}.metric-card-button:focus-visible{outline-offset:2px;outline:3px solid #0b715f33}.metric-arrow{color:#a4b0ad;position:absolute;bottom:16px;right:17px}.hero-metric .metric-arrow{color:var(--lime)}.metric-icon{float:right;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.metric-icon.normal{color:var(--green);background:var(--green-soft)}.metric-icon.warning{color:var(--amber);background:var(--amber-soft)}.metric-icon.delayed{color:var(--red);background:var(--red-soft)}.metric-icon.blocked{color:var(--purple);background:var(--purple-soft)}.metric-icon.hero{color:var(--lime);background:#d9f65f24}.hero-metric{border-color:var(--green);background:var(--green);color:#fff}.hero-metric:after{content:"";border:22px solid #d9f65f24;border-radius:50%;width:116px;height:116px;position:absolute;bottom:-51px;right:-42px}.hero-metric p,.hero-metric>span{color:#ffffffa1}.hero-metric strong{font-size:38px}.panel{box-shadow:var(--shadow);background:#fff;border:1px solid #0f4c3f12;border-radius:16px}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(290px,.68fr);gap:16px;display:grid}.orders-panel{padding:23px}.pulse-panel,.actions-panel,.decisions-panel{padding:22px}.panel-head{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px;display:flex}.panel-head>svg{color:#92a09d}.text-button{color:var(--green);background:0 0;border:0;align-items:center;gap:5px;padding:4px;font-size:10px;font-weight:800;display:flex}.text-button:hover{gap:8px}.count-badge{min-width:27px;height:27px;color:var(--green);background:#eef4f1;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.live-badge{color:#7c918b;align-items:center;gap:6px;font-size:9px;display:inline-flex}.live-badge i{background:#4ab68c;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #e7f6f0}.order-table{width:100%}.table-row{border:0;border-top:1px solid var(--line);text-align:left;background:#fff;grid-template-columns:1.35fr 1fr .8fr .65fr 16px;align-items:center;gap:12px;width:100%;min-height:64px;padding:0 3px;font-size:11px;display:grid}.table-row:not(.table-head):hover{background:#fafcfb}.table-row>span{min-width:0}.table-row b,.table-row small{display:block}.table-row b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.table-row small{color:#8c9a96;margin-top:4px;font-size:9px}.table-row>svg{color:#a2afac}.table-head{color:#9aa7a4;letter-spacing:.08em;pointer-events:none;border:0;min-height:34px;font-size:8px;font-weight:700}.risk-pill{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:9px;font-weight:800;display:inline-flex}.risk-pill i{border-radius:50%;width:5px;height:5px}.risk-pill.normal{color:var(--green);background:var(--green-soft)}.risk-pill.normal i{background:var(--green)}.risk-pill.warning{color:#a76912;background:var(--amber-soft)}.risk-pill.warning i{background:var(--amber)}.risk-pill.delayed{color:#ae4038;background:var(--red-soft)}.risk-pill.delayed i{background:var(--red)}.risk-pill.blocked{color:var(--purple);background:var(--purple-soft)}.risk-pill.blocked i{background:var(--purple)}.health-score{align-items:center;gap:22px;padding:4px 0 19px;display:flex}.score-ring{--score:65%;background:conic-gradient(var(--green) var(--score), #e8efec 0);border-radius:50%;flex:none;place-items:center;width:106px;height:106px;display:grid;position:relative}.score-ring:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:10px}.score-ring span{z-index:1;text-align:center}.score-ring strong,.score-ring small{display:block}.score-ring strong{font-size:25px}.score-ring small{color:#8e9c98;font-size:8px}.health-legend{flex:1;gap:10px;display:grid}.health-legend span{color:var(--muted);grid-template-columns:7px 1fr auto;align-items:center;gap:7px;font-size:9px;display:grid}.health-legend i{border-radius:2px;width:7px;height:7px}.health-legend i.normal{background:var(--green)}.health-legend i.warning{background:var(--amber)}.health-legend i.delayed{background:var(--red)}.health-legend b{color:var(--ink)}.system-note{color:var(--green);background:#f2f7f4;border-radius:10px;gap:10px;padding:13px;display:flex}.system-note svg{flex:none}.system-note strong{font-size:10px;display:block}.system-note p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.action-item{border:0;border-top:1px solid var(--line);text-align:left;background:#fff;grid-template-columns:30px 1fr;gap:10px;width:100%;padding:14px 0;display:grid}.action-item:first-of-type{border-top:0}.action-item.urgent{background:#fff8ed;border:0;border-radius:10px;margin:0 -10px;padding:14px 10px}.action-index{color:#abb6b3;font-size:9px;font-weight:900}.urgent .action-index{color:var(--amber)}.action-item strong{font-size:10px}.action-item p{color:var(--muted);margin:5px 0 7px;font-size:9px;line-height:1.5}.action-item div>span{color:var(--green);align-items:center;gap:4px;font-size:9px;font-weight:800;display:flex}.decision-row{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:56px;display:flex}.decision-row:first-of-type{border-top:0}.decision-mark{border-radius:8px;flex:none;place-items:center;width:27px;height:27px;display:grid}.decision-mark.auto{color:var(--green);background:var(--green-soft)}.decision-mark.manual{color:var(--red);background:var(--red-soft)}.decision-row strong,.decision-row small{display:block}.decision-row strong{font-size:10px}.decision-row small{color:#8c9a96;margin-top:4px;font-size:8px}.empty-state{text-align:center;color:#91a09c;flex-direction:column;justify-content:center;align-items:center;min-height:150px;display:flex}.empty-state>div{width:46px;height:46px;color:var(--green);background:#f0f5f2;border-radius:50%;place-items:center;margin-bottom:11px;display:grid}.empty-state strong{color:var(--ink);font-size:11px}.empty-state p{max-width:260px;margin:6px 0 0;font-size:9px;line-height:1.55}.module-panel{min-height:520px;padding:23px}.module-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.search-box{border:1px solid var(--line);color:#92a09d;background:#fafcfb;border-radius:10px;align-items:center;gap:9px;width:min(380px,100%);height:40px;padding:0 13px;display:flex}.search-box:focus-within{background:#fff;border-color:#86baab;box-shadow:0 0 0 3px #e7f4f0}.search-box input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:11px}.result-count{color:#8d9b97;font-size:10px}.orders-toolbar{justify-content:flex-start}.orders-toolbar .result-count{margin-left:auto}.toolbar-select{min-width:160px}.toolbar-select>span{color:var(--muted);margin-bottom:4px;font-size:8px;font-weight:800;display:block}.toolbar-select select{border:1px solid var(--line);width:100%;height:40px;color:var(--ink);background:#fafcfb;border-radius:10px;padding:0 30px 0 10px;font-size:10px}.order-filters{flex-wrap:wrap;gap:7px;margin:-5px 0 17px;display:flex}.order-filters button{border:1px solid var(--line);color:#73837f;background:#fff;border-radius:18px;min-height:31px;padding:0 11px;font-size:9px;font-weight:800}.order-filters button:hover,.order-filters button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.orders-list-head,.order-list-row{grid-template-columns:1.2fr 1.15fr 1fr .95fr .6fr 18px;align-items:center;gap:15px;display:grid}.orders-list-head{color:#97a4a1;letter-spacing:.08em;min-height:36px;padding:0 13px;font-size:8px;font-weight:800}.order-list-row{border:0;border-top:1px solid var(--line);text-align:left;background:#fff;width:100%;min-height:75px;padding:0 13px}.order-list-row:hover{background:#f8fbf9;border-radius:10px}.order-list-row>span{min-width:0}.order-list-row b,.order-list-row small{display:block}.order-list-row b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.order-list-row small{color:#879590;margin-top:5px;font-size:9px}.order-list-row>svg{color:#a5b1ae}.tasks-grid{grid-template-columns:repeat(3,minmax(260px,1fr));gap:15px;display:grid}.task-card{box-shadow:var(--shadow);background:#fff;border:1px solid #0f4c3f12;border-radius:15px;padding:20px}.task-card.is-blocked{border-color:#e2d6f2}.task-top{justify-content:space-between;align-items:center;display:flex}.task-dept{color:var(--green);letter-spacing:.08em;font-size:9px;font-weight:800}.task-title{text-align:left;background:0 0;border:0;width:100%;padding:17px 0 15px}.task-title small,.task-title strong{display:block}.task-title small{color:#8d9a97;font-size:9px}.task-title strong{margin-top:6px;font-size:17px}.task-deadline{color:#83928e;background:#f6f9f7;border-radius:9px;grid-template-columns:18px 1fr auto;align-items:center;gap:5px;padding:11px;font-size:9px;display:grid}.task-deadline svg{color:var(--green)}.task-deadline b{color:var(--ink)}.progress-line{background:#e8eeeb;border-radius:10px;height:5px;margin-top:17px;overflow:hidden}.progress-line span{border-radius:inherit;background:var(--green);height:100%;transition:width .25s;display:block}.progress-copy{color:#879590;justify-content:space-between;margin-top:7px;font-size:9px;display:flex}.progress-copy b{color:var(--green)}.blocker-note{background:var(--purple-soft);color:var(--purple);border-radius:8px;align-items:flex-start;gap:7px;margin-top:13px;padding:10px;font-size:9px;line-height:1.5;display:flex}.blocker-note svg{flex:none}.task-actions{flex-wrap:wrap;gap:7px;margin-top:17px;display:flex}.task-actions .secondary-button,.task-actions .success-button{flex:1}.danger-ghost{min-height:31px;color:var(--red);background:0 0;border:0;flex-basis:100%;font-size:9px;font-weight:800}.full-empty{grid-column:1/-1}.exceptions-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px;display:grid}.exception-list{border-top:1px solid var(--line)}.exception-row{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px 0;display:grid}.exception-row.resolved{opacity:.55}.exception-icon{background:var(--amber-soft);width:35px;height:35px;color:var(--amber);border-radius:9px;place-items:center;display:grid}.exception-row.resolved .exception-icon{background:var(--green-soft);color:var(--green)}.exception-main{min-width:0}.exception-main>div{align-items:center;gap:8px;display:flex}.exception-main button{color:var(--green);background:0 0;border:0;padding:0;font-size:9px;font-weight:800}.category-pill{color:#758681;background:#f0f4f2;border-radius:10px;padding:4px 7px;font-size:8px}.exception-main strong{margin-top:7px;font-size:11px;display:block}.exception-main p{color:var(--muted);margin:5px 0;font-size:9px;line-height:1.5}.exception-main small{color:#96a29f;font-size:8px}.resolved-label{color:var(--green);font-size:9px;font-weight:800}.rule-card{background:var(--green-dark);color:#fff;align-self:start;padding:23px}.rule-card .eyebrow{color:#ffffff73}.rule-card>p:not(.eyebrow){color:#ffffff9e;margin:11px 0 21px;font-size:9px;line-height:1.65}.rule-icon{width:42px;height:42px;color:var(--lime);background:#d9f65f24;border-radius:12px;place-items:center;margin-bottom:19px;display:grid}.rule-steps{gap:8px;display:grid}.rule-steps span{color:#ffffffb3;background:#ffffff0f;border-radius:8px;align-items:center;gap:10px;padding:10px;font-size:9px;display:flex}.rule-steps b{color:var(--lime)}.template-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.template-card{padding:25px}.template-title{align-items:center;gap:14px;display:flex}.template-icon{background:var(--green-soft);width:45px;height:45px;color:var(--green);border-radius:12px;place-items:center;display:grid}.template-title span{color:var(--green);font-size:8px;font-weight:800}.template-title h2{margin-top:4px}.template-title p{color:var(--muted);margin:4px 0 0;font-size:9px}.template-summary{background:#f5f8f6;border-radius:10px;gap:34px;margin:22px 0;padding:15px;display:flex}.template-summary span{color:#82908c;font-size:9px}.template-summary b{color:var(--ink);margin-right:4px;font-size:14px}.flow-preview{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.flow-node{border:1px solid var(--line);border-radius:10px;align-items:center;gap:9px;min-width:0;padding:12px;display:flex;position:relative}.flow-node>span{background:var(--green);color:#fff;border-radius:50%;flex:none;place-items:center;width:23px;height:23px;font-size:8px;font-weight:800;display:grid}.flow-node div{min-width:0}.flow-node b,.flow-node small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.flow-node b{font-size:9px}.flow-node small{color:#8c9a96;margin-top:4px;font-size:7px}.flow-node>i{z-index:1;background:#bad2ca;width:10px;height:1px;position:absolute;left:100%}.overlay{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#081e195c;justify-content:flex-end;animation:.16s fade-in;display:flex;position:fixed;inset:0}.order-drawer{background:#f7f9f8;width:min(690px,92vw);height:100%;padding:27px;animation:.2s slide-in;overflow:auto;box-shadow:-16px 0 48px #081e191f}.drawer-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.drawer-head h2{font-size:24px}.drawer-head>div>span{color:var(--muted);margin-top:6px;font-size:10px;display:block}.close-button{border:1px solid var(--line);color:#81908c;background:#fff;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.close-button:hover{color:var(--ink)}.drawer-summary{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:repeat(4,1fr);margin:22px 0 15px;padding:16px;display:grid}.drawer-summary>div{border-left:1px solid var(--line);padding:0 14px}.drawer-summary>div:first-child{border:0;padding-left:0}.drawer-summary>div:last-child{padding-right:0}.drawer-summary span:not(.risk-pill),.drawer-summary b{display:block}.drawer-summary>div>span:first-child{color:#8a9894;margin-bottom:7px;font-size:8px}.drawer-summary b{font-size:10px}.impact-banner{color:var(--red);background:#fff1ef;border:1px solid #f3d2cc;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.impact-banner svg{flex:none}.impact-banner strong,.impact-banner span{display:block}.impact-banner strong{font-size:10px}.impact-banner span{color:#98645e;margin-top:4px;font-size:8px}.timeline-head{justify-content:space-between;align-items:center;margin:25px 0 14px;display:flex}.timeline-head span{color:#8c9a96;font-size:8px}.timeline{padding:2px 0 20px 2px}.timeline-node{grid-template-columns:31px 1fr;gap:11px;padding-bottom:13px;display:grid;position:relative}.timeline-node:before{content:"";background:#d8e3df;width:1px;position:absolute;top:28px;bottom:-5px;left:14px}.timeline-node:last-child:before{display:none}.timeline-marker{z-index:1;color:#899793;background:#f7f9f8;border:2px solid #d7e3df;border-radius:50%;place-items:center;width:29px;height:29px;font-size:8px;font-weight:800;display:grid}.timeline-node.completed .timeline-marker{border-color:var(--green);background:var(--green);color:#fff}.timeline-node.in_progress .timeline-marker{border-color:var(--lime);background:var(--green);color:#fff;box-shadow:0 0 0 4px #e7f3ef}.timeline-node.blocked .timeline-marker{background:var(--purple);color:#fff;border-color:#d9c9ee}.timeline-content{border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px 14px}.timeline-node.in_progress .timeline-content{border-color:#a9d3c6;box-shadow:0 5px 16px #0b715f0f}.timeline-node.delayed .timeline-content{border-left:3px solid var(--red)}.timeline-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.timeline-title strong,.timeline-title small{display:block}.timeline-title strong{font-size:10px}.timeline-title small{color:#899793;margin-top:4px;font-size:8px}.node-status{color:#80908b;background:#f0f4f2;border-radius:10px;padding:4px 7px;font-size:7px;font-weight:800}.node-status.completed{background:var(--green-soft);color:var(--green)}.node-status.in_progress{background:var(--amber-soft);color:var(--amber)}.node-status.blocked{background:var(--purple-soft);color:var(--purple)}.timeline-dates{color:#91a09c;flex-wrap:wrap;gap:13px;margin-top:11px;font-size:8px;display:flex}.timeline-dates b{color:#64746f;margin-left:3px}.timeline-dates b.changed{color:var(--red)}.progress-line.compact{height:4px;margin-top:11px}.inline-actions{gap:7px;margin-top:10px;display:flex}.inline-actions button{border:1px solid var(--line);color:#63746f;background:#fff;border-radius:7px;align-items:center;gap:4px;padding:5px 8px;font-size:8px;display:flex}.inline-actions button:first-child{color:var(--green);border-color:#bee0d5}.inline-actions button:last-child{color:var(--red)}.node-blocked{background:var(--purple-soft);color:var(--purple);border-radius:8px;align-items:center;gap:7px;margin-top:10px;padding:9px;font-size:8px;display:flex}.node-blocked button{color:inherit;background:0 0;border:0;margin-left:auto;font-weight:800}.modal-overlay{z-index:40;justify-content:center;align-items:center;padding:20px}.modal-card{background:#fff;border-radius:17px;width:min(600px,96vw);max-height:92vh;animation:.18s modal-in;overflow:auto;box-shadow:0 24px 80px #081e193b}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:23px 25px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:15px;padding:23px 25px 25px;display:grid}.form-grid label>span:not(.risk-pill),.form-grid label>input,.form-grid label>textarea,.form-grid label>select{width:100%;display:block}.form-grid label>span:first-child{color:#5f716c;margin-bottom:7px;font-size:9px;font-weight:800}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid var(--line);color:var(--ink);background:#fafcfb;border-radius:9px;outline:none;font-size:10px}.form-grid input,.form-grid select{height:39px;padding:0 11px}.form-grid textarea{resize:vertical;padding:10px 11px;line-height:1.6}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{background:#fff;border-color:#84bbae;box-shadow:0 0 0 3px #e8f4f0}.span-2{grid-column:1/-1}.auto-note{color:var(--green);background:#eef6f2;border-radius:9px;gap:9px;padding:11px 12px;font-size:9px;line-height:1.5;display:flex}.auto-note svg{flex:none}.form-actions{justify-content:flex-end;gap:9px;padding-top:5px;display:flex}.checkbox-label{border:1px solid var(--line);border-radius:9px;align-items:flex-start;gap:9px;padding:11px;display:flex!important}.checkbox-label input{accent-color:var(--green);margin:2px 0 0;width:15px!important;height:15px!important}.checkbox-label span{margin:0!important}.checkbox-label b,.checkbox-label small{display:block}.checkbox-label b{font-size:9px}.checkbox-label small{color:#8c9a96;margin-top:4px;font-size:8px;font-weight:400}.date-comparison{background:#f5f8f6;border-radius:11px;grid-template-columns:1fr 30px 1fr;align-items:end;gap:10px;padding:14px;display:grid}.date-comparison>span small,.date-comparison>span b{display:block}.date-comparison>span small{color:#82918d;font-size:8px}.date-comparison>span b{margin-top:9px;font-size:12px}.date-comparison>svg{color:#9aa7a3;align-self:center}.decision-rules{border:1px solid var(--line);border-radius:10px;gap:8px;padding:12px;display:grid}.decision-rules span{color:#6f817c;align-items:center;gap:6px;font-size:8px;display:flex}.decision-rules svg{color:var(--green)}.decision-rules b{color:var(--ink)}.evaluation-card{position:relative;overflow:hidden}.close-button.floating{z-index:2;color:#fff;background:#ffffff1f;border-color:#ffffff2e;position:absolute;top:17px;right:17px}.evaluation-hero{color:#fff;padding:30px 28px 25px}.evaluation-hero.approved{background:var(--green)}.evaluation-hero.manual{background:#8f433c}.evaluation-hero>div{background:#ffffff24;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.evaluation-hero p{color:#ffffff9e;letter-spacing:.12em;margin:18px 0 6px;font-size:8px;font-weight:800}.evaluation-hero h2{font-size:23px}.evaluation-hero>span{color:#ffffffb3;max-width:470px;margin-top:10px;font-size:9px;line-height:1.6;display:block}.evaluation-stats{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);padding:16px 25px;display:grid}.evaluation-stats span{border-left:1px solid var(--line);padding:0 13px}.evaluation-stats span:first-child{border:0;padding-left:0}.evaluation-stats small,.evaluation-stats b{display:block}.evaluation-stats small{color:#8b9995;font-size:8px}.evaluation-stats b{margin-top:6px;font-size:11px}.evaluation-body{padding:21px 25px 25px}.evaluation-body h3{margin-bottom:11px}.impact-chain{gap:3px;margin-bottom:20px;display:flex;overflow-x:auto}.impact-chain>div{background:#f4f7f5;border-radius:8px;gap:4px;min-width:85px;padding:10px;display:grid;position:relative}.impact-chain>div:after{content:"›";color:#9eaaa7;position:absolute;top:17px;left:calc(100% - 1px)}.impact-chain>div:last-child:after{display:none}.impact-chain span{width:18px;height:18px;color:var(--green);background:#dae8e3;border-radius:50%;place-items:center;font-size:7px;font-weight:800;display:grid}.impact-chain span.shifted{background:var(--amber-soft);color:var(--amber)}.impact-chain b{margin-top:3px;font-size:8px}.impact-chain small{color:#8b9995;white-space:nowrap;font-size:7px}.suggestion-list{gap:7px;margin-bottom:18px;display:grid}.suggestion-list>div{border:1px solid var(--line);border-radius:9px;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px;display:grid}.suggestion-list>div>span{background:var(--green-soft);height:28px;color:var(--green);border-radius:7px;place-items:center;font-size:8px;font-weight:800;display:grid}.suggestion-list b,.suggestion-list small{display:block}.suggestion-list b{font-size:9px}.suggestion-list small{color:#8c9a96;margin-top:3px;font-size:7px}.suggestion-list em{color:#81908c;font-size:7px;font-style:normal}.full-button{width:100%}.toast{z-index:80;color:#fff;background:#123e35;border-radius:10px;align-items:center;gap:9px;padding:12px 15px;font-size:10px;animation:.2s toast-in;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 30px #081e1933}.toast svg{color:var(--lime)}.orders-list-head,.order-list-row{grid-template-columns:1.2fr 1.15fr 1fr .95fr .6fr 70px}.record-link{max-width:100%;color:var(--green);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:11px;font-weight:800;overflow:hidden}.record-link:hover{text-decoration:underline}.row-actions{justify-content:flex-end;align-items:center;gap:5px;display:flex}.row-actions button{border:1px solid var(--line);color:#72827e;background:#fff;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.row-actions button:hover{color:var(--green);border-color:#b8d4cc}.row-actions button:last-child:hover{color:var(--red);border-color:#efc2bc}.task-card.is-review{border-color:#e9c37d;box-shadow:0 8px 24px #d7881614}.task-actions .audit-button{flex:1}.audit-button{color:#9d620f;background:#fff0d4;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:35px;font-size:10px;font-weight:800;display:inline-flex}.exception-actions{align-items:center;gap:8px;display:flex}.template-toolbar{box-shadow:var(--shadow);background:#fff;border:1px solid #0f4c3f12;border-radius:14px;margin-bottom:0;padding:18px 22px}.template-title>div:nth-child(2){min-width:0}.template-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-left:auto;display:flex}.template-actions button,.template-summary button{border:1px solid var(--line);min-height:31px;color:var(--green);background:#fff;border-radius:8px;align-items:center;gap:5px;padding:0 10px;font-size:8px;font-weight:800;display:inline-flex}.template-actions .delete-text{color:var(--red)}.template-summary{align-items:center}.template-summary button{margin-left:auto}.flow-actions{gap:4px;margin-left:auto;display:flex}.flow-actions button{border:1px solid var(--line);color:#71817d;background:#fff;border-radius:7px;place-items:center;width:25px;height:25px;display:grid}.flow-actions button:last-child{color:var(--red)}.node-badges{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.audit-pill{white-space:nowrap;border-radius:10px;padding:4px 7px;font-size:7px;font-weight:800}.audit-pill.pending{background:var(--amber-soft);color:#9d620f}.audit-pill.approved{color:#3972a7;background:#e7f2ff}.inline-actions{flex-wrap:wrap}.review-panel,.approved-panel{border-radius:8px;align-items:center;gap:8px;margin-top:11px;padding:9px 10px;font-size:8px;display:flex}.review-panel{background:var(--amber-soft);color:#946017}.approved-panel{color:#3972a7;background:#edf5ff}.review-panel span,.approved-panel span{flex:1}.review-panel button,.approved-panel button{color:inherit;background:#fff;border:0;border-radius:7px;align-items:center;gap:4px;padding:5px 8px;font-size:8px;font-weight:800;display:inline-flex}.profile-preview{background:#f4f8f6;border-radius:10px;align-items:center;gap:12px;padding:13px;display:flex}.profile-preview .avatar.large{width:46px;height:46px;font-size:16px}.profile-preview strong,.profile-preview small{display:block}.profile-preview strong{font-size:12px}.profile-preview small{color:var(--muted);margin-top:4px;font-size:9px}.logout-note{color:var(--red);background:#fff8f7;border:1px solid #efd3cf;border-radius:9px;align-items:flex-start;gap:9px;padding:11px 12px;display:flex}.logout-note svg{flex:none}.logout-note b,.logout-note small{display:block}.logout-note b{font-size:9px}.logout-note small{color:#8b6b67;margin-top:4px;font-size:8px;line-height:1.55}.logout-note.safe-logout{color:var(--green);background:#f1f9f5;border-color:#c6e0d6}.logout-note.safe-logout small{color:#60766f}.logout-button{min-height:35px;color:var(--red);background:#fff;border:1px solid #e4b8b2;border-radius:10px;justify-content:center;align-items:center;gap:7px;margin-right:auto;padding:0 13px;font-size:9px;font-weight:800;display:inline-flex}.logout-button:hover{border-color:var(--red);background:#fff6f4}.logout-button:disabled{cursor:not-allowed;opacity:.55}.notification-body{padding:20px 24px 24px}.notification-summary{grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px;display:grid}.notification-summary button{border:1px solid var(--line);min-width:0;color:var(--green);text-align:left;background:#f7faf8;border-radius:10px;align-items:center;gap:9px;padding:12px;display:flex}.notification-summary button:hover{background:#edf7f3;border-color:#b3d5cb}.notification-summary b,.notification-summary small{display:block}.notification-summary b{color:var(--ink);font-size:14px}.notification-summary small{color:var(--muted);margin-top:2px;font-size:8px}.notification-list{border-top:1px solid var(--line);max-height:430px;overflow-y:auto}.notification-list>button{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;grid-template-columns:34px 1fr 16px;align-items:center;gap:10px;width:100%;padding:13px 4px;display:grid}.notification-list>button:hover{background:#f8fbf9}.notification-list>button>span:nth-child(2){min-width:0}.notification-list b,.notification-list small{display:block}.notification-list b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.notification-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:8px;overflow:hidden}.notification-list>button>svg{color:#9ca8a5}.notice-icon{border-radius:9px;place-items:center;width:31px;height:31px;display:grid}.notice-icon.review,.notice-icon.warning{background:var(--amber-soft);color:var(--amber)}.notice-icon.blocked{background:var(--purple-soft);color:var(--purple)}.notice-icon.delayed{background:var(--red-soft);color:var(--red)}.security-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);align-items:start;gap:18px;display:grid}.account-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.account-list-head,.account-row{grid-template-columns:1.05fr 1.25fr .82fr .9fr 1.05fr 100px;align-items:center;gap:12px;display:grid}.account-list-head{color:var(--muted);padding:0 11px 9px;font-size:8px;font-weight:800}.account-row{border-top:1px solid var(--line);min-height:66px;padding:10px 11px;font-size:9px}.account-row:hover{background:#f8fbf9}.account-row b,.account-row small{display:block}.account-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:8px;overflow:hidden}.account-person{align-items:center;gap:9px;min-width:0;display:flex}.account-person>span{min-width:0}.account-person .avatar{flex:none;font-style:normal}.account-login{min-width:0}.account-login b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-policy-copy{color:var(--muted);margin-top:6px;font-size:8px;line-height:1.5;display:block}.account-row .row-actions{justify-content:flex-end;gap:5px;display:flex}.status-chip{color:var(--green);white-space:nowrap;background:#eaf5ef;border-radius:10px;padding:5px 8px;font-size:7px;font-style:normal;font-weight:800;display:inline-flex}.status-chip.pending{background:var(--amber-soft);color:var(--amber)}.status-chip.disabled{color:#7f8a87;background:#edf0ef}.audit-panel{padding:20px}.security-events{max-height:560px;overflow:auto}.security-events>div:not(.empty-state){border-top:1px solid var(--line);grid-template-columns:9px 1fr;gap:9px;padding:11px 2px;display:grid}.security-events b,.security-events small{display:block}.security-events b{font-size:9px}.security-events small{color:var(--muted);margin-top:4px;font-size:7px;line-height:1.45}.event-dot{background:var(--green);border-radius:50%;width:8px;height:8px;margin-top:2px}.event-dot.denied{background:var(--amber)}.event-dot.failed{background:var(--red)}.danger-button{background:var(--red);color:#fff;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-size:9px;font-weight:800;display:inline-flex}.separation-note{width:100%;color:var(--muted);text-align:center;background:#f3f5f4;border-radius:8px;padding:9px 10px;font-size:8px}.order-list-row.is-voided{opacity:.68;background:#fafafa}.void-banner{color:#64716d;background:#f2f4f3;border:1px solid #d9dddb;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:15px;padding:12px 14px;display:flex}.void-banner strong,.void-banner span,.void-banner small{display:block}.void-banner strong{font-size:10px}.void-banner span{margin-top:4px;font-size:8px}.void-banner small{color:#89938f;margin-top:5px;font-size:7px}.personnel-metrics{grid-template-columns:repeat(5,minmax(135px,1fr));gap:12px;margin-bottom:16px;display:grid}.personnel-metric{align-items:center;gap:13px;min-height:92px;padding:17px;display:flex}.personnel-metric>span{background:var(--green-soft);width:35px;height:35px;color:var(--green);border-radius:10px;flex:none;place-items:center;display:grid}.personnel-metric small,.personnel-metric strong{display:block}.personnel-metric small{color:var(--muted);font-size:8px}.personnel-metric strong{letter-spacing:-.04em;margin-top:6px;font-size:22px}.personnel-metric em{color:#80908c;letter-spacing:0;margin-left:3px;font-size:8px;font-style:normal;font-weight:600}.capacity-layout{grid-template-columns:minmax(0,1fr) 275px;align-items:start;gap:16px;margin-bottom:16px;display:grid}.personnel-panel{min-height:420px}.personnel-toolbar-actions{align-items:center;gap:12px;display:flex}.personnel-toolbar-actions label{color:var(--muted);align-items:center;gap:6px;font-size:8px;display:flex}.personnel-toolbar-actions input{accent-color:var(--green)}.personnel-list-head,.personnel-row{grid-template-columns:1.25fr 1fr .85fr .7fr .8fr 1fr 62px;align-items:center;gap:11px;display:grid}.personnel-list-head{color:var(--muted);letter-spacing:.05em;padding:0 9px 9px;font-size:7px;font-weight:800}.personnel-row{border-top:1px solid var(--line);min-height:68px;padding:9px;font-size:8px}.personnel-row:hover{background:#f8fbf9}.personnel-row.inactive{opacity:.55;background:#fafafa}.personnel-row>span{min-width:0}.personnel-row b,.personnel-row small{display:block}.personnel-row b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.personnel-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:7px;overflow:hidden}.pool-name{align-items:center;gap:8px;display:flex}.pool-name>i{width:29px;height:29px;color:var(--green);background:#eaf4f0;border-radius:8px;flex:none;place-items:center;font-size:10px;font-style:normal;font-weight:900;display:grid}.pool-name>span{min-width:0}.danger-text{color:var(--red)!important}.safe-text{color:var(--green)!important}.capacity-principles{background:var(--green-dark);color:#fff;padding:22px}.capacity-principles .eyebrow{color:#ffffff73}.capacity-principles>p:not(.eyebrow){color:#ffffffa1;margin:11px 0 18px;font-size:9px;line-height:1.7}.principle-list{gap:8px;display:grid}.principle-list span{color:#fff9;background:#fff1;border-radius:8px;grid-template-columns:58px 1fr;gap:7px;padding:9px;font-size:8px;line-height:1.45;display:grid}.principle-list b{color:var(--lime)}.staffing-panel{min-height:300px}.staffing-list-head,.staffing-row{grid-template-columns:1fr 1.05fr .75fr .68fr .72fr 1.45fr 70px;align-items:center;gap:12px;display:grid}.staffing-list-head{color:var(--muted);letter-spacing:.05em;padding:0 9px 9px;font-size:7px;font-weight:800}.staffing-row{border-top:1px solid var(--line);min-height:76px;padding:10px 9px;font-size:8px}.staffing-row.shortage{background:#fff9f7;border-top-color:#f1d2cd;margin:0 -7px;padding-inline:16px}.staffing-row.tight{background:#fffdf7}.staffing-row>span{min-width:0}.staffing-row b,.staffing-row small{display:block}.staffing-row b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.staffing-row small{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:7px;line-height:1.45;display:-webkit-box;overflow:hidden}.capacity-advice{color:var(--green);background:#edf7f3;border-radius:8px;gap:7px;margin:8px 0;padding:8px 9px;display:flex}.capacity-advice svg{flex:none}.capacity-advice b,.capacity-advice small{display:block}.capacity-advice b{font-size:8px}.capacity-advice small{color:#667a74;margin-top:3px;font-size:7px;line-height:1.5}.staffing-modal-summary{background:#f3f7f5;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:9px;padding:13px;display:grid}.staffing-modal-summary span{border-left:1px solid var(--line);padding-left:12px}.staffing-modal-summary span:first-child{border:0;padding-left:0}.staffing-modal-summary small,.staffing-modal-summary b{display:block}.staffing-modal-summary small{color:var(--muted);font-size:8px}.staffing-modal-summary b{margin-top:6px;font-size:11px}.staffing-suggestions{gap:7px;display:grid}.staffing-suggestions h3{color:var(--green);align-items:center;gap:6px;margin-bottom:2px;display:flex}.staffing-suggestions>div{border:1px solid var(--line);border-radius:9px;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;padding:10px;display:grid}.staffing-suggestions>div>span{background:var(--green-soft);width:29px;height:29px;color:var(--green);border-radius:8px;place-items:center;display:grid}.staffing-suggestions b,.staffing-suggestions small{display:block}.staffing-suggestions b{font-size:9px}.staffing-suggestions small{color:var(--muted);margin-top:3px;font-size:7px;line-height:1.5}.staffing-suggestions em{color:var(--green);white-space:nowrap;font-size:7px;font-style:normal;font-weight:800}.permission-gate-card{min-height:430px;padding:34px}.permission-gate-icon{background:var(--green-soft);width:52px;height:52px;color:var(--green);border-radius:15px;place-items:center;margin-bottom:20px;display:grid}.permission-gate-card>h2{margin:8px 0 12px;font-size:20px}.permission-gate-card>p:not(.eyebrow){max-width:600px;color:var(--muted);font-size:10px;line-height:1.8}.permission-gate-form{gap:12px;max-width:520px;margin-top:24px;display:grid}.permission-gate-form label span{color:var(--muted);margin-bottom:6px;font-size:8px;font-weight:800;display:block}.permission-gate-form input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;outline:0;padding:0 12px}.permission-gate-form input:focus{border-color:#7fb8a8;box-shadow:0 0 0 3px #2f7a6517}.permission-gate-form button{justify-self:start}.gate-primary-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.gate-owner-note,.gate-lock-warning{background:var(--amber-soft);color:#946017;border-radius:9px;align-items:center;gap:9px;margin-top:24px;padding:12px;font-size:9px;display:flex}.gate-policy-note{color:var(--muted);margin-top:18px;font-size:8px;line-height:1.6;display:block}.permission-unlocked-banner{color:var(--green);background:#eef9f4;border:1px solid #b9ddce;border-radius:10px;align-items:center;gap:10px;margin-bottom:18px;padding:11px 13px;display:flex}.permission-unlocked-banner>span{flex:1}.permission-unlocked-banner b,.permission-unlocked-banner small{display:block}.permission-unlocked-banner b{font-size:9px}.permission-unlocked-banner small{color:#6c807a;margin-top:3px;font-size:7px}.permission-unlocked-banner button{color:var(--green);background:#fff;border:1px solid #b9ddce;border-radius:7px;padding:6px 9px;font-size:8px;font-weight:800}.change-gate-password{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.change-gate-password summary{cursor:pointer;color:var(--muted);font-size:8px;font-weight:800}.change-gate-password .permission-gate-form{grid-template-columns:repeat(3,1fr);max-width:none}.change-gate-password button{grid-column:1/-1}.change-gate-password .gate-policy-note{grid-column:1/-1;margin-top:0}.password-strength{color:var(--muted);grid-template-columns:86px auto 1fr;align-items:center;gap:8px;font-size:8px;display:grid}.password-strength>span{background:#e4e9e7;border-radius:4px;height:5px;overflow:hidden}.password-strength>span i{border-radius:inherit;background:var(--red);width:0;height:100%;transition:width .18s;display:block}.password-strength b{white-space:nowrap;font-size:8px}.password-strength small{font-size:7px;line-height:1.45}.password-strength.weak>span i{background:var(--red);width:30%}.password-strength.weak b{color:var(--red)}.password-strength.medium>span i{background:var(--amber);width:65%}.password-strength.medium b{color:var(--amber)}.password-strength.strong>span i{background:var(--green);width:100%}.password-strength.strong b{color:var(--green)}.forgot-password-panel,.gate-owner-settings{border-top:1px solid var(--line);margin-top:20px}.forgot-password-panel{padding-top:15px}.forgot-password-panel summary,.gate-owner-settings summary{cursor:pointer;color:var(--green);font-size:8px;font-weight:800}.forgot-password-panel .permission-gate-form{background:#f6f8f7;border-radius:10px;margin-top:15px;padding:15px}.reset-panel-head{justify-content:space-between;align-items:flex-start;gap:12px;max-width:520px;display:flex}.reset-panel-head b,.reset-panel-head small{display:block}.reset-panel-head b{color:var(--ink);font-size:10px}.reset-panel-head small{color:var(--muted);margin-top:4px;font-size:8px;line-height:1.55}.reset-panel-head>button{border:1px solid var(--line);width:28px;height:28px;color:var(--muted);background:#fff;border-radius:8px;flex:none;place-items:center;display:grid}.recovery-missing-banner{color:#926312;background:#fffbec;border:1px solid #ead9a8;border-radius:10px;align-items:center;gap:10px;margin-bottom:17px;padding:11px 13px;display:flex}.recovery-missing-banner b,.recovery-missing-banner small{display:block}.recovery-missing-banner b{font-size:9px}.recovery-missing-banner small{margin-top:3px;font-size:7px;line-height:1.45}.gate-owner-settings{grid-template-columns:1fr 1fr;gap:18px;padding-top:15px;display:grid}.gate-owner-settings .change-gate-password{border:0;margin:0;padding:0}.gate-owner-settings .permission-gate-form{grid-template-columns:1fr}.recovery-overlay{z-index:100}.recovery-code-card{text-align:center;max-width:590px;padding:34px}.recovery-code-icon{background:var(--green-soft);width:54px;height:54px;color:var(--green);border-radius:15px;place-items:center;margin:0 auto 16px;display:grid}.recovery-code-card h2{margin:8px 0 11px;font-size:21px}.recovery-code-card>p:not(.eyebrow){color:var(--muted);font-size:9px;line-height:1.7}.recovery-code-card code{overflow-wrap:anywhere;color:var(--green-dark);letter-spacing:.06em;-webkit-user-select:all;user-select:all;background:#f2faf6;border:1px dashed #77a798;border-radius:11px;margin:22px 0 10px;padding:16px 12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;font-weight:900;display:block}.recovery-copy{margin:0 auto}.recovery-storage-note{background:var(--amber-soft);color:#8a611c;text-align:left;border-radius:9px;align-items:flex-start;gap:9px;margin:18px 0;padding:12px;font-size:8px;line-height:1.6;display:flex}.recovery-storage-note svg{flex:none}.invite-link-card{text-align:center;width:min(680px,96vw);padding:34px}.invite-link-card h2{margin:8px 0 11px;font-size:21px}.invite-link-card>p:not(.eyebrow){color:var(--muted);font-size:9px;line-height:1.7}.invite-link-card code{overflow-wrap:anywhere;color:var(--green-dark);-webkit-user-select:all;user-select:all;background:#f2faf6;border:1px dashed #77a798;border-radius:10px;margin:20px 0 12px;padding:14px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1.6;display:block}.invite-copy-button{margin:0 auto}.invite-safety-note{background:var(--amber-soft);color:#8a611c;text-align:left;border-radius:9px;align-items:flex-start;gap:9px;margin:18px 0 10px;padding:12px;display:flex}.invite-safety-note svg{flex:none}.invite-safety-note b,.invite-safety-note small{display:block}.invite-safety-note b{font-size:9px}.invite-safety-note small{margin-top:4px;font-size:8px;line-height:1.6}.invite-expiry{color:var(--muted);margin-bottom:16px;font-size:8px;display:block}.invite-link-card .full-button{width:100%}.recovery-ack{text-align:left;margin-bottom:16px}.recovery-code-card .full-button{width:100%}.production-page{gap:16px;display:grid}.production-metrics{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.production-metric{align-items:center;gap:13px;min-height:96px;padding:18px;display:flex}.production-metric>span{background:var(--green-soft);width:38px;height:38px;color:var(--green);border-radius:11px;flex:none;place-items:center;display:grid}.production-metric small,.production-metric strong{display:block}.production-metric small{color:var(--muted);font-size:8px}.production-metric strong{margin-top:5px;font-size:21px;display:inline-block}.production-metric em{color:var(--muted);margin-left:4px;font-size:8px;font-style:normal}.module-note{max-width:760px;color:var(--muted);margin-top:6px;font-size:8px;line-height:1.55}.production-node-head,.production-node-row{grid-template-columns:1.15fr .8fr 1.15fr .8fr .8fr 78px;align-items:center;gap:12px;display:grid}.production-node-head,.production-report-head{color:var(--muted);letter-spacing:.04em;padding:0 9px 9px;font-size:7px;font-weight:800}.production-node-row{border-top:1px solid var(--line);min-height:72px;padding:10px 9px;font-size:8px}.production-node-row.is-blocked{background:#fff9f3}.production-node-row>span{min-width:0}.production-node-row b,.production-node-row small{display:block}.production-node-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:7px;overflow:hidden}.production-node-row .progress-line{margin-bottom:5px}.production-node-row .progress-line i{border-radius:inherit;background:var(--green);height:100%;display:block}.compact-button{min-height:31px;padding:0 10px;font-size:8px}.production-report-head,.production-report-row{grid-template-columns:.75fr 1fr 1.05fr 1.1fr .72fr .9fr .82fr;align-items:center;gap:11px;display:grid}.production-report-row{border-top:1px solid var(--line);min-height:72px;padding:10px 9px;font-size:8px}.production-report-row.is-reversed{opacity:.58;background:#f7f8f7}.production-report-row>span{min-width:0}.production-report-row b,.production-report-row small{display:block}.production-report-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:7px;line-height:1.4;overflow:hidden}.production-report-row>span:last-child{align-items:center;gap:5px;display:flex}.reverse-report-button{color:var(--red);background:#fff;border:1px solid #edd3cf;border-radius:7px;align-items:center;gap:3px;padding:5px 6px;font-size:7px;font-weight:800;display:inline-flex}.production-empty{min-height:130px;color:var(--muted);align-content:center;place-items:center;gap:9px;font-size:9px;display:grid}.production-modal-summary{background:#f3f7f5;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:9px;padding:13px;display:grid}.production-modal-summary span{border-left:1px solid var(--line);padding-left:12px}.production-modal-summary span:first-child{border:0;padding-left:0}.production-modal-summary small,.production-modal-summary b{display:block}.production-modal-summary small{color:var(--muted);font-size:8px}.production-modal-summary b{margin-top:5px;font-size:10px}.quantity-balance{border-radius:9px;align-items:center;gap:8px;padding:10px 12px;font-size:8px;display:flex}.quantity-balance.balanced{color:var(--green);background:#edf8f2}.quantity-balance.unbalanced{background:var(--red-soft);color:var(--red)}.voided-page{gap:16px;display:grid}.voided-notice{color:#66736f;background:#f7f8f7;border:1px solid #d9dfdc;border-radius:12px;align-items:flex-start;gap:11px;padding:14px 16px;display:flex}.voided-notice svg{flex:none;margin-top:1px}.voided-notice strong,.voided-notice span{display:block}.voided-notice strong{font-size:10px}.voided-notice span{color:#84908d;margin-top:4px;font-size:8px;line-height:1.6}.voided-metrics{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.voided-metric{align-items:center;gap:13px;min-height:96px;padding:18px;display:flex}.voided-metric>span{color:#687670;background:#eef1ef;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.voided-metric.quantity>span{color:var(--green);background:#eef5f2}.voided-metric.month>span{background:var(--amber-soft);color:var(--amber)}.voided-metric.workshop>span{color:#65709b;background:#eef0f7}.voided-metric small,.voided-metric strong{display:block}.voided-metric small{color:var(--muted);font-size:8px}.voided-metric strong{margin-top:5px;font-size:21px;display:inline-block}.voided-metric em{color:var(--muted);margin-left:4px;font-size:8px;font-style:normal}.voided-analysis-grid{grid-template-columns:1.18fr .82fr;gap:16px;display:grid}.voided-analysis-card{min-height:250px;padding:22px}.voided-analysis-card .panel-head{margin-bottom:9px}.analysis-note{color:var(--muted);margin:0 0 15px;font-size:8px;line-height:1.55}.breakdown-list{gap:10px;display:grid}.breakdown-row{grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px 12px;display:grid}.breakdown-row>div{min-width:0}.breakdown-row b,.breakdown-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.breakdown-row b{font-size:9px}.breakdown-row small{color:var(--muted);margin-top:3px;font-size:7px}.breakdown-row>span{color:#75827f;text-align:right;font-size:8px;font-weight:800}.breakdown-row>i{background:#edf1ef;border-radius:8px;grid-column:1/-1;height:4px;overflow:hidden}.breakdown-row>i>em{border-radius:inherit;background:#899792;min-width:3px;height:100%;display:block}.breakdown-empty{min-height:105px;color:var(--muted);place-items:center;font-size:9px;display:grid}.workshop-breakdown{gap:9px;display:grid}.workshop-breakdown>div:not(.breakdown-empty){border:1px solid var(--line);border-radius:10px;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:11px;display:grid}.workshop-breakdown>div>span{color:#74827d;background:#f0f3f1;border-radius:9px;place-items:center;width:33px;height:33px;display:grid}.workshop-breakdown b,.workshop-breakdown small{display:block}.workshop-breakdown b{font-size:9px}.workshop-breakdown div>div>small{color:var(--muted);margin-top:4px;font-size:7px}.workshop-breakdown>div>strong{font-size:18px}.workshop-breakdown>div>strong small{color:var(--muted);margin-left:3px;font-size:7px;display:inline}.voided-list-panel{min-height:380px}.voided-toolbar{align-items:flex-end}.voided-filter-group{justify-content:flex-end;align-items:flex-end;gap:9px;display:flex}.voided-filter-group label>span{color:var(--muted);margin-bottom:5px;font-size:7px;font-weight:800;display:block}.voided-filter-group select{border:1px solid var(--line);min-width:112px;height:36px;color:var(--ink);background:#fafcfb;border-radius:9px;outline:none;padding:0 28px 0 10px;font-size:9px}.voided-filter-group select:focus{background:#fff;border-color:#9eb6ae}.voided-filter-group .result-count{text-align:right;min-width:92px;padding-bottom:10px}.voided-orders-head,.voided-order-row{grid-template-columns:1.1fr 1.05fr .72fr 1.35fr 1.15fr 54px;align-items:center;gap:13px;display:grid}.voided-orders-head{color:#97a4a1;letter-spacing:.06em;min-height:36px;padding:0 10px;font-size:8px;font-weight:800}.voided-order-row{border-top:1px solid var(--line);min-height:78px;padding:10px}.voided-order-row:hover{background:#f8faf9;border-radius:10px}.voided-order-row>span{min-width:0}.voided-order-row b,.voided-order-row small{display:block}.voided-order-row b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.45;overflow:hidden}.voided-order-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:7px;line-height:1.45;overflow:hidden}.voided-order-row>span:nth-child(5) small{align-items:center;gap:4px;display:flex}.voided-order-row .voided-reason b{white-space:normal}.voided-detail-button{border:1px solid var(--line);color:#687670;background:#fff;border-radius:8px;min-height:29px;padding:0 8px;font-size:8px;font-weight:800}.voided-detail-button:hover{color:var(--ink);border-color:#aebcb7}.voided-empty{color:#899591;align-content:center;place-items:center;gap:8px;min-height:155px;display:grid}.voided-empty strong{font-size:10px}.voided-empty span{color:var(--muted);font-size:8px}.schedule-page{gap:16px;display:grid}.schedule-metrics{grid-template-columns:repeat(5,minmax(135px,1fr));gap:12px;display:grid}.schedule-metric{align-items:flex-start;gap:12px;min-height:104px;padding:17px;display:flex;box-shadow:0 8px 24px #17443a0b}.schedule-metric>span{background:var(--green-soft);width:34px;height:34px;color:var(--green);border-radius:10px;flex:none;place-items:center;display:grid}.schedule-metric.amber>span{background:var(--amber-soft);color:var(--amber)}.schedule-metric.blue>span{color:#31728f;background:#e8f2f7}.schedule-metric.purple>span{background:var(--purple-soft);color:var(--purple)}.schedule-metric.red>span{background:var(--red-soft);color:var(--red)}.schedule-metric>div{min-width:0}.schedule-metric small,.schedule-metric strong,.schedule-metric p{display:block}.schedule-metric small{color:var(--muted);font-size:8px;font-weight:700}.schedule-metric strong{letter-spacing:-.04em;margin-top:5px;font-size:24px;line-height:1}.schedule-metric strong em{color:var(--muted);letter-spacing:0;margin-left:3px;font-size:9px;font-style:normal}.schedule-metric p{color:#8b9995;text-overflow:ellipsis;white-space:nowrap;margin:8px 0 0;font-size:8px;overflow:hidden}.schedule-focus{background:linear-gradient(100deg,#f1f9f5 0,#fff 72%);border-color:#0b715f26;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:74px;padding:15px 18px;display:grid}.schedule-focus-icon{background:var(--green);color:#fff;border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.schedule-focus .eyebrow{margin-bottom:5px}.schedule-focus strong,.schedule-focus span{display:block}.schedule-focus strong{font-size:12px}.schedule-focus div>span{color:var(--muted);margin-top:4px;font-size:9px}.schedule-workbench{min-width:0;padding:20px}.schedule-toolbar{border-bottom:1px solid var(--line);align-items:flex-end;gap:9px;padding-bottom:14px;display:flex}.schedule-mode{background:#edf3f0;border-radius:10px;flex:none;gap:3px;padding:3px;display:flex}.schedule-mode button{color:#788984;background:0 0;border:0;border-radius:8px;align-items:center;gap:5px;min-height:32px;padding:0 11px;font-size:9px;font-weight:800;display:inline-flex}.schedule-mode button.active{color:var(--green);background:#fff;box-shadow:0 2px 8px #17443a14}.schedule-search{border:1px solid var(--line);color:#93a09d;border-radius:9px;flex:1;align-items:center;gap:7px;min-width:190px;height:38px;padding:0 11px;display:flex}.schedule-search:focus-within{border-color:#8bbcaf;box-shadow:0 0 0 3px #e8f4f0}.schedule-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:9px}.schedule-toolbar>label:not(.schedule-search)>span{color:var(--muted);margin-bottom:5px;font-size:7px;font-weight:800;display:block}.schedule-toolbar select{border:1px solid var(--line);min-width:100px;height:38px;color:var(--ink);background:#fafcfb;border-radius:9px;outline:0;padding:0 27px 0 9px;font-size:9px}.schedule-toolbar select:focus{background:#fff;border-color:#8bbcaf}.schedule-result{min-width:55px;color:var(--muted);text-align:right;white-space:nowrap;padding-bottom:10px;font-size:8px;font-weight:800}.schedule-export-button{min-height:38px;color:var(--green);white-space:nowrap;background:#eff8f5;border:1px solid #9fc9bd;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:8px;font-weight:900;display:inline-flex}.schedule-export-button:hover{border-color:var(--green);background:#fff}.schedule-legend{color:var(--muted);flex-wrap:wrap;gap:14px;padding:13px 2px;font-size:8px;display:flex}.schedule-legend span{align-items:center;gap:5px;display:inline-flex}.schedule-legend i{background:#d9e0dd;border-radius:3px;width:8px;height:8px}.schedule-legend i.completed{background:var(--green)}.schedule-legend i.in-progress{background:#3b87a8}.schedule-legend i.pending{background:var(--amber)}.schedule-legend i.delayed{background:var(--red)}.schedule-legend i.blocked{background:var(--purple)}.schedule-empty{color:#91a09c;text-align:center;align-content:center;place-items:center;gap:7px;min-height:220px;display:grid}.schedule-empty svg{color:var(--green)}.schedule-empty strong{color:var(--ink);font-size:11px}.schedule-empty span{font-size:9px}.batch-flow-list{gap:12px;display:grid}.batch-flow-card{border:1px solid var(--line);border-left:4px solid var(--green);background:#fff;border-radius:13px;min-width:0;overflow:hidden}.batch-flow-card.risk-warning{border-left-color:var(--amber)}.batch-flow-card.risk-delayed{border-left-color:var(--red)}.batch-flow-card.risk-blocked{border-left-color:var(--purple)}.batch-flow-card>header{grid-template-columns:minmax(190px,1.25fr) 78px minmax(190px,.9fr) auto;align-items:center;gap:13px;padding:14px 16px 11px;display:grid}.batch-order-title{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.batch-order-title>span{min-width:0}.batch-order-title b,.batch-order-title small{display:block}.batch-order-title b{font-size:14px}.batch-order-title small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:8px;overflow:hidden}.batch-order-title svg{color:#9eaaa7;flex:none}.batch-progress{align-items:center;gap:6px;display:flex}.batch-progress>span{--batch-progress:0%;background:conic-gradient(var(--green) var(--batch-progress), #e8efec 0);border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:relative}.batch-progress>span:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:5px}.batch-progress b{z-index:1;font-size:8px}.batch-progress>small{color:var(--muted);font-size:7px}.batch-delivery{gap:5px;display:grid}.batch-delivery span{color:var(--muted);justify-content:space-between;gap:8px;font-size:8px;display:flex}.batch-delivery b{color:var(--ink)}.batch-delivery b.late{color:var(--red)}.schedule-risk{background:var(--green-soft);min-width:42px;min-height:24px;color:var(--green);border-radius:14px;justify-content:center;align-items:center;padding:0 8px;font-size:8px;font-weight:900;display:inline-flex}.schedule-risk.risk-warning{background:var(--amber-soft);color:var(--amber)}.schedule-risk.risk-delayed{background:var(--red-soft);color:var(--red)}.schedule-risk.risk-blocked{background:var(--purple-soft);color:var(--purple)}.batch-current-line{border-top:1px solid var(--line);min-height:34px;color:var(--muted);background:#f8faf9;align-items:center;gap:8px;padding:7px 16px;font-size:8px;display:flex}.batch-current-line strong{color:var(--ink)}.batch-current-line i{background:#bdc9c5;width:17px;height:1px}.batch-current-line small{white-space:nowrap;margin-left:auto}.batch-stage-scroll{overscroll-behavior-x:contain;scrollbar-color:#c4d3ce transparent;overflow-x:auto}.batch-stages{min-width:max(100%, calc(var(--stage-count) * 118px));grid-template-columns:repeat(var(--stage-count), minmax(112px, 1fr));padding:12px 14px 15px;display:grid}.batch-stage{border:0;border-right:1px solid var(--line);text-align:left;background:#fff;grid-template-rows:auto auto auto;grid-template-columns:22px minmax(0,1fr);gap:2px 6px;min-width:0;padding:5px 9px 4px 4px;display:grid;position:relative}.batch-stage:last-child{border-right:0}.batch-stage>span{color:#74837f;background:#e9efec;border-radius:50%;grid-row:1/3;place-items:center;width:21px;height:21px;font-size:7px;font-weight:900;display:grid}.batch-stage.completed>span{background:var(--green);color:#fff}.batch-stage.in-progress>span{color:#fff;background:#3b87a8}.batch-stage.pending>span{background:var(--amber);color:#fff}.batch-stage.delayed>span{background:var(--red);color:#fff}.batch-stage.blocked>span{background:var(--purple);color:#fff}.batch-stage b{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.batch-stage small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.batch-stage em{color:#85938f;grid-column:1/-1;font-size:7px;font-style:normal}.batch-stage>i{background:#e9efec;border-radius:4px;grid-column:1/-1;height:3px;overflow:hidden}.batch-stage>i u{border-radius:inherit;background:var(--green);height:100%;text-decoration:none;display:block}.schedule-timeline-shell{border:1px solid var(--line);border-radius:12px;overflow-x:auto}.schedule-timeline{min-width:var(--timeline-width)}.timeline-calendar-head,.timeline-order-row{grid-template-columns:210px minmax(0,1fr);display:grid}.timeline-calendar-head{border-bottom:1px solid var(--line);background:#f8faf9;min-height:58px}.timeline-order-column{border:0;border-right:1px solid var(--line);text-align:left;background:0 0;min-width:0;padding:12px 14px}.timeline-order-column b,.timeline-order-column small{display:block}.timeline-order-column b{font-size:9px}.timeline-order-column small{color:var(--muted);margin-top:4px;font-size:7px}.timeline-axis,.timeline-lane{position:relative}.timeline-axis>span{position:absolute;top:12px;transform:translate(-1px)}.timeline-axis>span b,.timeline-axis>span small{display:block}.timeline-axis>span b{font-size:8px}.timeline-axis>span small{color:var(--muted);margin-top:4px;font-size:7px}.today-line{z-index:2;background:var(--red);width:1px;position:absolute;inset:0 auto}.today-line em{color:var(--red);font-size:7px;font-style:normal;position:absolute;top:-1px;left:4px}.timeline-order-row{border-bottom:1px solid var(--line);min-height:64px}.timeline-order-row:last-child{border-bottom:0}.timeline-order-row>button{justify-content:space-between;align-items:center;gap:8px;display:flex}.timeline-order-row>button span{min-width:0}.timeline-order-row>button strong{color:var(--green);font-size:12px}.timeline-gridline{background:#edf1ef;width:1px;position:absolute;inset:0 auto}.timeline-node-bar{z-index:1;min-width:44px;height:38px;color:var(--green);text-align:left;background:#dcefe8;border:0;border-radius:8px;padding:6px 8px;position:absolute;top:13px;overflow:hidden}.timeline-node-bar.in-progress{color:#2f6e89;background:#dcecf3}.timeline-node-bar.pending{background:var(--amber-soft);color:#9d6414}.timeline-node-bar.delayed{background:var(--red-soft);color:var(--red)}.timeline-node-bar.blocked{background:var(--purple-soft);color:var(--purple)}.timeline-node-bar b,.timeline-node-bar small{z-index:1;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;overflow:hidden}.timeline-node-bar b{font-size:8px}.timeline-node-bar small{margin-top:3px;font-size:6px}.timeline-plan-width{opacity:.45;background:currentColor;height:3px;position:absolute;inset:auto auto 0 0}.timeline-node-bar.shifted{box-shadow:inset -3px 0}.modal-card:has(.account-permission-form){width:min(980px,96vw)}.account-permission-form{align-items:start}.permission-editor{border:1px solid var(--line);background:#f8faf9;border-radius:12px;padding:16px}.permission-editor-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.permission-editor-head h3{font-size:13px}.permission-editor-head small{color:var(--muted);margin-top:5px;font-size:8px;line-height:1.5;display:block}.permission-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.permission-groups fieldset{border:1px solid var(--line);background:#fff;border-radius:10px;gap:6px;min-width:0;margin:0;padding:10px;display:grid}.permission-groups legend{color:var(--green);letter-spacing:.05em;padding:0 5px;font-size:8px;font-weight:900}.permission-option{cursor:pointer;background:#fafcfb;border:1px solid #0000;border-radius:8px;grid-template-columns:17px minmax(0,1fr);align-items:flex-start;gap:8px;min-width:0;padding:8px;display:grid!important}.permission-option.checked{background:#eef8f4;border-color:#c7e1d8}.permission-option input{accent-color:var(--green);margin:1px 0 0;width:15px!important;height:15px!important}.permission-option input:disabled{cursor:not-allowed}.permission-option>label{cursor:pointer;min-width:0}.permission-option input:disabled+label{cursor:not-allowed}.permission-option b,.permission-option small{display:block}.permission-option b{color:var(--ink);font-size:9px}.permission-option small{color:var(--muted);margin-top:3px;font-size:7px;font-weight:400;line-height:1.45}.permission-safety-note{background:var(--amber-soft);color:#8e5c13;border-radius:8px;align-items:flex-start;gap:7px;margin-top:10px;padding:9px 10px;font-size:8px;line-height:1.5;display:flex}.permission-safety-note svg{flex:none}@media (max-width:1180px){.schedule-metrics{grid-template-columns:repeat(3,1fr)}.schedule-toolbar{flex-wrap:wrap;align-items:stretch}.schedule-search{flex-basis:calc(100% - 65px);order:3}.schedule-result{order:4}.batch-flow-card>header{grid-template-columns:minmax(190px,1fr) 78px minmax(180px,.8fr) auto}}@media (max-width:900px){.schedule-metrics{grid-template-columns:repeat(2,1fr)}.schedule-metric:last-child{grid-column:1/-1}.batch-flow-card>header{grid-template-columns:minmax(180px,1fr) 70px auto}.batch-delivery{grid-area:2/1/auto/-1;gap:20px;display:flex}.batch-delivery span{justify-content:flex-start;gap:6px}.permission-groups{grid-template-columns:1fr}}@media (max-width:660px){.orders-toolbar{flex-wrap:wrap;align-items:stretch}.orders-toolbar .search-box,.orders-toolbar .toolbar-select{width:100%}.orders-toolbar .result-count{margin-left:0}.schedule-metrics{grid-template-columns:1fr 1fr;gap:9px}.schedule-metric{min-height:96px;padding:13px}.schedule-metric:last-child{grid-column:1/-1}.schedule-focus{grid-template-columns:36px 1fr}.schedule-focus .secondary-button{grid-column:1/-1}.schedule-workbench{padding:14px}.schedule-mode{width:100%}.schedule-mode button{flex:1}.schedule-search{flex-basis:100%;order:2;min-width:0}.schedule-toolbar>label:not(.schedule-search){flex:1;order:3}.schedule-toolbar select{width:100%}.schedule-export-button{flex:1;order:4}.schedule-result{text-align:right;flex:1;order:4;width:auto;padding:10px 0 0}.batch-flow-card>header{grid-template-columns:minmax(0,1fr) auto}.batch-progress{grid-row:2}.batch-delivery{flex-direction:column;grid-area:3/1/auto/-1;gap:4px}.schedule-risk{grid-area:1/2}.batch-current-line{flex-wrap:wrap;align-items:flex-start}.batch-current-line small{width:100%;margin:0}.batch-stages{padding-inline:10px}.permission-editor{padding:12px}.permission-editor-head{flex-direction:column}.permission-editor-head .secondary-button{width:100%}.permission-option{min-height:52px}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-in{0%{opacity:.5;transform:translate(30px)}}@keyframes modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}@media (max-width:1180px){.metrics{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.security-layout,.capacity-layout{grid-template-columns:1fr}.personnel-metrics{grid-template-columns:repeat(3,1fr)}.tasks-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.flow-preview{grid-template-columns:repeat(3,1fr)}.capacity-principles{display:none}.personnel-list-head,.personnel-row{grid-template-columns:1.2fr 1fr .8fr .72fr 1fr 62px}.personnel-list-head span:nth-child(5),.personnel-row>span:nth-child(5){display:none}.staffing-list-head,.staffing-row{grid-template-columns:1fr 1fr .75fr .72fr 1.25fr 70px}.staffing-list-head span:nth-child(4),.staffing-row>span:nth-child(4){display:none}}@media (max-width:900px){.sidebar{width:76px;padding:20px 10px 16px}.brand{padding:0 9px 27px}.brand>span:last-child,.nav-item span,.system-state,.sidebar-divider,.sidebar-foot>div,.sidebar-foot>svg{display:none}.nav-item{justify-content:center;padding:0}.nav-item em{margin:-25px 0 0 28px;position:absolute}.nav-item.active:after{display:none}.sidebar-foot{justify-content:center;padding:17px 0 0}.main-area{margin-left:76px;padding:28px 20px 45px}.orders-list-head,.order-list-row{grid-template-columns:1.2fr 1.1fr 1fr .7fr 16px}.orders-list-head span:nth-child(3),.order-list-row span:nth-child(3){display:none}.exceptions-layout{grid-template-columns:1fr}.rule-card{display:none}}@media (max-width:660px){.main-area{padding:22px 13px 38px}.topbar{flex-direction:column}.top-actions{width:100%}.top-actions .primary-button{flex:1}.metrics{grid-template-columns:repeat(2,1fr)}.metric-card{min-height:132px}.hero-metric{grid-column:span 2}.orders-panel,.pulse-panel,.actions-panel,.decisions-panel,.module-panel,.template-card{padding:17px}.table-row{grid-template-columns:1.3fr .8fr .6fr 15px}.table-row>span:nth-child(2),.table-row.table-head span:nth-child(2){display:none}.tasks-grid{grid-template-columns:1fr}.orders-list-head,.order-list-row{grid-template-columns:1.15fr .95fr .65fr 16px}.orders-list-head span:nth-child(2),.order-list-row span:nth-child(2){display:none}.flow-preview{grid-template-columns:1fr 1fr}.exception-row{grid-template-columns:35px 1fr}.exception-row>.secondary-button,.exception-row>.resolved-label{grid-column:2;justify-self:start}.drawer-summary{grid-template-columns:1fr 1fr;gap:14px}.drawer-summary>div{border:0;padding:0}.order-drawer{width:100vw;padding:20px 15px}.form-grid{grid-template-columns:1fr;padding:20px}.span-2{grid-column:auto}.date-comparison{grid-template-columns:1fr}.date-comparison>svg{transform:rotate(90deg)}.evaluation-stats{grid-template-columns:1fr 1fr;gap:14px}.evaluation-stats span{border:0;padding:0}.suggestion-list>div{grid-template-columns:35px 1fr}.suggestion-list em{grid-column:2}.modal-head{padding:20px}}@media (max-width:1180px){.production-metrics,.voided-metrics{grid-template-columns:repeat(2,1fr)}.voided-analysis-grid{grid-template-columns:1fr}.voided-toolbar{flex-direction:column;align-items:stretch}.voided-filter-group{justify-content:flex-start}.voided-filter-group .result-count{margin-left:auto}.production-report-head,.production-report-row{grid-template-columns:.75fr 1fr 1fr 1fr .8fr}.production-report-head span:nth-child(5),.production-report-row>span:nth-child(5),.production-report-head span:nth-child(6),.production-report-row>span:nth-child(6){display:none}}@media (max-width:660px){.production-node-head,.production-report-head{display:none}.production-node-row{grid-template-columns:1.2fr 1fr 74px}.production-node-row>span:nth-child(2),.production-node-row>span:nth-child(4),.production-node-row>span:nth-child(5){display:none}.production-report-row{grid-template-columns:.75fr 1fr .85fr}.production-report-row>span:nth-child(3),.production-report-row>span:nth-child(4),.production-report-row>span:nth-child(5),.production-report-row>span:nth-child(6){display:none}.change-gate-password .permission-gate-form,.production-modal-summary{grid-template-columns:1fr}.production-modal-summary span{border:0;border-top:1px solid var(--line);padding:8px 0 0}.production-modal-summary span:first-child{border:0;padding-top:0}.gate-owner-settings{grid-template-columns:1fr}.voided-metrics{grid-template-columns:1fr 1fr}.voided-filter-group{flex-wrap:wrap;align-items:stretch}.voided-filter-group label{flex:1}.voided-filter-group select{width:100%}.voided-filter-group .result-count{text-align:left;width:100%;margin:0;padding:0}.voided-orders-head{display:none}.voided-order-row{grid-template-columns:1.15fr 1fr 50px}.voided-order-row>span:nth-child(2),.voided-order-row>span:nth-child(3),.voided-order-row>span:nth-child(5){display:none}.password-strength{grid-template-columns:72px auto}.password-strength small{grid-column:1/-1}.recovery-code-card{padding:27px 18px}.recovery-code-card code{font-size:12px}}@media (max-width:420px){.sidebar{width:61px;padding-inline:7px}.brand{padding-inline:5px}.brand-mark{width:36px}.main-area{margin-left:61px}.health-score{flex-direction:column;align-items:flex-start}.health-legend{width:100%}.template-summary{flex-direction:column;gap:13px}.flow-preview,.voided-metrics{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.access-gate{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 18% 20%,#eaf7ef 0,#0000 34%),#f4f7f5;place-items:center;padding:24px;display:grid}.access-gate section{border:1px solid var(--line);text-align:center;background:#fff;border-radius:22px;width:min(480px,100%);padding:38px;box-shadow:0 20px 60px #082d241f}.access-mark{background:var(--green);color:#fff;border-radius:16px;place-items:center;width:58px;height:58px;margin:0 auto 18px;font-size:24px;font-weight:900;display:grid}.access-gate p{color:var(--green);letter-spacing:.08em;font-size:11px;font-weight:800}.access-gate h1{margin:10px 0 14px;font-size:26px}.access-gate div{color:var(--muted);font-size:12px;line-height:1.75}.access-gate a{background:var(--green);color:#fff;border-radius:10px;margin-top:22px;padding:12px 18px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.access-actions{gap:9px;margin-top:22px;display:grid}.access-gate .access-actions a{justify-content:center;margin-top:0}.access-gate .access-actions .secondary-access{color:var(--green);background:#fff;border:1px solid #bcd6ce}.access-gate small{color:#87948f;margin-top:15px;font-size:9px;line-height:1.6;display:block}.invite-page{background:radial-gradient(circle at 18% 20%,#eaf7ef 0,#0000 34%),#f4f7f5;place-items:center;min-height:100vh;padding:24px;display:grid}.invite-card{border:1px solid var(--line);text-align:center;background:#fff;border-radius:22px;width:min(520px,100%);padding:38px;box-shadow:0 20px 60px #082d241f}.invite-card h1{margin:10px 0 16px;font-size:25px}.invite-card .eyebrow{color:var(--green)}.invite-card.accepted>svg{color:var(--green);margin-bottom:15px}.invite-identity{color:var(--green);text-align:left;background:#f0f7f4;border-radius:10px;align-items:center;gap:10px;margin:18px 0;padding:13px;display:flex}.invite-identity span{min-width:0}.invite-identity b,.invite-identity small{display:block}.invite-identity b{font-size:11px}.invite-identity small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:9px;overflow:hidden}.invite-explainer{color:var(--muted);font-size:10px;line-height:1.75}.invite-signin,.invite-accept{margin:22px auto 0;text-decoration:none}.invite-error{background:var(--red-soft);color:var(--red);text-align:left;border-radius:9px;align-items:flex-start;gap:8px;margin-top:15px;padding:11px;font-size:9px;line-height:1.55;display:flex}.invite-switch{color:var(--green);margin-top:16px;font-size:9px;display:block}@media (max-width:900px){.orders-list-head,.order-list-row{grid-template-columns:1.2fr 1.1fr 1fr .7fr 68px}}@media (max-width:660px){.orders-list-head,.order-list-row{grid-template-columns:1.15fr .95fr .65fr 64px;gap:8px}.exception-actions{flex-wrap:wrap;grid-column:2;justify-self:start}.template-title{flex-wrap:wrap;align-items:flex-start}.template-actions{justify-content:flex-start;width:100%;margin-left:59px}.template-summary{flex-wrap:wrap;align-items:flex-start;gap:12px}.template-summary button{width:100%;margin-left:0}.notification-body{padding:16px}.notification-summary{grid-template-columns:1fr}.personnel-metrics{grid-template-columns:1fr 1fr}.personnel-metric:last-child{grid-column:1/-1}.account-toolbar{flex-direction:column;align-items:flex-start}.personnel-toolbar-actions{justify-content:space-between;width:100%}.personnel-list-head,.staffing-list-head{display:none}.personnel-row{grid-template-columns:1.2fr 1fr 62px}.personnel-row>span:nth-child(3),.personnel-row>span:nth-child(4),.personnel-row>span:nth-child(5),.personnel-row>span:nth-child(6){display:none}.staffing-row,.staffing-row.shortage{grid-template-columns:1fr 1fr 66px;margin:0;padding-inline:9px}.staffing-row>span:nth-child(3),.staffing-row>span:nth-child(4),.staffing-row>span:nth-child(5),.staffing-row>span:nth-child(6){display:none}.staffing-modal-summary{grid-template-columns:1fr}.staffing-modal-summary span{border:0;border-top:1px solid var(--line);padding:8px 0 0}.staffing-modal-summary span:first-child{border:0;padding-top:0}.staffing-suggestions>div{grid-template-columns:30px 1fr}.staffing-suggestions em{grid-column:2}.account-list-head{display:none}.account-row{grid-template-columns:1.1fr 1fr .85fr 58px}.account-row>span:nth-child(3),.account-row>span:nth-child(4){display:none}}.install-app-button{min-height:41px;color:var(--green);background:#fff;box-shadow:0 3px 12px #17443a0a}.install-app-button:hover{background:#f7fbf9;border-color:#a9cec3}.offline-banner{z-index:100;min-height:48px;padding:max(10px, env(safe-area-inset-top)) 18px 10px;color:#8c5811;background:#fff3dc;justify-content:center;align-items:center;gap:10px;font-size:10px;line-height:1.5;display:flex;position:fixed;inset:0 0 auto;box-shadow:0 5px 18px #5a390a29}.offline-banner svg{flex:none}.offline-banner span,.offline-banner b{display:block}.offline-banner b{margin-bottom:1px;font-size:11px}.install-guide{width:min(470px,96vw)}.install-guide-body{padding:24px 26px 27px}.install-guide-icon{background:var(--green-soft);width:48px;height:48px;color:var(--green);border-radius:14px;place-items:center;display:grid}.install-guide ol{color:var(--ink);margin:20px 0;padding-left:23px;font-size:11px;line-height:2}.install-guide-body>p{color:var(--muted);background:#f5f8f6;border-radius:9px;margin:0;padding:12px;font-size:9px;line-height:1.65}@media (max-width:660px){.sidebar{width:auto;height:calc(70px + env(safe-area-inset-bottom));z-index:25;padding:6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));flex-direction:row;align-items:stretch;inset:auto 0 0;box-shadow:0 -8px 24px #082d2424}.brand,.system-state,.sidebar-divider{display:none}.sidebar nav{overscroll-behavior-x:contain;scrollbar-width:none;flex:1;align-items:stretch;gap:3px;min-width:0;display:flex;overflow-x:auto}.sidebar nav::-webkit-scrollbar{display:none}.nav-item{text-align:center;border-radius:9px;flex-direction:column;flex:1 0 61px;justify-content:center;gap:3px;min-width:61px;min-height:54px;padding:4px 3px;font-size:7px;position:relative}.nav-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.nav-item svg{width:18px;height:18px}.nav-item.active:after{display:none}.nav-item em{min-width:16px;height:16px;margin:0;font-size:7px;position:absolute;top:1px;right:7px}.sidebar-foot{border:0;border-left:1px solid #ffffff1f;flex:0 0 57px;justify-content:center;width:57px;min-width:57px;height:auto;margin:0;padding:0 0 0 6px}.sidebar-foot .avatar{width:35px;height:35px;display:grid}.sidebar-foot>div,.sidebar-foot>svg{display:none}.main-area{padding:calc(20px + env(safe-area-inset-top)) max(13px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(13px, env(safe-area-inset-left));margin-left:0}.topbar{gap:14px}.top-actions{flex-wrap:wrap}.top-actions .install-app-button{flex:none}.top-actions .primary-button{min-width:120px}.task-actions button,.inline-actions button,.compact-button,.row-actions button,.flow-actions button,.template-actions button,.template-summary button,.exception-actions button{min-height:42px}.toast{right:13px;bottom:calc(84px + env(safe-area-inset-bottom));justify-content:center;left:13px}.offline-banner{justify-content:flex-start}}@media (max-width:420px){.sidebar{width:auto;padding-inline:5px}.main-area{margin-left:0}.nav-item{flex-basis:58px;min-width:58px}.install-app-button span{display:none}.install-app-button{width:41px;padding:0}.install-guide-body{padding:20px}}.drawer-allocation-section{background:#f8fbfa;border:1px solid #dce8e3;border-radius:16px;margin:16px 0 18px;padding:14px}.drawer-allocation-head,.drawer-allocation-head>div,.drawer-allocation-list>div,.allocation-rule-note,.allocation-balance,.allocation-outsource-note{align-items:center;display:flex}.drawer-allocation-head{justify-content:space-between;gap:12px;margin-bottom:10px}.drawer-allocation-head>div{align-items:baseline;gap:8px}.drawer-allocation-head span,.drawer-allocation-help,.drawer-allocation-list small{color:#6c817a;font-size:9px}.drawer-allocation-head button{color:#08705f;cursor:pointer;background:#e5f4ef;border:0;border-radius:9px;align-items:center;gap:5px;padding:7px 10px;font-size:9px;font-weight:700;display:inline-flex}.drawer-allocation-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:9px;display:grid}.drawer-allocation-list>div{background:#fff;border:1px solid #d9e9e4;border-radius:11px;grid-template-columns:1fr auto;gap:4px 8px;padding:10px;display:grid}.drawer-allocation-list>div.outsource{background:#fffdf7;border-color:#eadfc5}.drawer-allocation-list span{align-items:center;gap:6px;min-width:0;display:inline-flex}.drawer-allocation-list small{grid-column:1/-1}.allocation-pill{color:#936018;background:#fff0ce;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:800}.allocation-modal{width:min(930px,100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.allocation-form{gap:14px;padding:0 25px 24px;display:grid}.allocation-rule-note,.allocation-balance,.allocation-outsource-note{border-radius:12px;gap:10px;padding:12px 14px;font-size:10px}.allocation-rule-note{color:#164f45;background:#eaf6f2}.allocation-rule-note span,.allocation-balance span{gap:2px;display:grid}.allocation-rule-note small,.allocation-balance small{color:#607a73}.allocation-table-head,.allocation-draft-row{grid-template-columns:132px minmax(170px,1.35fr) minmax(120px,.75fr) minmax(145px,.9fr) 38px;align-items:center;gap:9px;display:grid}.allocation-table-head{color:#688078;padding:0 8px;font-size:9px;font-weight:700}.allocation-draft-list{gap:10px;display:grid}.allocation-draft-row{background:#fbfdfc;border:1px solid #dce8e3;border-radius:13px;padding:12px}.allocation-draft-row input,.allocation-draft-row select,.allocation-reason textarea{color:#173f37;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #cfded9;border-radius:9px;padding:9px 10px}.allocation-draft-row>label{color:#6c817a;grid-column:1/-1;grid-template-columns:100px 1fr;align-items:center;gap:10px;font-size:9px;display:grid}.allocation-na{color:#789089;text-align:center;background:#edf3f1;border-radius:9px;padding:9px 10px}.allocation-remove{color:#bd4d43;cursor:pointer;background:#fff0ee;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:inline-grid}.allocation-remove:disabled{opacity:.35;cursor:not-allowed}.allocation-add{justify-self:start}.allocation-balance.balanced{color:#08705f;background:#e5f5ee}.allocation-balance.unbalanced{color:#a64b31;background:#fff0e9}.allocation-outsource-note{color:#80581f;background:#fff7e6}.allocation-reason{color:#294d45;gap:7px;font-size:10px;font-weight:700;display:grid}@media (max-width:760px){.drawer-allocation-list{grid-template-columns:1fr}.allocation-table-head{display:none}.allocation-draft-row{grid-template-columns:1fr 1fr}.allocation-draft-row>:nth-child(2),.allocation-draft-row>label{grid-column:1/-1}.allocation-remove{justify-self:end}}.department-personnel-link{color:#08705f;text-align:left;cursor:pointer;background:#ecf8f4;border:1px solid #cfe3dc;border-radius:13px;justify-content:space-between;align-items:center;gap:9px;min-width:0;padding:12px 14px;display:flex}.department-personnel-link>span{flex:1;min-width:0}.department-personnel-link small,.department-personnel-link b{display:block}.department-personnel-link small{color:#658078}.department-personnel-link b{margin-top:5px;font-size:11px}.timeline-node-bar.editable{cursor:pointer;outline-offset:-3px;outline:1px dashed #08705f47}.timeline-node-bar.editable:hover{z-index:4;filter:saturate(1.15);box-shadow:0 6px 16px #0e4b3f2e}.timeline-segment-bar{border-radius:6px;min-width:58px;height:18px;padding:3px 7px}.timeline-segment-bar b{font-size:7px}.timeline-segment-bar small{display:none}.timeline-segment-bar.outsource{color:#936018;background:#fff0ce}.time-schedule-modal{width:min(1120px,100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.time-schedule-form{gap:15px;padding:0 25px 25px;display:grid}.time-schedule-rule,.time-schedule-link-note{color:#164f45;background:#eaf6f2;border-radius:12px;align-items:center;gap:10px;padding:12px 14px;font-size:10px;display:flex}.time-schedule-rule>span{gap:3px;display:grid}.time-schedule-rule small{color:#607a73}.time-schedule-link-note{color:#72541e;background:#fff7e6}.time-allocation-group{background:#fbfdfc;border:1px solid #d9e7e2;border-radius:14px;gap:10px;min-width:0;margin:0;padding:14px;display:grid}.time-allocation-group legend{color:#173f37;align-items:center;gap:8px;max-width:calc(100% - 10px);padding:0 7px;font-size:10px;display:flex}.time-allocation-group legend>span{border-radius:999px;padding:3px 7px;font-size:8px;font-weight:800}.time-allocation-group legend>span.internal{color:#08705f;background:#e4f4ee}.time-allocation-group legend>span.outsource{color:#936018;background:#fff0ce}.time-allocation-group legend small{color:#6e827b}.time-allocation-group legend em{margin-left:auto;font-size:8px;font-style:normal;font-weight:800}.time-allocation-group legend em.balanced{color:#08705f}.time-allocation-group legend em.unbalanced{color:#bd4d43}.time-segment-head,.time-segment-row{grid-template-columns:minmax(130px,1.05fr) minmax(185px,1.3fr) minmax(88px,.55fr) minmax(74px,.45fr) minmax(126px,.75fr) minmax(126px,.75fr) 38px;align-items:center;gap:8px;display:grid}.time-segment-head{color:#688078;padding:0 7px;font-size:8px;font-weight:800}.time-segment-list{gap:9px;display:grid}.time-segment-row{background:#fff;border:1px solid #e0e9e6;border-radius:11px;padding:11px}.time-segment-row input,.time-segment-row select{color:#173f37;width:100%;min-width:0;height:36px;font:inherit;background:#fff;border:1px solid #cfded9;border-radius:8px;padding:0 9px}.time-segment-row>label{color:#6c817a;grid-column:1/-1;grid-template-columns:70px 1fr;align-items:center;gap:8px;font-size:8px;display:grid}.time-segment-row>label input{height:33px}.time-segment-add{justify-self:start}@media (max-width:920px){.time-segment-head{display:none}.time-segment-row{grid-template-columns:1fr 1fr}.time-segment-row>:first-child,.time-segment-row>:nth-child(2),.time-segment-row>label{grid-column:1/-1}.time-segment-row .allocation-remove{justify-self:end}.time-schedule-form{padding:0 17px 20px}}.department-schedule-board{gap:16px;display:grid}.source-import-strip{color:#315c51;background:#edf8f4;border-radius:14px;align-items:center;gap:18px;padding:11px 14px;font-size:10px;display:flex}.source-import-strip span{align-items:center;gap:6px;display:inline-flex}.source-import-strip b{color:#0b5f4f}.source-import-strip small{color:#658078;margin-left:auto}.department-tabs{grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;padding-bottom:2px;display:grid;overflow-x:auto}.department-tabs button{text-align:left;color:#456059;cursor:pointer;background:#fff;border:1px solid #dbe6e1;border-radius:15px;gap:6px;min-width:150px;padding:13px 14px;transition:all .18s;display:grid}.department-tabs button:hover{border-color:#87b7aa;transform:translateY(-1px)}.department-tabs button.active{background:#effaf6;border-color:#0c8068;box-shadow:inset 0 0 0 1px #0c8068}.department-tabs button>span{color:#173d34;justify-content:space-between;align-items:center;font-weight:800;display:flex}.department-tabs button em{color:#315d52;text-align:center;background:#e5efeb;border-radius:999px;min-width:24px;padding:2px 7px;font-size:9px;font-style:normal}.department-tabs button.active em{color:#fff;background:#0c8068}.department-tabs button small{color:#72847e;white-space:nowrap}.department-tabs button i{color:#9b6c15;font-size:9px;font-style:normal}.department-summary{grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;display:grid}.department-summary>span{background:#f7f9f8;border:1px solid #e6ece9;border-radius:13px;gap:5px;padding:12px 14px;display:grid}.department-summary small{color:#75857f}.department-summary b{color:#173d34;font-size:18px}.department-summary em{color:#71817b;margin-left:4px;font-size:9px;font-style:normal;font-weight:500}.department-schedule-table-wrap{border:1px solid #e1e8e5;border-radius:15px;overflow:auto}.department-schedule-table{border-collapse:collapse;width:100%;min-width:1280px;font-size:9px}.department-schedule-table thead{z-index:2;color:#49635c;text-align:left;background:#eef4f1;position:sticky;top:0}.department-schedule-table th{white-space:nowrap;letter-spacing:.02em;padding:11px 10px;font-size:9px}.department-schedule-table td{vertical-align:top;color:#2f4b44;border-top:1px solid #edf1ef;padding:11px 10px}.department-schedule-table tbody tr{cursor:pointer;transition:background .15s}.department-schedule-table tbody tr:hover{background:#f5faf8}.department-schedule-table td:first-child{text-align:center;width:60px}.department-schedule-table td b,.department-schedule-table td small,.department-schedule-table td em{display:block}.department-schedule-table td small{color:#7b8985;max-width:230px;margin-top:4px;line-height:1.35}.department-schedule-table td em{color:#806a34;max-width:230px;margin-top:5px;font-size:8px;font-style:normal;line-height:1.35}.department-schedule-table td button{color:#086d59;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:0;font-weight:800;display:inline-flex}.department-schedule-table td:nth-child(4) span{background:#e8eeeb;border-radius:9px;width:112px;height:5px;margin-top:6px;display:block;overflow:hidden}.department-schedule-table td:nth-child(4) span i{border-radius:inherit;background:#1c987c;height:100%;display:block}.department-status{border-radius:999px;width:fit-content;padding:3px 8px;font-size:9px;font-weight:800;display:inline-flex!important}.department-status.normal,.department-status.completed{color:#16714f;background:#e4f5ec}.department-status.warning{color:#93670c;background:#fff1c7}.department-status.delayed{color:#b64635;background:#fee4df}.department-status.blocked{color:#714499;background:#efe4fa}.department-row.status-completed{opacity:.66}@media (max-width:1180px){.department-tabs{grid-template-columns:repeat(3,minmax(170px,1fr))}.department-summary{grid-template-columns:repeat(3,minmax(130px,1fr))}}@media (max-width:760px){.source-import-strip{flex-direction:column;align-items:flex-start;gap:6px}.source-import-strip small{margin-left:0}.department-tabs{display:flex}.department-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}}.ai-vision-layout{grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);align-items:start;gap:16px;display:grid}.ai-vision-workbench,.ai-result-panel{padding:22px}.ai-vision-heading,.ai-result-heading,.ai-mode-grid label,.ai-upload-zone,.ai-action-row,.ai-error,.ai-review-note,.ai-result-meta{align-items:center;display:flex}.ai-vision-heading{gap:12px;margin-bottom:17px}.ai-vision-heading h2,.ai-result-heading h2{color:#173d34;margin:4px 0 0;font-size:17px}.ai-vision-heading small{color:#6c817a;margin-top:5px;font-size:9px;display:block}.ai-vision-icon{color:#08705f;background:#e5f5ef;border-radius:13px;flex:none;place-items:center;width:45px;height:45px;display:grid}.ai-mode-grid{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;display:grid}.ai-mode-grid label{color:#557068;cursor:pointer;background:#fff;border:1px solid #dce7e3;border-radius:12px;gap:9px;padding:12px}.ai-mode-grid label.selected{color:#086957;background:#edf9f5;border-color:#16846d;box-shadow:inset 0 0 0 1px #16846d}.ai-mode-grid input{opacity:0;pointer-events:none;position:absolute}.ai-mode-grid span,.ai-mode-grid b,.ai-mode-grid small{display:block}.ai-mode-grid b{color:#173d34;font-size:10px}.ai-mode-grid small{color:#71847e;margin-top:4px;font-size:8px;line-height:1.45}.ai-upload-zone{color:#16816b;text-align:center;cursor:pointer;background:#f5fbf8;border:1px dashed #8cbcaf;border-radius:15px;flex-direction:column;justify-content:center;gap:12px;min-height:196px;padding:18px;overflow:hidden}.ai-upload-zone input{opacity:0;width:1px;height:1px;position:absolute}.ai-upload-zone b,.ai-upload-zone small{display:block}.ai-upload-zone b{color:#214b42;font-size:10px}.ai-upload-zone small{color:#72857f;margin-top:5px;font-size:8px}.ai-upload-zone.has-preview{background:#edf3f1;justify-content:flex-end;min-height:260px;padding:0;position:relative}.ai-upload-zone img{object-fit:contain;background:#edf3f1;width:100%;height:220px}.ai-upload-zone.has-preview>span{background:#fff;width:100%;padding:11px 14px}.ai-prompt{color:#294d45;gap:7px;margin-top:13px;font-size:10px;font-weight:700;display:grid;position:relative}.ai-prompt textarea{resize:vertical;color:#173d34;width:100%;font:inherit;background:#fff;border:1px solid #cfddd8;border-radius:10px;padding:11px 12px 23px;line-height:1.6}.ai-prompt>small{color:#84938e;font-size:8px;font-weight:500;position:absolute;bottom:7px;right:10px}.ai-error{color:#a94637;background:#fff0ed;border-radius:10px;gap:8px;margin-top:12px;padding:10px 12px;font-size:9px;line-height:1.5}.ai-action-row{justify-content:flex-end;gap:9px;margin-top:15px}.ai-result-panel{min-height:530px}.ai-result-heading{border-bottom:1px solid #e4ebe8;justify-content:space-between;gap:12px;padding-bottom:14px}.ai-result-heading>span{color:#08705f;background:#e5f5ef;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;font-size:8px;font-weight:800;display:inline-flex}.ai-result-panel pre{color:#173d34;white-space:pre-wrap;word-break:break-word;background:#f8fbfa;border:1px solid #dce7e3;border-radius:12px;max-height:520px;margin:15px 0 11px;padding:15px;font:10px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.ai-result-meta{flex-wrap:wrap;gap:7px}.ai-result-meta span{color:#61766f;background:#edf3f1;border-radius:999px;padding:4px 8px;font-size:8px}.ai-review-note{color:#80581f;background:#fff7e6;border-radius:11px;align-items:flex-start;gap:9px;margin-top:14px;padding:12px}.ai-review-note span,.ai-review-note b,.ai-review-note small{display:block}.ai-review-note b{font-size:10px}.ai-review-note small{margin-top:4px;font-size:8px;line-height:1.55}.ai-empty-result{color:#9aaba5;text-align:center;align-content:center;place-items:center;gap:10px;min-height:410px;display:grid}.ai-empty-result p{color:#526b64;margin:0;font-size:10px}.ai-empty-result small{max-width:320px;font-size:8px;line-height:1.6}@media (max-width:980px){.ai-vision-layout{grid-template-columns:1fr}.ai-result-panel{min-height:420px}.ai-empty-result{min-height:280px}}@media (max-width:560px){.ai-mode-grid{grid-template-columns:1fr}.ai-vision-workbench,.ai-result-panel{padding:16px}.ai-upload-zone{min-height:170px}}@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}
