/* Board page. Colours come from style.css tokens, so both themes follow. */
.board-main { width: 100%; margin: 0; max-width: none; padding: 22px clamp(12px, 3vw, 36px) 30px; }
.board-who { font-size: 12px; color: var(--muted); white-space: nowrap; }
.board-login { max-width: 520px; margin: 60px auto; padding: 32px; display: grid; gap: 12px; justify-items: start; }
.board-login h1 { margin: 0; }
.board-error { margin: 0; padding: 10px 12px; border-radius: 10px; color: var(--red); background: var(--amber-bg); font-size: 13px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; align-items: start; padding-bottom: 12px; min-height: calc(100vh - 140px); }
.board-column { display: flex; flex-direction: column; min-height: 200px; max-height: calc(100vh - 130px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: border-color .12s, background .12s; }
.board-column-human { background: transparent; border-style: dashed; box-shadow: none; }
.board-column.drop-target { border-color: var(--green); background: var(--mint); }
.board-column-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 6px; }
.board-column-head h2 { margin: 0; font-size: 14px; }
.board-hint { margin: 0 14px 6px; color: var(--faint); font-size: 10px; }
.board-cards { display: grid; gap: 8px; padding: 6px 10px 12px; overflow-y: auto; }
.board-empty { padding: 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--faint); font-size: 11px; text-align: center; }
.board-card { display: grid; gap: 7px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: grab; }
.board-card:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.board-card.dragging { opacity: .45; }
.board-card-locked { cursor: default; border-style: dashed; }
.board-card-claimed { border-left: 3px solid var(--amber); }
.board-card-title { color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.board-card-title:hover { color: var(--green-dark); text-decoration: underline; }
.board-labels { display: flex; flex-wrap: wrap; gap: 4px; }
.board-label { --label: #8d999c; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 650; color: var(--ink); background: color-mix(in srgb, var(--label) 22%, transparent); border: 1px solid color-mix(in srgb, var(--label) 55%, transparent); }
.board-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.board-number { font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.board-badge { padding: 1px 6px; border-radius: 6px; background: var(--amber-bg); color: var(--amber); font-weight: 800; letter-spacing: .04em; }
.board-faint { color: var(--faint); }
.board-move { margin-left: auto; max-width: 110px; border: 1px solid var(--line); border-radius: 7px; padding: 3px 6px; font-size: 10px; color: var(--muted); background: var(--white); }
.board-column-head .count-pill { width: auto; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 11px; }
@media (max-width: 700px) {
  .topbar { height: auto; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .board { grid-auto-columns: minmax(78vw, 1fr); }
}
[hidden] { display: none !important; }
.board-login .button { text-decoration: none; display: inline-flex; align-items: center; }
