/* Conveyor belt v1 (web/conveyor.js): Outbox, copy sets, upload log, Pipeline, seats */
.cv-head h1 { font-size:40px; }
.cv-tabs { display:flex; gap:4px; margin:0 0 18px; border-bottom:1px solid var(--line); }
.cv-tabs a { padding:10px 14px; color:var(--cream-3); font-weight:600; border-bottom:2px solid transparent; margin-bottom:-1px; }
.cv-tabs a.on { color:var(--cream); border-color:var(--brass); } .cv-tabs a:hover { text-decoration:none; color:var(--cream); }
.cv-list { display:grid; gap:16px; }
.cv-card { background:var(--ink-3); border:1px solid var(--line); border-radius:var(--r-l); padding:16px; display:grid; gap:14px; min-width:0; }
.cv-card.done { opacity:.8; }
.cv-top { display:grid; grid-template-columns:132px minmax(0, 1fr) auto; gap:14px; align-items:start; }
.cv-pv { width:132px; aspect-ratio:16/9; border-radius:var(--r-s); overflow:hidden; background:var(--ink-4); display:grid; place-items:center; color:var(--cream-3); }
.cv-pv img { width:100%; height:100%; object-fit:cover; display:block; } .cv-pv.sm { width:96px; }
.cv-meta { min-width:0; } .cv-meta h3 { font-size:16px; margin:0 0 2px; } .cv-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; } .cv-note { margin:8px 0 0; color:var(--cream-2); }
.cv-dl { min-height:44px; padding:0 18px; font-weight:700; }
.cv-copyset { display:grid; gap:10px; border-top:1px solid var(--line); padding-top:12px; }
.cv-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .cv-bar .lnk { margin-left:auto; }
.cv-bar .seg { display:inline-flex; background:var(--ink-4); border-radius:999px; padding:3px; gap:2px; }
.cv-bar .seg button { border:0; background:none; color:var(--cream-3); padding:6px 12px; border-radius:999px; font:600 12.5px var(--sans); cursor:pointer; min-height:32px; }
.cv-bar .seg button.on { background:var(--cream); color:var(--ink); }
.cv-f { display:grid; gap:4px; min-width:0; } .cv-fl { display:flex; gap:8px; align-items:center; font-size:11.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--cream-3); }
.cv-fl .chip { height:18px; font-size:10px; text-transform:none; letter-spacing:0; }
.cv-lim { margin-left:auto; font-weight:500; text-transform:none; } .cv-lim.over { color:var(--bad); }
.cv-fv { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:8px; align-items:stretch; }
.cv-fv textarea { resize:vertical; min-height:40px; background:var(--ink-2); color:var(--cream); border:1px solid var(--line-2); border-radius:var(--r-s); padding:9px 11px; font:14px/1.4 var(--sans); width:100%; }
.cv-f.cust textarea { border-color:var(--brass-line); } .cv-f.empty textarea { border-style:dashed; }
.cv-copy { min-width:92px; min-height:40px; justify-content:center; } .cv-copy.ok { background:var(--sage); color:var(--sage-ink); border-color:var(--sage); }
.cv-log { display:grid; gap:10px; border-top:1px solid var(--line); padding-top:12px; }
.cv-url { display:flex; align-items:center; gap:8px; background:var(--ink-2); border:1px solid var(--line-2); border-radius:var(--r-m); padding:0 12px; }
.cv-url input { flex:1; background:none; border:0; color:var(--cream); font:15px var(--sans); padding:12px 0; outline:none; min-width:0; }
.cv-url:focus-within { border-color:var(--brass); }
.cv-thumbs { display:flex; gap:8px; flex-wrap:wrap; }
.cv-thumbs button { padding:0; border:2px solid transparent; border-radius:var(--r-s); background:var(--ink-4); cursor:pointer; width:96px; aspect-ratio:16/9; overflow:hidden; color:var(--cream-2); font:600 12px var(--sans); }
.cv-thumbs button img { width:100%; height:100%; object-fit:cover; display:block; } .cv-thumbs button.on { border-color:var(--brass); }
.cv-reason { display:flex; flex-wrap:wrap; gap:6px; align-items:center; } .cv-reason input { flex:1; min-width:160px; background:var(--ink-2); color:var(--cream); border:1px solid var(--line-2); border-radius:var(--r-s); padding:8px 10px; }
.cv-log .btn[type=submit] { justify-self:start; min-height:44px; padding:0 22px; }
.cv-empty { text-align:center; padding:40px 16px; color:var(--cream-3); border:1px dashed var(--line-2); border-radius:var(--r-l); }
.cv-done summary { cursor:pointer; color:var(--cream-3); margin:20px 0 12px; font-weight:600; }
.cv-ups, .cv-rels { display:grid; gap:10px; }
.cv-up, .cv-r { display:grid; grid-template-columns:96px minmax(0, 1fr) auto; gap:12px; align-items:start; padding:12px; background:var(--ink-3); border:1px solid var(--line); border-radius:var(--r-m); }
.cv-r.wd { opacity:.55; } .cv-when { text-align:right; } .cv-ul { margin-top:6px; }
.cv-stats { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin-bottom:16px; }
.cv-stats div { background:var(--ink-3); border:1px solid var(--line); border-radius:var(--r-m); padding:14px; display:grid; } .cv-stats b { font:400 30px var(--serif); } .cv-stats span { color:var(--cream-3); font-size:12px; }
.cv-rel { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr auto; gap:10px; align-items:end; }
.cv-rel label { display:grid; gap:4px; font-size:12px; color:var(--cream-3); min-width:0; } .cv-rel select, .cv-rel input { min-width:0; width:100%; }
.cv-seats { display:grid; gap:8px; } .cv-seat { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:8px 0; border-bottom:1px solid var(--line); } .cv-seat .sp { flex:1; min-width:0; overflow-wrap:anywhere; }
.cv-addseat { display:flex; gap:8px; margin-top:12px; }
.cv-seat select, .cv-addseat select { width:auto; flex:0 1 240px; min-height:36px; } .cv-seat .chip { flex:none; }
.cv-hand { display:flex; gap:12px; align-items:center; flex-wrap:wrap; border-color:var(--brass-line); }
@media (max-width:760px) {
  .cv-head h1 { font-size:32px; }
  .cv-top { grid-template-columns:96px minmax(0, 1fr); } .cv-pv { width:96px; } .cv-dl { grid-column:1 / -1; width:100%; justify-content:center; }
  .cv-card { padding:12px; } .cv-copy { min-width:44px; } .cv-copy span { display:none; }
  .cv-rel { grid-template-columns:1fr 1fr; } .cv-rel label:first-child, .cv-rel button { grid-column:1 / -1; }
  .cv-up, .cv-r { grid-template-columns:64px minmax(0, 1fr); } .cv-pv.sm { width:64px; } .cv-when, .cv-r > .btn { grid-column:2; text-align:left; justify-self:start; }
  .cv-log .btn[type=submit] { justify-self:stretch; }
}
/* round 2: one multiple-choice question per field */
.cv-q { border:1px solid var(--line); border-radius:var(--r-m); padding:10px 12px 12px; margin:0; display:grid; gap:6px; min-width:0; }
.cv-q.cust { border-color:var(--brass-line); }
.cv-q legend { display:flex; gap:8px; align-items:center; padding:0 6px; font-size:11.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--cream-3); }
.cv-q legend .chip { height:18px; font-size:10px; text-transform:none; letter-spacing:0; }
.cv-o { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:8px; align-items:center; border-radius:var(--r-s); padding:4px 4px 4px 8px; }
.cv-o.on { background:var(--brass-wash); }
.cv-o label { display:flex; gap:10px; align-items:flex-start; cursor:pointer; min-width:0; min-height:36px; padding-top:8px; }
.cv-o input[type=radio] { accent-color:var(--brass); margin:3px 0 0; flex:none; width:16px; height:16px; }
.cv-ot { overflow-wrap:anywhere; line-height:1.4; } .cv-o.other .cv-ot { color:var(--cream-3); }
.cv-ow { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:4px 8px; align-items:start; }
.cv-ow textarea { resize:vertical; min-height:40px; background:var(--ink-2); color:var(--cream); border:1px solid var(--brass-line); border-radius:var(--r-s); padding:9px 11px; font:14px/1.4 var(--sans); width:100%; }
.cv-ow .cv-lim { grid-row:2; font-size:11.5px; color:var(--cream-3); } .cv-ow .cv-copy { grid-row:1; grid-column:2; }
.cv-o label, .cv-o .cv-ot { text-transform:none; letter-spacing:0; font:400 14px/1.4 var(--sans); color:var(--cream); } .cv-o.other .cv-ot { color:var(--cream-3); }
/* conveyor tracking (web/conveyor_track.js) */
.ct-stats { grid-template-columns:repeat(4, 1fr); }
.ct-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.ct-t { width:100%; border-collapse:collapse; font-size:13px; }
.ct-t th { text-align:left; font-weight:600; color:var(--cream-3); font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:6px 8px; border-bottom:1px solid var(--line); white-space:nowrap; }
.ct-t td { padding:8px; border-bottom:1px solid var(--line); vertical-align:top; }
.ct-t .r { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ct-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:18px; }
.ct-a h3 { font-size:14px; margin:0 0 6px; }
.ct-a { overflow-x:auto; }
@media (max-width:600px) { .ct-stats { grid-template-columns:repeat(2, 1fr); } .ct-grid { grid-template-columns:1fr; } }
.ct-flag { grid-template-columns:1fr auto !important; } .ct-flag .cv-meta { min-width:0; }
.ct-grid { grid-template-columns:repeat(auto-fit, minmax(440px, 1fr)); }
.ct-a .ct-t th, .ct-a .ct-t td { padding:6px 5px; } .ct-a .ct-t td:first-child { min-width:90px; }
@media (max-width:600px) { .ct-grid { grid-template-columns:1fr; } }
/* seats (live QA 2026-10-29): in-app ask dialogs, 44 px controls on phones */
.cv-hohint { margin:10px 0 0; }
.cv-ask { max-width:none; margin-top:8px; } .cv-ask .row { margin-top:4px; }
@media (max-width:760px) { .cv-seat select, .cv-addseat select, .cv-seat .btn, .cv-addseat .btn { min-height:44px; } .cv-seat select { flex:1 1 100%; } }

/* live QA 2026-10-29: over-limit write-ins are red and say why (B3); copy still being written (B2); close-upload sheet (B1) */
.cv-ow .cv-lim.over { color:var(--bad); font-weight:600; }
.cv-ow textarea[aria-invalid="true"] { border-color:rgba(229,138,128,.6); }
.cv-overmsg { grid-column:1 / -1; margin:2px 0 0; color:var(--bad); }
.cv-pending { display:flex; gap:6px; align-items:center; margin:4px 0 8px; }
.cv-closek { border:0; padding:0; margin:0 0 10px; display:grid; gap:6px; }
.cv-closek label { display:flex; gap:8px; align-items:flex-start; }

/* simplify-1 */
.cv-overmsg[hidden] { display:none !important; }
.cv-reason label { display:flex; flex-direction:column; gap:4px; flex:1; }
.cv-logrow { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
/* pipeline-ads-v2: Release to the Outbox grouped by scene, one package per row, batch release */
.cvp-hd { display:flex; flex-wrap:wrap; gap:4px 12px; align-items:baseline; justify-content:space-between; }
.cvp-stk { color:var(--bad); border-bottom:1px dotted currentColor; cursor:help; }
.cvp-bar { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; margin:6px 0 10px; }
.cvp-list { list-style:none; margin:0 0 14px; padding:0; display:grid; gap:8px; max-height:560px; overflow:auto; overscroll-behavior:contain; }
.cvp-sc { display:grid; grid-template-columns:auto 96px minmax(0, 1fr); gap:12px; align-items:start; padding:10px 12px; background:var(--ink-3); border:1px solid var(--line); border-radius:var(--r-m); }
.cvp-sc.on { border-color:var(--brass-line); background:var(--ink-4); }
.cvp-sc.stuck { box-shadow:inset 3px 0 0 var(--bad); }
.cvp-ck { width:20px; height:20px; margin:4px 0 0; accent-color:var(--brass); cursor:pointer; }
.cvp-sc .cv-pv, .cvp-nm { cursor:pointer; } .cvp-nm b { display:block; overflow-wrap:anywhere; }
.cvp-sc .cv-chips { margin-top:4px; }
.cvp-pk { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; margin-top:8px; }
.cvp-pk select { max-width:100%; min-width:0; }
.cv-rel#cvrel { grid-template-columns:1fr 1.4fr 1.2fr 1.4fr auto; }
@media (max-width:720px) {
  .cvp-sc { grid-template-columns:auto 64px minmax(0, 1fr); gap:10px; } .cvp-sc .cv-pv.sm { width:64px; }
  .cvp-list { max-height:none; }
  .cv-rel#cvrel { grid-template-columns:1fr 1fr; } .cv-rel#cvrel button { grid-column:1 / -1; }
  .cv-rel#cvrel label:first-child { grid-column:auto; }
}
/* auto mode as one line + a dialog */
.vz-auto1 { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; justify-content:space-between; padding:10px 14px; }
.vz-auto1 p { margin:0; }
.vz-autod .vz-sr { padding:10px 0; border-top:1px solid var(--line); }
.vz-auto1a { display:inline-flex; gap:12px; align-items:center; }
.cvp-nm { display:block; margin:0; font-size:15px; color:var(--cream); letter-spacing:0; text-transform:none; font-weight:600; }
.cvp-pk select { width:auto; max-width:min(100%, 360px); }
.cvp-sc .cv-pv { margin:0; }
