/* Single-page Item and spreadsheet workspaces. */
.iw-workspace{max-width:1060px;margin:auto}.iw-workspace h3{margin:0 0 8px}.iw-table-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.iw-table-heading p{margin:0;color:#62716a;font-size:14px;line-height:1.6}.iw-lines{display:grid;gap:14px}.iw-line{border:1px solid #dce6e0;border-radius:12px;padding:18px;background:#fff}.iw-line-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.15fr) 105px 40px;gap:14px;align-items:end}.iw-line-fields .cw-field{margin:0}.iw-line-fields>button{height:42px;padding:0;font-size:20px}.iw-line-fields select{width:100%;min-width:0}.iw-sku-preview{display:flex;align-items:center;gap:10px;margin-top:12px;color:#3d6151;font-size:13px}.iw-sku-preview img{width:40px;height:40px;border-radius:6px;object-fit:cover}.iw-row-note{margin-top:12px;font-size:13px;color:#53675c}.iw-row-note summary{cursor:pointer;padding:5px 0}.iw-row-note textarea{width:100%;box-sizing:border-box;border:1px solid #d1dcd5;border-radius:7px;padding:10px;min-height:64px;margin-top:7px;font:inherit}.iw-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 26px}.iw-table-footer strong{font-size:22px;color:#176045}.iw-preparation{border:1px solid #dce6e0;border-radius:12px;background:#f6f9f7;margin-top:20px}.iw-toggle{display:flex;align-items:start;gap:13px;padding:20px;cursor:pointer}.iw-toggle input{width:19px;height:19px;margin:2px 0;accent-color:#167052;flex-shrink:0}.iw-toggle span span{display:block;color:#65776c;font-size:13px;line-height:1.5;margin-top:5px}.iw-project-fields{padding:0 20px 20px;border-top:1px solid #e3eae5;padding-top:18px}.iw-project-fields textarea{min-height:76px}.iw-route{margin-top:18px}.iw-confirm-summary{margin-top:20px;max-width:700px}.iw-confirm-summary dd{overflow-wrap:anywhere;white-space:pre-wrap}.iw-import-file{padding-bottom:8px}.iw-file{margin:20px 0}.iw-template-fields{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.iw-template-fields code{padding:6px 10px;background:#f1f5f2;border:1px solid #dce5df;border-radius:6px;font-size:13px}.iw-import-file>p{font-size:13px;line-height:1.7;color:#53675c}.iw-counts{display:flex;gap:24px;align-items:center;margin:18px 0}.iw-counts strong{font-size:24px;color:#176045}.iw-counts span{color:#697970}.iw-workspace .cw-table-wrap{overflow:auto}.iw-workspace .cw-table td{overflow-wrap:anywhere}.iw-workspace .cw-table small{display:block;color:#68786f;margin-top:5px}
@media(max-width:700px){.iw-table-heading{display:block}.iw-table-heading>.btn{margin-top:12px}.iw-line{padding:13px}.iw-line-fields{grid-template-columns:minmax(0,1fr) 70px;gap:12px}.iw-line-fields>.cw-field:first-child,.iw-line-fields>.cw-field:nth-child(2){grid-column:1/-1}.iw-line-fields>.cw-field:nth-child(3){grid-column:1}.iw-line-fields>button{grid-column:2}.iw-line-fields input{max-width:100%;box-sizing:border-box}.iw-table-footer{align-items:start}.iw-table-footer strong{white-space:nowrap;font-size:18px}.iw-toggle{padding:15px}.iw-project-fields{padding:15px}.iw-counts{gap:12px;flex-wrap:wrap}.iw-template-fields{gap:5px}.iw-template-fields code{font-size:11px}.iw-workspace .cw-two{grid-template-columns:1fr}.iw-workspace .cw-table{min-width:540px}}
.iw-sku-preview>.cw-thumb{width:40px;height:40px;flex:0 0 40px}

/* Simple creation keeps destinations ahead of optional batch preparation. */
.iw-line-fields.iw-single-product{grid-template-columns:minmax(0,1fr) 120px}.iw-line-fields.iw-single-product>input[type=hidden]{display:none}.iw-destination{margin-top:22px;padding-top:18px;border-top:1px solid #dce6e0}.iw-destination .cw-field:last-child{margin-bottom:0}.iw-batch-number{background:#e9f5fb;border-radius:8px;padding:12px 16px;margin:0 0 18px}.iw-batch-number dt{color:#527186}.iw-batch-number dd{font-weight:600;overflow-wrap:anywhere}.iw-individual-entry{margin-top:16px}.iw-individual-entry p,.iw-individual>p{font-size:13px;line-height:1.6}.iw-individual{margin-top:22px}.iw-individual h4{margin:0 0 8px}.iw-unit{padding:16px;border:1px solid #dce6e0;background:#f8faf9;border-radius:9px;margin:12px 0}.iw-unit-heading{justify-content:space-between;margin-bottom:14px}.iw-unit-attribute{display:grid;grid-template-columns:minmax(100px,1fr) 105px minmax(100px,1fr) minmax(120px,1fr) 32px;gap:10px;align-items:end;margin-bottom:14px}.iw-unit-attribute .cw-field{margin:0}.iw-unit-attribute>button{height:42px;padding:0}.iw-unit-attribute input,.iw-unit-attribute select{min-width:0;width:100%;box-sizing:border-box}.iw-line-fields input[readonly]{background:#f5f7f6;color:#56665f}.iw-line-fields.iw-single-product>.btn{grid-column:2;justify-self:end}
@media(max-width:700px){.iw-line-fields.iw-single-product{grid-template-columns:minmax(0,1fr) 90px}.iw-line-fields.iw-single-product>.cw-field:first-child{grid-column:1}.iw-line-fields.iw-single-product>.cw-field:nth-of-type(2){grid-column:2}.iw-unit{padding:12px}.iw-unit-attribute{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.iw-unit-attribute>.btn{grid-column:2;justify-self:end;width:32px}.iw-destination{margin-top:16px}.iw-workspace .cw-table{min-width:620px}}

/* V4.4.8 destination summaries and compact per-item details. */
.iw-route-summary{margin:8px 0 12px}.iw-route-summary dd,.iw-url{overflow-wrap:anywhere;white-space:pre-wrap}.iw-individual .iw-unit{padding:12px;margin:8px 0}.iw-individual .iw-unit-heading{margin-bottom:8px;gap:10px;flex-wrap:wrap}.iw-individual .cw-field{margin-bottom:10px}.iw-individual .iw-unit>.btn{padding:5px 10px;font-size:12px}.iw-legacy-route{margin-top:12px;font-size:13px}.iw-legacy-route p{line-height:1.5}.iw-individual [hidden]{display:none!important}

/* Product search preserves the native ID selector and the rest of the creation form. */
.iw-product-picker { min-width: 0; display: grid; gap: 7px; }
.iw-product-picker > label { font-size: 13px; font-weight: 600; color: #42584b; }
.iw-product-picker > input, .iw-product-picker > select { width: 100%; min-width: 0; box-sizing: border-box; }
.iw-product-picker .iw-product-status { display: block; color: #62716a; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
@media(max-width:700px) { .iw-line-fields.iw-single-product > .iw-product-picker:first-child { grid-column: 1 / -1; } }


/* One recoverable Item request, discoverable from Products and Items. */
.iw-pending-request { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:0 0 20px; padding:18px 20px; border:1px solid #e8d7a4; border-radius:12px; background:#fffbef; color:#594516; }
.iw-pending-request-copy { min-width:0; flex:1 1 300px; overflow-wrap:anywhere; }
.iw-pending-request-copy > strong { display:block; margin-bottom:8px; font-size:16px; }
.iw-pending-request ul { list-style:none; padding:0; margin:0 0 8px; display:flex; flex-wrap:wrap; gap:4px 18px; }
.iw-pending-request li span { font-size:13px; }
.iw-pending-request-meta { display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; }
.iw-pending-request p { font-size:13px; line-height:1.5; margin:8px 0 0; }
.iw-pending-request > .btn { flex:0 0 auto; white-space:normal; }
@media(max-width:700px) { .iw-pending-request { padding:14px; } .iw-pending-request > .btn { width:100%; } }
