/*
 * board-kit-parts.css — the parts on every board: board name (wayfinding), header
 * pieces (view toggle, status chips, pipeline cap), card date / contact badge /
 * status line / tags, archive link colour. Layout of the board, lanes and cards
 * is in board-kit.css. Both load from resources/views/pipeline/driver/_styles.
 * Split from board-kit.css 2026-10-03 (one file per concern, under 300 lines).
 */
.board .board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.board .view-toggle {
    text-decoration: none;
    background-color: white;
    padding: 5px;
}
.board .view-toggle-on {
    background-color: rgba(255, 255, 255, 0.274);
}
.board .kanban-status-chips {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
}
.board .chip {
    padding: 2px 10px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
}
.board .chip.chip-on {
    border-color: #0b2545;
    background: #0b2545;
    color: #fff;
}
.board .card-date {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}
.board .card-contacts {
    background: #e8f4fd;
    color: #0066cc;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
.board .card-status {
    font-size: 11px;
}
.board .card-status-on {
    color: #28a745;
    font-weight: 600;
}
.board .card-status-off {
    color: #aaa;
}
.board .board-tag {
    display: inline-block;
    font-size: 11px;
    background: #eef;
    color: #445;
    border-radius: 3px;
    padding: 1px 6px;
    margin: 2px 2px 0 0;
}
/* The shared archive control keeps its grey (partials/record/_card_archive); scoped
   .board a would otherwise turn it blue. */
.board .archive-btn {
    color: #999;
}
.board .archive-btn:hover {
    color: #dc3545;
}
/* The archive link keeps its own grey (partials/record/_card_archive); .board a would
   otherwise turn it blue now that the link colour rule is scoped (2026-10-03). */
.board .archive-btn {
    color: #999;
}
.board .archive-btn:hover {
    color: #dc3545;
}
.board .board-cap {
    font-size: 13px;
    text-align: right;
}
.board .board-cap .badge {
    font-size: 13px;
    padding: 6px 12px;
}
.board .board-cap-note {
    display: block;
    color: #333;
    font-size: 12px;
    margin-top: 2px;
}
.board .board-flash {
    margin: 6px 0 0;
    padding: 6px 10px;
    font-size: 13px;
}

.board .board-cap {
    padding-right: 30px;
    margin-top: 10px;
}
.board .heading {
    white-space: normal;
}

/* Star rating styles: public/css/golden-ratings.css (Golden Template — Ratings, 2026-10-06). */

/* 2026-10-03: PEO board header tools (pipeline/peo/_header_extra). */
.board .board-peo-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board .board-peo-note { color: #8a6d00; font-size: 12px; }
.board .board-peo-add { display: flex; gap: 6px; margin: 0; }
.board .board-peo-add .form-control { width: 12rem; }

/* 2026-10-03: the freight Prospect list shows the same five columns as the Pipeline (Michael
   2026-10-03: "It should show the five columns regardless"); no stacked layout. */
/* Freight header tools (pipeline/freight/_header_extra). */
.board .board-freight-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board .board-freight-tools form { display: flex; gap: 8px; align-items: center; margin: 0; }
.board .board-freight-toggle a { display: inline-block; background: #fff; color: #17314a; padding: 4px 10px; border-radius: 4px; text-decoration: none; }
.board .board-freight-toggle a.is-selected, .board .board-freight-status a.is-selected { background: #0b2545; color: #fff; }
.board .board-freight-status { display: flex; gap: 5px; }
.board .board-freight-status a { color: #222; background: #fff; border: 1px solid #aab7c4; border-radius: 14px; padding: 4px 10px; text-decoration: none; font-size: 12px; }
.board .board-freight-hint { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; }

/* 2026-10-03: admin column rename pencil (public/js/board-lane-rename.js). */
.board .lane-rename { background: none; border: 0; padding: 0 4px; font-size: 14px; color: #888; cursor: pointer; vertical-align: middle; }
.board .lane-rename:hover, .board .lane-rename:focus-visible { color: #0066cc; }

/* 2026-10-03: sample card in an empty column (pipeline/cards/_sample). Same frame as a card but
   muted and dashed; it disappears when a real card lands in the column. */
.board .board-sample { border: 1px dashed #b8c2cc; border-radius: 4px; padding: 12px; color: #8a96a3; font-size: 13px; background: rgba(255, 255, 255, 0.6); }
.board .swim-lane:has(.task) .board-sample { display: none; }
