.kow-top{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0}.kow-top>label{max-width:180px}.kow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.kow-steps button{text-align:left}.kow-steps small,.kow-supplier-picker small,.kow-item small,.kow-history small,.kow-delivery small{display:block;margin-top:4px;color:var(--muted)}.kow-steps button small{margin:0 0 5px}.kow-steps [aria-pressed=true],.kow-supplier-picker [aria-pressed=true],.kow-posts [aria-pressed=true]{background:#e7ecdf;border-color:#6c805b;color:#2d332d}.kow-posts,.kow-supplier-picker{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.kow-item{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:18px;border-bottom:1px solid var(--border);padding:15px 0}.kow-item>div:last-child{text-align:right}.kow-item input{width:100%;max-width:150px}.kow-item details{margin-top:8px}.kow-item details summary{color:#536644}.kow-item details p{margin:8px 0}.kow-delivery{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin:22px 0}.kow-delivery label{max-width:220px}.kow-delivery p{margin:0}.kow-next{border-top:1px solid var(--border);padding-top:18px;margin-top:20px}.kow-listgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.kow-history{border-bottom:1px solid var(--border);padding:15px 0}.kow-sheet{max-width:1100px}.kow-feedback{margin-top:14px}.kow-centre .ko-tabs{flex-wrap:wrap}.kow-centre .ko-tabs button{white-space:normal}@media(max-width:700px){.kow-steps,.kow-listgrid{grid-template-columns:1fr 1fr}.kow-item{grid-template-columns:minmax(0,1fr) 110px}.kow-top>label{max-width:100%}}
.kow-inbox{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;margin-top:18px}.kow-postnav{display:flex;flex-direction:column;gap:8px}.kow-postnav button{text-align:left}.kow-postnav small,.kow-table small,.kow-orderhead small{display:block;margin-top:4px;color:var(--muted)}.kow-postnav [aria-pressed=true]{background:#e7ecdf;border-color:#6c805b;color:#2d332d}.kow-orderhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0}.kow-orderhead h2{margin:0}.kow-orderhead label{max-width:240px}.kow-tablewrap{overflow-x:auto}.kow-table{width:100%;border-collapse:collapse}.kow-table th,.kow-table td{text-align:left;padding:12px 9px;border-bottom:1px solid var(--border);vertical-align:top}.kow-table th{font-weight:500;color:var(--muted)}.kow-table td:first-child{width:55%}.kow-table input{width:130px;max-width:100%}.kow-table td:last-child .button{font-size:12px;padding:8px}.kow-table details{margin-top:7px}.kow-adjusted{background:#fff0cf}.kow-table [data-delta]{color:#805823}.kow-orderactions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 0}.kow-orderactions details{margin-left:auto}.kow-final{border-top:1px solid var(--border);padding:14px 0;margin:0 0 12px}.kow-final summary{color:#536644;cursor:pointer}.kow-inbox .kow-sheet{min-width:0}.kow-inbox .kow-supplier-picker{margin:0 0 14px}.kow-postnav button strong{display:block}@media(max-width:1200px){.kow-inbox{grid-template-columns:170px minmax(0,1fr)}.kow-table th,.kow-table td{padding:9px 5px}}@media(max-width:1040px){.kow-inbox{grid-template-columns:1fr}.kow-postnav{flex-direction:row;flex-wrap:wrap}}
.kow-inbox .kow-sheet{padding:18px}.kow-orderhead{margin:10px 0 14px}.kow-table th,.kow-table td{padding:9px 8px}.kow-table td label{font-size:12px;margin:0;gap:4px}.kow-table td input{height:38px;min-height:38px;padding:6px 9px;margin:3px 0 0}.kow-table small{margin-top:3px;line-height:1.35}.kow-table details{margin-top:4px}.kow-table td p{margin:5px 0}.kow-orderhead h2{font-size:22px}.kow-centre>.heading h1{margin:8px 0;font-size:30px}.kow-centre>.heading p{margin:8px 0}.kow-table td:last-child{width:170px}.kow-orderactions [data-webshop-transfer]{background:#71815e;color:#fff}
.kow-table .kow-productcell{position:relative;padding-left:76px;min-width:240px}.kow-thumb{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:8px;background:#f7f5ee;overflow:hidden;flex:none}.kow-productcell>.kow-thumb{position:absolute;top:10px;left:8px}.kow-thumb img{width:100%;height:100%;object-fit:contain}.kow-noimage{font-size:11px;color:var(--muted);text-align:center}.kow-thumb .kira-external-image{width:100%;height:100%;padding:3px;font-size:11px}.kow-item .kow-thumb{float:left;margin:8px 10px 8px 0}
.kow-stage-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.kow-stage-filters [aria-pressed=true]{background:var(--accent);color:white}.kow-supplier-table{max-width:none;min-width:0;margin:16px 0}.kow-station-table{min-width:760px}.kow-station-table td:first-child{width:32%}.kow-station-table .kow-station{text-align:center;min-width:90px;max-width:130px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.kow-station-table td:last-child{width:150px}.kow-station-table input{width:100px}.kow-station-table td strong{display:block}.kow-station-table td{font-size:.85rem}.kow-station-table [hidden]{display:none!important}.kow-supplier-table .kow-orderactions{border-top:1px solid var(--border);margin-top:12px}.kow-supplier-table [data-confirm-purchase]{background:var(--accent);color:white}.kow-supplier-table>button{margin:10px 0}.kow-supplier-table .kow-feedback:empty{display:none}.kow-stage-filters button{min-height:44px}
.kow-week-table{min-width:780px;table-layout:fixed}.kow-week-table th:first-child{width:155px}.kow-week-table td:first-child{width:auto}.kow-week-table td{text-align:center;padding:7px 4px}.kow-week-table button{width:100%;padding:10px 5px;background:#edf1e7;color:#405638;min-height:54px}.kow-week-table button strong{display:block}.kow-week-table button[aria-pressed=true]{background:var(--accent);color:white}.kow-week-table button small{color:inherit;font-size:11px}.kow-week .kow-orderhead label{font-size:12px}.kow-week .kow-orderhead input{max-width:155px}.kow-week .kow-tablewrap{margin-bottom:15px}.kow-centre [data-week-detail]{margin:16px 0}.kow-centre [hidden]{display:none!important}.kow-centre [data-inline-catalog] .ko-catalog-import{margin-top:14px}
.kow-follow-head{position:fixed;z-index:7;overflow:hidden;pointer-events:none;background:#f1f0ea;box-shadow:0 3px 8px #343b2920}.kow-follow-head[hidden]{display:none!important}.kow-follow-head table{margin:0;table-layout:fixed;border-collapse:separate;border-spacing:0}.kow-follow-head th{background:#f1f0ea;color:#47513f;border-bottom:1px solid var(--border);font-weight:600}.kow-follow-head .kow-station-table th:first-child{width:auto}

/* Supplier colors are shared by the delivery calendar and receipt folders. */
.kow-week-table tbody th,.kow-delivery-supplier>summary{border-left:4px solid hsl(var(--kow-supplier-hue) 36% 44%);background:hsl(var(--kow-supplier-hue) 38% 94%);color:hsl(var(--kow-supplier-hue) 30% 25%)}
.kow-week-table tbody th{font-weight:700}.kow-week-table tbody button{background:hsl(var(--kow-supplier-hue) 38% 92%);color:hsl(var(--kow-supplier-hue) 30% 25%);border:1px solid hsl(var(--kow-supplier-hue) 30% 70%)}
.kow-week-table tbody button[aria-pressed=true]{background:hsl(var(--kow-supplier-hue) 38% 84%);color:hsl(var(--kow-supplier-hue) 30% 22%);box-shadow:inset 0 0 0 1px hsl(var(--kow-supplier-hue) 36% 44%)}
.kow-delivery-supplier>summary{padding:10px 12px;border-radius:8px}.kow-delivery-supplier>summary small{color:inherit}
