/* =========================================================
   Supplement op merkhandboek.css - stijlt de strategie-doc
   blokken in hetzelfde Merqo merkhandboek-systeem.
   Tokens (--accent, --text, --border, --shadow-card, fonts)
   komen uit merkhandboek.css (eerder geladen).
   ========================================================= */

/* ---- Accent: Merqo-oranje (overschrijft het groen uit brand.css) ---- */
:root {
  --accent: #ED6B46;
  --accent-mid: #D45A35;
  --accent-light: rgba(237, 107, 70, 0.10);
}

/* ---- Main / blokken-flow ---- */
.mhb-main { background: #F0EDE7; min-height: 100vh; }
.mhb-doc { padding-bottom: 0; }

/* Doc-cover (abonnement/strategie) korter - geen vol-scherm lege ruimte */
.mhb-doc .mhb-section--cover { min-height: auto; gap: 0; justify-content: flex-start; }
.mhb-doc .cover-bottom { padding-top: clamp(56px, 9vw, 120px); }
.mhb-doc .cover-bg-number { font-size: clamp(220px, 34vw, 360px); bottom: -40px; }

.mhb-block { padding-left: clamp(24px, 5vw, 80px); padding-right: clamp(24px, 5vw, 80px); }
.mhb-block-inner { max-width: 1040px; }

/* Sectie-start: scheidingslijn + ruimte, zoals merkhandboek-secties */
.mhb-block--head { border-top: 1px solid var(--border); padding-top: 84px; scroll-margin-top: 24px; }
.mhb-main > .mhb-block--head:first-of-type { border-top: none; }
.mhb-block + .mhb-block { margin-top: 18px; }
.mhb-block--head + .mhb-block { margin-top: 26px; }
.mhb-block:last-of-type { padding-bottom: 100px; }
.mhb-block--head .mhb-title { margin-bottom: 0; }
.mhb-block--head .mhb-intro { margin-top: 22px; }

/* chapter-eyebrow (Hoofdstuk 0X) */
.mhb-chapnum { color: var(--accent); font-weight: 700; }

/* ---- Rich text (markdown body) ---- */
.rich { font-size: 15px; line-height: 1.75; color: var(--text); }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin-bottom: 14px; }
.rich.mhb-intro p { font-size: 18px; line-height: 1.65; color: var(--text); }
.rich strong { font-weight: 700; }
.rich a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.rich h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 19px; letter-spacing: -0.01em; color: var(--text);
  margin: 30px 0 10px;
}
.rich ul { list-style: none; margin: 14px 0; padding: 0; }
.rich ul li { position: relative; padding-left: 20px; margin-bottom: 9px; line-height: 1.6; font-size: 14.5px; }
.rich ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--accent);
}

/* ---- Tabellen ---- */
.rich .table-wrap { overflow-x: auto; margin: 16px 0; }
.rich table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rich th {
  text-align: left; font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 0 14px 10px 0; border-bottom: 1px solid var(--border);
}
.rich td { padding: 12px 14px 12px 0; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.rich td:first-child { font-weight: 600; }

/* ---- Kaarten ---- */
.cards { display: grid; gap: 16px; margin: 4px 0; }
.cards--1 { grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cards--2, .cards--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 26px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-tag {
  font-family: var(--font-head); font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.card h4 { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 7px; }
.card .rich, .card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card .rich > :last-child { margin-bottom: 0; }
.card .rich ul li { font-size: 13.5px; color: var(--text); }

a.card { display: block; text-decoration: none; color: var(--text); }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
a.card .card-arrow { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 13px; font-weight: 700; }

/* ---- Quote / kernpunt ---- */
.doc-quote {
  background: color-mix(in srgb, var(--accent) 8%, rgba(255,255,255,0.6));
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  padding: 24px 28px; margin: 4px 0;
}
.doc-quote .card-tag { color: var(--accent); }
.doc-quote .big { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }
.doc-quote .rich { color: var(--text); }
.doc-quote .rich.quote-sub p { color: var(--muted); font-size: 14px; }
.doc-quote .big + .rich { margin-top: 10px; }

/* ---- Aanname / callout ---- */
.callout {
  background: color-mix(in srgb, var(--accent) 6%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 4px 0; font-size: 14px; line-height: 1.6;
}
.callout .callout-tag {
  display: inline-block; font-family: var(--font-head); font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-right: 8px; vertical-align: middle;
}

/* ---- Badges (inline) ---- */
.badge { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; vertical-align: middle; }
.badge.warn { background: color-mix(in srgb, var(--accent) 14%, var(--white)); color: var(--accent-mid); }
.badge.tealb { background: var(--green-light); color: var(--teal); }

/* ---- Timeline ---- */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0; }
.tl-step { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; border-top: 3px solid var(--border); box-shadow: var(--shadow-card); }
.tl-step.reveal { border-top: 3px solid var(--accent); }
.tl-when { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.tl-step h5 { font-family: var(--font-head); font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.tl-step.reveal h5 { color: var(--accent-mid); }
.tl-step p { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 0; }
.tl-band { background: color-mix(in srgb, var(--accent) 8%, var(--white)); border-radius: 10px; padding: 12px 18px; margin-top: 12px; font-size: 13px; color: var(--accent-mid); font-weight: 600; }
@media (max-width: 760px) { .tl { grid-template-columns: 1fr 1fr; } }

/* ---- Maandblok ---- */
.month { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin: 6px 0; border-top: 3px solid var(--accent); box-shadow: var(--shadow-card); }
.month .m-when { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.month h4 { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin: 3px 0 8px; }
.month p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---- Inhoudsopgave ---- */
.doc-toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-top: 8px; }
@media (max-width: 760px) { .doc-toc-grid { grid-template-columns: 1fr; } }
.doc-toc-item { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; }
.doc-toc-item .n { color: var(--accent); font-weight: 700; font-size: 12px; min-width: 22px; }

/* ---- Cover ---- */
.cover-client-bar { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.cover-client-info { display: flex; flex-direction: column; }
.cover-client-for { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(0,0,0,0.4); font-family: var(--font-body); }
.cover-client-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.cover-foot-right { margin-left: auto; text-align: right; font-size: 12px; color: rgba(0,0,0,0.45); line-height: 1.6; }
.cover-title .hl, .mhb-title .hl, .cover-label .hl, .doc-footer .hl { color: var(--accent); font-style: italic; }
.cover-meta-top { text-align: right; }
.cover-meta-versie { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--text); }
.cover-meta-label { font-size: 11px; color: rgba(0,0,0,0.4); font-family: var(--font-body); }

/* ---- Dark footer ---- */
.doc-footer { background: var(--dark); color: #fff; padding: 64px clamp(24px,5vw,80px) 72px; }
.doc-footer .mhb-eyebrow { color: rgba(255,255,255,0.4); }
.doc-footer .mhb-eyebrow::before { background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0)); }
.doc-footer h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3vw,40px); letter-spacing: -0.02em; margin-bottom: 12px; }
.doc-footer h2 .hl { color: var(--teal-brand); }
.doc-footer .rich { color: rgba(255,255,255,0.7); max-width: 720px; }
.doc-footer-grid { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; }
.doc-footer-col { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.doc-footer-col .lbl { display: block; color: var(--teal-brand); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }

/* ---- Mobiele nav ---- */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .mhb-nav { transform: translateX(-100%); }
  .mhb-nav.is-open { transform: translateX(0); }
  .mhb-main { margin-left: 0; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 16px; left: 16px; z-index: 200;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--white); box-shadow: var(--shadow-card); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; display: block; width: 18px; height: 2px; background: var(--text); position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
}

/* ---- Profielen (tekst links, beeld rechts) ---- */
.profiles .profile-row {
  display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: stretch;
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 30px; margin: 16px 0; box-shadow: var(--shadow-card);
}
.profile-text .card-tag { color: var(--accent); }
.profile-text h4 { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; margin: 4px 0 10px; }
.profile-text .rich { font-size: 14px; color: var(--text); line-height: 1.6; }
.profile-text .rich > :last-child { margin-bottom: 0; }
.profile-text .rich strong { color: var(--text); font-weight: 700; }
.profile-img {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--sand);
  min-height: 240px; display: flex; align-items: center; justify-content: center; position: relative;
}
.profile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-img.is-empty::after {
  content: attr(data-empty); color: var(--muted); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
@media (max-width: 760px) {
  .profiles .profile-row { grid-template-columns: 1fr; }
  .profile-img { min-height: 200px; }
}

/* ---- Deel-divider (donker) ---- */
.doc-part { background: var(--dark); color: #fff; padding: 64px clamp(24px,5vw,80px); }
/* Donkere 'part'-band ruimte geven + ronde hoeken, niet vastplakken aan buren */
.mhb-doc .doc-part {
  margin: clamp(32px,5vw,60px) clamp(24px,5vw,72px);
  border-radius: 22px;
  padding: clamp(44px,5vw,64px) clamp(30px,5vw,56px);
}
.doc-part .doc-part-num { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.doc-part h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,4.4vw,46px); letter-spacing: -0.025em; line-height: 1.04; margin: 10px 0 12px; color: #fff; }
.doc-part h2 .hl { color: var(--accent); }
.doc-part p { color: rgba(255,255,255,0.72); max-width: 600px; }

/* ---- Ritueel / voorstel ---- */
.ritual { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--wine, #6E2230); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 6px 0; box-shadow: var(--shadow-card); }
.ritual h4 { font-family: var(--font-head); font-weight: 800; font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ritual .ritual-why { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.ritual .ritual-why strong { color: var(--text); }
.ritual .ritual-why > :last-child { margin-bottom: 0; }
.badge.voorstel { background: var(--green-light); color: var(--teal); }
.ritual--img { display: grid; grid-template-columns: 1fr 260px; gap: 26px; align-items: center; }
.ritual--img .ritual-body { min-width: 0; }
.ritual-img { margin: 0; border-radius: 10px; overflow: hidden; background: var(--sand); align-self: stretch; }
.ritual-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
@media (max-width: 760px) { .ritual--img { grid-template-columns: 1fr; } .ritual-img img { min-height: 200px; } }

/* ---- Beeldgalerij ---- */
.gallery-disclaimer { background: #2a1a20; color: #E9C9CE; border-radius: 10px; border-left: 4px solid var(--wine, #6E2230); padding: 16px 20px; margin: 0 0 20px; font-size: 13.5px; line-height: 1.55; }
.gallery-disclaimer strong { color: #fff; }
.gallery-disclaimer p { margin: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.gallery figure.gallery-wide { grid-column: 1 / -1; }
.gallery figure img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery figure.gallery-wide img { height: 320px; }
.gallery figcaption { padding: 13px 18px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.gallery figcaption b { display: block; color: var(--text); font-weight: 700; font-size: 13px; margin-bottom: 2px; font-family: var(--font-head); }

/* ---- Dashboard-kaarten ---- */
a.card.card--soon { opacity: 0.6; }
a.card.card--soon:hover { transform: none; box-shadow: var(--shadow-card); cursor: default; }
a.card.card--soon .card-arrow { color: var(--muted); }

/* ---- Homepage index ---- */
.home-hero { padding: clamp(60px,9vw,120px) clamp(24px,5vw,80px) 40px; }
.home-hero .cover-title { margin-top: 14px; }

/* Backdrop alleen op mobiel (media-query in merkhandboek.css), standaard uit */
.nav-backdrop { display: none; }

/* 4 onderdelen op één rij (gebruikt op de MaaS-pagina) */
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }

/* ======== Dashboard: bento-overzicht (past zoveel mogelijk in één blik) ======== */
.dash { padding: clamp(14px,2vw,26px) clamp(18px,3vw,40px); }

.dash-head { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-head-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
  display: flex; align-items: center; gap: 9px;
}
.dash-head-label::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); flex-shrink: 0; }
.dash-head-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.4vw,32px); letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.dash-head-sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.dash-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dash-updated { font-size: 11.5px; color: var(--muted); }
.dash-action {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; text-decoration: none;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 9px 18px; transition: background .2s ease, border-color .2s ease;
}
.dash-action:hover { background: var(--accent-mid); border-color: var(--accent-mid); }

/* Resultaten stat-strip */
.stat-strip {
  display: flex; align-items: center; gap: 0; margin-bottom: 12px; max-width: 1280px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 24px; box-shadow: var(--shadow-card);
}
.stat-cell { display: flex; flex-direction: column; gap: 3px; padding-right: 40px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 27px; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.stat-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat-note { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 700px) {
  .stat-strip { flex-wrap: wrap; gap: 14px; }
  .stat-note { margin-left: 0; width: 100%; }
}

/* Auto-flow grid met span-tegels: een uitgezette tegel laat geen gat achter. */
.dash-bento {
  display: grid; gap: 10px; max-width: 1280px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(92px, auto);
  grid-auto-flow: row dense;
}
.dash-bento .span2 { grid-column: span 2; }
.dash-bento .span-full { grid-column: 1 / -1; }
@media (max-width: 1100px) {
  .dash-bento { grid-template-columns: 1fr 1fr; }
  .dash-bento .span2 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .dash-bento { grid-template-columns: 1fr; }
  .dash-bento .span2, .dash-bento .span-full { grid-column: span 1; }
}

/* ---- Tegels ---- */
.tile {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 13px 16px; display: flex; flex-direction: column; min-width: 0;
  box-shadow: var(--shadow-card); position: relative;
}
.tile-eyebrow {
  font-family: var(--font-head); font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px;
  display: flex; align-items: center; gap: 8px;
}
.tile-eyebrow::before { content: ''; width: 16px; height: 1.5px; background: var(--accent); flex-shrink: 0; }
.tile-title { font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.tile-text {
  font-size: 13px; line-height: 1.45; color: var(--muted); margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tile-foot { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.tile-arrow { margin-top: auto; padding-top: 12px; color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 13px; }

a.tile--link { text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
a.tile--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }

/* Kwartaal-tegel: wrapper .tile met vullende anchor erbinnen (geen geneste <a>) */
.tile-fill { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; text-decoration: none; color: inherit; }
.tile:has(.tile-fill:hover) { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); transition: transform .2s ease, box-shadow .2s ease; }

/* Beheer-balk (alleen Merqo/super) */
.adminbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--text); color: #fff; border-radius: 12px; padding: 9px 14px; margin-bottom: 16px;
}
.adminbar-tag { font-family: var(--font-head); font-weight: 700; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.adminbar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.adminbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adminbar-btn { font-family: var(--font-head); font-weight: 700; font-size: 12px; text-decoration: none; background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 8px; transition: background .15s ease; }
.adminbar-btn:hover { background: var(--accent-mid); }
.adminbar-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.adminbar-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Inline bewerk-pill op tegels (alleen Merqo/super) */
.tile-edit {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  font-family: var(--font-head); font-weight: 700; font-size: 11px; text-decoration: none;
  background: var(--white); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  padding: 3px 9px; border-radius: 7px; opacity: .85; transition: opacity .15s ease, background .15s ease;
}
.tile-edit::before { content: '✎ '; }
.tile-edit:hover { opacity: 1; background: var(--accent-light); }

/* Afvink-control (klant markeert item als afgerond) */
.chk { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.chk-meta { font-size: 11px; color: var(--muted); font-family: var(--font-head); font-weight: 700; }
.chk-meta--open { color: var(--muted); opacity: .7; }
.chk--done .chk-meta { color: #2e7d32; }
.chk-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 11px; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; padding: 5px 11px; border-radius: 7px;
  transition: background .15s ease;
}
.chk-btn:hover { background: var(--accent-mid); }
.chk-btn--undo { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.chk-btn--undo:hover { background: var(--bg, #f4f1ea); color: var(--text); }
.status-row { display: flex; align-items: center; gap: 12px; }

/* Rijen met acties + reacties eronder */
.status-row--rich { flex-direction: column; align-items: stretch; gap: 8px; }
.status-main { display: flex; align-items: center; gap: 12px; }
.deliver-item--rich { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.deliver-main-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deliver-right { display: inline-flex; align-items: center; gap: 12px; }
.deliver-actions { display: flex; flex-direction: column; gap: 8px; }
.deliver-actions .chk { margin-left: 0; }

/* Inklapbaar middel: compact standaard, acties op aanvraag */
.middel { padding: 0; }
.middel-summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 12px 15px; user-select: none;
}
.middel-summary::-webkit-details-marker { display: none; }
.middel-toggle {
  font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--accent);
  padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 7px;
}
.middel[open] .middel-toggle { color: var(--text); background: var(--bg, #f4f1ea); }
.middel .deliver-actions { padding: 2px 15px 15px; }

/* Goedkeuren-control */
.appr { display: flex; flex-direction: column; gap: 8px; }
.appr-state { font-size: 12px; font-family: var(--font-head); font-weight: 700; }
.appr-state--ok { color: #2e7d32; }
.appr-state--changes { color: var(--accent-mid); }
.appr-note { font-weight: 400; font-style: italic; color: var(--muted); margin-left: 4px; }
.appr-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.appr-input {
  flex: 1 1 180px; min-width: 140px; font: inherit; font-size: 13px;
  border: 1px solid var(--border); border-radius: 8px; padding: 7px 11px; background: var(--white);
}
.appr-input:focus { outline: none; border-color: var(--accent); }
.appr-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 12px; cursor: pointer;
  border: 0; padding: 8px 13px; border-radius: 8px; transition: opacity .15s ease;
}
.appr-btn--ok { background: #2e7d32; color: #fff; }
.appr-btn--changes { background: transparent; color: var(--accent-mid); border: 1px solid var(--accent); }
.appr-btn:hover { opacity: .85; }

/* Aangeleverde bestanden */
.files { display: flex; flex-direction: column; gap: 8px; }
.file-list { display: flex; flex-direction: column; gap: 5px; }
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg, #f7f4ee); border-radius: 8px; padding: 7px 11px; text-decoration: none;
  border: 1px solid var(--border);
}
.file-item:hover { border-color: var(--accent); }
.file-name { font-size: 13px; font-weight: 700; color: var(--text); }
.file-meta { font-size: 11px; color: var(--muted); white-space: nowrap; }
.file-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.file-input { font-size: 12px; max-width: 240px; }
.file-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 12px; cursor: pointer;
  background: var(--text); color: #fff; border: 0; padding: 7px 13px; border-radius: 8px;
  transition: opacity .15s ease;
}
.file-btn:hover { opacity: .85; }

/* Reactiethread (inklapbaar, geen JS) */
.thread { font-size: 13px; }
.thread-summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--muted);
  padding: 3px 0; user-select: none;
}
.thread-summary::-webkit-details-marker { display: none; }
.thread-summary:hover { color: var(--accent); }
.thread[open] .thread-summary { color: var(--text); margin-bottom: 8px; }
.thread-body { display: flex; flex-direction: column; gap: 8px; }
.cmt {
  background: var(--bg, #f7f4ee); border-radius: 9px; padding: 8px 11px;
  border-left: 3px solid var(--border);
}
.cmt--merqo { border-left-color: var(--accent); }
.cmt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.cmt-name { font-weight: 700; font-size: 12px; color: var(--text); }
.cmt-role {
  font-family: var(--font-head); font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 1px 6px; border-radius: 5px;
  background: var(--border); color: var(--muted);
}
.cmt--merqo .cmt-role { background: var(--accent-light); color: var(--accent-mid); }
.cmt-when { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.cmt-body { font-size: 13px; line-height: 1.5; color: var(--text); }
.cmt-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 2px; }
.cmt-input {
  flex: 1 1 auto; resize: vertical; min-height: 38px; font: inherit; font-size: 13px;
  border: 1px solid var(--border); border-radius: 9px; padding: 8px 11px; background: var(--white);
}
.cmt-input:focus { outline: none; border-color: var(--accent); }
.cmt-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 12px; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; padding: 9px 14px; border-radius: 9px;
  transition: background .15s ease;
}
.cmt-btn:hover { background: var(--accent-mid); }

/* Merqo-inbox: activiteit over alle klanten */
.inbox { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.inbox-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 4px; border-bottom: 1px solid var(--border);
}
.inbox-item:last-child { border-bottom: 0; }
.inbox-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; background: var(--border); }
.inbox-dot--klant { background: var(--accent); }
.inbox-dot--merqo { background: var(--text); }
.inbox-main { flex: 1 1 auto; min-width: 0; }
.inbox-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13px; }
.inbox-client { font-weight: 700; color: var(--text); text-decoration: none; }
.inbox-client:hover { color: var(--accent); }
.inbox-who { color: var(--text); }
.inbox-role {
  font-family: var(--font-head); font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 1px 6px; border-radius: 5px; background: var(--border); color: var(--muted);
}
.inbox-role--merqo { background: var(--accent-light); color: var(--accent-mid); }
.inbox-action { color: var(--muted); }
.inbox-snippet { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-style: italic; }
.inbox-when { font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }

.tile--feature {
  background: color-mix(in srgb, var(--accent) 7%, var(--white));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
}
.tile--feature .tile-title { font-size: 19px; }

/* Dit kwartaal: focus-lijst */
.focus-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.focus-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: 9px; padding: 6px 12px;
}
.focus-label { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--text); }
.focus-status {
  flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--white));
  border-radius: 999px; padding: 3px 10px;
}

/* Cijfers: getallen in de tegel (geen geneste kaders) */
.t-cijfers .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.t-cijfers .kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi-num { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.kpi-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.kpi--empty .kpi-num { color: var(--border); }
.t-cijfers .tile-foot { margin-top: 12px; }

/* Naar buiten: kanaal-chips */
.chip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
@media (max-width: 480px) { .chip-row { grid-template-columns: 1fr; } }
.chip {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip-label { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--text); }
.chip-sub { font-size: 12px; color: var(--muted); }

/* Resultaten: trend + kanalen */
.kpi-trend { font-size: 11px; font-weight: 700; margin-top: 2px; }
.kpi-trend.up { color: #2F6B4F; }
.kpi-trend.down { color: #B4503C; }
.kpi-channels { margin-top: 14px; display: grid; gap: 6px; }
.kpi-channel { display: flex; justify-content: space-between; font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 6px; }
.kpi-channel-name { color: var(--muted); }
.kpi-channel-val { font-weight: 700; color: var(--text); }

/* Planning */
.plan-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.plan-item { display: flex; align-items: center; gap: 12px; }
.plan-when { flex-shrink: 0; width: 78px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.plan-label { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--text); }
.plan-type {
  flex-shrink: 0; font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 9px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
}
.plan-type--campagne { color: #B4503C; background: color-mix(in srgb, #B4503C 12%, var(--white)); }
.plan-type--deadline { color: #9A6A12; background: color-mix(in srgb, #9A6A12 12%, var(--white)); }

/* Budget */
.budget-amounts { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.budget-spent { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--text); }
.budget-total { font-size: 13px; color: var(--muted); }
.budget-bar { margin-top: 10px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--white)); overflow: hidden; }
.budget-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* Documenten & deliverables: lijst met actieve en beschikbare items */
.deliver-list { margin-top: 8px; display: grid; gap: 5px; }
.deliver-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; border: 1px solid var(--border); border-radius: 10px; padding: 7px 13px;
  transition: border-color .2s ease, background .2s ease;
}
.deliver-item:hover { border-color: var(--accent); }
.deliver-name { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--text); }
.deliver-open { flex-shrink: 0; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--accent); }
.deliver-item--soon { border-style: dashed; }
.deliver-item--soon .deliver-name { color: var(--muted); font-weight: 600; }
.deliver-soon {
  flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: color-mix(in srgb, var(--muted) 10%, var(--white));
  border-radius: 999px; padding: 3px 10px;
}
.deliver-more { color: var(--accent); font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.deliver-more:hover { text-decoration: underline; }

/* Je team */
.team-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-member { display: flex; align-items: center; gap: 11px; min-width: 0; }
.team-avatar, .team-photo {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
}
.team-photo { object-fit: cover; object-position: top center; }
.team-avatar {
  display: block; line-height: 40px; text-align: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--white));
  color: var(--accent); font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase; overflow: hidden; font-size: 0;
}
.team-avatar::first-letter { font-size: 16px; }
.team-info { display: flex; flex-direction: column; min-width: 0; }
.team-name { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--text); }
.team-role { font-size: 11.5px; color: var(--muted); }
.team-email { font-size: 11.5px; color: var(--accent); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-email:hover { text-decoration: underline; }

.nav-logout {
  display: inline-block; margin-bottom: 12px; font-family: var(--font-head); font-weight: 700;
  font-size: 12px; color: var(--muted); text-decoration: none;
}
.nav-logout:hover { color: var(--accent); }

/* ======== Merqo-beheer (admin-landing) ======== */
.merqo-admin { min-height: 100vh; background: #F0EDE7; }
.merqo-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px,4vw,48px); border-bottom: 1px solid var(--border); background: var(--white);
}
.merqo-brand { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -0.02em; }
.merqo-brand-sub { color: var(--muted); font-weight: 600; font-size: 14px; margin-left: 6px; }
.merqo-top-actions { display: flex; align-items: center; gap: 16px; }
.merqo-logout { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--muted); text-decoration: none; }
.merqo-logout:hover { color: var(--accent); }
.merqo-body { padding: clamp(24px,4vw,44px) clamp(20px,4vw,48px); }
.merqo-client-actions { display: flex; gap: 20px; margin-top: 14px; }

/* ======== Login ======== */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #F0EDE7; }
.login-card {
  width: 100%; max-width: 400px; background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow-card); text-align: center;
}
.login-logo { display: block; margin: 0 auto 18px; opacity: 0.9; }
.login-logo--merqo { width: 132px; height: auto; opacity: 1; }
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--text); }
.login-eyebrow { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.login-title { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--text); margin: 6px 0 4px; }
.login-sub { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.login-card form { text-align: left; }
.login-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--text); margin: 12px 0 5px; }
.login-input {
  width: 100%; box-sizing: border-box; font-size: 15px; font-family: var(--font-body);
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text);
}
.login-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.login-btn {
  width: 100%; margin-top: 20px; padding: 12px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  transition: background .2s ease;
}
.login-btn:hover { background: var(--accent-mid); }
.login-remember { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.login-remember input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.login-error {
  background: color-mix(in srgb, #B4503C 10%, var(--white)); border: 1px solid color-mix(in srgb, #B4503C 30%, var(--border));
  color: #B4503C; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 6px;
}
.login-foot { font-size: 11px; color: var(--muted); margin: 22px 0 0; }

/* ======== Dashboard-subpagina's ======== */
a.nav-header { text-decoration: none; color: inherit; display: block; }

/* Terug-link bovenaan een subpagina */
.dash-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  border: 1px solid var(--border); color: var(--accent); text-decoration: none;
  font-size: 17px; line-height: 1; transition: border-color .2s ease, background .2s ease;
}
.dash-back:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--white)); }
/* Terug-item in de document-zijbalk */
.nav-item.nav-back { color: var(--accent); font-weight: 600; }

/* Contact: bellen + appen */
.dash-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.dash-contact-label { font-size: 12px; color: var(--muted); }
.dash-action--ghost {
  background: transparent; color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.dash-action--ghost:hover { background: color-mix(in srgb, var(--accent) 8%, var(--white)); border-color: var(--accent); }

/* Team-pagina */
.team-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; max-width: 1120px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 22px; text-align: center; box-shadow: var(--shadow-card);
}
.team-card-photo, .team-card-avatar {
  width: 96px; height: 96px; border-radius: 50%; display: block; margin: 0 auto 14px;
}
.team-card-photo { object-fit: cover; object-position: top center; }
.team-card-avatar {
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--white));
  color: var(--accent); font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase; overflow: hidden; font-size: 0;
}
.team-card-avatar::first-letter { font-size: 34px; }
.team-card-name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text); }
.team-card-role { font-size: 13px; color: var(--muted); margin-top: 3px; }
.team-card-email { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--accent); text-decoration: none; font-family: var(--font-head); font-weight: 700; }
.team-card-email:hover { text-decoration: underline; }

/* Planning-pagina: tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.timeline-row { display: grid; grid-template-columns: 96px 16px 1fr; align-items: start; gap: 14px; }
.timeline-when { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--muted); padding-top: 13px; text-align: right; }
.timeline-dot { position: relative; align-self: stretch; }
.timeline-dot::before { content: ''; position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--accent); z-index: 1; }
.timeline-row:not(:last-child) .timeline-dot::after { content: ''; position: absolute; left: 50%; top: 22px; bottom: -8px; transform: translateX(-50%); width: 1.5px; background: var(--border); }
.timeline-body { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timeline-label { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--text); }

/* Planning-pagina: maandkalender */
.cal-month { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--text); text-transform: capitalize; margin-bottom: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 920px; }
.cal-head { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 0 2px 4px; }
.cal-cell {
  min-height: 92px; background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px; display: flex; flex-direction: column; gap: 4px;
}
.cal-cell--out { background: transparent; border: none; min-height: 0; }
.cal-cell--has { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.cal-cell--today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-day { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--muted); }
.cal-cell--has .cal-day, .cal-cell--today .cal-day { color: var(--text); }
.cal-ev {
  font-size: 10.5px; font-weight: 700; line-height: 1.25; border-radius: 6px; padding: 3px 6px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--white));
}
.cal-ev.plan-type--campagne { color: #B4503C; background: color-mix(in srgb, #B4503C 12%, var(--white)); }
.cal-ev.plan-type--deadline { color: #9A6A12; background: color-mix(in srgb, #9A6A12 14%, var(--white)); }
.cal-other { margin-top: 26px; max-width: 760px; }
.cal-other .tile-eyebrow { margin-bottom: 10px; }
@media (max-width: 720px) {
  .cal-grid { gap: 5px; }
  .cal-cell { min-height: 64px; padding: 5px; }
  .cal-ev { font-size: 9px; padding: 2px 4px; }
}

/* Documenten-pagina */
.doc-section { max-width: 820px; margin-bottom: 18px; }
.doc-section--wide { max-width: 1100px; }

/* Kwartaal-hub */
.kwartaal-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; max-width: 1100px; }
@media (max-width: 900px) { .kwartaal-grid { grid-template-columns: 1fr; } }
.kwartaal-col .doc-section { max-width: none; }
.kwartaal-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.kwartaal-plan {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: var(--dark); color: #fff; border-radius: 16px; padding: 20px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kwartaal-plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.kwartaal-plan-title { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff; }
.kwartaal-plan .tile-arrow { color: var(--accent); padding-top: 8px; margin-top: 0; }
.kwartaal-plan--ghost { background: var(--white); border: 1px solid var(--border); }
.kwartaal-plan--ghost .kwartaal-plan-title { color: var(--text); }

/* Kwartaal: primaire actie (strategisch plan) */
.kwartaal-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--dark); color: #fff; border-radius: 16px; padding: 15px 22px;
  text-decoration: none; max-width: 1100px; margin-bottom: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kwartaal-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.kwartaal-hero-eyebrow { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.kwartaal-hero-title { display: block; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: #fff; margin-top: 5px; }
.kwartaal-hero-btn { flex-shrink: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 10px 20px; font-family: var(--font-head); font-weight: 700; font-size: 13px; }

/* Lopende acties: platte info-rij (niet klikbaar-ogend) */
.status-list { list-style: none; margin: 8px 0 0; padding: 0; max-width: 820px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.status-row:first-child { border-top: 1px solid var(--border); }
.status-label { font-size: 14px; color: var(--text); }
.status-tag { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--muted); }

/* Klikbare middel-rij: arrow als affordance */
.deliver-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Middel-status badges */
.mid-status { flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.mid-status--gemaakt { color: #2F6B4F; background: color-mix(in srgb, #2F6B4F 12%, var(--white)); }
.mid-status--gepland { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--white)); }
.mid-status--nodig { color: #9A6A12; background: color-mix(in srgb, #9A6A12 14%, var(--white)); }
.info-banner {
  max-width: 820px; margin-bottom: 26px; padding: 12px 16px; border-radius: 12px;
  font-size: 13.5px; color: var(--text);
  background: color-mix(in srgb, var(--accent) 8%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
}
.deliver-item--static { border-style: dashed; cursor: default; }
.deliver-item--static:hover { border-color: var(--border); }
.doc-cta {
  max-width: 820px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; background: var(--dark); color: #fff; border-radius: 18px; padding: 24px 28px;
}
.doc-cta .big { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.doc-cta p { color: rgba(255,255,255,0.72); font-size: 14px; margin: 6px 0 0; max-width: 520px; }
.doc-cta .dash-action { flex-shrink: 0; }
.doc-section .tile-eyebrow { margin-bottom: 12px; }
.deliver-list--lg .deliver-item { padding: 14px 18px; }
.deliver-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.deliver-desc { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted); }

/* Contact-tegel (legacy, indien gebruikt) */
.t-contact .contact-name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text); margin: 4px 0 8px; }
.contact-link { display: block; color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 14px; text-decoration: none; }
.contact-link:hover { color: var(--accent-mid); text-decoration: underline; }

/* === Kwartaal-pagina: schoon component-systeem === */

/* Lopende acties: checkbox-lijst */
.q-acts { list-style: none; margin: 6px 0 0; padding: 0; max-width: 860px; }
.q-act {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 12px 2px; border-top: 1px solid var(--border);
}
.q-act:first-child { border-top: 0; }
.q-act-label { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 500; color: var(--text); }
.q-chip { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--bg, #f1eee6); color: var(--muted); }

/* Ronde checkbox */
.q-checkwrap { flex-shrink: 0; display: inline-flex; margin: 0; }
.q-check {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfc9ba;
  background: transparent; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 13px; line-height: 1; padding: 0;
  transition: border-color .15s ease, background .15s ease;
}
.q-check:hover { border-color: #2F6B4F; }
.q-check--on { background: #2F6B4F; border-color: #2F6B4F; }

/* Reactie-toggle (inline) + paneel (CSS-only, geen JS) */
.q-cmt {
  flex-shrink: 0; cursor: pointer; user-select: none; display: inline-flex; align-items: center;
  gap: 5px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--muted);
  padding: 4px 8px; border-radius: 8px;
}
.q-cmt:hover { color: var(--accent); background: var(--bg, #f4f1ea); }
.q-i { font-style: normal; }
.q-thread { display: none; flex-basis: 100%; width: 100%; padding-top: 4px; }
.q-tog:checked ~ .q-thread { display: block; }
.q-thread .cmt-form { margin-top: 8px; }

/* Middelen: compacte uitklap-kaarten */
.q-mids { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.q-mid { background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.q-mid-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  cursor: pointer; list-style: none;
}
.q-mid-head::-webkit-details-marker { display: none; }
.q-mid-name { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; color: var(--text); }
.q-mid-right { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.q-pill { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.q-pill--gemaakt { background: color-mix(in srgb, #2F6B4F 12%, var(--white)); color: #2F6B4F; }
.q-pill--gepland { background: color-mix(in srgb, var(--accent) 14%, var(--white)); color: var(--accent-mid); }
.q-pill--nodig { background: color-mix(in srgb, #9A6A12 14%, var(--white)); color: #9A6A12; }
.q-chev { color: var(--muted); font-size: 16px; transition: transform .15s ease; }
.q-mid[open] .q-chev { transform: rotate(180deg); }
.q-mid-panel { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.q-open { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent); text-decoration: none; }
.q-open:hover { color: var(--accent-mid); }
