.m29-sterren { display: inline-flex; gap: 1px; align-items: center; }

.m29-ster {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0 1px;
    line-height: 1;
    font-size: 1.05em;
    color: var(--rand, #b9bfc9);
}
.m29-ster.aan { color: var(--accent, #2675bb); }
.m29-ster:hover { color: var(--accent, #2675bb); }
.m29-ster[disabled] { cursor: default; }
.m29-ster[disabled]:hover { color: inherit; }

.m29-taak {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    border: 1px solid var(--rand, #d3d8e0);
    border-radius: 10px;
    margin: 1px 2px 1px 0;
    font-size: .86em;
    white-space: nowrap;
}
.m29-taak.klaar {
    background: #d8f0d8;
    border-color: #3d8b3d;
    color: #1f5c1f;
}
.m29-taak.klaar::before { content: "\2713"; font-weight: 700; }
.m29-taak.cc { border-style: dashed; }
.m29-taak.overtijd { border-color: #c0392b; color: #c0392b; }

.m29-rijp td:first-child { box-shadow: inset 3px 0 0 var(--accent, #2675bb); }

.m29-dicht td { opacity: .6; }

.m29-meetingbalk {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px 10px;
    margin-bottom: 8px;
    border: 1px solid var(--accent, #2675bb);
    border-radius: 4px;
}

.m29-note {
    padding: 6px 0;
    border-bottom: 1px solid var(--rand, #e3e7ec);
}
.m29-note:last-child { border-bottom: 0; }
.m29-note__kop { font-size: .82em; opacity: .75; margin-bottom: 2px; }
.m29-note__tekst { white-space: pre-wrap; }

.m29-logtabel td { font-size: .86em; }

.m29-kort {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}

.m29-inlog {
    max-width: 26rem;
    margin: 8vh auto;
    padding: 2rem;
    border: 1px solid var(--rand, #d3d8e0);
    border-radius: 6px;
    background: var(--vlak, #fff);
}
.m29-inlog__logo { max-height: 2.4rem; margin-bottom: 1rem; }
.m29-inlog h1 { margin: 0 0 1rem; }
.m29-inlog .e-velden { margin-bottom: 1rem; }

.m29-venster {
    width: min(1400px, 92vw);
    max-width: 96vw;
    height: min(860px, 88vh);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    resize: both;
    overflow: auto;
}
.m29-venster .e-dialoog__lijf { flex: 1; overflow: auto; }

.m29-velden {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ruimte, 12px);
    align-items: flex-start;
}
.m29-veld { flex: 1 1 16rem; min-width: 12rem; }
.m29-veld--kort { flex: 0 0 10rem; }
.m29-veld--vol { flex: 1 1 100%; }
.m29-veld > label {
    display: block;
    margin-bottom: 2px;
    font-size: .86em;
    opacity: .8;
}
.m29-veld .e-veld { width: 100%; }
.m29-veld__rij { display: flex; gap: 4px; align-items: center; }
.m29-veld__rij .e-veld { flex: 1; }
.m29-veld__inhoud { padding-top: 4px; }

.m29-omschrijving { min-height: 8rem; resize: vertical; }

.m29-nr, .m29-puntentabel th.m29-nr { text-align: left; }

.m29-puntentabel td { vertical-align: top; }

.m29-teller__getal {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 .35em;
    margin-left: .3em;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.m29-teller--nieuw .m29-teller__getal {
    background: #fff1b8;
    border: 2px solid #d9a400;
    color: #6b4e00;
    font-weight: 700;
}

.m29-teller--bezig .m29-teller__getal {
    background: var(--vlak-2, #eceff3);
    border: 2px solid var(--rand-sterk, #b8c0cc);
    color: var(--tekst-zwak, #4a5261);
    font-weight: 700;
}

.m29-puntentabel thead th { position: sticky; z-index: 3; background: var(--vlak, #fff); }
.m29-puntentabel thead tr:first-child th { top: 0; }
.m29-puntentabel thead tr.e-filterrij th { top: 2.4rem; z-index: 2; }

.m29-puntentabel tbody td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rand, #e3e7ec);
}

.m29-puntentabel tbody td { vertical-align: middle; }
.m29-puntentabel td.m29-omschrijvingcel { vertical-align: top; }
.m29-gecentreerd { text-align: center; }

.m29-breed { max-width: none; width: 100%; }

.m29-pijl {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: .95em;
    color: inherit;
    padding: 2px 4px;
}
.m29-pijl__getal { font-size: .8em; opacity: .7; margin-left: 2px; }

.m29-notesrij > td { padding-top: 0 !important; }
.m29-notesrij .m29-note {
    border-left: 3px solid var(--accent, #2675bb);
    padding-left: 8px;
    border-bottom: 0;
}

.m29-zoek { position: relative; display: flex; align-items: center; }
.m29-zoek .e-teken { position: absolute; left: 8px; opacity: .55; pointer-events: none; }
.m29-zoek .e-veld { padding-left: 30px; min-width: 22em; }

.m29-namen {
    border: 1px solid var(--rand, #e3e7ec);
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: var(--ruimte, 12px);
}
.m29-namen__rij { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 2px 0; }
.m29-namen__kop { width: 2.5em; font-weight: 600; opacity: .8; }

.m29-naam {
    border: 1px solid var(--rand, #d3d8e0);
    border-radius: 10px;
    padding: 1px 8px;
    font-size: .86em;
    cursor: pointer;
}
.m29-naam--cc { border-style: dashed; }
.m29-naam.gekozen {
    background: var(--accent, #2675bb);
    border-color: var(--accent, #2675bb);
    color: #fff;
}

button.m29-taak { cursor: pointer; font-family: inherit; }

.m29-notes {
    border-top: 1px solid var(--rand, #e3e7ec);
    margin-top: var(--ruimte, 12px);
    padding-top: 8px;
}

.m29-gevonden { list-style: none; margin: 4px 0 0; padding: 0; max-height: 14rem; overflow: auto;
    border: 1px solid var(--rand, #d3d8e0); border-radius: 4px; }
.m29-gevonden li + li { border-top: 1px solid var(--rand, #e3e7ec); }
.m29-gevonden__knop {
    display: flex; gap: 6px; align-items: baseline; width: 100%;
    border: 0; background: none; cursor: pointer; text-align: left;
    padding: 4px 8px; font-family: inherit; font-size: .9em;
}
.m29-gevonden__knop:hover { background: var(--vlak-2, #eef3f9); }
.m29-gevonden__naam { opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m29-gekozenartikel { display: inline-block; padding: 4px 0; }

.m29-chip {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--rand, #d3d8e0);
    border-radius: 10px;
    overflow: hidden;
    margin: 1px 2px 1px 0;
    font-size: .86em;
    background: var(--vlak, #fff);
}
.m29-chip.cc { border-style: dashed; }
.m29-chip__naam, .m29-chip__vink {
    border: 0; background: none; cursor: pointer;
    font: inherit; color: inherit; padding: 1px 7px;
}
.m29-chip__naam[disabled] { cursor: default; }
.m29-chip__naam:hover:not([disabled]) { background: var(--vlak-2, #eef3f9); }
.m29-chip__vink { border-left: 1px solid var(--rand, #d3d8e0); opacity: .45; }
.m29-chip__vink:hover { opacity: 1; }

.m29-chip.aan {
    background: #dce9f7;
    border-color: var(--accent, #2675bb);
    color: #10395e;
}
.m29-chip.klaar {
    background: #d8f0d8;
    border-color: #3d8b3d;
    color: #1f5c1f;
}
.m29-chip.klaar .m29-chip__vink { opacity: 1; font-weight: 700; }
.m29-chip.overtijd { border-color: #c0392b; }

.m29-sluitknop {
    margin-left: auto;
    padding: 6px 18px;
    font-weight: 600;
}

.m29-afknop {
    display: inline-block;
    border: 1px solid var(--rand, #d3d8e0);
    border-radius: 4px;
    background: var(--vlak, #fff);
    padding: 3px 10px;
    font: inherit;
    font-size: .86em;
    cursor: pointer;
}
.m29-afknop:hover:not([disabled]) { border-color: var(--accent, #2675bb); }
.m29-afknop[disabled] { opacity: .4; cursor: default; }

.m29-afknop--af {
    background: #d8f0d8;
    border-color: #3d8b3d;
    color: #1f5c1f;
    font-weight: 600;
    cursor: default;
}

.m29-puntentabel tr.m29-dicht td { background: #f4faf4; opacity: 1; }
.m29-puntentabel tr.m29-dicht td:first-child { box-shadow: inset 3px 0 0 #3d8b3d; }

.m29-titelregel { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.m29-titelregel h1 { margin: 0; }
.m29-titelregel .e-onderschrift { margin: 0; }

.m29-lijstvak {
    max-height: calc(100vh - 230px);
    overflow: auto;
}
.m29-lijstvak thead th { position: sticky; z-index: 3; }
.m29-lijstvak thead tr:first-child th { top: 0; }

.m29-lijstvak thead tr.e-filterrij th { top: var(--kophoogte, var(--tabel-regel, 2.4rem)); z-index: 2; }

.m29-puntentabel tbody td {
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
}

.m29-puntentabel td.m29-omschrijvingcel { vertical-align: middle; }

.m29-pijl { font-size: 1.5em; line-height: 1; padding: 0 6px; }
.m29-pijl__getal { font-size: .55em; }

.m29-notesrij > td { padding-top: 0 !important; padding-bottom: 2px !important; }

.m29-notesrij > td.m29-notescel { padding-left: 1.6em !important; }
.m29-noteregel {
    padding: 1px 0;
    line-height: 1.35;
    font-size: .92em;
}
.m29-note__tijd { opacity: .7; font-size: .9em; }
.m29-notesrij .m29-note__tekst {
    border-left: 3px solid var(--accent, #2675bb);
    padding-left: 8px;
    white-space: pre-wrap;
}

.m29-taak.nieuw, .m29-chip.aan:not(.klaar):not(.gezien) {
    background: #fff1b8;
    border-color: #d9a400;
    color: #6b4e00;
}
.m29-taak.bezig, .m29-chip.aan.gezien {
    background: var(--vlak-2, #eceff3);
    border-color: var(--rand-sterk, #b8c0cc);
    color: var(--tekst-zwak, #4a5261);
}
.m29-chip.aan:not(.klaar):not(.gezien) .m29-chip__vink,
.m29-chip.aan:not(.klaar):not(.gezien) .m29-chip__oog { color: #6b4e00; }
.m29-chip__oog {
    border: 0; background: none; cursor: pointer;
    font: inherit; color: inherit; padding: 1px 5px;
    border-left: 1px solid var(--rand, #d3d8e0); opacity: .45; font-size: .9em;
}
.m29-chip__oog:hover { opacity: 1; }
.m29-chip__oog.aan { opacity: 1; }

.m29-taakdatums { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0 2px; font-size: .8em; color: var(--tekst-zwak, #4a5261); }
.m29-taakdatum.nieuw .e-code { color: #6b4e00; }
.m29-taakdatum.klaar .e-code { color: #1f5c1f; }

.m29-taak, .m29-chip {
    min-width: 3.6em;
    justify-content: center;
}
.m29-chip .m29-chip__naam { min-width: 3.2em; text-align: center; }

.m29-chip { padding-right: 0; }
.m29-chip__vink { min-width: 1.6em; }

.m29-naam.gekozen {
    background: rgba(200, 52, 28, .12);
    border-color: rgba(200, 52, 28, .55);
    color: #7a2412;
}

.m29-meetingtegel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #c8341c;
    background: #ffe08a;
    border-radius: var(--hoek, 4px);
    padding: 0 6px;
}
.m29-meetingtegel a { display: inline-flex; align-items: center; gap: 4px; color: #7a2412; }
.m29-meetingtegel__stop {
    border: 1px solid #c8341c; background: #fff; color: #7a2412;
    border-radius: 3px; cursor: pointer; font: inherit; font-size: .8em; padding: 1px 6px;
}

.m29-notes .m29-note {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 3px 0;
    border-bottom: 1px solid var(--rand, #eef1f4);
}
.m29-notes .m29-note__kop { white-space: nowrap; margin: 0; }
.m29-notes .m29-note__tekst { white-space: pre-wrap; flex: 1; }

.m29-ster.aan { color: #c8341c; }
.m29-ster:hover { color: #c8341c; }

.m29-sterren:has(.m29-ster:not([disabled]):hover) .m29-ster:not([disabled]) { color: #c8341c; }
.m29-sterren .m29-ster:not([disabled]):hover ~ .m29-ster:not([disabled]) { color: var(--rand, #b9bfc9); }

.m29-release { font-size: 1.35em; line-height: 1; font-weight: 700; }
.m29-release--ok { color: #3d8b3d; }
.m29-release--wacht { color: #c8341c; }

.m29-release-vak {
    border-top: 1px solid var(--rand, #e3e7ec);
    margin-top: var(--ruimte, 12px);
    padding-top: 8px;
}
.m29-release-gegeven {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    padding: 4px 8px;
    background: #f0f8f0;
    border: 1px solid #3d8b3d;
    border-radius: 4px;
}
.m29-release-gegeven__tekst { flex: 1; white-space: pre-wrap; }

.m29-notesrij .m29-noteregel {
    display: flex;
    gap: 10px;
    align-items: baseline;
    border-top: 1px solid var(--rand, #e3e7ec);
    padding: 2px 0;
}
.m29-notesrij .m29-noteregel:first-child { border-top: 0; }

.m29-noteregel__wie { flex: 0 0 auto; order: 2; margin-left: auto; padding-left: 12px; white-space: nowrap; font-size: .9em; }
.m29-noteregel__tekst { order: 1; }
.m29-noteregel__tekst {
    flex: 1;
    white-space: pre-wrap;
    border-left: 3px solid var(--accent, #2675bb);
    padding-left: 8px;
}

.m29-taak {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 4.6em;
    padding: 1px 4px;
    font-variant-numeric: tabular-nums;
}
.m29-taak::before {
    content: "\2713";
    width: .9em;
    text-align: center;
    visibility: hidden;
    font-weight: 700;
}
.m29-taak.klaar::before { visibility: visible; }
button.m29-taak { cursor: pointer; font: inherit; font-size: .86em; }

.m29-chip { width: 6.6em; }
.m29-chip.cc { width: 5.2em; }
.m29-chip__naam { flex: 1; }
.m29-chip__vink, .m29-chip__oog { width: 1.5em; padding: 1px 0; text-align: center; }
.m29-chip--leeg { padding-right: 2.9em; }
.m29-chip--leeg.cc { padding-right: 1.5em; }

.m29-chip--uit .m29-chip__naam { font-style: italic; }

.m29-lijstvak thead tr:nth-child(1) th { top: 0; }
.m29-lijstvak thead tr:nth-child(2) th { top: var(--kophoogte, 2.4rem); }

.m29-verwijderen { margin-top: 10px; }
.m29-verwijderen > summary { cursor: pointer; color: #c8341c; font-size: .9em; }

.m29-tabel--nauw { width: auto; min-width: 34em; }
.m29-tabel--nauw td, .m29-tabel--nauw th { white-space: nowrap; }

.e-matrixvak { max-height: none; overflow: visible; }
.e-matrix thead th {
    top: var(--vastekop, 96px);
    z-index: 5;
}

.e-matrix__hoek { z-index: 6; }

.m29-artikelen { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.m29-artikel {
    display: inline-flex; align-items: baseline; gap: 5px;
    border: 1px solid var(--rand, #d3d8e0); border-radius: 4px;
    padding: 2px 4px 2px 6px; font-size: .9em; max-width: 34em;
}
.m29-artikel__naam { opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m29-artikel__weg {
    border: 0; background: none; cursor: pointer; color: #c8341c;
    font: inherit; line-height: 1; padding: 0 2px;
}

.m29-trace { margin-bottom: 8px; }
.m29-trace__kop { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
    border-bottom: 1px solid var(--rand, #e3e7ec); padding-bottom: 4px; margin-bottom: 4px; }
.m29-trace__tekst { white-space: pre-wrap; margin-bottom: 6px; }

.m29-voorstelvak { position: relative; }
.m29-voorstel {
    position: absolute; z-index: 20; left: 0; top: 100%; min-width: 26em;
    list-style: none; margin: 2px 0 0; padding: 0; max-height: 16rem; overflow: auto;
    background: var(--vlak, #fff);
    border: 1px solid var(--rand, #d3d8e0); border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.m29-voorstel li + li { border-top: 1px solid var(--rand, #e3e7ec); }
.m29-voorstel__knop {
    display: flex; gap: 6px; align-items: baseline; width: 100%;
    border: 0; background: none; cursor: pointer; text-align: left;
    padding: 4px 8px; font: inherit; font-size: .9em;
}
.m29-voorstel__knop:hover { background: var(--vlak-2, #eef3f9); }
.m29-voorstel__naam { flex: 1; opacity: .75; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }

.m29-bespreken {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 3.4em; padding: 1px 6px; border-radius: 10px;
    border: 1px solid var(--rand, #d3d8e0); font: inherit; font-size: .86em;
    background: var(--vlak, #fff); cursor: pointer;
}
.m29-bespreken.uit { color: var(--tekst-zwak, #8a93a1); border-style: dashed; }
.m29-bespreken.uit:hover { color: var(--accent, #2675bb); border-color: var(--accent, #2675bb); }
.m29-bespreken.aan { background: #dce9f7; border-color: var(--accent, #2675bb); color: #10395e; font-weight: 700; }
span.m29-bespreken { cursor: default; }
.m29-bespreken-vak { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; }

.m29-bespreken.aan.behandeld { background: #d8f0d8; border-color: #3d8b3d; color: #1f5c1f; }
.m29-bespreken.aan.behandeld::before { content: "\2713 "; }
.m29-puntentabel tr.m29-behandeld td { background: #d9dde3; }
.m29-puntentabel tr.m29-behandeld + tr.m29-notesrij td { background: #e3e6ea; }
.m29-kolomknop { padding: 1px 8px; font-size: .86em; }

.m29-noteplus { border: 0; background: none; cursor: pointer; font-size: 1.05em;
                line-height: 1; padding: 0 .25em; color: var(--kleur-rand-donker, #8a9099); }
.m29-noteplus:hover { color: var(--kleur-accent); }
.m29-notesknoppen { white-space: nowrap; }
.m29-notenieuw { margin-top: .25em; }
.m29-notenieuw .e-veld { width: 100%; font-size: .95em; padding: .2em .4em; }

.m29-lijstvlak { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ruimte); align-items: start; }
.m29-lijstvlak--balk { grid-template-columns: var(--catbalk-breedte, 210px) minmax(0, 1fr); position: relative; }
.m29-catbalk { display: flex; flex-direction: column; gap: 6px; min-width: 0;
               border: 1px solid var(--kleur-rand); border-radius: var(--rond);
               background: var(--kleur-vlak); padding: 8px; max-height: 70vh; overflow: auto; }
.m29-catzoek { font-size: .95em; padding: .2em .4em; }
.m29-catlijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.m29-catknop { display: flex; width: 100%; gap: .5em; align-items: baseline; justify-content: space-between;
               border: 0; background: none; font: inherit; text-align: left; cursor: pointer;
               padding: .25em .4em; border-radius: var(--rond); color: inherit; }
.m29-catknop:hover { background: var(--kleur-zweef, rgba(0,0,0,.05)); }
.m29-catknop.actief { background: var(--kleur-accent); color: #fff; font-weight: 600; }
.m29-catknop__naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m29-catknop__aantal { font-size: .85em; opacity: .75; font-variant-numeric: tabular-nums; }
.m29-greep { position: absolute; top: 0; bottom: 0; width: 9px; cursor: col-resize; z-index: 2;
             touch-action: none; left: calc(var(--catbalk-breedte, 210px) + 1px); }
.m29-greep::after { content: ''; position: absolute; top: 0; bottom: 0; left: 3px; width: 3px;
                    border-radius: 2px; background: transparent; transition: background .1s; }
.m29-greep:hover::after, .m29-greep.sleept::after { background: var(--kleur-accent); }
body.m29-sleept { cursor: col-resize; user-select: none; }
@media (max-width: 900px) {
  .m29-lijstvlak--balk { grid-template-columns: minmax(0, 1fr); }
  .m29-greep { display: none; }
  .m29-catbalk { max-height: 30vh; }
}
