.leaf-v2-app{color:#25272b;background:#f6f6f5;min-height:100vh;font-family:Arial,sans-serif}.leaf-v2-app *,.leaf-v2-export-sheet *{box-sizing:border-box}.leaf-v2-app button,.leaf-v2-app input,.leaf-v2-app select{font:inherit}.leaf-v2-top{background:#fff;border-bottom:1px solid #e4e4e5;justify-content:space-between;align-items:center;gap:20px;padding:23px max(24px,50% - 580px);display:flex}.leaf-v2-brand{color:#c92031;letter-spacing:-.7px;font-size:25px;font-weight:900;text-decoration:none}.leaf-v2-brand span{color:#282a2e}.leaf-v2-demo{color:#62666d;letter-spacing:.07em;font-size:11px;font-weight:800}.leaf-v2-shell{max-width:1160px;margin:auto;padding:26px 20px 44px}.leaf-v2-preview-note{color:#745729;background:#fffaf0;border:1px solid #e1dac9;border-radius:8px;padding:12px 16px;font-size:13px;line-height:1.5}.leaf-v2-heading{justify-content:space-between;align-items:center;gap:24px;margin:30px 0;display:flex}.leaf-v2-eyebrow{color:#c92031;letter-spacing:.12em;font-size:11px;font-weight:800}.leaf-v2-heading h1{letter-spacing:-1px;margin:9px 0;font-size:32px}.leaf-v2-heading p,.leaf-v2-hint{color:#686c73;margin:5px 0;font-size:14px;line-height:1.5}.leaf-v2-app button{color:#373b42;cursor:pointer;background:#fff;border:1px solid #d4d6dc;border-radius:8px;min-height:44px;padding:11px 16px;font-size:13px;font-weight:700}.leaf-v2-app button:hover{background:#f7f7f7;border-color:#b9bdc4}.leaf-v2-app button.leaf-v2-primary{color:#fff;background:#c92031;border-color:#c92031}.leaf-v2-app button.leaf-v2-primary:hover{background:#af1827}.leaf-v2-app button:disabled{opacity:.5;cursor:not-allowed}.leaf-v2-app button:focus-visible,.leaf-v2-app input:focus-visible,.leaf-v2-app select:focus-visible{outline-offset:2px;outline:3px solid #d18690}.leaf-v2-app input,.leaf-v2-app select{color:#25272b;background:#fff;border:1px solid #d7d9de;border-radius:8px;width:100%;min-width:0;min-height:46px;padding:10px 13px;font-size:14px}.leaf-v2-filters{grid-template-columns:1fr 230px 180px;gap:12px;margin-bottom:20px;display:grid}.leaf-v2-list{gap:20px;display:grid}.leaf-v2-order,.leaf-v2-form{background:#fff;border:1px solid #e0e1e4;border-radius:13px;padding:24px;box-shadow:0 3px 14px #25272b04}.leaf-v2-order>header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.leaf-v2-order-no{color:#787d85;font-size:12px;font-weight:700}.leaf-v2-order h2{letter-spacing:-.3px;margin:7px 0;font-size:22px}.leaf-v2-project{color:#626770;margin:7px 0;font-size:15px;font-weight:700}.leaf-v2-status{color:#5b626d;white-space:nowrap;background:#edf0f5;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:800;display:inline-flex}.leaf-v2-status.supplier_ordered{color:#2b5c9e;background:#e9f2ff}.leaf-v2-status.partial_received{color:#926214;background:#fff1d7}.leaf-v2-status.received{color:#297046;background:#e9f6ee}.leaf-v2-status.canceled{color:#a23b45;background:#fdebec}.leaf-v2-order-meta{color:#757a83;flex-wrap:wrap;gap:14px;margin:18px 0;font-size:13px;display:flex}.leaf-v2-order-meta strong{color:#25272b}.leaf-v2-group-list{border-top:1px solid #ececef;margin-bottom:18px}.leaf-v2-group-list>div{border-bottom:1px solid #ececef;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.leaf-v2-group-list>div>div{gap:5px;min-width:0;display:grid}.leaf-v2-group-list strong{font-size:15px}.leaf-v2-group-list span{color:#585d65;font-size:14px}.leaf-v2-group-list small{color:#757a83;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.leaf-v2-group-list b{flex-shrink:0;font-size:15px}.leaf-v2-cost{background:#fafafa;border:1px solid #e9eaed;border-radius:9px;grid-template-columns:1fr 1fr;gap:16px 24px;padding:18px 20px;display:grid}.leaf-v2-cost-total{gap:6px;display:grid}.leaf-v2-cost-total>span{color:#62666e;font-size:12px;font-weight:700}.leaf-v2-cost-total strong{font-variant-numeric:tabular-nums;font-size:23px;font-weight:800}.leaf-v2-cost-total:first-child strong{color:#b61c2c}.leaf-v2-cost-total small{color:#757a83;font-size:12px;line-height:1.5}.leaf-v2-cost dl{border-top:1px solid #e3e5e9;flex-wrap:wrap;grid-column:1/-1;gap:16px 28px;margin:0;padding-top:12px;display:flex}.leaf-v2-cost dl div{gap:8px;font-size:12px;display:flex}.leaf-v2-cost dt{color:#62666e}.leaf-v2-cost dd{margin:0;font-weight:700}.leaf-v2-warning{color:#8a5715;grid-column:1/-1;margin:0;font-size:13px;line-height:1.6}.leaf-v2-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.leaf-v2-app button.leaf-v2-confirm-button{color:#2d6748;border-color:#bfd5c7}.leaf-v2-form{margin-bottom:24px;scroll-margin-top:20px}.leaf-v2-section-title{justify-content:space-between;align-items:center;gap:18px;display:flex}.leaf-v2-section-title h2{margin:0;font-size:21px}.leaf-v2-form h3{margin:26px 0 9px;font-size:16px}.leaf-v2-source-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 22px;display:grid}.leaf-v2-source-picker button{text-align:left;gap:7px;font-weight:500;display:grid}.leaf-v2-source-picker button span{color:#666b73;font-size:12px}.leaf-v2-source-picker button strong{font-size:14px}.leaf-v2-source-picker button small{color:#777c85;font-size:12px;font-weight:500;line-height:1.5}.leaf-v2-source-picker button.selected{background:#fff7f8;border-color:#c92031;box-shadow:0 0 0 1px #c92031}.leaf-v2-field{color:#62666e;gap:8px;font-size:12px;font-weight:700;display:grid}.leaf-v2-field>span{font-weight:400}.leaf-v2-bulk{flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;display:flex}.leaf-v2-bulk>span{color:#6d727a;margin-right:4px;font-size:12px}.leaf-v2-bulk button{padding:8px 13px}.leaf-v2-check-row{border-top:1px solid #e7e8ec;grid-template-columns:1.1fr .9fr .7fr 1.2fr;align-items:start;gap:16px;padding:16px 0;display:grid}.leaf-v2-product{gap:7px;padding-top:4px;display:grid}.leaf-v2-product strong{font-size:15px}.leaf-v2-product span{font-size:13px}.leaf-v2-product small{color:#727781;font-size:12px;line-height:1.5}.leaf-v2-source-amounts{gap:10px;display:grid}.leaf-v2-source-amounts label{grid-template-columns:minmax(0,1fr) auto;gap:5px;display:grid}.leaf-v2-source-amounts label span{color:#6d727b;grid-column:1/-1;font-size:11px}.leaf-v2-source-amounts input{min-width:60px}.leaf-v2-source-amounts button{padding:8px;font-size:11px}.leaf-v2-save{justify-content:space-between;align-items:center;gap:18px;margin-top:20px;display:flex}.leaf-v2-save p{color:#747981;font-size:13px;line-height:1.5}.leaf-v2-save button{flex-shrink:0}.leaf-v2-notice,.leaf-v2-error{border-radius:8px;padding:13px 16px;font-size:13px;line-height:1.6}.leaf-v2-notice{color:#2f6946;background:#f0faf4;border:1px solid #bbd6c5}.leaf-v2-error{color:#a92636;background:#fff1f3;border:1px solid #e2afb5}.leaf-v2-footer{color:#7b8088;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;font-size:12px;line-height:1.6;display:flex}.leaf-v2-footer button{font-size:12px}.leaf-v2-empty{text-align:center;color:#737881;padding:30px}.leaf-v2-dialog{color:#25272b;border:1px solid #dcdde0;border-radius:14px;width:min(920px,100% - 28px);max-height:90vh;padding:24px}.leaf-v2-dialog::backdrop{background:#181b23a8}.leaf-v2-dialog p{font-size:13px;line-height:1.6}.leaf-v2-confirm-dialog{max-width:540px}.leaf-v2-image-page{margin:20px 0}.leaf-v2-image-page .leaf-v2-actions{margin-bottom:12px}.leaf-v2-image-page .leaf-v2-actions>strong{margin-right:auto;font-size:13px}.leaf-v2-image-page img{background:#fff;border:1px solid #e0e1e4;width:100%;height:auto;display:block}.leaf-v2-sr{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.leaf-v2-export-sheet{color:#25272b;background:#fff;width:900px;padding:30px;font-family:Arial,sans-serif}.leaf-v2-export-sheet>header{padding:0 0 22px}.leaf-v2-export-sheet h2{overflow-wrap:anywhere;margin:0 0 10px;font-size:34px;line-height:1.3}.leaf-v2-export-sheet header p{color:#55595e;overflow-wrap:anywhere;margin:0;font-size:27px;line-height:1.35}.leaf-v2-export-sheet .production-output-table{table-layout:fixed;border-collapse:collapse;border:2px solid #55595e;width:100%;min-width:0}.leaf-v2-export-sheet .production-output-table th,.leaf-v2-export-sheet .production-output-table td{text-align:center;vertical-align:middle;color:#25272b;border:1px solid #b3b6ba;width:50%;padding:16px 13px;font-size:32px;line-height:1.2;overflow:visible}.leaf-v2-export-sheet .production-output-table th{color:#fff;letter-spacing:.035em;text-transform:uppercase;background:#25272b;border-color:#25272b;font-size:29px;font-weight:800}.leaf-v2-export-sheet .production-output-table td{font-weight:600}.leaf-v2-export-sheet .production-output-table td strong{white-space:nowrap;margin-top:7px;font-size:32px;font-weight:800;line-height:1.2;display:inline-block}@media (width<=760px){.leaf-v2-top{flex-wrap:wrap;gap:9px;padding:18px}.leaf-v2-shell{padding:18px 12px 30px}.leaf-v2-heading{flex-direction:column;align-items:stretch;gap:16px;margin:24px 0}.leaf-v2-heading h1{font-size:28px}.leaf-v2-filters{grid-template-columns:1fr 1fr;gap:9px}.leaf-v2-filters>label{grid-column:1/-1}.leaf-v2-order,.leaf-v2-form{padding:18px 14px}.leaf-v2-order>header{flex-wrap:wrap}.leaf-v2-order h2{font-size:20px}.leaf-v2-cost{gap:14px;padding:14px}.leaf-v2-cost-total strong{font-size:20px}.leaf-v2-cost dl{flex-direction:column;gap:9px}.leaf-v2-cost dl div{justify-content:space-between}.leaf-v2-actions{align-items:stretch}.leaf-v2-actions>button{flex-grow:1}.leaf-v2-source-picker{grid-template-columns:1fr}.leaf-v2-check-row{grid-template-columns:1fr 1fr;gap:14px}.leaf-v2-product,.leaf-v2-source-amounts{grid-column:1/-1}.leaf-v2-bulk>span{width:100%}.leaf-v2-save{flex-direction:column;align-items:stretch}.leaf-v2-footer{flex-direction:column;align-items:flex-start}.leaf-v2-dialog{padding:18px 12px}.leaf-v2-image-page .leaf-v2-actions>strong{width:100%}}.leaf-v3-app .leaf-v2-shell{padding-top:20px}.leaf-v3-app .leaf-v2-heading{gap:18px;margin:22px 0 16px}.leaf-v3-app .leaf-v2-heading p{max-width:660px}.leaf-v3-counts{color:#747982;flex-wrap:wrap;gap:20px;margin:0 0 20px;font-size:13px;display:flex}.leaf-v3-counts b{color:#363a41;padding-left:5px}.leaf-v3-app .leaf-v2-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.leaf-v3-app .leaf-v2-order{padding:20px}.leaf-v3-app .leaf-v2-order h2{font-size:21px}.leaf-v3-app .leaf-v2-order-meta{margin:14px 0 7px}.leaf-v3-app .leaf-v2-order-no{line-height:1.6;display:block}.leaf-v3-app details>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;font-weight:700}.leaf-v3-app summary:focus-visible{outline-offset:2px;outline:3px solid #d18690}.leaf-v3-products{margin-bottom:8px}.leaf-v3-app .leaf-v2-group-list{margin-bottom:10px}.leaf-v3-app .leaf-v2-actions{gap:8px;margin-top:15px}.leaf-v3-app .leaf-v2-actions button{padding:10px 13px}.leaf-v3-app button.leaf-v3-cancel{color:#767b83;border-color:#0000}.leaf-v3-cost{background:#fafafa;border:1px solid #ececef;border-radius:9px;padding:16px}.leaf-v3-payable{justify-content:space-between;align-items:center;gap:12px;display:flex}.leaf-v3-payable>div{gap:7px;display:grid}.leaf-v3-payable>div>span{letter-spacing:.035em;color:#636972;font-size:11px;font-weight:800}.leaf-v3-payable strong{color:#b61c2c;font-variant-numeric:tabular-nums;font-size:27px}.leaf-v3-certainty{color:#727781;font-size:12px}.leaf-v3-certainty.missing{color:#986213;font-weight:700}.leaf-v3-cost dl{margin:13px 0 0}.leaf-v3-cost dl>div{justify-content:space-between;gap:16px;padding:5px 0;font-size:13px;display:flex}.leaf-v3-cost dt{color:#686d76}.leaf-v3-cost dd{margin:0;font-weight:700}.leaf-v3-inner-cost{border-top:1px solid #e4e6ea;margin-top:11px}.leaf-v3-inner-cost p,.leaf-v3-supply-note p{color:#707680;margin:7px 0;font-size:12px;line-height:1.6}.leaf-v3-form-fields{grid-template-columns:1fr 1fr;gap:15px;display:grid}.leaf-v3-project-filter{max-width:460px;margin:16px 0 9px}.leaf-v3-app .leaf-v2-source-picker{margin-bottom:6px}.leaf-v3-supply-note{margin-bottom:8px}.leaf-v3-line-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;max-width:100%}.leaf-v3-line-table th{text-align:left;color:#6c727b;background:#fafafa;border-bottom:1px solid #dfe2e7;padding:12px 10px;font-size:12px}.leaf-v3-line-table th:first-child{width:14%}.leaf-v3-line-table th:nth-child(2){width:18%}.leaf-v3-line-table th:nth-child(3){width:19%}.leaf-v3-line-table th:nth-child(4){width:17%}.leaf-v3-line-table th:nth-child(5){width:32%}.leaf-v3-line-table td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #e5e7eb;padding:16px 10px;font-size:14px}.leaf-v3-line-table td:first-child,.leaf-v3-line-table td:nth-child(2){padding-top:27px}.leaf-v3-app input.leaf-v3-incomplete,.leaf-v3-app select.leaf-v3-incomplete{background:#fffaf1;border-color:#d8ad5e}.leaf-v3-quantity>strong{padding-top:5px;display:block}.leaf-v3-quantity details>summary{color:#686e77;font-size:12px}.leaf-v3-source-quantity{align-items:flex-end;gap:7px;margin-bottom:10px;display:flex}.leaf-v3-source-quantity label{flex:1;gap:6px;min-width:0;display:grid}.leaf-v3-source-quantity label span{color:#787e87;font-size:11px;line-height:1.5}.leaf-v3-source-quantity input{min-width:60px}.leaf-v3-app .leaf-v3-source-quantity button{padding:10px 9px;font-size:12px}.leaf-v3-export-sheet{padding:24px}.leaf-v3-export-sheet>header{padding-bottom:17px}.leaf-v3-export-sheet h2{margin-bottom:7px;font-size:32px}.leaf-v3-export-sheet header p{font-size:24px}.leaf-v3-export-sheet .production-output-table th,.leaf-v3-export-sheet .production-output-table td{overflow-wrap:anywhere;padding:14px 12px}.leaf-v3-export-sheet .production-output-table th:first-child,.leaf-v3-export-sheet .production-output-table td:first-child{width:38%}.leaf-v3-export-sheet .production-output-table th:last-child,.leaf-v3-export-sheet .production-output-table td:last-child{width:62%}@media (width<=900px){.leaf-v3-app .leaf-v2-list{grid-template-columns:1fr}}@media (width<=760px){.leaf-v3-app .leaf-v2-order{padding:17px 14px}.leaf-v3-counts{gap:12px;font-size:12px}.leaf-v3-form-fields{grid-template-columns:1fr}.leaf-v3-payable strong{font-size:26px}.leaf-v3-line-table,.leaf-v3-line-table tbody{display:block}.leaf-v3-line-table thead{display:none}.leaf-v3-line-table tr{border-top:1px solid #e1e4e9;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px 0;display:grid}.leaf-v3-line-table td{border:0;min-width:0;display:block;padding:0!important}.leaf-v3-line-table td:before{content:attr(data-label);color:#777d86;margin-bottom:8px;font-size:12px;font-weight:700;display:block}.leaf-v3-line-table td:first-child,.leaf-v3-line-table td:nth-child(2),.leaf-v3-line-table td:last-child{grid-column:1/-1}.leaf-v3-line-table td:first-child{font-size:16px}.leaf-v3-line-table td:first-child:before{display:none}.leaf-v3-app .leaf-v3-cancel{flex-grow:0}}.leaf-v4-app .leaf-v2-heading{margin-bottom:20px}.leaf-v4-app .leaf-v2-filters{grid-template-columns:minmax(0,1fr) 230px;margin-bottom:10px}.leaf-v4-status-filters{flex-wrap:wrap;gap:7px;margin-bottom:20px;display:flex}.leaf-v4-app .leaf-v4-status-filters button{min-height:44px;padding:9px 13px;font-size:12px}.leaf-v4-app .leaf-v4-status-filters button[aria-pressed=true]{color:#b21c2b;background:#fff4f5;border-color:#c92031}.leaf-v4-app .leaf-v4-status-filters .leaf-v4-history{color:#767c85;margin-left:auto}.leaf-v4-app .leaf-v2-order h2{margin-top:0}.leaf-v4-app .leaf-v2-project{margin:7px 0 10px}.leaf-v4-app .leaf-v2-order{padding:19px}.leaf-v4-share-all{border-block:1px solid #e1e4e9;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:16px 0;display:flex}.leaf-v4-share-all strong{font-size:14px}.leaf-v4-share-all p{color:#717781;margin:6px 0 0}.leaf-v4-app .leaf-v2-image-page .leaf-v2-actions>strong{flex-basis:100%}.leaf-v4-app .leaf-v2-dialog .leaf-v2-actions{margin-top:12px}@media (width<=760px){.leaf-v4-app .leaf-v2-filters{grid-template-columns:minmax(0,1fr)}.leaf-v4-app .leaf-v4-status-filters .leaf-v4-history{margin-left:0}.leaf-v4-app .leaf-v2-order{padding:17px 14px}.leaf-v4-share-all{flex-direction:column;align-items:stretch}}.leaf-live-app{border:1px solid #e0e1e4;border-radius:14px;min-width:0;min-height:0;margin:20px 0}.leaf-live-app .leaf-v2-shell{max-width:none;padding:20px}.leaf-live-app .leaf-v2-heading{margin:0 0 22px}.leaf-live-app .leaf-v2-heading h2{margin:8px 0;font-size:28px}.leaf-live-app .leaf-v2-dialog button{min-height:44px}.leaf-live-app .leaf-v2-field{margin:10px 0}@media (width<=760px){.leaf-live-app .leaf-v2-shell{padding:14px 10px}.leaf-live-app .leaf-v2-heading h2{font-size:24px}}
