/* Ready-to-ship board. Buttons, chips, top bar and tokens come from shared/css/bcam-core.css. */
main{max-width:1400px;margin:0 auto;padding:22px 20px 70px}
#head h2{font:700 28px var(--serif);margin:0 0 2px}
#head .sub{color:var(--bcam-muted);margin:0 0 12px}
.filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin:0 0 14px;font-size:13px}
.filters label{display:grid;gap:3px;font-weight:700;font-size:12px;color:var(--bcam-muted)}
.filters select{padding:6px 8px;border:1px solid var(--line);background:#fff;font:inherit;font-weight:400;color:var(--bcam-ink);min-height:34px;min-width:0;max-width:100%}
.filters .mine{flex-direction:row;align-items:center;display:flex;gap:6px;min-height:34px;padding:0 10px;border:1px solid var(--line);background:#fff;color:var(--bcam-ink);font-size:13px;cursor:pointer}
.filters .mine input{width:16px;height:16px;margin:0}
.note{color:var(--bcam-muted);font-size:13px;margin:0 0 12px}
.warnbox{margin:0 0 12px;padding:8px 12px;border-left:4px solid #ed8b00;background:#fff8e8;font-size:13px}

.bd-scroll{overflow-x:auto;border:1px solid var(--line);background:#fff}
.bd{min-width:1140px}
.bd-head,.bd-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.bd-head{position:sticky;top:0;z-index:2;background:#f7f5f1;border-bottom:2px solid var(--line)}
.bd-head div{padding:10px 8px;font:700 12px var(--sans);text-transform:uppercase;letter-spacing:.08em;border-right:1px solid #eee}
.bd-head div span{margin-left:6px;color:var(--bcam-muted);font-weight:600}
.bd-phase{padding:8px 10px;background:#f7f5f1;border-bottom:1px solid var(--line);font:700 14px var(--serif)}
.bd-phase small{font:600 12.5px var(--sans);color:var(--bcam-muted);margin-left:8px}
.bd-phase.now{box-shadow:inset 5px 0 0 var(--cherry)}
.bd-row{border-bottom:1px solid #eee}
.bd-row.loose{background:#fbfaf7}
.bd-cell{padding:6px;border-right:1px solid #f0eee9;min-height:10px;display:flex;flex-direction:column;gap:6px}
.bd-loose-head{padding:10px 10px 4px;font:700 14px var(--serif);border-top:2px solid var(--line)}
.bd-loose-head small{display:block;font:400 12.5px var(--sans);color:var(--bcam-muted)}
.bd-card{border:1px solid var(--line);border-left:5px solid var(--sc,#a7a8aa);background:#fff;padding:7px 8px;font-size:12.5px;line-height:1.35;display:grid;gap:3px}
.bd-card.plan{background:#faf8f5;border-left-width:6px}
.bd-card .t{display:flex;gap:6px;align-items:flex-start}
.bd-card .t a{flex:1;min-width:0;color:var(--bcam-ink);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.bd-card .t a:hover{text-decoration:underline;color:var(--cherry)}
.bd-src{flex:none;display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);background:#fff;color:var(--bcam-lobo-gray)}
.bd-src svg{width:14px;height:14px}
.bd-card .m{display:flex;flex-wrap:wrap;gap:2px 8px;color:var(--bcam-muted);font-size:12px}
.bd-card .m b{color:var(--bcam-ink)}
.bd-card .due.late{color:var(--bcam-danger);font-weight:700}
.bd-card .rv{font-size:12px;color:var(--bcam-warning)}
.bd-card .rv.done{color:var(--bcam-muted)}
.bd-card .chip{font-size:11px;padding:1px 7px;justify-self:start}
.bd-card .tool{font-size:11px;color:var(--bcam-muted);text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.bd-card.me{box-shadow:0 0 0 2px #7fd0d8}
.bd-empty{padding:34px 20px;text-align:center;color:var(--bcam-muted)}

@media (max-width:760px){
  main{padding:16px 16px 60px}
  .filters{display:grid;grid-template-columns:1fr 1fr}
  .filters select{width:100%}
  .filters .mine{grid-column:1/-1}
  .bd-scroll{border:0;background:none;overflow:visible}
  .bd{min-width:0}
  .bd-head{display:none}
  .bd-row{display:block;margin:0 0 12px;border:1px solid var(--line);background:#fff}
  .bd-cell{border-right:0;padding:0}
  .bd-cell:empty{display:none}
  .bd-cell .bd-card{border-left-width:5px;border-top:0;border-right:0;border-bottom:1px solid #eee;padding:9px 10px}
  .bd-row .bd-cell:last-child .bd-card:last-child{border-bottom:0}
}
