/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@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-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.row-1{grid-row:1}.row-2{grid-row:2}.row-3{grid-row:3}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.table-cell{display:table-cell}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--canvas:#f6f3ed;--paper:#fffefb;--ink:#17324d;--muted:#678;--line:#e6e0d7;--sage:#6f8e78;--sage-soft:#eef1ea;--red:#dc6659;--red-soft:#fbe9e5;--amber:#be842d;--amber-soft:#fbf0dc;--blue-soft:#edf3f8}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);font-family:var(--font-geist-sans), "PingFang SC", "Noto Sans SC", Arial, sans-serif;margin:0}button,input{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.sidebar{z-index:30;border-right:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffefbf0;flex-direction:column;width:228px;padding:34px 16px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.7px;padding:7px 10px 39px;font-size:19px;font-weight:760}.brand span:first-child{color:var(--ink)}.brand span:nth-child(2){color:var(--sage)}.brand small{color:#88938c;letter-spacing:2px;margin-top:6px;font-size:10px;font-weight:600;display:block}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#425d77;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;width:100%;padding:13px 14px;transition:all .16s;display:flex}.sidebar nav button:hover{color:var(--ink);background:#f3f4ef}.sidebar nav button.active{background:var(--sage-soft);color:#456b53;box-shadow:inset 0 0 0 1px #6f8e7814}.sidebar-foot{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding:15px 8px 2px;display:flex}.avatar{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:grid}.sidebar-foot div{display:grid}.sidebar-foot strong{font-size:13px}.sidebar-foot small{color:var(--muted);margin-top:2px;font-size:11px}.main-content{min-height:100vh;margin-left:228px}.topbar{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f6f3edd6;border-bottom:1px solid #e6e0d7cc;justify-content:flex-end;align-items:center;gap:14px;height:70px;padding:0 34px;display:flex;position:sticky;top:0}.global-search{border:1px solid var(--line);color:#84909b;background:#fffefbb8;border-radius:9px;align-items:center;gap:9px;width:min(360px,38vw);height:40px;padding:0 13px;display:flex}.global-search input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.role-preview{border:1px solid var(--line);color:#61717e;background:#fffdfa;border-radius:9px;align-items:center;gap:7px;height:40px;padding:0 10px;font-size:9px;display:flex}.role-preview.active{color:#8c611e;background:#fff8e8;border-color:#c89a4d}.role-preview select{max-width:110px;color:inherit;background:0 0;border:0;outline:0;font-size:10px}.quick-create,.primary-action{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 15px;display:inline-flex;box-shadow:0 5px 14px #17324d1f}.mobile-menu{background:0 0;border:0;display:none}.page{max-width:1450px;margin:0 auto;padding:38px 34px 58px;animation:.2s ease-out page-in}@keyframes page-in{0%{opacity:.25;transform:translateY(3px)}}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.page-heading h1{letter-spacing:-1.6px;margin:4px 0 7px;font-size:clamp(30px,3vw,42px);font-weight:680}.page-heading p{color:var(--muted);margin:0;font-size:14px}.eyebrow,.section-kicker{letter-spacing:1.7px;font-weight:700;color:#87958d!important;font-size:10px!important}.health-badge{color:#64806c;background:#eef1ead1;border:1px solid #6f8e7826;border-radius:999px;align-items:center;gap:7px;padding:9px 13px;font-size:12px;display:flex}.health-badge span{background:#7fa188;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #7fa1881f}.demo-banner{background:#fffaf1;border:1px solid #dfd6c8;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;min-height:62px;margin:-8px 0 20px;padding:10px 14px;display:flex}.demo-banner>span{color:#8f6b34;align-items:center;gap:10px;display:flex}.demo-banner>span>span{gap:3px;display:grid}.demo-banner strong{font-size:11px}.demo-banner small{color:#927e61;font-size:9.5px}.demo-banner>div{gap:7px;display:flex}.demo-banner button{color:#85653a;cursor:pointer;background:#fff;border:1px solid #d8c9b3;border-radius:7px;min-height:32px;padding:0 10px;font-size:9.5px}.role-focus{grid-template-columns:230px 1fr;gap:18px;margin:-8px 0 20px;padding:17px 19px;display:grid}.role-focus h2{margin:4px 0 7px;font-size:15px}.role-focus p{color:var(--muted);margin:0;font-size:9px;line-height:1.6}.role-focus-steps{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.role-focus-steps article{border:1px solid var(--line);background:#fffdfa;border-radius:8px;gap:5px;padding:11px 12px;display:grid}.role-focus-steps strong{font-size:9.5px}.role-focus-steps span{color:#687884;font-size:8px;line-height:1.45}.role-focus-steps em{color:var(--sage);font-size:8px;font-style:normal;font-weight:700}.demo-banner button.danger{color:#a55249;border-color:#e2c6c0}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.metric-card{border:1px solid var(--line);background:var(--paper);text-align:left;cursor:pointer;border-radius:12px;gap:15px;min-height:132px;padding:21px;transition:all .16s;display:flex;position:relative;box-shadow:0 3px 14px #17324d09}.metric-card:hover{border-color:#d7d0c5;transform:translateY(-1px);box-shadow:0 8px 20px #17324d0e}.metric-icon{color:#5d7c67;background:var(--sage-soft);border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.metric-card.red .metric-icon{color:var(--red);background:var(--red-soft)}.metric-card.amber .metric-icon{color:var(--amber);background:var(--amber-soft)}.metric-copy{align-content:start;display:grid}.metric-copy>span{color:#44586a;font-size:13px}.metric-copy strong{letter-spacing:-1px;margin:2px 0 1px;font-size:35px;font-weight:580}.metric-card.red .metric-copy strong{color:var(--red)}.metric-card.amber .metric-copy strong{color:var(--amber)}.metric-copy small{color:#8a948f;font-size:10.5px}.metric-arrow{color:#aeb6b1;opacity:0;transition:all .16s;position:absolute;top:21px;right:17px}.metric-card:hover .metric-arrow{opacity:1;transform:translate(2px)}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.72fr);gap:20px;margin-bottom:22px;display:grid}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 14px #17324d09}.card-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:74px;padding:17px 21px;display:flex}.card-head h2{letter-spacing:-.35px;margin:3px 0 0;font-size:19px}.card-head button,.filter-button{color:#667f72;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;font-size:12px;display:inline-flex}.task-table{overflow-x:auto}.task-row{text-align:left;color:#324c64;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee9e1;grid-template-columns:1.12fr 1.08fr 1fr 1.02fr;align-items:center;width:100%;min-width:690px;min-height:60px;padding:0 21px;font-size:13px;transition:all .14s;display:grid}.task-row:last-child{border-bottom:0}.task-row:not(.task-header):hover{background:#faf8f3}.task-row.task-header{color:#8a969f;letter-spacing:.6px;cursor:default;min-height:42px;font-size:10px;font-weight:650}.project-id{color:#294f72;font-variant-numeric:tabular-nums;font-weight:620}.status-pill{white-space:nowrap;color:#56705f;background:var(--sage-soft);border-radius:6px;align-items:center;width:fit-content;padding:5px 9px;font-size:10.5px;display:inline-flex}.status-pill.red{color:var(--red);background:var(--red-soft)}.status-pill.amber{color:var(--amber);background:var(--amber-soft)}.status-pill.blue{color:#426a8d;background:var(--blue-soft)}.stage-card{overflow:hidden}.stage-row{text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee9e1;grid-template-columns:35px 1fr 28px;align-items:center;gap:11px;width:100%;min-height:62px;padding:0 21px;transition:all .14s;display:grid}.stage-row:last-child{border-bottom:0}.stage-row:hover{background:#faf8f3}.stage-icon{background:var(--sage-soft);color:#56705f;border-radius:50%;place-items:center;width:31px;height:31px;display:grid}.stage-label{gap:7px;font-size:12px;display:grid}.stage-label i{background:#ede9e1;border-radius:3px;height:3px;display:block;overflow:hidden}.stage-label b{background:#8ba393;height:100%;display:block}.stage-row>strong{text-align:right;font-size:16px}.alert-section{overflow:hidden}.muted{color:#929b96;font-size:10.5px}.alert-grid{grid-template-columns:1fr 1fr;gap:13px;padding:17px 21px 21px;display:grid}.alert-grid button{text-align:left;cursor:pointer;background:#fffdfa;border:1px solid #eee7de;border-radius:9px;grid-template-columns:38px 1fr 20px;align-items:center;gap:12px;min-height:75px;padding:13px 16px;transition:all .15s;display:grid}.alert-grid button:hover{border-color:#ddd4c8;transform:translateY(-1px)}.alert-icon{border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.alert-icon.red{color:var(--red);background:var(--red-soft)}.alert-icon.amber{color:var(--amber);background:var(--amber-soft)}.alert-grid button>span:nth-child(2){gap:4px;display:grid}.alert-grid strong{font-size:12.5px}.alert-grid small{color:#8b9691;font-size:10.5px}.alert-grid button>svg{color:#a5aea9}.module-heading{margin-bottom:20px}.primary-action{border:0}.mini-metrics{flex-wrap:wrap;gap:10px;margin-bottom:20px;display:flex}.mini-metrics button{border:1px solid var(--line);color:#587061;cursor:pointer;background:#fffefbad;border-radius:999px;padding:8px 12px;font-size:11px}.mini-metrics button:hover,.mini-metrics button.active{color:#fff;background:#173b57;border-color:#173b57}.mini-metrics .metric-total{color:#fff;background:#173b57;border-radius:999px;align-items:center;padding:8px 12px;font-size:11px;display:inline-flex}.project-sort{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.project-sort select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;padding:8px 28px 8px 10px}.assignment-picker{width:min(560px,96vw);max-width:560px;position:relative}.assignment-body{padding:0 23px 24px}.assignment-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.assignment-options label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:10px;padding:12px;display:flex}.assignment-options label.selected{background:#f6faf8;border-color:#173b57;box-shadow:0 0 0 2px #173b571f}.assignment-options label>span{color:#fff;background:#173b57;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;display:grid}.assignment-options input{accent-color:#173b57}.list-card{overflow:hidden}.records-table{overflow-x:auto}.records-row{text-align:left;color:#42586b;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee9e1;grid-template-columns:1.15fr 1.35fr .5fr .9fr .65fr .65fr .75fr;align-items:center;gap:14px;width:100%;min-width:980px;min-height:67px;padding:0 21px;font-size:12px;transition:all .14s;display:grid}.records-row:hover:not(.header){background:#faf8f3}.records-row.header{color:#8a969f;letter-spacing:.5px;cursor:default;min-height:42px;font-size:10px;font-weight:650}.records-row>span:nth-child(2){gap:3px;display:grid}.records-row small{color:#8d9792;font-size:10px}.project-quantity-cell{gap:3px;display:grid}.project-quantity-cell strong{color:var(--ink);font-size:13px}.metric-total.quantity-total{color:#55715e;background:#eef3ed}.drawer-backdrop{z-index:49;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#12223129;border:0;position:fixed;inset:0}.drawer{z-index:50;background:var(--paper);width:min(475px,94vw);padding:25px;animation:.22s ease-out drawer-in;position:fixed;inset:0 0 0 auto;overflow-y:auto;box-shadow:-18px 0 45px #17324d1f}@keyframes drawer-in{0%{opacity:.4;transform:translate(35px)}}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding-bottom:19px;display:flex}.drawer-head h2{margin:3px 0 0;font-size:22px}.drawer-head button{color:var(--muted);cursor:pointer;background:0 0;border:0}.drawer-customer{align-items:center;gap:12px;padding:22px 0;display:flex}.customer-mark{background:var(--sage-soft);color:#55715e;letter-spacing:.04em;border-radius:10px;place-items:center;min-width:42px;height:42px;padding:0 7px;font-size:12px;font-weight:700;display:grid}.drawer-customer div{gap:4px;display:grid}.drawer-customer small{color:var(--muted);font-size:11px}.drawer-summary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.drawer-summary span{border:1px solid var(--line);border-radius:9px;align-content:center;gap:6px;min-height:76px;padding:13px;display:grid}.drawer-summary small{color:#8b9691;font-size:10px}.drawer-summary strong{font-size:12.5px}.drawer-section-heading>div{gap:3px;display:grid}.drawer-section-heading>div>small{color:var(--muted);font-size:9.5px}.timeline{margin-top:26px}.timeline h3{margin:0 0 16px;font-size:14px}.timeline>div{grid-template-columns:27px 1fr;gap:10px;min-height:54px;display:grid;position:relative}.timeline>div:not(:last-child):after{content:"";border-left:1px solid #ddd8cf;position:absolute;top:27px;bottom:1px;left:12px}.timeline i{color:#87918c;background:var(--paper);z-index:1;border:1px solid #dcd7ce;border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;font-style:normal;display:grid}.timeline .done i{background:var(--sage);border-color:var(--sage);color:#fff}.timeline .current i{color:var(--amber);background:var(--amber-soft);border-color:#d9aa62}.timeline>div span{align-content:start;gap:3px;display:grid}.timeline>div strong{font-size:12px}.timeline>div small{color:#8d9792;font-size:10px}.drawer-actions{border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffefbf0;grid-template-columns:1fr 1.3fr;gap:10px;margin:16px -25px -25px;padding:16px 25px 22px;display:grid;position:sticky;bottom:-25px}.drawer-actions button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:42px;font-size:12px;display:flex}.drawer-actions button.primary{border-color:var(--ink);background:var(--ink);color:#fff}.toast{z-index:120;color:#fff;background:#284839;border-radius:9px;align-items:center;gap:8px;padding:12px 16px;font-size:12px;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:28px;right:28px;box-shadow:0 10px 30px #17324d2e}.toast.error{background:#8d3932}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.nav-backdrop{display:none}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.state-page{text-align:center;min-height:calc(100vh - 70px);color:var(--muted);place-content:center;justify-items:center;gap:10px;display:grid}.state-page>svg{color:var(--sage);width:30px;height:30px}.state-page h2{color:var(--ink);margin:4px 0 0;font-size:20px}.state-page p{margin:0;font-size:12px}.state-page button,.secondary-action{border:1px solid var(--line);background:var(--paper);color:#526a5c;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 13px;font-size:11px;display:inline-flex}.heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.heading-actions .primary-action,.heading-actions .secondary-action{white-space:nowrap;flex:none;width:max-content}.file-action{cursor:pointer;position:relative}.file-action input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-action.disabled{opacity:.55;cursor:wait}.plain-cell{text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.blocker{color:var(--red);margin-top:3px;font-size:9px;display:block}.task-actions{align-items:center;gap:6px;display:flex}.task-actions>button,.tiny-action{border:1px solid var(--line);width:26px;height:26px;color:var(--sage);cursor:pointer;background:#fff;border-radius:6px;place-items:center;padding:0;display:grid}.progress-line{background:#ece8e0;border-radius:3px;width:75px;height:3px;margin-top:7px;display:block;overflow:hidden}.progress-line b{background:#86a18e;height:100%;display:block}.records-row .project-id{gap:3px;display:grid}.tab-bar{gap:6px;margin-bottom:18px;display:flex}.tab-bar button{border:1px solid var(--line);height:40px;color:var(--muted);cursor:pointer;background:#fffefba3;border-radius:8px;padding:0 15px}.tab-bar button.active{background:var(--ink);border-color:var(--ink);color:#fff}.tab-bar b{background:#7f968824;border-radius:10px;place-items:center;min-width:19px;height:19px;margin-left:6px;padding:0 5px;font-size:9px;display:inline-grid}.lead-list>article{border-bottom:1px solid #eee9e1;grid-template-columns:52px minmax(210px,1.4fr) minmax(150px,.75fr) auto 100px;align-items:center;gap:14px;min-height:88px;padding:15px 20px;display:grid}.lead-list>article:last-child{border-bottom:0}.lead-list>article.recent-record{background:#f1f6ef;animation:1.4s ease-out recent-record-pulse;box-shadow:inset 4px 0 #66866f}@keyframes recent-record-pulse{0%{background:#dfeedd}to{background:#f1f6ef}}.score{text-align:center;color:#66736b;background:#f4f1eb;border-radius:11px;place-content:center;width:46px;height:46px;display:grid}.score strong{font-size:17px;line-height:1}.score small{margin-top:2px;font-size:8px}.score.high{color:#477052;background:#e6f0e8}.score.mid{background:var(--amber-soft);color:var(--amber)}.score.low{background:var(--red-soft);color:var(--red)}.lead-main,.lead-next{gap:4px;display:grid}.lead-main>span{color:#586c7c;font-size:11px}.lead-main small,.lead-next small,.lead-next span{color:#909994;font-size:9.5px}.lead-next strong{font-size:11px}.row-action{white-space:nowrap;color:#52705b;cursor:pointer;background:#f7faf7;border:1px solid #b9c8bd;border-radius:7px;width:fit-content;min-height:32px;padding:0 11px;font-size:10px}.danger-action{color:#a4473d!important;background:#fff7f6!important;border-color:#d6a8a2!important}.danger-action:disabled{cursor:not-allowed;opacity:.48}.row-note{color:#9aa29e;text-align:center;font-size:10px}.customer-grid{grid-template-columns:1fr;gap:0;padding:18px;display:grid;overflow-x:auto}.customer-actions{flex-wrap:wrap;gap:7px;display:flex}.bulk-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.bulk-actions label{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.row-select{width:16px;height:16px;accent-color:var(--ink)}.customer-filter-bar{border:1px solid var(--line);background:#ffffffb8;border-radius:14px;grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(128px,.65fr)) auto;align-items:center;gap:10px;padding:14px 18px;display:grid}.customer-filter-bar input,.customer-filter-bar select{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:10px;padding:0 12px}.customer-filter-bar span{color:var(--muted);white-space:nowrap;font-size:12px}@media (width<=1100px){.customer-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}.customer-pool-section{gap:16px;display:grid}.pool-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.pool-metrics>button,.pool-metrics>div{border:1px solid var(--line);min-height:76px;color:var(--ink);text-align:left;background:#fffefbc7;border-radius:11px;align-content:center;gap:3px;padding:13px 15px;display:grid}.pool-metrics>button{cursor:pointer}.pool-metrics>button.active{background:var(--sage-soft);border-color:#6f8c79}.pool-metrics span{color:var(--muted);font-size:9px}.pool-metrics strong{font-size:21px;font-weight:600}.pool-ledger{overflow:hidden}.pool-row{border-top:1px solid #eee9e1;grid-template-columns:1.25fr .8fr .9fr .9fr 1.25fr;align-items:center;gap:15px;min-height:72px;padding:10px 20px;display:grid}.pool-row>span{gap:4px;min-width:0;display:grid}.pool-row strong{font-size:11px}.pool-row small{color:var(--muted);font-size:8.5px}.pool-head{color:#798883;letter-spacing:.4px;background:#f6f5f1;min-height:37px;font-size:8px}.pool-actions{flex-flow:wrap;align-items:center;display:flex!important}.pool-actions .wake{color:#956c1b;background:#fff8e9;border-color:#d9c394}.pool-empty{text-align:center;padding:32px}.customer-history-modal{width:min(1040px,96vw)}.customer-edit-modal{width:min(760px,96vw)}.drawer-head-actions{align-items:center;gap:8px;display:flex}.customer-preview-edit{color:#466b50;white-space:nowrap;border-radius:9px;min-height:38px;padding:0 14px;font-weight:700;border:1px solid #9eb7a4!important}.customer-preview-details{border:1px solid var(--line);background:#faf9f5;border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-bottom:14px;padding:14px;display:grid}.customer-preview-details>div{gap:3px;min-width:0;display:grid}.customer-preview-details>div.full{grid-column:1/-1}.customer-preview-details span{color:var(--muted);font-size:9px}.customer-preview-details strong{overflow-wrap:anywhere;font-size:12px}.history-body,.wake-body{padding:0 23px 24px}.history-summary{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.history-summary>div{border:1px solid var(--line);background:#faf9f5;border-radius:10px;align-content:center;gap:3px;min-height:66px;padding:11px;display:grid}.history-summary span,.customer-contact-strip span{color:var(--muted);font-size:8.5px}.history-summary strong{font-size:16px}.customer-contact-strip{background:var(--sage-soft);border-radius:9px;flex-wrap:wrap;gap:14px;margin:12px 0 16px;padding:10px 12px;display:flex}.customer-style-library{background:#f8faf6;border:1px solid #dfe5dc;border-radius:11px;margin:0 0 17px;padding:14px}.customer-style-library.empty{color:var(--muted)}.customer-style-library-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-style-library h3{margin:2px 0 3px;font-size:15px}.customer-style-library p{color:var(--muted);margin:0;font-size:9px}.customer-style-library form{margin-top:13px}.customer-style-grid{gap:9px;display:grid}.customer-style-grid>article{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px}.customer-style-grid>article.selected{border-color:#89a48e;box-shadow:0 0 0 2px #52705c14}.customer-style-title{cursor:pointer;grid-template-columns:18px 48px 1fr;align-items:center;gap:9px;display:grid}.customer-style-title input{accent-color:#52705c}.customer-style-title>span:last-child{gap:3px;display:grid}.customer-style-title strong{font-size:11px}.customer-style-title small{color:var(--muted);font-size:8.5px}.customer-style-thumb{color:#698071;background:#eef2eb;border-radius:7px;place-items:center;width:48px;height:48px;display:grid;overflow:hidden}.customer-style-thumb img{object-fit:cover;width:100%;height:100%}.customer-style-grid>article>p{margin:7px 0 0 75px}.customer-style-variants{gap:6px;margin:9px 0 0 75px;display:grid}.customer-style-variants>div{grid-template-columns:minmax(130px,1fr) 135px 165px;align-items:end;gap:9px;display:grid}.customer-style-variants>div>span{color:#506173;padding-bottom:8px;font-size:9px}.customer-style-variants label{color:var(--muted);gap:3px;font-size:8px;display:grid}.customer-style-variants input{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;min-height:34px;padding:0 8px}.customer-reorder-settings{grid-template-columns:1fr 180px 190px;gap:10px;margin-top:12px;display:grid}.customer-reorder-confirm{color:#765e2c;background:#fff7e8;border-radius:8px;gap:8px;margin-top:10px;padding:10px;font-size:9px;line-height:1.5;display:flex}.customer-reorder-confirm input{accent-color:#52705c;margin-top:2px}.customer-reorder-footer{justify-content:flex-end;align-items:center;gap:13px;margin-top:11px;display:flex}.customer-reorder-footer span{color:var(--muted);margin-right:auto;font-size:9px}.customer-reorder-footer strong{font-size:11px}.customer-reorder-footer button{background:var(--ink);color:#fff;border:0;border-radius:8px;min-height:38px;padding:0 14px;font-size:9.5px}.history-list{max-height:48vh;padding-left:6px;overflow-y:auto}.history-list article{border-left:1px solid #d6ded8;min-height:68px;padding:8px 0 10px 22px;position:relative}.history-dot{background:var(--sage);border:2px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;top:14px;left:-5px;box-shadow:0 0 0 1px #9eb0a3}.history-list article>div{gap:3px;display:grid}.history-list small{color:var(--muted);font-size:8px}.history-list strong{font-size:11px}.history-list p{color:#627483;margin:0;font-size:9px}.wake-modal{width:min(540px,96vw)}.wake-reasons{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:15px;display:grid}.wake-reasons label{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:8px;min-height:44px;padding:9px 11px;font-size:10px;display:flex}.wake-reasons label.selected{background:var(--sage-soft);border-color:#6f8c79}.wake-reasons input{accent-color:var(--sage)}.customer-grid article{background:#fffdfa;border:0;border-bottom:1px solid #ede7de;border-radius:0;padding:12px 10px}.customer-list-head,.customer-list-row{grid-template-columns:40px minmax(190px,1.3fr) 130px 145px minmax(220px,1.35fr) 110px 100px minmax(250px,1.5fr);align-items:center;gap:12px;min-width:1180px;display:grid}.customer-list-head{border-bottom:1px solid var(--line);color:var(--muted);background:#f7f5f0;padding:10px;font-size:9px;font-weight:700}.customer-list-row:hover{background:#faf8f3}.customer-top{border:0;grid-template-columns:38px 1fr;align-items:center;gap:9px;padding:0;display:grid}.customer-top>span:nth-child(2){gap:4px;display:grid}.customer-top small{color:var(--muted);font-size:10px}.customer-grid dl{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0;display:grid}.customer-grid dl div{min-width:0}.customer-grid dt{color:#919b96;font-size:9px}.customer-grid dd{color:#455b6d;word-break:break-word;margin:4px 0 0;font-size:10.5px}.customer-list-cell{color:#455b6d;overflow-wrap:anywhere;gap:4px;min-width:0;font-size:10.5px;display:grid}.customer-list-cell small{color:var(--muted);font-size:9px}.customer-list-row .customer-actions{flex-wrap:nowrap}.customer-list-row .row-action{padding:0 8px}.split-lists{grid-template-columns:1fr 1fr;gap:18px;display:grid}.compact-list>div,.document-row{text-align:left;background:0 0;border:0;border-bottom:1px solid #eee9e1;align-items:center;gap:11px;width:100%;min-height:76px;padding:13px 17px;display:flex}.compact-list>div:last-child,.document-row:last-child{border-bottom:0}.document-row{cursor:pointer;color:inherit}.document-row:hover{background:#faf8f3}.list-icon{background:var(--sage-soft);color:#5a7562;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;display:grid}.list-main{flex:1;gap:3px;min-width:0;display:grid}.list-main strong{font-size:11.5px}.list-main small,.list-main em{color:#8b9590;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;font-style:normal;overflow:hidden}.empty-list{color:#909995;text-align:center;padding:28px 18px;font-size:11px;line-height:1.7}.quality-summary{gap:10px;margin-bottom:18px;padding-bottom:2px;display:flex;overflow-x:auto}.quality-summary>button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fffefbbf;border-radius:9px;justify-content:space-between;align-items:center;gap:9px;min-width:230px;padding:13px;display:flex}.quality-summary>button>span:first-child{gap:3px;display:grid}.quality-summary small{color:var(--muted);font-size:9px}.inspection-list article{border-bottom:1px solid #eee9e1;grid-template-columns:minmax(240px,1fr) auto auto auto;align-items:center;gap:18px;min-height:92px;padding:15px 20px;display:grid}.inspection-list article:last-child{border-bottom:0}.inspection-list h3{margin:3px 0;font-size:14px}.inspection-list p{color:var(--muted);margin:0;font-size:10px}.defect-counts{gap:12px;display:flex}.defect-counts span{color:#8b9590;justify-items:center;font-size:8.5px;display:grid}.defect-counts b{color:var(--ink);font-size:15px}.inspection-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.finance-metrics{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.finance-metrics article{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:10px;align-items:center;gap:14px;min-height:92px;padding:18px;display:flex}.finance-metrics article.active{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}.finance-scope-note{color:var(--muted);align-items:center;gap:8px;margin:12px 0 18px;font-size:13px;display:flex}.finance-metrics article>svg{background:var(--sage-soft);width:35px;height:35px;color:var(--sage);border-radius:10px;padding:8px}.finance-metrics article.warn>svg{background:var(--amber-soft);color:var(--amber)}.finance-metrics span{gap:4px;display:grid}.finance-metrics small{color:var(--muted);font-size:9px}.finance-metrics strong{font-size:18px}.finance-lists{grid-template-columns:1.12fr .88fr}.finance-tabs{margin-bottom:16px}.finance-profile-layout{gap:16px;display:grid}.finance-profile-card .card-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.bank-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;display:grid}.bank-account-card{border:1px solid var(--line);background:#fffefb;border-radius:10px;padding:16px}.bank-account-head{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.bank-account-head>span:nth-child(2){gap:3px;display:grid}.bank-account-head small{color:var(--muted);font-size:9px}.account-match-chips{flex-wrap:wrap;gap:5px;margin:12px 0;display:flex}.account-match-chips span{background:var(--sage-soft);color:var(--sage);border-radius:999px;padding:4px 7px;font-size:8px;font-weight:700}.bank-account-card dl,.invoice-profile dl{margin:0 0 13px}.bank-account-card dl div,.invoice-profile dl div{border-bottom:1px solid #eee9e1;grid-template-columns:120px 1fr;align-items:center;gap:10px;min-height:30px;padding:5px 0;font-size:9px;display:grid}.bank-account-card dt,.invoice-profile dt{color:var(--muted)}.bank-account-card dd,.invoice-profile dd{overflow-wrap:anywhere;margin:0}.invoice-profile{border:1px solid var(--line);border-radius:10px;margin:18px;padding:18px}.invoice-profile>div:first-child{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.profile-actions{gap:8px;display:flex}.finance-editor-modal{width:min(780px,100vw - 32px)}.simple-check{align-items:center;gap:8px;margin:10px 0;font-size:10px;display:flex}.drawer.wide{width:min(560px,96vw)}.project-progress{background:#ede9e1;border-radius:7px;height:7px;margin:-4px 0 18px;position:relative}.project-progress span{border-radius:inherit;background:#839e8a;height:100%;display:block}.project-progress b{color:#65786c;font-size:9px;position:absolute;top:-19px;right:0}.drawer-customer>.status-pill{margin-left:auto}.drawer-section{margin-top:24px}.drawer-section h3{margin:0 0 10px;font-size:13px}.drawer-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.drawer-section-heading h3{margin:0}.item-manager-button{color:#4e6c59;cursor:pointer;background:#fff;border:1px solid #bfcfc4;border-radius:7px;align-items:center;gap:6px;padding:7px 10px;font-size:9.5px;font-weight:700;display:inline-flex}.item-line{border-bottom:1px solid #eee9e1;align-items:center;gap:12px;min-height:54px;padding:9px 0;display:flex}.item-line>span:first-child{flex:1;gap:3px;min-width:0;display:grid}.item-line small{color:#8b9590;font-size:9.5px}.product-item-line>.item-photo{background:#f5f6f2;border:1px solid #e3e7e2;border-radius:8px;flex:0 0 58px;place-items:center;width:58px;height:64px;display:grid;overflow:hidden}.item-photo img{object-fit:contain;width:100%;height:100%}.item-photo-gallery{position:relative;grid-template-rows:repeat(2,1fr)!important;grid-template-columns:repeat(2,1fr)!important}.item-photo-gallery img{min-width:0;min-height:0}.item-photo-gallery b{color:#fff;background:#12334de0;border-radius:999px;padding:2px 4px;font-size:7px;position:absolute;bottom:3px;right:3px}.item-photo>span{color:var(--muted);font-size:8px}.product-item-line>span:nth-child(2){flex:1;gap:3px;min-width:0;display:grid}.product-style-line{align-items:flex-start}.product-style-sizes{flex-wrap:wrap;gap:4px 6px;margin:2px 0;display:flex}.product-style-sizes small{color:#617068;background:#f7f9f6;border:1px solid #e2e8e3;border-radius:999px;padding:3px 6px}.product-size-edit{margin-right:5px}.item-image-upload{width:fit-content;color:var(--sage);cursor:pointer;font-size:8.5px;font-weight:700}.item-image-upload input{opacity:0;width:1px;height:1px;position:absolute}.empty-copy{color:var(--muted);font-size:10px}.timeline.compact{grid-template-columns:1fr 1fr;gap:0 14px;margin-top:0;display:grid}.timeline.compact>div{min-height:48px}.doc-chip{border:1px solid var(--line);color:#526a5c;cursor:pointer;background:#fff;border-radius:7px;align-items:center;gap:6px;min-height:34px;margin:0 7px 7px 0;padding:0 10px;font-size:9.5px;display:inline-flex}.drawer-actions.multi{grid-template-columns:1fr 1fr 1.25fr}.drawer-actions button:disabled{opacity:.5;cursor:not-allowed}.modal-wrap{z-index:80;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#12223138;border:0;position:absolute;inset:0}.modal{background:var(--paper);border-radius:13px;width:min(650px,96vw);max-height:92vh;position:relative;overflow-y:auto;box-shadow:0 26px 70px #17324d38}.modal .drawer-head{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffefbf5;padding:21px 23px 17px;position:sticky;top:0}.modal form{gap:14px;padding:21px 23px 24px;display:grid}.field-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.field-grid.thirds{grid-template-columns:1fr 1fr 1fr}.check-grid{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.field{gap:6px;display:grid}.field>span,.field>label{color:#61717e;font-size:10px;font-weight:630}.field input,.field select,.field textarea{width:100%;min-height:40px;color:var(--ink);background:#fffdfa;border:1px solid #ddd7ce;border-radius:8px;outline:none;padding:9px 11px;font-size:11px}.field textarea{resize:vertical}.searchable-select-field{min-width:0;position:relative}.searchable-select-control{display:block;position:relative}.searchable-select-control>svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.field .searchable-select-control input{padding-left:35px}.searchable-select-options{z-index:130;background:#fff;border:1px solid #d7d1c7;border-radius:9px;max-height:260px;padding:5px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 34px #18314829}.searchable-select-options button{width:100%;min-height:40px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;gap:2px;padding:7px 9px;display:grid}.searchable-select-options button:hover,.searchable-select-options button.selected{background:var(--sage-soft)}.searchable-select-options button small,.searchable-select-empty{color:var(--muted);font-size:8px;font-weight:400}.searchable-select-empty{padding:9px;display:block}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8ba393;box-shadow:0 0 0 3px #8ba39321}.multi-select{border:1px solid #ddd7ce;border-radius:8px;margin:0;padding:10px 11px 11px}.multi-select legend{color:#61717e;padding:0 5px;font-size:10px;font-weight:630}.multi-select>div{flex-wrap:wrap;gap:7px;display:flex}.multi-select label{position:relative}.multi-select input{opacity:0;position:absolute}.multi-select span{border:1px solid var(--line);color:#61717e;cursor:pointer;background:#fffdfa;border-radius:99px;place-items:center;min-height:30px;padding:0 10px;font-size:9px;display:grid}.multi-select input:checked+span{background:var(--sage-soft);color:#476453;border-color:#7f9a86;box-shadow:inset 0 0 0 1px #7f9a8626}.form-note{background:var(--sage-soft);color:#5d7464;border-radius:8px;margin:0;padding:10px 12px;font-size:9.5px;line-height:1.6}.upload-field{color:#61766a;cursor:pointer;background:#fafbf8;border:1px dashed #bfc9c0;border-radius:9px;align-items:center;gap:9px;min-height:52px;padding:0 14px;font-size:10px;display:flex;position:relative}.upload-field input{opacity:0;cursor:pointer;position:absolute;inset:0}.form-actions{border-top:1px solid var(--line);background:#fffcf8;justify-content:flex-end;gap:9px;margin:8px -23px -24px;padding:15px 23px 20px;display:flex;position:sticky;bottom:0}.form-actions button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:90px;height:40px;font-size:11px;display:inline-flex}.form-actions button.primary,.form-actions button.primary-action{border-color:var(--ink);background:var(--ink);color:#fff}.form-actions button.destructive{color:#fff;background:#a5443e;border-color:#a5443e}.form-error{background:var(--red-soft);color:var(--red);border:1px solid #ebc9c5;border-radius:7px;margin:10px 0 0;padding:9px 11px;font-size:10px}.task-report-modal{width:min(720px,96vw)}.task-report-standard{background:var(--sage-soft);border:1px solid #d9e2da;border-radius:8px;gap:5px;padding:12px 13px;display:grid}.task-report-standard strong{font-size:9px}.task-report-standard span{color:#557062;font-size:9px;line-height:1.55}.task-report-standard em{color:#7d8c81;font-size:8px;font-style:normal}.task-report-history{gap:7px;max-height:190px;display:grid;overflow-y:auto}.task-report-history>strong{font-size:10px}.task-report-history>div{border:1px solid var(--line);border-radius:8px;grid-template-columns:42px 1fr;gap:9px;padding:9px 10px;display:grid}.task-report-history>div>span{background:var(--sage-soft);color:#557062;border-radius:50%;place-items:center;width:38px;height:38px;font-size:9px;font-weight:700;display:grid}.task-report-history p{gap:4px;margin:0;display:grid}.task-report-history b{font-size:9px}.task-report-history em{color:#a45349;font-size:8px;font-style:normal}.task-report-history small{color:var(--muted);font-size:8px}.task-report-summary{background:#f5f7f3;border-left:3px solid #8ba393;margin-top:6px;padding:7px 8px;line-height:1.55;color:#526b5c!important}.task-inline-actions{gap:5px;display:flex}.task-reopen-action{color:#8a641d;background:#fff8e7;border-color:#ddc891;grid-auto-flow:column;gap:5px;width:auto;min-width:76px;padding:0 8px}.task-reopen-action span{white-space:nowrap;font-size:10px}.document-overlay{z-index:100;background:#d9d8d4;padding:72px 22px 50px;position:fixed;inset:0;overflow-y:auto}.document-toolbar{z-index:101;gap:9px;display:flex;position:fixed;top:14px;left:50%;transform:translate(-50%)}.document-toolbar button{height:40px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #ffffff40;border-radius:8px;align-items:center;gap:7px;padding:0 15px;display:inline-flex;box-shadow:0 6px 18px #17324d26}.document-toolbar button.primary{background:var(--ink);color:#fff}.document-paper{color:#152d43;background:#fff;width:297mm;min-height:210mm;margin:0 auto;padding:10mm 12mm 9mm;font-family:Arial,PingFang SC,sans-serif;font-size:11.5px;box-shadow:0 14px 40px #17324d2e}.document-paper>header{border-bottom:2px solid #17324d;justify-content:space-between;align-items:flex-start;min-height:58px;padding-bottom:9px;display:flex}.document-paper h1{letter-spacing:0;margin:0;font-size:16px}.document-paper h1 span{color:#78917f}.document-paper header p{color:#76838e;margin:3px 0 0;font-size:11px}.invoice-seller-heading strong{margin-top:3px;font-size:13.5px;display:block}.document-paper header>div:last-child{text-align:right}.invoice-document-title{max-width:440px}.document-paper header h2{letter-spacing:.5px;white-space:nowrap;margin:0;font-size:24px}.invoice-kind{background:#f3f6f2;border:1px solid #dfe5e1;border-left:4px solid #78917f;justify-content:space-between;align-items:center;gap:16px;min-height:30px;margin-top:12px;padding:7px 10px;font-size:7.5px;display:flex}.invoice-kind.bulk{background:#f0f3f6;border-left-color:#17324d}.invoice-kind strong{letter-spacing:.5px;font-size:8px}.invoice-kind span{color:#697984;text-align:right}.doc-meta{grid-template-columns:1.25fr .75fr;gap:32px;min-height:0;padding:10px 0;display:grid}.doc-meta>div{align-content:start;gap:2px;display:grid}.doc-meta small{color:#82909a;letter-spacing:1px;font-size:9.5px}.doc-meta strong{margin-top:2px;font-size:15px}.doc-meta span{color:#667681;font-size:10.5px}.doc-meta dl{margin:0}.doc-meta dl div{border-bottom:1px solid #e4e7e8;grid-template-columns:1fr 1fr;align-items:center;gap:10px;min-height:22px;font-size:10px;display:grid}.doc-meta dt{color:#7c8993}.doc-meta dd{text-align:right;margin:0;font-weight:650}.doc-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:11.3px}.doc-table th:first-child{width:26px}.doc-table th:nth-child(2){width:165px}.doc-table th:nth-child(3){width:90px}.doc-table th:nth-child(4){width:155px}.doc-table th:nth-child(5){width:110px}.doc-table th:nth-child(6){width:55px}.doc-table th:nth-child(7){width:50px}.doc-table th:nth-child(8){width:45px}.doc-table th:nth-child(9){width:48px}.doc-table th:nth-child(10){width:82px}.doc-table th:nth-child(11){width:95px}.doc-table th{color:#fff;text-align:left;letter-spacing:.3px;background:#17324d;height:27px;padding:5px;font-size:10px}.doc-table td{vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #dfe3e5;min-height:0;padding:3px 5px}.doc-table th:nth-child(4),.doc-table td:nth-child(4){padding-right:3px}.doc-table th:nth-child(5),.doc-table td:nth-child(5){padding-left:3px}.doc-table .doc-qty-cell,.doc-table .doc-unit-cell,.doc-table .doc-unit-price-cell,.doc-table .doc-amount-cell{text-align:right}.doc-table .doc-size-cell{text-align:left}.doc-table td span{color:#78858e;font-size:9px}.doc-product-photo{width:165px;text-align:center!important;vertical-align:middle!important;padding:2px!important}.doc-product-photo img{object-fit:contain;width:102px;height:76px;margin:0 auto;display:block}.doc-product-photo-gallery{flex-wrap:wrap;justify-content:center;align-items:center;gap:1px;min-height:76px;width:165px!important;display:flex!important}.doc-product-photo-gallery img{width:58px;height:76px;margin:0}.doc-product-photo-gallery img:only-child{width:102px;height:76px}.doc-product-photo>span:not(.doc-product-photo-gallery){border:1px dashed #cbd2d0;place-content:center;width:102px;height:76px;line-height:1.3;display:grid;font-size:6px!important}.doc-style-cell{background:#fbfcfd;vertical-align:middle!important}.doc-style-subtotal td{color:#17324d;background:#e9f1f7;border-top:1px solid #b7c9d8;border-bottom:1px solid #9fb6c9;padding-top:4px;padding-bottom:4px;font-weight:750}.doc-style-subtotal td:first-child{text-align:right;letter-spacing:.25px}.doc-total{grid-template-columns:1fr 230px;gap:28px;margin-top:16px;display:grid}.doc-total>div p{color:#667681;margin:0 0 6px;font-size:8px}.doc-total dl{margin:0}.doc-total dl div{border-bottom:1px solid #dfe3e5;justify-content:space-between;align-items:center;min-height:28px;padding:0 8px;font-size:9px;display:flex}.doc-total .balance{background:#eef1ea;font-weight:700}.invoice-commercial-flow{grid-template-columns:1fr 1fr;gap:8px;margin-top:5px;display:grid}.invoice-summary-card{background:#fff;border:1px solid #dfe3e2}.invoice-summary-card>header{background:#f6f8f5;border-bottom:1px solid #dfe3e2;align-items:center;gap:8px;min-height:33px;padding:6px 9px;display:flex}.invoice-summary-card>header>b{color:#fff;background:#17324d;border-radius:50%;place-items:center;width:20px;height:20px;font-size:8px;display:grid}.invoice-summary-card>header>span{gap:1px;display:grid}.invoice-summary-card>header small{color:#76858e;letter-spacing:.7px;font-size:8px;font-weight:700}.invoice-summary-card>header strong{color:#17324d;font-size:10.5px}.invoice-summary-card dl{margin:0;padding:4px 9px 6px}.invoice-summary-card dl div{border-bottom:1px solid #e4e7e5;justify-content:space-between;align-items:center;gap:12px;min-height:22px;font-size:9.8px;display:flex}.invoice-summary-card dt{color:#647581}.invoice-summary-card dd{text-align:right;margin:0;font-weight:700}.invoice-summary-card dd.discount{color:#a45349}.invoice-summary-card .invoice-grand-total,.invoice-summary-card .amount-due-row{color:#17324d;background:#eef1ea;border-bottom:0;margin-top:4px;padding:0 7px;font-weight:800}.payment-summary-card>p{color:#17324d;margin:6px 9px 0;font-size:9.5px;font-weight:700}.payment-summary-card .payment-condition{color:#71808a;margin:0 9px 6px;font-size:8.3px;font-weight:500}.commercial-terms{background:#fafbf9;border:1px solid #dfe3e2;margin-top:5px;padding:5px 7px;display:block}.commercial-terms small{color:#76858e;letter-spacing:.7px;font-size:9px;font-weight:700}.commercial-terms dl{grid-template-columns:1fr 1fr;column-gap:18px;margin:3px 0 0;display:grid}.commercial-terms dl div{border-bottom:1px solid #e4e7e5;grid-template-columns:85px 1fr;align-items:center;gap:8px;min-height:18px;font-size:8.2px;display:grid}.commercial-terms dl .important-term{background:#f2f5f0;border-left:3px solid #78917f;grid-column:1/-1;grid-template-columns:105px 1fr;padding:2px 6px}.commercial-terms dl .important-term dt{color:#17324d;font-weight:700}.commercial-terms dt{color:#76858e}.commercial-terms dd{margin:0;font-weight:650}.pi-notes{break-inside:avoid;page-break-inside:avoid;background:#f5f8f4;border:1px solid #d8dfda;border-left:3px solid #78917f;margin-top:5px;padding:6px 8px}.pi-notes small{color:#687b6e;letter-spacing:.06em;font-size:8.5px;font-weight:800}.pi-notes p{color:#263b48;white-space:pre-wrap;margin:3px 0 0;font-size:9px;line-height:1.5}.invoice-local-currency-total{color:#385f45}.invoice-notes ol{color:#596b78;margin:8px 0 0;padding-left:14px;font-size:7.2px;line-height:1.55}.document-filename{color:#86929a;text-align:right;margin:8px 0 0;font-size:6.8px}.bank-instructions{background:#f6f8f6;border:1px solid #dfe3e2;margin-top:5px;padding:5px 7px}.bank-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;display:flex}.bank-title>span{gap:3px;display:grid}.bank-title small{color:#76858e;letter-spacing:.7px;font-size:8.5px}.bank-title strong{font-size:10px}.bank-title .bank-amount-due{text-align:right;background:#e8eee7;border-left:3px solid #78917f;min-width:145px;padding:7px 10px}.bank-title .bank-amount-due strong{color:#17324d;font-size:13px}.bank-title em{color:#4f7658;background:#e5eee6;border-radius:999px;padding:4px 7px;font-size:6.5px;font-style:normal;font-weight:700}.bank-instructions dl{grid-template-columns:1fr 1fr;column-gap:20px;margin:0;display:grid}.bank-instructions dl div{border-bottom:1px solid #e1e5e2;grid-template-columns:80px 1fr;gap:8px;min-height:16px;padding:2px 0;font-size:9px;display:grid}.bank-instructions .bank-wide{grid-column:1/-1}.bank-instructions .important-payment-note{background:#fff8e9;border-left:3px solid #b98a45;padding-left:7px}.bank-instructions dt{color:#76858e}.bank-instructions dd{overflow-wrap:anywhere;margin:0;font-weight:600}.bank-payment-note{color:#fff;background:#17324d;margin:3px 0 0;padding:3px 7px;font-size:9px;line-height:1.45}.document-issue-modal{width:min(680px,100vw - 32px)}.document-local-currency-settings{background:#f7faf7;border:1px solid #dfe5e1;border-radius:12px;margin-bottom:12px;padding:12px}.document-issue-modal .form-help{color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.55}.document-format-options{border:1px solid #dfe5e1;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px;padding:10px;display:grid}.document-format-options legend{color:#52645a;padding:0 5px;font-size:11px;font-weight:750}.document-format-options label{cursor:pointer;background:#fafcf9;border:1px solid #e2e7e3;border-radius:10px;align-items:flex-start;gap:9px;min-width:0;padding:11px 12px;display:flex}.document-format-options label:has(input:checked){background:#f0f6f1;border-color:#6f9278;box-shadow:0 0 0 1px #4f76581f}.document-format-options label.disabled{opacity:.52;cursor:not-allowed}.document-format-options input{margin-top:3px}.document-format-options span{gap:3px;display:grid}.document-format-options strong{font-size:12px}.document-format-options small{color:var(--muted);font-size:10px;line-height:1.45}.bank-display-toggle{background:#f7f9f6;border:1px solid #dfe5e1;border-radius:10px;align-items:flex-start;gap:10px;margin:4px 0 14px;padding:12px 14px;display:flex!important}.bank-display-toggle input{margin-top:3px}.bank-display-toggle span{gap:3px;display:grid}.bank-display-toggle small{color:var(--muted);font-weight:400}.document-issue-modal .text-action{color:#4f7658;text-align:left;cursor:pointer;background:0 0;border:0;margin:2px 0 12px;padding:0;font-weight:700}.document-commercial-settings{gap:12px;margin:4px 0 16px;display:grid}.document-commercial-settings>div{border:1px solid var(--line);background:#fafaf7;border-radius:12px;padding:13px}.document-commercial-settings .form-help{background:#f0f5f1;border-radius:8px;margin:8px 0 0;padding:9px 10px}.payment-plan-preview{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-top:10px;display:grid}.payment-plan-preview span{background:#fff;border:1px solid #dbe5df;border-radius:9px;gap:3px;padding:9px 10px;display:grid}.payment-plan-preview small{color:var(--muted);font-size:10px;line-height:1.35}.payment-plan-preview strong{color:var(--ink);font-size:12px}.final-shipment-quantity{font-weight:750;color:#2f6c45!important}.shipment-quantity-modal{width:min(1100px,100vw - 32px)}.shipment-quantity-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.shipment-quantity-summary span{background:#f7f9f6;border:1px solid #dfe5e1;border-radius:10px;gap:3px;padding:11px 13px;display:grid}.shipment-quantity-summary small{color:var(--muted)}.shipment-quantity-summary strong{font-size:18px}.shipment-quantity-summary strong.changed{color:#a76522}.shipment-quantity-table-wrap{border:1px solid #dfe5e1;border-radius:10px;max-height:min(52vh,520px);overflow:auto}.shipment-quantity-table{border-collapse:collapse;width:100%;min-width:680px;font-size:14px}.shipment-quantity-table th{z-index:1;color:#fff;text-align:left;background:#17324d;padding:9px 10px;position:sticky;top:0}.shipment-quantity-table td{border-bottom:1px solid #e5e9e6;padding:8px 10px}.shipment-description{color:var(--muted);margin-top:4px;display:block}.shipment-quantity-input{align-items:center;gap:7px;display:flex}.shipment-quantity-table input{border:1px solid #bcc9c0;border-radius:7px;width:110px;padding:7px 8px}.shipment-sku-image{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:6px;width:66px;height:74px}.shipment-no-image{width:66px;height:74px;color:var(--muted);background:#f4f5f3;place-content:center;font-size:13px;display:grid}.shipment-choice{background:#f0f5f2;border:1px solid #cfddd4;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.shipment-choice p{color:var(--muted);margin:5px 0 0;font-size:14px}.shipment-upload-tools{flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;display:flex}.shipment-upload-tools button,.shipment-upload-tools label{align-items:center;gap:6px;display:inline-flex}.shipment-upload-tools label{cursor:pointer;position:relative}.shipment-upload-tools input[type=file]{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.shipment-upload-tools small{color:var(--muted);flex-basis:100%;font-size:13px}.shipment-import-review{border:1px solid var(--line);border-radius:10px;margin-bottom:16px;padding:14px;font-size:14px}.shipment-import-review p,.shipment-import-warnings p{color:var(--muted);margin:6px 0;font-size:13px}.shipment-import-rows{max-height:300px;overflow:auto}.shipment-import-row{border-bottom:1px solid var(--line);grid-template-columns:22px minmax(140px,1fr) minmax(180px,1fr) 90px;align-items:center;gap:10px;padding:10px 0;display:grid}.shipment-import-row span{overflow-wrap:anywhere}.shipment-import-row em{color:#8a591e;font-size:12px;font-style:normal;display:block}.shipment-import-row input,.shipment-import-row select{min-width:0;max-width:100%}.shipment-error{color:#a22d26;background:#fff1ee;border-radius:8px;padding:12px}.order-progress-controls{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.order-progress-controls label{gap:5px;font-size:14px;display:grid}.order-progress-controls select{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:40px;padding:8px 10px;font-size:14px}.parallel-order-reminders{background:#f8f5ed;border-radius:8px;padding:16px}.parallel-order-reminders p{color:var(--muted);font-size:14px}.parallel-order-reminders ul{margin:8px 0 0;padding-left:22px;font-size:14px;line-height:1.8}.order-progress-history p{border-bottom:1px solid var(--line);gap:5px;padding:8px 0;font-size:14px;display:grid}.order-progress-history small{color:var(--muted);font-size:13px}.order-settlement-modal{width:min(900px,100vw - 32px)}.order-settlement-content{padding:24px;overflow:auto}.order-settlement-modal>.form-actions{margin:0}.order-settlement-modal form{padding:16px 0}.shipment-quantity-modal button,.order-settlement-modal button{font-size:14px}.shipment-choice button,.shipment-upload-tools button,.shipment-upload-tools label,.order-settlement-content form>button{background:#fff;border:1px solid #cbd6ce;border-radius:8px;min-height:40px;padding:9px 12px}.shipment-quantity-modal button:disabled,.order-settlement-modal button:disabled{opacity:.5;cursor:not-allowed}.settlement-amounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.settlement-amounts span{border:1px solid var(--line);border-radius:8px;gap:8px;padding:14px;display:grid}.settlement-amounts small{color:var(--muted)}.settlement-amounts strong{font-size:19px}.settlement-check{align-items:center;gap:8px;margin:16px 0;font-size:14px;display:flex}.settlement-check input{width:auto}@media (width<=680px){.shipment-import-row{grid-template-columns:22px minmax(120px,1fr) 85px}.shipment-import-row>span{grid-column:2/4}.shipment-import-row>select{grid-column:2}.settlement-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.order-settlement-content{padding:16px}}.pi-import-modal{width:min(1180px,100vw - 32px)}.pi-dropzone{min-height:108px;color:var(--ink);cursor:pointer;background:#f8faf7;border:1.5px dashed #aab8af;border-radius:12px;align-content:center;justify-items:center;gap:5px;padding:20px;display:grid}.pi-dropzone span{color:var(--muted);font-size:12px}.pi-dropzone input{opacity:0;width:1px;height:1px;position:absolute}.pi-import-review{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.pi-import-review-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.pi-import-review-head>div{gap:3px;display:grid}.pi-import-review-head small{color:var(--muted)}.pi-page-reports{flex-wrap:wrap;gap:5px;margin-top:5px;display:flex}.pi-page-reports span{background:var(--sage-soft);color:#4f7658;border-radius:999px;padding:3px 7px;font-size:10px}.pi-page-reports span.empty{color:#a96230;background:#fff1e6}.pi-bulk-toolbar{background:#f3f7f2;border:1px solid #cbd8ce;border-radius:10px;grid-template-columns:auto auto minmax(130px,.65fr) minmax(180px,1fr) auto;align-items:center;gap:8px;margin-bottom:10px;padding:9px;display:grid}.pi-bulk-toolbar select,.pi-bulk-toolbar input:not([type=checkbox]){border:1px solid var(--line);width:100%;min-height:38px;color:var(--ink);background:#fff;border-radius:8px;padding:0 10px}.pi-bulk-select-all,.pi-import-select{cursor:pointer;justify-content:center;align-items:center;gap:6px;display:inline-flex}.pi-bulk-select-all input,.pi-import-select input{width:17px;height:17px;accent-color:var(--navy)}.pi-bulk-select-all span,.pi-bulk-toolbar strong{white-space:nowrap}.pi-import-items{border:1px solid var(--line);border-radius:10px;max-height:330px;overflow:auto}.pi-import-item{border-bottom:1px solid var(--line);grid-template-columns:28px 70px 1fr 1.35fr 1.15fr .75fr .65fr .6fr .55fr .7fr 38px;align-items:end;gap:8px;padding:10px;display:grid}.pi-import-item:last-child{border-bottom:0}.pi-import-item .field{margin:0}.pi-import-item .field label{font-size:10px}.pi-import-item input{min-width:0}.pi-import-thumb{border:1px solid var(--line);width:70px;height:58px;color:var(--muted);border-radius:8px;place-items:center;font-size:10px;display:grid;position:relative;overflow:hidden}.pi-import-thumb img{object-fit:contain;width:100%;height:100%}@media (width<=900px){.pi-bulk-toolbar{grid-template-columns:1fr 1fr}.pi-bulk-toolbar .secondary-action{width:100%}.pi-import-item{grid-template-columns:28px 58px 1fr}.pi-import-thumb{width:58px}.customer-preview-details{grid-template-columns:1fr}.customer-preview-details>div.full{grid-column:auto}}.document-paper>footer{border-top:1px solid #dce1e3;justify-content:space-between;margin-top:10px;padding-top:8px;display:flex}.document-paper footer div{gap:4px;display:grid}.document-paper footer div:last-child{text-align:right}.document-paper footer span{color:#7e8a92;font-size:9.5px}.document-paper footer strong{font-size:10.5px}.nested-modal{z-index:130}.size-batch-layer{z-index:145}.size-batch-modal{flex-direction:column;width:min(880px,96vw);max-height:92vh;display:flex}.size-batch-body{gap:14px;padding:20px 24px;font-size:14px;display:grid;overflow-y:auto}.size-batch-body fieldset{border:1px solid #d5dfdb;border-radius:10px;padding:12px}.size-batch-body legend{padding:0 6px;font-weight:600}.size-batch-options{flex-wrap:wrap;gap:8px;display:flex}.size-batch-options label{background:#f4f7f5;border-radius:6px;align-items:center;gap:5px;padding:5px 9px;display:flex}.size-batch-options input,.size-batch-existing input{width:auto}.size-batch-paste{gap:8px;display:grid}.size-batch-paste textarea{resize:vertical;width:100%;font:inherit;border:1px solid #bdcbc4;border-radius:8px;padding:10px}.size-batch-uniform{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.size-batch-uniform label{gap:6px;display:grid}.size-batch-uniform input{max-width:150px}.size-batch-existing{align-items:center;gap:8px;display:flex}.size-batch-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.size-batch-grid label{border:1px solid #d5dfdb;border-radius:8px;gap:8px;padding:12px;display:grid}.size-batch-grid small{color:#64796f;font-size:12px;display:block}.size-batch-grid input,.size-batch-uniform input{width:100%;min-width:0;font:inherit;border:1px solid #bdcbc4;border-radius:6px;padding:9px}.size-batch-total{background:#f2f6f4;border-radius:8px;padding:12px}.sku-size-shortcut{color:#225b4b;white-space:nowrap;padding-top:5px;font-size:12px}.sku-size-shortcut:disabled{opacity:.45}.item-edit-modal{width:min(720px,100vw - 32px)}.delivery-edit-modal{width:min(480px,100vw - 32px)}.item-edit-modal form,.delivery-edit-modal form{padding:24px}.sku-manager-modal{width:min(1380px,100vw - 32px);max-height:calc(100vh - 32px)}.sku-manager-modal .drawer-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.sku-manager-modal form{min-height:0;padding:18px 23px 24px}.sku-table-wrap{border:1px solid var(--line);border-radius:9px;max-height:55vh;overflow:auto}.sku-editor-table{border-collapse:collapse;background:#fff;width:100%;min-width:1200px}.sku-select-cell{width:34px;min-width:34px;text-align:center!important}.sku-editor-table .sku-select-cell input{width:15px;min-width:15px;height:15px;padding:0}.sku-editor-table th{z-index:1;border-bottom:1px solid var(--line);color:#66766d;text-align:left;letter-spacing:.03em;white-space:nowrap;background:#f4f6f1;padding:9px 8px;font-size:8.5px;position:sticky;top:0}.sku-editor-table td{vertical-align:middle;border-bottom:1px solid #eee9e1;padding:8px}.sku-editor-table tbody tr:last-child td{border-bottom:0}.sku-editor-table input,.sku-editor-table select{width:100%;min-width:78px;height:36px;color:var(--ink);font:inherit;background:#fff;border:1px solid #d8d3ca;border-radius:6px;padding:0 8px;font-size:9.5px}.sku-editor-table td:nth-child(2) input{min-width:120px}.sku-editor-table td:nth-child(3) input{min-width:170px}.sku-image-cell{width:72px;position:relative}.sku-image-cell img,.sku-image-cell span{object-fit:contain;width:48px;height:48px;color:var(--muted);background:#f5f6f2;border:1px solid #dfe5df;border-radius:6px;place-items:center;font-size:8px;display:grid}.sku-image-upload{cursor:pointer;width:48px;display:block}.sku-image-upload:focus-visible,.sku-batch-image:focus-visible{outline:2px solid var(--sage);outline-offset:2px}.sku-image-upload input{display:none}.sku-image-upload span{gap:2px;line-height:1}.sku-image-upload:hover img,.sku-image-upload:hover span{border-color:var(--sage);box-shadow:0 0 0 2px #4f69581a}.sku-image-shared{text-align:center;line-height:1.25;color:#8d9a92!important;border-style:dashed!important}.sku-style-image-count{width:54px;color:var(--sage);text-align:center;margin-top:4px;font-size:7.5px;line-height:1.15;display:block}.sku-image-remove{color:#9a5145;cursor:pointer;background:#fff;border:1px solid #ddc9c3;border-radius:50%;width:18px;height:18px;padding:0;font-size:13px;line-height:15px;position:absolute;top:3px;right:3px}.sku-batch-image{cursor:pointer}.sku-batch-image input{display:none}.sku-batch-image.disabled{opacity:.45;cursor:not-allowed}.sku-upload-progress{background:#f7faf8;border:1px solid #dbe5df;border-radius:10px;margin:10px 2px 0;padding:10px 12px}.sku-upload-progress-copy{color:var(--ink);justify-content:space-between;align-items:center;gap:16px;margin-bottom:7px;font-size:12px;display:flex}.sku-upload-progress-copy b{color:var(--sage);font-variant-numeric:tabular-nums}.sku-upload-progress progress{width:100%;height:8px;accent-color:var(--sage);background:#e3ebe6;border:0;border-radius:999px;display:block;overflow:hidden}.sku-upload-progress progress::-webkit-progress-bar{background:#e3ebe6;border-radius:999px}.sku-upload-progress progress::-webkit-progress-value{background:var(--sage);border-radius:999px;transition:width .18s}.sku-amount{min-width:92px;color:var(--ink);white-space:nowrap;font-size:9.5px;font-weight:700}.sku-row-actions{grid-template-columns:repeat(4,32px);gap:5px;min-width:146px;display:grid}.sku-row-actions button{color:#58715f;cursor:pointer;background:#fff;border:1px solid #d4ddd7;border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.sku-row-actions button:disabled{opacity:.35;cursor:not-allowed}.sku-editor-summary{color:var(--muted);align-items:center;gap:16px;padding:12px 2px 2px;font-size:10px;display:flex}.sku-editor-summary strong{color:var(--ink);margin-left:auto;font-size:12px}.sku-quantity-total{color:#55715e;background:#eef3ed;border-radius:999px;padding:7px 11px;font-weight:650}.sku-quantity-total b{color:var(--ink);margin-left:5px;font-size:13px}.delivery-summary{align-content:start!important}.order-control-strip{background:#f8faf6;border:1px solid #dfe4dc;border-radius:9px;align-items:center;gap:10px;margin:12px 0 4px;padding:10px 12px;display:flex}.order-control-strip>span:first-child{flex:1;gap:2px;display:grid}.order-control-strip small,.order-control-strip em{color:var(--muted);font-size:8.5px;font-style:normal}.order-control-strip strong{font-size:11px}.order-control-strip>button{color:#4e6c59;cursor:pointer;background:#fff;border:1px solid #bfd0c4;border-radius:7px;align-items:center;gap:5px;padding:7px 10px;font-size:9.5px;font-weight:700;display:inline-flex}.drawer-customer>.status-pill+.status-pill{margin-left:6px}.records-row:not(.header)>span:nth-child(4){flex-wrap:wrap;align-items:center;gap:5px;display:flex}.records-row .progress-line{flex-basis:100%}.order-management-modal{width:min(620px,100vw - 32px)}.order-management-modal .drawer-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.order-management-modal form{padding:22px 23px 24px}.clone-order-modal{width:min(720px,100vw - 32px)}.clone-order-modal .drawer-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.clone-order-modal form{padding:22px 23px 24px}.clone-order-source{background:#f6f9f4;border:1px solid #dfe5dc;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:12px;display:grid}.clone-order-source span{gap:3px;min-width:0;display:grid}.clone-order-source small{color:var(--muted);font-size:8.5px}.clone-order-source strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.clone-order-options{border:1px solid var(--line);background:#faf9f5;border-radius:10px;gap:9px;margin:6px 0 14px;padding:13px 14px;display:grid}.clone-order-options>strong{color:var(--ink);font-size:10.5px}.clone-order-options label{color:#546879;align-items:flex-start;gap:8px;font-size:9.5px;line-height:1.45;display:flex}.clone-order-options input{accent-color:#52705c;margin-top:1px}.sku-same-style-price{align-items:center;gap:6px;display:inline-flex}.sku-same-style-price select,.sku-same-style-price input{border:1px solid var(--line);background:#fff;border-radius:7px;min-height:36px;padding:0 9px;font-size:9px}.sku-same-style-price select{max-width:150px}.sku-same-style-price input{width:90px}.order-operation-note{background:var(--sage-soft);color:#5f7668;border-radius:7px;margin:-5px 0 13px;padding:9px 11px;font-size:9.5px;line-height:1.55}.confirm-operation{color:#8b4a46;background:#fff7f5;border:1px solid #ebc9c5;border-radius:7px;align-items:flex-start;gap:8px;padding:10px 11px;font-size:9.5px;line-height:1.5;display:flex}.confirm-operation input{margin-top:2px}.order-event-history{border-top:1px solid var(--line);gap:8px;margin-top:16px;padding-top:13px;display:grid}.order-event-history>strong{font-size:10px}.order-event-history>div{grid-template-columns:90px 1fr;gap:8px;display:grid}.order-event-history>div>span{color:#56705f;font-size:9px;font-weight:700}.order-event-history p{color:var(--ink);margin:0;font-size:9.5px}.order-event-history small{color:var(--muted);margin-top:2px;font-size:8px;display:block}.delivery-summary button,.item-edit-button{color:#54705e;cursor:pointer;background:#fff;border:1px solid #c9d4cd;border-radius:6px;align-items:center;gap:4px;width:fit-content;margin-top:5px;padding:4px 7px;font-size:10px;display:inline-flex}.project-doc-row{align-items:center;gap:7px;margin-bottom:7px;display:flex}.project-doc-row>span{gap:5px;display:inline-flex}.project-doc-row>span button,.document-draft-actions button{color:#58715f;cursor:pointer;background:#fff;border:1px solid #d4ddd7;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.document-draft-row{justify-content:space-between;align-items:center;display:flex}.document-main-button{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;display:flex}.document-draft-actions{gap:6px;display:inline-flex}.qc-overview{grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:16px;display:grid}.qc-overview>div{border:1px solid #dfe3e2;border-radius:5px;align-content:center;gap:4px;min-height:60px;padding:10px;display:grid}.qc-overview small{color:#75838d;font-size:7px}.qc-overview strong{font-size:15px}.qc-overview .qc-result.pass{color:#3f6a4a;background:#edf4ee}.qc-overview .qc-result.fail{color:#a14940;background:#f9eae7}.qc-table td:nth-last-child(-n+3),.qc-table th:nth-last-child(-n+3){text-align:left}.qc-notes{border:1px solid #dfe3e2;border-radius:5px;margin-top:18px;padding:14px}.qc-notes small{color:#75838d;letter-spacing:.5px;font-size:7.5px}.qc-notes p{min-height:38px;margin:8px 0 12px;font-size:9px;line-height:1.6}.qc-notes span{color:#7e8a92;font-size:7.5px}.doc-empty{color:#7c8993;text-align:center;border:1px dashed #ccd2d2;padding:70px 20px;font-size:10px}.handoff-hint{margin-top:3px;display:block;color:#6d7fbd!important}.evidence{margin-top:3px;display:block;color:#5e8068!important}.supply-actions{gap:8px;display:flex}.supply-tabs{overflow-x:auto}.bom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.bom-card{overflow:hidden}.bom-head{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;min-height:78px;padding:16px 18px;display:flex}.bom-head>span:first-child{gap:3px;display:grid}.bom-head small,.bom-head em{color:var(--muted);font-size:9px;font-style:normal}.bom-cost{background:#faf8f3;grid-template-columns:repeat(3,1fr);gap:8px;padding:13px 18px;display:grid}.bom-cost span{gap:4px;display:grid}.bom-cost small{color:var(--muted);font-size:8px}.bom-items>div{border-top:1px solid #eee9e1;grid-template-columns:1fr auto auto;align-items:center;gap:12px;min-height:62px;padding:10px 18px;font-size:9.5px;display:grid}.bom-items>div>span:first-child{gap:3px;display:grid}.bom-card-actions{grid-template-columns:repeat(4,1fr);gap:8px;padding:12px 18px 0;display:grid}.bom-card-actions button.danger-outline{color:#a45349;background:#fff8f6;border-color:#d7aaa4}.bom-card-actions button{border:1px solid var(--line);min-height:36px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:9px;display:inline-flex}.bom-editor-wrap{z-index:95}.bom-editor-modal{width:min(1240px,97vw);max-height:94vh}.bom-editor-meta{grid-template-columns:1fr 1fr 1fr 2fr;gap:10px;padding:14px 22px;display:grid}.bom-editor-meta label{gap:5px;display:grid}.bom-editor-meta label>span{color:var(--muted);font-size:8.5px}.bom-editor-meta input,.bom-add-material select,.bom-editor-table input{border:1px solid var(--line);min-height:35px;color:var(--ink);background:#fffdfa;border-radius:6px;padding:7px 8px;font-size:9px}.bom-editor-meta input:disabled,.bom-editor-table input:disabled{background:0 0;border-color:#0000}.bom-add-material{gap:8px;padding:0 22px 12px;display:flex}.bom-add-material select,.bom-add-material .searchable-select-field{flex:1}.bom-editor-meta .searchable-select-field input,.bom-add-material .searchable-select-field input{border:1px solid var(--line);min-height:35px;color:var(--ink);background:#fffdfa;border-radius:6px;padding-top:7px;padding-bottom:7px;font-size:9px}.bom-add-material button,.bom-editor-actions button,.role-preview-button{border:1px solid var(--line);min-height:35px;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:9px;display:inline-flex}.bom-editor-table-wrap{border:1px solid var(--line);margin:0 22px;overflow:auto}.bom-editor-table{border-collapse:collapse;width:100%;min-width:1050px;font-size:8px}.bom-editor-table th{color:#fff;white-space:nowrap;background:#17324d;padding:8px 6px}.bom-editor-table td{border-bottom:1px solid var(--line);text-align:center;padding:5px}.bom-editor-table input{width:100%;min-width:70px}.bom-editor-table td:nth-child(4) input,.bom-editor-table td:nth-child(5) input{min-width:125px}.icon-danger{color:#a45349!important;min-width:32px!important;padding:0!important}.bom-empty-lines{color:#a45349;margin:12px 22px;font-size:9px}.bom-editor-actions{justify-content:space-between;align-items:center;gap:12px;padding:15px 22px 19px;display:flex}.bom-editor-actions>span{gap:8px;display:flex}.bom-editor-actions button.primary{border-color:var(--ink);background:var(--ink);color:#fff}.bom-editor-actions .danger-outline{color:#a45349;border-color:#d7aaa4}.bom-import-preview{border:1px solid var(--line);background:#faf9f5;border-radius:9px;gap:6px;max-height:180px;margin:12px 0;padding:10px 12px;display:grid;overflow-y:auto}.bom-import-preview span{color:var(--muted);grid-template-columns:110px 1fr;gap:8px;font-size:9px;display:grid}.bom-import-preview strong{color:var(--ink)}.bom-import-preview em{color:var(--sage);font-size:9px;font-style:normal}.bom-document-paper{color:#172f45;page:bom;background:#fff;width:297mm;min-height:210mm;margin:0 auto;padding:12mm 10mm 10mm;font-family:Arial,PingFang SC,sans-serif;box-shadow:0 14px 40px #17324d2e}.bom-document-paper>header{border-bottom:2px solid #17324d;justify-content:space-between;align-items:flex-end;padding-bottom:10px;display:flex}.bom-document-paper header>div:first-child{gap:3px;display:grid}.bom-document-paper header>div:first-child strong{font-size:20px}.bom-document-paper header span,.bom-document-paper header p{color:#74838d;letter-spacing:.8px;margin:0;font-size:8px}.bom-document-paper h1{text-align:right;margin:0;font-size:22px}.bom-document-meta{grid-template-columns:92px 1fr 1fr;align-items:stretch;gap:16px;padding:10px 0;display:grid}.bom-style-photo{background:#fafbf9;border:1px solid #d9dfe0;place-items:center;min-height:96px;display:grid;overflow:hidden}.bom-style-photo img{object-fit:contain;width:100%;height:100%;max-height:120px}.bom-style-photo span{color:#839099;text-align:center;font-size:7px}.bom-document-meta dl{grid-template-columns:1fr 1fr;gap:0 14px;margin:0;display:grid}.bom-document-meta dl div{border-bottom:1px solid #e2e6e6;grid-template-columns:70px 1fr;align-items:center;gap:8px;min-height:23px;font-size:7.5px;display:grid}.bom-document-meta dt{color:#75838d}.bom-document-meta dd{margin:0;font-weight:700}.bom-document-table{border-collapse:collapse;width:100%;font-size:6.6px}.bom-document-table th{color:#fff;white-space:nowrap;background:#17324d;border:1px solid #fff;padding:6px 4px}.bom-document-table td{text-align:center;vertical-align:middle;border:1px solid #d9dfe0;padding:6px 4px}.bom-document-table td:nth-child(2),.bom-document-table td:nth-child(4),.bom-document-table td:nth-child(5),.bom-document-table td:nth-child(6),.bom-document-table td:nth-child(11){text-align:left}.bom-document-table tfoot td{background:#eef1ea;font-weight:700}.bom-document-notes{background:#fafbf9;border:1px solid #dfe3e2;margin-top:10px;padding:8px 10px;font-size:7px}.bom-document-notes p{color:#60717d;margin:4px 0 0}.bom-document-paper>footer{color:#657681;border-top:1px solid #dfe3e2;justify-content:space-between;margin-top:12px;padding-top:9px;font-size:7.5px;display:flex}.bom-items small{color:var(--muted);font-size:8.5px}.approve-bom{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:calc(100% - 36px);min-height:38px;margin:12px 18px 17px;font-size:10px;display:flex}.empty-panel{min-height:260px;color:var(--muted);text-align:center;border:1px dashed #cfd3cd;border-radius:12px;grid-column:1/-1;place-content:center;justify-items:center;gap:9px;display:grid}.empty-panel>svg{color:var(--sage)}.empty-panel strong{color:var(--ink)}.empty-panel span{font-size:10px}.empty-panel button{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:7px;min-height:36px;padding:0 13px;font-size:10px}.material-table{overflow-x:auto}.master-search{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fffdfa;border-radius:9px;align-items:center;gap:8px;margin:0 18px 12px;padding:0 12px;display:flex}.master-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:10px}.supplier-master-search{margin:0 0 14px}.material-row{border-bottom:1px solid #eee9e1;grid-template-columns:62px 1.15fr 1.6fr 1fr .7fr .7fr .55fr;align-items:center;gap:13px;min-width:1000px;min-height:67px;padding:0 18px;font-size:10px;display:grid}.material-table.with-actions .material-row{grid-template-columns:62px 1.15fr 1.6fr 1fr .7fr .7fr .55fr .72fr}.material-table.hide-cost .material-row{grid-template-columns:62px 1.15fr 1.6fr 1fr .7fr .55fr}.material-table.with-actions.hide-cost .material-row{grid-template-columns:62px 1.15fr 1.6fr 1fr .7fr .55fr .72fr}.material-row.header{min-height:40px;color:var(--muted);font-size:9px}.material-row>span{gap:3px;min-width:0;display:grid}.material-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;overflow:hidden}.material-photo{color:#7f9385;background:#f3f5f0;border:1px solid #e3ded5;border-radius:8px;place-items:center;width:48px;height:48px;overflow:hidden;display:grid!important}.material-photo img{object-fit:cover;width:100%;height:100%}.material-master-image{color:var(--muted);align-items:center;gap:10px;font-size:10px;display:flex}.material-master-image img{border:1px solid var(--line);object-fit:cover;border-radius:10px;width:84px;height:84px}.supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.supplier-card{padding:17px}.supplier-card>div{border-bottom:1px solid var(--line);grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding-bottom:13px;display:grid}.supplier-logo{background:var(--sage-soft);width:39px;height:39px;color:var(--sage);border-radius:9px;place-items:center;font-size:11px;font-weight:700;display:grid}.supplier-card>div>span:nth-child(2){gap:3px;display:grid}.supplier-card small{color:var(--muted);font-size:8.5px}.supplier-card dl{grid-template-columns:1fr 1fr;gap:10px;margin:13px 0 0;display:grid}.supplier-card dt{color:var(--muted);font-size:8px}.supplier-card dd{margin:3px 0 0;font-size:10px}.supplier-manage-action{justify-content:center;width:100%;margin-top:14px}.supply-master-modal{width:min(760px,100vw - 32px)}.supply-master-actions{grid-template-columns:auto 1fr auto auto}.training-metrics{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:17px;display:grid}.training-metrics>span{border:1px solid var(--line);background:var(--paper);border-radius:9px;gap:4px;min-height:74px;padding:14px;display:grid}.training-metrics small{color:var(--muted);font-size:9px}.training-metrics strong{font-size:20px}.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.business-flow-line{border:1px solid var(--line);background:#fffefbc7;border-radius:13px;grid-template-columns:repeat(8,minmax(92px,1fr));gap:5px;margin-bottom:12px;padding:14px;display:grid;overflow-x:auto}.business-flow-line>div{text-align:center;background:#f4f6f1;border-radius:9px;align-content:center;justify-items:center;gap:4px;min-width:92px;min-height:88px;padding:10px 8px;display:grid;position:relative}.business-flow-line>div:first-child,.business-flow-line>div:nth-child(2),.business-flow-line>div:nth-child(8){background:#edf2f5}.business-flow-line>div>span{color:var(--sage);letter-spacing:.5px;font-size:8px;font-weight:700}.business-flow-line strong{color:var(--ink);font-size:11px}.business-flow-line small{color:var(--muted);font-size:7.5px}.flow-arrow{z-index:2;color:#78917f;position:absolute;top:36px;right:-11px}.flow-branch-note{background:#fff8e9;border-left:3px solid #d2ae67;border-radius:0 8px 8px 0;flex-wrap:wrap;gap:8px 22px;margin:0 0 14px;padding:9px 13px;display:flex}.flow-branch-note span{color:#806629;font-size:9px}.business-ordered-grid .workflow-card{position:relative}.workflow-card{overflow:hidden}.workflow-title{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;padding:16px 18px;display:grid}.workflow-title>span{background:var(--ink);color:#fff;border-radius:8px;grid-row:1/3;place-items:center;min-width:66px;height:38px;padding:0 9px;font-size:10px;display:grid}.workflow-title strong{font-size:13px}.workflow-title small{color:var(--muted);font-size:8.5px}.workflow-card dl{margin:0;padding:6px 18px 16px}.workflow-card dl div{border-bottom:1px solid #eee9e1;grid-template-columns:70px 1fr;gap:10px;min-height:44px;padding:8px 0;display:grid}.workflow-card dl div:last-child{border-bottom:0}.workflow-card dt{color:var(--muted);font-size:8.5px}.workflow-card dd{margin:0;font-size:9.5px;line-height:1.55}.workflow-card .criteria{background:#fbf7ed;border-radius:7px;margin:0 -8px;padding:9px 8px}.workflow-card .handoff{background:var(--sage-soft);border-radius:7px;margin:5px -8px;padding:9px 8px}.workflow-card .handoff small{color:var(--muted);margin-top:3px;display:block}.sop-grid{gap:10px;display:grid}.sop-role-filter{border:1px solid var(--line);background:#fffefbcc;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:15px 17px;display:flex}.sop-role-filter>div:first-child{gap:4px;display:grid}.sop-role-filter>div:first-child strong{font-size:11px}.sop-role-options{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.sop-role-options button{border:1px solid var(--line);color:#536879;cursor:pointer;background:#fff;border-radius:999px;min-height:34px;padding:0 10px;font-size:9.5px}.sop-role-options button.active{border-color:var(--ink);background:var(--ink);color:#fff}.sop-role-options button span{background:#78917f24;border-radius:999px;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;font-size:8px;display:inline-grid}.sop-role-options button.active span{background:#ffffff26}.sop-empty{text-align:center;padding:40px}.sop-card{grid-template-columns:42px 1fr auto auto;align-items:center;gap:13px;min-height:104px;padding:15px 17px;display:grid}.sop-icon{background:var(--sage-soft);width:40px;height:40px;color:var(--sage);border-radius:9px;place-items:center;display:grid}.sop-card h3{margin:4px 0;font-size:13px}.sop-card p{color:#566a79;margin:0 0 6px;font-size:10px}.sop-card>div:nth-child(2)>small{color:var(--muted);font-size:8.5px}.sop-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.sop-document-modal{width:min(860px,96vw)}.sop-document-body{gap:26px;padding:2px 28px 30px;display:grid}.sop-purpose{border-left:4px solid var(--sage);background:var(--sage-soft);border-radius:0 10px 10px 0;padding:18px 20px}.sop-purpose small,.sop-section-title small,.sop-document-footer small{color:var(--muted);letter-spacing:.5px;font-size:8px}.sop-purpose p{color:#405769;margin:7px 0 0;font-size:11px;line-height:1.7}.sop-section-title{align-items:center;gap:12px;min-height:44px;margin-bottom:13px;display:flex}.sop-section-title>span{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:10px;display:grid}.sop-section-title h3{margin:3px 0 0;font-size:15px}.sop-steps{grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:0;list-style:none;display:grid}.sop-steps li{border:1px solid var(--line);border-radius:9px;grid-template-columns:28px 1fr;align-items:start;gap:8px;min-height:58px;padding:11px 13px;display:grid}.sop-steps li>span{color:var(--sage);font-size:10px;font-weight:700}.sop-steps p{color:#4f6576;margin:0;font-size:10px;line-height:1.55}.sop-workflow-detail dl{border:1px solid var(--line);border-radius:10px;margin:0;overflow:hidden}.sop-workflow-detail dl>div{border-bottom:1px solid #eee9e1;grid-template-columns:90px 1fr;align-items:center;gap:12px;min-height:44px;padding:9px 13px;display:grid}.sop-workflow-detail dl>div:last-child{border-bottom:0}.sop-workflow-detail dt{color:var(--muted);font-size:9px}.sop-workflow-detail dd{color:#405769;margin:0;font-size:10px;line-height:1.55}.sop-workflow-detail .criteria{background:#fff8e9}.sop-document-footer{border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:12px;padding-top:17px;display:grid}.sop-document-footer>div{gap:4px;display:grid}.sop-document-footer strong{font-size:10px}.training-list article{border-bottom:1px solid #eee9e1;grid-template-columns:1.4fr .7fr .4fr auto 90px;align-items:center;gap:13px;min-height:68px;padding:10px 17px;display:grid}.training-list article>span{gap:3px;display:grid}.training-list small{color:var(--muted);font-size:8.5px}.training-list strong{font-size:10.5px}.domain-policy{grid-template-columns:36px 1fr auto;align-items:center;gap:12px;min-height:72px;margin-bottom:17px;padding:14px 17px;display:grid}.domain-policy>svg{background:var(--sage-soft);width:34px;height:34px;color:var(--sage);border-radius:9px;padding:8px}.domain-policy>span{gap:4px;display:grid}.domain-policy small{color:var(--muted);font-size:9px}.staff-table{overflow-x:auto}.staff-row{border-bottom:1px solid #eee9e1;grid-template-columns:.9fr 1.25fr 1.35fr .75fr .7fr .65fr 1.2fr;align-items:center;gap:12px;min-width:1180px;min-height:62px;padding:0 18px;font-size:10px;display:grid}.staff-row.header{min-height:40px;color:var(--muted);font-size:9px}.staff-row>span:first-child{align-items:center;gap:9px;display:flex}.role-pills{flex-wrap:wrap;gap:4px;display:flex!important}.staff-row i{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:8px;font-style:normal;display:grid}.staff-presence,.staff-account-actions{align-items:start;gap:5px;display:grid}.staff-presence .status-pill{width:fit-content}.staff-presence small,.staff-account-actions small{color:var(--muted);font-size:9px;line-height:1.4}.staff-account-actions{grid-template-columns:repeat(2,max-content);align-items:center}.staff-account-actions small{grid-column:1/-1}.staff-account-actions .danger-outline{min-height:28px;padding:0 8px;font-size:9px}.admin-account-head-actions{align-items:center;gap:10px;display:flex}.password-link-panel{background:#f3f7f1;border:1px solid #b9cdbf;border-radius:16px;grid-template-columns:minmax(220px,1fr) minmax(320px,2fr) auto auto;align-items:center;gap:12px;margin:18px 24px 24px;padding:18px;display:grid}.password-link-panel div,.password-link-panel small{display:block}.password-link-panel small{color:#667a6d;margin-top:4px}.password-link-panel input{background:#fff;border:1px solid #c8d5cc;border-radius:10px;min-width:0;padding:11px 12px}@media (width<=900px){.password-link-panel{grid-template-columns:1fr}}.account-toggle{color:#52705b;cursor:pointer;background:#f1f6f2;border:1px solid #b8c8bc;border-radius:99px;min-height:28px;padding:0 9px;font-size:8.5px}.account-toggle.off{color:#a45349;background:#fcf0ee;border-color:#e0c6c2}.account-toggle:disabled{opacity:.55;cursor:not-allowed}.role-grid{grid-template-columns:repeat(4,1fr);gap:11px;margin-top:17px;display:grid}.role-grid article{min-height:112px;padding:15px}.role-grid strong{font-size:12px}.role-grid p{color:#637482;min-height:32px;margin:8px 0;font-size:9px;line-height:1.55}.role-grid em{color:#7a878f;min-height:38px;font-size:8px;font-style:normal;line-height:1.55;display:block}.role-grid small{color:var(--sage);font-size:8.5px}.role-preview-button{color:#557062;width:100%;margin-top:10px}@media (width<=1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.stage-card{display:none}.split-lists,.finance-lists{grid-template-columns:1fr}.supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.sidebar{transition:all .18s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.nav-backdrop{z-index:29;background:#17324d2e;border:0;display:block;position:fixed;inset:0}.main-content{margin-left:0}.topbar{justify-content:flex-start;height:62px;padding:0 17px}.mobile-menu{cursor:pointer;padding:5px;display:block}.global-search{flex:1;width:auto}.role-preview>span,.role-preview>svg{display:none}.role-preview{padding:0 7px}.role-preview select{max-width:86px}.quick-create{justify-content:center;width:40px;padding:0}.quick-create span,.quick-create{font-size:0}.page{padding:27px 17px 45px}.page-heading{align-items:flex-start}.page-heading h1{font-size:30px}.health-badge{display:none}.metric-grid{gap:10px}.metric-card{gap:10px;min-height:122px;padding:16px}.metric-icon{width:36px;height:36px}.metric-copy strong{font-size:29px}.alert-grid{grid-template-columns:1fr}.muted{display:none}.primary-action{justify-content:center;width:40px;padding:0;font-size:0}.drawer-summary,.customer-grid{grid-template-columns:1fr}.lead-list>article{grid-template-columns:45px 1fr auto}.lead-next,.lead-list>article .status-pill{display:none}.inspection-list article{grid-template-columns:1fr auto}.defect-counts{display:none}.finance-metrics,.field-grid,.field-grid.thirds{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr 1fr}.timeline.compact{grid-template-columns:1fr}.drawer-actions.multi{grid-template-columns:1fr 1fr}.drawer-actions.multi .primary{grid-column:1/-1}.document-overlay{padding:62px 0 0}.document-paper{width:100%;min-height:0;box-shadow:none;padding:18px}.demo-banner{flex-direction:column;align-items:flex-start}.role-focus,.role-focus-steps{grid-template-columns:1fr}.bom-editor-meta{grid-template-columns:1fr 1fr}.bom-editor-meta .wide{grid-column:1/-1}.bom-card-actions,.bom-grid,.workflow-grid,.supplier-grid{grid-template-columns:1fr}.training-metrics{grid-template-columns:repeat(2,1fr)}.sop-card .row-action{grid-column:1/-1}.training-list article{grid-template-columns:1fr auto}.role-grid{grid-template-columns:1fr}.pool-metrics{grid-template-columns:repeat(2,1fr)}.pool-row{grid-template-columns:1fr 1fr}.pool-head{display:none}.pool-actions{grid-column:1/-1}.history-summary{grid-template-columns:1fr 1fr}.wake-reasons{grid-template-columns:1fr}.sop-card{grid-template-columns:42px 1fr auto}.sop-actions{grid-column:1/-1;justify-content:flex-start}.sop-steps,.sop-document-footer{grid-template-columns:1fr}.sop-role-filter{flex-direction:column;align-items:flex-start}.sop-role-options{justify-content:flex-start}}@media (width<=480px){.metric-grid{grid-template-columns:1fr}.metric-card{min-height:106px}.page-heading{margin-bottom:21px}.global-search input::placeholder{color:#0000}}.assignment-options label.current-assignee{opacity:.58;cursor:not-allowed}.lead-smart-capture{background:var(--sage-soft);border:1px solid #cbd8cb;border-radius:14px;gap:12px;margin-bottom:16px;padding:15px;display:grid}.lead-capture-head,.lead-capture-result{justify-content:space-between;align-items:center;gap:12px;display:flex}.lead-capture-head>span{color:var(--ink);align-items:center;gap:7px;display:inline-flex}.lead-capture-head small,.lead-capture-result small{color:var(--muted)}.lead-capture-actions{flex-wrap:wrap;gap:8px;display:flex}.lead-smart-capture textarea{resize:vertical;background:#fff;min-height:105px}.lead-capture-result button{color:#fff;background:var(--ink);border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-width:150px;padding:10px 13px;display:inline-flex}.lead-capture-result button:disabled{opacity:.48;cursor:not-allowed}.bom-version-filter{gap:10px;margin:0 0 16px;display:flex}.bom-version-filter button{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:999px;padding:10px 15px}.bom-version-filter button.active{color:#fff;background:var(--ink);border-color:var(--ink)}.payment-gate-summary{border:1px solid var(--line);background:var(--sage-soft);border-radius:14px;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px;padding:14px;display:grid}.payment-gate-summary>div,.payment-gate-summary>span{flex-direction:column;gap:5px;display:flex}.payment-gate-summary small{color:var(--muted)}.payment-gate-summary p{color:var(--muted);grid-column:1/-1;margin:0}.payment-gate-card{grid-column:1/-1}.payment-gate-row{align-items:center}.payment-gate-side{flex-direction:column;align-items:flex-end;gap:7px;display:flex}.payment-progress,.production-progress,.production-plan-progress{background:#e7e3da;border-radius:999px;height:7px;display:block;position:relative;overflow:hidden}.payment-progress i,.production-progress i,.production-plan-progress span{background:var(--sage);height:100%;display:block}.role-critical-workbench{margin-bottom:20px}.role-critical-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.role-critical-grid button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;align-items:stretch;gap:9px;min-height:126px;padding:16px;display:flex}.role-critical-grid button>span{justify-content:space-between;gap:12px;display:flex}.role-critical-grid button b{color:var(--ink);font-size:22px}.role-critical-grid button small{color:var(--muted);line-height:1.55}.role-critical-grid button em{color:var(--sage);align-items:center;gap:5px;margin-top:auto;font-style:normal;display:flex}.production-workbench{gap:18px;display:grid}.capacity-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.capacity-grid article{border:1px solid var(--line);background:var(--sage-soft);border-radius:14px;gap:7px;padding:15px;display:grid}.capacity-grid article span{color:var(--muted)}.capacity-grid article b{color:var(--sage)}.production-board{grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;padding-bottom:8px;display:grid;overflow-x:auto}.production-column{background:#f4f1ea;border-radius:14px;min-height:260px;padding:10px}.production-column>h3{justify-content:space-between;margin:4px 4px 12px;display:flex}.production-column>h3 b{background:#fff;border-radius:999px;padding:2px 8px}.production-ticket{border:1px solid var(--line);background:#fff;border-radius:12px;gap:10px;margin-bottom:10px;padding:13px;display:grid}.production-ticket.risk{background:#fff7f4;border-color:#df9d91}.production-ticket>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.production-ticket dl{gap:5px;margin:0;display:grid}.production-ticket dl div{justify-content:space-between;gap:10px;display:flex}.production-ticket dt{color:var(--muted)}.production-ticket dd{text-align:right;margin:0}.production-ticket p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.production-progress{height:20px}.production-progress b{place-items:center;font-size:11px;display:grid;position:absolute;inset:0}.production-empty{text-align:center;color:var(--muted);padding:20px 8px}.production-plan-progress{height:28px;margin-bottom:16px}.production-plan-progress b{place-items:center;font-size:12px;display:grid;position:absolute;inset:0}@media (width<=980px){.role-critical-grid,.payment-gate-summary{grid-template-columns:1fr 1fr}.capacity-grid{grid-template-columns:1fr}}@media (width<=620px){.role-critical-grid,.payment-gate-summary{grid-template-columns:1fr}.lead-capture-head,.lead-capture-result{flex-direction:column;align-items:flex-start}}.purchase-execution-list>div{align-items:center}.procurement-workbench{gap:18px;display:grid}.procurement-kind-filter{flex-wrap:wrap;gap:8px;display:flex}.procurement-kind-filter button{border:1px solid var(--line);min-height:38px;color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;padding:0 15px;font-weight:700}.procurement-kind-filter button b{color:#607468;background:#edf1eb;border-radius:999px;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 6px;font-size:10px;display:inline-grid}.procurement-kind-filter button.active{border-color:var(--ink);background:var(--ink);color:#fff}.procurement-kind-filter button.active b{color:#fff;background:#ffffff24}.procurement-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.procurement-summary-grid>span{border:1px solid var(--line);background:#fff;border-radius:14px;align-content:center;gap:7px;min-height:118px;padding:18px;display:grid}.procurement-summary-grid>span.risk{background:#fff8f6;border-color:#e6b9b1}.procurement-summary-grid small{color:var(--muted);font-size:10px;font-weight:650}.procurement-summary-grid b{color:var(--ink);font-size:28px;line-height:1}.procurement-summary-grid em{color:#7f8d85;font-size:9.5px;font-style:normal;line-height:1.45}.procurement-order-list{gap:13px;display:grid}.procurement-order-heading{justify-content:space-between;align-items:end;gap:16px;padding:5px 2px 2px;display:flex}.procurement-order-heading h2{color:var(--ink);margin:5px 0 3px;font-size:21px}.procurement-order-heading p{color:var(--muted);margin:0;font-size:10.5px}.procurement-order-card{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 8px 24px #1d354509}.procurement-order-card.risk{border-color:#e4b3ab}.procurement-order-card>header{justify-content:space-between;align-items:start;gap:14px;padding:17px 19px 13px;display:flex}.procurement-order-card h3{color:var(--ink);margin:4px 0;font-size:17px}.procurement-order-card header p{color:var(--muted);margin:0;font-size:9.5px}.procurement-prep-deadline{background:#f4f8f3;border:1px solid #cbd9ce;border-radius:12px;grid-template-columns:minmax(160px,1.15fr) repeat(2,minmax(120px,.75fr)) minmax(130px,.75fr);align-items:center;gap:12px;margin:0 19px 13px;padding:12px 14px;display:grid}.procurement-prep-deadline>span{gap:4px;display:grid}.procurement-prep-deadline small{color:#6e8075;font-size:9px;font-weight:700}.procurement-prep-deadline b{color:var(--ink);font-size:11px}.procurement-prep-deadline .procurement-prep-date strong{color:#244d37;font-size:22px;line-height:1.05}.procurement-prep-deadline .procurement-prep-alert{color:#42654c;background:#dce9dd;border-radius:999px;justify-self:end;padding:8px 11px;font-size:11px;font-weight:800;display:block}.procurement-prep-deadline.due-soon{background:#fff9e9;border-color:#dfc68d}.procurement-prep-deadline.due-soon .procurement-prep-date strong{color:#91630d}.procurement-prep-deadline.due-soon .procurement-prep-alert{color:#865e12;background:#f5e5b7}.procurement-prep-deadline.overdue{background:#fff4f2;border-color:#e1a79f}.procurement-prep-deadline.overdue .procurement-prep-date strong{color:#a23f35}.procurement-prep-deadline.overdue .procurement-prep-alert{color:#9a3b32;background:#f5d3cf}.procurement-prep-deadline.completed{background:#f2f8f3;border-color:#b9cfbd}.procurement-kind-badge{color:#55715d;background:#edf3ed;border-radius:999px;width:fit-content;margin-right:7px;padding:3px 8px;font-size:9px;line-height:1;display:inline-flex}.procurement-kind-badge.sample{color:#8b6b29;background:#f6f0df}.procurement-kind-badge.bulk{color:#395b75;background:#eaf0f5}.procurement-order-number{color:#6e8578;letter-spacing:.08em;font-size:9px;font-weight:750}.procurement-order-meta{background:#f7f8f4;border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 19px 13px;padding:11px 13px;display:grid}.procurement-order-meta>span{gap:4px;display:grid}.procurement-order-meta small{color:var(--muted);font-size:8.5px}.procurement-order-meta b{color:var(--ink);font-size:10.5px}.procurement-order-gallery{color:#4f6e57;cursor:pointer;background:#fbfcf9;border:1px solid #e0e5df;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:0 19px 13px;padding:8px 10px;display:flex}.procurement-order-gallery>span{align-items:center;display:flex}.procurement-order-gallery img{object-fit:cover;background:#f1f1ed;border:2px solid #fff;border-radius:8px;width:44px;height:44px;margin-right:-7px}.procurement-order-gallery strong{align-items:center;gap:6px;font-size:10.5px;display:flex}.procurement-order-progress{grid-template-columns:1fr auto;align-items:center;gap:10px;padding:0 19px 14px;display:grid}.procurement-order-progress>span{background:#e8e4db;border-radius:999px;height:6px;overflow:hidden}.procurement-order-progress>span b{border-radius:inherit;background:#82a18d;height:100%;display:block}.procurement-order-progress small{color:var(--muted);font-size:8.5px}.procurement-order-progress small b{color:#55745d;font-size:12px}.procurement-material-table{border-top:1px solid #ece8df;overflow-x:auto}.procurement-material-head,.procurement-material-table>div:not(.procurement-material-head){grid-template-columns:minmax(210px,1.5fr) minmax(110px,.7fr) minmax(175px,1fr) minmax(135px,.75fr) minmax(145px,.8fr) 105px;align-items:center;gap:13px;min-width:940px;padding:11px 19px;display:grid}.procurement-material-head{color:#87938d;letter-spacing:.03em;background:#faf9f5;min-height:35px;font-size:8px;font-weight:700}.procurement-material-table>div:not(.procurement-material-head){border-top:1px solid #f0ece5;min-height:72px}.procurement-material-table>div.risk{background:#fff8f6}.procurement-material-table span{gap:4px;min-width:0;display:grid}.procurement-material-identity{grid-template-columns:42px minmax(0,1fr);align-items:center}.procurement-material-identity>span:last-child{gap:4px;min-width:0;display:grid}.procurement-material-photo{border:1px solid var(--line);color:#829187;cursor:pointer;background:#f4f5f1;border-radius:8px;place-items:center;width:38px;height:38px;padding:0;overflow:hidden;display:grid!important}.procurement-material-photo img{object-fit:cover;width:100%;height:100%}.procurement-material-table strong,.procurement-material-table b{color:var(--ink);font-size:10px}.procurement-material-table small{color:var(--muted);font-size:8.5px}.procurement-order-empty{background:#faf9f5;border-top:1px solid #ece8df;align-items:center;gap:14px;min-height:68px;padding:14px 19px;display:flex}.procurement-order-empty strong{color:var(--ink);font-size:10.5px}.procurement-order-empty span{color:var(--muted);font-size:9.5px}.procurement-timeline-page{gap:16px;display:grid}.procurement-timeline-heading{justify-content:space-between;align-items:end;gap:18px;display:flex}.procurement-timeline-heading h2{margin:5px 0 4px}.procurement-timeline-heading p{max-width:760px;color:var(--muted);margin:0;font-size:11px}.procurement-timeline-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.procurement-timeline-summary>span{border:1px solid var(--line);background:#fff;border-radius:12px;align-content:center;gap:5px;min-height:92px;padding:15px 17px;display:grid}.procurement-timeline-summary>span.risk{background:#fff7f5;border-color:#e2afa8}.procurement-timeline-summary small{color:var(--muted);font-size:10px}.procurement-timeline-summary b{color:var(--ink);font-size:24px}.procurement-timeline-card{overflow-x:auto}.procurement-timeline-row{border-bottom:1px solid var(--line);grid-template-columns:1.1fr 1.25fr .8fr .8fr .8fr 1.15fr .8fr;align-items:center;gap:12px;min-width:1120px;min-height:76px;padding:10px 16px;display:grid}.procurement-timeline-row.header{min-height:40px;color:var(--muted);background:#f6f6f2;font-size:9px;font-weight:700}.procurement-timeline-row.risk{background:#fff8f6}.procurement-timeline-row>span{gap:5px;min-width:0;display:grid}.procurement-timeline-row strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.procurement-timeline-row small{color:var(--muted);font-size:9px}.procurement-timeline-row .procurement-kind-badge{margin:0 6px 0 0;display:inline-flex}.procurement-timeline-row .row-action{width:fit-content}.procurement-permission-note{color:#54705b;background:#f2f7f1;border:1px solid #bdd0c0;border-radius:10px;align-items:center;gap:8px;margin:0;padding:12px 15px;font-size:10.5px;display:flex}.procurement-image-preview-modal{width:min(1080px,100vw - 40px);max-width:none;max-height:calc(100vh - 40px);overflow:auto}.procurement-image-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 22px 24px;display:grid}.procurement-image-preview-grid figure{border:1px solid var(--line);background:#fafaf7;border-radius:12px;margin:0;overflow:hidden}.procurement-image-preview-grid img{object-fit:contain;background:#f3f3ef;width:100%;height:260px;display:block}.procurement-image-preview-grid figcaption{gap:3px;padding:10px 12px;display:grid}.procurement-image-preview-grid figcaption strong{color:var(--ink);font-size:11px}.procurement-image-preview-grid figcaption small{color:var(--muted);font-size:9px}.bom-order-context{background:#f6f9f4;border:1px solid #dfe6df;border-radius:11px;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:13px;display:grid}.bom-order-context>div{gap:4px;min-width:0;display:grid}.bom-order-context small{color:var(--muted);font-size:8.5px}.bom-order-context strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.bom-order-context p{color:#5f7768;grid-column:1/-1;margin:2px 0 0;font-size:9px}.purchase-arrival-progress{background:#e8e4db;border-radius:999px;width:min(360px,100%);height:5px;margin-top:8px;display:block;overflow:hidden}.purchase-arrival-progress b{border-radius:inherit;background:#82a18d;height:100%;display:block}.purchase-risk-row{background:#fff8f6}.purchase-issue-copy{margin-top:6px;color:#a4574d!important}.purchase-manager-modal{width:min(920px,100vw - 32px);max-height:min(860px,100vh - 32px);overflow-y:auto}.purchase-status-actions{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:20px;display:grid}.purchase-status-actions button{color:#587066;cursor:pointer;background:#fff;border:1px solid #dcd6ca;border-radius:10px;padding:10px 8px}.purchase-status-actions button.active{color:#fff;background:#183650;border-color:#183650}.purchase-form-actions{align-items:center}.purchase-form-actions .danger-outline{color:#a45349;border-color:#d7aaa4;align-items:center;gap:6px;display:inline-flex}.form-action-spacer{flex:1}.pi-adjustment-section .drawer-section-heading>div{gap:3px;display:grid}.pi-adjustment-section .drawer-section-heading small{color:var(--muted);font-size:9px}.pi-adjustment-summary{background:#fbfcf8;border:1px solid #e4e0d7;border-radius:9px;overflow:hidden}.pi-adjustment-summary>span{border-bottom:1px solid #ebe7de;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:7px 10px;display:flex}.pi-adjustment-summary>span:last-child{border-bottom:0}.pi-adjustment-summary small{color:#718078;font-size:9px}.pi-adjustment-summary strong{font-size:10px}.pi-adjustment-summary strong.discount,.doc-total dd.discount{color:#a45349}.pi-adjustment-summary .pi-total-line{background:#eef2eb}.pi-adjustment-summary .pi-total-line strong{font-size:12px}.commercial-request-list{gap:8px;margin-top:10px;display:grid}.commercial-request-list article{background:#fffaf1;border:1px solid #e4ddd0;border-radius:9px;grid-template-columns:.8fr 1.2fr 1.4fr .7fr auto;align-items:center;gap:10px;padding:10px;display:grid}.commercial-request-list article>span{gap:3px;display:grid}.commercial-request-list small{color:var(--muted);font-size:9px}.commercial-request-list b{font-size:10px}.commercial-request-actions{grid-auto-flow:column;gap:6px!important;display:flex!important}.adjustment-manager-modal{width:min(980px,100vw - 32px);max-height:calc(100vh - 32px)}.adjustment-manager-modal .drawer-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.adjustment-manager-modal form{padding:20px 24px 24px}.adjustment-list{gap:8px;max-height:48vh;display:grid;overflow:auto}.adjustment-editor-row{grid-template-columns:28px 120px minmax(180px,1.2fr) 130px minmax(180px,1fr) 36px;align-items:center;gap:8px;display:grid}.adjustment-editor-row select,.adjustment-editor-row input{width:100%;height:40px;color:var(--ink);font:inherit;background:#fff;border:1px solid #d8d3ca;border-radius:7px;padding:0 10px;font-size:10px}.adjustment-index{color:#5e7466;background:#eef2eb;border-radius:50%;place-items:center;width:24px;height:24px;font-size:9px;font-weight:700;display:grid}.adjustment-editor-row>button{color:#a45349;cursor:pointer;background:#fff;border:1px solid #d7ded8;border-radius:7px;place-items:center;width:36px;height:36px;display:grid}.adjustment-footer-summary{color:var(--muted);align-items:center;gap:16px;margin-top:15px;font-size:10px;display:flex}.adjustment-footer-summary strong{color:var(--ink);margin-left:auto;font-size:12px}@media (width<=820px){.adjustment-editor-row{grid-template-columns:28px 1fr 1fr}.adjustment-editor-row input[aria-label=费用名称],.adjustment-editor-row input[aria-label=费用备注]{grid-column:span 2}.adjustment-footer-summary{flex-direction:column;align-items:flex-start}.adjustment-footer-summary strong{margin-left:0}}@media (width<=760px){.purchase-status-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}.payment-summary.editable{background:#f7faf7;border-color:#b8cdbd;position:relative}.payment-summary button,.delivery-summary button{margin-top:8px}.finance-payment-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.finance-payment-summary>span{border:1px solid var(--line);background:#f8faf7;border-radius:10px;gap:4px;padding:12px;display:grid}.finance-payment-summary small,.payment-history-compact span{color:var(--muted)}.payment-history-compact{border:1px solid var(--line);border-radius:10px;gap:7px;max-height:150px;margin-top:16px;padding:14px;display:grid;overflow:auto}@media (width<=760px){.finance-payment-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.procurement-summary-grid,.procurement-timeline-summary{grid-template-columns:1fr 1fr}.procurement-order-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.bom-order-context{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-timeline-heading{flex-direction:column;align-items:flex-start}.procurement-image-preview-grid,.procurement-prep-deadline{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-prep-deadline .procurement-prep-alert{justify-self:start}}@media (width<=620px){.procurement-summary-grid,.procurement-timeline-summary,.procurement-order-meta,.bom-order-context{grid-template-columns:1fr}.procurement-order-heading{flex-direction:column;align-items:flex-start}.procurement-order-card>header{align-items:flex-start}.sku-editor-summary{flex-wrap:wrap;align-items:flex-start}.sku-editor-summary strong{width:100%;margin-left:0}.procurement-image-preview-grid{grid-template-columns:1fr}.procurement-order-gallery{flex-direction:column;align-items:flex-start}.procurement-prep-deadline{grid-template-columns:1fr}}.supplier-filter-bar{grid-template-columns:minmax(280px,1.8fr) repeat(3,minmax(140px,.55fr));gap:10px;margin-bottom:14px;display:grid}.supplier-filter-bar select{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:10px;padding:0 12px}.usage-sheet-preview{gap:16px;display:grid}.usage-sheet-section{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.usage-sheet-section-head{background:#f8faf6;justify-content:space-between;align-items:end;gap:16px;padding:14px 16px;display:flex}.usage-sheet-section-head h3{color:var(--ink);margin:4px 0;font-size:17px}.usage-sheet-section-head p{color:var(--muted);margin:0;font-size:10px}.usage-sheet-section-head label{min-width:250px;color:var(--muted);gap:5px;font-size:9px;font-weight:750;display:grid}.usage-sheet-section-head select{border:1px solid var(--line);min-height:40px;color:var(--ink);background:#fff;border-radius:8px;padding:0 10px}.usage-sheet-warning{color:#925b12;background:#fff2df;gap:3px;padding:9px 15px;font-size:10px;display:grid}.usage-material-table{overflow-x:auto}.usage-material-table>div,.usage-material-table>article{grid-template-columns:70px 1.25fr 1.15fr 1.15fr 75px 90px 100px;align-items:center;gap:8px;min-width:980px;display:grid}.usage-material-table>div{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);background:#fbfaf7;padding:9px 13px;font-size:9px;font-weight:750}.usage-material-table>article{border-bottom:1px solid #eeeae1;padding:9px 13px}.usage-material-table>article:last-child{border-bottom:0}.usage-material-table input{border:1px solid var(--line);width:100%;min-height:34px;color:var(--ink);background:#fff;border-radius:7px;padding:6px 8px}.usage-material-table>article>span{gap:5px;display:grid}.usage-material-table small{color:#708378;font-size:8px}.usage-material-image{color:#66806f;cursor:pointer;background:#f5f8f3;border:1px dashed #aebfb2;border-radius:9px;place-items:center;width:54px;height:54px;display:grid;overflow:hidden}.usage-material-image img{object-fit:cover;width:100%;height:100%}.usage-material-image input{display:none}.usage-review-confirm{color:#7d5a18;background:#fff9e8;border:1px solid #dfc68d;border-radius:10px;align-items:flex-start;gap:9px;padding:12px 14px;font-size:10px;line-height:1.5;display:flex}.danger-copy{color:#a4473d!important}@media (width<=900px){.supplier-filter-bar{grid-template-columns:1fr 1fr}.usage-sheet-section-head{flex-direction:column;align-items:stretch}.usage-sheet-section-head label{min-width:0}}.business-order-view-tabs{flex-wrap:wrap;gap:8px;padding:0 20px 12px;display:flex}.business-order-view-tabs button{border:1px solid var(--line);min-height:38px;color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;padding:0 14px;font-weight:700}.business-order-view-tabs button b{margin-left:5px;font-size:10px}.business-order-view-tabs button.active{border-color:var(--ink);background:var(--ink);color:#fff}.business-order-filter-bar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#faf9f5;grid-template-columns:minmax(250px,1.6fr) repeat(4,minmax(125px,.62fr)) auto;align-items:center;gap:9px;padding:12px 20px;display:grid}.business-order-filter-bar label{border:1px solid var(--line);min-height:40px;color:var(--muted);background:#fff;border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.business-order-filter-bar input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.business-order-filter-bar select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink);background:#fff;border-radius:9px;padding:0 10px}.business-order-filter-bar>span{color:var(--muted);white-space:nowrap;font-size:10px}.business-order-row{color:#42586b;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee9e1;grid-template-columns:1.1fr 1.35fr .55fr .8fr .85fr .7fr 1.15fr .58fr;align-items:center;gap:14px;width:100%;min-width:1140px;min-height:70px;padding:10px 20px;display:grid}.business-order-row.header{min-height:42px;color:var(--muted);cursor:default;font-size:10px;font-weight:700}.business-order-row:not(.header):hover{background:#faf8f3}.business-order-row:not(.header):focus-visible{outline-offset:-2px;outline:2px solid #789581}.business-order-row>span{gap:4px;min-width:0;display:grid}.business-order-row small{color:var(--muted);font-size:10px}.business-order-actions{align-items:center;display:flex!important}.business-order-actions .row-action{white-space:nowrap;align-items:center;gap:5px;min-height:31px;padding:0 9px;display:inline-flex}@media (width<=700px){.clone-order-source{grid-template-columns:repeat(2,minmax(0,1fr))}}.tab-bar .subdued-tab{opacity:.78;margin-left:auto}.d-customer-pool{background:#fffbf2;border:1px solid #e5d7b8;border-radius:16px;margin:0 0 18px;overflow:hidden}.d-customer-pool-head{border-bottom:1px solid #eadfc7;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.d-customer-pool-head>div{gap:3px;display:grid}.d-customer-pool-head strong{color:var(--ink);font-size:14px}.d-customer-pool-head small{color:var(--muted);font-size:11px}.d-customer-pool-head b{color:#876a2f;text-align:center;background:#f1e5c7;border-radius:999px;min-width:30px;padding:5px 9px}.d-customer-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:12px;display:grid}.d-customer-grid article{background:#fff;border:1px solid #eadfc7;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:7px 10px;padding:12px;display:grid}.d-customer-grid article>small{color:var(--muted);grid-column:2/4}.d-customer-grid article>.row-action{grid-column:2/4;justify-self:start}.heading-actions .quiet-action{color:var(--muted);background:#ffffff8f}.customer-followup-workbench{gap:16px;display:grid}.followup-filter-bar{border:1px solid var(--line);background:#faf9f5;border-radius:13px;grid-template-columns:minmax(260px,1.65fr) repeat(4,minmax(130px,.65fr)) auto;align-items:center;gap:9px;padding:12px;display:grid}.followup-filter-bar label{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fff;border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.followup-filter-bar input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.followup-filter-bar select{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:0 10px}.followup-filter-bar>span{color:var(--muted);white-space:nowrap;font-size:10px}.followup-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.followup-summary-grid button{border:1px solid var(--line);text-align:left;min-height:92px;color:var(--ink);cursor:pointer;background:#fffefa;border-radius:14px;gap:8px;padding:16px 18px;display:grid}.followup-summary-grid button span{color:var(--muted);font-size:11px;font-weight:700}.followup-summary-grid button strong{font-size:27px;line-height:1}.followup-summary-grid button.active{background:#f0f5ef;border-color:#294e3c;box-shadow:inset 0 0 0 1px #294e3c}.followup-summary-grid button.red strong{color:#bc5047}.followup-summary-grid button.amber strong{color:#b67a20}.followup-summary-grid button.sage strong{color:#557963}.followup-ledger{overflow:hidden}.followup-row{border-top:1px solid var(--line);grid-template-columns:minmax(190px,1.05fr) minmax(150px,.78fr) minmax(185px,1fr) minmax(210px,1.18fr) minmax(125px,.65fr) minmax(165px,.85fr) auto;align-items:center;gap:14px;min-width:1280px;padding:14px 18px;display:grid}.followup-row-head{color:var(--muted);background:#faf9f5;padding-top:10px;padding-bottom:10px;font-size:9px;font-weight:800}.followup-row>span{gap:4px;min-width:0;display:grid}.followup-row>span>strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.followup-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.45;overflow:hidden}.followup-row.overdue{box-shadow:inset 3px 0 #cf665d}.followup-row.today{box-shadow:inset 3px 0 #c8943f}.followup-customer{grid-template-columns:38px 1fr;align-items:center}.followup-customer>span{gap:3px;min-width:0;display:grid}.customer-avatar-button{cursor:pointer;font:inherit;border:0}.followup-customer .customer-avatar-button{color:#4c725b;background:#eff3eb;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;font-size:10px;font-weight:850;display:grid}.customer-name-button{width:fit-content;max-width:100%;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;font-weight:800;overflow:hidden}.customer-name-button:hover{color:#3e7257;text-underline-offset:3px;text-decoration:underline}.customer-top .customer-avatar-button{padding:0}.followup-order-summary>button{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:4px;padding:0;display:grid}.followup-order-summary>button strong{color:var(--ink);font-size:11px}.followup-order-summary>button:hover strong{color:#3e7257;text-underline-offset:3px;text-decoration:underline}.followup-due{background:#eff3eb;border-radius:999px;width:fit-content;padding:3px 7px;font-weight:800;color:#567260!important}.followup-due.overdue{background:#fae9e7;color:#ad4943!important}.followup-due.today{background:#fff0d9;color:#9b6718!important}.followup-actions{grid-template-columns:auto auto;align-items:center}.primary-mini{border:1px solid var(--ink);background:var(--ink);color:#fff;cursor:pointer;border-radius:8px;min-height:34px;padding:0 12px;font-size:9.5px;font-weight:750}.customer-followup-modal{width:min(690px,96vw)}.followup-form-grid{grid-template-columns:1fr 1fr;gap:14px;padding:20px 23px;display:grid}.followup-form-grid label{gap:6px;display:grid}.followup-form-grid label.wide{grid-column:1/-1}.followup-form-grid label>span{color:var(--muted);font-size:10px;font-weight:700}.followup-form-grid input,.followup-form-grid select,.followup-form-grid textarea{width:100%;min-height:42px;color:var(--ink);font:inherit;background:#fff;border:1px solid #ddd7ce;border-radius:9px;padding:10px 12px}.followup-form-grid textarea{resize:vertical;min-height:110px}.customer-followup-modal>.modal-actions{justify-content:flex-end;gap:10px;padding:0 23px 22px;display:flex}@media (width<=1100px){.followup-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-ledger{overflow-x:auto}.followup-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.tab-bar .subdued-tab{margin-left:0}.followup-summary-grid{grid-template-columns:1fr 1fr}.followup-form-grid{grid-template-columns:1fr}.followup-form-grid label.wide{grid-column:auto}.followup-filter-bar{grid-template-columns:1fr}}@media (width<=1180px){.business-order-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.business-order-filter-bar{grid-template-columns:1fr}}.production-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.production-kpi-grid article{border:1px solid var(--line);background:var(--paper);border-radius:13px;align-content:center;gap:6px;min-height:116px;padding:17px;display:grid}.production-kpi-grid small{color:var(--muted);font-size:10px}.production-kpi-grid strong{color:var(--ink);font-size:25px}.production-kpi-grid span{color:#83908a;font-size:9px;line-height:1.4}.production-kanban-board{grid-template-columns:repeat(3,minmax(245px,1fr));align-items:start;gap:12px;margin-bottom:18px;display:grid}.production-kanban-column{border:1px solid var(--line);background:#f5f7f3;border-radius:13px;min-width:0;overflow:hidden}.production-kanban-column.pending{background:#faf7ef;border-color:#e7dcc3;grid-column:1/-1}.production-kanban-column>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:74px;padding:14px;display:flex}.production-kanban-column>header>div{gap:5px;min-width:0;display:grid}.production-kanban-column>header strong{color:var(--ink);font-size:17px}.production-kanban-column>header small{color:var(--muted);font-size:10px}.production-kanban-column>header>span{color:#5d7363;background:#e8eee7;border-radius:999px;flex:none;padding:5px 8px;font-size:10px;font-weight:700}.production-kanban-column.pending>header>span{color:#8a7142;background:#f2e8d2}.production-kanban-column>div{align-content:start;gap:10px;min-height:190px;padding:10px;display:grid}.production-kanban-column.pending>div{min-height:0}.production-pending-list-head,.production-kanban-card.pending-list-row{grid-template-columns:minmax(150px,.78fr) minmax(245px,1.25fr) minmax(120px,.62fr) minmax(330px,1.65fr) minmax(210px,1fr);align-items:center;gap:13px;display:grid}.production-pending-list-head{color:#7b887f;letter-spacing:.05em;padding:2px 13px 7px;font-size:9px;font-weight:800}.production-kanban-card.pending-list-row{padding:12px 13px}.production-kanban-card.pending-list-row>header,.production-kanban-card.pending-list-row>footer,.production-kanban-card.pending-list-row .production-order-primary{min-width:0}.production-kanban-card.pending-list-row .production-time-warning-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.production-kanban-card.pending-list-row>footer{align-content:center}.production-kanban-card{background:#fff;border:1px solid #e3e6df;border-radius:11px;gap:11px;padding:13px;display:grid;box-shadow:0 3px 12px #27362f09}.production-kanban-card>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.production-kanban-card>header>span:first-child{gap:3px;min-width:0;display:grid}.production-kanban-card>header strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.production-kanban-card>header small{color:var(--muted);font-size:10px}.production-kanban-style{grid-template-columns:1fr 1fr 1.15fr;gap:8px;display:grid}.production-kanban-style span{gap:4px;min-width:0;display:grid}.production-kanban-style small{color:var(--muted);font-size:9px}.production-kanban-style b{color:#3d5263;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.production-kanban-time{color:#61717d;align-items:flex-start;gap:5px;margin:0;font-size:10px;line-height:1.55;display:flex}.production-kanban-time svg{flex:none;margin-top:1px}.production-time-warning-summary{color:#4f6d57;background:#f1f7f2;border:1px solid #bed0c1;border-radius:13px;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;margin:-4px 0 18px;padding:13px 15px;display:grid}.production-time-warning-summary>div{gap:3px;display:grid}.production-time-warning-summary strong{color:var(--ink);font-size:13px}.production-time-warning-summary span{color:var(--muted);font-size:10px}.production-time-warning-summary>b{white-space:nowrap;background:#dfece1;border-radius:999px;padding:7px 10px;font-size:10px}.production-time-warning-summary.due-soon{color:#8a641d;background:#fff9e9;border-color:#dec789}.production-time-warning-summary.due-soon>b{background:#f5e5b7}.production-time-warning-summary.overdue{color:#a1463b;background:#fff3f1;border-color:#e2a9a0}.production-time-warning-summary.overdue>b{background:#f4d2ce}.production-kanban-card.time-due-soon{border-color:#dfc68d;box-shadow:0 0 0 2px #e0c37e21}.production-kanban-card.time-overdue{border-color:#dfa49c;box-shadow:0 0 0 2px #cc695d21}.production-time-warning-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.production-time-warning-grid>span{background:#eef4ee;border-radius:8px;gap:3px;min-width:0;padding:8px;display:grid}.production-time-warning-grid small{color:#738078;font-size:8px;font-weight:700}.production-time-warning-grid b{color:#395443;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.production-time-warning-grid em{color:#5d7865;font-size:9px;font-style:normal;font-weight:800}.production-time-warning-grid>span.due-soon{background:#fff1c8}.production-time-warning-grid>span.due-soon b,.production-time-warning-grid>span.due-soon em{color:#895f13}.production-time-warning-grid>span.overdue{background:#fbe0dc}.production-time-warning-grid>span.overdue b,.production-time-warning-grid>span.overdue em{color:#9d3f35}.production-kanban-progress{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.production-kanban-progress>i{background:#ebece8;border-radius:999px;height:7px;overflow:hidden}.production-kanban-progress>i b{border-radius:inherit;background:#78967f;height:100%;display:block}.production-kanban-progress>span{color:#5f7465;font-size:9px;font-weight:700}.production-kanban-card>footer{flex-wrap:wrap;gap:6px;display:flex}.production-kanban-card>footer .row-action{flex:120px;justify-content:center}.production-kanban-empty{color:var(--muted);text-align:center;margin:auto;padding:42px 10px;font-size:11px}.production-shipping-modal{width:min(1500px,100vw - 34px);max-height:calc(100vh - 24px);overflow:auto}.production-shipping-toolbar{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;gap:10px;padding:14px 20px;display:flex}.production-shipping-toolbar .status-pill{margin-right:auto}.production-shipping-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 20px;display:grid}.production-shipping-summary span{border:1px solid var(--line);background:#f6f8f4;border-radius:10px;gap:5px;padding:13px;display:grid}.production-shipping-summary small{color:var(--muted);font-size:9px}.production-shipping-summary b{color:var(--ink);font-size:17px}.production-shipping-mark,.production-shipping-packing{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0 20px 16px;overflow:hidden}.production-shipping-mark>.field-grid{padding:0 16px 14px}.production-shipping-table{overflow-x:auto}.production-shipping-table>div,.production-shipping-table>article{border-top:1px solid var(--line);grid-template-columns:1.1fr 1.25fr 1.35fr .85fr 1fr .75fr .75fr .72fr .72fr .68fr .75fr .75fr 1.1fr;align-items:center;gap:7px;min-width:1680px;padding:8px 12px;display:grid}.production-shipping-table>div{min-height:38px;color:var(--muted);background:#f5f6f2;font-size:9px;font-weight:800}.production-shipping-table>article input{min-width:0;height:36px;color:var(--ink);background:#fff;border:1px solid #dcded7;border-radius:7px;padding:0 8px;font-size:10px}.production-shipping-table>article input:disabled{color:#52635a;opacity:1;background:#f7f7f3;border-color:#0000}.production-shipping-modal>.form-actions{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;position:sticky;bottom:0}.merchandising-customer-lookup{margin-bottom:18px;overflow:hidden}.merchandising-customer-lookup .card-head>label{border:1px solid var(--line);min-width:min(390px,44vw);min-height:42px;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 12px;display:flex}.merchandising-customer-lookup .card-head input{width:100%;color:var(--ink);background:0 0;border:0;outline:0}.merchandising-customer-results{border-top:1px solid var(--line);overflow-x:auto}.merchandising-customer-results>div,.merchandising-customer-results>article{border-bottom:1px solid #eee9e1;grid-template-columns:1fr .8fr 1fr 1.65fr;align-items:center;gap:14px;min-width:980px;min-height:68px;padding:11px 18px;display:grid}.merchandising-customer-results>div{min-height:38px;color:var(--muted);background:#f7f6f1;font-size:10px;font-weight:700}.merchandising-customer-results article>span{gap:4px;min-width:0;display:grid}.merchandising-customer-results article strong{overflow-wrap:anywhere;color:var(--ink);font-size:12px}.merchandising-customer-results article small{color:var(--muted);font-size:10px}.supplier-import-modal{width:min(1040px,100vw - 32px)}.supplier-import-actions{flex-wrap:wrap;gap:8px;padding:0 20px;display:flex}.supplier-import-modal>.field{margin:16px 20px 0}.supplier-import-modal textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.55}.supplier-import-recognize{justify-content:space-between;align-items:center;gap:12px;margin:10px 20px 14px;display:flex}.supplier-import-recognize small{color:var(--muted)}.supplier-import-recognize button{color:#4f6d58;cursor:pointer;background:#f3f7f2;border:1px solid #b9c9bd;border-radius:9px;align-items:center;gap:6px;padding:9px 12px;display:flex}.supplier-import-preview{border:1px solid var(--line);border-radius:10px;max-height:340px;margin:0 20px;overflow:auto}.supplier-import-preview>div,.supplier-import-preview>article{border-bottom:1px solid #eee9e1;grid-template-columns:.75fr 1.35fr 1.25fr 1fr .55fr .65fr;align-items:center;gap:10px;min-width:850px;min-height:54px;padding:9px 12px;font-size:10px;display:grid}.supplier-import-preview>div{min-height:36px;color:var(--muted);background:#f7f6f1;font-weight:700}.supplier-import-preview article>span{gap:3px;min-width:0;display:grid}.supplier-import-preview article strong{color:var(--ink);font-size:11px}.supplier-import-preview article small{color:var(--muted);font-size:9px}.material-import-preview{border:1px solid var(--line);border-radius:10px;max-height:380px;margin:0 20px;overflow:auto}.material-import-preview>div,.material-import-preview>article{border-bottom:1px solid #eee9e1;grid-template-columns:62px 1.2fr 1.35fr 1fr .9fr .55fr;align-items:center;gap:10px;min-width:900px;min-height:62px;padding:8px 12px;font-size:10px;display:grid}.material-import-preview>div{min-height:36px;color:var(--muted);background:#f7f6f1;font-weight:700}.material-import-preview article>span{gap:3px;min-width:0;display:grid}.material-import-preview article strong{color:var(--ink);font-size:11px}.material-import-preview article small{color:var(--muted);font-size:9px}.material-import-photo{color:#78907f;background:#f2f5ef;border:1px solid #e2ddd4;border-radius:8px;place-items:center;width:50px;height:50px;overflow:hidden}.material-import-photo img{object-fit:cover;width:100%;height:100%}.dashboard-production-capacity{margin-bottom:18px;overflow:hidden}.dashboard-production-capacity .card-head{padding-bottom:14px}.dashboard-production-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 18px 15px;display:grid}.dashboard-production-kpis button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#faf9f5;border-radius:11px;gap:5px;min-height:92px;padding:14px;display:grid}.dashboard-production-kpis button:hover{background:#f5f8f3;border-color:#a9bcae}.dashboard-production-kpis span{color:#61717d;font-size:11px;font-weight:700}.dashboard-production-kpis strong{color:var(--ink);font-size:22px}.dashboard-production-kpis small{color:var(--muted);font-size:10px}.dashboard-production-teams{border-top:1px solid var(--line);background:#f6f8f4;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 18px;display:grid}.dashboard-production-teams>span{grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;min-width:0;display:grid}.dashboard-production-teams b{background:var(--ink);color:#fff;border-radius:9px;grid-row:span 2;place-items:center;width:38px;height:38px;display:grid}.dashboard-production-teams strong{color:#455c4b;font-size:12px}.dashboard-production-teams small{color:var(--muted);font-size:10px}.production-line-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.production-line-card{padding:17px}.production-line-card header{justify-content:space-between;align-items:center;gap:12px;display:flex}.production-line-card header>strong{font-size:20px}.production-line-card>div{grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0 12px;display:grid}.production-line-card>div span{gap:4px;display:grid}.production-line-card small{color:var(--muted);font-size:9px}.production-line-card b{color:var(--ink);font-size:14px}.production-line-card>i{background:#e9e6df;border-radius:999px;height:7px;display:block;overflow:hidden}.production-line-card>i b{background:#809d87;height:100%;display:block}.production-line-card p{color:var(--muted);margin:10px 0 0;font-size:10px}.production-style-board{margin-bottom:18px;overflow:hidden}.production-style-table{overflow-x:auto}.production-style-head,.production-style-table>div:not(.production-style-head){grid-template-columns:1.15fr .7fr .45fr 1.45fr 1fr .75fr 1fr;align-items:center;gap:12px;min-width:1160px;padding:11px 18px;display:grid}.production-style-head{min-height:38px;color:var(--muted);background:#f7f6f1;font-size:9px;font-weight:700}.production-style-table>div:not(.production-style-head){border-top:1px solid #eee9e1;min-height:76px}.production-style-table span{gap:4px;min-width:0;display:grid}.production-style-table small{color:var(--muted);font-size:9px}.production-style-table b,.production-style-table strong{font-size:11px}.production-row-actions{flex-wrap:wrap;gap:6px!important;display:flex!important}.primary-row-action{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}.production-timeline-card{margin-bottom:18px;overflow:hidden}.production-calendar-head{align-items:center;gap:18px}.production-calendar-controls,.production-calendar-navigation,.production-calendar-scale{align-items:center;gap:6px;display:flex}.production-calendar-controls{flex-wrap:wrap;justify-content:flex-end}.production-calendar-navigation,.production-calendar-scale{border:1px solid var(--line);background:#faf9f5;border-radius:10px;padding:4px}.production-calendar-controls button{min-width:38px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 11px;font-weight:700}.production-calendar-controls button:hover,.production-calendar-controls button.active{background:var(--ink);color:#fff}.production-calendar-period{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:48px;color:var(--ink);background:#fbfaf6;align-items:center;gap:9px;padding:9px 18px;display:flex}.production-calendar-period strong{font-size:15px}.production-calendar-scroll{padding:0 18px 18px;overflow-x:auto}.production-calendar{border-right:1px solid var(--line);border-bottom:1px solid var(--line);width:100%}.production-calendar-header-row,.production-calendar-line{grid-template-columns:82px 1fr;display:grid}.production-calendar-header-row>strong,.production-calendar-line>strong{z-index:6;border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--ink);color:#fff;place-items:center;display:grid;position:sticky;left:0}.production-calendar-header-row>strong{border-top:1px solid var(--line);color:#536b59;background:#eef2ec;min-height:58px}.production-calendar-header-row>div{border-top:1px solid var(--line);display:grid}.production-calendar-header-row span{border-right:1px solid var(--line);color:#526479;background:#fbfaf7;align-content:center;justify-items:center;gap:2px;min-width:0;min-height:58px;padding:7px 4px;display:grid}.production-calendar-header-row span.weekend{background:#f4f6f1}.production-calendar-header-row span.today{color:#385d43;background:#e9f2e9;box-shadow:inset 0 -3px #6b9674}.production-calendar-header-row small{color:var(--muted);font-size:9px}.production-calendar-header-row b{white-space:nowrap;font-size:11px}.production-calendar-line>strong{border-top:1px solid #36536a;min-height:64px;font-size:14px}.production-calendar-track{background:#fff;min-height:64px;display:grid;position:relative}.production-calendar-day-column{z-index:0;border-top:1px solid var(--line);border-right:1px solid var(--line);pointer-events:none;background:#fff}.production-calendar-day-column.weekend{background:#fafaf6}.production-calendar-day-column.today{background:#f0f6ef;box-shadow:inset 2px 0 #8cab91,inset -2px 0 #8cab91}.production-calendar-event{z-index:2;min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:#e8f1e8;border:1px solid #b8cbbd;border-radius:8px;align-content:center;gap:3px;margin:6px 4px;padding:7px 9px;display:grid;overflow:hidden;box-shadow:0 2px 6px #1a354914}.production-calendar-event:hover{border-color:#6d9476;box-shadow:0 4px 12px #1a354924}.production-calendar-event.risk-注意{background:#fff4d9;border-color:#d9b972}.production-calendar-event.risk-高风险{background:#fae8e4;border-color:#d18a82}.production-calendar-event b,.production-calendar-event small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-calendar-event b{font-size:10px}.production-calendar-event small{color:#607268;font-size:9px}.production-calendar-empty{color:var(--muted);background:#f7f6f1;border-radius:9px;margin:-4px 18px 18px;padding:11px 14px;font-size:11px}.production-settlement-card{margin-bottom:18px;overflow:hidden}.production-settlement-table{overflow-x:auto}.production-settlement-table>div{border-bottom:1px solid #eee9e1;grid-template-columns:1fr 1fr .45fr .65fr .65fr .65fr .8fr .75fr;align-items:center;gap:12px;min-width:1040px;min-height:58px;padding:10px 18px;font-size:10px;display:grid}.production-settlement-table>div:first-child{min-height:38px;color:var(--muted);background:#f7f6f1;font-size:9px;font-weight:700}.production-settlement-table span{gap:4px;display:grid}.production-settlement-table small{color:var(--muted);font-size:9px}.production-style-summary,.settlement-calculation{background:#f6f9f4;border:1px solid #dfe5dd;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;display:grid}.production-style-summary span,.settlement-calculation span{gap:4px;display:grid}.production-style-summary small,.settlement-calculation small{color:var(--muted);font-size:9px}.settlement-calculation{grid-template-columns:repeat(5,minmax(0,1fr))}.settlement-calculation strong{color:#52705b;font-size:18px}.finance-production-settlements{overflow:hidden}.finance-settlement-summary{background:#f8f8f4;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px;display:grid}.finance-settlement-summary>span{border:1px solid var(--line);background:#fff;border-radius:9px;gap:5px;padding:12px;display:grid}.finance-settlement-summary small{color:var(--muted);font-size:9px}.finance-settlement-summary strong{font-size:18px}.finance-settlement-list article{border-top:1px solid #eee9e1;grid-template-columns:1.2fr .55fr .65fr .55fr .75fr .75fr 1.35fr;align-items:center;gap:12px;min-width:1150px;min-height:82px;padding:12px 18px;display:grid}.finance-settlement-list{overflow-x:auto}.finance-settlement-list article>div:first-child,.finance-settlement-list article>span{gap:4px;display:grid}.finance-settlement-list small,.finance-settlement-list em{color:var(--muted);font-size:9px;font-style:normal}.finance-settlement-actions{flex-wrap:wrap;gap:6px;display:flex}@media (width<=1050px){.production-kpi-grid,.production-kanban-board{grid-template-columns:repeat(2,minmax(0,1fr))}.production-pending-list-head{display:none}.production-kanban-card.pending-list-row{grid-template-columns:repeat(2,minmax(0,1fr))}.production-kanban-card.pending-list-row .production-time-warning-grid,.production-kanban-card.pending-list-row>footer{grid-column:1/-1}.dashboard-production-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.production-line-grid{grid-template-columns:1fr}}@media (width<=620px){.production-kpi-grid,.production-kanban-board,.dashboard-production-kpis,.dashboard-production-teams,.production-style-summary,.settlement-calculation,.finance-settlement-summary{grid-template-columns:1fr}.production-calendar-head{align-items:flex-start}.production-calendar-controls{justify-content:flex-start}.production-calendar-scroll{padding-inline:10px}.commercial-request-list article,.production-kanban-card.pending-list-row{grid-template-columns:1fr}.production-kanban-card.pending-list-row .production-time-warning-grid,.production-kanban-card.pending-list-row>footer{grid-column:auto}}body,.sidebar nav button{font-size:17px}.page-heading p{font-size:15px}.eyebrow,.section-kicker{font-size:11px!important}.card-head h2{font-size:20px}.card-head button,.filter-button{font-size:13px}.mini-metrics button,.mini-metrics .metric-total{font-size:12px}.task-row{font-size:14px}.task-row.task-header,.records-row.header{font-size:11px}.records-row{font-size:13px}.records-row small{font-size:11px}.status-pill{font-size:11.5px}.row-action{font-size:11px}.lead-main>span,.lead-next strong{font-size:12px}.lead-main small,.lead-next small,.lead-next span{font-size:10.5px}.customer-list-head{font-size:10px}.customer-list-cell{font-size:11.5px}.customer-list-cell small{font-size:10px}.drawer-section h3{font-size:15px}.drawer-section-heading>div>small,.item-line small{font-size:10.5px}.item-line>span:not(:first-child),.item-line>strong{font-size:11.5px}.item-manager-button,.doc-chip{font-size:10.5px}.field>span,.field>label{font-size:11.5px}.field input,.field select,.field textarea{font-size:12.5px}.searchable-select-options button strong{font-size:11.5px}.searchable-select-options button small,.searchable-select-empty{font-size:9.5px}.form-note{font-size:10.5px}.form-error,.sku-manager-modal .drawer-head p{font-size:11px}.sku-editor-table th{font-size:10px}.sku-editor-table input,.sku-editor-table select,.sku-amount,.sku-editor-summary{font-size:11px}.bom-head small,.bom-head em{font-size:10px}.bom-head strong{font-size:15px}.bom-cost small{font-size:9px}.bom-cost b{font-size:13px}.bom-items>div,.bom-card-actions button{font-size:10.5px}.bom-editor-meta label>span{font-size:10px}.bom-editor-meta input,.bom-add-material select,.bom-editor-table input{font-size:10.5px}.bom-editor-table{font-size:9.5px}.procurement-summary-grid small{font-size:11px}.procurement-summary-grid em{font-size:10.5px}.procurement-order-heading p{font-size:11.5px}.procurement-order-card header p{font-size:10.5px}.procurement-order-number{font-size:10px}.procurement-order-meta small,.procurement-order-progress small{font-size:9.5px}.procurement-order-meta b{font-size:11.5px}.procurement-material-head{font-size:9.5px}.procurement-material-table strong,.procurement-material-table b{font-size:11.5px}.procurement-material-table small{font-size:10px}.procurement-order-empty strong{font-size:11.5px}.procurement-order-empty span{font-size:10.5px}.bom-order-context small{font-size:9.5px}.bom-order-context strong{font-size:11.5px}.bom-order-context p{font-size:10.5px}.archive-retention-banner{background:#fff8e8;border:1px solid #dec68f;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:14px 18px;display:flex}.archive-retention-banner>span{color:#725b27;align-items:center;gap:12px;display:flex}.archive-retention-banner>span>span{gap:3px;display:grid}.archive-retention-banner small{color:#89754b;font-size:11px}.archive-retention-banner button{white-space:nowrap}.production-order-card{gap:11px}.production-order-card header>span:first-child{gap:2px;min-width:0;display:grid}.production-order-card header strong,.production-order-card header small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-order-card header small{color:var(--muted);font-size:10px}.production-order-primary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.production-order-primary>span{border:1px solid var(--line);background:#fbfaf7;border-radius:8px;gap:3px;padding:8px;display:grid}.production-order-primary small,.production-order-colors small{color:var(--muted);font-size:9px}.production-order-primary b{font-size:12px}.production-order-colors{gap:5px;display:grid}.production-order-colors>span{flex-wrap:wrap;gap:4px;display:flex}.production-order-colors i{color:#526b58;background:#eef3ec;border-radius:999px;padding:3px 7px;font-size:9px;font-style:normal}.production-order-card footer{flex-wrap:wrap;gap:6px;display:flex}.production-order-card footer .row-action{flex:auto;justify-content:center}.production-order-scheduling-modal,.production-work-order-modal{width:min(1180px,100vw - 40px);max-width:none;max-height:calc(100vh - 32px);overflow:auto}.production-work-order-modal{flex-direction:column;display:flex}.production-order-scheduling-modal form{gap:16px;padding:0 22px 22px;display:grid}.production-order-modal-summary,.production-work-order-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 22px 16px;display:grid}.production-order-modal-summary>span,.production-order-modal-summary>button,.production-work-order-overview>span{border:1px solid var(--line);text-align:left;background:#faf9f5;border-radius:10px;gap:4px;min-width:0;padding:12px;display:grid}.production-order-modal-summary>button{color:#8a6a26;grid-template-columns:auto 1fr;align-items:center}.production-order-modal-summary>button.ready{color:#4d7456;background:#f1f7f0;border-color:#a7c0aa}.production-order-modal-summary small,.production-work-order-overview small{color:var(--muted);font-size:9px}.production-order-modal-summary strong,.production-work-order-overview strong{text-overflow:ellipsis;font-size:13px;overflow:hidden}.production-sku-select-head{justify-content:space-between;align-items:end;gap:12px;display:flex}.production-sku-select-head>div{gap:3px;display:grid}.production-sku-select-head small{color:var(--muted);font-size:10px}.production-sku-select-head>span{gap:6px;display:flex}.production-sku-select-table{border:1px solid var(--line);border-radius:10px;max-height:360px;overflow:auto}.production-sku-select-table>div,.production-sku-select-table>label{border-bottom:1px solid var(--line);grid-template-columns:45px 62px 1.45fr .75fr .6fr .65fr 1fr;align-items:center;gap:10px;min-width:860px;min-height:58px;padding:8px 12px;display:grid}.production-sku-select-table>div{z-index:2;min-height:38px;color:var(--muted);background:#f3f3ef;font-size:9px;font-weight:700;position:sticky;top:0}.production-sku-select-table>label{cursor:pointer}.production-sku-select-table>label:hover{background:#f8faf6}.production-sku-select-table>label.assigned{color:#87918a;cursor:not-allowed;background:#f5f4f1}.production-sku-select-table>label>span{gap:3px;min-width:0;display:grid}.production-sku-select-table strong,.production-sku-select-table small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-sku-select-table small,.production-sku-select-table em{color:var(--muted);font-size:9px;font-style:normal}.production-sku-photo{border:1px solid var(--line);color:#87978c;background:#f5f5f1;border-radius:8px;place-items:center;width:50px;height:50px;overflow:hidden;display:grid!important}.production-sku-photo img{object-fit:cover;width:100%;height:100%}.production-batch-settings{border:1px solid var(--line);background:#faf9f5;border-radius:11px;gap:12px;padding:15px;display:grid}.production-work-order-actions{justify-content:flex-end;gap:8px;padding:0 22px 14px;display:flex}.production-packet-files,.production-work-order-section{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0 22px 18px;overflow:hidden}.production-work-order-section-head{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:14px 16px;display:flex}.production-work-order-section-head h3{margin:0 0 4px}.production-work-order-section-head p{color:var(--muted);margin:0;font-size:10px}.production-packet-files>div:last-child{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;display:grid}.production-packet-files article{border:1px solid var(--line);background:#faf9f5;border-radius:9px;justify-content:space-between;gap:8px;min-width:0;padding:10px;display:flex}.production-packet-files article.ready{background:#f1f7f0;border-color:#b7cbb9}.production-packet-files article.missing{background:#fff8e9;border-color:#e4cfaa}.production-packet-files article span{gap:3px;min-width:0;display:grid}.production-packet-files article strong,.production-packet-files article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-packet-files article small{color:var(--muted);font-size:9px}.production-packet-files article a{align-self:center;font-size:10px}.production-packet-preview-action{color:#4e7056;background:#fff;border:1px solid #afc2b2;border-radius:6px;flex:none;align-items:center;gap:4px;padding:5px 8px;display:inline-flex}.production-packet-print-meta{display:none}.production-work-order-sku-table,.production-work-order-bom-table{overflow-x:auto}.production-work-order-sku-table>div,.production-work-order-sku-table>article{border-bottom:1px solid var(--line);grid-template-columns:62px 1.35fr 1fr .75fr .65fr .65fr;align-items:center;gap:10px;min-width:850px;min-height:60px;padding:8px 14px;display:grid}.production-work-order-bom-table>div,.production-work-order-bom-table>article{border-bottom:1px solid var(--line);grid-template-columns:.9fr 1.4fr .75fr .55fr .75fr 1fr;align-items:center;gap:10px;min-width:860px;min-height:52px;padding:8px 14px;display:grid}.production-work-order-sku-table>div,.production-work-order-bom-table>div{min-height:34px;color:var(--muted);background:#f5f5f1;font-size:9px;font-weight:700}.production-work-order-sku-table article>span,.production-work-order-bom-table article>span{gap:3px;min-width:0;display:grid}.production-work-order-sku-table small,.production-work-order-bom-table small{color:var(--muted);font-size:9px}.production-packet-panel{background:#fbfcf9}.production-packet-stage-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.production-packet-stage-grid>article{border:1px solid var(--line);background:#fff;border-radius:9px;gap:9px;min-width:0;padding:11px;display:grid}.production-packet-stage-grid>article.ready{background:#f2f8f1;border-color:#aec3b1}.production-packet-stage-grid>article.missing{background:#fff9ea;border-color:#dfcda6}.production-packet-stage-grid article>span:first-child{gap:4px;min-width:0;display:grid}.production-packet-stage-title>span{justify-content:space-between;align-items:center;gap:7px;min-width:0;display:flex}.production-packet-stage-title b{color:#4f7057;background:#e8efe7;border-radius:999px;flex:none;padding:3px 7px;font-size:9px}.production-packet-stage-grid>article.missing .production-packet-stage-title b{color:#8a6a26;background:#f5ead1}.production-packet-stage-grid strong,.production-packet-stage-grid small{text-overflow:ellipsis;overflow:hidden}.production-packet-stage-grid small{color:var(--muted);font-size:9px}.production-packet-stage-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.production-packet-stage-actions a,.production-packet-stage-actions label{color:#4e7056;cursor:pointer;border:1px solid #afc2b2;border-radius:6px;align-items:center;gap:4px;padding:4px 7px;font-size:9px;display:inline-flex}.production-packet-stage-actions input{display:none}.production-packet-upload-message{border:1px solid #0000;border-radius:9px;align-items:flex-start;gap:8px;margin:12px 0 0;padding:10px 12px;font-size:10.5px;line-height:1.55;display:flex}.production-packet-upload-message.success{color:#41684b;background:#edf6ed;border-color:#a9c3ae}.production-packet-upload-message.progress{color:#49677c;background:#f0f5f8;border-color:#b6c7d5}.production-packet-upload-message.warning{color:#81611d;background:#fff6df;border-color:#ddc083}.production-packet-upload-message.error{color:#9b443b;background:#fff0ed;border-color:#dfa9a2}.production-packet-upload-message svg{flex:none;margin-top:1px}.production-packet-upload-limit{color:var(--muted);margin-top:8px;font-size:9px;display:block}.spinning{animation:.9s linear infinite production-packet-spin}@keyframes production-packet-spin{to{transform:rotate(360deg)}}.production-packet-history{margin-top:12px}.production-packet-history summary{color:#55715b;cursor:pointer;font-size:11px}.production-packet-history>div{border-top:1px solid var(--line);margin-top:8px}.production-packet-history article{border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;padding:8px 0;display:grid}.production-packet-history article>span{gap:2px;min-width:0;display:grid}.production-packet-history small{color:var(--muted);font-size:9px}.merchandising-production-progress,.merchandising-shipping-documents{background:#fbfcf9}.merchandising-production-plan-list{gap:8px;display:grid}.merchandising-production-plan-list>article{border:1px solid var(--line);background:#fff;border-radius:9px;grid-template-columns:minmax(150px,1fr) minmax(180px,1.2fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.merchandising-production-plan-list>article>span:first-child{gap:3px;min-width:0;display:grid}.merchandising-production-plan-list>article small{color:var(--muted);font-size:9px}.shipping-document-status-line{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:10px;padding:11px 12px;display:flex}.shipping-document-status-line>span:last-child{color:var(--muted);font-size:10px}.drawer-section-heading-actions,.procurement-order-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.procurement-order-card{cursor:pointer}.procurement-order-card:hover{border-color:#acbeb0;box-shadow:0 5px 16px #213a2b12}.development-quote-page{gap:14px;display:grid}.development-quote-heading{border:1px solid var(--line);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.development-quote-heading h2{margin:4px 0 6px;font-size:25px}.development-quote-heading p{color:var(--muted);margin:0;font-size:12px}.development-quote-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.development-quote-summary>span{border:1px solid var(--line);background:#fff;border-radius:12px;gap:7px;padding:15px 17px;display:grid}.development-quote-summary small{color:var(--muted);font-size:11px}.development-quote-summary b{font-size:24px}.development-quote-list{overflow:hidden}.development-quote-list-row{border-bottom:1px solid var(--line);grid-template-columns:1.15fr 1.15fr 1.2fr .85fr .65fr 1.65fr;align-items:center;gap:12px;min-width:980px;padding:12px 15px;display:grid}.development-quote-list-row.header{color:var(--muted);background:#f4f4f0;padding-block:9px;font-size:10px;font-weight:700}.development-quote-list-row>span{flex-direction:column;gap:3px;min-width:0;display:flex}.development-quote-list-row strong,.development-quote-list-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.development-quote-list-row small{color:var(--muted);font-size:10px}.development-quote-actions{flex-wrap:wrap;align-items:center;flex-direction:row!important}.development-quote-editor-wrap{padding:16px}.development-quote-editor{flex-direction:column;width:min(1560px,100vw - 32px);max-width:none;height:min(940px,100dvh - 32px);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.development-quote-editor .modal-head{flex:none;padding:18px 20px 15px}.development-quote-editor .modal-head>div{min-width:0}.development-quote-editor .modal-head h2{font-size:22px}.development-quote-editor .modal-head p{color:var(--muted);margin:5px 0 0;font-size:10px}.development-quote-editor-body{flex:auto;gap:14px;min-width:0;min-height:0;padding:16px 20px;display:grid;overflow:hidden auto}.development-quote-header-fields{grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;display:grid}.development-quote-header-fields label,.development-quote-notes{color:var(--muted);gap:5px;font-size:10px;font-weight:700;display:grid}.development-quote-header-fields label.wide{grid-column:span 2}.development-quote-header-fields input,.development-quote-header-fields select,.development-quote-notes textarea{border:1px solid var(--line);width:100%;min-height:39px;color:var(--ink);background:#fff;border-radius:8px;padding:8px 10px}.development-quote-toolbar{border:1px solid var(--line);background:#f7f8f4;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.development-quote-toolbar>div{gap:3px;display:grid}.development-quote-toolbar small{color:var(--muted);font-size:10px}.development-quote-toolbar>span{gap:7px;display:flex}.development-quote-table-wrap{overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;width:100%;min-width:0;max-height:420px;overflow:auto}.development-quote-table-wrap.has-items{height:min(420px,42vh);min-height:240px}.development-quote-table{border-collapse:collapse;width:100%;min-width:1540px;font-size:10px}.development-quote-table th{z-index:2;border-bottom:1px solid var(--line);color:#28465c;text-align:left;white-space:nowrap;background:#e7eef1;padding:8px 7px;position:sticky;top:0}.development-quote-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:5px}.development-quote-table tr:nth-child(2n) td{background:#fbfaf6}.development-quote-table input,.development-quote-table select{width:100%;min-height:31px;color:var(--ink);background:#fff;border:1px solid #d9d5ca;border-radius:6px;padding:5px 6px;font-size:10px}.development-quote-table th:first-child{width:34px}.development-quote-table th:nth-child(2){width:82px}.development-quote-table th:nth-child(3){width:160px}.development-quote-table th:nth-child(4){width:210px}.development-quote-table th:nth-child(5),.development-quote-table th:nth-child(7),.development-quote-table th:nth-child(8),.development-quote-table th:nth-child(9){width:88px}.development-quote-table th:nth-child(6){width:70px}.development-quote-table th:nth-child(10),.development-quote-table th:nth-child(11){width:160px}.development-quote-table th:nth-child(12){width:82px}.development-quote-table th:nth-child(13){width:116px}.quote-row-buttons{gap:4px;display:flex}.quote-row-buttons button{border:1px solid var(--line);color:#4f6e58;background:#fff;border-radius:6px;place-items:center;width:25px;height:25px;display:grid}.development-quote-totals{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.development-quote-totals>span{border:1px solid var(--line);background:#f5f6f2;border-radius:9px;gap:4px;padding:10px 12px;display:grid}.development-quote-totals>span.total{background:#eaf2e9;border-color:#9fb7a4}.development-quote-totals small{color:var(--muted);font-size:9px}.development-quote-totals b{font-size:14px}.development-quote-notes textarea{resize:vertical;min-height:72px}.development-quote-editor>.modal-actions{border-top:1px solid var(--line);background:#fffefbfa;flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;padding:12px 20px;display:flex}@media (width<=1300px){.development-quote-header-fields,.development-quote-totals{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=900px){.development-quote-summary,.development-quote-header-fields,.development-quote-totals,.production-order-modal-summary,.production-work-order-overview,.production-packet-files>div:last-child,.production-packet-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.development-quote-heading,.development-quote-toolbar{flex-direction:column;align-items:stretch}.development-quote-summary,.development-quote-header-fields,.development-quote-totals{grid-template-columns:1fr}.development-quote-header-fields label.wide{grid-column:auto}.archive-retention-banner{flex-direction:column;align-items:stretch}.production-order-primary,.production-order-modal-summary,.production-work-order-overview,.production-packet-files>div:last-child,.production-packet-stage-grid{grid-template-columns:1fr}.production-sku-select-head{flex-direction:column;align-items:stretch}.production-packet-history article{grid-template-columns:1fr auto}.merchandising-production-plan-list>article{grid-template-columns:1fr}}.order-workbook-upload{min-height:34px;color:var(--ink,#173b5e);cursor:pointer;background:#fff;border:1px solid #173b5e2e;border-radius:9px;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.order-workbook-upload:hover{background:#f6f9f7;border-color:#173b5e61}.order-workbook-upload input{display:none}.order-workbook-import-modal{width:min(1040px,100vw - 32px);max-height:calc(100vh - 40px);overflow:auto}.order-workbook-loading{color:#526671;justify-content:center;align-items:center;gap:10px;min-height:180px;font-weight:700;display:flex}.order-workbook-import-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 14px;display:grid}.order-workbook-import-mode label{cursor:pointer;background:#f9fbfa;border:1px solid #d7e1dc;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;display:flex}.order-workbook-import-mode label.selected{background:#f2f8f4;border-color:#4f7d69;box-shadow:0 0 0 2px #4f7d691f}.order-workbook-import-mode input{margin-top:3px}.order-workbook-import-mode span,.order-workbook-delete-confirm span{gap:3px;display:grid}.order-workbook-import-mode small,.order-workbook-delete-confirm small{color:#6c7c76;line-height:1.45}.order-workbook-copy-settings{background:#f5f8f6;border-radius:12px;margin-bottom:14px;padding:13px}.order-workbook-change-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.order-workbook-change-summary>span{background:#fff;border:1px solid #dce5e0;border-radius:10px;gap:4px;padding:11px 12px;display:grid}.order-workbook-change-summary small{color:#71807a}.order-workbook-change-summary strong{color:#173b5e;font-size:16px}.order-workbook-change-summary .danger{background:#fff7f5;border-color:#e5b8b0}.order-workbook-change-summary .danger strong{color:#a33b2e}.order-workbook-metadata-changes{color:#715b16;background:#fff8df;border-radius:10px;flex-wrap:wrap;gap:7px 14px;margin:8px 0 12px;padding:10px 12px;font-size:12px;display:flex}.order-workbook-preview-table{border:1px solid #d9e2dd;border-radius:10px;max-height:310px;overflow:auto}.order-workbook-preview-table>div,.order-workbook-preview-table>article{grid-template-columns:1.5fr 1fr .7fr .8fr .85fr;align-items:center;gap:10px;min-width:760px;padding:9px 12px;display:grid}.order-workbook-preview-table>div{z-index:1;color:#fff;background:#173b5e;font-size:11px;font-weight:800;position:sticky;top:0}.order-workbook-preview-table>article{border-top:1px solid #e4ebe7;font-size:12px}.order-workbook-preview-table>article:nth-child(odd){background:#f8faf9}.order-workbook-preview-table article span:first-child{gap:2px;display:grid}.order-workbook-preview-table article small{color:#74827c}.order-workbook-terms-preview{grid-template-columns:.8fr 1.5fr .6fr;gap:8px;margin:12px 0;display:grid}.order-workbook-terms-preview span{background:#f4f7f5;border-radius:9px;gap:3px;padding:10px 12px;display:grid}.order-workbook-terms-preview small{color:#77837e}.order-workbook-delete-confirm{color:#8c3328;background:#fff5f3;border:1px solid #e2ada4;border-radius:10px;align-items:flex-start;gap:10px;margin:12px 0;padding:12px;display:flex}.order-workbook-delete-confirm input{margin-top:3px}@media (width<=760px){.order-workbook-import-mode,.order-workbook-change-summary,.order-workbook-terms-preview{grid-template-columns:1fr}.customer-style-library-head{flex-direction:column;align-items:flex-start}.customer-style-variants{margin-left:0}.customer-style-variants>div{grid-template-columns:1fr 1fr}.customer-style-variants>div>span{grid-column:1/-1}.customer-reorder-settings{grid-template-columns:1fr}.customer-reorder-footer{flex-direction:column;align-items:stretch}.customer-reorder-footer span{margin-right:0}.sku-same-style-price{flex-wrap:wrap;width:100%}}@media print{@page{size:A4 landscape;margin:0}@page bom{size:A4 landscape;margin:0}body *{visibility:hidden!important}body.printing-document .app-shell>:not(.document-overlay){display:none!important}html,body{width:297mm;height:auto!important;min-height:0!important;overflow:visible!important}.document-overlay,.document-overlay *,.production-work-order-modal,.production-work-order-modal *{visibility:visible!important}.document-overlay{background:#fff;width:297mm;height:auto;min-height:0;margin:0 auto;padding:0;position:static;inset:auto;overflow:visible}.document-toolbar{display:none!important}.production-work-order-modal{width:100%;max-height:none;box-shadow:none;border:0;display:block;position:absolute;inset:0;overflow:visible}.production-work-order-modal .drawer-head button,.production-work-order-actions,.production-work-order-modal a{display:none!important}.production-work-order-modal .production-work-order-section{break-inside:avoid}.production-work-order-modal .production-packet-files{break-before:page;page-break-before:always;break-inside:auto}.production-work-order-modal .production-packet-files article{break-inside:avoid}.production-work-order-modal .production-packet-print-meta{display:block}.document-paper{break-after:auto;page-break-after:auto;width:297mm;height:auto;min-height:0;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0 auto}.doc-table thead{display:table-header-group}.doc-table tr{break-inside:avoid}.sample-pi-paper{padding:6mm 8mm 5mm;font-size:9.5px}.sample-pi-paper.sample-pi-dense{zoom:.78;width:380mm}.sample-pi-paper.sample-pi-ultra{zoom:.65;width:457mm}.sample-pi-paper>header{min-height:43px;padding-bottom:5px}.sample-pi-paper header h2{font-size:20px}.sample-pi-paper header p{margin-top:1px;font-size:8.5px}.sample-pi-paper .invoice-kind{min-height:22px;margin-top:5px;padding:3px 7px}.sample-pi-paper .doc-meta{gap:20px;padding:5px 0}.sample-pi-paper .doc-meta strong{font-size:12px}.sample-pi-paper .doc-meta span{font-size:8.5px}.sample-pi-paper .doc-meta dl div{min-height:16px;font-size:8.5px}.sample-pi-paper .doc-table{font-size:9.6px}.sample-pi-paper .doc-table th{height:21px;padding:3px 4px;font-size:8.5px}.sample-pi-paper .doc-table td{padding:2px 4px}.sample-pi-paper .doc-product-photo-gallery{min-height:50px}.sample-pi-paper .doc-product-photo-gallery img{width:43px;height:50px}.sample-pi-paper .doc-product-photo-gallery img:only-child,.sample-pi-paper .doc-product-photo>span:not(.doc-product-photo-gallery){width:72px;height:50px}.sample-pi-paper .invoice-commercial-flow{gap:5px;margin-top:3px}.sample-pi-paper .invoice-commercial-flow,.sample-pi-paper .bank-instructions{break-inside:avoid;page-break-inside:avoid}.sample-pi-paper .invoice-summary-card>header{min-height:24px;padding:3px 6px}.sample-pi-paper .invoice-summary-card dl{padding:2px 6px 3px}.sample-pi-paper .invoice-summary-card dl div{min-height:16px;font-size:8px}.sample-pi-paper .payment-summary-card>p{margin:3px 6px 0;font-size:8px}.sample-pi-paper .payment-summary-card .payment-condition{margin:0 6px 3px;font-size:7px}.sample-pi-paper .bank-instructions{margin-top:3px;padding:3px 6px}.sample-pi-paper .bank-title{margin-bottom:2px}.sample-pi-paper .bank-title .bank-amount-due{padding:3px 7px}.sample-pi-paper .bank-instructions dl{grid-template-columns:repeat(4,1fr);column-gap:8px}.sample-pi-paper .bank-instructions dl div,.sample-pi-paper .bank-instructions .bank-wide{grid-column:auto;grid-template-columns:55px 1fr;min-height:13px;padding:1px 0;font-size:7.2px}.sample-pi-paper .bank-payment-note{margin-top:2px;padding:2px 5px;font-size:7.2px}.sample-pi-paper .commercial-terms{margin-top:3px;padding:3px 5px}.sample-pi-paper .commercial-terms dl{grid-template-columns:repeat(3,1fr);column-gap:8px;margin-top:2px}.sample-pi-paper .commercial-terms dl div,.sample-pi-paper .commercial-terms dl .important-term{grid-column:auto;grid-template-columns:58px 1fr;gap:4px;min-height:14px;padding:1px 3px;font-size:6.7px}.sample-pi-paper>footer{margin-top:3px;padding-top:3px}.bom-document-paper{width:297mm;min-height:210mm;box-shadow:none;page:bom;margin:0}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
