.sub-logo { height: 26px !important; }
.head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 56px; padding-bottom: 28px; }
.head h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 58ch; margin: 18px 0 0; }
.all-cats { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.all-cats p { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.all-cats .eyebrow { margin-bottom: 10px; }
.all-cats .loop-link { margin: 0; font-weight: 500; }
.next-line { margin: 20px 0 0; }

.progress { position: sticky; top: 63px; z-index: 30; background: var(--cream); padding: 14px 0; display: flex; align-items: center; gap: 16px; }
.progress .bar { flex: 1; height: 6px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--sage); transition: width .3s; }
.progress p { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 96px; text-align: right; }

.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.order { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.order.done { border-color: var(--line-2); }
.order .ph { background: var(--sand); }
.order .ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.order .body { padding: 22px 24px; display: grid; gap: 14px; align-content: start; }
.o-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.o-head h3 { font-size: 24px; line-height: 1.15; }
.o-sku { margin: 4px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.o-facts { display: flex; gap: 22px; margin: 0; font-size: 13px; flex-wrap: wrap; }
.o-facts dt { color: var(--muted); }
.o-facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.q { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.scale button { border: 1px solid var(--line-2); background: var(--cream); border-radius: 10px; min-height: 48px; padding: 6px 4px; font-size: 14px; line-height: 1.15; }
.scale button:hover { border-color: var(--ink-2); }
.scale button[aria-pressed="true"] { color: #fff; border-color: transparent; }
.scale [data-r="sold_out"][aria-pressed="true"] { background: #3f6b3a; }
.scale [data-r="strong"][aria-pressed="true"] { background: var(--sage); }
.scale [data-r="steady"][aria-pressed="true"] { background: #8d8a5a; }
.scale [data-r="slow"][aria-pressed="true"] { background: var(--amber); }
.scale [data-r="no_move"][aria-pressed="true"] { background: var(--rust); }
.scale [data-r="early"][aria-pressed="true"] { background: var(--brown); }
.next { display: flex; flex-wrap: wrap; gap: 6px; }
.next button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 14px; min-height: 36px; }
.next button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.order textarea { min-height: 52px; }

.finish { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
.finish h2 { font-size: 28px; }
.finish-row { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.finish-row label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); flex: 1; min-width: 220px; max-width: 360px; }
.send-msg { margin: 0; font-size: 14px; }
.send-msg.is-ok { color: #3f6b3a; }
.send-msg.is-error { color: var(--rust); }

/* Report */
.page-head { padding: 52px 0 24px; max-width: 760px; }
.page-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.06; }
.dist { margin: 24px 0 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 10px; }
.dist-row { display: grid; grid-template-columns: 130px 1fr 32px; gap: 12px; align-items: center; font-size: 14px; }
.dist-row .track { height: 12px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.dist-row .track span { display: block; height: 100%; border-radius: 999px; }
.dist-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.buckets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.bucket { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.bucket h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 12px; }
.bucket.reorder h3 { color: #3f6b3a; }
.bucket.rework h3 { color: #845b12; }
.bucket.drop h3 { color: var(--rust); }
.bucket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bucket li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.bucket li img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; }
.bucket li small { display: block; color: var(--muted); }
.bucket .none { color: var(--muted); font-size: 14px; }
.cmt-h { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 28px 0 10px; }
.cmts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmts li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cmts li p { margin: 4px 0 0; color: var(--ink-2); }
.cmts li small { color: var(--muted); }
.empty { background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 36px; text-align: center; color: var(--muted); margin-top: 16px; }
.rep-actions { margin-top: 24px; }

@media (max-width: 900px) {
  .head { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; }
  .order { grid-template-columns: 140px minmax(0, 1fr); }
  .scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buckets { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .progress { top: 104px; }
  .sub-logo { display: none; }
  .order { grid-template-columns: 1fr; }
  .order .ph img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .order .body { padding: 16px; }
  .o-head h3 { font-size: 20px; }
  .dist-row { grid-template-columns: 96px 1fr 28px; }
}
