/* Werf en Overleg: forum met werfpunten, foto's met aanduidingen, werfverslag. Gebruikt de variabelen van het thema. */
.nav-n { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 10px; background: var(--new, #b9753f); color: #fff; font-size: .7rem; font-weight: 600; text-align: center; line-height: 18px; }
.tab-n.tab-new { background: var(--new, #b9753f); color: #fff; }
.tabs a.active .tab-n.tab-new { background: var(--new, #b9753f); }
@media (max-width: 860px) {
  .mainnav a { position: relative; }
  html .mainnav a .nav-n { display: block !important; position: absolute; top: 3px; left: calc(50% + 6px); font-size: 10px !important; line-height: 16px; min-width: 16px; padding: 0 4px; }
}

[data-np-drop][hidden], .wf-reply-quote[hidden], .np-tip[hidden], .np-err[hidden], [data-np-editor-wrap][hidden] { display: none !important; }

/* Bolletjes met initialen */
.wf-av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 600; background: var(--beige, #e9dccd); color: var(--ink); flex: none; letter-spacing: .02em; }
.wf-av.k-bureau { background: var(--ink); color: var(--cream, #fff); }
.wf-av.k-klant { background: #dfe5d6; color: #4d5a3f; }
.wf-av.sm { width: 22px; height: 22px; font-size: .58rem; }
.wf-av.lg { width: 42px; height: 42px; font-size: .82rem; }

/* Status */
.wf-st { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wf-st.st-open { border: 1.5px solid var(--new, #b9753f); }
.wf-st.st-klaar { background: #8a9a78; color: #fff; }
.wf-st.st-klaar .ic { width: 12px; height: 12px; stroke-width: 3; }
.wf-st.st-info { border: 1.5px solid var(--line-strong, #ccc); color: var(--muted); font-size: .68rem; font-weight: 600; font-family: var(--serif, serif); }
.wf-st.st-pin { color: var(--new, #b9753f); }
.wf-st.st-pin .ic, .wf-st.st-grp .ic { width: 15px; height: 15px; }
.wf-st.st-grp { color: var(--muted); }
.wf-who { display: inline-block; font-size: .74rem; padding: 1px 9px; border-radius: 20px; background: var(--ink-soft, #eee); color: var(--ink); margin: 2px 4px 0 0; white-space: nowrap; }
.wf-who.me { background: var(--new-soft, #f8eadc); color: #7a4a22; }
.wf-due { font-size: .76rem; color: var(--muted); }
.wf-due.soon, .wf-due.late { color: var(--new, #b9753f); }
.wf-due.late { font-weight: 600; }
.wf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--new, #b9753f); display: inline-block; vertical-align: 2px; margin-right: 6px; }
.wf-lock { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.wf-lock .ic { width: 12px; height: 12px; vertical-align: -1px; }
.wf-thumb { width: 44px; height: 33px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }

/* Filters */
.wf-tbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.wf-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.wf-filters a { font-size: .8rem; padding: 5px 13px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); background: var(--surface); }
.wf-filters a:hover { border-color: var(--line-strong); color: var(--ink); }
.wf-filters a.on { background: var(--ink); border-color: var(--ink); color: var(--cream, #fff); }
.wf-filters a b { font-weight: 600; margin-left: 3px; }

/* Forums links (zoals Mappen) */
.wf-fm { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 520px; }
.wf-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 6px 10px 16px; }
.wf-side-h { padding: 14px 8px 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.wf-side-h a, .wf-side-h button { text-transform: none; letter-spacing: 0; font-size: .76rem; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.wf-side-h a:hover, .wf-side-h button:hover { color: var(--ink); }
.wf-fl { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; transition: background .12s; }
.wf-fl:hover { background: var(--ink-soft); }
.wf-fl.active { background: var(--ink); color: var(--cream, #fff); }
.wf-fl .ic { width: 17px; height: 17px; flex: none; }
.wf-fl .cnt { margin-left: auto; font-size: .7rem; background: var(--new, #b9753f); color: #fff; border-radius: 20px; padding: 1px 7px; font-weight: 600; }
.wf-fl small { font-weight: 400; color: var(--muted); display: block; font-size: .74rem; }
.wf-fl.active small { color: #a8a097; }
.wf-fl.muted-link { color: var(--muted); font-weight: 400; }
.wf-fl.drop-over { background: var(--new-soft, #f8eadc); box-shadow: inset 0 0 0 2px var(--new, #b9753f); color: var(--ink); }
.wf-people { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px; }
.wf-people .wf-av { cursor: default; transition: transform .12s, box-shadow .12s; }
.wf-people .wf-av.drop-over { transform: scale(1.18); box-shadow: 0 0 0 3px var(--new, #b9753f); }
.wf-drophint { margin: 10px 8px 0; font-size: .74rem; color: var(--muted); line-height: 1.45; }
.wf-main { padding: 22px 24px; min-width: 0; }
.wf-main-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wf-main h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.wf-main h2 .ic { width: 20px; height: 20px; }
.wf-main .sub { margin: 4px 0 16px; }
.wf-meeting-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--new-soft, #f8eadc); color: #7a4a22; margin-bottom: 14px; font-size: .88rem; flex-wrap: wrap; }
.wf-meeting-bar .rec { width: 9px; height: 9px; border-radius: 50%; background: var(--new, #b9753f); animation: wfpulse 1.6s infinite; flex: none; }
.wf-meeting-bar a { margin-left: auto; color: #7a4a22; font-weight: 600; text-decoration: none; }
@keyframes wfpulse { 50% { opacity: .35; } }

/* Lijst van onderwerpen (forumstijl) */
.wf-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.wf-head, .wf-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 170px; gap: 14px; padding: 11px 16px; align-items: center; }
.wf-head { padding: 8px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.wf-head span:nth-child(2) { text-align: center; }
.wf-row { border-bottom: 1px solid var(--line); position: relative; }
.wf-row:last-child { border-bottom: 0; }
.wf-row:hover { background: #fdf9f4; }
.wf-row .t { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.wf-row .t-main { min-width: 0; flex: 1; }
.wf-row .t-title { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wf-row .t-title::after { content: ''; position: absolute; inset: 0; } /* hele rij klikbaar */
.wf-row.unread .t-title { font-weight: 600; }
.wf-row.done .t-title { color: var(--muted); }
.wf-row .t-meta { margin-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.wf-row .n { font-size: .85rem; color: var(--muted); text-align: center; }
.wf-row .last { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); min-width: 0; }
.wf-row .last b { color: var(--ink); font-weight: 500; display: block; }
.wf-row .imgs { display: flex; gap: 4px; padding-left: 10px; flex: none; }
.wf-row .grip { color: var(--line-strong); cursor: grab; margin: 0 -4px 0 -6px; padding: 2px; background: none; border: 0; position: relative; z-index: 1; border-radius: 4px; touch-action: none; }
.wf-row .grip .ic { width: 16px; height: 16px; display: block; }
.wf-row .grip:hover, .wf-row .grip:focus-visible { color: var(--ink); background: var(--ink-soft); }
.wf-row.dragging { opacity: .35; }
.wf-row.sort-before { box-shadow: inset 0 2px 0 var(--new, #b9753f); }
.wf-row.sort-after { box-shadow: inset 0 -2px 0 var(--new, #b9753f); }
.wf-mob-last { display: none; font-size: .74rem; color: var(--muted); }
.wf-empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.wf-empty h3 { font-family: var(--serif, serif); font-weight: 400; color: var(--ink); margin: 0 0 6px; }
.wf-ghost { position: fixed; z-index: 1000; pointer-events: none; background: var(--ink); color: var(--cream, #fff); padding: 8px 14px; border-radius: 12px; font-size: .86rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.wf-busy, body.wf-busy * { cursor: grabbing !important; user-select: none; }
.wf-mob-forums { display: none; }
.wf-fab { display: none; }

/* Onderwerp */
.wf-topic-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.wf-topic-head h2 { margin: 2px 0 6px; font-size: 1.45rem; overflow-wrap: anywhere; }
.wf-topic-head .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wf-crumb { font-size: .82rem; color: var(--muted); text-decoration: none; }
.wf-crumb:hover { color: var(--ink); }
.wf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.wf-tb { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.wf-body-txt { font-size: .95rem; line-height: 1.6; white-space: pre-line; margin: 0 0 14px; }
.wf-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; max-width: 760px; }
.wf-photos.one { grid-template-columns: 1fr; max-width: 620px; }
.wf-photos .col { display: grid; gap: 8px; align-content: start; }
.wf-photo { position: relative; border-radius: 12px; overflow: hidden; display: block; background: var(--surface-2); cursor: zoom-in; }
.wf-photo img { width: 100%; height: auto; display: block; }
.wf-photos .col .wf-photo img { aspect-ratio: 4/3; object-fit: cover; }
.wf-marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wf-mark { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--new, #b9753f); color: #fff; font-size: .72rem; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.wf-photos .col .wf-mark { width: 16px; height: 16px; margin: -8px 0 0 -8px; font-size: .58rem; }
.wf-notes { margin: 12px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.wf-notes li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.wf-notes .wf-mark { position: static; box-shadow: none; width: 20px; height: 20px; flex: none; margin: 0; }
.wf-facts { margin: 0; }
.wf-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 14px; }
.wf-facts dt:first-child { margin-top: 0; }
.wf-facts dd { margin: 5px 0 0; font-size: .9rem; }
.wf-facts .wf-who { font-size: .8rem; padding: 3px 10px; }
.wf-aside { padding: 18px 20px; }
.wf-aside h3 { font-size: 1rem; margin: 0 0 6px; display: flex; justify-content: space-between; align-items: baseline; }
.wf-aside hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0 12px; }
.btn.wf-btn-done { background: #8a9a78; border-color: #8a9a78; color: #fff; }
.btn.wf-btn-done:hover { background: #75856a; border-color: #75856a; color: #fff; }
.wf-cmts { padding: 4px 20px; margin-top: 16px; }
.wf-cmt { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wf-cmt .c-body { min-width: 0; flex: 1; }
.wf-cmt .meta { font-size: .78rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.wf-cmt .meta b { color: var(--ink); font-weight: 500; }
.wf-cmt .meta .c-acts { margin-left: auto; display: flex; gap: 10px; }
.wf-cmt .meta .c-acts button { background: none; border: 0; padding: 0; color: var(--muted); font-size: .76rem; cursor: pointer; }
.wf-cmt .meta .c-acts button:hover { color: var(--ink); }
.wf-cmt p { margin: 3px 0 0; font-size: .92rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.wf-cmt.sys { justify-content: center; font-size: .8rem; color: var(--muted); padding: 9px 0; }
.wf-cmt.sys .ic { width: 14px; height: 14px; vertical-align: -2px; color: #8a9a78; }
.wf-cmt .c-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.wf-cmt .c-photos img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; }
.wf-quote { border-left: 2px solid var(--line-strong); padding: 2px 0 2px 12px; color: var(--muted); font-size: .86rem; margin: 4px 0 6px; border-radius: 0; white-space: pre-line; }
.wf-quote b { font-weight: 500; }
.wf-reply { padding: 14px 0 16px; }
.wf-reply-box { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); transition: border-color .12s, box-shadow .12s; }
.wf-reply-box.drop-over { border-color: var(--new, #b9753f); box-shadow: 0 0 0 3px var(--new-soft, #f8eadc); }
.wf-reply-box textarea { width: 100%; border: 0 !important; background: transparent; resize: vertical; min-height: 64px; padding: 12px 14px; font: inherit; outline: none; box-shadow: none; border-radius: 14px 14px 0 0 !important; }
.wf-reply-foot { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px 12px; flex-wrap: wrap; }
.wf-reply-foot .hint { font-size: .76rem; color: var(--muted); margin-right: auto; }
.wf-reply-quote { margin: 10px 14px 0; display: flex; gap: 8px; align-items: flex-start; }
.wf-reply-quote .wf-quote { flex: 1; margin: 0; }
.wf-reply-quote button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.wf-pending { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px; }
.wf-pending:empty { display: none; }
.wf-pending .pp { position: relative; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.wf-pending .pp img { width: 100%; height: 100%; object-fit: cover; }
.wf-pending .pp button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(27,26,25,.75); color: #fff; font-size: 11px; line-height: 18px; padding: 0; cursor: pointer; }
.wf-pending .pp.busy::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.6); }
.wf-flw { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .85rem; }
.wf-flw .nm { min-width: 90px; flex: 1; overflow-wrap: break-word; }
.wf-flw .nm small { display: block; color: var(--muted); font-size: .72rem; }
.wf-flw .s { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.wf-flw .s.no { color: var(--new, #b9753f); }
.wf-tag { font-size: .64rem; padding: 0 7px; border-radius: 20px; background: var(--ink-soft); color: var(--ink); white-space: nowrap; }
.wf-tag.forced { background: var(--new-soft, #f8eadc); color: #7a4a22; }
.wf-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; flex: none; }
.wf-seg button { border: 0; background: transparent; padding: 3px 9px; font-size: .72rem; color: var(--muted); cursor: pointer; font-family: inherit; }
.wf-seg button + button { border-left: 1px solid var(--line); }
.wf-seg button.on { background: var(--ink); color: var(--cream, #fff); }
.wf-seg button.on.must { background: var(--new, #b9753f); }
.wf-follow-box { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.wf-follow-box select { margin-top: 6px; width: 100%; font-size: .85rem; padding: 6px 8px; }
.wf-small-link { text-align: left; font-size: .82rem; color: var(--new, #b9753f); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.wf-small-link:hover { text-decoration: underline; }

/* Foto groot bekijken */
.wf-lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(20,19,18,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wf-lightbox .lb-in { position: relative; max-width: 100%; max-height: 100%; }
.wf-lightbox img { max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); display: block; border-radius: 8px; }
.wf-lightbox .lb-x { position: fixed; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }

/* Nieuw onderwerp / werfpunt (gsm-eerst) */
.np { max-width: 640px; }
.np-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; }
.np-meeting { display: flex; align-items: center; gap: 8px; font-size: .84rem; padding: 9px 13px; border-radius: 12px; background: var(--new-soft, #f8eadc); color: #7a4a22; margin-bottom: 14px; }
.np-meeting b { font-weight: 600; }
.np-meeting .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--new, #b9753f); animation: wfpulse 1.6s infinite; flex: none; }
.np-meeting a { margin-left: auto; color: #7a4a22; text-decoration: none; font-weight: 500; }
.np-editor { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface-2); touch-action: none; user-select: none; -webkit-user-select: none; }
.np-editor img { width: 100%; display: block; pointer-events: none; }
.np-editor .wf-mark { box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.25); width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .8rem; }
.np-editor .wf-mark.sel { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--new, #b9753f); }
.np-tools { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.np-tools button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(27,26,25,.78); color: var(--cream, #fff); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.np-tools button .ic, .np-tools button svg { width: 18px; height: 18px; }
.np-tools button.on { background: var(--new, #b9753f); color: #fff; }
.np-tools button:disabled { opacity: .45; }
.np-tip { position: absolute; top: 10px; left: 10px; right: 10px; font-size: .76rem; color: #fff; background: rgba(27,26,25,.7); padding: 5px 10px; border-radius: 10px; pointer-events: none; text-align: center; }
.np-strip { display: flex; gap: 8px; margin: 10px 0 2px; flex-wrap: wrap; }
.np-strip .th { position: relative; width: 66px; height: 50px; border-radius: 8px; overflow: hidden; flex: none; cursor: pointer; border: 0; padding: 0; background: var(--surface-2); }
.np-strip .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-strip .th.on { box-shadow: 0 0 0 2px var(--new, #b9753f); }
.np-strip .th .x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(27,26,25,.75); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.np-strip .th.busy::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.np-add { width: 66px; height: 50px; border-radius: 8px; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.np-add .ic, .np-add svg { width: 18px; height: 18px; }
.np-drop { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 22px 16px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.np-drop.drop-over { border-color: var(--new, #b9753f); background: var(--new-soft, #f8eadc); }
.np-drop .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.np-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 7px; display: block; font-weight: 500; }
.np-input { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 13px; background: var(--surface); font: inherit; font-size: .98rem; }
textarea.np-input { min-height: 70px; resize: vertical; }
.np-notes { display: grid; gap: 6px; margin-top: 8px; }
.np-notes:empty { display: none; }
.np-note { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px 4px 10px; background: var(--surface); }
.np-note .wf-mark { position: static; box-shadow: none; margin: 0; flex: none; width: 20px; height: 20px; }
.np-note input { border: 0 !important; flex: 1; padding: 6px 2px; background: transparent; font: inherit; font-size: .9rem; min-width: 0; box-shadow: none; outline: none; }
.np-note button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px 6px; }
.np-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.np-chips button, .np-seg button, .np-tools button { -webkit-tap-highlight-color: transparent; }
.np-chips button { font: inherit; font-size: .86rem; padding: 7px 13px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.np-chips button:hover { border-color: var(--line-strong); }
.np-chips button.on { background: var(--ink); color: var(--cream, #fff); border-color: var(--ink); }
.np-chips button.soft { color: var(--muted); }
.np-chips button.soft.on { color: var(--cream, #fff); }
.np-chips .grp-l { width: 100%; font-size: .72rem; color: var(--muted); margin: 4px 0 -2px; }
.np-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.np-seg button { text-align: center; padding: 10px; font: inherit; font-size: .88rem; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.np-seg button.on { background: var(--ink); color: var(--cream, #fff); }
.np-seg-hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.np-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.np-foot.single { grid-template-columns: 1fr; }
.np-foot .btn { justify-content: center; padding: 12px; }
.np-err { color: var(--danger, #b3261e); font-size: .85rem; margin-top: 8px; }
.np-due { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.np-due .dp-btn { border-radius: 20px; }

/* Groep maken */
.wf-dlg-list { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; margin: 8px 0; }
.wf-dlg-list label { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: pointer; font-weight: 400 !important; flex-direction: row !important; }
.wf-dlg-list label:hover { background: var(--ink-soft); }
.wf-dlg-list label small { color: var(--muted); }

/* Verslag samenstellen */
.wf-tb.vs-edit { grid-template-columns: minmax(0, 1fr) 380px; }
.vs-dt { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 10px; }
.vs-dt .dp-btn { width: 100%; }
.vs-edit .wf-flw select { max-width: 150px; }

/* Overleg */
.wf-idx .wf-head, .wf-idx .wf-row { grid-template-columns: minmax(0, 1fr) 110px 230px; }
.wf-idx .wf-cat { padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-family: var(--serif, serif); font-size: 1.02rem; display: flex; justify-content: space-between; align-items: baseline; }
.wf-idx .wf-cat small { font-family: Montserrat, sans-serif; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.wf-idx .ficon { width: 38px; height: 38px; border-radius: 12px; background: var(--ink-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.wf-idx .ficon.has { background: var(--new-soft, #f8eadc); color: var(--new, #b9753f); }
.wf-idx .ficon .ic { width: 18px; height: 18px; }
.wf-idx .desc { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.wf-idx .desc b { color: var(--new, #b9753f); font-weight: 600; }
.wf-idx .n { font-size: .85rem; }
.wf-idx .last b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }

/* Verslagen */
.wf-reports { display: grid; gap: 8px; }
.wf-rep { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); }
.wf-rep:hover { border-color: var(--line-strong); }
.wf-rep .nr { font-family: var(--serif, serif); font-size: 1.3rem; width: 34px; text-align: center; }
.wf-rep .m { flex: 1; min-width: 0; }
.wf-rep .m small { display: block; color: var(--muted); font-size: .78rem; }
.wf-pill { font-size: .72rem; padding: 2px 9px; border-radius: 20px; background: var(--ink-soft); color: var(--ink); white-space: nowrap; }
.wf-pill.live { background: var(--new-soft, #f8eadc); color: #7a4a22; }
.wf-pill.ok { background: #e4eadb; color: #4d5a3f; }

@media (max-width: 760px) {
  .wf-fm, .wf-tb, .wf-tb.vs-edit { grid-template-columns: 1fr; }
  .wf-side { display: none; }
  .wf-main { padding: 14px 12px; }
  .wf-main .sub { display: none; }
  .wf-list > .wf-head:not(.keep) { display: none; }
  .wf-head.keep span:not(:first-child) { display: none; }
  .wf-head, .wf-row, .wf-idx .wf-head, .wf-idx .wf-row { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .wf-row .n, .wf-row .last, .wf-row .imgs, .wf-row .grip { display: none; }
  .wf-mob-last { display: inline; }
  .wf-mob-forums { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
  .wf-mob-forums::-webkit-scrollbar { display: none; }
  .wf-mob-forums a { white-space: nowrap; font-size: .84rem; padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); }
  .wf-mob-forums a.on { background: var(--ink); color: var(--cream, #fff); border-color: var(--ink); }
  .wf-mob-forums a b { background: var(--new, #b9753f); color: #fff; border-radius: 20px; padding: 0 6px; font-size: .7rem; margin-left: 4px; }
  .wf-fab { position: fixed; right: 16px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--cream, #fff); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); z-index: 50; }
  .wf-fab .ic { width: 24px; height: 24px; }
  .wf-topic-head { flex-direction: column; gap: 8px; }
  .wf-topic-head .acts { justify-content: flex-start; }
  .wf-photos { grid-template-columns: 1fr; }
  .wf-photos .col { grid-template-columns: 1fr 1fr; }
  .wf-cmts { padding: 4px 14px; }
  .np-card { padding: 14px 14px 18px; border-radius: 16px; }
  .wf-hide-mob { display: none !important; }
  .wf-idx .ficon { display: none; }
}

/* Aantekeningen als laag over de foto (transparante PNG), aan/uit te zetten */
.wf-photo .wf-ov, .wf-lightbox .wf-ov, .ph .wf-ov { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; pointer-events: none; border-radius: 0; object-fit: fill; margin: 0; }
.wf-photos .col .wf-photo .wf-ov { aspect-ratio: auto; object-fit: cover; }
.ov-off .wf-ov, .ov-off .wf-marks, .ov-off .wf-mark { display: none !important; }
.wf-lightbox .lb-ov { position: fixed; top: 14px; left: 16px; height: 40px; padding: 0 16px; border-radius: 20px; border: 0; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: .86rem; cursor: pointer; }
.wf-lightbox .lb-ov:hover { background: rgba(255,255,255,.24); }
.wf-ov-btn { display: inline-flex; align-items: center; gap: 6px; }
.wf-ov-btn:not(.on) { opacity: .6; }

/* Tekengerei onder de foto */
.np-editor canvas.np-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.np-editor.ov-hide canvas.np-ov, .np-editor.ov-hide .wf-marks, .np-editor.ov-hide [data-np-nrs] { visibility: hidden; }
.np-editor[data-tool=pen], .np-editor[data-tool=hl], .np-editor[data-tool=arrow], .np-editor[data-tool=ring] { cursor: crosshair; }
.np-editor[data-tool=erase] { cursor: cell; }
.np-bar { margin-top: 8px; display: grid; gap: 6px; }
.np-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.np-row > button, .np-ws button { height: 38px; min-width: 38px; padding: 0 11px; border-radius: 19px; border: 1px solid var(--line); background: var(--surface); color: var(--ink, #1b1a19); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: .82rem; cursor: pointer; }
.np-row > button .ic, .np-row > button svg { width: 18px; height: 18px; flex: none; }
.np-row > button.on { background: var(--new, #b9753f); border-color: var(--new, #b9753f); color: #fff; }
.np-row > button[data-undo], .np-row > button[data-ov-eye], .np-row > button[data-ov-clear] { padding: 0; width: 38px; }
.np-row > button[data-ov-eye]:not(.on) { color: var(--muted); }
.np-row > button[data-ov-eye]:not(.on) svg { opacity: .5; }
.np-row > button[data-ov-eye].on { background: var(--surface); border-color: var(--line); color: var(--ink, #1b1a19); }
.np-cols, .np-ws { display: inline-flex; gap: 5px; align-items: center; }
.np-cols button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(0,0,0,.35); cursor: pointer; padding: 0; }
.np-cols button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink, #1b1a19); }
.np-ws { margin-left: 6px; }
.np-ws button { width: 38px; padding: 0; }
.np-ws button i { display: block; width: var(--s); height: var(--s); border-radius: 50%; background: currentColor; }
.np-ws button.on { border-color: var(--ink, #1b1a19); box-shadow: inset 0 0 0 1px var(--ink, #1b1a19); }
.np-sp { flex: 1; }
@media (max-width: 600px) {
  .np-row > button[data-tool] span { display: none; }
  .np-row > button[data-tool] { width: 42px; padding: 0; }
  .np-cols button { width: 26px; height: 26px; }
}

/* "Wie moet iets doen": zelfde weergave als de overleggroep — kleine avatars, naam eronder, per groep gescheiden. */
.np-who { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding: 2px 0 4px; margin-bottom: 4px; }
.np-who .chat-pp { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; flex: none; cursor: pointer; background: none; border: 0; padding: 3px 0; border-radius: 10px; font: inherit; }
.np-who .chat-pp:hover { background: var(--surface-2); }
.np-who .chat-pp .av { width: 30px; height: 30px; }
.np-who .chat-pp small { font-size: .64rem; color: var(--muted); max-width: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-who .chat-pp.on .av { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--new, #b9753f); }
.np-who .chat-pp.on small { color: var(--new, #b9753f); font-weight: 600; }
.np-who .chat-pp-sep { flex: none; width: 1px; align-self: stretch; margin: 4px 5px; background: var(--line); }
.av.av-none { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1.5px dashed var(--line-strong); color: var(--muted); font-style: italic; font-size: 14px; box-sizing: border-box; }
.np-wat-more { border: 0; background: none; color: var(--new, #b9753f); font: inherit; font-size: .72rem; text-transform: none; letter-spacing: 0; cursor: pointer; padding: 0 2px; text-decoration: underline; }
.np-wat-more[hidden] { display: none; }
