/* Crew orders: roles with a job, a matched shoe, a size run (histogram steppers) and optional workwear; pit board. */
.cband { background: radial-gradient(900px 380px at 80% 0, #4d0206, transparent 70%), var(--blue-ink); padding: 44px 0 40px; }
.cband .crumbs { color: var(--muted-d); padding: 0 0 18px; }
.cband h1 { font-size: clamp(42px, 6vw, 84px); }
.cband .lede { color: #c9cedb; margin-top: 14px; max-width: 60ch; }
.cband__tools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.crew { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding-top: 28px; padding-bottom: 90px; align-items: start; }
.roles { display: grid; gap: 16px; min-width: 0; }
.role { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.role > *, .role__shoe > *, .role__head > * { min-width: 0; }
.role { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 16px; }
.role__head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.role__name { font: 800 italic 28px/1 var(--display); text-transform: uppercase; border: 0; border-bottom: 2px dashed transparent; background: none; padding: 2px 0; width: 100%; min-width: 0; }
.role__name:hover, .role__name:focus { border-bottom-color: var(--line); outline: 0; }
.role select, .crew select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 10px; background: #fff; font: 600 14.5px var(--body); max-width: 100%; }
.role__shoe { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 12px; background: var(--paper); }
.role__shoe img { width: 150px; height: 75px; object-fit: contain; }
.role__shoe b { font: 800 italic 20px/1 var(--display); text-transform: uppercase; display: block; margin-bottom: 6px; }
.role__shoe .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.why { font-size: 13.5px; color: var(--muted); }
.why b { font: inherit; display: inline; text-transform: none; color: var(--ink); font-weight: 700; }
.histo { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(40px, 1fr); gap: 5px; overflow-x: auto; padding-top: 18px; scrollbar-width: thin; }
.hcol { display: grid; grid-template-rows: 90px auto auto; gap: 5px; justify-items: center; }
.hbar { align-self: end; width: 100%; border-radius: 5px 5px 2px 2px; background: #e6e9f0; position: relative; cursor: pointer; transition: height .35s var(--ease-out), background var(--dur) var(--ease); min-height: 6px; }
.hbar.has { background: linear-gradient(0deg, var(--blue-2), var(--orange)); }
.hbar b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 800 13px/1 var(--display); }
.hcol.out .hbar { background: repeating-linear-gradient(135deg, #eceef3 0 5px, #fff 5px 8px); cursor: not-allowed; }
.hcol.out.bad .hbar { background: repeating-linear-gradient(135deg, #ffd9d6 0 5px, #fff 5px 8px); }
.hcol > span { font: 700 13px/1 var(--display); color: var(--muted); }
.hcol .pm { display: flex; }
.hcol .pm button { width: 20px; height: 22px; border-radius: 5px; font-size: 15px; line-height: 1; color: var(--muted); }
.hcol .pm button:hover { background: var(--paper); color: var(--ink); }
.role__foot { display: flex; gap: 10px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.role__foot b { color: var(--ink); font-family: var(--display); font-size: 18px; }
.paste { display: flex; gap: 8px; flex: 1; min-width: min(240px, 100%); }
.paste input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 12px; }
.kitrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.kitrow .chip { height: 32px; font-size: 13px; }
.kitsz { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.kitsz label { display: grid; justify-items: center; gap: 3px; font: 700 12px/1 var(--display); color: var(--muted); }
.kitsz input { width: 46px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); text-align: center; font: 700 14px var(--display); }
.add-role { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px; border-radius: var(--r-lg); border: 2px dashed #cfd3dd; }
.add-role span { font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.board { position: sticky; top: calc(var(--head-h) + 16px); background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; }
.board h2 { font-size: 30px; }
.board__rows { display: grid; gap: 8px; font-size: 14px; }
.board__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.board__row small { display: block; color: var(--muted-d); }
.board__row b { font: 700 16px/1.2 var(--display); }
.board__tot { display: flex; justify-content: space-between; align-items: baseline; }
.board__tot b { font: 900 italic 38px/1 var(--display); }
.board .bag__bar { background: rgba(255, 255, 255, .15); }
.board .opts { display: grid; gap: 8px; font-size: 14px; }
.board .opts label { display: flex; gap: 10px; align-items: center; }
.board .opts input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); }
.board .opts input[type="text"] { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 12px; }
.board__warn { background: rgba(225, 6, 0, .16); border: 1px solid rgba(225, 6, 0, .5); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
@media (max-width: 63.99em) { .crew { grid-template-columns: minmax(0, 1fr); } .board { position: static; } .role__shoe { grid-template-columns: 110px minmax(0, 1fr); } .role__shoe img { width: 110px; height: 56px; } .role__head { grid-template-columns: minmax(0, 1fr) auto; } .role__job { grid-column: 1 / -1; grid-row: 2; } .role__job select { width: 100%; } .role__shoe select { max-width: 100%; } }
.role__shoe .row > label { flex: 1 1 200px; min-width: 0; max-width: 360px; }
.role__shoe .row select { width: 100%; }
