:root{--page-divider-color:#f4ccd8;font-family:Inter,"Microsoft YaHei",sans-serif;color:#20332f;background:#f5f7f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #dce4e0;background:white;border-radius:7px;padding:10px 16px;color:inherit}button:hover{background:#edf4f0}button.primary{background:#17684f;color:white;border-color:#17684f}input{border:1px solid #d9e1dc;border-radius:6px;padding:11px;width:100%;background:#fff}input:focus{outline:2px solid #9fc9b9}label{display:block;margin:18px 0 8px;color:#50625b}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.5px}h2{font-size:19px}small,.muted{color:#819087}aside{position:fixed;width:230px;inset:0 auto 0 0;background:#142e27;color:#b4c7be;padding:32px 20px}.brand{font-size:24px;color:#fff;letter-spacing:3px;font-weight:bold}.brand small{font-size:10px;display:block;letter-spacing:2px;color:#88aa9c;margin-top:9px}nav{margin-top:50px}nav button{width:100%;text-align:left;margin-bottom:9px;background:none;border:0;color:#b7cbc0;padding:14px 18px}nav button.active{background:#2c4b3f;color:white}nav button:disabled{opacity:.35;cursor:default}.sidefoot{position:absolute;bottom:32px;font-size:12px;line-height:2}main{margin-left:230px}header{height:80px;background:white;border-bottom:1px solid var(--page-divider-color);padding:20px 38px;display:flex;justify-content:space-between;align-items:center}.content{padding:38px;max-width:1600px}.eyebrow{color:#5c937a;font-size:11px;letter-spacing:2px;margin-bottom:12px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.card{background:white;border:1px solid #e1e7e3;border-radius:10px;padding:24px}.stat strong{display:block;font-size:31px;margin-top:15px}.stat span{font-size:12px;color:#789083}.toolbar{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:20px}.toolbar input{max-width:270px}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{background:#f7f9f7;color:#7d8b83;font-weight:normal;font-size:12px}td,th{padding:17px 14px;border-bottom:1px solid var(--page-divider-color)}td{font-size:13px}.tablewrap{overflow:auto}.badge{display:inline-block;background:#edf5ef;color:#42745d;border-radius:5px;padding:5px 8px;font-size:11px;margin:2px}.off{background:#f3efea;color:#a67b51}.avatar{background:#e6eee8;border-radius:7px;display:inline-grid;place-items:center;width:34px;height:34px;color:#50725e;margin-right:10px}.note{padding:15px 18px;background:#edf3ee;color:#728575;font-size:12px;line-height:1.9;border-radius:7px;margin-top:24px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.story{background:#17392e;color:white;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.story h1{font-size:46px;line-height:1.5}.story p{color:#a8c1b3;line-height:2}.thread{border:1px solid #496459;border-radius:50%;width:260px;height:260px;display:grid;place-items:center;font-size:44px;letter-spacing:4px;white-space:nowrap;color:#b3caab}.loginbox{display:flex;align-items:center;justify-content:center;padding:35px}.loginbox form{width:360px}.loginbox button{width:100%;margin-top:25px}.error{color:#b34d42;min-height:20px;margin-top:12px;font-size:13px}dialog{border:0;border-radius:12px;padding:30px;width:540px;max-width:95vw;box-shadow:0 20px 100px #142e2740}dialog::backdrop{background:#142e2770}.checks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checks label{background:#f5f8f5;padding:12px;margin:0}.checks input,input[type=checkbox]{width:auto;margin-right:8px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#17392e;color:white;padding:12px 25px;border-radius:7px;display:none}.empty{padding:70px 30px;text-align:center;color:#809187}.userline{display:flex;align-items:center;gap:12px}.userline button{padding:7px 12px;font-size:12px}@media(max-width:850px){aside{width:170px;padding:25px 12px}main{margin-left:170px}.content{padding:22px}.stats{gap:10px}.story{padding:35px}.story h1{font-size:32px}header{padding:18px}.heading{gap:16px}}@media(max-width:600px){.login{grid-template-columns:1fr}.story{display:none}aside{position:static;width:100%;padding:16px}.brand small,.sidefoot{display:none}nav{margin-top:16px;display:flex;overflow:auto}nav button{width:auto;white-space:nowrap;margin:0}main{margin:0}header{height:auto;gap:12px;flex-wrap:wrap}.stats{grid-template-columns:1fr}.heading{align-items:flex-start}.content{padding:20px}.userline{flex-wrap:wrap}}
:root .bom-dialog{width:1200px;max-height:92vh;overflow:auto}.bom-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:0 18px}.bom-materials{min-width:1100px}.bom-materials td,.bom-materials th{padding:10px 5px}.bom-materials input{min-width:85px;padding:9px 7px}.bom-materials td:nth-child(3) input{min-width:130px}.bom-materials select,.bom-processing select,textarea{font:inherit;border:1px solid #d9e1dc;border-radius:6px;padding:10px;background:white;color:inherit}textarea{display:block;width:100%;margin-top:8px;resize:vertical}.bom-total{text-align:right;padding:22px 0;color:#50625b}.bom-total strong{font-size:24px;color:#17684f}@media(max-width:650px){.bom-fields{grid-template-columns:1fr 1fr}}
button.danger{color:#b34d42;border-color:#ead0cb}button.danger:hover{background:#fcf0ee}
.nav-tree summary{cursor:pointer;padding:14px 12px;border-radius:7px;list-style:none;display:flex;align-items:center;justify-content:space-between}.nav-tree summary::-webkit-details-marker{display:none}.nav-tree summary::after{content:'›';font-size:18px}.nav-tree[open]>summary::after,.nav-tree details[open]>summary::after{content:'⌄'}.nav-tree summary:hover,.nav-tree summary.active{background:#2c4b3f;color:white}.nav-children{margin:4px 0 12px 20px;border-left:1px solid #496459;padding-left:10px}.nav-children summary,.nav-children button{padding:11px 10px;font-size:13px;margin:0}.nav-grandchildren{padding-left:17px}.nav-grandchildren button{display:block}.material-list{margin-top:24px}aside{overflow-y:auto}.sidefoot{position:static;margin-top:35px}@media(max-width:600px){nav{display:block}.nav-tree{min-width:160px}.nav-grandchildren button{width:100%;text-align:left}}

.sidefoot{position:static;margin-top:35px}aside{overflow-y:auto}
.processing-heading{margin-top:28px}.bom-processing{min-width:500px}.bom-processing td,.bom-processing th{padding:10px 5px}.bom-processing input{padding:9px 7px}.bom-processing td:last-child{width:90px}.bom-processing td:first-child{width:60%}
[data-material-picker]{min-width:220px;max-width:320px}[data-supplier]{display:block;margin-top:6px}
.stat-link{text-align:left;width:100%;transition:border-color .15s,background .15s}.stat-link:hover{border-color:#5c937a;background:#edf4f0}.stat-link:focus-visible{outline:2px solid #17684f;outline-offset:3px}
.bom-processing{min-width:1000px}.bom-processing td:first-child{width:24%}.bom-processing td:nth-child(2){width:24%}.bom-processing select{max-width:240px;width:100%;padding:9px 7px}.bom-processing select:focus{outline:2px solid #9fc9b9}
.product-image-upload{display:flex;gap:24px;align-items:center;margin:24px 0;padding:20px;border:1px solid #e1e7e3;border-radius:8px}.product-image-preview{width:3cm;height:4cm;flex:none;border:1px dashed #b9cabc;display:grid;place-items:center;background:#f7f9f7;color:#819087;text-align:center;font-size:12px;overflow:hidden}.product-image-preview img{width:3cm;height:4cm;object-fit:cover;display:block}.product-image-upload label{margin-top:0}.product-image-upload p{max-width:500px;font-size:12px;line-height:1.8;margin-top:12px}.product-thumbnail{width:45px;height:60px;object-fit:cover;border-radius:4px;display:block}@media(max-width:600px){.product-image-upload{align-items:flex-start;flex-wrap:wrap}}@media print{.product-image-preview,.product-image-preview img{width:3cm;height:4cm}}
.material-editor{width:640px;max-height:90vh;overflow:auto}.material-editor .checks label{background:none;padding:0;margin:12px 0 0}.material-editor input{margin-top:8px}
.material-list input[type=checkbox]{width:16px;height:16px;accent-color:#17684f;vertical-align:middle}.material-list .toolbar{flex-wrap:wrap}.material-list .toolbar h2{margin:0}.material-list .toolbar input[type=text],.material-list .toolbar input:not([type]){margin-left:auto}button:disabled{opacity:.5;cursor:not-allowed}
.tablewrap{isolation:isolate}.tablewrap table{border-collapse:separate;border-spacing:0}.tablewrap tr>:nth-child(-n+3){position:sticky;z-index:2;background:#fff}.tablewrap tr>:first-child{left:0}.tablewrap tr>:nth-child(2){left:var(--first-column-width,0px)}.tablewrap tr>:nth-child(3){left:var(--first-two-columns-width,0px);box-shadow:2px 0 0 #e1e7e3}.tablewrap thead tr>:nth-child(-n+3){z-index:3;background:#f7f9f7}@media print{.tablewrap tr>:nth-child(-n+3){position:static;box-shadow:none}}
dialog .dialog-close{position:absolute;top:10px;right:10px;z-index:5;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:6px;background:#f5f7f6;color:#50625b;font-size:27px;line-height:1}dialog .dialog-close:hover{background:#e6eee8;color:#17392e}dialog .dialog-close:focus-visible{outline:2px solid #17684f;outline-offset:2px}dialog form>h2:first-child,dialog form>.eyebrow:first-child{padding-right:30px}
.stats.stats-two{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.stats.stats-two{grid-template-columns:1fr}}

.material-thumbnail{width:8mm;height:8mm;object-fit:cover;border-radius:50%;vertical-align:middle}.material-image-field{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;border:1px solid #e5e7eb;border-radius:8px}.material-image-field input[type=file]{max-width:100%;width:auto}

/* Keep horizontal scrolling inside each materials table so its sticky columns stay anchored. */
.materials-scroll{min-width:0;max-width:100%;overflow-x:auto}
.materials-scroll table{width:max-content;min-width:100%}

.material-list .material-thumbnail{clip-path:circle(50%);cursor:zoom-in}
.material-image-popover{position:fixed;inset:auto;margin:0;width:min(200px,calc(100vw - 16px),calc(100vh - 16px));aspect-ratio:1;object-fit:contain;padding:4px;background:white;border:1px solid #e1e7e3;border-radius:8px;box-shadow:0 6px 20px #142e2740;pointer-events:none}

.product-thumbnail{cursor:zoom-in}

.order-dialog input,
.order-dialog select {
 display: block;
 width: var(--order-field-width, 100%);
 max-width: 100%;
 height: 42px;
 border: 1px solid #d9e1dc;
 border-radius: 6px;
 padding: 0 11px;
 background: #fff;
 font: inherit;
 color: #20332f;
}

.order-dialog [name="order_date"] { --order-field-width: 11rem; }
.order-dialog [name="sales_platform"] { --order-field-width: 13rem; }
.order-product-picker {
 display: block;
 position: relative;
 width: 60rem;
 max-width: 100%;
 min-height: 42px;
 padding: 10px 32px 10px 11px;
 border: 1px solid #d9e1dc;
 border-radius: 6px;
 background: #fff;
 overflow-wrap: anywhere;
}
.order-product-picker::after {
 content: "▾";
 position: absolute;
 right: 11px;
 top: 10px;
}
.order-product-picker:focus-within { outline: 2px solid #9fc9b9; }
.order-dialog .order-product-picker select {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 margin: 0;
 opacity: 0;
 cursor: pointer;
}
.order-dialog [name="factory_id"] { --order-field-width: 9rem; }
.order-dialog [name="unit"] { --order-field-width: 6rem; }
.order-dialog [name="quantity"] { --order-field-width: 9rem; }

.order-dialog select:focus {
 outline: 2px solid #9fc9b9;
}

.order-dialog {
 width: calc(69rem + 72px);
 max-height: 90vh;
 overflow: auto;
}

.order-dialog .order-fields {
 display: flex;
 flex-wrap: wrap;
 align-items: start;
 gap: 8px 12px;
}
.order-dialog .order-fields label {
 max-width: 100%;
 margin: 4px 0;
}

.order-dialog #addOrderItem {
 margin-top: 12px;
}

.order-dialog #orderItems hr {
 border: 0;
 border-top: 1px solid var(--page-divider-color);
 margin: 20px 0 12px;
}

.search-picker {
 position: relative;
 min-width: 0;
}

.search-picker > select {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 opacity: 0;
 pointer-events: none;
}

.search-picker-trigger {
 width: 100%;
 min-height: 42px;
 padding: 0 28px 0 11px;
}

.search-picker::after {
 content: '▾';
 position: absolute;
 top: 12px;
 right: 11px;
 pointer-events: none;
}

.search-picker-panel {
 margin-top: 4px;
 padding: 6px;
 border: 1px solid #d9e1dc;
 border-radius: 6px;
 background: #fff;
}

.search-picker-results {
 max-height: 190px;
 overflow-y: scroll;
 scrollbar-gutter: stable;
 margin-top: 4px;
 white-space: normal;
}

.search-picker-results button {
 display: block;
 width: 100%;
 border: 0;
 padding: 8px;
 text-align: left;
}

.search-picker-results button[aria-pressed=true] {
 background: #edf4f0;
}

dialog[open]:has(> .dialog-close) {
 display: flex;
 flex-direction: column;
}

dialog > .dialog-close {
 position: sticky;
 order: -1;
 align-self: flex-end;
 flex: 0 0 34px;
 top: 0;
 right: auto;
 margin-bottom: -34px;
}

@media screen {
 .tablewrap .bom-materials tr > :nth-child(3) {
  position: static;
  z-index: auto;
  box-shadow: none;
 }

 .tablewrap .bom-materials tr > :nth-child(2) {
  box-shadow: 2px 0 0 #e1e7e3;
 }
}

@media screen {
 :is(.production-orders-table, .cutting-orders-table, .shipment-orders-table) tr > :nth-child(3) {
  box-shadow: none;
 }

 :is(.production-orders-table, .cutting-orders-table, .shipment-orders-table) tr > :nth-child(4) {
  position: sticky;
  left: var(--first-three-columns-width, 0px);
  z-index: 2;
  background: #fff;
  box-shadow: 2px 0 0 #e1e7e3;
 }

 :is(.production-orders-table, .cutting-orders-table, .shipment-orders-table) thead tr > :nth-child(4) {
  z-index: 3;
  background: #f7f9f7;
 }
}

dialog.bom-pdf-preview { width: min(94vw, 940px); max-width: none; height: 90vh; max-height: 90vh; padding: 0; overflow: hidden; background: #f5f7f6; }
dialog.bom-pdf-preview[open] { display: flex; flex-direction: column; }
.bom-pdf-toolbar { min-height: 54px; padding: 14px 56px 10px 18px; flex: none; }
.bom-pdf-toolbar p { margin: 0; }
.bom-pdf-preview main { min-height: 0; flex: 1; overflow: auto; display: grid; align-content: start; justify-items: safe center; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 16px 16px; }
.bom-pdf-preview canvas { display: block; max-width: none; width: calc(min(100%, 794px) * var(--pdf-zoom, 1)); height: auto; box-shadow: 0 2px 8px #0002; }
.report-weight-inputs { display: flex; flex-wrap: nowrap; gap: 6px; width: max-content; }
.report-weight-inputs input { flex: 0 0 45.6px; width: 45.6px; margin: 0; padding: 5px 6px; }
body:has(> .page-table-scrollbar:not([hidden])) #content { padding-bottom: 56px; }
#content .tablewrap:not(dialog .tablewrap) { scrollbar-width: none; }
#content .statistics-summary-scroll {
 overflow-x: auto;
 scrollbar-width: none;
}
#content .statistics-summary-scroll table {
 width: max-content;
 min-width: 100%;
}
.statistics-summary-scrollbar {
 overflow-x: scroll;
 overflow-y: hidden;
 scrollbar-width: auto;
 scrollbar-color: #789083 #edf3ee;
 margin-top: 8px;
 border-top: 1px solid var(--page-divider-color);
}
.statistics-summary-scrollbar > div { height: 1px; }
nav summary > .module-link {
 width: auto;
 margin: 0;
 padding: 0;
 color: inherit;
}
nav summary > .module-link:hover { background: transparent; }

nav > button,
nav > .nav-tree > summary {
 padding-inline-start: 12px;
}

.shipment-xxxl-heading {
 font-size: 11px;
 white-space: nowrap;
}
.shipment-xxxl-heading small { font-size: inherit; }

@media screen {
 .tablewrap .shipment-orders-table tr > :nth-child(4) { box-shadow: none; }
 .shipment-orders-table tr > :nth-child(5) {
  position: sticky;
  left: var(--first-four-columns-width, 0px);
  z-index: 2;
  background: #fff;
  box-shadow: 2px 0 0 #e1e7e3;
 }
 .shipment-orders-table thead tr > :nth-child(5) {
  z-index: 3;
  background: #f7f9f7;
 }
}

.statistics-filters {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
 gap: 12px;
 align-items: end;
}
.statistics-filters label { margin: 0; min-width: 0; }
.statistics-filters select {
 display: block;
 width: 100%;
 padding: 11px;
 border: 1px solid #d9e1dc;
 border-radius: 6px;
 background: #fff;
 font: inherit;
}
.statistics-filters .error { grid-column: 1 / -1; }
.statistics-multiselect { min-width: 0; color: #50625b; }
.statistics-multiselect select[hidden] { display: none; }
.statistics-multiselect details { position: relative; }
.statistics-multiselect summary {
 border: 1px solid #d9e1dc;
 border-radius: 6px;
 padding: 11px;
 background: #fff;
 cursor: pointer;
 overflow-wrap: anywhere;
}
.statistics-multiselect-options {
 position: absolute;
 z-index: 10;
 inset-inline: 0;
 max-height: 280px;
 overflow-y: auto;
 background: #fff;
 border: 1px solid #d9e1dc;
 box-shadow: 0 4px 12px #142e2720;
 padding: 8px;
}
.statistics-multiselect-options label {
 display: flex;
 align-items: baseline;
 gap: 8px;
 padding-block: 6px;
 overflow-wrap: anywhere;
}
.statistics-multiselect-options input { width: auto; flex: none; }
.statistics-multiselect-options button { width: 100%; margin-bottom: 6px; }
.statistics-details { margin-top: 24px; }
.material-statistics-main,
.material-statistics-main button { font-weight: 700; }
.material-statistics-main button { padding: 5px 8px; }
.shipment-statistics-table th,
.style-costs-table th {
 white-space: normal;
 overflow-wrap: anywhere;
 width: 1%;
 max-width: 9rem;
}
.style-costs-table :is(th, td) { padding-inline: 9px; }
.shipment-statistics-table :is(th, td) { padding-inline: 8px; }
.cutting-size-difference {
 display: block;
 text-align: center;
 font-size: calc(1em - 2px);
 color: #000;
 line-height: 1.3;
 margin-bottom: 3px;
}
.cutting-size-difference.is-negative { color: #d32030; }
.cutting-size-quantity { display: block; text-align: center; }
.statistics-expand { padding: 5px 8px; }
.statistics-child-row > td {
 position: static !important;
 padding: 12px 20px;
 background: #fdf6f8 !important;
}
.statistics-child-row table { min-width: 100%; }
.shipment-dialog { max-height: 90vh; overflow: auto; }
.shipment-dialog [name="ship_date"] { display: block; width: 11rem; max-width: 100%; }
.shipment-factory-field { width: 15rem; max-width: 100%; }
.shipment-item + .shipment-item {
 border-top: 1px solid var(--page-divider-color);
 margin-top: 16px;
 padding-top: 12px;
}
.shipment-source-fields {
 display: grid;
 grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
 gap: 12px;
}
@media (max-width: 420px) {
 .shipment-source-fields { grid-template-columns: minmax(0, 1fr); }
}

.module-dress-icon {
 position: relative;
 display: inline-block;
 width: 18px;
 height: 20px;
 margin-inline-end: 8px;
 vertical-align: middle;
 background: var(--dress-fill, #a9dbc1);
 clip-path: path("M4 1H7Q9 4 11 1H14L16 5L13 7L12 9L17 19H1L6 9L5 7L2 5Z");
}
.module-dress-icon::before {
 content: "";
 position: absolute;
 inset: 0;
 background: currentColor;
 clip-path: path(evenodd, "M4 1H7Q9 4 11 1H14L16 5L13 7L12 9L17 19H1L6 9L5 7L2 5Z M5 2.5L4 4.5L6 6L7.5 9L3.5 17.5H14.5L10.5 9L12 6L14 4.5L13 2.5H12Q9 6 6 2.5Z");
}

.page-table-scrollbar {
 position: fixed;
 bottom: 0;
 z-index: 5;
 overflow-x: scroll;
 overflow-y: hidden;
 background: #fff;
 border-top: 1px solid var(--page-divider-color);
 scrollbar-color: #789083 #edf3ee;
}
.page-table-scrollbar > div { height: 8px; }
@media print { .page-table-scrollbar { display: none; } }

.password-field {
 display: block;
 position: relative;
}
.password-field input { padding-inline-end: 3rem; }
.password-visibility {
 position: absolute;
 inset-inline-end: 4px;
 top: 50%;
 transform: translateY(-50%);
 display: grid;
 place-items: center;
 padding: 5px;
 border: 0;
 background: transparent;
}
.password-visibility .eye-slash { display: none; }
.password-visibility[aria-pressed="true"] .eye-slash { display: block; }

.permission-group > label:not(:first-child) {
 margin-inline-start: 1rem;
 padding-block: 6px;
}

.members-table .member-permissions {
 display: grid;
 grid-template-columns: repeat(2, max-content);
 justify-items: start;
}

:is(.tablewrap .members-table, .logs-content > .tablewrap, .tablewrap .purchase-statistics-details-table, .tablewrap .material-statistics-table) tr > :nth-child(3) {
 position: static;
 box-shadow: none;
}
@media screen {
 :is(.tablewrap .members-table, .logs-content > .tablewrap, .tablewrap .purchase-statistics-details-table, .tablewrap .material-statistics-table) tr > :nth-child(2) {
  box-shadow: 2px 0 0 #e1e7e3;
 }
}

.purchase-reports-table th {
 white-space: normal;
}
.purchase-reports-table th:not(.purchase-report-remark) {
 width: 1%;
}
.purchase-reports-table .purchase-report-remark {
 min-width: 6em;
 white-space: normal;
 overflow-wrap: anywhere;
}

.purchase-report-items :is(th, td):nth-child(n+5):nth-child(-n+7),
.purchase-report-items th:nth-child(8):has(~ th:nth-child(10)),
.purchase-report-items td:has(> [data-weight-price]) {
 width: 60px;
 min-width: 60px;
 max-width: 60px;
 padding-inline: 6px;
 white-space: normal;
 overflow-wrap: anywhere;
}
.purchase-report-items [data-weight-price] { width: calc(100% - 1em); margin: 0; padding: 5px 3px; }

.purchase-report-items {
 --fixed-column-width: clamp(49.6px, 9.6vw, 89.6px);
 width: max-content;
 border-collapse: separate;
 border-spacing: 0;
}
.purchase-report-items tr > :nth-child(-n+4) {
 position: sticky;
 left: calc(var(--fixed-column-index, 0) * var(--fixed-column-width));
 z-index: 2;
 width: var(--fixed-column-width);
 min-width: var(--fixed-column-width);
 max-width: var(--fixed-column-width);
 padding-inline: 8px;
 white-space: normal;
 overflow-wrap: anywhere;
 background: #fff;
}
.purchase-report-items tr > :nth-child(2) { --fixed-column-index: 1; }
.purchase-report-items tr > :nth-child(3) { --fixed-column-index: 2; }
.purchase-report-items tr > :nth-child(4) {
 --fixed-column-index: 3;
 box-shadow: 2px 0 #e1e7e3;
}
.purchase-report-items thead tr > :nth-child(-n+4) { background: #f7f9f7; }

.purchase-report-items input[type="number"] { appearance: textfield; }
.purchase-report-items input[type="number"]::-webkit-inner-spin-button,
.purchase-report-items input[type="number"]::-webkit-outer-spin-button {
 -webkit-appearance: none;
 margin: 0;
}

.purchase-report-logistics { display: flex; flex-wrap: wrap; gap: 12px; }
.purchase-report-logistics label { flex: 0 1 230px; }

.cutting-orders-table {
 width: 121%;
}
.cutting-orders-table :is(th, td) {
 white-space: normal;
 overflow-wrap: anywhere;
}

.icp-footer{padding:12px 16px;text-align:center;font-size:12px;color:#687971;border-top:1px solid var(--page-divider-color)}.icp-footer a{color:inherit;text-decoration:none}.icp-footer a:hover{text-decoration:underline}
