/* Projectdashboard Stichting Diersignaal */

.sidebar .menu-group > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.sidebar .menu-group > summary::-webkit-details-marker { display: none; }
.sidebar .menu-group > summary::after { content: '+'; font-size: 16px; }
.sidebar .menu-group[open] > summary::after { content: '−'; }
.sidebar .menu-items { display: grid; gap: 8px; margin-top: 8px; }
@media (max-width: 950px) {
  .sidebar .menu-group { flex: 0 0 auto; }
  .sidebar .menu-group > summary { display: flex; margin-top: 0; }
}

.pm-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pm-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -2px; margin: 10px 0 8px; }
.pm-hero p { margin: 0; color: var(--muted); font-size: 16px; font-family: Georgia, serif; font-style: italic; }
.pm-hero-actions, .pm-actions-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pm-actions-bar { margin: 14px 0 6px; }
.pm-hero-actions .primary, .pm-hero-actions .secondary, .pm-actions-bar .primary, .pm-actions-bar .secondary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; font-size: 13px; }
.register-controller-form { max-width: 760px; }
.pm-doc-main .pm-anbi-marker { color: var(--pine); font-weight: 800; }
.form label.pm-publication-choice { display: flex; align-items: center; gap: 10px; }
.form .pm-publication-choice input { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: #23664d; }
.form label.terms-choice { display: flex; align-items: flex-start; gap: 10px; }
.form .terms-choice input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex: none; }
.form label.message-enabled { display: flex; align-items: center; gap: 10px; }
.form .message-enabled input { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; }
.pm-terms-controls { grid-column: 1 / -1; margin-top: 12px; }
.register-status { display: inline-flex; border-radius: 50px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.register-status.is-incomplete { background: #fff2e3; color: #925c18; }
.register-status.is-review { background: #e6f0f8; color: #2e5f86; }
.register-missing { display: block; max-width: 420px; margin-top: 5px; color: #925c18; font-size: 11px; line-height: 1.5; }
.register-controller-form > button { width: fit-content; }

.pm-warning { display: flex; align-items: center; gap: 14px; padding: 15px 18px; margin-bottom: 18px; border-radius: 12px; background: #fff3ea; border: 1px solid #f3d2b8; color: #8a4b1c; font-size: 13px; line-height: 1.6; }
.pm-warning > .icon { width: 22px; height: 22px; flex: none; }
.pm-warning div { flex: 1; }
.pm-warning .text-button { color: #8a4b1c; white-space: nowrap; }

.pm-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 14px; }
.pm-kpi { padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.pm-kpi:hover { transform: translateY(-2px); box-shadow: 0 14px 30px #183b3012; }
.pm-kpi .large { font-size: 34px; margin: 10px 0 4px; }
.pm-kpi.k-done .large { color: #2f7a55; }
.pm-kpi.k-high .large { color: #a8642a; }
.pm-kpi.k-late .large { color: #b03a2e; }
.pm-kpi.k-progress { background: #153d32; color: #fff; border-color: #153d32; }
.pm-kpi.k-progress .overline { color: #a8daba; }
.pm-kpi.k-progress .muted { color: #c5ddd0; }

.pm-progress { margin-bottom: 26px; }
.pm-progress-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.pm-progress-head span { color: var(--muted); }
.pm-bar { height: 8px; border-radius: 50px; background: #e3ece6; overflow: hidden; }
.pm-bar.is-large { height: 14px; }
.pm-bar span { display: block; height: 100%; width: var(--pct, 0%); border-radius: inherit; background: linear-gradient(90deg, #23664d, #6fb48e); transition: width .5s ease; }

.pm-section-head { margin: 4px 0 12px; }
.pm-section-head h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.5px; }
.pm-phases { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-bottom: 22px; }
.pm-phase { cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pm-phase:hover, .pm-phase:focus-visible { transform: translateY(-2px); border-color: #b9d6c5; box-shadow: 0 16px 34px #183b3014; outline: none; }
.pm-phase h3 { margin: 0; font-size: 17px; letter-spacing: -.3px; }
.pm-phase p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #697d70; flex: 1; }
.pm-phase-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pm-phase-no { font-size: 10px; font-weight: 850; letter-spacing: 1.6px; text-transform: uppercase; color: #44765e; }
.pm-phase-status { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 50px; background: #eef1ef; color: #5f7067; }
.ps-afgerond, .ms-label-behaald { background: #e3f3e8; color: #2f7a55; }
.ps-bezig, .ms-label-bezig { background: #e6f0f8; color: #2e5f86; }
.ps-achter, .ms-label-vertraagd { background: #fdecea; color: #a2382e; }
.pm-phase-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #5f7067; }
.pm-phase-meta span, .pm-phase-owner { display: inline-flex; align-items: center; gap: 6px; }
.pm-phase-meta .icon, .pm-phase-owner .icon { width: 14px; height: 14px; }
.pm-phase-owner { font-size: 12px; color: #345747; border-top: 1px solid var(--line); padding-top: 10px; }
.pm-phase-owner .text-button { margin-left: auto; font-size: 12px; }

.pm-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pm-feed li { gap: 10px; }
.pm-task-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: inherit; font-size: 13px; }
.pm-task-link span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-task-link:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.pm-no { font-size: 11px; font-weight: 800; color: #44765e; letter-spacing: .3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.is-late { color: #b03a2e !important; font-weight: 700; }
.pm-waits { color: #925c18; font-size: 11px; white-space: nowrap; }
.pm-week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 6px; }
.pm-week-grid div { padding: 12px; border-radius: 10px; background: #f7faf7; }
.pm-week-grid strong { display: block; font-size: 24px; letter-spacing: -1px; }
.pm-week-grid span { font-size: 11px; color: var(--muted); }

.pm-status, .pm-priority { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 50px; white-space: nowrap; }
.pm-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-niet_gestart { background: #eef1ef; color: #5f7067; }
.s-bezig { background: #e6f0f8; color: #2e5f86; }
.s-geblokkeerd { background: #fdecea; color: #a2382e; }
.s-afgerond { background: #e3f3e8; color: #2f7a55; }
.p-laag { background: #f1f4f2; color: #7b8a81; }
.p-normaal { background: #edf3ef; color: #44765e; }
.p-hoog { background: #fff2e3; color: #925c18; }
.p-kritiek { background: #b03a2e; color: #fff; }
.pm-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: currentColor; }
.pm-flag { display: inline-flex; align-items: center; gap: 4px; margin: 4px 8px 0 0; font-size: 11px; font-weight: 700; color: #925c18; }
.pm-flag .icon { width: 13px; height: 13px; }

.pm-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-toolbar input, .pm-toolbar select { padding: 10px 12px; border: 1px solid #cfdcd4; border-radius: 9px; background: #fff; color: #1d4034; font-size: 13px; }
.pm-toolbar input { flex: 1 1 240px; min-width: 0; }
.pm-table tbody tr { cursor: pointer; transition: background .15s ease; }
.pm-table tbody tr:hover { background: #f7faf7; }
.pm-table tr.is-critical td:first-child { box-shadow: inset 3px 0 0 #b03a2e; }
.pm-table tr.is-done strong { color: var(--muted); text-decoration: line-through; }
.pm-table td strong { display: block; }
.pm-check-cell { width: 34px; }
.pm-check-cell input { width: 18px; height: 18px; accent-color: #23664d; }

.pm-board { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-top: 16px; }
.pm-column { background: #edf3ef; border-radius: 14px; padding: 12px; min-height: 340px; transition: background .15s ease, box-shadow .15s ease; }
.pm-column.is-over { background: #dcebe1; box-shadow: inset 0 0 0 2px #6fb48e; }
.pm-column-head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 12px; font-size: 13px; font-weight: 800; color: #1d4034; }
.pm-column-head .pm-dot { width: 10px; height: 10px; }
.pm-count { margin-left: auto; font-size: 11px; background: #fff; border-radius: 50px; padding: 2px 8px; color: #5f7067; }
.pm-cards { display: grid; gap: 10px; }
.pm-card { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px; display: grid; gap: 8px; cursor: grab; transition: transform .15s ease, box-shadow .15s ease; font-size: 13px; }
.pm-card:hover { box-shadow: 0 10px 22px #183b3014; transform: translateY(-1px); }
.pm-card.is-dragging { opacity: .5; }
.pm-card.is-critical { border-left: 3px solid #b03a2e; }
.pm-card[draggable="false"] { cursor: pointer; }
.pm-card-top, .pm-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.pm-avatar { width: 26px; height: 26px; font-size: 10px; }
.pm-card-status { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; background: #fff; color: #1d4034; }
.pm-empty-col { padding: 26px 10px; text-align: center; font-size: 12px; color: #93a198; border: 1px dashed #b9d6c5; border-radius: 10px; }

.pm-gantt-card { overflow: hidden; }
.pm-gantt-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pm-legend { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.pm-legend-bar { display: inline-block; width: 22px; height: 8px; border-radius: 4px; margin-left: 8px; }
.pm-gantt { position: relative; overflow-x: auto; }
.pm-gantt-row { display: grid; grid-template-columns: 300px minmax(640px, 1fr); align-items: center; min-height: 36px; border-top: 1px solid var(--line); }
.pm-gantt-row.is-task { min-height: 30px; background: #fbfcfb; }
.pm-gantt-head { position: sticky; top: 0; z-index: 2; background: #fff; border-top: 0; }
.pm-gantt-label { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 0; font-size: 12.5px; min-width: 0; }
.pm-gantt-label > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-gantt-label small { color: var(--muted); font-size: 11px; }
.is-task .pm-gantt-label { padding-left: 26px; }
.pm-expand { width: 20px; height: 20px; border: 0; background: none; color: #44765e; font-size: 12px; padding: 0; }
.pm-gantt-track { position: relative; height: 100%; min-height: inherit; }
.pm-month { position: absolute; top: 0; bottom: 0; left: var(--left); width: var(--width); padding: 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #5f7067; border-left: 1px solid var(--line); }
.pm-gantt-bar { position: absolute; top: 50%; left: var(--left); width: var(--width); height: 18px; transform: translateY(-50%); border-radius: 6px; background: #cfdcd4; overflow: hidden; cursor: pointer; }
.pm-gantt-bar span { display: block; padding: 0 8px; font-size: 10.5px; line-height: 18px; color: #1d4034; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-gantt-bar.is-phase { height: 22px; background: #dcebe1; cursor: default; }
.pm-gantt-bar.is-phase span { line-height: 22px; font-weight: 700; }
.pm-gantt-bar.ps-achter { background: #f7d9d4; }
.pm-gantt-fill { position: absolute; top: 50%; left: var(--left); width: var(--width); height: 4px; margin-top: 9px; border-radius: 2px; background: #23664d; pointer-events: none; }
.t-niet_gestart { background: #dfe6e2; }
.t-bezig, .pm-legend-bar.t-bezig { background: #9cc3e2; }
.t-geblokkeerd { background: #efb7ae; }
.t-afgerond, .pm-legend-bar.t-afgerond { background: #8fcaa6; }
.is-blocked, .pm-legend-bar.is-blocked { background-image: repeating-linear-gradient(135deg, transparent 0 5px, #ffffff99 5px 9px); background-color: #e9c99c; }
.pm-gantt-bar.is-late { box-shadow: inset 0 0 0 2px #b03a2e; }
.pm-gantt-milestones { min-height: 30px; }
.pm-diamond { display: inline-block; width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px; background: #44765e; flex: none; }
.pm-gantt .pm-diamond { position: absolute; top: 50%; left: var(--left); margin: -6px 0 0 -6px; }
.ms-behaald { background: #2f7a55; }
.ms-bezig { background: #2e5f86; }
.ms-vertraagd { background: #b03a2e; }
.ms-gepland { background: #9fb2a7; }
.pm-gantt-overlay { position: absolute; inset: 0; display: grid; grid-template-columns: 300px minmax(640px, 1fr); pointer-events: none; }
.pm-today { position: absolute; top: 0; bottom: 0; left: var(--left); border-left: 2px solid #b03a2e; }
.pm-today span { position: absolute; top: 2px; left: 4px; font-size: 10px; font-weight: 800; color: #b03a2e; background: #fff; padding: 0 4px; border-radius: 4px; }

.pm-milestone h3 { margin: 4px 0; font-size: 17px; }
.pm-milestone-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pm-milestone-tasks .pm-task-link { font-size: 12.5px; }
.pm-milestone-tasks .icon { width: 14px; height: 14px; color: #2f7a55; }
.ms-card-behaald { border-color: #b9dcc6; }
.ms-card-vertraagd { border-color: #efc4bd; }

.pm-doc { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.pm-doc-main { display: flex; gap: 12px; min-width: 0; }
.pm-doc-main > .icon { width: 22px; height: 22px; color: #44765e; margin-top: 2px; }
.pm-doc-main strong { display: block; font-size: 14px; }
.pm-doc-main small { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.pm-doc-main small .icon { width: 12px; height: 12px; }
.pm-doc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pm-doc-actions .secondary { padding: 9px 12px; font-size: 12px; }
.pm-approval { grid-column: 1 / -1; display: grid; gap: 9px; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.pm-approval > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.pm-approval > div span, .pm-approval li strong { color: var(--muted); font-weight: 500; }
.pm-approval ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 5px 16px; margin: 0; padding: 0; font-size: 11.5px; }
.pm-approval li { display: flex; justify-content: space-between; gap: 8px; }
.pm-approval-read { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pm-approval-read input { width: 16px; height: 16px; margin: 0; accent-color: #23664d; }
.pm-approval > button { justify-self: start; }
.pm-file-button { cursor: pointer; }
.pm-inline-link { border: 0; background: none; padding: 0; color: #23664d; font-weight: 800; font-size: 11.5px; }
.pm-versions { grid-column: 1 / -1; font-size: 12px; color: #5f7067; }
.pm-versions summary { cursor: pointer; font-weight: 700; }
.pm-versions div { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0 0 18px; }
.pm-multi { width: 100%; margin-top: 8px; padding: 6px; border: 1px solid #cfdcd4; border-radius: 9px; font-size: 13px; background: #fff; color: #1d4034; }
.pm-upload input[type=file] { padding: 11px; }
.pm-document-preview { padding: 24px; background: #fff; color: #182b23; border: 1px solid #cfdcd4; line-height: 1.6; overflow-wrap: anywhere; }
.pm-document-preview h1, html[data-theme="dark"] .pm-document-preview h1 { color: #182b23; font-size: 26px; margin: 0 0 24px; }
.pm-document-preview h2, .pm-document-preview h3, .pm-document-preview h4,
html[data-theme="dark"] .pm-document-preview h2, html[data-theme="dark"] .pm-document-preview h3, html[data-theme="dark"] .pm-document-preview h4 { color: #182b23; break-after: avoid; }
.pm-document-block { margin: 0 0 16px; }
.pm-document-line { white-space: pre-wrap; min-height: 1em; }
#pm-document-print { display: none; }
.pm-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pm-roles div { padding: 12px 14px; border-radius: 10px; background: #f7faf7; font-size: 12px; line-height: 1.6; }
.pm-roles strong { display: block; font-size: 13px; }
.pm-roles span { color: #5f7067; }
.pm-team-actions { text-align: right; }

.pm-overlay { position: fixed; inset: 0; z-index: 150; background: #0b201a00; display: flex; justify-content: flex-end; transition: background .2s ease; }
.pm-overlay.is-open { background: #0b201a66; }
.pm-drawer { width: min(620px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 26px 28px 40px; box-shadow: -20px 0 50px #0b201a33; transform: translateX(40px); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.pm-drawer.is-wide { width: min(960px, 100%); }
.pm-overlay.is-open .pm-drawer { transform: none; opacity: 1; }
.pm-drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.pm-drawer-head h2 { margin: 8px 0 4px; font-size: 24px; letter-spacing: -.6px; }
.pm-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 9px; background: #eef1ef; color: #345747; display: flex; align-items: center; justify-content: center; }
.pm-drawer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-drawer-actions .danger { padding: 13px 16px; }
.pm-drawer-section { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.pm-drawer-section h3 { margin: 0 0 6px; font-size: 15px; }
.pm-drawer .task-form { margin-top: 10px; }
.pm-comment { white-space: pre-wrap; color: #34493f !important; font-size: 13px !important; line-height: 1.6; }
body.pm-locked { overflow: hidden; }

.theme-toggle { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #426b56; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1200px) { .pm-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 950px) {
  .workspace .sidebar { min-width: 0; }
  .pm-kpis { grid-template-columns: repeat(2, 1fr); }
  .pm-columns, .pm-roles { grid-template-columns: 1fr; }
  .pm-gantt-row, .pm-gantt-overlay { grid-template-columns: 190px minmax(560px, 1fr); }
  .pm-doc { grid-template-columns: 1fr; }
  .pm-doc-actions { justify-content: flex-start; }
  .pm-drawer { padding: 20px 18px 36px; }
}

/* Donker thema voor de werkomgeving */
html[data-theme="dark"] .workspace { --bg: #0f1a16; --ink: #e3ece6; --muted: #93a79c; --line: #24352e; background: #0f1a16; color: #e3ece6; }
html[data-theme="dark"] .site-confirm { --ink: #e3ece6; --muted: #93a79c; --line: #24352e; background: #15241e; color: #e3ece6; }
html[data-theme="dark"] .site-confirm-message { color: #c3d3ca; }
html[data-theme="dark"] .site-confirm-actions { background: #102019; }
html[data-theme="dark"] .site-confirm-emblem { background: #203c2e; color: #a8daba; }
html[data-theme="dark"] body:has(.workspace:not(.hidden)) { background: #0f1a16; }
html[data-theme="dark"] .workspace header { background: #13211c; border-color: #24352e; }
html[data-theme="dark"] .workspace .sidebar { background: #0b1511; }
html[data-theme="dark"] .workspace .card, html[data-theme="dark"] .pm-card, html[data-theme="dark"] .pm-drawer, html[data-theme="dark"] .pm-gantt-head, html[data-theme="dark"] .pm-today span { background: #15241e; border-color: #24352e; color: #e3ece6; }
html[data-theme="dark"] .workspace h1, html[data-theme="dark"] .workspace h2, html[data-theme="dark"] .workspace h3, html[data-theme="dark"] .pm-drawer h2, html[data-theme="dark"] .workspace .header-title, html[data-theme="dark"] .workspace strong, html[data-theme="dark"] .pm-column-head { color: #eef5f0; }
html[data-theme="dark"] .workspace p, html[data-theme="dark"] .pm-phase p, html[data-theme="dark"] .workspace td, html[data-theme="dark"] .pm-comment { color: #c3d3ca !important; }
html[data-theme="dark"] .workspace input, html[data-theme="dark"] .workspace select, html[data-theme="dark"] .workspace textarea, html[data-theme="dark"] .pm-drawer input, html[data-theme="dark"] .pm-drawer select, html[data-theme="dark"] .pm-drawer textarea, html[data-theme="dark"] .pm-card-status { background: #0f1a16; border-color: #2c4138; color: #e3ece6; }
html[data-theme="dark"] .pm-column { background: #13211c; }
html[data-theme="dark"] .pm-column.is-over { background: #1a2e26; }
html[data-theme="dark"] .pm-count, html[data-theme="dark"] .pm-week-grid div, html[data-theme="dark"] .pm-roles div, html[data-theme="dark"] .fact, html[data-theme="dark"] .pm-gantt-row.is-task, html[data-theme="dark"] .pm-close { background: #1a2b24; color: #c3d3ca; }
html[data-theme="dark"] .pm-bar { background: #24352e; }
html[data-theme="dark"] .pm-table tbody tr:hover { background: #1a2b24; }
html[data-theme="dark"] .register-status.is-incomplete { background: #49371d; color: #f0c77d; }
html[data-theme="dark"] .register-status.is-review { background: #1e394b; color: #9dc9e7; }
html[data-theme="dark"] .register-missing { color: #f0c77d; }
html[data-theme="dark"] .secondary { background: #1d3229; border-color: #2f4a3e; color: #bfe0cc; }
html[data-theme="dark"] .text-button, html[data-theme="dark"] .pm-inline-link, html[data-theme="dark"] .workspace a { color: #8fd0aa; }
html[data-theme="dark"] .pm-no, html[data-theme="dark"] .overline, html[data-theme="dark"] .pm-phase-no { color: #8fd0aa; }
html[data-theme="dark"] .pm-warning { background: #2d1e14; border-color: #5a3a22; color: #f0c39a; }
html[data-theme="dark"] .pm-warning .text-button { color: #f0c39a; }
html[data-theme="dark"] .alert { background: #16271f; border-color: #24352e; color: #bfe0cc; }
html[data-theme="dark"] .workspace footer { border-color: #24352e; }
html[data-theme="dark"] .theme-toggle, html[data-theme="dark"] .logout { color: #bfe0cc; border-color: #2c4138; }
html[data-theme="dark"] .avatar { background: #1d3229; color: #bfe0cc; }

/* Afdrukken / opslaan als PDF */
@media print {
  .sidebar, .workspace header, .workspace footer, .pm-toolbar, .pm-actions-bar, .pm-hero-actions, .cookie-banner, .toast, .pm-check-cell, .text-button, .pm-overlay { display: none !important; }
  .workspace { display: block; }
  .content { padding: 0; max-width: none; }
  .card, .pm-kpi, .pm-phase { box-shadow: none !important; break-inside: avoid; }
  .pm-kpis { grid-template-columns: repeat(3, 1fr); }
  body { background: #fff; }
  body.pm-document-printing { overflow: visible; }
  body.pm-document-printing > :not(#pm-document-print) { display: none !important; }
  body.pm-document-printing #pm-document-print { display: block; padding: 0; border: 0; color: #000; background: #fff; font-size: 11pt; }
  body.pm-document-printing #pm-document-print .card { break-inside: auto; }
  body.pm-document-printing .audit-table { overflow: visible; }
  body.pm-document-printing .audit-table tr { break-inside: avoid; }
}
html[data-theme="dark"] .workspace .task label, html[data-theme="dark"] .pm-drawer .task label, html[data-theme="dark"] .pm-drawer .feed li, html[data-theme="dark"] .workspace .feed li, html[data-theme="dark"] .pm-task-link { color: #e3ece6; }
html[data-theme="dark"] .pm-drawer label, html[data-theme="dark"] .workspace .form label { color: #a9c4b6; }
html[data-theme="dark"] .pm-drawer-section, html[data-theme="dark"] .pm-drawer .feed li, html[data-theme="dark"] .task { border-color: #24352e; }
