.production-work-order-head{grid-template-columns:minmax(240px,2fr) minmax(120px,.7fr) minmax(180px,1fr);align-items:start;gap:14px}.production-work-order-head .production-work-order-remark{grid-column:1/-1}.production-work-order-head .production-work-order-remark textarea{height:42px;min-height:42px}.production-work-order-head .production-work-order-plan-time{grid-column:1}.production-work-order-head .production-work-order-plan-time~.production-work-order-remark{grid-column:2/-1}.production-plan-time-range{padding-right:6px}.production-plan-time-range input{min-width:0;font-family:var(--font-mono);font-variant-numeric:tabular-nums;flex:1 1 0;padding:0 4px}.production-plan-time-arrow{color:var(--muted);flex:none}@media (max-width:800px){.production-work-order-head .production-work-order-plan-time,.production-work-order-head .production-work-order-plan-time~.production-work-order-remark{grid-column:1/-1}}.production-work-order-material-attributes{border:1px solid var(--divider);border-radius:var(--radius-surface);background:var(--canvas);padding:12px 14px}.production-work-order-material-heading{color:var(--ink-2);align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.production-work-order-material-heading>span{color:var(--ink-3);font-size:11px;font-weight:400}.production-work-order-material-attributes .material-list-attributes{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;margin-top:10px;display:grid}.production-work-order-product{flex-direction:column;gap:5px;min-width:0;display:flex}.production-work-order-product-head{justify-content:space-between;align-items:center;gap:8px;min-height:21px;display:flex}.production-work-order-product-head>span{color:var(--ink-2);font-size:14px;font-weight:650}.production-work-order-product-head .production-work-order-quick-material{min-height:0;margin:-4px -7px -4px 0;padding:2px 7px;font-size:12px}@media (max-width:800px){.production-work-order-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.production-work-order-product{grid-column:1/-1}.production-work-order-material-attributes .material-list-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.production-work-order-head,.production-work-order-material-attributes .material-list-attributes{grid-template-columns:minmax(0,1fr)}}.production-work-order-jumps{z-index:10;border-bottom:1px solid var(--divider);background:var(--canvas);justify-content:safe center;gap:20px;padding:10px 14px;display:flex;position:sticky;top:48px;overflow-x:auto}.production-work-order-jumps a{color:var(--ink-2);flex:none;padding:4px 0;font-size:13px;text-decoration:none}.production-work-order-jumps a:hover,.production-work-order-jumps a[aria-current]{color:var(--brand)}.production-work-order-jumps a[aria-current]{font-weight:650}.production-work-order-jumps a:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.production-work-order-jumps{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;display:grid}.production-work-order-jump-links{grid-column:2;align-items:center;gap:20px;display:flex}.production-work-order-jumps .production-entry-mode{white-space:nowrap;background:0 0;border:0;grid-column:3;justify-self:end;padding:0}@media (max-width:1000px){.production-work-order-jumps{grid-template-columns:minmax(0,1fr) auto}.production-work-order-jump-links{grid-column:1;gap:12px}.production-work-order-jumps .production-entry-mode{grid-column:2}}@media (max-width:640px){.production-work-order-jumps{grid-template-columns:minmax(0,1fr)}.production-work-order-jump-links{flex-wrap:wrap;justify-content:center}.production-work-order-jumps .production-entry-mode{grid-column:1;justify-self:end}}.production-work-order-anchor{scroll-margin-top:106px}.production-entry-mode{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);align-items:center;gap:6px;padding:6px 8px;display:flex}.production-entry-mode>span{color:var(--muted);margin-right:auto;font-size:12px;font-weight:620}.production-entry-mode>button{border-radius:var(--radius-control);min-height:32px;color:var(--ink-2);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.production-entry-mode>button:hover{background:var(--canvas)}.production-entry-mode>button.is-selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.production-entry-mode>button:focus-visible,.production-visual-source-card:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.production-visual-builder{background:var(--canvas);grid-template-columns:clamp(260px,24vw,320px) minmax(0,1fr);min-height:310px;display:grid}.production-visual-library{border-right:1px solid var(--divider);background:var(--surface);flex-direction:column;min-width:0;padding:10px;display:flex}.production-visual-library-heading,.production-visual-workspace-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.production-visual-library-heading strong,.production-visual-workspace-heading strong{font-size:13px}.production-visual-library-heading>span,.production-visual-workspace-heading>span{color:var(--muted);white-space:nowrap;font-size:12px}.production-visual-library .production-visual-search{flex:none;width:100%;min-width:0;max-width:none;margin-top:9px}.production-visual-material-modes{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:9px;padding:3px;display:grid}.production-visual-material-modes button{min-width:0;min-height:30px;color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 3px;font-size:11px;font-weight:600}.production-visual-material-modes button:hover{color:var(--ink-2);background:var(--canvas)}.production-visual-material-modes button.is-active{border-color:var(--divider);background:var(--canvas);color:var(--brand);box-shadow:0 1px 2px #0f172a0f}.production-visual-library-selected{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--brand-soft);color:var(--brand);justify-content:space-between;align-items:center;gap:8px;margin:0 0 7px;padding:6px 8px;font-size:11px;display:flex}.production-visual-library-selected button{border:1px solid var(--divider);background:var(--canvas);color:var(--brand);cursor:pointer;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600}.production-visual-library-selected button:disabled{color:var(--muted);cursor:not-allowed}.production-visual-library-list{align-content:start;align-items:start;gap:6px;max-height:380px;margin-top:8px;display:grid;overflow:auto}.production-visual-material-library-list{flex-direction:column;align-items:stretch;gap:8px;display:flex}.production-visual-material-library-list>*{flex:none}.production-visual-library-status{min-height:34px;color:var(--muted);justify-content:center;align-items:center;gap:7px;margin:0;font-size:11px;display:flex}.production-visual-library-status.is-error{color:var(--danger);flex-wrap:wrap}.production-visual-library-status button,.production-visual-library-more{border:1px solid var(--divider);background:var(--canvas);min-height:30px;color:var(--brand);cursor:pointer;border-radius:6px;padding:4px 8px;font-size:11px}.production-visual-library-status button:hover,.production-visual-library-more:hover{border-color:var(--brand);background:var(--brand-soft)}.production-visual-library-more{width:100%}.production-visual-source-card{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);width:100%;min-height:56px;color:var(--ink-2);text-align:left;cursor:grab;grid-template-columns:16px 16px minmax(0,1fr);align-items:start;gap:3px 7px;padding:8px;display:grid;position:relative}.production-visual-source-card:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}.production-visual-source-card:active:not(:disabled){cursor:grabbing}.production-visual-source-card:disabled{cursor:default;opacity:.58}.production-visual-source-card>svg{color:var(--muted);flex:none}.production-visual-source-card>span:first-of-type{gap:3px;min-width:0;display:grid}.production-visual-source-card strong,.production-visual-source-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-visual-source-card strong{font-size:12px}.production-visual-source-card small,.production-visual-source-stock{color:var(--muted);font-size:11px}.production-visual-source-action{color:var(--brand);white-space:nowrap;margin-left:auto;font-size:12px}.production-visual-source-stock{text-align:left;white-space:nowrap;margin:0}.production-visual-workspace{flex-direction:column;min-width:0;padding:10px;display:flex;container-type:inline-size}.production-visual-workspace-heading{min-height:35px;margin-bottom:8px}.production-visual-workspace-heading>div{gap:3px;display:grid}.production-visual-workspace-heading small{color:var(--muted);font-size:11px}.production-visual-dropzone{border:1px dashed var(--divider);border-radius:var(--radius-control);background:var(--surface);flex-direction:column;flex:1;gap:7px;min-height:250px;padding:8px;display:flex}.production-visual-empty{min-height:180px;color:var(--muted);flex:1;align-content:center;justify-items:center;gap:8px;display:grid}.production-visual-empty-art{width:78px;height:68px;color:var(--brand);place-items:center;margin-bottom:2px;display:grid;position:relative}.production-visual-empty-art:before,.production-visual-empty-art:after{border:1px solid var(--divider);background:var(--canvas);content:"";border-radius:9px;width:46px;height:50px;position:absolute}.production-visual-empty-art:before{transform:translate(-7px,2px)rotate(-9deg)}.production-visual-empty-art:after{background:var(--brand-soft);transform:translate(6px,-2px)rotate(8deg)}.production-visual-empty-art>svg{z-index:1;width:32px;height:32px;filter:drop-shadow(0 1px 1px color-mix(in srgb,var(--brand) 14%,transparent))}.production-visual-empty>strong{color:var(--ink-2);font-size:13px;font-weight:650}.production-visual-task-card,.production-visual-material-card{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);min-width:0;box-shadow:var(--card-shadow);padding:6px 8px}.production-visual-task-card{cursor:grab;padding-right:44px;position:relative}.production-visual-task-card>.production-line-remove{position:absolute;top:50%;right:8px;transform:translateY(-50%)}.production-visual-task-card:active,.production-visual-material-card:active{cursor:grabbing}.production-visual-card-title{align-items:center;gap:6px;min-width:0;margin:0;display:flex}.production-visual-card-title>svg{color:var(--muted);flex:none}.production-visual-card-title>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.production-visual-card-title>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.production-visual-card-title .production-line-remove{flex:none;margin-left:auto}.production-visual-card-fields{grid-template-columns:minmax(110px,.55fr) minmax(120px,.65fr) minmax(160px,1fr);align-items:center;gap:8px;display:grid}.production-visual-card-fields>label,.production-visual-card-fields>.production-material-fact{min-width:0}.production-visual-card-fields>label>span{color:var(--muted);margin:0;font-size:11px;display:block}.production-visual-card-fields input{width:100%;min-width:0;height:30px;min-height:30px}.production-visual-card-instruction{grid-column:auto}.production-visual-material-card{cursor:grab}.production-visual-material-card .production-material-fact{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px;padding:0;display:grid}.production-visual-material-card .production-material-fact>span{white-space:nowrap;font-size:11px}.production-visual-material-card .production-material-fact>input{font-variant-numeric:tabular-nums}.production-visual-task-card,.production-visual-material-card{grid-template-columns:minmax(210px,.72fr) minmax(0,1.5fr);align-items:center;column-gap:12px;display:grid}.production-visual-material-card{grid-template-columns:minmax(0,1fr);row-gap:6px}.production-visual-task-card .production-visual-card-fields{grid-template-columns:minmax(190px,.7fr) minmax(210px,.8fr) minmax(250px,1.2fr);gap:8px}.production-visual-task-card .production-visual-card-fields>label{grid-template-columns:max-content minmax(60px,1fr);align-items:center;gap:6px;min-width:0;display:grid}.production-visual-task-card .production-visual-card-fields>label>span{white-space:nowrap}.production-visual-task-card .production-visual-card-fields input{height:30px;min-height:30px;padding:3px 7px}.production-visual-task-card .production-visual-card-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}.production-visual-task-card .production-visual-card-fields>label:first-child input,.production-visual-task-card .production-visual-card-fields>label:nth-child(2) input{max-width:none}@container (max-width:1100px){.production-visual-task-card{grid-template-columns:minmax(0,1fr);row-gap:6px}.production-visual-task-card .production-visual-card-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}.production-visual-task-card .production-visual-card-fields>label{grid-template-columns:max-content minmax(0,1fr);gap:6px}}.production-visual-material-card .production-visual-card-fields{grid-template-columns:minmax(150px,.75fr) minmax(180px,.9fr) minmax(280px,1.35fr);gap:8px}.production-visual-material-card .production-visual-card-fields>label{grid-template-columns:max-content minmax(60px,1fr);align-items:center;gap:6px;min-width:0;display:grid}.production-material-quantity-control{grid-template-columns:minmax(0,1fr) minmax(64px,88px);gap:4px;min-width:0;display:grid}.production-material-quantity-control input,.production-material-quantity-control .material-unit-select{width:100%;min-width:0;height:30px;min-height:30px;padding-top:3px;padding-bottom:3px}.production-visual-source-card{cursor:grab}.production-visual-source-card>input[type=checkbox]{width:15px;height:15px;accent-color:var(--brand);flex:none;grid-area:1/1/-1;align-self:center;margin:0 1px 0 0}.production-visual-source-card>svg{grid-area:1/2/-1;align-self:center}.production-visual-source-card>.production-visual-source-main{text-align:left;grid-area:1/3/-1;grid-template-rows:minmax(0,1fr);place-self:stretch stretch;gap:3px}.production-visual-source-card.is-selected{border-color:var(--brand);background:var(--brand-soft)}.production-visual-source-card.is-added{cursor:not-allowed;opacity:.55}.production-visual-source-main{gap:3px;min-width:0;display:grid}.production-visual-source-copy{grid-row:1;align-self:center;gap:3px;min-width:0;display:grid;transform:none}.production-visual-source-stock{max-width:none;color:var(--success);font-variant-numeric:tabular-nums;text-align:left;text-overflow:clip;white-space:nowrap;background:0 0;border:0;border-radius:0;flex:none;justify-self:end;align-items:center;margin-left:auto;padding:2px 0 2px 8px;font-size:11px;font-weight:650;line-height:1.35;display:inline-flex;overflow:visible}.production-visual-source-stock.is-nonpositive{color:var(--danger);background:0 0;border:0}.production-visual-source-card-three-line{grid-template-rows:minmax(72px,1fr);align-self:stretch}.production-visual-source-card-three-line .production-visual-source-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-visual-source-card-three-line .production-visual-source-copy>small{white-space:nowrap}.production-visual-source-card>button.production-visual-source-action{border:1px solid var(--divider);background:var(--canvas);color:var(--brand);white-space:nowrap;cursor:pointer;border-radius:6px;flex:none;margin-left:0;padding:4px 8px;font-size:11px;position:absolute;top:8px;right:8px}.production-visual-source-card>button.production-visual-source-action:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}.production-visual-source-card>button.production-visual-source-action:disabled{color:var(--muted);cursor:not-allowed}.production-visual-source-card>svg{color:var(--divider-strong);transition:color .15s}.production-visual-source-card:hover>svg{color:var(--muted)}.production-visual-source-card-three-line{column-gap:8px;padding:10px 12px}.production-visual-source-card-three-line>button.production-visual-source-action{border-radius:var(--radius-control);place-items:center;width:26px;height:26px;padding:0;display:grid;top:10px;right:10px}.production-visual-source-card-three-line .production-visual-source-copy{gap:2px}.production-visual-source-card-three-line .production-visual-source-copy>strong{color:var(--ink);padding-right:28px;font-size:13px;font-weight:650;line-height:26px;display:block}.production-visual-source-meta-row{align-items:center;gap:10px;min-width:0;display:flex}.production-visual-source-card-three-line .production-visual-source-code{flex:auto;min-width:0;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:18px}.production-visual-source-card-three-line .production-visual-source-spec{font-size:12px;line-height:18px}.production-visual-source-card-three-line .production-visual-source-stock{gap:4px;padding:0;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:18px}.production-visual-source-stock-label{color:var(--muted);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-size:11px;font-weight:400}.production-visual-selection-hint{background:var(--brand-soft);color:var(--brand);border-radius:6px;margin-top:7px;padding:6px 8px;font-size:11px}@media (max-width:800px){.production-visual-builder{grid-template-columns:minmax(0,1fr)}.production-visual-library{border-right:0;border-bottom:1px solid var(--divider)}.production-visual-library-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));max-height:190px}.production-visual-task-card,.production-visual-material-card{grid-template-columns:minmax(0,1fr);row-gap:6px}.production-visual-task-card .production-visual-card-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}.production-visual-task-card .production-visual-card-fields>label{grid-template-columns:max-content minmax(0,1fr);gap:6px}.production-visual-card-instruction{grid-column:auto}.production-visual-material-card .production-visual-card-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.production-visual-material-card .production-visual-card-fields>label{grid-template-columns:1fr;gap:3px}}@media (max-width:480px){.production-entry-mode{flex-wrap:wrap}.production-entry-mode>span{flex-basis:100%}.production-entry-mode>button{flex:1}.production-visual-library-list,.production-visual-task-card .production-visual-card-fields,.production-visual-material-card .production-visual-card-fields{grid-template-columns:minmax(0,1fr)}}.production-quantity-control{position:relative}.production-quantity-control input{padding-right:44px}.production-quantity-control>span{color:var(--muted);pointer-events:none;font-size:12px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.production-work-order-empty{color:var(--muted);text-align:center;margin:0;padding:22px 12px;font-size:12px}.production-detail-stack{flex-direction:column;gap:16px;display:flex}.production-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.production-detail-facts>div{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);flex-direction:column;gap:3px;min-width:0;padding:10px;display:flex}.production-detail-facts span,.production-report-summary span{color:var(--muted);font-size:12px}.production-detail-facts strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.production-material-summary{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);padding:12px}.production-material-summary-list{gap:6px;display:grid}.production-material-summary-list>div{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:8px 9px;display:grid}.production-material-summary-list>div>div{flex-direction:column;gap:2px;min-width:0;display:flex}.production-material-summary-list strong,.production-material-summary-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-material-summary-list strong{font-size:12px}.production-material-summary-list small,.production-material-summary-list span{color:var(--muted);font-size:12px}.production-route-rail{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);padding:12px}.production-route-rail-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:9px;display:flex}.production-route-rail-heading strong{font-size:13px}.production-route-rail-heading small{color:var(--muted);font-size:12px}.production-route-rail ol{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.production-route-rail li{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:9px;display:grid}.production-route-rail li>.status-badge{grid-column:1/-1;justify-self:start}.production-route-rail li.completed{background:var(--success-soft);border-color:#7cb48f;border-color:lab(68.5817% -25.0767 12.8772)}.production-step-index{background:var(--teal-soft);width:24px;height:24px;color:var(--teal);border-radius:50%;place-items:center;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:700;display:grid}.production-route-rail li>div{flex-direction:column;gap:2px;min-width:0;display:flex}.production-route-rail li strong,.production-route-rail li small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-route-rail li strong{font-size:12px}.production-route-rail li small{color:var(--muted);font-size:12px}.production-route-note{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);padding:10px 12px}.production-route-note>span{color:var(--muted);font-size:12px}.production-route-note>p{color:var(--ink-2);margin:4px 0 0;font-size:12px;line-height:1.55}.production-empty-note,.production-confirm-copy{border-left:3px solid var(--accent-amber);background:var(--warning-soft);color:var(--ink-2);padding:10px 12px;font-size:12px;line-height:1.55}.production-detail-link{align-self:flex-end}.production-report-summary{gap:8px;display:flex}.production-report-summary>div{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);flex-direction:column;gap:3px;min-width:120px;padding:9px 10px;display:flex}.production-report-summary strong{font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:15px}.production-report-modal{width:min(960px,100vw - 32px)}.production-report-defective-heading{color:var(--danger)!important;background:var(--danger-soft)!important}.production-report-defective{font-weight:750;color:var(--danger)!important;background:var(--danger-soft)!important}.production-report-section{gap:10px;display:grid}.production-report-section>h3{color:var(--ink);flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;font-size:14px;font-weight:680;display:flex}.production-report-section>h3 small{color:var(--muted);font-size:12px;font-weight:500}.production-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.production-report-time-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr)}.production-report-grid>label,.production-report-grid>div{flex-direction:column;gap:5px;min-width:0;display:flex}.production-report-defect-field>span,.production-report-duration>span{color:var(--ink-2);font-size:14px;font-weight:650}.production-report-defect-field{grid-column:1/-1}.production-report-qty>div,.production-report-duration>div{align-items:center;gap:8px;display:flex}.production-report-qty input{background:var(--canvas);min-width:0;height:52px;font-family:var(--font-mono);text-align:right;font-variant-numeric:tabular-nums;flex:auto;font-size:26px;font-weight:700}.production-report-qty>span{color:var(--ink);align-items:center;gap:6px;font-size:14px;font-weight:700;display:inline-flex}.production-report-qty>span:before{content:"";background:var(--success);border-radius:50%;width:8px;height:8px}.production-report-qty.is-defect>span:before{background:var(--danger)}.production-report-hero{border:1px solid var(--divider);border-radius:var(--radius-surface);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px;display:grid}.production-report-hero-main{min-width:0}.production-report-hero-tags{flex-wrap:wrap;gap:4px 16px;font-size:12px;display:flex}.production-report-hero-tags span{align-items:baseline;gap:6px;display:inline-flex}.production-report-hero-tags em{color:var(--muted);font-style:normal}.production-report-hero-tags strong{color:var(--ink-2);font-size:13px;font-weight:600}.production-report-hero-product{color:var(--ink);overflow-wrap:anywhere;margin-top:6px;font-size:20px;font-weight:700;line-height:1.3;display:block}.production-report-hero-main small{color:var(--muted);overflow-wrap:anywhere;margin-top:2px;font-size:13px;display:block}.production-report-hero-stats{gap:20px;margin:0;display:flex}.production-report-hero-stats>div{text-align:right;gap:2px;display:grid}.production-report-hero-stats dt{color:var(--muted);font-size:12px}.production-report-hero-stats dd{color:var(--ink);font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:17px;font-weight:680}.production-report-entry{border:1px solid color-mix(in srgb, var(--brand) 26%, var(--divider));border-radius:var(--radius-surface);background:var(--brand-soft);grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(190px,.8fr);gap:12px 16px;padding:16px;display:grid}.production-report-entry>label,.production-report-entry>div{flex-direction:column;gap:6px;min-width:0;display:flex}.production-report-entry>.field-help,.production-report-entry>.production-report-defect-field{grid-column:1/-1;margin:0}.production-report-wage{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);justify-content:center;padding:8px 14px}.production-report-entry>.production-report-wage{gap:2px}.production-report-wage span{color:var(--muted);font-size:12px;font-weight:650}.production-report-wage strong{color:var(--ink);font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:22px;font-weight:700}.production-report-wage small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.production-report-duration input{min-width:0;font-family:var(--font-mono);text-align:right;font-variant-numeric:tabular-nums;flex:1 1 0}.production-report-qty em,.production-report-duration em{color:var(--ink-2);flex:none;font-size:13px;font-style:normal}.production-report-form input[type=datetime-local]{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.production-report-form .production-custom-fields{border-top:0;margin:0;padding-top:0}.production-report-defect-picker{min-width:0;position:relative}.production-report-defect-trigger{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);width:100%;height:34px;color:var(--ink-2);text-align:left;justify-content:space-between;align-items:center;gap:6px;padding:3px 7px;display:flex;overflow:hidden}.production-report-defect-trigger:hover:not(:disabled),.production-report-defect-trigger[aria-expanded=true]{border-color:var(--teal)}.production-report-defect-trigger:focus-visible{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal-soft);outline:0}.production-report-defect-trigger:disabled{color:var(--muted);cursor:not-allowed;opacity:.72}.production-report-defect-trigger>svg{color:var(--muted);flex:none;transition:transform .15s}.production-report-defect-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.production-report-defect-tags{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.production-report-defect-tag,.production-report-defect-count{background:var(--teal-soft);max-width:96px;color:var(--teal);text-overflow:ellipsis;white-space:nowrap;border-radius:4px;flex:0 auto;padding:3px 6px;font-size:12px;font-weight:650;line-height:1.25;overflow:hidden}.production-report-defect-count{flex:none}.production-report-defect-placeholder{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.production-report-defect-menu{z-index:var(--z-toast);border:1px solid var(--divider);background:var(--surface);border-radius:8px;overflow:hidden;box-shadow:0 6px 8px #22181529;box-shadow:0 6px 8px lab(9.38412% 5.05529 4.11519/.16)}.production-report-defect-search{border-bottom:1px solid var(--divider);height:40px;color:var(--muted);align-items:center;gap:7px;padding:0 10px;display:flex}.production-report-defect-search input{width:100%;height:auto;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:0;padding:0;font-family:inherit}.production-report-defect-search input:focus{box-shadow:none;border:0;outline:0}.production-report-defect-list{max-height:190px;padding:5px;overflow-y:auto}.production-report-defect-list button{width:100%;min-height:34px;color:var(--ink-2);text-align:left;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-size:12px;display:flex}.production-report-defect-list button:hover,.production-report-defect-list button[aria-selected=true]{background:var(--canvas);color:var(--teal)}.production-report-defect-list p{min-height:40px;color:var(--muted);place-items:center;margin:0;font-size:12px;display:grid}.production-report-defect-create{border:0;border-top:1px solid var(--divider);background:var(--surface);width:100%;min-height:38px;color:var(--teal);text-align:left;align-items:center;gap:7px;padding:8px 11px;font-size:12px;display:flex}.production-report-defect-create:hover:not(:disabled){background:var(--teal-soft)}.production-report-defect-create:disabled{color:var(--muted)}.production-report-defect-error{border-top:1px solid var(--divider);background:var(--danger-soft);color:var(--danger);margin:0;padding:6px 10px;font-size:12px}.production-batch-report-modal{width:min(1360px,100vw - 32px)}.production-batch-report-summary{flex-wrap:wrap;gap:8px;display:flex}.production-batch-report-count{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);min-height:38px;color:var(--muted);flex:230px;align-items:center;gap:5px;padding:7px 10px;font-size:12px;display:flex}.production-batch-report-count strong{color:var(--ink);font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace}.production-batch-report-reporter{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);flex:280px;align-items:center;gap:10px;min-height:38px;padding:5px 7px 5px 10px;display:flex}.production-batch-report-reporter>span{color:var(--muted);flex:none;font-size:12px}.production-batch-report-reporter select{background-color:var(--canvas);border-color:#0000;flex:auto;min-width:0;height:28px;padding:0 28px 0 8px}.production-batch-report-table .table-scroll{min-height:min(320px,40vh);max-height:min(56vh,560px);overflow:auto}.production-batch-report-table thead{z-index:3;position:sticky;top:0}.production-batch-report-table th{background:var(--surface);white-space:nowrap}.production-batch-report-table td{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.production-batch-report-table td[data-column-id=product] .material-list-attributes{white-space:normal}.production-batch-report-table td[data-column-id=defectItems]{overflow:visible}.production-batch-report-table input{width:100%;min-width:0;height:32px;min-height:0;font-family:var(--font-mono);text-align:right;font-variant-numeric:tabular-nums;padding:0 8px}.production-batch-report-table .production-report-defect-trigger{height:32px}.production-batch-report-table tfoot td{z-index:2;border-top:1px solid var(--divider-strong);background:var(--surface);color:var(--ink-2);font-weight:680;position:sticky;bottom:0}.production-batch-report-table tfoot td:not(.table-pinned-left){z-index:1}.production-batch-report-table tfoot output{color:var(--ink)}.production-batch-report-table tfoot small{font-size:11px;font-weight:500;display:block}.production-batch-report-wage{color:var(--ink);font-weight:650}.production-batch-report-table .data-code,.production-batch-report-table td.numeric,.production-batch-report-table input{font-variant-numeric:tabular-nums;font-family:inherit}.production-batch-report-wage-missing{color:var(--muted);font-size:12px;font-weight:500}.production-task-assignment-modal{width:min(760px,100vw - 32px)}.production-task-assignment-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.production-task-assignment-summary>div{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);flex-direction:column;gap:3px;min-width:0;padding:9px 10px;display:flex}.production-task-assignment-summary span{color:var(--muted);font-size:12px}.production-task-assignment-summary strong{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:15px;overflow:hidden}.production-task-assignment-summary .is-over{background:var(--danger-soft);color:var(--danger);border-color:#d9553f6b;border-color:lab(54.3784% 51.6562 40.8796/.42)}.production-task-assignment-editor{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);overflow:hidden}.production-task-assignment-head,.production-task-assignment-row{grid-template-columns:38px minmax(180px,1fr) minmax(120px,.55fr) 38px;align-items:center;gap:8px;min-width:0;display:grid}.production-task-assignment-head{border-bottom:1px solid var(--divider);background:var(--canvas);min-height:32px;color:var(--muted);padding:0 9px;font-size:12px;font-weight:650}.production-task-assignment-head span:nth-child(3){text-align:right}.production-task-assignment-head span:last-child{text-align:center}.production-task-assignment-list{display:grid}.production-task-assignment-row{border-bottom:1px solid var(--divider);padding:8px 9px}.production-task-assignment-row:last-child{border-bottom:0}.production-task-assignment-index{color:var(--muted);text-align:center;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.production-task-assignment-row>label{min-width:0}.production-task-assignment-row>label>span{display:none}.production-task-assignment-row select,.production-task-assignment-row input{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);width:100%;min-width:0;height:34px;padding:0 9px}.production-task-assignment-row input{text-align:right;font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace}.production-task-assignment-row select:focus,.production-task-assignment-row input:focus{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal-soft);outline:0}.production-task-assignment-remove{border-radius:var(--radius-control);width:34px;height:34px;color:var(--danger);background:0 0;border:1px solid #0000;justify-self:center;place-items:center;padding:0;display:grid}.production-task-assignment-remove:hover:not(:disabled){background:var(--danger-soft);border-color:#d9553f52;border-color:lab(54.3784% 51.6562 40.8796/.32)}.production-task-assignment-add{justify-self:start;min-height:30px;margin:8px 9px;padding:4px 8px}.production-report-history-modal{width:min(960px,100vw - 28px)}.production-report-list{gap:9px;min-width:0;display:grid}.production-report-card{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);grid-template-columns:minmax(180px,1fr) minmax(150px,1fr) auto auto;align-items:center;gap:7px 16px;padding:12px 14px;display:grid}.production-report-person{flex-direction:column;gap:4px;min-width:0;display:flex}.production-report-person strong{color:var(--ink);overflow-wrap:anywhere;font-size:15px}.production-report-person small{color:var(--muted);font-size:12px}.production-report-card>.status-badge{justify-self:end}.production-report-numbers{color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;font-size:12px;display:flex}.production-report-numbers span{white-space:nowrap}.production-report-numbers strong{color:var(--ink);margin-left:5px;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:20px}.production-report-numbers strong.positive{color:var(--teal)}.production-report-meta{color:var(--muted);flex-wrap:wrap;grid-area:2/1/auto/-1;gap:6px 20px;font-size:11px;display:flex}.production-report-custom-values{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface-subtle);grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px 12px;margin:0;padding:9px;display:grid}.production-report-custom-values div{min-width:0}.production-report-custom-values dt{color:var(--muted);font-size:12px}.production-report-custom-values dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:12px}.production-custom-fields{margin:0}.production-report-card>.row-actions{grid-area:1/4;justify-content:flex-end}@media (max-width:700px){.production-report-card{grid-template-columns:minmax(0,1fr) auto;gap:10px}.production-report-card>.status-badge{grid-area:1/2}.production-report-numbers{grid-area:2/1}.production-report-card>.row-actions{grid-area:2/2}.production-report-meta{grid-row:3}}.production-process-chain{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.production-process-chain span{border:1px solid var(--divider);background:var(--canvas);color:var(--ink-2);white-space:nowrap;border-radius:4px;align-items:center;gap:4px;padding:4px 7px;font-size:12px;display:inline-flex}.production-process-chain span+span:before{content:"→";color:var(--muted);margin-left:-11px;padding-right:2px;transform:translate(-8px)}.production-process-chain b{color:var(--teal);font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.production-process-chain span>small{color:var(--muted);font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.production-process-chain-inline{flex-wrap:wrap;min-width:0}.production-process-chain-inline span{white-space:normal;overflow-wrap:anywhere;flex:none;max-width:100%;display:block}.production-process-chain-inline b{margin-right:4px}.production-process-chain-inline span>small{white-space:nowrap;margin-left:4px}.production-process-chain-inline span+span:before{display:none}.production-version-list{gap:10px;min-width:min(680px,100%);display:grid}.production-version-card{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);gap:9px;padding:11px;display:grid}.production-version-card.default{background:var(--success-soft);border-color:#7cb48f;border-color:lab(68.5817% -25.0767 12.8772)}.production-version-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.production-version-heading>div{align-items:center;gap:7px;display:flex}.production-version-heading strong{font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:14px}.production-checkbox{min-height:var(--control-h);flex-direction:row;align-self:end;align-items:center}.production-checkbox input{width:15px;min-height:15px}.form-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.number-rule-form{min-width:min(860px,100%)}.number-rule-preview{border:1px solid #4a9aa759;border:1px solid lab(58.8559% -22.4209 -14.9454/.35);border-left:3px solid var(--teal);border-radius:var(--radius-control);background:var(--teal-soft);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.number-rule-preview span,.number-rule-preview small{color:var(--muted);font-size:11px}.number-rule-preview strong{overflow-wrap:anywhere;color:var(--teal);letter-spacing:.03em;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:19px}.number-rule-segments{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);overflow:hidden}.number-rule-segments>header{border-bottom:1px solid var(--divider);background:var(--canvas);justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:8px 10px;display:flex}.number-rule-segments>header>div:first-child{flex-direction:column;gap:2px;display:flex}.number-rule-segments>header small{color:var(--muted);font-size:10px}.number-rule-segments>header>div:last-child{flex-wrap:wrap;gap:4px;display:flex}.number-rule-segments>header .button{min-height:28px;padding:4px 7px;font-size:11px}.number-rule-segment-list{display:grid}.number-rule-segment-row{border-bottom:1px solid var(--divider);grid-template-columns:28px minmax(130px,.65fr) minmax(170px,1fr) minmax(100px,.45fr) 104px;align-items:end;gap:8px;padding:9px 10px;display:grid}.number-rule-segment-row:last-child{border-bottom:0}.number-rule-index{color:var(--muted);text-align:center;align-self:center;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:11px}.number-rule-segment-actions{justify-content:flex-end;align-self:center;gap:2px;display:flex}.number-rule-segment-actions button{border:1px solid var(--divider);background:var(--canvas);width:32px;height:32px;color:var(--muted);border-radius:4px;place-items:center;display:grid}.number-rule-segment-actions button:hover:not(:disabled){border-color:var(--teal);color:var(--teal)}.number-rule-segment-actions button:last-child:hover:not(:disabled){border-color:var(--danger);color:var(--danger)}.number-rule-detail-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.number-rule-detail-list li{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--surface);grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;display:grid}.number-rule-detail-list b{background:var(--teal-soft);width:22px;height:22px;color:var(--teal);border-radius:50%;place-items:center;font-size:10px;display:grid}.number-rule-detail-list span{font-size:12px}.login-page{background:var(--surface);place-items:center;min-height:100vh;padding:20px;display:grid}.login-panel{border:1px solid var(--divider);border-radius:var(--radius-surface);background:var(--canvas);width:min(410px,100%);overflow:hidden}.login-brand{border-bottom:1px solid var(--divider);align-items:center;gap:12px;padding:20px;display:flex}.login-brand h1{font-size:19px}.login-brand p{color:var(--muted);margin-top:2px;font-size:12px}.login-form{flex-direction:column;gap:14px;padding:20px;display:flex}.login-form .button{width:100%}.login-method-tabs{background:var(--surface-muted,#f1f5f9);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.login-method-tabs button{min-height:38px;color:var(--muted-foreground,#64748b);border-radius:8px;font-weight:600}.login-method-tabs button[aria-pressed=true]{color:var(--foreground,#172033);background:#fff;box-shadow:0 1px 3px #0f172a1f}.wechat-login-button{color:#07a94e;border:1px solid #07c160;border-radius:8px;width:100%;min-height:44px;font-weight:650}.login-tenant-picker{min-height:var(--control-h);border:1px solid var(--divider-strong);border-radius:var(--radius-control);background:var(--canvas);align-items:center;gap:6px;padding:0 3px 0 9px;display:flex;position:relative}.login-tenant-picker:focus-within{border-color:var(--teal);outline:2px solid #003b4433;outline:2px solid lab(21.6301% -18.9009 -12.8424/.2)}.login-tenant-picker input{text-transform:uppercase;letter-spacing:.08em;background:0 0;border:0;outline:0;flex:1;min-width:0;min-height:30px;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:13px}.login-tenant-picker input:focus{outline:0}.login-tenant-toggle{border-radius:var(--radius-control);width:30px;height:30px;color:var(--muted);transition:background .18s var(--ease-state), color .18s var(--ease-state);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.login-tenant-toggle:hover:not(:disabled),.login-tenant-toggle[aria-expanded=true]{background:var(--surface-strong);color:var(--teal)}.login-tenant-options{z-index:var(--z-dropdown);border:1px solid var(--divider-strong);border-radius:var(--radius-control);background:var(--canvas);gap:2px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 7px 18px #22181529;box-shadow:0 7px 18px lab(9.38412% 5.05529 4.11519/.16)}.login-tenant-options button{width:100%;min-height:32px;color:var(--ink-2);letter-spacing:.08em;text-align:left;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex}.login-tenant-options button:hover,.login-tenant-options button.active{background:var(--teal-soft);color:var(--teal)}.login-tenant-options button svg{color:var(--teal)}.login-panel footer{border-top:1px solid var(--divider);background:var(--surface);color:var(--muted);text-align:center;padding:10px 20px;font-size:11px}.drawer-backdrop{display:none}@media (max-width:800px){.report-runtime-filter-panel{align-items:stretch}.report-runtime-filter-grid,.report-runtime-filter-item{flex-basis:100%}.report-runtime-filter-actions{justify-content:flex-end;width:100%}.report-runtime-filter-actions .button{flex:auto}.report-view-pagination{flex-direction:column;align-items:stretch;gap:8px}.report-view-pagination .pagination-summary{text-align:center}.report-view-pagination .pagination-controls{justify-content:center}.page-header{flex-direction:column;align-items:stretch;gap:9px}.sales-view-manager{justify-content:flex-start;width:100%}.view-tabs{max-width:calc(100vw - 92px)}.view-editor-grid{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr))}.view-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{z-index:calc(var(--z-backdrop) + 1);transition:transform .2s var(--ease-state);transform:translate(-100%)}.sidebar-open{transform:translate(0)}.work-area{width:100%;margin-left:0}.drawer-backdrop{z-index:var(--z-backdrop);background:#02020280;background:lab(.462488% 0 0/.5);border:0;display:block;position:fixed;inset:0}.mobile-menu,.mobile-close{display:inline-grid}.sidebar-toggle{display:none}.mobile-close{margin-left:auto}.topbar{padding:0 12px}.topbar-context{margin-left:6px;margin-right:auto}.task-live-notice{right:12px}.topbar-right span{display:none}.page-content{padding:12px}.pagination-bar-fixed{right:12px;bottom:env(safe-area-inset-bottom,0px);left:12px}.page-content:has(.pagination-bar-fixed){padding-bottom:72px}.page-header{flex-direction:column}.page-actions,.page-actions .button,.report-header-actions{width:100%}.report-header-actions .button{flex:1 1 0;width:auto}.reports-layout,.report-basic-grid{grid-template-columns:1fr}.report-builder-basic{grid-template-columns:1fr;align-items:stretch}.report-runtime-filter-grid,.report-builder-layout{grid-template-columns:1fr}.report-field-list{max-height:280px}.report-builder-settings{order:2}.report-builder-center{order:1}.report-filter-row{grid-template-columns:22px minmax(0,1fr) 26px}.report-filter-row select,.report-filter-row input,.report-filter-row .report-filter-no-value{grid-column:2}.report-filter-row .report-filter-remove{grid-area:1/3/span 3}.report-builder-actions{flex-wrap:wrap}.report-builder-actions>span{flex:1 0 100%;margin-right:0}.report-field-grid,.report-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-report-access-list{grid-template-columns:1fr}.report-formula-row,.report-rule-row{grid-template-columns:24px minmax(0,1fr) 32px}.report-formula-row .report-formula-expression,.report-rule-row input,.report-rule-row select{grid-column:2}.report-formula-row .button,.report-rule-row .button{grid-area:1/3/span 2}.report-editor-actions{z-index:var(--z-sticky);position:sticky;bottom:0}.report-preview-heading-actions{flex-direction:column;align-items:flex-end;gap:5px}.toolbar{flex-wrap:wrap;align-items:stretch}.segmented{max-width:100%;overflow-x:auto}.filter-field{flex:230px}.filter-field select{flex:1;min-width:0}.search-field{order:3;min-width:100%;max-width:none}.audit-query-toolbar .search-field{order:0}.audit-date-range{width:100%}.audit-date-range>input[type=date]{flex:1;width:auto;min-width:0}.audit-query-actions{width:100%}.audit-query-actions>.button{flex:1}.summary-item{grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;min-height:88px;padding:12px}.summary-icon{width:36px;height:36px}.summary-body{gap:6px}.summary-value strong{font-size:20px}.impact-rail{flex-direction:column;align-items:stretch;gap:8px}.impact-rail ol{grid-template-columns:1fr}.impact-rail li{border-top:1px solid var(--divider);border-left:0;min-height:32px}.form-grid,.form-grid-three,.form-grid-four,.sale-order-head,.purchase-order-head,.order-create-grid,.purchase-request-purchase-page .order-create-grid,.purchase-request-create-page .purchase-request-create-grid,.role-options{grid-template-columns:minmax(0,1fr)}.order-create-remark{grid-column:auto}.order-amount-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.order-create-actions{flex-wrap:wrap;align-items:stretch}.order-create-actions-count{flex:1 0 100%;justify-content:space-between;margin-right:0}.order-create-footer-adjustments{flex:1 0 100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px}.order-create-footer-adjustment-remark,.order-create-footer-adjustment-error{grid-column:1/-1}.order-create-totals{flex:1 0 100%;justify-content:space-between;margin-right:0}.order-create-actions>.button{flex:1 1 0}.production-order-head .production-order-remark{grid-column:auto}.production-subheader{flex-direction:column;align-items:stretch}.production-subheader .button{width:100%}.production-defect-editor,.production-report-permission-mode{grid-template-columns:1fr}.production-line-row,.production-route-step-row{grid-template-columns:24px minmax(0,1fr) 34px;align-items:center}.production-line-row>label,.production-route-step-row>label{grid-column:2}.production-line-row .production-line-remove,.production-route-step-row .production-line-remove{grid-area:1/3/span 4}.production-line-row .production-line-index{grid-area:1/1/span 4}.production-order-line-row .production-line-remove,.production-order-line-row .production-line-index{grid-row:1/span 6}.production-route-step-row .production-line-index{grid-area:1/1/span 4}.production-work-order-step-row{grid-template-columns:24px minmax(0,1fr);align-items:center}.production-work-order-step-row>.production-line-index{grid-area:1/1/span 3}.production-work-order-step-row>label,.production-work-order-step-actions{grid-column:2}.production-work-order-step-actions{justify-content:flex-start}.production-material-row{grid-template-columns:24px minmax(0,1fr) 34px;align-items:center}.production-material-row>.production-line-index{grid-area:1/1/span 5}.production-material-row>label,.production-material-row>.production-material-fact{grid-column:2}.production-material-row>.production-line-remove{grid-area:1/3/span 5}.production-defect-choice-grid{grid-template-columns:1fr}.number-rule-segments>header{flex-direction:column;align-items:stretch}.number-rule-segments>header>div:last-child .button{flex:auto}.number-rule-segment-row{grid-template-columns:24px minmax(0,1fr);align-items:center}.number-rule-segment-row>label,.number-rule-segment-actions{grid-column:2}.number-rule-segment-row>.number-rule-index{grid-area:1/1/span 4}.number-rule-segment-actions{justify-content:flex-start}.production-detail-facts{grid-template-columns:1fr}.production-material-summary-list>div{grid-template-columns:1fr;gap:4px}.stock-impact-preview>div{grid-template-columns:1fr}.production-report-summary{flex-wrap:wrap}.production-report-grid,.production-report-time-grid,.production-report-hero{grid-template-columns:minmax(0,1fr)}.production-report-hero-stats>div{text-align:left}.production-report-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.production-report-entry>.production-report-wage{grid-column:1/-1}.line-editor{max-height:clamp(140px,100dvh - 520px,360px)}.line-editor.order-line-table-editor{max-height:none}.order-line-toolbar-title small{max-width:150px}.order-line-table-editor .table-scroll{max-height:clamp(160px,100dvh - 560px,360px)}.operation-row{grid-template-columns:1fr 1fr}.operation-row>div{grid-column:1/-1}.shipment-history-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.role-row{grid-template-columns:1fr;gap:8px}.role-actions{justify-content:flex-start}.setting-row{grid-template-columns:1fr;gap:8px}.business-config-toolbar{grid-template-columns:1fr}.business-config-toolbar .search-field{width:100%;max-width:none}.cleanup-heading{flex-direction:column;align-items:stretch;gap:8px}.cleanup-heading>.button,.cleanup-count{align-self:flex-start}.cleanup-module-option{gap:12px;min-height:72px;padding:14px}.cleanup-section>.delete-warning{margin:14px 14px 0}.cleanup-section>.form-error{margin-inline:14px}.business-config-page .cleanup-actions{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px;padding:14px}.business-config-page .cleanup-actions>.button{width:100%}.demo-industry-grid{grid-template-columns:1fr}.role-actions{justify-content:flex-start;min-width:0}.permission-groups{grid-template-columns:1fr}.permission-group{border-right:0}.role-permission-matrix-toolbar{flex-direction:column;align-items:flex-start;gap:8px}.role-permission-matrix-summary{justify-content:space-between;width:100%}.role-permission-matrix{min-width:820px}.switch{justify-self:start}.field-definition-row,.custom-field-grid,.batch-field-editor,.replenishment-responsibility{grid-template-columns:1fr}.replenishment-relation{grid-template-columns:repeat(2,minmax(0,1fr))}.replenishment-relation>b{display:none}.replenishment-relation>label,.replenishment-readonly{min-height:86px}.batch-clear-control{grid-area:auto/1;justify-self:start}.catalog-form-heading{flex-direction:column;align-items:flex-start;gap:3px}.modal-body{padding:12px}.modal,.modal.user-account-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.user-account-modal>.modal-header{padding:13px 16px}.user-account-modal>.modal-body{padding:12px 16px}.user-account-modal>.modal-footer{padding:10px 16px max(10px, env(safe-area-inset-bottom))}.user-form-section{padding:9px 10px}.user-account-fields,.user-account-fields--edit{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.user-login-authorization{grid-template-columns:18px minmax(0,1fr)}.user-seat-badge{grid-column:2;justify-self:start}.modal.report-preview-modal{width:calc(100vw - 16px)}.table-config-toolbar{overflow:visible}.catalog-bulk-toolbar{overscroll-behavior-inline:contain;scrollbar-width:thin;gap:4px;max-width:calc(100vw - 112px);margin-right:2px;padding-right:4px;overflow-x:auto}.catalog-bulk-toolbar .button,.catalog-bulk-toolbar>span{flex:none}.table-config-toolbar:has(.catalog-bulk-toolbar) .table-config-actions{flex:none}.table-config-toolbar:has(.catalog-bulk-toolbar) .table-toolbar-end{flex:1 1 0;min-width:0}.table-config-toolbar:has(.catalog-bulk-toolbar) .table-toolbar-end .catalog-bulk-toolbar{width:100%;max-width:100%;margin-left:0;padding-left:4px}.table-config-button span{display:none}.table-config-button{justify-content:center;width:32px;padding:0}.table-config-button.reset-button{margin-left:0}.table-sort-condition{grid-template-columns:34px minmax(120px,1fr) 142px 30px}.table-sort-directions button{padding:0 5px}.table-filter-condition{grid-template-columns:minmax(130px,1fr) minmax(110px,.8fr) minmax(160px,1.25fr) 30px}.pagination-bar{flex-direction:column;align-items:stretch;gap:6px}.pagination-summary{text-align:center}.pagination-controls{justify-content:center}}
.product-bom-page,.product-bom-editor-page{min-width:0}.bom-display-switch button{align-items:center;gap:6px;font-size:13px;font-weight:550;line-height:20px;display:inline-flex}.bom-display-switch button.active{color:var(--brand);font-weight:650}.bom-display-switch button:hover{color:var(--brand);background:var(--brand-soft)}.bom-display-switch button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.product-bom-editor-page .order-create-section-heading{background:var(--surface)}.bom-filter-toolbar{flex-wrap:wrap}.bom-search-field{flex:280px;max-width:360px}.bom-search-field>svg{flex-shrink:0}.bom-filter-field>span{color:var(--ink-2);font-size:13px;font-weight:650}.bom-filter-field:focus-within{border-color:var(--brand);outline:2px solid #0b57d02e}.bom-filter-field select{min-width:112px}.bom-tree-section{overflow:hidden}.bom-tree-toolbar-actions{align-items:center;gap:6px;display:flex}.bom-tree-toolbar-actions .button{min-height:30px;padding:5px 7px;font-size:12px}.bom-tree-table{table-layout:fixed}.bom-tree-table .bom-root-row td{background:var(--surface);font-weight:600}.bom-tree-table .bom-root-row td:first-child{background:var(--surface)}.bom-tree-table[role=treegrid] .bom-root-row td{background:color-mix(in srgb, var(--brand) 5%, var(--canvas))}.bom-tree-table[role=treegrid] .bom-root-row td:first-child{box-shadow:inset 3px 0 0 color-mix(in srgb, var(--brand) 45%, var(--canvas))}.bom-tree-label{min-width:0;padding-left:calc((var(--bom-depth) - 1) * 18px);align-items:center;gap:5px;display:flex}.bom-tree-label>span:last-child{flex-direction:column;gap:1px;min-width:0;display:flex}.bom-tree-label strong,.bom-tree-label small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bom-tree-label small{color:var(--ink-2);font-size:12px;font-weight:500}.bom-tree-toggle-slot{flex:0 0 22px;place-items:center;width:22px;height:26px;display:inline-grid}.bom-tree-toggle{width:24px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:4px;place-items:center;display:inline-grid}.bom-tree-toggle:hover{background:var(--teal-soft);color:var(--teal)}.bom-qty-cell{white-space:normal;overflow-wrap:anywhere;text-align:right}.bom-config-badge{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:inline-flex}.bom-config-badge.bom-configured{color:var(--success)}.bom-tree-table .row-actions{flex-wrap:nowrap}.bom-tree-table .row-actions .button{min-height:29px;padding:4px 7px;font-size:11px}.product-bom-basic-grid{grid-template-columns:minmax(260px,1.4fr) minmax(140px,.7fr) minmax(180px,1fr) minmax(180px,.9fr)}.product-bom-basic-grid input[readonly]{color:var(--ink-2);background:var(--canvas)}.bom-quantity-input{align-items:center;gap:7px;display:flex}.bom-quantity-input input{font-variant-numeric:tabular-nums;flex:1;min-width:0;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace}.bom-quantity-input span{color:var(--muted);white-space:nowrap;font-size:12px}.product-bom-lines-section{min-width:0;overflow:hidden}.product-bom-lines-scroll{min-width:0;overflow-x:auto}.product-bom-lines-table{min-width:1400px}.product-bom-lines-table th:first-child,.product-bom-lines-table td:first-child{text-align:center;width:48px}.product-bom-lines-table th:nth-child(2),.product-bom-lines-table th:nth-child(3){width:225px}.product-bom-lines-table th:nth-child(4){width:100px}.product-bom-lines-table th:nth-child(5){width:150px}.product-bom-lines-table th:nth-child(6){width:70px}.product-bom-lines-table th:nth-child(7){width:125px}.product-bom-lines-table th:nth-child(8){width:240px}.product-bom-lines-table th:nth-child(9){width:88px}.product-bom-lines-table th:nth-child(10){width:58px}.product-bom-lines-table td{height:48px}.product-bom-lines-table .autocomplete{min-width:180px}.product-bom-lines-table input{min-width:84px;min-height:34px}.product-bom-lines-table .numeric-input{text-align:right}.bom-ratio-copy{color:var(--muted);white-space:nowrap;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:11px}.bom-line-order-actions{align-items:center;gap:1px;display:flex}.bom-line-order-actions .icon-button,.bom-line-delete{color:var(--muted)}.bom-line-order-actions .icon-button:hover:not(:disabled){color:var(--teal);background:var(--teal-soft)}.bom-line-delete:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.product-bom-lines-section>.form-hint{margin:8px 12px 12px}.product-bom-actions{align-items:center}.product-bom-base-summary{color:var(--muted);align-items:baseline;gap:7px;margin-right:10px;font-size:12px;display:flex}.product-bom-base-summary strong{color:var(--ink)}.bom-editor-shell{border:1px solid var(--divider);border-radius:var(--radius-lg);background:var(--surface);grid-template-rows:minmax(520px,auto) auto;grid-template-columns:270px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.bom-editor-sidebar{border-right:1px solid var(--divider);background:var(--canvas);min-width:0}.bom-editor-side-heading,.bom-editor-lines-heading{border-bottom:1px solid var(--divider);align-items:center;gap:8px;padding:16px;display:flex}.bom-editor-side-heading span{color:var(--muted);margin-left:auto;font-size:12px}.bom-editor-root-picker{padding:12px}.bom-editor-tree{padding:5px 8px 16px}.bom-editor-tree-row{border-radius:var(--radius-sm);align-items:center;min-width:0;display:flex}.bom-editor-tree-row.active{background:var(--brand-soft);color:var(--brand)}.bom-editor-toggle{width:23px;color:inherit;background:0 0;border:0;flex:0 0 23px}.bom-editor-tree-select{text-align:left;min-width:0;color:inherit;background:0 0;border:0;flex:1;align-items:center;gap:7px;padding:8px 5px;display:flex}.bom-editor-tree-level,.bom-editor-tree-count{color:var(--muted);font-size:11px}.bom-editor-tree-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.bom-editor-main{min-width:0;padding:16px}.bom-editor-product{border-radius:var(--radius-md);background:var(--canvas);justify-content:space-between;align-items:center;gap:12px;padding:17px;display:flex}.bom-editor-product>div{gap:6px;display:grid}.bom-editor-product strong{font-size:18px}.bom-editor-product span{color:var(--muted);font-size:12px}.bom-editor-lines{border:1px solid var(--divider);border-radius:var(--radius-md);margin-top:18px;overflow:hidden}.bom-editor-lines-heading{justify-content:space-between;padding:10px 14px}.bom-editor-lines>.form-hint{margin:12px 14px}.bom-editor-lines table{table-layout:fixed;width:100%;min-width:0}.bom-editor-lines th,.bom-editor-lines td{border-bottom:1px solid var(--divider);text-align:left;padding:8px}.bom-editor-lines th:first-child,.bom-editor-lines td:first-child{text-align:center;width:72px}.bom-editor-lines th:nth-child(3){width:200px}.bom-editor-lines th:nth-child(4){width:58px}.bom-editor-lines .bom-quantity-input{grid-template-columns:minmax(0,1fr) 88px;gap:6px;display:grid}.bom-editor-lines .bom-quantity-input select{width:100%;min-width:0}.bom-editor-lines th,.bom-editor-lines td{white-space:nowrap}.bom-editor-line-actions{align-items:center;gap:3px;display:flex}.bom-editor-line-actions>button:not(.button){min-width:27px;height:29px;color:var(--muted);background:0 0;border:0;border-radius:4px;place-items:center;display:grid}.bom-editor-line-actions>button:hover:not(:disabled){background:var(--brand-soft);color:var(--brand)}.bom-editor-empty{color:var(--muted);text-align:center;padding:28px 16px}.bom-editor-footer{border-top:1px solid var(--divider);grid-column:1/-1;justify-content:flex-end;align-items:center;gap:10px;padding:12px 16px;display:flex}.bom-editor-footer .form-error{margin-right:auto}@media screen and (min-width:801px){.work-area:has(>.page-content>.page-stack>.bom-editor-shell){flex-direction:column;height:100dvh;display:flex;overflow:hidden}.work-area:has(>.page-content>.page-stack>.bom-editor-shell)>:not(.page-content){flex-shrink:0}.page-content:has(>.page-stack>.bom-editor-shell){flex-direction:column;flex:1;min-height:0;display:flex}.page-content>.page-stack:has(>.bom-editor-shell){flex:1;min-height:0}.page-content>.page-stack:has(>.bom-editor-shell)>:not(.bom-editor-shell){flex-shrink:0}.bom-editor-shell{flex:1;grid-template-rows:minmax(0,1fr) auto;min-height:0}.bom-editor-sidebar,.bom-editor-main{min-height:0;overflow-y:auto}}@media (max-width:800px){.bom-filter-toolbar{align-items:stretch}.bom-search-field{flex-basis:100%;order:0}.bom-filter-field{flex:140px}.bom-filter-field select{width:100%;min-width:0}.bom-filter-toolbar>.button{flex:120px}.bom-tree-toolbar-actions{justify-content:flex-end}.product-bom-basic-grid{grid-template-columns:1fr}.product-bom-actions{flex-wrap:wrap;align-items:stretch}.product-bom-actions .order-create-actions-count,.product-bom-base-summary{flex:1 0 100%;margin-right:0}.product-bom-actions>.button{flex:1 1 0}.bom-editor-shell{grid-template-columns:minmax(0,1fr)}.bom-editor-sidebar{border-right:0;border-bottom:1px solid var(--divider)}.bom-editor-tree{max-height:210px;overflow-y:auto}}@media (max-width:520px){.report-runtime-filter-actions{width:100%}.report-runtime-filter-actions .button{flex:1 1 0}.task-center-trigger{width:44px;height:44px}.task-live-notice{width:auto;left:12px;right:12px}.export-task-drawer{width:100vw}.task-drawer-header,.task-drawer-item,.task-drawer-footer{padding-left:12px;padding-right:12px}.task-drawer-item-actions{flex-wrap:wrap}.view-tab{min-height:44px}.view-actions>.icon-button,.view-menu-trigger{width:44px;height:44px}.view-actions .button{min-height:44px;padding:0 10px;font-size:13px}.view-menu{width:170px}.view-menu button{min-height:44px;font-size:14px}.view-editor-drawer header,.view-editor-drawer footer,.view-editor-body{padding-left:16px;padding-right:16px}.view-editor-grid{grid-template-columns:1fr 1fr}.view-name-field{grid-column:1/-1}.view-column-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.view-scope-options,.view-share-grid{grid-template-columns:1fr}.view-condition-row .icon-button,.view-sort-row .icon-button{width:32px;height:32px}.configurable-table{--table-actions-width:min(var(--table-actions-base-width,240px), max(180px, calc(100vw - 124px)))}.production-work-orders-table .table-pinned-left,.production-work-orders-table .table-frozen-column{box-shadow:none;position:static;z-index:auto!important}.order-line-toolbar-title{gap:5px;padding-right:6px}.order-line-toolbar-title small{background:0 0;width:8px;max-width:8px;padding:0;font-size:0}.order-line-toolbar-title small:before{width:8px;height:8px}.order-line-table-editor .column-config-popover{left:-64px}.order-line-table-editor .table-toolbar-end{margin-left:4px}.sorting-config-popover{left:-41px}.sorting-config-heading{align-items:flex-start}.filtering-config-popover{width:calc(100vw - 38px);max-width:calc(100vw - 38px);left:-7px}.report-view-page .table-config-toolbar{position:relative}.report-view-page .table-config-control{position:static}.report-view-page .filtering-config-popover{width:100%;max-width:100%;left:0}.table-filter-condition{grid-template-columns:minmax(0,1fr) minmax(0,.82fr) 30px;gap:5px}.table-filter-condition input,.table-filter-condition>.table-popover-select:nth-child(3){grid-column:1/3}.table-filter-remove{grid-area:1/3/span 2}.table-filter-footer .button{width:auto}.table-sort-condition{grid-template-columns:32px minmax(0,1fr) 30px;gap:5px}.table-sort-directions{grid-column:2}.table-sort-remove{grid-area:1/3/span 2}.table-frozen-column .row-actions{white-space:normal;flex-wrap:wrap}.summary-band,.production-task-assignment-summary{grid-template-columns:1fr}.production-task-assignment-head{display:none}.production-task-assignment-row{grid-template-columns:26px minmax(0,1fr) 34px;align-items:center}.production-task-assignment-row>.production-task-assignment-index{grid-area:1/1/span 2}.production-task-assignment-row>label{grid-column:2;gap:3px;display:grid}.production-task-assignment-row>label>span{color:var(--muted);font-size:10px;font-weight:650;display:block}.production-task-assignment-remove{grid-area:1/3/span 2}.summary-item{border-right:0;border-bottom:1px solid var(--divider);min-height:80px}.summary-item:last-child{border-bottom:0}.operation-row,.shipment-history-head{grid-template-columns:1fr}.shipment-history-title,.shipment-history-facts,.shipment-history-actions{grid-area:auto/1}.shipment-history-actions{justify-self:stretch;width:100%}.shipment-history-actions .button{flex:1}.form-actions{flex-direction:column-reverse}.form-actions .button{width:100%}.order-create-footer-adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}.pagination-step span{display:none}.pagination-step{width:30px;padding:0}}.production-merge-group-alt>td{background:var(--canvas)}.work-order-merged-sources{flex-wrap:wrap;align-items:center;gap:4px 8px;display:inline-flex}.work-order-merged-sources small{width:100%;color:var(--muted);flex-wrap:wrap;gap:4px 6px;display:inline-flex}.work-order-merged-source-links{flex-wrap:wrap;gap:4px 10px;display:inline-flex}td.document-unit-price{color:var(--brand);font-weight:700}.work-order-print-page,.process-print-page{padding:20px}.process-print-toolbar{justify-content:flex-end;align-items:center;gap:10px;margin-bottom:18px;display:flex}.process-print-card{color:#111;text-align:center;background:#fff;flex-direction:column;align-items:center;gap:10px;width:min(100%,120mm);margin:0 auto;padding:14mm;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;display:flex;box-shadow:0 2px 16px #0002}.process-print-card h1{margin:0 0 7mm;font-size:22px}.process-print-card strong{font-size:28px}.process-print-card p{margin:0;font-size:18px}.process-print-card img{width:65mm;max-width:100%;height:65mm}.process-print-card small{margin-top:5mm;font-size:12px}.work-order-print-toolbar{justify-content:flex-end;align-items:center;gap:10px;margin-bottom:18px;display:flex}.work-order-print-summary{color:var(--muted);margin-right:auto;font-size:13px}.work-order-print-cards{gap:24px;display:grid}.work-order-print-card{color:#111;background:#fff;width:min(100%,210mm);margin:0 auto;padding:14mm 12mm;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;box-shadow:0 2px 16px #0002}.work-order-print-head{text-align:center;min-height:39mm;padding:6mm 42mm 4mm 0;position:relative}.work-order-print-head h1{margin:0;font-size:24px;font-weight:700}.work-order-print-head h2{margin:12mm 0 0;font-size:18px;font-weight:400}.work-order-print-qr{width:34mm;height:34mm;position:absolute;top:0;right:0}.work-order-print-facts{break-inside:avoid}.work-order-print-image-column{width:39mm}.work-order-print-images{gap:4mm;display:grid}.work-order-print-product-image{text-align:center;break-inside:avoid;margin:0}.work-order-print-product-image img{object-fit:contain;width:34mm;height:34mm;margin:0 auto;display:block}.work-order-print-image-error{border:1px solid #222;justify-content:center;align-items:center;width:34mm;height:34mm;font-size:12px;display:flex}.work-order-print-card table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;max-width:100%}.work-order-print-card th,.work-order-print-card td{color:#111;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;background:#fff;border:1px solid #222;min-width:0;max-width:none;height:auto;padding:8px;font-size:13px;line-height:1.35;position:static}.work-order-print-card tbody tr:last-child td{border-bottom:1px solid #222}.work-order-print-facts th{text-align:center;width:24%;font-weight:400}.work-order-print-facts td{width:26%}.work-order-print-facts.has-images th,.work-order-print-facts.has-images td{width:auto}.work-order-print-facts th.work-order-print-image-heading{font-weight:600}.work-order-print-card h3{margin:16px 8px 10px;font-size:16px}.work-order-print-tasks th{text-align:center;font-weight:600}.work-order-print-tasks th:first-child{width:7%}.work-order-print-tasks td:first-child{text-align:center}.work-order-print-tasks tr{break-inside:avoid}@page{size:A4 portrait;margin:12mm}@media print{:is(body:has(.process-print-page) .app-frame,body:has(.process-print-page) .work-area,body:has(.process-print-page) .page-content){background:#fff!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}:is(body:has(.process-print-page) .sidebar,body:has(.process-print-page) .topbar,body:has(.process-print-page) .tenant-expiry-notice,body:has(.process-print-page) .process-print-toolbar){display:none!important}body:has(.process-print-page) .process-print-page{padding:0}body:has(.process-print-page) .process-print-card{width:100%;max-width:120mm;box-shadow:none;padding:0}:is(body:has(.work-order-print-page) .app-frame,body:has(.work-order-print-page) .work-area,body:has(.work-order-print-page) .page-content){background:#fff!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}:is(body:has(.work-order-print-page) .sidebar,body:has(.work-order-print-page) .topbar,body:has(.work-order-print-page) .tenant-expiry-notice){display:none!important}body:has(.work-order-print-page) .work-order-print-toolbar{display:none!important}body:has(.work-order-print-page) .work-order-print-page{padding:0}body:has(.work-order-print-page) .work-order-print-card{width:100%;box-shadow:none;padding:0}body:has(.work-order-print-page) .work-order-print-cards{display:block}body:has(.work-order-print-page) .work-order-print-card+.work-order-print-card{break-before:page}html,body{background:#fff!important;margin:0!important}body:has(.delivery-note-print)>:not(.delivery-note-print){display:none!important}.delivery-note-print{color:#171717;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;width:100%;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:11px;display:block!important}.delivery-note-print,.delivery-note-print *{box-sizing:border-box}.delivery-note-void-mark{color:#9f1d1d;letter-spacing:0;text-align:center;border:2px solid #9f1d1d;margin:10px 0 -2px;padding:6px 12px;font-size:14px;font-weight:800}.delivery-note-head{border-bottom:3px double #1f2933;grid-template-columns:1fr auto 1fr;align-items:end;gap:16px;padding-bottom:10px;display:grid}.delivery-note-company{letter-spacing:.04em;align-self:center;font-size:13px;font-weight:700}.delivery-note-head h1{letter-spacing:.28em;text-indent:.28em;margin:0;font-size:26px;font-weight:700}.delivery-note-number{text-align:right;justify-self:end}.delivery-note-number span{color:#5c6670;letter-spacing:.08em;margin-bottom:3px;font-size:9px;display:block}.delivery-note-number strong{font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.delivery-note-meta{border-top:1px solid #69727a;border-left:1px solid #69727a;grid-template-columns:1fr 1fr;margin:12px 0;display:grid}.delivery-note-meta div{border-bottom:1px solid #69727a;border-right:1px solid #69727a;grid-template-columns:76px minmax(0,1fr);align-items:center;min-height:30px;display:grid}.delivery-note-meta span{color:#4d555c;background:#f1f3f4;border-right:1px solid #9aa1a8;align-self:stretch;align-items:center;padding:5px 7px;font-weight:650;display:flex}.delivery-note-meta strong{overflow-wrap:anywhere;padding:5px 8px;font-weight:600}.delivery-note-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0}.delivery-note-table thead{display:table-header-group}.delivery-note-table tr{break-inside:avoid;page-break-inside:avoid}.delivery-note-table th,.delivery-note-table td{color:#171717;text-align:left;vertical-align:middle;overflow-wrap:anywhere;background:#fff;border:1px solid #69727a;max-width:none;height:auto;min-height:30px;padding:6px;position:static}.delivery-note-table th{text-align:center;background:#e9ecee;font-size:10px;font-weight:700}.delivery-note-table th:first-child{width:34px}.delivery-note-table th:nth-child(2){width:92px}.delivery-note-table th:nth-child(4){width:80px}.delivery-note-table th:nth-child(5){width:82px}.delivery-note-table th:nth-child(6){width:62px}.delivery-note-table th:nth-child(7){width:42px}.delivery-note-table th:nth-child(8){width:104px}.delivery-note-table tfoot td{background:#f7f7f7;font-weight:700}.delivery-note-center{text-align:center!important}.delivery-note-code{font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.delivery-note-quantity{font-variant-numeric:tabular-nums;font-family:SFMono-Regular,Consolas,monospace;text-align:right!important}.delivery-note-logistics{break-inside:avoid;border:1px solid #69727a;margin-top:12px}.delivery-note-logistics h2{background:#e9ecee;border-bottom:1px solid #69727a;margin:0;padding:6px 8px;font-size:11px}.delivery-note-logistics dl{grid-template-columns:1fr 1fr;margin:0;display:grid}.delivery-note-logistics dl>div{grid-template-columns:64px minmax(0,1fr);gap:8px;padding:6px 8px;display:grid}.delivery-note-logistics dt{color:#4d555c;font-weight:600}.delivery-note-logistics dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.delivery-note-logistics dl>div:last-child{grid-column:1/-1}.delivery-note-signatures{grid-template-columns:repeat(3,1fr);gap:28px;margin-top:34px;display:grid}.delivery-note-signatures div{border-bottom:1px solid #69727a;min-height:28px}.delivery-note-signatures span{color:#4d555c;background:#fff;padding-right:8px;display:inline-block}}@media (max-width:380px){.view-editor-grid,.view-column-grid{grid-template-columns:1fr}.view-name-field{grid-column:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.page-content:has(.assistant-page){height:calc(100dvh - 48px);padding:16px 20px 18px;overflow:hidden}.assistant-page{gap:12px;height:100%;min-height:0}.assistant-page>.page-header{flex:none}.assistant-layout{border:1px solid var(--divider-strong);background:var(--canvas);border-radius:12px;flex:auto;grid-template-columns:264px minmax(0,1fr);min-height:0;display:grid;overflow:hidden;box-shadow:0 16px 36px #1e131014;box-shadow:0 16px 36px lab(7.08436% 5.49055 3.84253/.08)}.assistant-conversations{border-right:1px solid var(--divider);background:#f7fbfc;background:lab(98.2929% -1.1636 -.771415);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.assistant-panel-title,.assistant-chat-header{border-bottom:1px solid var(--divider);background:var(--canvas);justify-content:space-between;align-items:center;gap:12px;padding:14px 17px;display:flex}.assistant-panel-title>div,.assistant-chat-header>div{gap:3px;min-width:0;display:grid}.assistant-eyebrow{color:var(--muted);letter-spacing:0;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:700}.assistant-panel-title strong{font-size:15px}.assistant-conversation-list{align-content:start;gap:3px;min-height:0;padding:9px;display:grid;overflow-y:auto}.assistant-conversation-list button{width:100%;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;gap:4px;padding:11px 12px;font-size:13px;display:grid}.assistant-conversation-list button:hover{border-color:var(--divider);background:var(--canvas)}.assistant-conversation-list button.active{background:var(--teal-soft);color:var(--teal-hover);border-color:#7bbeca;border-color:lab(72.7088% -19.8393 -13.1766)}.assistant-conversation-list small,.assistant-chat-header>div>span:last-child{color:var(--muted);font-size:10px}.assistant-workspace{background:var(--canvas);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid}.assistant-workspace>.assistant-chat-body{grid-row:2}.assistant-workspace>.assistant-composer{grid-row:3}.assistant-chat-header{padding:14px 22px}.assistant-chat-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.assistant-chat-header .button{flex:none}.assistant-chat-body{scrollbar-gutter:stable;background:#fcfefe;background:lab(99.4364% -.582099 -.385976);min-height:0;padding:24px clamp(18px,4vw,56px) 36px;overflow:hidden auto}.assistant-message{gap:10px;max-width:980px;margin:0 auto 22px;display:flex}.assistant-message-avatar{background:var(--teal-soft);width:30px;height:30px;color:var(--teal);border:1px solid #84bcc6;border:1px solid lab(72.6338% -17.0774 -11.3308);border-radius:50%;flex:0 0 30px;place-items:center;margin-top:2px;display:grid}.assistant-message-user{flex-direction:row-reverse}.assistant-message-user .assistant-message-avatar{border-color:var(--ink);background:var(--ink);color:var(--canvas)}.assistant-message-main{background:0 0;border:0;min-width:0;max-width:min(100%,900px);padding:0}.assistant-message-user .assistant-message-main{background:var(--teal-soft);border:1px solid #7bbeca;border:1px solid lab(72.7088% -19.8393 -13.1766);border-radius:12px 12px 4px;max-width:min(78%,640px);padding:11px 14px}.assistant-message-main>strong{color:var(--ink);font-size:12px;display:block}.assistant-message-user .assistant-message-main>strong{color:var(--teal-hover)}.assistant-message-main>small{color:var(--muted);margin-top:2px;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:10px;display:block}.assistant-message-main>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;line-height:1.75}.assistant-message-assistant .assistant-message-main>.assistant-markdown{border:1px solid var(--divider);background:var(--canvas);border-radius:4px 12px 12px;max-width:900px;padding:12px 15px}.assistant-markdown{overflow-wrap:anywhere;line-height:1.75}.assistant-markdown>:first-child{margin-top:0}.assistant-markdown>:last-child{margin-bottom:0}.assistant-markdown p{margin:0 0 12px}.assistant-markdown h1,.assistant-markdown h2,.assistant-markdown h3,.assistant-markdown h4{color:var(--ink);margin:16px 0 8px;line-height:1.35}.assistant-markdown h1{font-size:18px}.assistant-markdown h2{font-size:16px}.assistant-markdown h3,.assistant-markdown h4{font-size:14px}.assistant-markdown ul,.assistant-markdown ol{margin:8px 0 12px;padding-left:1.4em}.assistant-markdown li+li{margin-top:4px}.assistant-markdown blockquote{border-left:3px solid var(--teal);color:var(--muted);background:var(--surface);margin:10px 0;padding:4px 12px}.assistant-markdown code{background:var(--surface);border-radius:4px;padding:1px 4px;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:.92em}.assistant-markdown pre{background:var(--ink);color:var(--canvas);border-radius:6px;margin:10px 0 12px;padding:10px 12px;overflow-x:auto}.assistant-markdown pre code{color:inherit;background:0 0;padding:0}.assistant-markdown a{color:var(--teal);text-underline-offset:2px;text-decoration:underline}.assistant-markdown-table{margin:10px 0 12px;overflow-x:auto}.assistant-markdown table{border-collapse:collapse;width:100%;min-width:560px;font-size:11px}.assistant-markdown th,.assistant-markdown td{border:1px solid var(--divider);text-align:left;vertical-align:top;padding:7px 9px}.assistant-markdown th{background:var(--surface);color:var(--ink-2);font-weight:700}.assistant-markdown hr{border:0;border-top:1px solid var(--divider);margin:16px 0}.assistant-composer{border:1px solid var(--divider-strong);background:var(--canvas);border-radius:14px;align-items:flex-end;gap:10px;margin:0 22px 18px;padding:10px 10px 10px 14px;display:flex;box-shadow:0 8px 22px #1e131014;box-shadow:0 8px 22px lab(7.08436% 5.49055 3.84253/.08)}.assistant-composer:focus-within{box-shadow:0 0 0 3px var(--teal-soft);border-color:#4493a1;border-color:lab(56.5345% -22.3887 -14.9323)}.assistant-composer textarea{resize:none;background:0 0;border:0;outline:0;flex:1;min-height:58px;max-height:170px;padding:7px 0;line-height:1.6}.assistant-composer .button{border-radius:10px;flex:none;min-height:40px}.assistant-empty-chat{min-height:260px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.assistant-empty-chat>svg{background:var(--teal-soft);width:48px;height:48px;color:var(--teal);border-radius:14px;padding:13px}.assistant-empty-chat h2,.assistant-empty-chat p{margin:0}.assistant-empty-chat h2{color:var(--ink);font-size:19px}.assistant-empty-chat p{font-size:12px}.assistant-conversations>.muted{padding:12px 15px}.assistant-toggle.active{color:var(--brand);background:var(--brand-soft)}.assistant-dock{--assistant-dock-width:420px;z-index:var(--z-dropdown);width:var(--assistant-dock-width);border-left:1px solid var(--divider);background:var(--canvas);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-4px 0 16px #0f172a0a}.assistant-dock[hidden],.assistant-secondary-layout>[hidden]{display:none}.assistant-dock-header{border-bottom:1px solid var(--divider);justify-content:space-between;align-items:center;min-height:48px;padding:8px 16px;display:flex}.assistant-dock-header>div{align-items:center;gap:8px;display:flex}.assistant-dock-header svg{color:var(--brand)}.assistant-dock .assistant-page{flex:1;gap:0;min-height:0;padding:0}.assistant-view-toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.assistant-view-toolbar>div{align-items:center;gap:6px;display:flex}.assistant-view-toolbar strong{font-size:13px}.assistant-layout.assistant-secondary-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.assistant-secondary-layout .assistant-conversations{border:0;max-height:none}.assistant-secondary-layout .assistant-conversation-list{display:grid;overflow:auto}.assistant-history-note{border-bottom:1px solid var(--divider);color:var(--muted);margin:0;padding:12px 16px;font-size:12px;line-height:1.6}.assistant-history-row{align-items:center;gap:6px;min-width:0;display:flex}.assistant-history-row .assistant-conversation-open{overflow-wrap:anywhere;flex:1;min-width:0;overflow:hidden}.assistant-history-row>.icon-button{width:32px;height:32px;color:var(--muted);flex:0 0 32px;justify-content:center;align-items:center;padding:0;display:inline-flex}.assistant-history-row>.icon-button:hover{color:var(--danger)}.assistant-dock .assistant-layout{box-shadow:none;border:0;border-radius:0}.assistant-dock .assistant-chat-header{padding:12px 16px}.assistant-dock .assistant-chat-header .assistant-eyebrow{display:none}.assistant-dock .assistant-chat-header strong{font-size:14px}.assistant-dock .assistant-chat-header>div>span:last-child{font-size:12px}.assistant-dock .assistant-chat-body{padding:20px 14px}.assistant-dock .assistant-composer{margin:0 12px 12px}.assistant-dock .assistant-composer textarea{min-width:0}.assistant-dock .assistant-workspace>.empty-state{grid-row:1/-1;align-self:center}@media (min-width:1101px){.assistant-dock-open .work-area{width:calc(100% - 644px);margin-right:420px}.assistant-dock-open.sidebar-collapsed .work-area{width:calc(100% - 468px)}.assistant-dock-open .pagination-bar-fixed{right:432px}}@media (max-width:1100px){.assistant-dock{width:min(420px,100vw);z-index:var(--z-sticky);top:48px}}.a2ui-results{gap:12px;margin-top:14px;display:grid}.a2ui-surface{border:1px solid var(--divider);background:var(--canvas);border-radius:10px;overflow:hidden}.a2ui-surface-meta{border-bottom:1px solid var(--divider);color:var(--muted);background:#f7fbfc;background:lab(98.2929% -1.1636 -.771415);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:10px;display:flex}.a2ui-surface-meta span,.a2ui-section-heading>div{align-items:center;gap:6px;display:inline-flex}.a2ui-surface-meta span{color:var(--teal);font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace}.a2ui-kpi{border-bottom:1px solid var(--divider);align-items:center;gap:10px;padding:14px 15px;display:flex}.a2ui-kpi-icon{background:var(--coral-soft);width:32px;height:32px;color:var(--coral);border-radius:9px;flex:none;place-items:center;display:grid}.a2ui-kpi>div:last-child{gap:1px;min-width:0;display:grid}.a2ui-kpi span,.a2ui-kpi small{color:var(--muted);font-size:10px}.a2ui-kpi strong{color:var(--ink);font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:18px}.a2ui-table-section{min-width:0}.a2ui-section-heading{color:var(--ink-2);justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.a2ui-section-heading strong{font-size:12px}.a2ui-section-heading small{color:var(--muted);font-size:10px}.a2ui-table-scroll{overflow-x:auto}.a2ui-table{border-collapse:collapse;width:100%;min-width:720px;font-size:11px}.a2ui-table th{border-top:1px solid var(--divider);border-bottom:1px solid var(--divider);height:34px;color:var(--muted);background:#f7fbfc;background:lab(98.2929% -1.1636 -.771415);padding:6px 9px;font-size:10px}.a2ui-table td{border-bottom:1px solid var(--divider);white-space:nowrap;height:38px;padding:6px 9px}.a2ui-table tbody tr:last-child td{border-bottom:0}.a2ui-table tbody tr:hover{background:#f7fbfc;background:lab(98.2929% -1.1636 -.771415)}.a2ui-row-action{color:var(--teal);background:0 0;border:0;align-items:center;gap:3px;padding:2px 4px;font-size:10px;display:inline-flex}.a2ui-row-action:hover{color:var(--teal-hover);text-decoration:underline}.a2ui-empty{color:var(--muted);align-items:center;gap:9px;padding:18px 15px;display:flex}.a2ui-empty>svg{color:var(--teal)}.a2ui-empty>div{gap:2px;display:grid}.a2ui-empty strong{color:var(--ink-2);font-size:12px}.a2ui-empty span{font-size:11px}.assistant-model-page{width:100%;max-width:none}.assistant-model-intro{border:1px solid #74b7c3;border:1px solid lab(70.3881% -19.823 -13.1687);border-left:3px solid var(--teal);border-radius:var(--radius-surface);background:var(--teal-soft);align-items:flex-start;gap:11px;padding:13px 15px;display:flex}.assistant-model-intro-icon{background:var(--canvas);width:32px;height:32px;color:var(--teal);border-radius:9px;flex:none;place-items:center;display:grid}.assistant-model-intro strong{color:var(--ink);font-size:13px}.assistant-model-intro p{color:var(--ink-2);margin:3px 0 0;font-size:11px;line-height:1.5}.assistant-provider-card{border:1px solid var(--divider-strong);border-radius:var(--radius-surface);background:var(--canvas);overflow:hidden;box-shadow:0 12px 28px #1e13100f;box-shadow:0 12px 28px lab(7.08436% 5.49055 3.84253/.06)}.assistant-provider-header{border-bottom:1px solid var(--divider);justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:13px 17px;display:flex}.assistant-provider-identity{align-items:center;gap:10px;min-width:0;display:flex}.assistant-provider-identity>div{gap:3px;min-width:0;display:grid}.assistant-provider-identity strong{font-size:17px}.assistant-provider-identity small{color:var(--muted);font-size:11px}.assistant-provider-status{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;margin-left:4px;font-size:10px;display:inline-flex}.assistant-provider-status i{background:var(--muted);border-radius:50%;width:7px;height:7px;display:inline-block}.assistant-provider-status.configured{color:var(--success)}.assistant-provider-status.configured i{background:var(--success)}.assistant-provider-icon{background:var(--teal-soft);width:38px;height:38px;color:var(--teal);border:1px solid #7ec1cd;border:1px solid lab(73.8692% -19.847 -13.1804);border-radius:11px;flex:none;place-items:center;display:grid}.assistant-provider-body{background:var(--surface);padding:16px}.assistant-provider-summary{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;display:flex}.assistant-provider-summary>div{gap:3px;min-width:0;display:grid}.assistant-provider-summary span,.assistant-provider-facts span{color:var(--muted);font-size:11px}.assistant-provider-summary strong{color:var(--ink);font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:15px}.assistant-provider-summary small{color:var(--muted);font-size:10px}.assistant-provider-summary>svg{color:var(--teal);flex:none}.assistant-provider-facts{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--divider);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:12px;display:grid;overflow:hidden}.assistant-provider-facts>div{background:var(--canvas);grid-template-columns:auto minmax(0,1fr);gap:4px 8px;min-width:0;padding:11px 13px;display:grid}.assistant-provider-facts>div>svg{color:var(--teal);grid-row:1/span 2;align-self:center}.assistant-provider-facts strong{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;font-size:12px;overflow:hidden}.assistant-provider-form{border:1px solid var(--divider);border-radius:var(--radius-control);background:var(--canvas);gap:13px;padding:15px;display:grid}.assistant-provider-form-heading{border-bottom:1px solid var(--divider);justify-content:space-between;align-items:center;gap:12px;padding-bottom:11px;display:flex}.assistant-provider-form-heading>div{gap:3px;display:grid}.assistant-provider-form-heading strong{font-size:14px}.assistant-provider-form-heading span{color:var(--muted);font-size:11px}.assistant-provider-form-heading>svg{color:var(--success)}.assistant-provider-form label{gap:5px;min-width:0;display:grid}.assistant-provider-form label>span{color:var(--ink-2);font-size:11px;font-weight:650}.assistant-provider-form input{width:100%;min-width:0;height:38px}
