/* Mediaplan: het nagebouwde plan tegen de werkelijke spend */
.plan { display: grid; gap: 0; font-size: 15px; }
.plan-rij { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--lijn); }
.plan-rij.kop { border-top: 0; padding-top: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--zacht); }
.plan-rij > b { font-weight: 600; }
.plan-rij > span { font-family: var(--data); }
.plan-rij > em { font-style: normal; font-size: 14px; font-weight: 500; }
.plan-rij > em.goed { color: #166534; }
.plan-rij > em.let { color: #b42318; }
.plan-rij > em.zacht { color: var(--zacht); }
/* Balk: hoeveel van het budget is uitgegeven; de streep is vandaag (dag 17 van 30) */
.tempo { position: relative; height: 12px; border-radius: 4px; background: var(--grijs); }
.tempo i { position: absolute; inset: 0 auto 0 0; width: var(--w); max-width: 100%; border-radius: 4px; background: #c9ccd2; }
.tempo i.geel { background: var(--geel); }
.tempo i.rood { background: #d9453b; }
.tempo::after { content: ""; position: absolute; top: -5px; bottom: -5px; left: var(--nu, 57%); width: 2px; border-radius: 1px; background: var(--inkt); }
.plan-voet { border-top: 1px solid var(--lijn); padding-top: 14px; color: var(--zacht); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.plan-voet b { color: var(--inkt); font-weight: 600; }
.mp-prijs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.mp-prijs .cijferkaart { min-height: 320px; }
@media (max-width: 860px) { .mp-prijs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .plan-rij { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "naam besteed" "tempo tempo" "status budget"; gap: 10px 12px; }
  .plan-rij.kop { display: none; }
  .plan-rij > b { grid-area: naam; }
  .plan-rij > span:nth-of-type(1) { grid-area: budget; justify-self: end; color: var(--zacht); font-size: 14px; }
  .plan-rij > span:nth-of-type(1)::before { content: "van "; }
  .plan-rij:lang(en) > span:nth-of-type(1)::before { content: "of "; }
  .plan-rij > span:nth-of-type(2) { grid-area: besteed; justify-self: end; font-weight: 600; }
  .plan-rij .tempo { grid-area: tempo; }
  .plan-rij > em { grid-area: status; }
}
/* Op een witte sectie een grijs paneel, anders valt het weg */
.wit .paneel { background: var(--grijs); }
.wit .paneel .tempo { background: var(--lijn); }
