/* New Keynesian Evidence. Reuses the Experiments layout (scenario.css boards, the
   .nk-charts grid in experiments.css, and the shared components). Colours repeat
   values already used across the stylesheets so that the planned model colour
   tokens (UI decision D09) can replace them in one pass. The four inflation
   target-band colours (D12) are defined in evidence.js. */
.nk-evidence-presets .lab-text-button { padding: 4px 0; }
.nk-evidence-period { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nk-evidence-presets { margin: 4px 0 0; }
.nk-evidence-lines { display: grid; gap: 10px; }
/* style.css gives every input full width; a checkbox keeps its own size. */
.nk-evidence-show { display: flex; gap: 8px; align-items: center; margin-top: 10px; color: #3b4f69; font-size: .8rem; font-weight: 600; cursor: pointer; }
.nk-evidence-show input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--model-accent); }
.nk-evidence-show:has(input:disabled) { cursor: default; color: #586b83; }
.nk-evidence-line-info { margin: 8px 0 0; color: #43566f; font-size: .74rem; line-height: 1.5; }

.nk-evidence-chart { height: 240px; }
.nk-evidence-legend { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.nk-evidence-legend li { display: grid; grid-template-columns: 24px 1fr; gap: 2px 8px; align-items: start; font-size: .74rem; color: #43566f; line-height: 1.45; }
.nk-evidence-swatch { width: 24px; height: 8px; margin-top: 5px; }
.nk-evidence-legend-text strong { color: #172b48; font-weight: 650; }
.nk-evidence-legend-text small { display: block; color: #586b83; font-size: .7rem; }
.nk-evidence-note { grid-column: 2; color: #586b83; font-size: .7rem; }

.nk-evidence-table-wrap { overflow-x: auto; margin-top: 8px; }
.nk-evidence-sources { width: 100%; border-collapse: collapse; font-size: .8rem; line-height: 1.45; }
.nk-evidence-sources th, .nk-evidence-sources td { padding: 6px 8px; border-bottom: 1px solid #e7edf5; text-align: left; vertical-align: top; }
.nk-evidence-sources th { color: #22426a; font-weight: 700; }
.nk-evidence .assumptions-card h4 { margin: 18px 0 0; color: #22426a; font-size: .95rem; }
.nk-evidence-downloads { margin-top: 14px; }
.nk-evidence-downloads > summary { cursor: pointer; color: #22426a; font-size: .95rem; font-weight: 700; }
@media (max-width: 700px) {
    .nk-evidence-sources { min-width: 560px; }
}
