/* Capture checklist; all additions are scoped to BST. */
.bst-page .wordmark a { color: inherit; text-decoration: none; }
.bst-page main a:not(.mode-tab) { color: var(--text); text-underline-offset: 0.2em; }
.bst-page main a:not(.mode-tab):hover { color: var(--aether); }
.bst-page .mode-tab { min-height: 44px; display: inline-flex; align-items: center; }
.bst-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; margin: 1rem 0; }
.bst-title h1 { margin: 0; font-size: 1.5rem; letter-spacing: -0.025em; }
.bst-reviewed { margin: 0; color: var(--text-muted); font-size: 0.875rem; }
.bst-controls { position: sticky; top: 0.5rem; z-index: 10; box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.bst-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.bst-progress-track { flex: 1; min-width: 5rem; height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.bst-progress-fill { width: 0; height: 100%; background: var(--aether); }
.bst-progress-text { font: 0.875rem var(--mono); color: var(--text-muted); }
.bst-controls .controls-row label { font-size: 0.875rem; }
.bst-query-label { flex: 1; min-width: 12rem; }
#bst-query { width: 100%; }
#bst-max-level { width: 6rem; }
.bst-control-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.bst-control-actions button { min-height: 44px; font-size: 0.875rem; }
#bst-hide-captured[aria-pressed="true"] { color: var(--aether); border-color: var(--aether); background: rgba(111,215,232,0.08); }
#bst-reset-checks { margin-left: auto; }
#bst-reset-checks:disabled { color: var(--text-muted); cursor: default; }
.bst-storage-status { color: var(--amber); font-size: 0.875rem; margin: 0; }
.bst-storage-status:not(:empty) { margin-top: 0.8rem; }
.bst-category { font: 600 0.875rem var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--aether); margin: 1.8rem 0.2rem 0.8rem; }
.bst-section { margin-bottom: 1.1rem; }
.bst-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; margin: 0 0.2rem 0.5rem; }
.bst-section-head h3 { font-size: 1rem; margin: 0; }
.bst-count { font: 0.875rem var(--mono); color: var(--text-muted); }
.bst-count.done { color: var(--green); }
.bst-table { min-width: 0; table-layout: fixed; }
.bst-table th, .bst-table td { white-space: normal; overflow-wrap: anywhere; padding: 0.65rem 0.6rem; }
.bst-table th { font-size: 0.875rem; }
.bst-table td { font-size: 1rem; }
.bst-table .bst-check-cell { width: 3rem; text-align: center; }
.bst-table th:nth-child(2) { width: 22%; }
.bst-table th:nth-child(3) { width: 29%; }
.bst-table th:nth-child(4) { width: 5rem; }
.bst-check-cell input { width: 1.2rem; height: 1.2rem; accent-color: var(--aether); padding: 0; cursor: pointer; vertical-align: middle; }
.bst-table input, .bst-table a { scroll-margin-top: 18rem; }
.bst-number { color: var(--text-muted); font: 0.875rem var(--mono); margin-left: 0.5rem; white-space: nowrap; }
.bst-target-cell a { text-decoration-style: dotted; }
.bst-kind { display: inline-block; font: 0.75rem var(--mono); padding: 0.15rem 0.35rem; color: var(--aether); background: rgba(111,215,232,0.08); border-radius: 4px; margin-left: 0.5rem; }
.bst-coords { display: block; font: 0.875rem var(--mono); }
.bst-note { display: block; color: var(--text-muted); font-size: 0.875rem; }
.bst-coords + .bst-note { margin-top: 0.3rem; }
.bst-row.captured td, .bst-page .bst-row.captured a { color: var(--text-muted); }
.bst-row.captured .bst-beast-name { text-decoration: line-through; }
.bst-empty { padding: 2rem 1rem; text-align: center; color: var(--text-muted); }
.bst-page .fineprint { font-size: 0.875rem; }
@media (max-width: 700px) {
  .bst-controls { position: static; }
  .bst-controls .controls-row { gap: 0.6rem; }
  .bst-controls .controls-row label { min-width: 0; }
  .bst-controls .controls-row .bst-query-label { flex-basis: 100%; min-width: 100%; }
  #bst-reset-checks { margin-left: 0; }
  .bst-section .table-wrap { border: 0; background: none; overflow: visible; }
  .bst-table { display: block; }
  .bst-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .bst-table tbody { display: grid; gap: 0.6rem; }
  .bst-table tr { display: grid; grid-template-columns: 2.5rem minmax(0,1fr); background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 0.6rem; }
  .bst-table td { display: block; border: 0; padding: 0.3rem 0.4rem; min-width: 0; }
  .bst-table .bst-check-cell { grid-column: 1; grid-row: 1; width: auto; align-self: center; }
  .bst-check-cell input { width: 1.4rem; height: 1.4rem; }
  .bst-table td:not(.bst-check-cell) { grid-column: 2; }
  .bst-table td[data-label]:not(.bst-beast-cell)::before { content: attr(data-label); display: block; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.1rem; }
  .bst-table input, .bst-table a { scroll-margin-top: 1rem; }
}
