/* New Keynesian experiments. The workspace reuses the Scenario Lab boards (scenario.css). */
.nk-slider { width: 100%; accent-color: var(--model-accent); margin: 4px 0 0; }
.nk-advanced { margin: 18px 0 4px; }
.nk-advanced .input-field { margin-top: 12px; }
.nk-parameters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nk-parameters small { display: block; color: #586b83; font-size: .7rem; line-height: 1.4; margin-top: 3px; }
.metric-tiles.nk-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nk-lab .chart-card .lab-chart-heading h3 { margin: 0; color: #172b48; font-size: 1.1rem; font-weight: 650; }
.nk-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 8px; }
.nk-charts figure { margin: 0; min-width: 0; }
.nk-charts figcaption { display: grid; gap: 2px; }
.nk-charts figcaption strong { color: #172b48; font-size: .88rem; font-weight: 650; }
.nk-charts figcaption span { color: #586b83; font-size: .74rem; }
.nk-chart { height: 230px; width: 100%; min-width: 0; }
.nk-chart-legend { height: 270px; }
@media (max-width: 1200px) { .metric-tiles.nk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .nk-charts { grid-template-columns: 1fr; }
    .metric-tiles.nk-metrics, .nk-parameters { grid-template-columns: 1fr; }
}
