/* Закон 6: мини-игры «Двенадцать недель» и «Ползунок платежа». Только переменные цветов из course.css. */
.nd-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.nd-weeks li { height: 12px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); }
.nd-weeks li.done { background: var(--tint); border-color: transparent; }
.nd-weeks li.ev-ok { background: var(--good); border-color: transparent; }
.nd-weeks li.ev-loan { background: var(--bad); border-color: transparent; }
.nd-cap { display: grid; gap: 6px; }
.nd-cap .meter > i { background: var(--bad); }
.nd-turn { display: grid; gap: 10px; }
.nd-turn .choice { flex-basis: 120px; min-height: 58px; }
.nd-end { display: grid; gap: 12px; }
.nd-end:empty { display: none; }
.mx.nd-table th, .mx.nd-table td { padding: 8px 4px; }
.mx.nd-table td { font-size: 0.95rem; }
.mx.nd-table tbody th { white-space: normal; min-width: 7em; font-size: 0.9rem; }

.pz-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--paper); }
.pz-bar i { display: block; height: 100%; }
.pz-debt { background: var(--accent); }
.pz-int { background: var(--bad); }
.pz-anim .pz-bar i { transition: width 0.25s ease; }
.pz-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.85rem; color: var(--muted); }
.pz-key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.pz-key.debt { background: var(--accent); }
.pz-key.int { background: var(--bad); }
