/* Benchmark workbench: shared palette and typography come from site.css. */
#benchmark-workbench { min-width: 0; }
.bench-status { padding: 13px 16px; border-left: 3px solid var(--accent); background: var(--accent-wash); color: var(--ink); }
.bench-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 22px 0; }
.bench-control { min-width: 0; margin-bottom: 12px; }
.bench-control label, .bench-import > label { display: block; margin-bottom: 7px; font-weight: 650; }
#benchmark-workbench select, #benchmark-workbench button, #benchmark-workbench input { font: inherit; color: var(--ink); max-width: 100%; }
#benchmark-workbench select { display: block; width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 11px 32px 11px 12px; background: var(--surface); text-overflow: ellipsis; }
#benchmark-workbench button { border: 1px solid var(--accent); background: var(--accent-wash); padding: 10px 16px; border-radius: 4px; cursor: pointer; font-weight: 600; }
#benchmark-workbench button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--accent); }
#benchmark-workbench button:disabled { opacity: .55; cursor: default; }
#benchmark-workbench input[type="file"] { display: block; padding: 8px 0; width: 100%; }
#benchmark-workbench input[type="file"]::file-selector-button { color: var(--ink); background: var(--surface); padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; margin-right: 10px; cursor: pointer; }
#benchmark-workbench :is(select, button, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bench-empty { padding: 20px; margin: 24px 0; border: 1px solid var(--line); border-left: 3px solid var(--bronze); background: var(--surface); border-radius: 4px; }
.bench-empty h4 { margin-top: 0; }
.bench-empty > :last-child { margin-bottom: 0; }
.bench-table { max-width: 100%; }
.bench-table table { min-width: 600px; }
.bench-table th, .bench-table td { overflow-wrap: anywhere; }
.bench-table tbody th { background: var(--surface); color: var(--ink); min-width: 155px; }
.bench-table td { min-width: 190px; }
.bench-table td p, .bench-table th p { margin: 0 0 7px; }
.bench-table td p:last-child, .bench-table th p:last-child { margin-bottom: 0; }
.bench-badge { display: inline-block; border: 1px solid var(--bronze); background: var(--bronze-wash); color: var(--bronze); border-radius: 3px; padding: 2px 6px; font: 11px/1.5 var(--mono); }
.bench-import-status { margin-top: 16px; overflow-wrap: anywhere; }
.bench-import details { background: var(--paper); }
@media (max-width: 640px) {
  .bench-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bench-empty { padding: 16px; }
  .bench-import { padding: 14px; }
}
@media print {
  .bench-controls, .bench-control, .bench-import, #benchmark-workbench button { display: none; }
  .bench-table table { min-width: 0; }
  .bench-table th, .bench-table td { min-width: 0; }
}
