/* ============================================================
   Open punten — tijdelijk. Groen = nog onduidelijk of aanvullen.
   Alleen zichtbaar in controlemodus (html.toon-open): op de
   preview-link, lokaal, of met ?open=1 achter de link. Op de
   echte site zien bezoekers de notities niet; tekst met class
   "inhoud" blijft dan gewoon als normale tekst staan.
   Haal dit bestand (en open-punten.js) weg zodra alles klaar is.
   ============================================================ */

/* Echte site: notities verbergen */
html:not(.toon-open) mark.open-punt:not(.inhoud),
html:not(.toon-open) .open-blok { display: none !important; }
html:not(.toon-open) mark.open-punt.inhoud { background: none; color: inherit; padding: 0; font-weight: inherit; }

/* Controlemodus */
.toon-open mark.open-punt {
    background: #3ddc74;
    color: #062a12;
    padding: 0 .3em;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-weight: 600;
}
.toon-open .open-blok {
    background: #dcfbe6;
    color: #073317;
    border: 3px dashed #1fae52;
    border-radius: 10px;
    padding: .9rem 1.1rem;
    margin: 1.2rem 0;
    font-size: .98rem;
    line-height: 1.5;
    text-align: left;
    font-family: var(--f4-body, system-ui, sans-serif);
}
.toon-open .open-blok::before {
    content: 'Nog aanvullen';
    display: block;
    font-family: var(--f4-head, system-ui, sans-serif);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f7a35;
    margin-bottom: .25rem;
}
/* Element (zoals een knop) dat zelf nog onduidelijk is: groene stippelrand */
.toon-open .open-rand { outline: 4px dashed #1fae52 !important; outline-offset: 5px; }
.toon-open .open-blok a { color: #073317 !important; }
.open-flits { animation: open-flits 1.4s ease-out 1; }
@keyframes open-flits { 0% { box-shadow: 0 0 0 0 rgba(31,174,82,.9); } 100% { box-shadow: 0 0 0 18px rgba(31,174,82,0); } }

#open-nav {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #0f7a35;
    color: #fff;
    border-radius: 999px;
    padding: .4rem .45rem .4rem 1rem;
    font: 600 .92rem/1.2 var(--f4-body, system-ui, sans-serif);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
#open-nav button {
    font: inherit;
    border: 0;
    border-radius: 999px;
    background: #3ddc74;
    color: #062a12;
    padding: .45rem .9rem;
    cursor: pointer;
    min-height: 36px;
}
#open-nav button:hover { background: #fff; }
@media print { #open-nav { display: none; } }
