/* mijn.fleximaal.nl: de look van de oude app (index.php en settings.php), na app.css geladen.
   Kleuren, maten en randen komen uit de oude stijlblokken; Font Awesome is vervangen door eigen SVG-iconen. */
:root {
	--primary-pink: #d92087;
	--primary-pink-dark: #b91860;
	--primary-gold: #b77c1e;
	--accent-orange: #f09d00;
	--accent-blue: #4ebeea;
	--light-bg: #f8fafc;
	--text-main: #334155;
	--text-muted: #64748b;
	--text-headings: #1e293b;
	--border-color: #e2e8f0;
	--rainbow: linear-gradient(to right, #c2185b, #4fc3f7, #1e88e5, #fb8c00, #fdd835, #8bc34a);
}
body.mijn { background-color: var(--light-bg); color: var(--text-main); font-size: .95rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.mijn h1, body.mijn h2, body.mijn h3, body.mijn h4, body.mijn h5, body.mijn h6 { color: var(--text-headings); font-weight: 600; letter-spacing: -.01em; }
body.mijn .page-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Kopbalk */
.navbar-custom { background: #fff; border-bottom: 2px solid var(--border-color); padding: .75rem 0; }
.navbar-custom .site-logo svg, .navbar-custom .logo svg { height: 32px; width: auto; }
.btn-outline-form, .btn-logout { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 38px; border-radius: 8px; padding: 8px 12px; font-weight: 500; font-size: .9rem; text-decoration: none; transition: all .2s ease; white-space: nowrap; }
.btn-outline-form { color: var(--text-headings); background: #fff; border: 1px solid #cbd5e1; }
.btn-outline-form:hover, .btn-outline-form:focus-visible { background: var(--light-bg); border-color: #94a3b8; color: var(--text-headings); }
.btn-outline-form.active, .btn-check:checked + .btn-outline-form { background: #f1f5f9; border-color: #94a3b8; color: var(--text-headings); font-weight: 600; }
.btn-logout { background: #f1f5f9; color: #475569; border: 1px solid var(--border-color); }
.btn-logout:hover, .btn-logout:focus-visible { background: #ffe4e6; color: var(--primary-pink-dark); border-color: #fecdd3; }
.ico { width: 1rem; height: 1rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-pink { color: var(--primary-pink); }
@media (min-width: 768px) { .btn-logout { padding: 8px 20px; } }

/* Tellers (reach-card) */
body.mijn .metric-tile { border-radius: 16px; padding: 20px; border: 2px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .02); color: var(--text-headings); }
body.mijn a.metric-tile:hover, body.mijn a.metric-tile:focus-visible { border-color: var(--primary-pink); }
body.mijn .metric-label { font-size: .75rem; letter-spacing: .5px; color: var(--text-muted); }
body.mijn .metric-value { font-size: 1.4rem; font-weight: 600; }
body.mijn .metric-icon { top: 20px; right: 20px; stroke: #b4beca; }
body.mijn .metric-change.up { color: #16a34a; }
body.mijn .metric-change.down { color: #dc2626; }
body.mijn .metric-badge { background: var(--primary-pink); }

/* Hoofdknoppen op het dashboard (action-card) */
.action-card { background: #fff; border-radius: 14px; padding: 45px 20px; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0, 0, 0, .01); display: flex; align-items: center; gap: 20px; transition: all .2s ease; }
.action-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .03); }
.action-card.pink-border { border: 2px solid var(--primary-pink); }
.action-card.gold-border { border: 2px solid var(--accent-orange); }
.action-card.blue-border { border: 2px solid #3eb8e8; }
.action-card .icon-large { width: 60px; height: auto; flex-shrink: 0; margin: 0 10px 0 20px; }
.action-card h2 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.action-card p { color: var(--text-muted); font-size: .875rem; margin-bottom: .5rem; }
.btn-action { display: inline-block; border-radius: 50px; padding: 6px 16px; font-size: .85rem; font-weight: 500; color: #fff; text-decoration: none; border: 0; }
.btn-action:hover, .btn-action:focus-visible { color: #fff; filter: brightness(.92); }
.btn-action.pink { background: var(--primary-pink); }
.btn-action.orange { background: var(--accent-orange); }
.btn-action.blue { background: var(--accent-blue); }
@media (max-width: 991px) { .action-card { flex-direction: column; text-align: center; padding: 30px 20px; } .action-card .icon-large { margin: 0; } }

/* DigiCoach (tab-content-card) */
.tab-content-card, .question-section { background: #fff; border-radius: 16px; padding: 24px; border: 2px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .02); }
.question-section { border-color: #c4d200; }
body.mijn .nav-tabs { border-bottom: 1px solid var(--border-color); gap: 4px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.mijn .nav-tabs .nav-link { color: var(--text-muted); border: none; font-weight: 500; font-size: .85rem; padding: 8px 16px; border-bottom: 2px solid transparent; border-radius: 0; white-space: nowrap; background: transparent; }
body.mijn .nav-tabs .nav-link:hover { color: var(--text-headings); border-bottom-color: #cbd5e1; }
body.mijn .nav-tabs .nav-link.active { color: var(--text-headings); border-bottom: 2px solid var(--primary-pink); font-weight: 600; }
.daily-goal-box { display: flex; align-items: center; background: #f1f5f9; border-radius: 12px; padding: 14px 18px; gap: 16px; margin-bottom: 12px; border: 1px solid var(--border-color); }
.daily-goal-box h3 { font-size: .95rem; margin: 0; }
.points-badge { margin-left: auto; font-weight: 600; }

/* Fundering: zijbalk */
.sidebar-card { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 12px; padding: 16px 24px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); border: 1px solid var(--border-color); width: 100%; font-weight: 500; font-size: .95rem; color: var(--text-muted); text-decoration: none; transition: all .2s ease; }
.sidebar-card:hover, .sidebar-card:focus-visible { background: var(--light-bg); color: var(--text-headings); border-color: #cbd5e1; }
.sidebar-card.active { background: #fff0f6; color: var(--primary-pink); border-color: var(--primary-pink); font-weight: 600; }
.sidebar-card .ico { color: var(--primary-pink); width: 1.1rem; height: 1.1rem; }
.sidebar-card-special { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; }
.sidebar-card-special.active { background: linear-gradient(#fff0f6, #fff0f6) padding-box, var(--rainbow) border-box; }

/* Fundering: inhoud */
.content-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .02); margin-bottom: 20px; border: 1px solid var(--border-color); }
.content-card > h2, .content-card .card-title { font-weight: 600; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; color: var(--text-headings); font-size: 1.15rem; }
.content-card h3 { font-size: .95rem; font-weight: 600; margin: 1.25rem 0 .6rem; }
.content-card.highlight { border: 2px solid var(--primary-pink); }
body.mijn .form-label { font-weight: 500; color: var(--text-headings); margin-bottom: 6px; font-size: .9rem; }
body.mijn .form-control, body.mijn .form-select { background-color: #fff; border-radius: 8px; border: 1px solid #cbd5e1; padding: 10px 14px; color: var(--text-main); font-size: .95rem; }
body.mijn .form-control:focus, body.mijn .form-select:focus { border-color: var(--primary-pink); box-shadow: 0 0 0 3px rgba(217, 28, 122, .1); }
body.mijn .form-control::placeholder { color: #94a3b8; opacity: .7; }
body.mijn .form-check-input { border: 1px solid #868a8e; }
body.mijn .form-check-input:checked { background-color: var(--primary-pink); border-color: var(--primary-pink); }
.content-card fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.content-card legend { float: none; width: auto; padding: 0; margin-bottom: 6px; }
.field-hint { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.btn-save { display: block; width: 100%; background: var(--primary-pink); color: #fff; border: 0; border-radius: 50px; padding: 12px 24px; font-weight: 600; font-size: .95rem; transition: background-color .2s ease; text-align: center; text-decoration: none; }
.btn-save:hover, .btn-save:focus-visible { background: var(--primary-pink-dark); color: #fff; }
.btn-save.auto { display: inline-block; width: auto; }
.btn-add { display: inline-block; background: var(--primary-pink); color: #fff; border-radius: 50px; padding: 10px 24px; border: 0; font-weight: 500; font-size: .95rem; text-decoration: none; }
.btn-add:hover, .btn-add:focus-visible { background: var(--primary-pink-dark); color: #fff; }
.logo-box { width: 80px; height: 80px; border-radius: 12px; border: 2px solid var(--primary-pink); background: #f8f9fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-box img.placeholder { width: 32px; height: 32px; opacity: .75; }

/* Team (profile-item) */
.profile-section { display: flex; flex-direction: column; gap: 12px; }
.profile-item { background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-color); box-shadow: 0 1px 2px rgba(0, 0, 0, .02); color: inherit; text-decoration: none; transition: all .2s ease; }
a.profile-item:hover, a.profile-item:focus-visible { border-color: #cbd5e1; background: var(--light-bg); color: inherit; }
.profile-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f1f5f9; flex-shrink: 0; overflow: hidden; border: 1px solid var(--border-color); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { flex-grow: 1; min-width: 0; }
.profile-name { font-weight: 500; margin: 0; color: var(--text-headings); font-size: .9rem; }
.profile-role { font-size: .8rem; color: var(--text-muted); margin: 0; }
.profile-item .ico { color: #94a3b8; }
a.profile-item:hover .ico { color: var(--primary-pink); }

/* Merk & identiteit: stappen */
.step-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; list-style: none; padding: 0; }
.step-nav a { display: inline-flex; align-items: center; gap: .4rem; border-radius: 50px; padding: 6px 14px; font-size: .85rem; font-weight: 500; color: var(--text-muted); background: #fff; border: 1px solid var(--border-color); text-decoration: none; }
.step-nav a.done { color: #16a34a; border-color: #bbf7d0; }
.step-nav a.active { color: var(--primary-pink); border-color: var(--primary-pink); background: #fff0f6; font-weight: 600; }
.step-nav .num { display: inline-flex; width: 1.4rem; height: 1.4rem; border-radius: 50%; align-items: center; justify-content: center; background: #f1f5f9; font-size: .75rem; }
.step-nav a.active .num { background: var(--primary-pink); color: #fff; }
.step-nav a.done .num { background: #dcfce7; }
.product-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.25rem; }
.product-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 16px; background: #fff; }
.product-item .info { flex-grow: 1; min-width: 0; }
.product-item .name { font-weight: 600; color: var(--text-headings); margin: 0; font-size: .92rem; }
.product-item .meta { font-size: .8rem; color: var(--text-muted); margin: 0; }
.product-item .price { font-weight: 600; white-space: nowrap; }
.product-item.incomplete { border-style: dashed; }
.type-toggle { display: inline-flex; gap: 0; margin-bottom: 1rem; }
.type-toggle .btn-outline-form { border-radius: 0; }
.type-toggle .btn-outline-form:first-of-type { border-radius: 8px 0 0 8px; }
.type-toggle .btn-outline-form:last-of-type { border-radius: 0 8px 8px 0; margin-left: -1px; }
.check-list { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.check-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--border-color); }
.check-list li:last-child { border-bottom: 0; }
.check-list .ok { color: #16a34a; }
.check-list .todo { color: #dc2626; }
.check-list .ico { margin-right: .4rem; }
.check-list a { font-size: .75rem; border-radius: 50px; padding: 3px 12px; border: 1px solid #cbd5e1; color: var(--text-main); text-decoration: none; white-space: nowrap; }
.ready-box { border-radius: 1rem; padding: 1.5rem; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; }
.almost-box { border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--border-color); background: #fff; }
.locked-card { text-align: center; padding: 3rem 2rem; }
.locked-card .ico { width: 3rem; height: 3rem; color: #cbd5e1; margin-bottom: 1rem; }

/* Wachtscherm van de AI (het filmpje uit de oude app) */
.ai-wait { background: #111; border-radius: 16px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ai-wait-video { width: 100%; max-width: 560px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ai-wait-text { background: rgba(255, 255, 255, .08); color: #fff; border-radius: 16px; padding: 16px 24px; max-width: 560px; }
.ai-wait-text h2, body.mijn .ai-wait-text h2 { color: #fff; margin-bottom: .5rem; }
.ai-wait .small-print { color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }

/* Merkfundament: de drie knoppen */
.brand-button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; background: #fff; border-radius: 14px; padding: 20px; border: 2px solid var(--border-color); text-decoration: none; color: var(--text-main); transition: all .2s ease; }
.brand-button img { width: 44px; height: 44px; margin-bottom: 4px; }
.brand-button.pink { border-color: var(--primary-pink); }
.brand-button.gold { border-color: var(--accent-orange); }
.brand-button.blue { border-color: #3eb8e8; }
.brand-button:hover, .brand-button:focus-visible { box-shadow: 0 6px 16px rgba(0, 0, 0, .06); transform: translateY(-1px); color: var(--text-main); }
.brand-button-title { font-weight: 700; color: var(--text-headings); }
.brand-button-lead { font-size: .85rem; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .brand-button:hover { transform: none; } }

/* Merkfundament: overzichten */
.section-picker .form-select { max-width: 420px; font-weight: 600; background-color: var(--light-bg); }
.period-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.brand-text p { margin-bottom: .9rem; }
.brand-text ul { padding-left: 1.2rem; }
.brand-text li { margin-bottom: .4rem; }
.brand-edit { margin-top: 1rem; border-top: 1px solid #f1f5f9; padding-top: 1rem; }
.brand-edit summary { cursor: pointer; font-weight: 600; color: var(--primary-pink); }
.fact-box { background: var(--light-bg); border-radius: 12px; padding: 14px 16px; height: 100%; }
.fact-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--primary-pink); margin-bottom: 4px; }
.fact-value { display: block; font-size: .9rem; color: var(--text-headings); }
.trias-icon { width: 40px; height: 40px; fill: none; stroke: var(--primary-pink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.moment-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.moment-list li { background: #fff0f6; border: 1px solid #fce7f3; border-radius: 50px; padding: 6px 14px; font-size: .85rem; }
.moment-list .day { font-weight: 600; color: var(--text-headings); }
.brandbook-table .form-control-color { width: 44px; height: 44px; padding: 2px; border-radius: 10px; }
.keyword-table th[scope="row"] { font-weight: 600; }
.kw-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; }
.kw-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #6c757d; }
.kw-status.s5::before { background: #16a34a; }
.kw-status.s4::before { background: #a7289b; }
.kw-status.s3::before { background: #f59e0b; }
.kw-status.s2::before { background: #0891b2; }
.growth-box { border-radius: 16px; padding: 18px 20px; background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%); border: 1px solid #fce7f3; }
.growth-row + .growth-row { border-top: 1px solid rgba(217, 28, 122, .1); margin-top: 14px; padding-top: 14px; }
.growth-label { margin: 0 0 4px; font-size: .7rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); }
.growth-value { margin: 0 0 2px; font-size: 1.3rem; font-weight: 700; color: var(--primary-pink); }
.growth-row.profit .growth-value { color: #047857; }
.growth-realised { margin: 6px 0 0; font-size: .82rem; font-weight: 600; color: #15803d; }
.growth-realised.below { color: var(--text-main); }
.plan-steps { list-style: none; padding: 0; margin: 0; }
.plan-steps > li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
.plan-steps > li:last-child { border-bottom: 0; }
.plan-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fdf2f8; color: var(--primary-pink); border: 1px solid #fce7f3; font-size: .8rem; font-weight: 700; }
.plan-body { font-weight: 500; color: var(--text-headings); }
.plan-body p { margin: 0; }
.plan-actions { padding-left: 1.1rem; margin: 0; }
.plan-actions li { margin-bottom: .35rem; }

/* Realisatie: grafiek en donuts (prognose = roze gestippeld, werkelijk = blauw met punten) */
.chart-legend { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; }
.chart-legend .key { display: inline-block; width: 22px; height: 0; border-top: 2px dashed #d92087; margin-right: -.6rem; }
.chart-legend .key.realised { border-top: 2px solid #1d72b8; }
.growth-chart { width: 100%; height: auto; display: block; }
.growth-chart .grid { stroke: #eef2f6; stroke-width: 1; }
.growth-chart .axis { fill: #64748b; font-size: 11px; }
.growth-chart .today { stroke: #94a3b8; stroke-width: 1; stroke-dasharray: 2 3; }
.growth-chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.growth-chart .line.projection { stroke: #d92087; stroke-dasharray: 6 4; }
.growth-chart .line.realised { stroke: #1d72b8; }
.growth-chart .dot.projection { fill: #d92087; stroke: #fff; stroke-width: 2; }
.growth-chart .dot.realised { fill: #1d72b8; stroke: #fff; stroke-width: 2; }
.chart-table { margin-top: .75rem; }
.chart-table summary { cursor: pointer; font-size: .85rem; color: var(--text-muted); }
.goal-donut { margin: 0; text-align: center; }
.goal-donut svg { width: 110px; height: 110px; }
.goal-donut .track { fill: none; stroke: #eef2f6; stroke-width: 10; }
.goal-donut .fill { fill: none; stroke: #1d72b8; stroke-width: 10; stroke-linecap: round; }
.goal-donut-value { font-weight: 700; fill: var(--text-headings); }
.donut-row { margin-bottom: 1.25rem; }
.goal-donut figcaption { line-height: 1.45; }
.goal-donut-label { display: block; font-weight: 600; color: var(--text-headings); margin-top: 4px; }
@media (forced-colors: active) { .growth-chart .line, .goal-donut .fill { stroke: CanvasText; } }
body.mijn .form-select { padding-right: 2.25rem; }
.metric-caption { font-size: .8rem; color: var(--text-muted); margin: 0 0 1.5rem; }
.metric-period { display: block; font-size: .72rem; color: var(--text-muted); }
.top-pages { list-style: none; padding: 0; margin: 0; }
.top-pages li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.top-pages li:last-child { border-bottom: 0; }
.top-title { flex-grow: 1; font-weight: 600; color: var(--text-headings); }
.top-stats { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }

/* Zichtbaar & vindbaar */
.content-table th[scope="row"] a { color: var(--text-headings); font-weight: 600; text-decoration: none; }
.content-table th[scope="row"] a:hover, .content-table th[scope="row"] a:focus-visible { color: var(--primary-pink); text-decoration: underline; }
.state-badge { display: inline-block; border-radius: 50px; padding: 2px 10px; font-size: .75rem; font-weight: 600; background: #f1f5f9; color: #475569; }
.state-badge.published { background: #dcfce7; color: #166534; }
.state-badge.scheduled { background: #e0f2fe; color: #075985; }
.state-badge.expired { background: #f1f5f9; color: #64748b; }
.state-badge.review { background: #fef3c7; color: #92400e; }
.state-badge.rejected, .state-badge.taken_down { background: #fee2e2; color: #991b1b; }
.home-state { display: block; font-size: .72rem; font-weight: 500; color: var(--text-muted); margin-top: 2px; }
.home-state.live { color: #166534; }
.home-state.pending { color: #92400e; }
.content-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: .5rem; }
.seo-details > summary { cursor: pointer; margin: 0; font-weight: 600; color: var(--text-headings); }
.seo-details[open] > summary { padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.vacancy-fields { border: 1px solid #fce7f3; background: linear-gradient(180deg, #fffafd 0%, #ffffff 100%); }
.vacancy-fields[hidden] { display: none; }
.vacancy-fields > legend, .image-picker > legend { float: left; width: 100%; }
.vacancy-fields > legend + *, .image-picker > legend + * { clear: left; }
.form-check.home-check { display: block; padding-left: 1.75em; }
.form-check.home-check .form-check-input { float: left; margin-left: -1.75em; }
.home-check .home-state { margin-top: 4px; }

/* Teksteditor (publicaties) */
.editor { border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.editor:focus-within { border-color: var(--primary-pink); box-shadow: 0 0 0 3px rgba(217, 28, 122, .1); }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--border-color); background: var(--light-bg); border-radius: 8px 8px 0 0; }
.editor-btn { min-width: 36px; height: 34px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-headings); font-weight: 700; font-size: .9rem; }
.editor-btn:hover, .editor-btn:focus-visible { background: #fff; border-color: #cbd5e1; }
.editor-btn[aria-pressed="true"] { background: #fff0f6; border-color: var(--primary-pink); color: var(--primary-pink); }
.editor-italic { font-style: italic; font-family: Georgia, serif; }
.editor-undo { margin-left: auto; font-weight: 400; }
body.mijn .editor-area.form-control { border: 0; border-radius: 0 0 8px 8px; min-height: 320px; max-height: 70vh; overflow-y: auto; box-shadow: none; }
.editor-area h3 { font-size: 1.15rem; margin: 1rem 0 .5rem; }
.editor-area p { margin: 0 0 .8rem; }

/* Mediabibliotheek en afbeeldingskeuze (og-formaat 1200 x 630) */
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.library-item { border: 1px solid var(--c-line, #e3e6ef); border-radius: 12px; padding: .75rem; background: #fff; }
.library-item img, .library-option img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; margin-bottom: .5rem; background: #eef0f6; }
.library-option { position: relative; }
.library-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.library-option label { display: block; height: 100%; border: 2px solid var(--c-line, #e3e6ef); border-radius: 12px; padding: .5rem; cursor: pointer; background: #fff; }
.library-option label:hover { border-color: #b9bfd0; }
.library-radio:checked + label { border-color: #d92087; box-shadow: 0 0 0 3px rgba(217, 32, 135, .18); }
.library-radio:focus-visible + label { outline: 3px solid #1d72b8; outline-offset: 2px; }
.library-label { display: block; font-size: .875rem; line-height: 1.3; overflow-wrap: anywhere; }
.library-none { display: flex; align-items: center; justify-content: center; aspect-ratio: 1200 / 630; border-radius: 8px; margin-bottom: .5rem; background: #f4f5f9; }
.library-none .ico { width: 2rem; height: 2rem; opacity: .5; }
.image-picker details > summary { cursor: pointer; color: #d92087; }
.rights-box { border-left: 4px solid #d92087; background: #fdf3f8; border-radius: 8px; padding: .875rem 1rem; }
.rights-box .home-check { margin-bottom: 0; }
.library-item .form-control { margin-bottom: .5rem; }
.library-item .library-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.library-item .library-actions form { margin: 0; }
.library-pick { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }

/* Meten & bijsturen: kliks per maand (één reeks, roze; de huidige maand donkerder) */
.clicks-chart { width: 100%; height: auto; display: block; }
.clicks-chart .bar { fill: #f4a7cf; }
.clicks-chart .bar.current { fill: #d92087; }
.clicks-chart .grid { stroke: #cbd2e1; stroke-width: 1; }
.clicks-chart .value { font-size: 13px; font-weight: 600; fill: #1b2540; }
.clicks-chart .axis { font-size: 12px; fill: #5b6478; }
.spark { width: 66px; height: 24px; display: block; }
.spark rect { fill: #f4a7cf; }
.spark rect.current { fill: #d92087; }
.spark line { stroke: #cbd2e1; stroke-width: 1; }
.copy-field { display: flex; gap: .4rem; min-width: 15rem; }
.copy-field .form-control { font-size: .8rem; background: #f8fafc; }
.smartlink-table .up { color: #166534; }
.smartlink-table .down { color: #991b1b; }

/* Maandoverzicht en relatietrap (/overzicht en Je realisatie) */
.ov-card { position: relative; border: 1px solid #e3e6ef; border-radius: 14px; padding: .875rem 1rem; background: #fff; height: 100%; }
.ov-card:hover { border-color: #d92087; }
.ov-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.ov-label { font-size: .82rem; font-weight: 600; color: #44506b; }
.ov-value { font-size: 1.75rem; font-weight: 700; color: #1b2540; line-height: 1.2; margin-top: .25rem; font-variant-numeric: tabular-nums; }
.ov-sub { font-size: .8rem; color: #5b6478; }
.ov-sub .up { color: #166534; }
.ov-sub .down { color: #991b1b; }
.ov-hint { font-size: .75rem; color: #8a93a8; margin-top: .15rem; }
.funnel-strip { width: 100%; height: 14px; display: block; margin-bottom: 1rem; }
.funnel-phases { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem 1.5rem; }
.funnel-phase-head { display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; font-size: .9rem; }
.funnel-phase-head .dot { width: 10px; height: 10px; flex: none; }
.funnel-link { margin-left: auto; font-size: .8rem; color: #d92087; }
.funnel-stages li { display: grid; grid-template-columns: 8.5rem 1fr 2.5rem; align-items: center; gap: .5rem; font-size: .82rem; padding: .15rem 0; }
.funnel-stages .name { color: #44506b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.funnel-stages .track { width: 100%; height: 10px; display: block; }
.funnel-stages .track .bg { fill: #eef0f6; }
.funnel-stages .count { text-align: right; font-variant-numeric: tabular-nums; color: #1b2540; font-weight: 600; }
/* Fasen van de relatietrap: één tint van licht (bekendheid) naar donker (relatie), in de kleur van het platform */
.ph-1 { fill: #f2b8d7; }
.ph-2 { fill: #e67fb7; }
.ph-3 { fill: #d92087; }
.ph-4 { fill: #961563; }
.ph-5 { fill: #570c3a; }

/* DigiCoach (dashboard) */
.coach-heading { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.coach-meta { font-size: .75rem; color: #8a93a8; margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .03em; }
.coach-done { color: #166534; font-weight: 600; }
.coach-count { display: inline-block; min-width: 1.25rem; padding: 0 .35rem; margin-left: .25rem; border-radius: 999px; background: #d92087; color: #fff; font-size: .7rem; line-height: 1.25rem; text-align: center; }
.coach-total { background: #dcfce7; color: #166534; border-radius: 6px; padding: .3rem .75rem; font-size: .85rem; font-weight: 600; }
.coach-history li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #eef0f6; font-size: .9rem; }
.coach-history small { display: block; color: #8a93a8; font-size: .75rem; }
.coach-points { font-weight: 700; color: #166534; white-space: nowrap; }
.daily-goal-box { align-items: flex-start; }
.daily-goal-box .left-accent { width: 4px; align-self: stretch; border-radius: 4px; background: #d92087; flex: none; }
.coach-message .left-accent { background: #1d72b8; }
.points-badge { white-space: nowrap; color: #d92087; }

/* Social media koppelen (/fundering/social) */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.social-card { border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.social-card .alert { font-size: .875rem; margin-bottom: .75rem; }
.social-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.social-head h3 { margin: 0; flex: 1; font-size: 1rem; }
.social-mark { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; background: var(--primary-pink); }
.social-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.social-actions form { margin: 0; }

/* Haalbaarheid van de groeidoelen (Realisatie, Aanpak). Label altijd met tekst, kleur alleen als steun. */
.feas-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.feas-badge.f1 { background: #e8f5ec; color: #1d5e35; }
.feas-badge.f2 { background: #fff1db; color: #7a4a00; }
.feas-badge.f3 { background: #fbe3ef; color: #961563; }
.feas-table tr.current th, .feas-table tr.current td { background: #fdf2f8; }

/* Digitale Content Planner (/fundering/social/berichten) */
.plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; border-bottom: 1px solid var(--border-color); }
.plan-tabs a { padding: 8px 14px; text-decoration: none; color: inherit; border-bottom: 3px solid transparent; }
.plan-tabs a.active { border-bottom-color: var(--primary-pink); font-weight: 600; }
.plan-tabs .count { font-size: .8rem; opacity: .75; }
.plan-item { border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-actions form { margin: 0; }
.plan-text { white-space: normal; margin-bottom: 0; }
.plan-group { margin: 20px 0 4px; }
.plan-group .count { font-weight: 400; opacity: .75; }
