.won .r8sectie {margin:16px 0}
.won .r8sectie .rijen {margin-top:10px}
.r8form {display:grid;gap:12px;margin:14px 0;max-width:36rem;min-width:0}
.r8form label {display:grid;gap:4px;font-size:.88rem}
.r8form input,.r8form textarea,.r8form select {box-sizing:border-box;min-width:0;max-width:100%;padding:8px;font:inherit;color:inherit;background:var(--rij,Canvas);border:1px solid var(--lijn,GrayText);border-radius:8px}
.r8form textarea {min-height:5rem}
.r8form button {justify-self:start}
.won [hidden],button.geldtonen[hidden]{display:none!important}
.won details>summary {cursor:pointer;overflow-wrap:anywhere}
.won .r8sectie li>details {padding:10px 0}
.won .r8sectie summary span {color:var(--grijs)}
.won.beheer .kop {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.won.beheer li {list-style:none}
.won.beheer .tegel {min-width:0}
.won.beheer .rijen li>div,.won.beheer .rijen li>a {min-width:0}
.won.beheer .fdetail .tegel {overflow-wrap:anywhere}
.won.beheer input {max-width:100%;min-width:0;box-sizing:border-box}
:where(.won,.borddetail) :is(a,button,summary):focus-visible {outline:2px solid currentColor;outline-offset:2px}


#app .ph-grens{opacity:1;background:#777}
html[data-thema="donker"] #app .pvve section,html[data-thema="donker"] #app .pvve .pvrij{background:#191a1c}
#app .pschak {border:1px solid #777}
#zijpaneel .pacc .pschak::after,#zijpaneel .pacc .pschak::before {max-height:20px;max-width:20px;min-height:0;min-width:0}
.fotokeuze {position:relative}
.fotokeuze input {position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.fotokeuze:focus-within{outline:2px solid currentColor}
html body #app .number-card .labelstaaf [data-label=A]{background:#00a651!important}
html body #app .number-card .labelstaaf [data-label=B]{background:#50b848!important}
html body #app .number-card .labelstaaf [data-label=C]{background:#bed630!important}
html body #app .number-card .labelstaaf [data-label],html body #app .number-card .labelstaaf [data-label] *{color:#000!important}
html .won,html[data-thema="donker"] .won {--la:var(--pf-accent);--lb:#50b848;--lc:#bed630;--labeltekst:white}
html:not([data-thema="donker"]) :is(.nnieuw,.nieuwenotitie,.notitie-invoer) input::placeholder {color:#64646a;opacity:1}
.zoeklijst,.board-answer:has(.flow-hit){max-height:min(55dvh,26rem);overflow-y:auto;padding-bottom:12px!important}
@media(max-width:620px){.won.beheer{padding:18px 12px 80px;max-width:100%;box-sizing:border-box}
.won.beheer .raster,.won.beheer .fdetail {grid-template-columns:minmax(0,1fr)}
.won .r8sectie{min-width:0}
#app .quick-slot {white-space:normal;max-width:100%}}

.agkop { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.agkop .agnr { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--inkt); margin: 0; }
.agkop .agdm { display: grid; } .agkop .agwd { margin: 0; font-size: 15px; line-height: 19px; font-weight: 600; color: var(--inkt); } .agkop .agmnd2 { margin: 0; font-size: 13px; line-height: 17px; color: var(--grijs); }
.agweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 0 0 16px; text-align: center; font-variant-numeric: tabular-nums; }
.agweek span { display: grid; justify-items: center; gap: 1px; padding: 4px 0 3px; border-radius: 9px; }
.agweek em { font-style: normal; font-size: 10px; line-height: 12px; color: var(--grijs); }
.agweek b { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--inkt); }
.agweek span.voor b { color: var(--grijs); opacity: .6; }
.agweek span.nu { background: var(--inkt); } .agweek span.nu em, .agweek span.nu b { color: var(--papier); }
.agweek i { display: flex; gap: 2px; height: 4px; } .agweek u { display: block; width: 4px; height: 4px; border-radius: 2px; background: var(--inkt); }


#app .r8agenda .agenda-inhoud {display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;background:var(--regelkaart,#f8f8f9);border-radius:12px;padding:8px}
#app .r8agenda .agdagen {display:flex;flex-direction:column;min-height:0;gap:6px;overflow:hidden}
#app .r8agenda .agdagen>li {display:block;flex:none;min-height:0;background:#fff;border-radius:12px}
#app .r8agenda .agdagen a {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;text-decoration:none;color:inherit;font-size:13px}
#app .r8agenda .agdagen a span {min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#app .r8agenda .agdagen time {color:var(--grijs);white-space:nowrap;font-size:12px}
html[data-thema="donker"] #app .r8agenda .agdagen>li{background:#1b1c1e}
#app .r8agenda[data-size=s] .agweek,#app .r8agenda[data-size=s] .agdagen li~li {display:none}
#app .quick-slot:has([data-verzoek-intrekken]) {display:flex;flex-wrap:wrap;align-items:center;gap:4px}
#app .quick-slot:has([data-verzoek-intrekken])::before,#app .quick-slot:has([data-verzoek-intrekken])::after {display:none}
#app .quick-slot small {white-space:normal}
html:not([data-thema="donker"]) :is(.zij,.zijbalk) .nieuwe .nt,html:not([data-thema="donker"]) #app .note-new .note-edit::before {color:#68686e!important;opacity:1!important}
#app .won.beheer{box-sizing:border-box;max-width:100%;min-width:0}
.won .r8bankzoek {display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0}
@media(max-width:620px){#app .won.beheer .auto3{width:auto;flex-wrap:wrap}
#app .won.beheer .auto3 button {width:auto;min-width:0;padding:4px 7px}
#app .won.beheer li:has(.auto3)>div {display:flex;flex-wrap:wrap}}

.won li:has(.krij) {height:auto!important;min-height:0!important}
.won li:has(.krij)>div {height:auto!important;min-height:48px;align-items:flex-start}
.won li:has(.krij) .r {white-space:normal;min-width:0}
.won li:has(.krij) details[open] {max-width:24rem}
@media(max-width:600px){.won li:has(.krij)>div:has(details[open]){display:grid!important;grid-template-columns:1fr}.won li:has(.krij) details[open]{text-align:left}}

#app .won.beheer ul.rijen:has(>li .krij){display:block!important}
#app .won.beheer ul.rijen:has(>li .krij)>li{display:block!important;position:static!important}
html[data-thema="donker"] #app .r8agenda .agenda-inhoud{background:#0f1011}

#app .won.beheer .rijen.lijnen {display:block}

html[data-thema=donker] body .bord :is(.eustaaf,.tags,.ptags) .ea{background:#00a651!important}
html[data-thema=donker] body .bord :is(.eustaaf,.tags,.ptags) .eb{background:#50b848!important}
html[data-thema=donker] body .bord :is(.eustaaf,.tags,.ptags) .ec{background:#bed630!important}
html[data-thema=donker] body .bord :is(.eustaaf,.tags,.ptags) :is(.ea,.eb,.ec,.ea *,.eb *,.ec *){color:#000!important}

#zijpaneel .flow-message::before,#zijpaneel .flow-message::after {content:none}
#zijpaneel .flow-message {padding-left:14px}
#zijpaneel .flowinvoer>[data-flow-icon]{width:16px;height:16px;margin-left:8px;flex:none}
#app .r8agenda[data-size=m] .agdagen>li:nth-child(n+4){display:none}

#app .quick-slot .quick-button {position:relative}
#app .quick-slot:has([data-verzoek-intrekken]) .quick-button::after {content:none}
#app .quick-slot:has([data-verzoek-intrekken]) .quick-button {min-height:36px}

html body #app .ml-prio {display:inline-block;padding:1px 6px;border-radius:5px;font-size:11px;font-style:normal;line-height:1.4;background:#000!important;color:#fff!important}
#app .won .r.rood {background:transparent!important;color:var(--rood,#c62034)!important}
html[data-thema=donker] body #app .pvve .grijen.pvrij,html[data-thema=donker] body #app .pvve section {background:#191a1c!important}
#app .pvrij>li {position:relative}
#app .pvrij .gtext a::after {content:"";position:absolute;inset:0}
#app .pvrij .pchk {position:relative;z-index:1}
html[data-thema=donker] body #app .vandaagbord :is(.work-approve,.paint-link) {background:#000!important;color:#fff!important}
html body #app .won .ctvak i.leeg {background:transparent!important;box-shadow:inset 0 0 0 1.5px var(--grijs)}
html body #app .paint-card[data-size=l] .wgroot {min-height:0;overflow:hidden}
html body #app .paint-card[data-size=l] .wgroot .grijen {min-height:0;overflow-y:auto}
html body #app .paint-card[data-size=l] .wgroot .grijen li {display:flex!important}
html body #app .r9-eerste {white-space:normal;font-size:14px;line-height:1.3;color:var(--inkt);margin:6px 0}
@media(max-width:760px){#app .board-question.open>.flow-suggestions {display:block;z-index:12;top:100%;pointer-events:auto;background:var(--regelkaart,#fff);opacity:1}
#app .board-question.open .flow-suggestions button {opacity:1}}
html body #app .won .la,html body #app .won .la *,html body #app .row-labels>span:has(i[data-label="A"]),html body #app .row-labels i[data-label="A"] {color:#000!important;background-color:#00a651!important}
html body #app .won .lb,html body #app .won .lb *,html body #app .row-labels>span:has(i[data-label="B"]),html body #app .row-labels i[data-label="B"] {color:#000!important;background-color:#50b848!important}
html body #app .won .lc,html body #app .won .lc *,html body #app .row-labels>span:has(i[data-label="C"]),html body #app .row-labels i[data-label="C"] {color:#000!important;background-color:#bed630!important}

@media(hover:hover){
  html body :is(.vverijen,.ct-lijst,.pvrij,.v2-rows,.rijen.lijnen)>li:has(a):hover :is(.t,strong,b,.ct-pijl,.pijl,.gtext a,.ml-t) {color:var(--grijs,#646469)!important}
}
html body :is(.vverijen,.ct-lijst,.pvrij,.v2-rows,.rijen.lijnen) a:focus-visible {outline:2px solid currentColor;outline-offset:-2px}

html body .won input[data-bedragzichtbaar]{-webkit-text-security:none!important}


html body .won :is(.label,.vd,.groot-label)[class*=" la+"],html body .row-labels :is(span,i)[data-label^="A"] {background-color:#00a651!important;color:#000!important}
html body .won :is(.label,.vd,.groot-label).ld,html body .row-labels :is(span,i)[data-label="D"] {background-color:#fff200!important;color:#000!important}
html body .won :is(.label,.vd,.groot-label).le,html body .row-labels :is(span,i)[data-label="E"] {background-color:#fdb913!important;color:#000!important}
html body .won :is(.label,.vd,.groot-label).lf,html body .row-labels :is(span,i)[data-label="F"] {background-color:#f37021!important;color:#000!important}
html body .won :is(.label,.vd,.groot-label).lg,html body .row-labels :is(span,i)[data-label="G"] {background-color:#ed1c24!important;color:#000!important}

#app .ct-pijl {color:#737379}
html[data-thema="donker"] #app .ct-pijl {color:#a8a8af}
@media (hover:hover) {
  html[data-thema="donker"] body #app .pvrij>li:hover :is(.t,strong,b,.gtext a) {color:#c9c9cf!important}
}
html body #app nav a:focus-visible,html body #app .zij a:focus-visible {outline:2px solid currentColor!important;outline-offset:-3px}

html body .won [data-saldo]+.geldtonen {height:26px!important;min-height:26px!important;width:90px;box-sizing:border-box;padding:0 4px!important;font-size:12px}
#app .unit-rent a {color:inherit;text-decoration:none}

#app .rentgrid .v2-head small {white-space:normal;min-width:0;text-align:right}


.r11-feiten { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.r11-kop { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; }
.r11-kop .r8stand, .receipt-link .r8stand { font-size: 12px; font-weight: 400; white-space: nowrap; }
.r11-kop .r11-feiten { margin-inline-start: auto; }
#app .receipt-link > span:has(.r8stand) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
#app :is(.ct-kaart, .ct-lijst a) > .r11-chips, .won .ctkaart > .r11-chips { display: inline-flex; flex: none; flex-direction: column; align-items: end; gap: 2px; }
#app :is(.ct-kaart, .ct-lijst a, .won:not(.beheer)) .hchip { padding: 1px 7px; border-radius: 10px; background: var(--inkt); color: var(--papier); font-size: 12px; }
.r11-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.won .fbalken .r11-adressen { display: flex; flex-wrap: wrap; column-gap: 8px; }
.won small.r11-formaten { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 760px) {
  .won .r11-hstatus, .won .r11-hstatus .hmob { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .won small.r11-formaten { justify-content: flex-start; }
}
#app .ct-sub .bmcel { display: grid; }
.ct-sub .bmcel b { font-weight: 500; }


html body .won .rekseg .brekk, html body .won .brekk.rekplus { min-width:44px; min-height:44px; }
html body :is(.won,.won.beheer) .hstrook { display:grid; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)); gap:4px; }
html body :is(.won,.won.beheer) .hstrook a { display:flex; gap:6px; align-items:center; padding:4px 6px; box-sizing:border-box; min-height:44px; min-width:44px; border-radius:7px; font-size:12px; background:var(--rij); color:var(--inkt); box-shadow:none; }
.won .hstrook a::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--pf-accent); flex:none; }
.won .hstrook a.hopen::before { background:#bd4b00; }
.won .hstrook a.honb::before { background:none; border:1px solid currentColor; }
html[data-thema=donker] .won .hstrook a.hok::before { background:#30d158; }
html:root body .tk-lijst > li.tk-rij:has(> .tk-dossier) { grid-template-columns:44px minmax(0, 1fr) auto !important; }
.won .tk-dossier { display:grid; place-items:center; width:44px; height:44px; color:inherit; font-size:22px; }
.won .bankbron { overflow-wrap:anywhere; }
.won .akkoordgrens { flex-basis:100%; }
html body .won .vd:has(>.hchip) { flex-wrap:wrap; height:auto; min-height:34px; overflow:visible; }
html body .won .vd>.hchip { display:inline-block; font-size:10px; font-weight:600; line-height:1.4; padding:0 4px; border-radius:5px; background:#fff; color:#0b0f19; }
html[data-thema] body .won, html body .won.beheer { --la:#00a651; --lb:#50b848; --lc:#bed630; --labeltekst:#000; }
html body :is(.won,.won.beheer) :is(.vd,.label,.groot-label):is(.la,.lb,.lc,.ld,.le,.lf,.lg,[class*=" la+"]),
html body :is(.won,.won.beheer) :is(.vd,.label,.groot-label):is(.la,.lb,.lc,.ld,.le,.lf,.lg,[class*=" la+"]) em,
html[data-thema] body :is(.eustaaf,.tags,.ptabel,.ptags) :is(.ea,.eb,.ec,.ed,.ee,.ef,.eg) { color:#000!important; opacity:1; }

@media (max-width:480px) {
  #app .won .bschema { padding-inline-start:0; flex-wrap:wrap; row-gap:6px; }
  #app .won .bschema li + li::before { width:10px; margin-inline:4px; }
}

.won .flegenda a > b { margin-inline-start:.35em; }
