/* Approved evaluation index; selectors stay within the dashboard workspace. */
html[data-workspace="evaluation"] .evaluation-dashboard { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
.evaluation-dashboard-index { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:14px 12px; min-height:0; max-height:var(--evaluation-scroll-height,calc(100dvh - 104px)); overflow:auto; scrollbar-gutter:stable; }
.evaluation-dashboard-results { min-width:0; }
.evaluation-index-tree,.evaluation-index-tree ul { list-style:none; padding:0; margin:0; }
.evaluation-index-tree ul { margin:0 0 8px 12px; padding-left:12px; border-left:1px solid var(--line-strong); }
.evaluation-index-tree li { min-width:0; }
.evaluation-index-branch,.evaluation-index-state-button { width:100%; border:0; border-radius:5px; background:transparent; color:var(--ink); display:flex; align-items:center; gap:10px; justify-content:space-between; padding:10px 9px; font:inherit; text-align:left; cursor:pointer; }
.evaluation-index-branch { min-height:42px; font-weight:600; }
.evaluation-index-chevron { color:var(--muted); font-size:17px; line-height:1; }
.evaluation-index-state-button { min-height:37px; font-size:12px; }
.evaluation-index-branch:hover,.evaluation-index-state-button:hover { background:var(--panel-strong); }
.evaluation-index-state-button.is-active { background:#e8edf0; color:var(--ink); box-shadow:inset 3px 0 #66747e; font-weight:600; }
.evaluation-index-count { display:inline-grid; place-items:center; flex-shrink:0; min-width:22px; height:22px; padding:0 5px; border-radius:5px; background:var(--bg-alt); color:var(--muted); font-size:10px; font-variant-numeric:tabular-nums; }
.evaluation-index-state { padding-bottom:4px; border-radius:5px; }
.evaluation-index-icaos { display:flex; flex-wrap:wrap; gap:7px; padding:9px 8px 12px; }
.evaluation-index-icao { border:1px solid var(--line-strong); background:var(--panel); color:var(--ink); font:inherit; font-size:11px; font-weight:600; letter-spacing:.02em; padding:5px 7px; border-radius:4px; min-height:28px; cursor:pointer; }
.evaluation-index-icao[draggable="true"] { cursor:grab; }
.evaluation-index-icao:hover { border-color:var(--brand-accent); background:var(--panel-strong); }
.evaluation-index-icao.is-selected { border-color:var(--brand-primary); color:var(--brand-primary); box-shadow:inset 0 0 0 1px var(--brand-primary); }
.evaluation-index-icao.is-dragging { opacity:.5; }
.evaluation-index-state.is-drop-target { background:var(--panel-strong); outline:2px dashed var(--brand-accent); outline-offset:1px; }
.evaluation-dashboard-path { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:5px 10px 17px; color:var(--muted); font-size:13px; }
.evaluation-dashboard-path button { border:0; padding:3px 0; background:transparent; color:var(--muted); font:inherit; cursor:pointer; }
.evaluation-dashboard-path button:last-of-type { color:var(--ink); font-weight:600; }
.evaluation-dashboard-toolbar { display:flex; gap:12px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
.evaluation-dashboard-search { display:flex; align-items:center; gap:10px; flex:1; min-width:0; border:1px solid var(--line-strong); border-radius:5px; padding:0 12px; height:42px; color:var(--muted); }
.evaluation-dashboard-search .ui-icon { width:18px; height:18px; flex-shrink:0; }
.evaluation-dashboard-search input { flex:1; min-width:0; border:0; background:transparent; outline:none; color:var(--ink); font:inherit; height:100%; font-size:13px; }
.evaluation-dashboard-search:focus-within { outline:2px solid var(--brand-accent); outline-offset:2px; }
.evaluation-dashboard-toolbar .command { min-height:42px; flex-shrink:0; white-space:nowrap; }
.evaluation-dashboard .evaluation-status-feedback:empty { display:none; }
.evaluation-dashboard .evaluation-status-feedback { margin:8px 2px; font-size:12px; color:var(--muted); }
.evaluation-dashboard .evaluation-dashboard-table-panel { margin-top:17px; padding:0; border-radius:8px; overflow:hidden; background:var(--panel); }
.evaluation-dashboard-table-scroll { overflow:auto; min-height:0; max-height:var(--evaluation-scroll-height,calc(100dvh - 210px)); scrollbar-gutter:stable; }
.evaluation-dashboard-table { width:100%; min-width:680px; border-collapse:collapse; }
.evaluation-dashboard-table th { text-align:left; font-size:12px; font-weight:600; background:var(--panel-strong); color:var(--muted); padding:14px 18px; white-space:nowrap; }
.evaluation-dashboard-table td { padding:15px 18px; border-bottom:1px solid var(--line); background:var(--panel); vertical-align:middle; }
.evaluation-dashboard-table tr:last-child td { border-bottom:0; }
.evaluation-dashboard-table td:first-child { width:36%; }
.evaluation-dashboard-table td:first-child strong { font-size:13px; font-weight:600; line-height:1.5; }
.evaluation-dashboard-table td:first-child .badge { margin-left:7px; }
.evaluation-dashboard-row { cursor:pointer; }
.evaluation-dashboard-row:hover td,.evaluation-dashboard-row:focus-visible td { background:var(--panel-strong); }
.evaluation-dashboard-row:focus-visible { outline:2px solid var(--brand-accent); outline-offset:-2px; }
.evaluation-dashboard-code { color:var(--muted); font-size:12px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.evaluation-dashboard-status { display:inline-block; padding:5px 9px; border:1px solid var(--line); border-radius:5px; color:var(--muted); background:var(--panel-strong); font-size:11px; white-space:nowrap; }
.evaluation-dashboard-open { font-size:23px; color:var(--muted); width:28px; text-align:center; }
.evaluation-dashboard-donut { position:relative; display:inline-grid; place-items:center; width:54px; height:54px; --dashboard-ring:var(--amber,#a76f10); font-variant-numeric:tabular-nums; }
.evaluation-dashboard-donut.is-progress.is-complete { --dashboard-ring:var(--green,#198250); }
.evaluation-dashboard-donut.is-score { --dashboard-ring:#6554ad; }
.evaluation-dashboard-donut svg { display:block; width:100%; height:100%; }
.evaluation-dashboard-donut circle { fill:none; stroke-width:5; }
.evaluation-dashboard-donut-track { stroke:var(--line); }
.evaluation-dashboard-donut-fill { stroke:var(--dashboard-ring); }
.evaluation-dashboard-donut.is-empty .evaluation-dashboard-donut-fill { visibility:hidden; }
.evaluation-dashboard-donut>span { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:1px; }
.evaluation-dashboard-donut strong { font-size:12px; line-height:1.1; font-weight:700; color:var(--ink); }
.evaluation-dashboard-donut small { font-size:9px; line-height:1; color:var(--muted); }
html[data-theme="dark"] .evaluation-index-state-button.is-active { background:#3b3b3b; box-shadow:inset 3px 0 #c4c4c4; }
html[data-theme="dark"] .evaluation-dashboard-donut.is-score { --dashboard-ring:#b7a1ef; }
@media(max-width:1100px) { html[data-workspace="evaluation"] .evaluation-dashboard { grid-template-columns:230px minmax(0,1fr); gap:16px; } .evaluation-dashboard-table :is(th,td) { padding:12px; } }
@media(max-width:760px) { html[data-workspace="evaluation"] .evaluation-dashboard { grid-template-columns:minmax(0,1fr); gap:14px; } .evaluation-dashboard-index { min-height:0; max-height:280px; } .evaluation-dashboard-toolbar { flex-wrap:wrap; } .evaluation-dashboard-search { flex-basis:100%; } .evaluation-dashboard-toolbar .command { margin-left:auto; } .evaluation-dashboard-path { padding-bottom:12px; } }
@media(min-width:761px) {
  html[data-workspace="evaluation"] .app-shell { height:100dvh; min-height:0; }
  html[data-workspace="evaluation"] .content { min-height:0; overflow:auto; scrollbar-gutter:stable; }
}
@media(max-width:760px) { .evaluation-dashboard-table-scroll { max-height:none; } }
