/* Concerten-dashboard. Huisstijl van milkshakemarketing.nl:
   Avenir, magenta #FF178B, ink #2F4050, lichtgrijs #F0EFF0, afgeronde hoeken.
   De statuskleuren (groen, amber, rood) staan niet in de huisstijl en zijn functioneel toegevoegd. */

@font-face { font-family: 'Avenir'; src: url('fonts/Avenir-Roman.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('fonts/Avenir-Heavy.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --magenta: #FF178B;
  --magenta-dark: #D4006F;
  --ink: #2F4050;
  --ink-deep: #243240;
  --body-text: #2E2D2D;
  --text-muted: #5F6670;
  --grey: #F0EFF0;
  --grey-lijn: #E2E1E3;
  --white: #FFFFFF;
  --radius-s: 12px;
  --radius: 20px;

  --st-open-bg: #F0EFF0;      --st-open-fg: #2F4050;
  --st-bezig-bg: #FFE3F1;     --st-bezig-fg: #B0005B;
  --st-wacht-bg: #FFF1D6;     --st-wacht-fg: #7A4A00;
  --st-klaar-bg: #DDF3E7;     --st-klaar-fg: #17623E;
  --rood: #C62828;            --rood-bg: #FDE8E8;
  --groen: #17623E;
  --focus: 0 0 0 3px rgba(255, 23, 139, .35);
  --schaduw: 0 1px 2px rgba(47, 64, 80, .08), 0 4px 14px rgba(47, 64, 80, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grey); color: var(--body-text);
  font-family: 'Avenir', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.45;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; }
a { color: var(--magenta-dark); }
.muted { color: var(--text-muted); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- kop en navigatie ---------- */
.kop { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 20; }
.kop-binnen { max-width: 1560px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kop-merk { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.kop-merk img { display: block; height: 44px; width: auto; }
.kop-titel { font-weight: 700; font-size: 1.05rem; padding-left: 12px; border-left: 2px solid var(--magenta); }
.nav { display: flex; gap: 4px; overflow-x: auto; flex: 1 1 420px; scrollbar-width: none; order: 3; width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: #D5DBE2; text-decoration: none; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: .95rem;
}
.nav a:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.nav a[aria-current="page"] { background: var(--magenta); color: var(--white); }
.kop-gebruiker { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.kop-naam { font-size: .9rem; color: #D5DBE2; }
@media (min-width: 1100px) { .nav { order: 0; width: auto; } }

.hoofd { max-width: 1560px; margin: 0 auto; padding: 20px 16px 40px; outline: none; }
.voet { max-width: 1560px; margin: 0 auto; padding: 0 16px 28px; color: var(--text-muted); font-size: .85rem; }

/* ---------- knoppen en formulieren ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px; padding: 9px 18px; font-weight: 700; text-decoration: none;
  background: var(--white); color: var(--ink); transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  min-height: 42px;
}
.btn:hover { border-color: var(--ink); }
.btn-primair { background: var(--magenta); color: var(--white); }
.btn-primair:hover { background: var(--magenta-dark); border-color: var(--magenta-dark); }
.btn-donker { background: var(--ink); color: var(--white); }
.btn-donker:hover { background: var(--magenta); border-color: var(--magenta); }
.btn-licht { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-licht:hover { border-color: var(--white); }
.btn-gevaar { background: var(--white); color: var(--rood); border-color: var(--rood); }
.btn-gevaar:hover { background: var(--rood); color: var(--white); }
.btn.klein { min-height: 34px; padding: 5px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%; border: 2px solid var(--grey-lijn); background: var(--white); border-radius: var(--radius-s);
  padding: 9px 12px; min-height: 42px;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { border-color: var(--magenta); outline: none; box-shadow: var(--focus); }
input[disabled], select[disabled], textarea[disabled] { background: var(--grey); color: var(--text-muted); }

.melding { padding: 10px 14px; border-radius: var(--radius-s); margin: 12px 0; }
.melding.fout { background: var(--rood-bg); color: var(--rood); }
.melding.info { background: var(--white); border: 2px solid var(--grey-lijn); }

/* ---------- kaarten, werkbalken, filters ---------- */
.kaart { background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 18px; margin-bottom: 18px; }
.kaart > h2:first-child, .kaart > h3:first-child { margin-top: 0; }
.kop-rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.kop-rij h1, .kop-rij h2 { margin: 0; }
.acties { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: var(--white); padding: 12px 14px; border-radius: var(--radius); box-shadow: var(--schaduw); margin-bottom: 16px; }
.filters .veld { display: flex; flex-direction: column; min-width: 130px; flex: 1 1 140px; }
.filters label { margin: 0 0 3px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.filters select, .filters input { min-height: 38px; padding: 6px 10px; }
.schakelaar { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--grey); user-select: none; min-height: 38px; }
.schakelaar input { width: 18px; height: 18px; min-height: 0; accent-color: var(--magenta); margin: 0; }
.schakelaar.aan { background: var(--magenta); color: var(--white); }

/* ---------- badges en statussen ---------- */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--grey); color: var(--ink); white-space: nowrap; }
.badge.c-Top2000 { background: var(--ink); color: var(--white); }
.badge.c-ABBA { background: var(--magenta); color: var(--white); }
.badge.c-Beide { background: var(--ink); color: var(--white); box-shadow: inset -14px 0 0 var(--magenta); }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-Open { background: var(--st-open-bg); color: var(--st-open-fg); }
.s-Bezig { background: var(--st-bezig-bg); color: var(--st-bezig-fg); }
.s-Wacht { background: var(--st-wacht-bg); color: var(--st-wacht-fg); }
.s-Klaar { background: var(--st-klaar-bg); color: var(--st-klaar-fg); }
select.status-kies { width: auto; min-height: 34px; padding: 3px 28px 3px 10px; font-weight: 700; font-size: .85rem; border-radius: 999px; border-width: 2px; }
select.status-kies.s-Open { border-color: #BCBCBC; }
select.status-kies.s-Bezig { border-color: var(--magenta); }
select.status-kies.s-Wacht { border-color: #D99A1F; }
select.status-kies.s-Klaar { border-color: #4DAF82; }

.status-knoppen { display: flex; gap: 6px; flex-wrap: wrap; }
.status-knoppen button { border: 2px solid var(--grey-lijn); background: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; min-height: 38px; }
.status-knoppen button[aria-pressed="true"].s-Open { background: var(--st-open-bg); border-color: #8C94A0; }
.status-knoppen button[aria-pressed="true"].s-Bezig { background: var(--st-bezig-bg); border-color: var(--magenta); color: var(--st-bezig-fg); }
.status-knoppen button[aria-pressed="true"].s-Wacht { background: var(--st-wacht-bg); border-color: #D99A1F; color: var(--st-wacht-fg); }
.status-knoppen button[aria-pressed="true"].s-Klaar { background: var(--st-klaar-bg); border-color: #4DAF82; color: var(--st-klaar-fg); }

.datum-label { font-size: .85rem; color: var(--text-muted); white-space: nowrap; }
.te-laat { color: var(--rood); font-weight: 700; }

/* ---------- tabellen ---------- */
.tabel-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); }
table.tabel { width: 100%; border-collapse: collapse; min-width: 720px; }
.tabel th, .tabel td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey-lijn); vertical-align: top; }
.tabel th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); background: #FAF9FA; position: sticky; top: 0; white-space: nowrap; }
.tabel th button { all: unset; cursor: pointer; font-weight: 700; }
.tabel th button:hover { color: var(--magenta-dark); }
.tabel tr:last-child td { border-bottom: 0; }
.tabel tbody tr.klikbaar { cursor: pointer; }
.tabel tbody tr.klikbaar:hover td { background: #FFF5FA; }
.tabel tr.klaar td.titel-cel { color: var(--text-muted); text-decoration: line-through; }
.tabel td.getal, .tabel th.getal { text-align: right; font-variant-numeric: tabular-nums; }
.tabel tfoot td { font-weight: 700; background: #FAF9FA; }
.titel-cel { min-width: 260px; max-width: 560px; }
.leeg { padding: 28px; text-align: center; color: var(--text-muted); background: var(--white); border-radius: var(--radius); }

/* ---------- Vandaag ---------- */
.groep { margin-bottom: 22px; }
.groep h2 { display: flex; align-items: center; gap: 10px; }
.groep .teller { font-size: .85rem; background: var(--ink); color: var(--white); border-radius: 999px; padding: 1px 10px; }
.groep.laat h2 { color: var(--rood); } .groep.laat .teller { background: var(--rood); }
.taak-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.taak-rij { background: var(--white); border-radius: var(--radius-s); box-shadow: var(--schaduw); padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; border-left: 6px solid var(--grey-lijn); }
.taak-rij.laat { border-left-color: var(--rood); }
.taak-rij.vandaag { border-left-color: var(--magenta); }
.taak-rij .titel { font-weight: 700; color: var(--ink); cursor: pointer; background: none; border: 0; text-align: left; padding: 0; }
.taak-rij .titel:hover { color: var(--magenta-dark); }
.taak-rij .meta { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--text-muted); }
@media (max-width: 640px) { .taak-rij { grid-template-columns: 1fr; } }

/* ---------- bord ---------- */
.bord { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.kolom { background: #E7E6E8; border-radius: var(--radius); padding: 10px; min-height: 160px; }
.kolom.over { outline: 3px dashed var(--magenta); outline-offset: -3px; }
.kolom h3 { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 8px; margin: 0; }
.kolom .teller { font-size: .85rem; color: var(--text-muted); }
.kaartje { background: var(--white); border-radius: var(--radius-s); padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--schaduw); cursor: grab; border-left: 5px solid var(--grey-lijn); }
.kaartje.sleept { opacity: .4; }
.kaartje .titel { font-weight: 700; color: var(--ink); cursor: pointer; background: none; border: 0; padding: 0; text-align: left; display: block; margin-bottom: 6px; }
.kaartje .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.kaartje select { min-height: 32px; padding: 2px 8px; font-size: .85rem; }
@media (max-width: 900px) { .bord { grid-template-columns: repeat(4, 80vw); scroll-snap-type: x mandatory; } .kolom { scroll-snap-align: start; } }

/* ---------- weekkalender ---------- */
.week-wrap { overflow: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); max-height: calc(100vh - 230px); }
.week-raster { display: grid; min-width: max-content; }
.week-raster > div { border-right: 1px solid var(--grey-lijn); border-bottom: 1px solid var(--grey-lijn); padding: 6px; min-width: 0; }
.week-kop { background: #FAF9FA; position: sticky; top: 0; z-index: 3; font-weight: 700; color: var(--ink); text-align: center; }
.week-kop small { display: block; font-weight: 400; color: var(--text-muted); }
.week-kop.nu { background: var(--magenta); color: var(--white); } .week-kop.nu small { color: var(--white); }
.week-rij-kop { position: sticky; left: 0; z-index: 2; background: #FAF9FA; font-weight: 700; color: var(--ink); font-size: .9rem; }
.week-hoek { position: sticky; left: 0; top: 0; z-index: 4; background: #FAF9FA; }
.week-cel { display: flex; flex-direction: column; gap: 4px; }
.week-cel.nu { background: #FFF7FB; }
.chip { display: block; width: 100%; text-align: left; border: 0; border-left: 5px solid var(--grey-lijn); border-radius: 8px; background: var(--grey); padding: 5px 7px; cursor: pointer; font-size: .8rem; line-height: 1.3; color: var(--ink); }
.chip:hover { box-shadow: 0 0 0 2px var(--magenta); }
.chip .dag { display: block; font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.chip .chip-titel { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip.s-Open { border-left-color: #8C94A0; background: var(--st-open-bg); }
.chip.s-Bezig { border-left-color: var(--magenta); background: var(--st-bezig-bg); }
.chip.s-Wacht { border-left-color: #D99A1F; background: var(--st-wacht-bg); }
.chip.s-Klaar { border-left-color: #4DAF82; background: var(--st-klaar-bg); color: var(--text-muted); }
.chip.laat { box-shadow: inset 0 0 0 2px var(--rood); }
.chip.s-Klaar .chip-titel { text-decoration: line-through; }
.zonder-datum { margin-top: 16px; }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 10px; align-items: center; }

/* ---------- verkoop en scenario's ---------- */
.balk { background: var(--grey); border-radius: 999px; height: 12px; min-width: 90px; overflow: hidden; position: relative; }
.balk > span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.balk.hoog > span { background: var(--magenta); }
.pct-cel { min-width: 150px; }
.pct-cel b { display: block; }
.klein-tekst { font-size: .82rem; color: var(--text-muted); }
.stand-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.stand-chip { font-size: .8rem; background: var(--grey); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.stand-chip.ja { background: var(--st-klaar-bg); color: var(--st-klaar-fg); }
.stand-chip.nee { background: var(--rood-bg); color: var(--rood); }
.uitkomst { font-weight: 700; }
.uitkomst.gehaald { color: var(--groen); } .uitkomst.niet_gehaald { color: var(--rood); } .uitkomst.onbekend { color: var(--text-muted); }
.actie-nodig { display: inline-block; margin-top: 4px; background: var(--magenta); color: var(--white); border-radius: 999px; padding: 1px 10px; font-size: .78rem; font-weight: 700; }
.raster-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ---------- modal ---------- */
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 20px 60px rgba(20, 28, 36, .35); color: var(--body-text); }
dialog::backdrop { background: rgba(20, 28, 36, .55); }
.modal-binnen { padding: 20px; display: flex; flex-direction: column; max-height: calc(100vh - 24px); overflow: auto; }
.modal-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-kop h2 { margin: 0; }
.sluit { all: unset; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: 4px 10px; border-radius: 999px; color: var(--ink); }
.sluit:hover { background: var(--grey); }
.rij-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .rij-2 { grid-template-columns: 1fr; } }
.modal-voet { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.historie { margin-top: 22px; border-top: 2px solid var(--grey); padding-top: 12px; }
.historie ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: .88rem; display: grid; gap: 6px; max-height: 190px; overflow: auto; }
.historie li { color: var(--text-muted); }
.historie b { color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 30px); background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all 250ms ease; z-index: 50; max-width: calc(100vw - 32px); }
.toast.zichtbaar { opacity: 1; transform: translate(-50%, 0); }
.toast.fout { background: var(--rood); }

/* ---------- inlogpagina ---------- */
.login-pagina { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-kaart { background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 32px; width: min(420px, 100%); }
.login-kaart .btn { width: 100%; margin-top: 20px; }
.login-logo { display: block; height: 56px; width: auto; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .kop, .filters, .voet, .acties { display: none; } body { background: #fff; } }

/* ---------- overzicht: campagnes over tijd ---------- */
:root {
  --k-winactie: #FF178B;  --k-winactie-tekst: #FFFFFF;
  --k-ads: #2F4050;       --k-ads-tekst: #FFFFFF;
  --k-aanbod: #F2B01E;    --k-aanbod-tekst: #2F4050;
  --k-achterban: #5F7A94; --k-achterban-tekst: #FFFFFF;
  --k-content: #BCC8D4;   --k-content-tekst: #2F4050;
  --k-offline: #FFFFFF;   --k-offline-tekst: #5F6670;
  --k-organisch: #DDE7E0; --k-organisch-tekst: #2F4050;
}
.tl-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); }
.tl { min-width: max-content; }
.tl-rij { display: flex; border-bottom: 1px solid var(--grey-lijn); min-height: 38px; }
.tl-label { flex: 0 0 250px; position: sticky; left: 0; z-index: 4; background: var(--white); padding: 9px 12px; font-size: .88rem; font-weight: 700; color: var(--ink);
  border-right: 2px solid var(--grey-lijn); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-spoor { position: relative; flex: 0 0 auto; background-image: linear-gradient(to right, var(--grey-lijn) 1px, transparent 1px); }
.tl-kop { position: sticky; top: 0; z-index: 6; background: #FAF9FA; min-height: 54px; }
.tl-kop .tl-label { background: #FAF9FA; color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; align-self: end; }
.tl-kopspoor { background-image: none; height: 54px; }
.tl-maand { position: absolute; top: 0; height: 28px; padding: 5px 8px; font-weight: 700; color: var(--ink); text-transform: capitalize; border-left: 1px solid var(--grey-lijn); white-space: nowrap; overflow: hidden; }
.tl-week { position: absolute; top: 28px; height: 26px; padding: 4px 0 0 6px; font-size: .75rem; color: var(--text-muted); border-left: 1px solid var(--grey-lijn); }
.tl-groep { margin-bottom: 0; }
.tl-groepkop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--grey); border-bottom: 1px solid var(--grey-lijn); position: sticky; left: 0; }
.tl-groepkop h2 { margin: 0; font-size: 1.1rem; }

.tl-concertdag { position: absolute; top: 0; bottom: 0; background: rgba(255, 23, 139, .09); }
.tl-concertrij .tl-concertdag { background: rgba(255, 23, 139, .18); }
.tl-vandaag { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--magenta); z-index: 2; pointer-events: none; }

.tl-balk { position: absolute; top: 7px; height: 24px; border-radius: 7px; font-size: .75rem; font-weight: 700; line-height: 24px; padding: 0 8px; overflow: hidden; white-space: nowrap; z-index: 1; }
.tl-balk span { display: block; overflow: hidden; text-overflow: ellipsis; }
.tl-balk.ruit { top: 10px; height: 18px; width: 18px !important; margin-left: -1px; padding: 0; border-radius: 3px; transform: rotate(45deg) scale(.8); }
.tl-naast { position: absolute; top: 9px; font-size: .75rem; font-weight: 700; color: var(--ink); white-space: nowrap; z-index: 1; pointer-events: none; }
.k-winactie { background: var(--k-winactie); color: var(--k-winactie-tekst); }
.k-ads { background: var(--k-ads); color: var(--k-ads-tekst); }
.k-aanbod { background: var(--k-aanbod); color: var(--k-aanbod-tekst); }
.k-achterban { background: var(--k-achterban); color: var(--k-achterban-tekst); }
.k-content { background: var(--k-content); color: var(--k-content-tekst); }
.k-organisch { background: var(--k-organisch); color: var(--k-organisch-tekst); }
.k-offline { background: var(--k-offline); color: var(--k-offline-tekst); border: 2px dashed #8C94A0; line-height: 20px; }
.tl-balk.onzeker { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 5px, transparent 5px 10px); border: 2px dashed #8C94A0; line-height: 20px; }

.tl-markering { position: absolute; border: 0; padding: 0; cursor: pointer; z-index: 3; }
.tl-concert { top: 5px; height: 28px; border-radius: 7px; background: var(--magenta); color: var(--white); font-size: .66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: visible; white-space: nowrap; }
.tl-concert:hover { background: var(--magenta-dark); }
.tl-mail { top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
.tl-mail.klaar { background: var(--groen); border-color: var(--groen); }
.tl-mail:hover { transform: scale(1.35); }
.tl-check { top: 10px; height: 18px; width: 18px !important; margin-left: -1px; background: var(--white); border: 3px solid var(--ink); border-radius: 3px; transform: rotate(45deg) scale(.78); }
.tl-check.nodig { background: var(--magenta); border-color: var(--magenta); }

.tl-legenda { padding: 10px 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--schaduw); margin-bottom: 14px; gap: 8px 18px; }
.tl-leg { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; }
.tl-blokje { display: inline-block; width: 26px; height: 14px; border-radius: 5px; }
.tl-blokje.k-offline { border: 2px dashed #8C94A0; }
.tl-concert-blok { background: var(--magenta); }
.tl-stip { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); background: var(--white); }
.tl-ruitje { display: inline-block; width: 11px; height: 11px; border: 3px solid var(--ink); transform: rotate(45deg); margin: 0 2px; }
.tl-lijntje { display: inline-block; width: 3px; height: 16px; background: var(--magenta); }

.tl-links { color: var(--magenta-dark); }
