/*
 * board.css — Board view: hero-stats, kanban, events-feed, agents-live-strip,
 *             repo-tree, cockpit bottom, goal-form, and task/runs tabs.
 */

/* ── Hero Stats ── */
#hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 20px;
}
.hero-stat { padding: 18px 22px; background: var(--bg-elevated); transition: background 0.15s; }
.hero-stat:hover { background: var(--bg-panel); }

.model-router-panel {
    margin: 0 0 16px;
    padding: 14px;
    background:
        radial-gradient(circle at 18% 0%, rgba(0,212,255,0.12), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(0,255,136,0.10), transparent 26%),
        var(--bg-elevated);
    overflow: hidden;
}
.model-router-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    margin-bottom: 10px;
}
.model-router-head span,
.model-lane-client {
    display: block;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.model-router-head strong {
    display: block;
    margin-top: 3px;
    color: var(--text-main);
    font: var(--title);
}
.model-router-lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.model-lane {
    min-height: 92px;
    padding: 12px;
    text-align: left;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.model-lane:hover,
.model-lane.selected {
    transform: translateY(-2px);
    border-color: rgba(0,255,136,0.36);
    background: rgba(0,255,136,0.06);
}
.model-lane strong {
    display: block;
    margin: 6px 0 2px;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 1rem;
}
.model-lane small {
    color: var(--text-dim);
    font-family: var(--font-mono);
}
.model-router-reason {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    #hero-stats,
    .model-router-lanes {
        grid-template-columns: 1fr;
    }
}

/* ── Kanban ── */
#kanban-board {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
    margin-bottom: 20px;
}
.kb-col-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.kb-col-title {
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}
.kb-count {
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
    background: var(--bg-panel); border: 1px solid var(--border); padding: 1px 5px; border-radius: 3px;
}
.kb-body { display: flex; flex-direction: column; gap: 6px; min-height: 100px; }
.kb-empty {
    height: 80px; border: 1px dashed var(--border); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 0 14px; text-align: center;
}
.kb-empty-title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.kb-empty-sub { font-size: 0.72rem; line-height: 1.35; color: var(--text-dim); opacity: 0.75; }
.kcard {
    padding: 9px 11px; background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius); cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}
.kcard:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }
.kcard.s-planning  { border-left: 2px solid var(--text-dim); }
.kcard.s-hiring    { border-left: 2px solid var(--secondary); }
.kcard.s-running   { border-left: 2px solid var(--amber); }
.kcard.s-ghostpass { border-left: 2px solid var(--violet); }
.kcard.s-done      { border-left: 2px solid var(--accent); }
.kcard-goal {
    font-size: 0.78rem; color: var(--text-main); line-height: 1.4; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kcard-meta  { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.token-badge { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }
.kcard-time  { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }
.kb-body.drag-over { background: rgba(0,255,136,0.05); outline: 1px dashed rgba(0,255,136,0.35); border-radius: var(--radius); }
.kcard.dragging    { opacity: 0.35; transform: scale(0.96); cursor: grabbing; pointer-events: none; }

/* ── Agents Live Strip ── */
#agents-live-strip { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.agent-live-pill {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--font-mono); font-size: 0.78rem;
    border: 1px solid var(--border); border-radius: 20px; padding: 3px 8px;
    cursor: pointer; transition: border-color 0.15s;
}
.agent-live-pill:hover { border-color: rgba(0,212,255,0.4); }
.agent-live-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.agent-live-pill.active .dot { background: var(--accent); box-shadow: 0 0 4px rgba(0,255,136,0.6); }
.agent-live-pill.active  { border-color: rgba(0,255,136,0.25); }
.agent-live-pill.blocked .dot { background: var(--warning); }
.agent-live-pill.blocked { border-color: rgba(255,95,87,0.25); }
.agent-inline-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
    border: 1px solid var(--border); border-radius: 3px; padding: 1px 5px;
}
.agent-inline-badge.st-active, .agent-inline-badge.st-running {
    color: var(--accent); border-color: rgba(0,255,136,0.3);
}
.agent-inline-badge.st-blocked, .agent-inline-badge.st-failed {
    color: var(--warning); border-color: rgba(255,95,87,0.3);
}

/* ── Repo Tree ── */
.cockpit-bottom { display: grid; grid-template-columns: 1fr 300px; gap: 12px; }
.repo-tree {
    font-family: var(--font-mono); font-size: 0.78rem;
    color: var(--text-main); padding: 8px 12px;
    max-height: 280px; overflow-y: auto;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2px 18px;
}
.repo-tree-entry {
    display: flex; align-items: center; gap: 6px;
    padding: 2px 6px; border-radius: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.repo-tree-entry:hover { background: var(--bg-panel); }
.repo-tree-icon { opacity: 0.6; width: 12px; flex-shrink: 0; text-align: center; }
.repo-tree-name { color: var(--text-main); }
.repo-tree-entry.dir .repo-tree-name { color: var(--accent); }
.repo-tree-meta { color: var(--text-dim); font-size: 0.78rem; margin-left: auto; }

/* ── Events Feed ── */
#events-feed { max-height: 260px; overflow-y: auto; }
.ev-item {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 7px 13px; border-bottom: 1px solid var(--border);
    font-size: 0.78rem; transition: background 0.1s;
}
.ev-item:last-child { border-bottom: none; }
.ev-item:hover { background: var(--bg-panel); }
.ev-dot  { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.ev-body { flex: 1; min-width: 0; }
.ev-type    { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.ev-summary { color: var(--text-dim); font-size: 0.78rem; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-time    { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); flex-shrink: 0; }

/* ── Goal Form (pulse body) ── */
.pulse-body { padding: 14px 16px; }
.goal-form {
    display: flex; flex-direction: column; gap: 7px;
    padding: 14px 16px; border-top: 1px solid var(--border);
}
.goal-form textarea {
    width: 100%; height: 60px; resize: none; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 8px 10px; font-size: 0.78rem;
    color: var(--text-main); outline: none; transition: border-color 0.15s;
    background: var(--bg-term);
}
.goal-form textarea:focus { border-color: rgba(0,255,136,0.4); }
.goal-form textarea::placeholder { color: var(--text-dim); }

/* ── Cap Usage Bars ── */
#cap-bars {
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px;
}
.cap-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cap-tier { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--text-main); }
.cap-upgrade-link { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); border-bottom: 1px solid rgba(0,255,136,0.3); }
.cap-upgrade-link:hover { color: #00e07b; }
.quick-actions-row { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }

/* ── Runs Table ── */
.runs-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.rtable { width: 100%; border-collapse: collapse; }
.rtable th {
    text-align: left;
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
    padding: 8px 13px; border-bottom: 1px solid var(--border); background: var(--bg-elevated);
}
.rtable td { padding: 9px 13px; border-bottom: 1px solid var(--border); color: var(--text-main); }
.rtable tbody tr { cursor: pointer; transition: background 0.1s; }
.rtable tbody tr:hover { background: var(--bg-elevated); }
.rtable tbody tr:last-child td { border-bottom: none; }
.run-id   { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.run-goal { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.78rem; }
.run-tok  { font-family: var(--font-mono); color: var(--accent); font-size: 0.78rem; }
.run-dur  { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.runs-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#ledger-list, #wplan-list { max-height: 250px; overflow-y: auto; }
.ledger-row {
    display: flex; gap: 9px; padding: 7px 13px;
    border-bottom: 1px solid var(--border); font-size: 0.78rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-n   { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); flex-shrink: 0; min-width: 18px; }
.ledger-txt { color: var(--text-muted); }

/* ── Decision Spine ── */
.decision-spine-prompt {
    padding: 9px 11px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text-main);
    font-size: 0.78rem;
    line-height: 1.45;
}
.decision-spine-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.decision-spine-card {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
}
.decision-spine-k {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.decision-spine-v {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.decision-spine-sub {
    margin-top: 3px;
    color: var(--text-dim);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.decision-spine-block {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
}
.decision-spine-block > span {
    font-family: var(--font-mono);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    padding-top: 2px;
}
.decision-spine-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}
.decision-spine-budget-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 10px;
}
.decision-spine-budget-grid > div {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
}
.decision-spine-budget-grid span {
    display: block;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.decision-spine-budget-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.decision-spine-budget-wide {
    grid-column: 1 / -1;
}
.decision-spine-agentflow {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.decision-spine-agentflow-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(72px, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}
.decision-spine-agentflow-stage {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
}
.decision-spine-agentflow-stage span,
.decision-spine-agentflow-stage small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.decision-spine-agentflow-stage span {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.decision-spine-agentflow-stage strong {
    display: block;
    margin: 3px 0;
    color: var(--text-main);
    font-size: 0.76rem;
}
.decision-spine-agentflow-stage small {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.68rem;
}
.decision-spine-latest {
    margin-top: 10px;
    padding: 7px 9px;
    border-left: 2px solid var(--accent);
    background: var(--bg-panel);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}
.decision-spine-full-link {
    float: right;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-decoration: none;
}
.decision-spine-full-link:hover { text-decoration: underline; }
.decision-spine-mini {
    margin-top: 8px;
    padding: 8px 12px;
    border-left: 3px solid var(--secondary);
    background: var(--bg-panel);
}
.decision-spine-mini-head {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.decision-spine-mini-row,
.decision-spine-mini-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}
.decision-spine-mini-lists { margin-top: 6px; }
.decision-spine-browser {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.decision-spine-browser-col {
    min-width: 0;
}
.decision-spine-browser-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}
.decision-spine-log-row {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    margin-bottom: 6px;
}
.decision-spine-log-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    margin-bottom: 4px;
}
.decision-spine-log-reason {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 5px;
}
.decision-spine-log-ref,
.decision-spine-empty {
    color: var(--text-dim);
    font-size: 0.72rem;
    line-height: 1.35;
}

@media (max-width: 820px) {
    .decision-spine-grid,
    .decision-spine-budget-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .decision-spine-agentflow-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Tasks Tab ── */
.task-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.filter-grp { display: flex; gap: 2px; }
.filt-btn {
    padding: 4px 10px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim);
    border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.15s; background: none;
}
.filt-btn:hover { color: var(--text-muted); }
.filt-btn.active { color: var(--secondary); border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.06); }
.task-search {
    flex: 1; min-width: 140px; background: var(--bg-panel); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 4px 10px; font-size: 0.78rem; color: var(--text-main); outline: none;
}
.task-search:focus { border-color: rgba(0,255,136,0.3); }
#task-board { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 14px; }
.tcol { min-height: 120px; }
.tcol-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 9px; margin-bottom: 6px; background: var(--bg-elevated);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.tcol-title {
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}
.tcol-cnt { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.tcard {
    padding: 8px 10px; background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 5px; cursor: pointer;
    transition: border-color 0.15s, transform 0.12s;
}
.tcard:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }
.tcard.st-todo        { border-left: 2px solid var(--text-dim); }
.tcard.st-claimed     { border-left: 2px solid var(--secondary); }
.tcard.st-in_progress { border-left: 2px solid var(--amber); }
.tcard.st-done        { border-left: 2px solid var(--accent); }
.tcard.st-blocked, .tcard.st-failed { border-left: 2px solid var(--warning); }
.tcard-title { font-size: 0.78rem; color: var(--text-main); line-height: 1.4; margin-bottom: 4px; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.tcard-meta  { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tcard-agent { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.esc-badge { display:inline-flex;align-items:center;gap:3px;background:rgba(255,95,87,0.1);border:1px solid rgba(255,95,87,0.3);color:var(--warning);font-family:var(--font-mono);font-size:0.78rem;padding:1px 4px;border-radius:3px; }
#task-list-view { display: none; }
#task-list-view.active { display: block; }
#task-board.list-mode { display: none; }
.tlist-row {
    display: flex; align-items: center; gap: 9px; padding: 8px 13px;
    border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.1s; font-size: 0.78rem;
}
.tlist-row:last-child { border-bottom: none; }
.tlist-row:hover { background: var(--bg-panel); }

/* ── First-run hero ── */
.first-run-hero {
    padding: var(--space-5, 20px) var(--space-4, 16px);
    margin-bottom: 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: color-mix(in oklch, var(--accent) 6%, var(--bg-elevated));
}
.frh-header { margin-bottom: 14px; }
.frh-title {
    font-family: var(--font-serif); font-size: var(--text-lg); font-weight: var(--weight-semibold);
    color: var(--text-main); margin-bottom: 4px;
}
.frh-sub { font-size: var(--text-sm); color: var(--text-dim); }
.frh-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.frh-step {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1px 8px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid color-mix(in oklch, var(--accent) 24%, var(--border));
    border-radius: var(--radius);
    background: color-mix(in oklch, var(--accent) 4%, var(--bg-panel));
    min-width: 0;
}
.frh-step span {
    grid-row: 1 / span 2;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in oklch, var(--accent) 18%, transparent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}
.frh-step strong { font-size: 0.78rem; color: var(--text-main); min-width: 0; }
.frh-step small { font-size: 0.72rem; color: var(--text-dim); min-width: 0; }
.frh-command {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 8px;
    margin-bottom: 14px;
}
.frh-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.frh-pick {
    background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px; display: flex; flex-direction: column; gap: 5px;
    transition: border-color 0.15s;
}
.frh-pick:hover { border-color: var(--accent); }
.frh-pick-loading { border-style: dashed; }
.frh-pick-name { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-main); }
.frh-pick-desc { font-size: 0.78rem; color: var(--text-dim); flex: 1; }
.frh-pick-cost { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); margin-top: 2px; }
.frh-hire-btn { margin-top: 8px; align-self: flex-start; }
.frh-dismiss { color: var(--text-dim); border: none; background: transparent; cursor: pointer;
               font-size: var(--text-sm); padding: 2px 6px; }
.frh-dismiss:hover { color: var(--text-main); }

/* ── Responsive ── */
@media (max-width: 1100px) {
    #kanban-board { grid-template-columns: repeat(3, 1fr); }
    #hero-stats   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    #kanban-board { grid-template-columns: repeat(2, 1fr); }
    .frh-steps,
    .frh-command,
    .frh-picks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    #kanban-board { grid-template-columns: 1fr; }
    #hero-stats { grid-template-columns: 1fr 1fr; }
}
