.production-module{--production-accent:#247d9a;--production-accent-dark:#185d75;--production-accent-rgb:36,125,154;--production-soft:#e4f3f7;--production-soft-strong:#d2ebf1;--production-surface:#f3fafb;--production-card-tint:#eaf6f8;--production-border:#bcdce3;--production-cyan:#277d87;position:relative;display:flex;min-width:0;height:100vh;grid-column:2/-1;grid-row:1;flex-direction:column;overflow:hidden;background:radial-gradient(circle at 92% 0,rgba(var(--production-accent-rgb),.16),transparent 31%),radial-gradient(circle at 8% 100%,rgba(var(--production-accent-rgb),.09),transparent 27%),var(--production-surface);color:var(--ink-900,#202a2b);transition:background .26s ease,color .2s ease}.production-form-dialog.production-theme-sample,.production-module.production-theme-sample{--production-accent:#247d9a;--production-accent-dark:#185d75;--production-accent-rgb:36,125,154;--production-soft:#e4f3f7;--production-soft-strong:#d2ebf1;--production-surface:#f3fafb;--production-card-tint:#eaf6f8;--production-border:#bcdce3}.production-form-dialog.production-theme-bulk,.production-module.production-theme-bulk{--production-accent:#b56224;--production-accent-dark:#874619;--production-accent-rgb:181,98,36;--production-soft:#fff0dc;--production-soft-strong:#ffe2bd;--production-surface:#fff8ef;--production-card-tint:#fff1dc;--production-border:#edc89a}.app-shell[data-active-module=production] .brand-mark,.app-shell[data-active-module=production] .nav-rail,.app-shell[data-active-module=production] .rail-button[data-module=production]{transition:background .28s ease,color .22s ease,box-shadow .22s ease}.app-shell[data-active-module=production][data-production-theme=sample] .nav-rail{background:radial-gradient(circle at 50% 3%,rgba(65,178,211,.3),transparent 25%),radial-gradient(circle at 15% 56%,rgba(36,125,154,.2),transparent 31%),linear-gradient(180deg,#123d4b,#173843 52%,#1b2b34)}.app-shell[data-active-module=production][data-production-theme=bulk] .nav-rail{background:radial-gradient(circle at 50% 3%,rgba(230,139,66,.32),transparent 25%),radial-gradient(circle at 15% 56%,rgba(181,98,36,.2),transparent 31%),linear-gradient(180deg,#4b2d1d,#3d3029 52%,#2e2929)}.app-shell[data-active-module=production][data-production-theme=sample] .brand-mark{background:linear-gradient(145deg,#2196a8,#347fbd)}.app-shell[data-active-module=production][data-production-theme=bulk] .brand-mark{background:linear-gradient(145deg,#d17a30,#a34d2d)}.app-shell[data-active-module=production][data-production-theme=sample] .rail-button[data-module=production]{--rail-accent:#247d9a;--rail-soft:#e4f3f7}.app-shell[data-active-module=production][data-production-theme=bulk] .rail-button[data-module=production]{--rail-accent:#b56224;--rail-soft:#fff0dc}.production-module button,.production-module input,.production-module select,.production-module textarea{font:inherit}.production-module .crm-module-eyebrow{color:var(--production-accent)}.production-module .crm-primary-button{border-color:var(--production-accent);background:var(--production-accent)}.production-module .crm-primary-button:hover{border-color:var(--production-accent-dark);background:var(--production-accent-dark)}.production-module-header{border-bottom-color:var(--production-border);background:radial-gradient(circle at 90% 0,rgba(var(--production-accent-rgb),.15),transparent 38%),linear-gradient(95deg,rgba(255,255,255,.99),var(--production-soft)),rgba(255,255,255,.97);transition:border-color .24s ease,background .26s ease}.production-module-header .crm-icon-button:hover,.production-module-header .crm-secondary-button:hover{border-color:var(--production-border);background:var(--production-soft);color:var(--production-accent)}.production-module-scroll{width:100%;max-width:1480px;margin:0 auto}.production-type-switch{display:grid;margin-bottom:12px;padding:4px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4px;gap:4px;border:1px solid var(--production-border);border-radius:13px;background:rgba(255,255,255,.64);box-shadow:inset 0 0 0 1px rgba(255,255,255,.46);transition:border-color .24s ease,background .24s ease}.production-type-switch>button{--type-accent:var(--production-accent);--type-soft:var(--production-soft);--type-border:var(--production-border);--type-shadow:rgba(var(--production-accent-rgb),0.14);display:grid;min-height:56px;padding:8px 14px;align-items:center;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink-600,#526162);text-align:left;transition:.18s ease}.production-type-switch>button[data-production-type=sample]{--type-accent:#247d9a;--type-soft:#e4f3f7;--type-border:#9fcfd9;--type-shadow:rgba(36,125,154,0.15)}.production-type-switch>button[data-production-type=bulk]{--type-accent:#b56224;--type-soft:#fff0dc;--type-border:#e4b77d;--type-shadow:rgba(181,98,36,0.15)}.production-type-switch>button>span{display:grid;width:31px;height:31px;place-items:center;border-radius:9px;background:var(--type-soft);color:var(--type-accent);font-size:11px;font-weight:800}.production-type-switch>button strong{font-size:15px;font-weight:780}.production-type-switch>button em{display:grid;min-width:24px;height:24px;padding:0 6px;place-items:center;border-radius:12px;background:rgba(255,255,255,.72);font-size:11px;font-style:normal;font-weight:800}.production-type-switch>button:hover{background:rgba(255,255,255,.58);color:var(--type-accent)}.production-type-switch>button.active{border-color:var(--type-border);background:linear-gradient(105deg,#fff 46%,var(--type-soft));color:var(--type-accent);box-shadow:inset 4px 0 0 var(--type-accent),0 4px 13px var(--type-shadow)}.production-type-switch>button.active>span{background:var(--type-accent);color:#fff;box-shadow:0 4px 10px var(--type-shadow)}.production-type-switch>button.active>em{background:#fff;color:var(--type-accent)}.production-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));grid-gap:9px;gap:9px}.production-summary-grid article{position:relative;min-width:0;min-height:86px;padding:12px 14px 11px 17px;overflow:clip;border:1px solid var(--ink-200,#dfe4e4);border-radius:11px;background:linear-gradient(145deg,#fff 64%,var(--production-card-tint));box-shadow:0 2px 7px rgba(22,40,48,.04);transition:border-color .22s ease,background .26s ease,box-shadow .22s ease}.production-summary-grid article:before{position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--production-accent);content:""}.production-summary-grid article>span{color:var(--ink-500,#819091);font-size:12px;font-weight:700}.production-summary-grid article>strong{display:block;margin-top:3px;color:var(--ink-950,#172021);font-size:22px;font-weight:790;letter-spacing:-.04em}.production-summary-grid article:first-child{border-color:var(--production-border)}.production-summary-grid article:first-child>strong{color:var(--production-accent)}.production-summary-grid article>small{display:block;margin-top:1px;color:var(--ink-400,#a2adae);font-size:11px}.production-summary-grid article.is-active:before{background:var(--blue-500,#2b8fff)}.production-summary-grid article.is-active>strong{color:var(--blue-700,#235fa4)}.production-summary-grid article.is-overdue:before{background:var(--coral-700,#a7443b)}.production-summary-grid article.is-overdue>strong{color:var(--coral-700,#a7443b)}.production-summary-grid article.is-completed:before{background:var(--green-500,#3aa76d)}.production-summary-grid article.is-completed>strong{color:var(--green-700,#237047)}.production-toolbar{display:grid;min-width:0;margin-top:12px;grid-template-columns:minmax(220px,1fr) auto;grid-gap:9px;gap:9px}.production-search{display:flex;min-width:0;height:38px;padding:0 9px;align-items:center;gap:7px;border:1px solid var(--ink-200,#dfe4e4);border-radius:9px;background:#fff;color:var(--ink-400,#a2adae)}.production-search:focus-within{border-color:var(--production-border);box-shadow:0 0 0 3px rgba(var(--production-accent-rgb),.1)}.production-module .crm-owner-filter:focus-within{border-color:var(--production-border);box-shadow:0 0 0 3px rgba(var(--production-accent-rgb),.1)}.production-search input{min-width:0;height:100%;padding:0;flex:1 1;border:0;outline:0;background:transparent;color:var(--ink-800,#334243);font-size:13px}.production-search>button{display:grid;width:23px;height:23px;padding:0;place-items:center;border:0;border-radius:6px;background:var(--ink-100,#f1f4f3);color:var(--ink-500,#819091)}.production-stage-filters{display:flex;min-width:0;grid-column:1/-1;gap:5px;overflow-x:auto;scrollbar-width:none}.production-stage-filters::-webkit-scrollbar{display:none}.production-stage-filters>button{display:inline-flex;min-height:31px;padding:0 9px;flex:none;align-items:center;gap:6px;border:1px solid var(--ink-200,#dfe4e4);border-radius:8px;background:#fff;color:var(--ink-600,#526162);font-size:11px;font-weight:720}.production-stage-filters>button span{display:grid;min-width:16px;height:16px;padding:0 4px;place-items:center;border-radius:8px;background:var(--ink-100,#f1f4f3);font-size:11px}.production-stage-filters>button.active,.production-stage-filters>button:hover{border-color:var(--production-accent);background:var(--production-soft);color:var(--production-accent)}.production-stage-filters>button.is-overdue.active,.production-stage-filters>button.is-overdue:hover{border-color:var(--coral-700,#a7443b);background:var(--coral-100,#fde8e5);color:var(--coral-700,#a7443b)}.production-workspace{display:grid;min-width:0;margin-top:12px;align-items:start;grid-template-columns:minmax(0,1fr) minmax(300px,338px);grid-gap:12px;gap:12px}.production-order-list{display:flex;min-width:0;min-height:430px;padding:9px;flex-direction:column;gap:8px;border:1px solid var(--production-border);border-radius:13px;background:rgba(255,255,255,.66);box-shadow:0 8px 24px rgba(var(--production-accent-rgb),.05);transition:border-color .23s ease,box-shadow .23s ease}.production-order-list>.crm-module-empty,.production-order-list>.crm-module-loading{min-height:410px}.production-order-list .crm-module-empty button{margin-top:13px}.production-order-card{position:relative;display:block;width:100%;min-width:0;padding:12px 13px 11px 16px;overflow:hidden;border:1px solid var(--ink-150,#e9eded);border-radius:11px;background:#fff;color:inherit;text-align:left;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.production-order-card:before{position:absolute;top:10px;bottom:10px;left:0;width:3px;border-radius:0 3px 3px 0;background:var(--production-accent);content:""}.production-order-card.selected,.production-order-card:hover{border-color:var(--production-border);box-shadow:0 5px 14px rgba(var(--production-accent-rgb),.1);transform:translateY(-1px)}.production-order-card.selected{background:linear-gradient(100deg,#fff 48%,var(--production-card-tint));box-shadow:inset 3px 0 0 var(--production-accent),0 5px 14px rgba(var(--production-accent-rgb),.1)}.production-order-card.overdue{border-color:#eccbc6;background:linear-gradient(100deg,#fff,var(--coral-50,#fff5f3))}.production-order-card-meta,.production-order-card-top,.production-order-party{display:flex;min-width:0;align-items:center}.production-order-card-top{justify-content:space-between;gap:12px}.production-order-card-top>span{min-width:0}.production-order-card-top small{display:block;color:var(--production-accent);font-size:11px;font-weight:790;letter-spacing:.04em}.production-document-link-badge{margin-left:7px;background:#fff0df;color:#9b4c1c}.production-color-count-badge,.production-document-link-badge{display:inline-flex;min-height:17px;padding:0 6px;align-items:center;border-radius:5px;font-size:9px;letter-spacing:0}.production-color-count-badge{margin-left:5px;background:#e8f2ff;color:#285f9b}.production-order-card-top strong{display:block;overflow:hidden;margin-top:3px;color:var(--ink-900,#202a2b);font-size:15px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.production-detail-panel>header>em,.production-order-card-top>em{display:inline-flex;min-height:22px;padding:0 8px;flex:none;align-items:center;border-radius:7px;font-size:11px;font-style:normal;font-weight:780}.status-active{background:var(--blue-100,#e3f0ff);color:var(--blue-700,#235fa4)}.status-completed{background:var(--green-100,#e1f5e9);color:var(--green-700,#237047)}.status-cancelled{background:var(--ink-100,#f1f4f3);color:var(--ink-600,#526162)}.production-order-card.overdue .production-order-card-top>em{background:var(--coral-100,#fde8e5);color:var(--coral-700,#a7443b)}.production-order-party{margin-top:7px;gap:7px 14px;color:var(--ink-500,#819091);font-size:11px;flex-wrap:wrap}.production-order-card-meta>span,.production-order-party>span{display:inline-flex;min-width:0;align-items:center;gap:4px}.production-order-party b{color:var(--ink-700,#435152);font-weight:740}.production-order-card-meta svg,.production-order-party svg{flex:none}.production-order-card-meta{margin-top:9px;gap:8px 13px;color:var(--ink-500,#819091);font-size:11px;flex-wrap:wrap}.production-order-card-meta>b{margin-left:auto;color:var(--production-accent);font-size:12px;font-weight:800}.production-progress{margin-top:13px}.production-progress,.production-progress-step{display:flex;min-width:0;align-items:flex-start}.production-progress-step{position:relative;flex:1 1;gap:6px;color:var(--ink-400,#a2adae)}.production-progress-step:not(:last-child):after{position:absolute;z-index:0;top:11px;right:3px;left:27px;height:2px;background:#e0e6e8;content:""}.production-progress-step>i{position:relative;z-index:1;display:grid;width:23px;height:23px;flex:none;place-items:center;border:1px solid #d6dee1;border-radius:7px;background:#fff;font-size:11px;font-style:normal;font-weight:800}.production-progress-step>span{min-width:0;padding-right:5px}.production-progress-step b,.production-progress-step small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-progress-step b{padding-top:2px;font-size:11px;font-weight:730}.production-progress-step small{margin-top:3px;color:var(--ink-400,#a2adae);font-size:11px}.production-progress-step.is-active,.production-progress-step.is-done{color:var(--production-accent)}.production-progress-step.is-done>i{border-color:var(--production-accent);background:var(--production-accent);color:#fff}.production-progress-step.is-done:after{background:var(--production-border)}.production-progress-step.is-active>i{border-color:var(--production-accent);background:var(--production-soft);box-shadow:0 0 0 3px rgba(var(--production-accent-rgb),.11)}.production-progress-step.is-skipped{color:var(--ink-400,#a2adae);opacity:.68}.production-progress.is-compact{margin-top:11px;padding:9px 8px;border-radius:9px;background:linear-gradient(100deg,#f8fafb,var(--production-soft));transition:background .24s ease}.production-progress.is-compact .production-progress-step{align-items:center}.production-progress.is-compact .production-progress-step b{padding-top:0;font-size:11px}.production-progress.is-compact .production-progress-step>i{width:20px;height:20px}.production-progress.is-compact .production-progress-step:not(:last-child):after{top:9px;left:24px}.production-detail-panel{position:-webkit-sticky;position:sticky;top:0;min-width:0;overflow:hidden;border:1px solid var(--production-border);border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(var(--production-accent-rgb),.08);transition:border-color .23s ease,box-shadow .23s ease}.production-detail-panel>header{display:grid;min-height:88px;padding:14px;align-items:center;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;border-bottom:1px solid var(--production-border);background:linear-gradient(135deg,#fff 42%,var(--production-soft));transition:border-color .23s ease,background .26s ease}.production-detail-mark{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:var(--production-accent);color:#fff;font-size:14px;font-weight:800;box-shadow:0 6px 14px rgba(var(--production-accent-rgb),.24)}.production-detail-panel>header>div{min-width:0}.production-detail-panel>header>div>span{display:block;overflow:hidden;color:var(--production-accent);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.production-detail-panel>header h2{overflow:hidden;margin:3px 0 0;color:var(--ink-950,#172021);font-size:16px;text-overflow:ellipsis;white-space:nowrap}.production-detail-panel>header p{overflow:hidden;margin:4px 0 0;color:var(--ink-500,#819091);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-detail-block,.production-notes,.production-stage-history{padding:13px 14px;border-bottom:1px solid var(--ink-150,#e9eded)}.production-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-detail-heading>span,.production-notes>span,.production-stage-history>span{color:var(--ink-500,#819091);font-size:11px;font-weight:730}.production-detail-heading>strong{color:var(--production-accent);font-size:12px}.production-detail-grid{display:grid;padding:12px 14px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;border-bottom:1px solid var(--ink-150,#e9eded)}.production-detail-grid>div{min-width:0;min-height:51px;padding:8px;border-radius:8px;background:var(--ink-50,#f7f9f8)}.production-detail-grid small,.production-detail-grid span{display:block;overflow:hidden;color:var(--ink-400,#a2adae);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-detail-grid strong{display:block;overflow:hidden;margin-top:4px;color:var(--ink-800,#334243);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.production-detail-grid .production-detail-spec{grid-column:1/-1}.production-detail-grid .production-detail-spec strong{max-height:76px;overflow:auto;line-height:1.55;text-overflow:clip;white-space:pre-line}.production-detail-grid small{margin-top:2px}.production-detail-grid>div.overdue{background:var(--coral-50,#fff5f3)}.production-detail-grid>div.overdue strong{color:var(--coral-700,#a7443b)}.production-detail-grid>div.production-roll-negative{background:#fff0f0;box-shadow:inset 0 0 0 1px #efb1b1}.production-detail-grid>div.production-roll-negative small,.production-detail-grid>div.production-roll-negative strong{color:#b42318}.production-document-link{display:flex;margin:0;padding:11px 14px;align-items:center;gap:10px;border-bottom:1px solid var(--ink-150,#e9eded);background:linear-gradient(135deg,#fff9f1,#fffdf9)}.production-document-link>span{display:grid;width:34px;height:34px;flex:none;place-items:center;border-radius:9px;background:#ffe9d1;color:#9f501f}.production-document-link>div{display:grid;min-width:0;flex:1 1;grid-gap:1px;gap:1px}.production-document-link small{color:#a16c42;font-size:10px}.production-document-link strong{color:#7c3f19;font-size:13px}.production-document-link p{overflow:hidden;margin:0;color:#806d60;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.production-document-link em{padding:4px 7px;border-radius:6px;background:#dff3e9;color:#167154;font-size:10px;font-style:normal;font-weight:800}.production-color-batches{border-bottom:1px solid var(--ink-150,#e9eded);background:#fbfcfe}.production-color-batches>header{display:flex;padding:10px 14px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5eaf0;background:linear-gradient(135deg,#eef5ff,#f8fbff)}.production-color-batches>header>div{display:grid;grid-gap:2px;gap:2px}.production-color-batches>header span{color:#58718d;font-size:10px;font-weight:750}.production-color-batches>header strong{color:#284f78;font-size:12px}.production-color-batches>header em{padding:4px 7px;border-radius:6px;background:#dcecff;color:#285f9b;font-size:10px;font-style:normal;font-weight:800}.production-color-batches>div{display:grid;padding:10px 14px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.production-color-batches article{display:flex;min-width:0;padding:7px 8px;align-items:center;gap:8px;border:1px solid #e1e7ed;border-radius:8px;background:#fff}.production-color-batches article>span{display:grid;width:24px;height:24px;flex:none;place-items:center;border-radius:6px;background:#edf3fa;color:#55718c;font-size:9px;font-weight:850}.production-color-batches article>div{display:grid;min-width:0;flex:1 1;grid-gap:1px;gap:1px}.production-color-batches article small,.production-color-batches article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-color-batches article strong{color:#334a5e;font-size:11px}.production-color-batches article small{color:#8b979e;font-size:9px}.production-color-batches article>em{color:#784d29;font-size:10px;font-style:normal;font-weight:850;white-space:nowrap}.production-color-batches>footer{display:flex;padding:8px 14px;align-items:center;gap:6px;border-top:1px solid #efe3d6;background:#fff9f2;color:#82552e;font-size:10px;font-weight:700}.production-supplier-grid{display:grid;padding:12px 14px;grid-template-columns:1fr;grid-gap:6px;gap:6px;border-bottom:1px solid var(--ink-150,#e9eded)}.production-supplier-grid article{display:flex;min-width:0;min-height:43px;padding:7px 9px;align-items:center;gap:8px;border:1px solid var(--ink-150,#e9eded);border-radius:8px;background:#fff}.production-supplier-grid article>span{display:grid;width:24px;height:24px;flex:none;place-items:center;border-radius:7px;background:var(--production-soft);color:var(--production-accent);font-size:11px;font-weight:800}.production-supplier-grid article>div{min-width:0}.production-supplier-grid small,.production-supplier-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-supplier-grid small{color:var(--ink-400,#a2adae);font-size:11px}.production-supplier-grid strong{margin-top:2px;color:var(--ink-800,#334243);font-size:12px}.production-supplier-grid p{display:flex;min-width:0;margin:4px 0 0;align-items:center;gap:4px;overflow:hidden;color:var(--ink-500,#819091);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-supplier-grid p svg{flex:none}.production-supplier-grid article.is-skipped{border-style:dashed;background:var(--ink-50,#f7f9f8);opacity:.72}.production-stage-history>div{margin-top:8px}.production-stage-history p{display:grid;min-height:25px;margin:0;align-items:center;grid-template-columns:8px minmax(0,1fr) auto;grid-gap:6px;gap:6px;color:var(--ink-400,#a2adae);font-size:11px}.production-stage-history p i{width:6px;height:6px;border-radius:50%;background:#d6dddf}.production-stage-history p.done{color:var(--ink-700,#435152)}.production-stage-history p.done i{background:var(--green-500,#3aa76d);box-shadow:0 0 0 3px var(--green-100,#e1f5e9)}.production-stage-history p b{font-weight:720}.production-stage-history p time{color:var(--ink-400,#a2adae)}.production-notes p{margin:7px 0 0;color:var(--ink-600,#526162);font-size:11px;line-height:1.6;white-space:pre-line}.production-detail-panel>footer{display:flex;min-height:58px;padding:10px 14px;align-items:center;justify-content:flex-end;gap:8px;background:#f8fafb}.production-cancel-button{min-height:34px;padding:0 10px;border:1px solid #e0b9b4;border-radius:8px;background:#fff;color:var(--coral-700,#a7443b);font-size:11px;font-weight:720}.production-schedule-button{min-height:34px;border:1px solid #e0b781;background:#fff8ed;color:#8f4b1d}.production-complete-message,.production-schedule-button{display:inline-flex;padding:0 10px;align-items:center;gap:5px;border-radius:8px;font-size:11px;font-weight:760}.production-complete-message{min-height:32px;background:var(--green-100,#e1f5e9);color:var(--green-700,#237047)}.production-form-backdrop{position:fixed;z-index:165;inset:0;display:grid;padding:18px;place-items:center;background:rgba(18,33,33,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.production-form-dialog{width:min(760px,100%);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid rgba(255,255,255,.55);border-radius:15px;background:#fff;box-shadow:0 25px 68px rgba(16,38,36,.25);animation:production-dialog-in .17s ease-out}@keyframes production-dialog-in{0%{opacity:0;transform:translateY(7px) scale(.99)}}.production-form-dialog>header{display:flex;min-height:78px;padding:14px 17px;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--production-border);background:linear-gradient(130deg,#fff 42%,var(--production-soft));transition:border-color .22s ease,background .24s ease}.production-form-dialog>header h2{margin:2px 0 0;color:var(--ink-950,#172021);font-size:18px}.production-form-dialog>header p{margin:4px 0 0;color:var(--ink-500,#819091);font-size:11px}.production-form-fields{display:grid;padding:16px 17px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.production-form-fields>label,.production-form-type{min-width:0}.production-form-type,.production-form-wide{grid-column:1/-1}.production-form-fields label>span,.production-form-type legend{display:block;margin-bottom:6px;color:var(--ink-600,#526162);font-size:12px;font-weight:680}.production-form-fields input,.production-form-fields select,.production-form-fields textarea{width:100%;border:1px solid var(--ink-200,#dfe4e4);border-radius:8px;outline:0;background:#fff;color:var(--ink-800,#334243);font-size:13px}.production-form-fields input,.production-form-fields select{height:38px;padding:0 9px}.production-form-fields textarea{min-height:76px;padding:9px;resize:vertical;line-height:1.5}.production-form-fields input:focus,.production-form-fields select:focus,.production-form-fields textarea:focus{border-color:var(--production-border);box-shadow:0 0 0 3px rgba(var(--production-accent-rgb),.1)}.production-form-fields label>small{display:block;margin-top:5px;color:var(--ink-400,#a2adae);font-size:11px}.production-form-factory-tip{display:flex;min-height:39px;padding:7px 9px;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--production-border);border-radius:9px;background:var(--production-soft);color:var(--ink-600,#526162);font-size:11px}.production-form-color-summary{overflow:hidden;border:1px solid #d5e2ef;border-radius:10px;background:#f8fbff}.production-form-color-summary>header{display:flex;padding:9px 10px;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dfe8f1}.production-form-color-summary>header>div{display:grid;grid-gap:2px;gap:2px}.production-form-color-summary>header span{color:#75889a;font-size:10px}.production-form-color-summary>header strong{color:#315a82;font-size:12px}.production-form-color-summary>header em{color:#a55d24;font-size:10px;font-style:normal;font-weight:800}.production-form-color-summary>div{display:grid;max-height:170px;padding:8px 10px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:5px;gap:5px;overflow:auto}.production-form-color-summary p{display:flex;min-width:0;margin:0;padding:6px 7px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e3eaf0;border-radius:7px;background:#fff}.production-form-color-summary p>span{display:grid;min-width:0;color:#354b5e;font-size:11px;font-weight:750}.production-form-color-summary p small{overflow:hidden;color:#93a0a7;font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.production-form-color-summary p strong{color:#7a4c26;font-size:10px;white-space:nowrap}.production-form-fields input:disabled{background:#f0f3f5;color:#738086;cursor:not-allowed}.production-form-factory-tip>span{display:inline-flex;align-items:center;gap:5px}.production-form-factory-tip b{color:var(--production-accent)}.production-form-factory-tip>button{flex:none;padding:4px 7px;border:0;border-radius:6px;background:var(--production-soft);color:var(--production-accent);font-size:11px;font-weight:740}.production-form-type{margin:0;padding:0;border:0}.production-form-type>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px;gap:7px}.production-form-type label{--type-accent:var(--production-accent);--type-soft:var(--production-soft);--type-border:var(--production-border);--type-shadow:rgba(var(--production-accent-rgb),0.13);display:grid;min-height:48px;padding:7px 9px;align-items:center;grid-template-columns:auto minmax(0,1fr);grid-gap:0 8px;gap:0 8px;border:1px solid var(--ink-200,#dfe4e4);border-radius:9px;background:#fff;cursor:pointer;transition:border-color .17s ease,background .19s ease,box-shadow .17s ease}.production-form-type label[data-production-type=sample]{--type-accent:#247d9a;--type-soft:#e4f3f7;--type-border:#9fcfd9;--type-shadow:rgba(36,125,154,0.14)}.production-form-type label[data-production-type=bulk]{--type-accent:#b56224;--type-soft:#fff0dc;--type-border:#e4b77d;--type-shadow:rgba(181,98,36,0.14)}.production-form-type label.active{border-color:var(--type-border);background:var(--type-soft);color:var(--type-accent);box-shadow:inset 3px 0 0 var(--type-accent),0 4px 12px var(--type-shadow)}.production-form-type input{position:absolute;width:1px;height:1px;opacity:0}.production-form-type label>span{display:grid;width:31px;height:31px;margin:0;grid-row:1/3;place-items:center;border-radius:8px;background:var(--type-soft);color:var(--type-accent);font-size:11px;font-weight:800}.production-form-type label.active>span{background:var(--type-accent);color:#fff}.production-form-type label>strong{font-size:13px}.production-finishing-toggle{display:flex;min-height:55px;padding:8px 10px;align-items:center;gap:9px;border:1px solid #ccd8e9;border-radius:9px;background:#f7f9fd;cursor:pointer}.production-finishing-toggle>input{width:18px;height:18px;flex:none;accent-color:var(--production-accent)}.production-finishing-toggle>span{min-width:0;margin:0!important}.production-finishing-toggle b,.production-finishing-toggle small{display:block}.production-finishing-toggle b{color:var(--ink-800,#334243);font-size:12px}.production-finishing-toggle small{margin-top:3px;color:var(--ink-400,#a2adae);font-size:11px}.production-form-fields label.is-disabled{opacity:.55}.production-form-error{display:flex;min-height:34px;padding:7px 9px;align-items:center;gap:7px;border:1px solid #edc6c0;border-radius:8px;background:#fff4f2;color:#9c463b;font-size:12px;font-weight:650}.production-form-dialog>footer{display:flex;min-height:66px;padding:12px 17px;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--ink-150,#e9eded);background:var(--ink-50,#f7f9f8)}.production-form-dialog>footer>span{color:var(--ink-500,#819091);font-size:11px}.production-form-dialog>footer>div{display:flex;flex:none;gap:7px}.production-factory-backdrop{position:fixed;z-index:180;inset:0;display:flex;justify-content:flex-end;background:rgba(18,33,33,.38);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.production-factory-drawer{display:flex;width:min(720px,calc(100% - 50px));height:100dvh;flex-direction:column;border-left:1px solid rgba(255,255,255,.62);background:#f5f7f9;box-shadow:-22px 0 58px rgba(17,34,39,.2);animation:production-drawer-in .19s ease-out}@keyframes production-drawer-in{0%{opacity:0;transform:translateX(20px)}}.production-factory-drawer>header{display:flex;min-height:88px;padding:15px 18px;flex:none;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dce4e9;background:linear-gradient(130deg,#fff,var(--production-soft))}.production-factory-drawer>header h2{margin:2px 0 0;color:var(--ink-950,#172021);font-size:19px}.production-factory-drawer>header p{margin:4px 0 0;color:var(--ink-500,#819091);font-size:11px}.production-factory-body{min-height:0;padding:14px 16px 26px;flex:1 1;overflow-y:auto}.production-factory-demo{display:flex;min-height:34px;margin-bottom:9px;padding:7px 10px;align-items:center;gap:7px;border:1px solid #e5d8b5;border-radius:8px;background:#fffaf0;color:#816c38;font-size:11px}.production-factory-demo i{width:7px;height:7px;border-radius:50%;background:#d69b2d;box-shadow:0 0 0 3px #f7e8bf}.production-factory-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;grid-gap:7px;gap:7px}.production-factory-toolbar>label{display:flex;height:38px;padding:0 9px;align-items:center;gap:7px;border:1px solid var(--ink-200,#dfe4e4);border-radius:9px;background:#fff;color:var(--ink-400,#a2adae)}.production-factory-toolbar input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:var(--ink-800,#334243);font-size:12px}.production-factory-editor{margin-top:11px;padding:12px;border:1px solid #c6d4e7;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(41,61,91,.08)}.production-factory-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-factory-editor-heading span,.production-factory-editor-heading strong{display:block}.production-factory-editor-heading span{color:var(--production-accent);font-size:11px;font-weight:780}.production-factory-editor-heading strong{margin-top:2px;color:var(--ink-900,#202a2b);font-size:14px}.production-factory-editor-fields{display:grid;margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px}.production-factory-editor-fields label.is-wide{grid-column:1/-1}.production-factory-editor-fields label>span{display:block;margin-bottom:5px;color:var(--ink-600,#526162);font-size:11px;font-weight:680}.production-factory-editor-fields input,.production-factory-editor-fields select,.production-factory-editor-fields textarea{width:100%;border:1px solid var(--ink-200,#dfe4e4);border-radius:8px;outline:0;color:var(--ink-800,#334243);font-size:12px}.production-factory-editor-fields input,.production-factory-editor-fields select{height:36px;padding:0 8px}.production-factory-editor-fields textarea{padding:8px;resize:vertical}.production-factory-editor-fields input:focus,.production-factory-editor-fields select:focus,.production-factory-editor-fields textarea:focus{border-color:var(--production-border);box-shadow:0 0 0 3px rgba(var(--production-accent-rgb),.1)}.production-factory-editor>.production-form-error{margin-top:9px}.production-factory-editor>footer{display:flex;margin-top:11px;justify-content:flex-end;gap:7px}.production-factory-loading{min-height:300px}.production-factory-groups{display:grid;margin-top:12px;grid-gap:12px;gap:12px}.production-factory-group{overflow:hidden;border:1px solid var(--ink-200,#dfe4e4);border-radius:12px;background:rgba(255,255,255,.72)}.production-factory-group>header{display:grid;min-height:54px;padding:8px 10px;align-items:center;grid-template-columns:auto minmax(0,1fr) auto auto;grid-gap:8px;gap:8px;border-bottom:1px solid var(--ink-150,#e9eded);background:linear-gradient(100deg,#fff,#f0f4f9)}.production-factory-group>header>span{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:var(--production-soft);color:var(--production-accent);font-size:12px;font-weight:800}.production-factory-group.type-dyeing>header>span{background:#e2f2f1;color:#277d87}.production-factory-group.type-finishing>header>span{background:#f3e9f7;color:#765082}.production-factory-group>header small,.production-factory-group>header strong{display:block}.production-factory-group>header strong{color:var(--ink-900,#202a2b);font-size:13px}.production-factory-group>header small{margin-top:2px;color:var(--ink-400,#a2adae);font-size:11px}.production-factory-group>header em{min-width:22px;padding:3px 6px;border-radius:8px;background:var(--ink-100,#f1f4f3);color:var(--ink-500,#819091);font-size:11px;font-style:normal;font-weight:800;text-align:center}.production-factory-group>header button{display:grid;width:28px;height:28px;padding:0;place-items:center;border:1px solid var(--production-border);border-radius:8px;background:#fff;color:var(--production-accent)}.production-factory-group>div{display:grid;padding:8px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px;gap:7px}.production-factory-group article{min-width:0;padding:10px;border:1px solid var(--ink-150,#e9eded);border-radius:9px;background:#fff}.production-factory-group article.is-inactive{border-style:dashed;background:#f6f7f7;opacity:.72}.production-factory-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.production-factory-card-heading strong{overflow:hidden;color:var(--ink-900,#202a2b);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.production-factory-card-heading span{padding:3px 6px;flex:none;border-radius:6px;background:var(--green-100,#e1f5e9);color:var(--green-700,#237047);font-size:11px;font-weight:720}.production-factory-group article.is-inactive .production-factory-card-heading span{background:var(--ink-100,#f1f4f3);color:var(--ink-600,#526162)}.production-factory-group dl{display:grid;margin:9px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.production-factory-group dl>div{min-width:0}.production-factory-group dl>div.is-wide{grid-column:1/-1}.production-factory-group dd,.production-factory-group dt{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.production-factory-group dt{color:var(--ink-400,#a2adae);font-size:11px}.production-factory-group dd{margin-top:2px;color:var(--ink-700,#435152);font-size:11px}.production-factory-group article>p{margin:7px 0 0;color:var(--ink-500,#819091);font-size:11px;line-height:1.45}.production-factory-group article>footer{display:flex;margin-top:9px;justify-content:flex-end;gap:6px}.production-factory-group article>footer button{display:inline-flex;min-height:25px;padding:0 7px;align-items:center;gap:4px;border:1px solid var(--ink-200,#dfe4e4);border-radius:6px;background:#fff;color:var(--ink-600,#526162);font-size:11px;font-weight:700}.production-factory-group article>footer button.is-danger{color:var(--coral-700,#a7443b)}.production-factory-group article>footer button.is-enable{color:var(--green-700,#237047)}.production-factory-empty{min-height:72px;padding:24px 12px;grid-column:1/-1;color:var(--ink-400,#a2adae);font-size:11px;text-align:center}.production-order-card.tone-active{border-color:#9fd6be;background:linear-gradient(110deg,#f1fbf6,#e5f6ed)}.production-order-card.tone-active:before{background:#249768}.production-order-card.tone-active.selected{border-color:#63b58e;background:linear-gradient(110deg,#eaf9f1,#d9f1e5);box-shadow:inset 3px 0 0 #249768,0 7px 18px rgba(36,151,104,.16)}.production-order-card.tone-cancelled{border-color:#cdd4d5;background:linear-gradient(110deg,#f5f7f7,#e8ecec);color:#778182;filter:grayscale(.12)}.production-order-card.tone-cancelled:before{background:#929d9e}.production-order-card.tone-cancelled.selected{border-color:#aeb7b8;background:linear-gradient(110deg,#f0f3f3,#dfe4e4);box-shadow:inset 3px 0 0 #929d9e,0 6px 15px rgba(80,91,92,.12)}.production-order-card.tone-urgent{border-color:#e19b91;background:linear-gradient(110deg,#fff4f2,#ffe3df);box-shadow:0 6px 18px rgba(184,69,55,.12)}.production-order-card.tone-urgent:before{width:5px;background:#cf4c3f}.production-order-card.tone-urgent.selected{border-color:#cf695d;background:linear-gradient(110deg,#fff0ed,#ffd8d2);box-shadow:inset 4px 0 0 #cf4c3f,0 8px 22px rgba(184,69,55,.18)}.production-order-card.tone-completed{border-color:#a9d2cf;background:linear-gradient(110deg,#f3faf9,#e6f3f2)}.production-order-card.tone-completed:before{background:#3a8e88}.status-active{background:#d8f2e5;color:#176e4b}.status-urgent{background:#f9d5d0;color:#a6372d}.status-cancelled{background:#dfe4e4;color:#596465}.production-order-time-progress{display:grid;margin-top:8px;align-items:center;grid-template-columns:minmax(80px,1fr) auto auto;grid-gap:7px;gap:7px}.production-order-time-progress>span{height:6px;overflow:hidden;border-radius:999px;background:rgba(78,103,94,.14)}.production-order-time-progress>span>i{display:block;height:100%;border-radius:inherit;background:#249768;transition:width .24s ease}.production-order-card.tone-urgent .production-order-time-progress>span>i{background:#cf4c3f}.production-order-card.tone-cancelled .production-order-time-progress>span>i{background:#929d9e}.production-order-time-progress>b{color:#287856;font-size:11px}.production-order-time-progress>small{color:#6f7e7b;font-size:10px;white-space:nowrap}.production-detail-panel.tone-active{border-color:#84c8a8;background:linear-gradient(180deg,#effaf4,#fff 42%);box-shadow:0 10px 28px rgba(36,151,104,.13)}.production-detail-panel.tone-active>header{border-color:#a9dac3;background:linear-gradient(135deg,#e7f7ef,#d8f0e4)}.production-detail-panel.tone-active .production-detail-mark{background:#249768}.production-detail-panel.tone-cancelled{border-color:#bcc5c6;background:linear-gradient(180deg,#eef1f1,#fff 42%);box-shadow:0 8px 22px rgba(80,91,92,.1)}.production-detail-panel.tone-cancelled>header{border-color:#cbd1d2;background:linear-gradient(135deg,#f2f4f4,#dfe4e4)}.production-detail-panel.tone-cancelled .production-detail-mark{background:#929d9e}.production-detail-panel.tone-urgent{border-color:#d98277;background:linear-gradient(180deg,#fff0ed,#fff 44%);box-shadow:0 10px 30px rgba(184,69,55,.16)}.production-detail-panel.tone-urgent>header{border-color:#e7aaa2;background:linear-gradient(135deg,#fff1ef,#ffdcd7)}.production-detail-panel.tone-urgent .production-detail-mark{background:#cf4c3f;box-shadow:0 6px 14px rgba(207,76,63,.24)}.production-detail-panel.tone-completed{border-color:#9dcac6;background:linear-gradient(180deg,#edf8f7,#fff 42%)}.production-time-plan{padding:13px 14px;border-bottom:1px solid #dce9e2;background:rgba(255,255,255,.72)}.production-time-plan>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-time-plan>header>div{display:grid;grid-gap:2px;gap:2px}.production-time-plan>header span{color:#698078;font-size:10px;font-weight:760}.production-time-plan>header strong{color:#275f49;font-size:13px}.production-time-plan>header>em{padding:4px 7px;border-radius:6px;background:#dff3e8;color:#24724f;font-size:10px;font-style:normal;font-weight:800}.production-time-plan.is-urgent>header>em{background:#f8d8d3;color:#aa3d32}.production-time-facts{display:grid;margin-top:9px;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.production-time-facts p{display:grid;margin:0;padding:7px 8px;grid-gap:3px;gap:3px;border:1px solid #dce9e2;border-radius:7px;background:#fff}.production-time-facts span{color:#899691;font-size:9px}.production-time-facts strong{color:#344c43;font-size:11px}.production-time-bars{display:grid;margin-top:9px;grid-gap:7px;gap:7px}.production-time-bars p{margin:0}.production-time-bars p>span{display:flex;margin-bottom:4px;justify-content:space-between;color:#697973;font-size:10px}.production-time-bars p>i{display:block;height:7px;overflow:hidden;border-radius:99px;background:#e5ece9}.production-time-bars p>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3cad7c,#238b62)}.production-time-plan.is-urgent .production-time-bars p>i>b{background:linear-gradient(90deg,#e97668,#ca493d)}.production-time-stage-days{display:grid;margin-top:9px;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:5px;gap:5px}.production-time-stage-days>span{display:grid;padding:6px;grid-gap:2px;gap:2px;border-radius:7px;background:#eef4f1;text-align:center}.production-time-stage-days>span.is-current{background:#d8f1e4;box-shadow:inset 0 0 0 1px #8bc9aa}.production-time-stage-days b{overflow:hidden;color:#587067;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.production-time-stage-days em{color:#23714f;font-size:11px;font-style:normal;font-weight:800}.production-estimate-editor{overflow:hidden;border:1px solid #b8d9c9;border-radius:11px;background:#f5fbf8}.production-estimate-editor>header{display:flex;padding:10px 11px;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d4e8de;background:#eaf7f0}.production-estimate-editor>header>div{display:grid;grid-gap:2px;gap:2px}.production-estimate-editor>header span{color:#5f8171;font-size:10px}.production-estimate-editor>header strong{color:#285e48;font-size:13px}.production-estimate-editor>header>em{color:#1f7852;font-size:14px;font-style:normal;font-weight:850}.production-estimate-editor>div{display:grid;padding:10px;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:7px;gap:7px}.production-estimate-editor>div>label{display:grid;padding:8px;grid-gap:7px;gap:7px;border:1px solid #d9e7e0;border-radius:8px;background:#fff}.production-estimate-editor>div>label.is-skipped{opacity:.48}.production-estimate-editor label>span{display:flex;margin:0;align-items:center;gap:5px}.production-estimate-editor label>span:first-child i{display:grid;width:20px;height:20px;place-items:center;border-radius:6px;background:#dff2e8;color:#267651;font-size:9px;font-style:normal;font-weight:800}.production-estimate-editor label>span:first-child b{overflow:hidden;color:#4b6258;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.production-estimate-editor label>span:last-child{position:relative}.production-estimate-editor label input{height:34px;padding-right:28px;text-align:center;font-weight:800}.production-estimate-editor label>span:last-child em{position:absolute;right:8px;color:#8a9892;font-size:10px;font-style:normal;pointer-events:none}.production-estimate-editor>footer{display:flex;padding:8px 11px;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d9e7e0;background:#fff;color:#64766e;font-size:10px}.production-estimate-editor>footer b{color:#256e4d}.production-estimate-editor>footer strong{color:#287652;font-size:10px}.production-estimate-editor.is-late{border-color:#e1a49b;background:#fff7f5}.production-estimate-editor.is-late>header{border-color:#edc1bb;background:#ffebe8}.production-estimate-editor.is-late>footer strong,.production-estimate-editor.is-late>header>em{color:#ad4035}@media (max-width:1100px){.production-workspace{grid-template-columns:minmax(0,1fr) minmax(282px,310px)}.production-order-card-meta>span:nth-child(2){display:none}}@media (max-width:900px){.production-module-scroll{max-width:none}.production-workspace{display:flex;flex-direction:column}.production-detail-panel,.production-order-list{position:static;width:100%}.production-detail-grid,.production-supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.production-module{width:100%;height:calc(100dvh - 58px);grid-column:auto;grid-row:auto}.production-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-summary-grid article{min-height:78px;padding:10px 12px 9px 15px}.production-summary-grid article>strong{font-size:19px}}@media (max-width:620px){.production-module-header{min-height:88px}.production-type-switch>button{min-height:50px;padding:6px 8px;gap:7px}.production-type-switch>button>span{width:28px;height:28px}.production-toolbar{grid-template-columns:1fr}.production-toolbar .crm-owner-filter{width:100%}.production-toolbar .crm-owner-filter select{width:auto;flex:1 1}.production-stage-filters{grid-column:auto}.production-order-card{padding-right:10px;padding-left:13px}.production-order-card-meta>span:nth-child(2),.production-progress.is-compact .production-progress-step>span{display:none}.production-progress.is-compact .production-progress-step:not(:last-child):after{right:0;left:25px}.production-detail-grid,.production-supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-color-batches>div,.production-form-color-summary>div{grid-template-columns:1fr}.production-supplier-grid article:last-child{grid-column:1/-1}.production-form-backdrop{padding:0;place-items:end center}.production-form-dialog{width:100%;max-height:calc(100dvh - 8px);border-radius:16px 16px 0 0}.production-form-fields{grid-template-columns:1fr}.production-estimate-editor>div,.production-time-stage-days{grid-template-columns:repeat(2,minmax(0,1fr))}.production-time-facts{grid-template-columns:1fr}.production-form-type,.production-form-wide{grid-column:auto}.production-factory-drawer{width:100%}.production-factory-body{padding:11px 10px 22px}.production-factory-toolbar{grid-template-columns:minmax(0,1fr) auto}.production-factory-toolbar>.crm-icon-button{display:none}.production-factory-editor-fields,.production-factory-group>div{grid-template-columns:1fr}.production-factory-editor-fields label.is-wide{grid-column:auto}}@media (max-width:480px){.production-module-header h1{font-size:20px}.production-module-header .crm-primary-button,.production-module-header .production-factory-library-button{width:37px;padding:0;overflow:hidden;font-size:0}.production-type-switch>button>span{display:none}.production-detail-panel>header{grid-template-columns:auto minmax(0,1fr)}.production-detail-panel>header>em{grid-column:2;justify-self:start}.production-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-progress:not(.is-compact) .production-progress-step>span{display:none}.production-progress:not(.is-compact) .production-progress-step:not(:last-child):after{right:0;left:27px}.production-estimate-editor>div,.production-form-type>div{grid-template-columns:1fr}.production-form-dialog>footer{align-items:stretch;flex-direction:column}.production-form-dialog>footer>div{width:100%}.production-form-dialog>footer button{flex:1 1}.production-form-factory-tip{align-items:flex-start;flex-direction:column}}@media (prefers-reduced-motion:reduce){.production-factory-drawer,.production-form-dialog,.production-order-card{animation-duration:.01ms!important;transition-duration:.01ms!important}}.production-draft-workspace{margin:18px 0 22px;padding:18px;border:1px solid #bad8d0;border-radius:20px;background:linear-gradient(145deg,#f7fffc,#eef9f6 60%,#f8fbff);box-shadow:0 14px 34px rgba(18,76,65,.08)}.production-draft-actions,.production-draft-approved-output>header,.production-draft-detail-header,.production-draft-heading,.production-draft-heading>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.production-draft-heading>div{align-items:flex-start;flex-direction:column;gap:3px}.production-draft-heading span{color:#23796c;font-size:11px;font-weight:800;letter-spacing:.12em}.production-draft-heading h2{margin:0;color:#173934;font-size:22px}.production-draft-heading p{margin:0;color:#637a76;font-size:13px}.production-draft-actions button,.production-draft-heading>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border:1px solid #b9d5cf;border-radius:11px;background:#fff;color:#315f58;font-weight:750;cursor:pointer}.production-draft-actions button:disabled,.production-draft-heading button:disabled{opacity:.55;cursor:not-allowed}.production-draft-feedback{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:10px;font-size:13px}.production-draft-feedback.is-error{background:#fff0ef;color:#b4473d;border:1px solid #f1c4bf}.production-draft-feedback.is-success{background:#eaf8f0;color:#247652;border:1px solid #b9e1ca}.production-draft-layout{display:grid;grid-template-columns:minmax(220px,.32fr) minmax(0,1fr);grid-gap:14px;gap:14px;margin-top:16px}.production-draft-list{display:flex;flex-direction:column;gap:8px}.production-draft-list>button{padding:12px;border:1px solid #d2e4e0;border-radius:13px;background:rgba(255,255,255,.78);text-align:left;cursor:pointer}.production-draft-list>button.is-selected{border-color:#3c9a88;background:#fff;box-shadow:0 8px 20px rgba(40,126,109,.12)}.production-draft-list button>span{display:flex;align-items:center;justify-content:space-between;gap:7px}.production-draft-list button strong{color:#183b35;font-size:13px}.production-draft-list button b,.production-draft-list button small{display:block;margin-top:7px;color:#657a77;font-size:11px;font-weight:650}.production-draft-detail-header>em,.production-draft-list button em{padding:4px 8px;border-radius:999px;font-size:10px;font-style:normal;font-weight:800}.production-draft-detail-header .is-draft,.production-draft-list .is-draft{background:#e9f2ff;color:#396fa8}.production-draft-detail-header .is-pending,.production-draft-list .is-pending{background:#fff3d9;color:#a16d13}.production-draft-detail-header .is-approved,.production-draft-list .is-approved{background:#e3f6eb;color:#24734e}.production-draft-detail-header .is-rejected,.production-draft-detail-header .is-stale,.production-draft-list .is-rejected,.production-draft-list .is-stale{background:#ffebe8;color:#ad493f}.production-draft-detail{min-width:0;padding:16px;border:1px solid #d3e6e1;border-radius:15px;background:rgba(255,255,255,.92)}.production-draft-detail-header{align-items:flex-start}.production-draft-detail-header span{color:#438075;font-size:11px;font-weight:800}.production-draft-detail-header h3{margin:3px 0;color:#173a34;font-size:18px}.production-draft-detail-header p{margin:0;color:#71827f;font-size:12px}.production-draft-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:9px;gap:9px;margin:14px 0}.production-draft-evidence article{padding:10px;border:1px solid #d9e8e5;border-radius:10px;background:#f8fcfb}.production-draft-evidence span{display:block;color:#748b87;font-size:10px}.production-draft-evidence strong{display:block;margin-top:4px;color:#285a52;font-size:11px;overflow-wrap:anywhere}.production-draft-lock-note,.production-draft-rejection{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:11px 12px;border-radius:11px}.production-draft-rejection{border:1px solid #f0c1bc;background:#fff1ef;color:#a6433b}.production-draft-lock-note{border:1px solid #edd69d;background:#fff9e9;color:#86631f}.production-draft-lock-note p,.production-draft-rejection p{display:flex;flex-direction:column;gap:3px;margin:0}.production-draft-lock-note span,.production-draft-rejection span{color:inherit;font-size:12px;letter-spacing:0}.production-draft-products{display:flex;flex-direction:column;gap:14px}.production-draft-product{overflow:hidden;border:1px solid #cfe2de;border-radius:14px;background:#fff}.production-draft-product>header{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;padding:12px 14px;background:#eef8f5}.production-draft-product>header>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#2b8878;color:#fff}.production-draft-product>header strong{display:block;color:#183c35;font-size:14px}.production-draft-product>header small{display:block;margin-top:3px;color:#6c827e;font-size:11px}.production-draft-product>header em{color:#267665;font-size:12px;font-style:normal;font-weight:800}.production-draft-loss-plan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;padding:11px 14px;border-top:1px solid #dcebe7;background:#f7fcfa}.production-draft-loss-plan>div,.production-draft-loss-plan>label{min-width:0;padding:8px 9px;border:1px solid #d4e7e1;border-radius:9px;background:#fff}.production-draft-loss-plan>div>span,.production-draft-loss-plan>label>span:first-child{display:block;color:#78908a;font-size:9px;font-weight:750}.production-draft-loss-plan>label>span:last-child{display:flex;margin-top:4px;align-items:center;gap:5px}.production-draft-loss-plan input{min-width:0;width:100%;border:0;border-bottom:1px solid #b9d4cc;color:#215f52;font-size:14px;font-weight:850}.production-draft-loss-plan em{color:#66817a;font-size:11px;font-style:normal}.production-draft-loss-plan strong{display:block;margin-top:4px;color:#245f53;font-size:12px}.production-draft-loss-plan .is-purchase{border-color:#9fcfba;background:#edf9f2}.production-draft-loss-plan>p{grid-column:1/-1;margin:0;color:#647c76;font-size:10px;line-height:1.5}.production-draft-quantity-plan{padding:12px 14px;border-top:1px solid #dcebe7;background:linear-gradient(135deg,#f7fcfa,#f4f8ff)}.production-draft-quantity-plan>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.production-draft-quantity-plan>header span{display:block;color:#2d7b6e;font-size:9px;font-weight:850;letter-spacing:.1em}.production-draft-quantity-plan>header strong{display:block;margin-top:2px;color:#244e47;font-size:13px}.production-draft-quantity-plan>header em{color:#6c817d;font-size:9px;font-style:normal}.production-draft-quantity-inputs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:10px}.production-draft-conversion-inputs>div,.production-draft-conversion-inputs>label,.production-draft-quantity-inputs>div,.production-draft-quantity-inputs>label{min-width:0;padding:8px 9px;border:1px solid #d4e4e0;border-radius:9px;background:#fff}.production-draft-conversion-inputs>div>span,.production-draft-conversion-inputs>label>span:first-child,.production-draft-quantity-inputs>div>span,.production-draft-quantity-inputs>label>span:first-child{display:block;color:#708681;font-size:9px;font-weight:750}.production-draft-conversion-inputs label>span:nth-child(2),.production-draft-quantity-inputs label>span:nth-child(2){display:flex;align-items:center;gap:5px;margin-top:4px}.production-draft-conversion-inputs input,.production-draft-conversion-inputs select,.production-draft-quantity-inputs input,.production-draft-quantity-inputs select{min-width:0;width:100%;min-height:29px;border:0;border-bottom:1px solid #bad1cb;background:transparent;color:#245f53;font-size:12px;font-weight:800}.production-draft-conversion-inputs strong,.production-draft-quantity-inputs strong{display:block;margin-top:4px;color:#285e54;font-size:11px}.production-draft-conversion-inputs small,.production-draft-quantity-inputs small{display:block;margin-top:3px;color:#83948f;font-size:8px;line-height:1.35}.production-draft-quantity-inputs em{color:#637c76;font-size:10px;font-style:normal}.production-draft-conversion-inputs{display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-gap:8px;gap:8px;margin-top:8px;padding:9px;border:1px dashed #9dbfce;border-radius:11px;background:#f1f8fc}.production-draft-conversion-inputs label>span select{flex:0 0 68px}.production-draft-conversion-confirm-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);grid-gap:8px;gap:8px;margin-top:8px;padding:9px;border:1px solid #abd0c2;border-radius:11px;background:#f1faf6}.production-draft-conversion-confirm-row>div{min-width:0;padding:8px 9px;border:1px solid #c9e1d8;border-radius:9px;background:#fff}.production-draft-conversion-confirm-row>div small,.production-draft-conversion-confirm-row>div span,.production-draft-conversion-confirm-row>div strong{display:block}.production-draft-conversion-confirm-row>div span{color:#708681;font-size:9px;font-weight:750}.production-draft-conversion-confirm-row>div strong{margin-top:4px;color:#285e54;font-size:11px}.production-draft-conversion-confirm-row>div small{margin-top:3px;color:#83948f;font-size:8px;line-height:1.35}.production-draft-conversion-confirm{display:flex;align-items:center;gap:8px;border-color:#8ebcac!important;background:#eff9f4!important;cursor:pointer}.production-draft-conversion-confirm>input{flex:0 0 17px;width:17px;min-height:17px}.production-draft-conversion-confirm>span{margin:0!important}.production-draft-conversion-confirm>span strong{margin:0}.production-draft-roll-plan{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:8px;padding:9px;border:1px solid #edc686;border-radius:11px;background:#fff8e9}.production-draft-roll-plan>div,.production-draft-roll-plan>label{min-width:0;padding:8px 9px;border:1px solid #edd7ae;border-radius:9px;background:#fff}.production-draft-roll-plan>div>span,.production-draft-roll-plan>label>span:first-child{display:block;color:#8a6c38;font-size:9px;font-weight:750}.production-draft-roll-plan>label>span:nth-child(2){display:flex;align-items:center;gap:6px;margin-top:4px}.production-draft-roll-plan input{min-width:0;width:100%;min-height:29px;border:0;border-bottom:1px solid #d8bd88;background:transparent;color:#7b5721;font-size:12px;font-weight:800}.production-draft-roll-plan em{color:#8b7147;font-size:9px;font-style:normal;white-space:nowrap}.production-draft-roll-plan strong{display:block;margin-top:4px;color:#76521e;font-size:11px}.production-draft-roll-plan small{display:block;margin-top:3px;color:#95846a;font-size:8px;line-height:1.35}.production-draft-roll-plan>div.is-negative{border-color:#e8a4a4;background:#fff0f0}.production-draft-roll-plan>div.is-negative small,.production-draft-roll-plan>div.is-negative strong{color:#b42318}.production-color-roll-callout{margin-top:4px!important;padding:3px 6px;border-radius:5px;background:#fff2cf;color:#8a5b13!important;font-weight:850}.production-color-roll-callout.is-negative{background:#ffe5e5;color:#b42318!important}.production-draft-quantity-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;grid-gap:6px;gap:6px;margin-top:9px}.production-draft-quantity-flow article{min-width:0;padding:9px;border:1px solid #d6e7e2;border-radius:9px;background:#fff}.production-draft-quantity-flow article.is-purchase{border-color:#8ec9ad;background:#eaf8f0}.production-draft-quantity-flow article small,.production-draft-quantity-flow article span,.production-draft-quantity-flow article strong{display:block}.production-draft-quantity-flow article span{color:#758a85;font-size:8px}.production-draft-quantity-flow article strong{margin-top:4px;color:#235f52;font-size:11px}.production-draft-quantity-flow article small{margin-top:3px;color:#82928e;font-size:8px}.production-draft-quantity-flow>i{align-self:center;color:#6d988e;font-size:12px;font-style:normal}.production-draft-quantity-plan>p{margin:8px 0 0;padding:7px 9px;border-radius:8px;background:rgba(255,255,255,.72);color:#657d77;font-size:9px;line-height:1.55}.production-draft-colors{padding:10px 14px}.production-draft-colors article>p,.production-draft-colors>div{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;grid-gap:10px;gap:10px;margin:0}.production-draft-colors>div{padding:0 8px 6px;color:#81918e;font-size:10px}.production-draft-colors article{border-top:1px solid #edf2f1}.production-draft-colors article>p{padding:9px 8px}.production-draft-colors p span,.production-draft-colors p strong{color:#345d56;font-size:12px}.production-draft-colors p span{display:flex;flex-direction:column}.production-draft-colors p small{color:#84938f;font-size:10px}.production-draft-colors p>strong{display:flex;flex-direction:column;align-items:flex-end}.production-draft-colors p>strong small{margin-top:2px;white-space:nowrap}.production-color-route-control{display:flex;align-items:flex-end;gap:8px;padding:0 8px 10px}.production-color-route-control>button{min-height:34px;padding:0 10px;border:1px solid #c8ddd8;border-radius:9px;background:#f7fbfa;color:#3f6c64;font-size:11px;font-weight:750}.production-color-route-control label{flex:1 1;min-width:0}.production-color-route-control label span,.production-draft-route-form label>span,.production-draft-schedule label>span{display:block;margin-bottom:4px;color:#617a75;font-size:10px}.production-color-route-control select,.production-draft-route-form select,.production-draft-schedule input{width:100%;min-height:35px;padding:0 9px;border:1px solid #cbded9;border-radius:8px;background:#fff;color:#244d46}.production-color-route-control .is-compact-toggle{flex:0 0 92px}.production-color-route-control .is-compact-toggle button,.production-draft-dyeing-toggle button,.production-draft-finishing-toggle button{width:100%;min-height:35px;border:1px solid #b9d8d1;border-radius:8px;background:#eaf6f3;color:#287060;font-weight:750}.production-color-dyeing-skip{flex:1 1;min-width:120px;margin:0;padding:7px 9px;border:1px dashed #b9d3cc;border-radius:9px;background:#f1f7f5}.production-color-dyeing-skip span,.production-color-dyeing-skip strong{display:block;font-size:10px}.production-color-dyeing-skip strong{margin-top:3px;color:#3b6f64}.production-draft-route-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:9px;gap:9px;background:#fbfdfd}.production-draft-days,.production-draft-route-form{padding:12px 14px;border-top:1px solid #e5efed}.production-draft-days>header{display:flex;justify-content:space-between;color:#365e57;font-size:11px}.production-draft-days>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:9px}.production-draft-days label{display:grid;grid-template-columns:minmax(0,1fr) 58px 18px;align-items:center;grid-gap:5px;gap:5px;padding:7px 8px;border:1px solid #d6e5e1;border-radius:9px}.production-draft-days label span{color:#57716b;font-size:10px}.production-draft-days input{width:100%;border:0;border-bottom:1px solid #bcd3ce;background:transparent;color:#245c51;font-weight:800;text-align:right}.production-draft-days em{color:#758985;font-size:10px;font-style:normal}.production-draft-days .is-disabled{opacity:.55}.production-draft-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(220px,1fr);align-items:end;grid-gap:9px;gap:9px;padding:0 14px 14px}.production-draft-schedule p{display:flex;align-items:center;gap:7px;min-height:35px;margin:0;padding:0 10px;border-radius:8px;background:#edf7f4;color:#3b6e64;font-size:11px}.production-draft-approved-output{margin-top:13px;padding:13px;border:1px solid #a9d9bf;border-radius:12px;background:#effaf4}.production-draft-approved-output>header span{display:block;color:#2b8060;font-size:10px}.production-draft-approved-output>header strong{color:#225c47;font-size:14px}.production-draft-approved-output>header em{color:#35745b;font-size:11px;font-style:normal}.production-draft-approved-output>div article{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #cce7d7}.production-draft-approved-output article>div{flex:1 1}.production-draft-approved-output article small,.production-draft-approved-output article strong{display:block}.production-draft-approved-output article strong{color:#285f4a;font-size:12px}.production-draft-approved-output article em,.production-draft-approved-output article small{color:#6a8377;font-size:10px;font-style:normal}.production-output-print-button{display:inline-flex;min-height:30px;padding:0 10px;align-items:center;justify-content:center;gap:5px;border:1px solid #84baa4;border-radius:8px;background:#fff;color:#216a50;font-size:10px;font-weight:800;white-space:nowrap}.production-output-print-button:hover{border-color:#2d8664;background:#e2f5ea}.production-draft-output-warning{color:#8d6522;font-size:11px}.production-draft-actions{align-items:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid #d9e7e4}.production-draft-actions>span{max-width:55%;color:#718480;font-size:11px}.production-draft-actions>div{display:flex;gap:8px}.production-draft-actions .primary{border-color:#277c6b;background:#277c6b;color:#fff}.production-draft-actions .is-print{background:#225e87;border-color:#225e87}.production-approved-facts-lock{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:#805e20;font-size:11px}.production-draft-empty,.production-draft-loading{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:130px;color:#718682;font-size:12px;text-align:center}.production-draft-loading>span{width:20px;height:20px;border:2px solid #c4ddd7;border-top-color:#347f70;border-radius:50%;animation:production-spin .8s linear infinite}.production-draft-print-sheet{display:none}.production-draft-heading>div:last-child{display:flex;align-items:center;gap:8px}.production-draft-heading button.is-create{border-color:var(--production-accent);background:var(--production-accent);color:#fff}.production-source-dialog-backdrop{position:fixed;inset:0;z-index:1200;display:grid;padding:28px;place-items:center;background:rgba(24,31,31,.62);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.production-source-dialog{display:flex;width:min(1080px,96vw);max-height:min(900px,92vh);border:1px solid #d6e2df;border-radius:18px;background:#f8fbfa;box-shadow:0 26px 80px rgba(17,31,29,.3);flex-direction:column;overflow:hidden}.production-source-dialog>header{display:flex;padding:18px 22px;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe8e5;background:linear-gradient(135deg,#e9f6f2,#fff8eb)}.production-source-dialog>header span{color:#2a7e6c;font-size:10px;font-weight:900;letter-spacing:.12em}.production-source-dialog>header h2{margin:4px 0;color:#1e3f39;font-size:22px}.production-source-dialog>header p{margin:0;color:#657a76;font-size:12px}.production-source-dialog>header button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:1px solid #cbdad6;border-radius:10px;background:#fff}.production-source-dialog>nav{display:grid;padding:12px 22px;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;border-bottom:1px solid #e2e9e7;background:#fff}.production-source-dialog>nav button{display:flex;padding:12px 14px;align-items:center;gap:9px;border:1px solid #d8e3df;border-radius:11px;background:#fff;color:#536a65;text-align:left}.production-source-dialog>nav button.active{border-color:#57a390;background:#eaf7f2;color:#226d5d;box-shadow:0 0 0 2px rgba(57,142,121,.1)}.production-source-dialog>nav small,.production-source-dialog>nav span,.production-source-dialog>nav strong{display:block}.production-source-dialog>nav small{margin-top:2px;font-size:10px;font-weight:500}.production-source-dialog-body{min-height:240px;padding:18px 22px;flex:1 1;overflow:auto}.production-source-export{max-width:760px;margin:8px auto;padding:18px;border:1px solid #d8e5e1;border-radius:13px;background:#fff}.production-source-colors label,.production-source-contract-fields label,.production-source-export label,.production-source-product-fields label{display:flex;min-width:0;flex-direction:column;gap:5px;color:#526b65;font-size:11px;font-weight:700}.production-source-dialog input,.production-source-dialog select,.production-source-dialog textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid #cbdcd7;border-radius:8px;background:#fff;color:#224a42;font:inherit}.production-source-dialog textarea{resize:vertical}.production-source-dialog label small,.production-source-empty{color:#788b87;font-size:10px;line-height:1.5}.production-formal-contract-search{display:grid;grid-gap:5px;gap:5px;color:#526b65;font-size:11px;font-weight:750}.production-formal-contract-search>div{display:flex;height:38px;padding:0 10px;align-items:center;gap:7px;border:1px solid #cfdeda;border-radius:9px;background:#fff;color:#7d908b}.production-formal-contract-search input{min-height:0;padding:0;border:0;border-radius:0;outline:0;background:transparent}.production-formal-contract-list{display:grid;max-height:390px;margin-top:10px;padding-right:4px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.production-formal-contract-list>button{display:grid;min-width:0;padding:11px;grid-gap:5px;gap:5px;border:1px solid #d7e4e0;border-radius:10px;background:#fff;color:#3f5a53;text-align:left}.production-formal-contract-list>button.selected,.production-formal-contract-list>button:hover{border-color:#4d9b88;background:#eef8f4;box-shadow:inset 3px 0 #2d806d}.production-formal-contract-list>button>span{display:flex;align-items:center;justify-content:space-between;gap:7px}.production-formal-contract-list strong{font-size:12px}.production-formal-contract-list em{padding:2px 6px;border-radius:8px;background:#e4f3ed;color:#26725f;font-size:8px;font-style:normal}.production-formal-contract-list b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.production-formal-contract-list small{color:#768783;font-size:9px;line-height:1.45}.production-formal-contract-list i{display:flex;align-items:center;gap:4px;color:#27806a;font-size:8px;font-style:normal}.production-source-contract-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.production-source-contract-fields .is-wide,.production-source-product-fields .is-wide{grid-column:span 2}.production-source-products{display:grid;margin-top:14px;grid-gap:12px;gap:12px}.production-source-products>article{border:1px solid #d9e5e1;border-radius:13px;background:#fff;overflow:hidden}.production-source-colors>header,.production-source-products>article>header{display:flex;padding:10px 12px;align-items:center;justify-content:space-between;border-bottom:1px solid #e2ebe8;background:#edf8f4}.production-source-products>article>header span{display:block;color:#2a7e6c;font-size:9px;font-weight:900}.production-source-products>article>header strong{color:#284f47;font-size:13px}.production-source-add-product,.production-source-products button{padding:7px 10px;border:1px solid #bdd8d0;border-radius:8px;background:#fff;color:#2a7565}.production-source-product-fields{display:grid;padding:12px;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:9px;gap:9px}.production-source-colors{padding:0 12px 12px}.production-source-colors>header{margin:0 -12px 8px;background:#fafcfb}.production-source-colors>div{display:grid;margin-top:7px;grid-template-columns:1fr 1fr 1fr 1.2fr auto;align-items:end;grid-gap:7px;gap:7px}.production-source-colors>div>button{width:34px;height:38px;padding:0}.production-source-add-product{display:flex;margin-top:10px;align-items:center;gap:6px}.production-source-dialog>footer{display:flex;padding:13px 22px;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dfe8e5;background:#fff}.production-source-dialog>footer p{margin:0;color:#667c77;font-size:11px}.production-source-dialog>footer>div{display:flex;gap:8px}.production-source-dialog>footer button{min-height:38px;padding:0 15px;border:1px solid #cbdad6;border-radius:9px;background:#fff}.production-source-dialog>footer button.primary{border-color:#287c6a;background:#287c6a;color:#fff}@media (max-width:1100px){.production-draft-layout{grid-template-columns:1fr}.production-draft-list{display:grid}.production-draft-conversion-confirm-row,.production-draft-conversion-inputs,.production-draft-days>div,.production-draft-list,.production-draft-loss-plan,.production-draft-quantity-flow,.production-draft-quantity-inputs,.production-draft-roll-plan,.production-draft-route-form{grid-template-columns:repeat(2,minmax(0,1fr))}.production-draft-quantity-flow>i{display:none}.production-color-route-control{align-items:stretch;flex-direction:column}.production-color-route-control .is-compact-toggle{flex-basis:auto}}@media (max-width:700px){.production-draft-workspace{padding:12px}.production-draft-actions,.production-draft-heading{align-items:stretch;flex-direction:column}.production-draft-conversion-confirm-row,.production-draft-conversion-inputs,.production-draft-days>div,.production-draft-evidence,.production-draft-list,.production-draft-loss-plan,.production-draft-quantity-flow,.production-draft-quantity-inputs,.production-draft-roll-plan,.production-draft-route-form,.production-draft-schedule{grid-template-columns:1fr}.production-draft-actions>span{max-width:none}.production-draft-colors>div{display:none}.production-draft-colors article>p{grid-template-columns:1fr auto}.production-draft-colors article>p>span:nth-child(2){display:none}.production-source-dialog-backdrop{padding:8px}.production-source-dialog{width:100%;max-height:96vh}.production-formal-contract-list,.production-source-colors>div,.production-source-contract-fields,.production-source-dialog>nav,.production-source-product-fields{grid-template-columns:1fr}.production-source-contract-fields .is-wide,.production-source-product-fields .is-wide{grid-column:auto}.production-source-dialog>footer{align-items:stretch;flex-direction:column}.production-source-dialog>footer>div{justify-content:flex-end}}@media print{@page{size:A4 landscape;margin:7mm}body,html{width:auto!important;height:auto!important;min-height:0!important;margin:0!important;overflow:visible!important;background:#fff!important}body>:not(.app-shell){display:none!important}.app-shell{display:block!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}.app-shell>*{display:none!important}.app-shell>.production-module{display:block!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;visibility:visible!important}.production-module>*{display:none!important}.production-module>.production-module-scroll{display:block!important;position:static!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}.production-module-scroll>*{display:none!important}.production-module-scroll>.production-draft-workspace{display:block!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;background:#fff!important;box-shadow:none!important}.production-draft-workspace>*{display:none!important}.production-draft-workspace>.production-draft-print-sheet{display:block!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;visibility:visible!important;background:#fff;color:#111;font-family:Arial,sans-serif}.production-draft-print-sheet *{visibility:visible!important}.production-draft-print-order{display:block!important;width:100%;min-height:190mm;padding:5mm 6mm;overflow:visible;break-before:page;page-break-before:always;break-after:page;page-break-after:always;break-inside:avoid-page;page-break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.production-draft-print-order:first-child{break-before:auto;page-break-before:auto}.production-draft-print-order:last-child{break-after:auto;page-break-after:auto}.production-draft-print-order>header{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;border-bottom:2px solid #111;padding-bottom:8px}.production-draft-print-sheet h1{margin:0;font-size:22px;text-align:center}.production-draft-print-order>header strong{text-align:right}.production-draft-print-facts{display:grid;grid-template-columns:1fr 1fr;grid-gap:0;gap:0;margin-top:10px;border:1px solid #333}.production-draft-print-facts p{display:grid;grid-template-columns:95px 1fr;margin:0!important;padding:6px;border-right:1px solid #777;border-bottom:1px solid #777}.production-draft-print-facts p:nth-child(2n){border-right:0}.production-draft-print-facts p.is-wide{grid-column:1/-1;border-right:0}.production-draft-print-facts p.is-negative,.production-draft-print-sheet td.is-negative{background:#fff0f0!important;color:#a10f0f!important;font-weight:700}.production-draft-print-facts p span,.production-draft-print-route p span,.production-draft-print-schedule p span{color:#555;font-weight:700}.production-draft-print-order p{font-size:10px}.production-draft-print-sheet table{width:100%;border-collapse:collapse;font-size:11px}.production-draft-print-sheet td,.production-draft-print-sheet th{padding:6px;border:1px solid #333;text-align:left}.production-draft-print-route{display:grid;grid-template-columns:repeat(3,1fr);margin-top:10px;border:1px solid #333}.production-draft-print-route p{display:flex;min-height:48px;margin:0;padding:7px;flex-direction:column;gap:4px;border-right:1px solid #777}.production-draft-print-route p:last-child{border-right:0}.production-draft-print-schedule{display:grid;grid-template-columns:1fr 1fr 2fr;margin-top:10px;border:1px solid #333}.production-draft-print-schedule p{display:flex;margin:0;padding:7px;flex-direction:column;gap:4px;border-right:1px solid #777}.production-draft-print-schedule p:last-child{border-right:0}.production-draft-print-order>footer{display:flex;margin-top:16px;padding-top:8px;justify-content:space-between;border-top:1px solid #666;font-size:10px}}