/* Saved-run selection uses the searchable Task grid's spacing and interaction states. */
.saved-run-combobox { position:relative; min-width:0; }
.run-control > .saved-run-combobox { padding:0; border:0; background:none; }
.run-picker { overflow:visible; }
.saved-run-popup[data-align="start"] { left:0; right:auto; }
.picker-grid .saved-run-popup { width:min(1200px,calc(100vw - 160px)); }
.filter-bar .saved-run-popup { width:min(1200px,calc(100vw - 100px)); }
.saved-run-combobox>label { display:block; margin-bottom:7px; letter-spacing:.3px; }
.saved-run-combobox>input { width:100%; min-height:42px; padding:9px 10px; border:1px solid #cbd5df; border-radius:6px; background:white; color:var(--ink); font:inherit; font-size:16px; line-height:1.4; }
.saved-run-combobox>input:focus { outline:2px solid #adc5ff; border-color:var(--blue); }
.saved-run-combobox>input:disabled { cursor:not-allowed; opacity:.55; }
.saved-run-popup { position:absolute; z-index:20; top:100%; right:0; width:min(1200px,calc(100vw - 76px)); max-height:min(720px,60vh); overflow:auto; margin-top:4px; padding:4px; border:1px solid #b9c6d2; border-radius:6px; background:white; box-shadow:0 8px 20px #253e5726; }
.saved-run-grid { display:block; width:100%; min-width:0; border-spacing:0; }
.saved-run-grid>thead { display:block; position:sticky; top:-4px; z-index:1; }
.saved-run-grid>tbody { display:block; }
.saved-run-grid .saved-run-row,.saved-run-grid .saved-run-header { display:grid; grid-template-columns:minmax(180px,1.2fr) minmax(220px,1.5fr) 165px 95px 125px; gap:8px; width:100%; padding:10px 12px; text-align:left; }
.saved-run-row { align-items:start; border:0; border-radius:4px; background:white; color:var(--ink); font-size:14px; font-weight:400; line-height:1.4; overflow-wrap:anywhere; cursor:pointer; }
.saved-run-row>td,.saved-run-header>th { padding:0; border:0; text-align:left; white-space:normal; }
.saved-run-row+.saved-run-row { border-top:1px solid #edf1f5; }
.saved-run-row:hover,.saved-run-row.active { background:#eaf0ff; color:#174cbd; }
.saved-run-row[aria-selected="true"] { font-weight:700; }
.saved-run-header { padding:8px 12px; border-bottom:1px solid var(--line); background:#f5f8fb; color:var(--muted); }
.saved-run-header>th { background:none; color:inherit; font-size:10px; font-weight:650; text-transform:none; letter-spacing:0; }
.saved-run-sort { display:inline-flex; align-items:center; gap:3px; margin:0; padding:0; border:0; border-radius:3px; background:none; color:inherit; font:inherit; cursor:pointer; }
.saved-run-sort:hover { color:#174cbd; }
.saved-run-sort:focus-visible { outline:2px solid #174cbd; outline-offset:2px; }
.saved-run-sort>span { display:inline; margin:0; font-size:8px; }
.saved-run-task { text-transform:capitalize; }
.saved-run-row small { display:block; margin-top:3px; color:var(--muted); font-size:10px; font-weight:400; text-transform:none; }
.saved-run-time,.saved-run-status { font-size:12px; }
.saved-run-row>.saved-run-count { text-align:right; font-variant-numeric:tabular-nums; }
.saved-run-empty { padding:11px; margin:0; font-size:12px; font-weight:400; }
.saved-run-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:760px) {
  .filter-bar > .saved-run-combobox { grid-column:1 / -1; }
  .saved-run-popup { width:calc(100vw - 32px); }
  .saved-run-grid .saved-run-row,.saved-run-grid .saved-run-header { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px 12px; }
  .saved-run-grid .saved-run-header { display:flex; flex-wrap:wrap; }
  .saved-run-row>.saved-run-task { grid-column:1 / -1; }
  .saved-run-row>.saved-run-count { text-align:left; }
  .saved-run-count::before { content:"Questions processed: "; font-size:11px; }
}
.run-prompt-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 8px; padding: 9px 13px; border: 1px solid #b8c6df; border-radius: 6px; background: #fff; color: #214c91; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.run-prompt-link:hover { background: #eaf0ff; border-color: #7498d5; }
.run-prompt-link:focus-visible { outline: 3px solid #8db0ff; outline-offset: 3px; }
/* Every results page loads this file, so the skipped run folder notice is styled once here. */
.skipped-run-folders { margin:9px 0 0; color:var(--muted,#617181); font-size:12px; line-height:1.5; }
.skipped-run-folders>summary { width:max-content; cursor:pointer; }
.skipped-run-folders>ul { margin:4px 0 0; padding-left:18px; font-size:11px; overflow-wrap:anywhere; }
/* Every results page loads this file, so the combined-run toggle, badge and note are styled once here. */
.run-picker-stack { display:flex; flex-direction:column; align-items:flex-end; gap:6px; min-width:0; }
.combined-sources-toggle { display:inline-flex; align-items:center; gap:6px; width:max-content; margin:8px 0 0; color:var(--muted,#617181); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; cursor:pointer; }
.run-picker-stack>.combined-sources-toggle,.run-links>.combined-sources-toggle { margin:0; }
.combined-sources-toggle>input { width:auto; min-height:0; margin:0; accent-color:#214c91; }
.combined-from-badge { margin:6px 0 0; font-size:12px; line-height:1.5; }
.combined-from-badge>summary { width:max-content; padding:1px 8px; border:1px solid #b8c6df; border-radius:999px; background:#eef3ff; color:#214c91; font-weight:600; cursor:pointer; }
.combined-from-badge>ul { margin:4px 0 0; padding-left:18px; font-size:11px; overflow-wrap:anywhere; }
.combined-into-note { margin:6px 0 0; color:var(--muted,#617181); font-size:12px; overflow-wrap:anywhere; }
@media(max-width:760px) { .run-picker-stack { align-items:stretch; } }
/* Every results page loads this file, so the Correctness dropdown is styled once here. */
.correctness-bar { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:8px max(24px,calc((100vw - 1500px) / 2)); border-bottom:1px solid #dbe4ea; background:#f4f8fb; color:#172b3b; font-size:13px; line-height:1.4; }
.correctness-bar>label { font-weight:700; }
.correctness-bar>select { min-height:34px; padding:5px 8px; border:1px solid #9fb2c6; border-radius:6px; background:white; color:inherit; font:inherit; font-weight:600; }
.correctness-bar>select:focus-visible { outline:3px solid #8db0ff; outline-offset:2px; }
.correctness-help { flex:1 1 320px; margin:0; color:#4f6272; font-size:12px; }
.correctness-notice { flex-basis:100%; margin:0; color:#8a3828; font-size:12px; }
.correctness-bar[data-mode="strict"] { border-bottom-color:#f0c98a; background:#fff5e6; }
.correctness-bar[data-mode="strict"]>select { border-color:#c98a2e; }
/* Every results page loads this file, so the links from one results or model page to another are styled
   once here. The overview's level heading opens the inspector at that level, and a comparison score
   opens its run overview. A score link fills its cell; the two-color focus ring shows on every band. */
.level-link { display:block; border-radius:4px; color:inherit; text-decoration:none; }
.level-link:hover .level-label,.level-link:hover strong { text-decoration:underline; }
.score-cell:has(>.score-link) { padding:0; }
.score-link { display:block; padding:4px 8px; border-radius:3px; color:inherit; line-height:22px; text-decoration:none; }
.score-link:hover { text-decoration:underline; }
.score-link:focus-visible { outline:3px solid #8db0ff; outline-offset:1px; box-shadow:0 0 0 1px #172b3b; }
