/* Composer Benchmark manager: the Overview and Labellers pages (manager.html in the design artifact). */
.cbm form.inline { display: inline; margin: 0; }
.cbm .ks .linkbtn, .cbm .alinks .linkbtn { font-size: inherit; }
.cbm .tag.amber { color: var(--warn); border-color: var(--warn); }
.cbm .hint { font-size: 0.82rem; color: var(--muted); background: var(--sunk); border-radius: 10px; padding: 9px 12px; }
.cbm .hint b { color: var(--ink); font-weight: 600; }

/* Jobs by house set */
.cbm .splits { display: flex; flex-direction: column; gap: 14px; }
.cbm .split { display: flex; flex-direction: column; gap: 6px; }

/* Coverage */
.cbm table.cov { border-collapse: separate; border-spacing: 4px; width: 100%; min-width: 560px; font-variant-numeric: tabular-nums; }
.cbm .cov th { font-size: 0.72rem; font-weight: 500; color: var(--muted); padding: 2px 4px; }
.cbm .cov th.rowh { text-align: right; white-space: nowrap; }
.cbm .cov td { position: relative; height: 40px; border-radius: 6px; background: var(--sunk); overflow: hidden; text-align: center; font-family: var(--mono); font-size: 0.8rem; }
.cbm .cov td::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: var(--fill); background: var(--accent); opacity: 0.35; }
.cbm .cov td span { position: relative; }
.cbm .cov td i { font-style: normal; color: var(--muted); font-size: 0.7rem; }

/* Agreement bars */
.cbm .agree { display: flex; flex-direction: column; gap: 6px; }
.cbm .arow { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 0.84rem; }
.cbm .arow.ov { grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 44px minmax(0, 220px); }
.cbm .arow.wide { grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 44px 36px; }
.cbm .abar { position: relative; height: 8px; background: var(--sunk); border-radius: 99px; overflow: visible; display: block; }
.cbm .abar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.cbm .abar span.low { background: var(--warn); }
.cbm .abar i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--ink); opacity: 0.5; }
.cbm .av { font-family: var(--mono); text-align: right; font-size: 0.8rem; }
.cbm .alinks { font-size: 0.76rem; }

/* Recent decisions and guide notes */
.cbm .board.decisions td { vertical-align: top; }
.cbm .notes { display: flex; flex-direction: column; gap: 10px; }
.cbm .noterow { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cbm .noterow:last-child { border-bottom: 0; padding-bottom: 0; }

/* Labellers table */
.cbm .people td { vertical-align: middle; }
.cbm .people td:first-child, .cbm .people .tag { white-space: nowrap; }
.cbm .selrow2 td { background: var(--accent-soft); }
.cbm .av2 { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.72rem; margin-right: 8px; }
.cbm .sig { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.cbm .sig.ok { background: var(--good); }
.cbm .sig.amber { background: var(--gold); }
.cbm .locked { font-size: 0.78rem; color: var(--muted); }

/* Answers changed on review */
.cbm .overlist { display: flex; flex-direction: column; gap: 8px; }
.cbm .overrow { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.cbm .overrow > svg, .cbm .overrow > .nophoto { display: block; width: 72px; aspect-ratio: 1; border-radius: 6px; background: var(--sunk); }
.cbm .overrow > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cbm .ovch { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; flex-wrap: wrap; }
.cbm .ovch .ico { width: 44px; }
.cbm .ovch .ico:empty { display: none; }
.cbm .ovch .ico svg { width: 100%; height: auto; display: block; border-radius: 4px; }
.cbm .ovch .arrow { color: var(--muted); }
.cbm .ovl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* Driving tests */
.cbm .drivetests { display: flex; flex-direction: column; gap: 12px; }
.cbm .dtest { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cbm .dround { display: flex; flex-direction: column; gap: 4px; }
.cbm .dr-h { font-size: 0.8rem; font-weight: 600; }
.cbm .dround .board td { vertical-align: top; }
.cbm .dt-date, .cbm .dt-house { white-space: nowrap; width: 1%; }
.cbm .dt-floor { display: block; }
.cbm .dt-diffs summary { color: var(--accent); cursor: pointer; font-size: 0.78rem; }
.cbm .dt-diffs ul { margin: 6px 0 0; padding-left: 18px; font-size: 0.8rem; }
.cbm .grant { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--gold-soft); border-radius: 10px; padding: 10px 14px; }

@media (max-width: 760px) {
  .cbm .arow, .cbm .arow.ov { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 40px; }
  .cbm .arow.wide { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 40px 32px; }
  .cbm .alinks { grid-column: 1 / -1; }
}

/* Missing answers */
.cbm .tablewrap { overflow-x: auto; }
.cbm .board.missing { margin-top: 10px; min-width: 640px; }
.cbm .board.missing td.acts { white-space: nowrap; text-align: right; }
.cbm .board.missing td.acts > * + * { margin-left: 6px; }
.cbm .btn.xs { padding: 4px 10px; font-size: 0.78rem; border-radius: 8px; }
