/* Board: activity kanban + writing + docs tabs */
.board-main {
  max-width: 1200px;
}

.board-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
}

.board-tab {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.board-tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.board-panel {
  display: none;
  margin-top: 1rem;
}

.board-panel.is-active {
  display: block;
}

.board-panel-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.board-subhead {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.board-writing-list {
  display: grid;
  gap: 0.75rem;
}

.board-docs-entries .board-card ul {
  margin: 0.5rem 0 0 1.1rem;
  color: var(--text-muted);
}

.board-doc-links {
  margin-top: 0.5rem;
}

.board-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .board-columns {
    grid-template-columns: 1fr;
  }
}

.board-column {
  background: var(--surface-elevated, #f4f5f7);
  border-radius: 8px;
  min-height: 200px;
  padding: 0.75rem;
  border-top: 3px solid var(--accent, #0052cc);
}

[data-theme="dark"] .board-column {
  background: #1c1f26;
}

.board-column--building {
  border-top-color: #6554c0;
}

.board-column--watchlist {
  border-top-color: #ff8b00;
}

.board-column h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  color: var(--text-muted, #5e6c84);
}

.board-card {
  background: var(--surface, #fff);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.15);
  border: 1px solid var(--border, #dfe1e6);
}

[data-theme="dark"] .board-card {
  background: #252a33;
  border-color: #3d4450;
}

.board-card h3 {
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.board-card p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted, #5e6c84);
  line-height: 1.4;
}

.board-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted, #6b778c);
}

.board-badge {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.board-badge--github {
  background: #deebff;
  color: #0747a6;
}

.board-badge--cursor {
  background: #eae6ff;
  color: #403294;
}

.board-badge--codex {
  background: #e3fcef;
  color: #006644;
}

.board-badge--manual {
  background: #fff0b3;
  color: #172b4d;
}

.board-footnote {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted, #6b778c);
}

.board-empty {
  font-size: 0.85rem;
  color: var(--text-muted, #6b778c);
  padding: 0.5rem 0;
}
