.c26-toggle button {
  transition: background 0.2s ease, color 0.2s ease;
}

.bbv-muur-v2-root {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .c26-hfd-tv-body {
    transition: none !important;
  }
  .c26-bbv-muur--reveal-open .c26-tv-chip,
  .c26-bbv-muur--reveal-close .c26-tv-chip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  #c26App.c26-enter {
    animation: none !important;
  }
  .c26-card {
    transition: none;
  }
  .c26-toggle button {
    transition: none;
  }
  .c26-hfd-tv-body {
    transition: none !important;
  }
  .c26-bbv-muur--reveal-open .c26-tv-chip,
  .c26-bbv-muur--reveal-close .c26-tv-chip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .c26-pf-detail-body {
    transition: none !important;
  }
  .c26-pf-stage--reveal-open .c26-pf-reveal-item,
  .c26-pf-stage--reveal-close .c26-pf-reveal-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
.c26-bbv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.c26-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.c26-toggle button {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--muted);
}

.c26-toggle button.is-on {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* ─── BBV-hoofdstukken: bento-muur (niet portefeuille) ─── */
.c26-bbv-muur {
  background: color-mix(in srgb, var(--line) 55%, #ececec);
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
}

.c26-hfd-featured {
  margin-bottom: 0.7rem;
}

.c26-hfd-masonry {
  column-count: 3;
  column-gap: 0.7rem;
}

.c26-hfd-masonry > .c26-hfd-tile {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 0.7rem;
  width: 100%;
  display: inline-block;
  vertical-align: top;
}

.c26-hfd-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--hfd-accent, var(--primary)) 18%, var(--line));
  border-left: 5px solid var(--hfd-accent, var(--primary));
  border-top: 2px solid color-mix(in srgb, var(--hfd-accent, var(--primary)) 45%, white);
  border-radius: 8px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--hfd-accent, var(--primary)) 7%, white) 0%,
    #fff 48%
  );
  padding: 0.85rem 0.95rem 0.95rem;
  box-shadow: 0 1px 4px rgba(29, 29, 27, 0.05);
  text-align: left;
  color: inherit;
}

.c26-hfd-watermark {
  position: absolute;
  right: 0.15rem;
  top: -0.15rem;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--hfd-accent, var(--primary));
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Taakvelden zichtbaar: H-watermark onderaan — niet door titel/omschrijving heen */
.c26-bbv-muur--taakvelden .c26-hfd-watermark,
.c26-bbv-muur--hoofdstukken .c26-hfd-tile--expanded .c26-hfd-watermark {
  top: auto;
  bottom: 0.25rem;
  right: 0.35rem;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  opacity: 0.055;
}

.c26-bbv-muur--taakvelden .c26-hfd-tile--featured .c26-hfd-watermark {
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  opacity: 0.06;
}

.c26-hfd-tile-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--hfd-accent, var(--primary)) 4%, white);
  border-radius: 6px;
  padding: 0.15rem 0.2rem 0.2rem;
  margin: -0.15rem -0.2rem 0.35rem;
}

.c26-bbv-muur--taakvelden .c26-hfd-tile-head,
.c26-bbv-muur--hoofdstukken .c26-hfd-tile--expanded .c26-hfd-tile-head {
  margin-bottom: 0.25rem;
}

.c26-hfd-tile-titles {
  flex: 1;
  min-width: 0;
}

.c26-hfd-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

/* ─── Hoofdstukken → taakvelden: uitklappen + cascade ─── */
.c26-hfd-tv-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.c26-hfd-tv-inner {
  overflow: hidden;
  min-height: 0;
}

.c26-bbv-muur--taakvelden .c26-hfd-tv-body {
  grid-template-rows: 1fr;
}

.c26-bbv-muur--hoofdstukken .c26-tv-chip {
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  pointer-events: none;
}

/* Klik op hoofdstuk → taakvelden in die tegel */
.c26-bbv-muur--hoofdstukken .c26-hfd-tile-head {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.c26-bbv-muur--hoofdstukken .c26-hfd-tile-head:hover .c26-hfd-name,
.c26-bbv-muur--hoofdstukken .c26-hfd-tile-head:focus-visible .c26-hfd-name {
  color: var(--hfd-accent, var(--primary));
}

.c26-bbv-muur--hoofdstukken .c26-hfd-tile-head:focus-visible {
  outline: 2px solid var(--hfd-accent, var(--primary));
  outline-offset: 2px;
  border-radius: 4px;
}

.c26-bbv-muur--hoofdstukken .c26-hfd-tile--expanded .c26-hfd-tv-body {
  grid-template-rows: 1fr;
}

.c26-bbv-muur--hoofdstukken .c26-hfd-tile--expanded .c26-tv-chip,
.c26-hfd-tile--reveal-open .c26-tv-chip {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  filter: none;
}

.c26-hfd-tile--reveal-open .c26-tv-chip {
  animation: c26-tv-cascade-in 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(120ms + var(--tv-seq, 0) * 40ms);
}

html.c26-ff .c26-bbv-muur--hoofdstukken .c26-hfd-tile--expanded .c26-hfd-tv-body {
  max-height: 2800px;
}

html.c26-ff .c26-hfd-tile--reveal-open .c26-tv-chip {
  filter: none;
  animation-duration: 0.34s;
  animation-delay: calc(70ms + var(--tv-seq, 0) * 26ms);
}

.c26-bbv-muur--taakvelden:not(.c26-bbv-muur--reveal-open) .c26-tv-chip {
  opacity: 1;
  transform: none;
  filter: none;
}

.c26-bbv-muur--reveal-open.c26-bbv-muur--taakvelden .c26-tv-chip {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  filter: blur(3px);
  animation: c26-tv-cascade-in 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(200ms + var(--tv-seq, 0) * 40ms);
}

.c26-bbv-muur--reveal-close .c26-tv-chip {
  animation: c26-tv-cascade-out 0.24s ease both;
  animation-delay: calc(var(--tv-seq, 0) * 10ms);
}

@keyframes c26-tv-cascade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes c26-tv-cascade-out {
  to {
    opacity: 0;
    transform: translateY(-4px) scale(0.94);
    filter: blur(2px);
  }
}

/* Firefox: geen VT-laag; max-height i.p.v. grid-0fr; geen blur (traag) */
html.c26-ff .c26-hfd-tv-body {
  display: block;
  grid-template-rows: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

html.c26-ff .c26-bbv-muur--taakvelden .c26-hfd-tv-body {
  max-height: 2800px;
}

html.c26-ff .c26-bbv-muur--reveal-open.c26-bbv-muur--taakvelden .c26-tv-chip {
  filter: none;
  animation-duration: 0.34s;
  animation-delay: calc(70ms + var(--tv-seq, 0) * 26ms);
}

html.c26-ff .c26-bbv-muur--reveal-close .c26-tv-chip {
  filter: none;
  animation-duration: 0.16s;
  animation-delay: calc(var(--tv-seq, 0) * 8ms);
}

/* ─── Grootte-tiers (hoogte uit data) ─── */
.c26-hfd-tile--tier-s {
  padding: 0.65rem 0.8rem 0.75rem;
}

.c26-hfd-tile--tier-s .c26-hfd-name {
  font-size: 0.88rem;
}

.c26-hfd-tile--tier-m .c26-hfd-name {
  font-size: 0.92rem;
}

.c26-hfd-tile--tier-xl .c26-hfd-name {
  font-size: 1.08rem;
}

.c26-hfd-tile--featured {
  border-left-width: 7px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--hfd-accent, var(--primary)) 12%, transparent);
  width: 100%;
}

.c26-bbv-muur--taakvelden .c26-hfd-tile--featured .c26-tv-grid--featured {
  gap: 0.45rem;
}

.c26-hfd-tile--featured .c26-hfd-watermark {
  font-size: clamp(4rem, 14vw, 6.5rem);
  opacity: 0.09;
}

.c26-hfd-tile--featured .c26-hfd-name {
  font-size: 1.15rem;
}

.c26-bbv-muur--taakvelden .c26-hfd-tile {
  padding: 1rem 1.05rem 2.4rem;
  box-shadow: 0 1px 5px rgba(29, 29, 27, 0.06);
}

.c26-bbv-muur--taakvelden .c26-hfd-tile--tier-s {
  padding: 0.75rem 0.95rem 0.85rem;
}

.c26-tv-grid--in-hfd {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px dashed color-mix(in srgb, var(--hfd-accent, var(--primary)) 22%, var(--line));
}

.c26-hfd-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--hfd-accent, var(--primary));
  background: color-mix(in srgb, var(--hfd-accent, var(--primary)) 12%, white);
  padding: 0.28rem 0.5rem;
  border-radius: 5px;
  line-height: 1;
  white-space: nowrap;
}

.c26-hfd-owner {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.c26-hfd-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.c26-tv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.c26-tv-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  cursor: default;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.25;
}

.c26-tv-chip--dense {
  padding: 0.32rem 0.55rem;
  font-size: 0.74rem;
  border-radius: 999px;
}

.c26-tv-chip--airy {
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
  border-radius: 999px;
}

.c26-tv-grid--row {
  flex-wrap: wrap;
}

.c26-tv-grid--featured {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.c26-tv-grid--in-hfd .c26-tv-chip {
  width: max-content;
  max-width: 100%;
  flex: 0 1 auto;
}

.c26-tv-chip-owner {
  font-size: 0.68rem;
  font-weight: 800;
  font-style: normal;
  color: var(--hfd-accent, var(--primary));
  background: color-mix(in srgb, var(--hfd-accent, var(--primary)) 14%, white);
  border: 1px solid color-mix(in srgb, var(--hfd-accent, var(--primary)) 28%, var(--line));
  border-radius: 999px;
  padding: 0.12rem 0.38rem;
  margin-right: 0;
  flex-shrink: 0;
}

.c26-tv-chip-code {
  font-size: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #1d1d1b);
  flex-shrink: 0;
}

.c26-tv-chip-label {
  min-width: 0;
}

.c26-tv-chip-owner--multi {
  font-size: 0.92em;
  letter-spacing: -0.02em;
}

.c26-footer {
  padding-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--contentColor, var(--muted));
}

.c26-footer a { color: var(--primary); }

@media (max-width: 960px) {
  .c26-hfd-masonry {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .c26-hfd-masonry {
    column-count: 1;
  }

  .c26-bbv-muur {
    padding: 0.65rem;
  }
}
/* BBV-toggle: ghosting / morph (View Transitions API, Keynote-achtig) */
@keyframes c26-vt-ghost-out {
  to {
    opacity: 0;
    filter: blur(6px);
  }
}

@keyframes c26-vt-ghost-in {
  from {
    opacity: 0;
    filter: blur(6px);
  }
}

html.c26-vt-bbv::view-transition-old(root),
html.c26-vt-bbv::view-transition-new(root) {
  animation-duration: 0.42s;
}

html.c26-vt-bbv::view-transition-group(bbv-muur),
html.c26-vt-bbv::view-transition-group(bbv-toolbar),
html.c26-vt-bbv::view-transition-group(hfd-0),
html.c26-vt-bbv::view-transition-group(hfd-1),
html.c26-vt-bbv::view-transition-group(hfd-2),
html.c26-vt-bbv::view-transition-group(hfd-3),
html.c26-vt-bbv::view-transition-group(hfd-4),
html.c26-vt-bbv::view-transition-group(hfd-5),
html.c26-vt-bbv::view-transition-group(hfd-6),
html.c26-vt-bbv::view-transition-group(hfd-7),
html.c26-vt-bbv::view-transition-group(hfd-8) {
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.c26-vt-bbv::view-transition-old(hfd-0),
html.c26-vt-bbv::view-transition-new(hfd-0),
html.c26-vt-bbv::view-transition-old(hfd-1),
html.c26-vt-bbv::view-transition-new(hfd-1),
html.c26-vt-bbv::view-transition-old(hfd-2),
html.c26-vt-bbv::view-transition-new(hfd-2),
html.c26-vt-bbv::view-transition-old(hfd-3),
html.c26-vt-bbv::view-transition-new(hfd-3),
html.c26-vt-bbv::view-transition-old(hfd-4),
html.c26-vt-bbv::view-transition-new(hfd-4),
html.c26-vt-bbv::view-transition-old(hfd-5),
html.c26-vt-bbv::view-transition-new(hfd-5),
html.c26-vt-bbv::view-transition-old(hfd-6),
html.c26-vt-bbv::view-transition-new(hfd-6),
html.c26-vt-bbv::view-transition-old(hfd-7),
html.c26-vt-bbv::view-transition-new(hfd-7),
html.c26-vt-bbv::view-transition-old(hfd-8),
html.c26-vt-bbv::view-transition-new(hfd-8) {
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.c26-vt-bbv::view-transition-old(hfd-0),
html.c26-vt-bbv::view-transition-old(hfd-1),
html.c26-vt-bbv::view-transition-old(hfd-2),
html.c26-vt-bbv::view-transition-old(hfd-3),
html.c26-vt-bbv::view-transition-old(hfd-4),
html.c26-vt-bbv::view-transition-old(hfd-5),
html.c26-vt-bbv::view-transition-old(hfd-6),
html.c26-vt-bbv::view-transition-old(hfd-7),
html.c26-vt-bbv::view-transition-old(hfd-8) {
  animation-name: c26-vt-ghost-out;
}

html.c26-vt-bbv::view-transition-new(hfd-0),
html.c26-vt-bbv::view-transition-new(hfd-1),
html.c26-vt-bbv::view-transition-new(hfd-2),
html.c26-vt-bbv::view-transition-new(hfd-3),
html.c26-vt-bbv::view-transition-new(hfd-4),
html.c26-vt-bbv::view-transition-new(hfd-5),
html.c26-vt-bbv::view-transition-new(hfd-6),
html.c26-vt-bbv::view-transition-new(hfd-7),
html.c26-vt-bbv::view-transition-new(hfd-8) {
  animation-name: c26-vt-ghost-in;
}

/* Portefeuille morph (Chrome) */
html.c26-vt-pf::view-transition-old(root),
html.c26-vt-pf::view-transition-new(root) {
  animation-duration: 0.38s;
}

html.c26-vt-pf::view-transition-group(pf-stage) {
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.c26-vt-pf::view-transition-group(*) {
  animation-duration: 0.68s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.c26-vt-bbv::view-transition-group(*),
  html.c26-vt-bbv::view-transition-old(*),
  html.c26-vt-bbv::view-transition-new(*),
  html.c26-vt-pf::view-transition-group(*),
  html.c26-vt-pf::view-transition-old(*),
  html.c26-vt-pf::view-transition-new(*) {
    animation-duration: 0.01ms !important;
  }
}
.c26-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .c26-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.c26-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--card-accent, var(--line));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.c26-card:hover,
.c26-card:focus-within {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  box-shadow: 0 4px 16px rgba(29, 29, 27, 0.1);
}

.c26-card-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: var(--ink);
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.c26-card-btn:hover,
.c26-card-btn:focus {
  color: var(--ink);
}

.c26-card-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.c26-card-btn:hover .c26-card-name,
.c26-card-btn:focus .c26-card-name {
  color: var(--primary-dark);
}

.c26-card-btn:hover .c26-pill,
.c26-card-btn:focus .c26-pill {
  color: var(--pf-accent, var(--primary-dark));
  background: color-mix(in srgb, var(--pf-accent, var(--primary)) 22%, white);
}

.c26-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 35%;
  margin: 1rem 1rem 0;
  border: 2px solid var(--primary-soft);
  background: var(--primary-soft);
}

.c26-card--burgemeester {
  border-color: color-mix(in srgb, var(--card-accent, #6b7280) 45%, var(--line));
}

.c26-card--burgemeester .c26-card-avatar {
  border-color: var(--card-accent, #6b7280);
  border-width: 3px;
}

.c26-card-avatar--empty {
  display: block;
}

.c26-card-body {
  padding: 1rem 1rem 1.1rem;
}

.c26-card-name {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.c26-card-meta {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.c26-card-meta--stacked {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.35;
}

.c26-card-partij {
  white-space: nowrap;
}

.c26-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.c26-card .c26-pills {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: none;
}

/* ─── Portefeuillehouder ↔ portefeuille (smooth toggle) ─── */
.c26-pf-stage {
  position: relative;
  min-height: 8rem;
}

.c26-pf-grid-pane {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.c26-pf-stage--detail .c26-pf-grid-pane {
  opacity: 0;
  filter: blur(5px);
  transform: scale(0.985);
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
}

.c26-pf-detail-pane {
  opacity: 0;
  pointer-events: none;
}

.c26-pf-stage--detail .c26-pf-detail-pane {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.c26-pf-detail-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.c26-pf-stage--detail .c26-pf-detail-body {
  grid-template-rows: 1fr;
}

.c26-pf-detail-inner {
  overflow: hidden;
  min-height: 0;
}

.c26-pf-stage:not(.c26-pf-stage--detail) .c26-pf-reveal-item {
  opacity: 0;
  pointer-events: none;
}

.c26-pf-stage--detail:not(.c26-pf-stage--reveal-open) .c26-pf-reveal-item {
  opacity: 1;
  transform: none;
  filter: none;
}

.c26-pf-stage--reveal-open.c26-pf-stage--detail .c26-pf-reveal-item {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  filter: blur(3px);
  animation: c26-pf-cascade-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(120ms + var(--pf-seq, 0) * 36ms);
}

.c26-pf-stage--reveal-close .c26-pf-reveal-item {
  animation: c26-pf-cascade-out 0.22s ease both;
  animation-delay: calc(var(--pf-seq, 0) * 10ms);
}

@keyframes c26-pf-cascade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes c26-pf-cascade-out {
  to {
    opacity: 0;
    transform: translateY(-4px) scale(0.94);
    filter: blur(2px);
  }
}

html.c26-ff .c26-pf-detail-body {
  display: block;
  grid-template-rows: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

html.c26-ff .c26-pf-stage--detail .c26-pf-detail-body {
  max-height: 8000px;
}

html.c26-ff .c26-pf-stage--reveal-open .c26-pf-reveal-item {
  filter: none;
  animation-duration: 0.34s;
  animation-delay: calc(60ms + var(--pf-seq, 0) * 28ms);
}

html.c26-ff .c26-pf-stage--reveal-close .c26-pf-reveal-item {
  filter: none;
}

@media (max-width: 768px) {
  .c26-pf-detail-pane .c26-tv-chip--link {
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(85, 96, 28, 0.15);
  }

  .c26-pf-stage--detail {
    min-height: 12rem;
  }
}

.c26-pill {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pf-accent, var(--primary)) 14%, white);
  color: var(--pf-accent, var(--primary-dark));
  border: 1px solid color-mix(in srgb, var(--pf-accent, var(--primary)) 28%, transparent);
  white-space: nowrap;
  line-height: 1.25;
}

.c26-detail-head .c26-pills {
  flex-wrap: wrap;
}

.c26-detail-head .c26-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
}

.c26-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
}

.c26-detail-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.c26-detail-avatar {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 50%;
  border: 3px solid var(--primary-soft);
  background: var(--primary-soft);
}

.c26-detail-avatar--empty {
  display: block;
}

.c26-section--tv {
  border-left: 4px solid var(--primary);
}

.c26-tv-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.c26-tv-block {
  margin-bottom: 1rem;
  border-left: 3px solid var(--pf-accent, var(--primary));
  padding-left: 0.65rem;
}

.c26-tv-block:last-of-type {
  margin-bottom: 0.5rem;
}

.c26-tv-block-title {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pf-accent, var(--primary-dark));
}

.c26-tv-foot {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.c26-tv-grid--in-hfd .c26-tv-chip--link {
  border: 1.5px solid color-mix(in srgb, var(--hfd-accent, var(--primary)) 38%, var(--line));
  background: color-mix(in srgb, var(--hfd-accent, var(--primary)) 7%, #fff);
  box-shadow: 0 1px 4px rgba(29, 29, 27, 0.07);
  cursor: pointer;
  font-weight: 500;
}

.c26-tv-chip--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s, background 0.15s;
}

.c26-tv-chip--link:hover {
  border-color: var(--hfd-accent, var(--primary));
  background: color-mix(in srgb, var(--hfd-accent, var(--primary)) 12%, #fff);
  box-shadow: 0 3px 12px color-mix(in srgb, var(--hfd-accent, var(--primary)) 22%, transparent);
  transform: translateY(-1px);
}

.c26-tv-chip--link:focus-visible {
  outline: 2px solid var(--hfd-accent, var(--primary));
  outline-offset: 2px;
}

.c26-detail-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.c26-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.c26-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--primary);
}

.c26-accordion details {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}

.c26-accordion details:first-child { border-top: 0; }

.c26-accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.c26-accordion ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.c26-accordion li {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.c26-bbv-toolbar--pills-only {
  justify-content: flex-end;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .c26-bbv-toolbar--pills-only .c26-toggle {
    flex-wrap: wrap;
    border-radius: 12px;
  }
  .c26-bbv-toolbar--pills-only .c26-toggle button {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
}

/* ─── ACC-banner (acceptatie) ─── */
.bbv-acc-banner {
  background: #eff6ff;
  border-bottom: 1px solid #93c5fd;
  color: #1e3a5f;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.55rem 1rem;
  text-align: center;
}

.bbv-acc-banner strong {
  font-weight: 600;
}

.bbv-acc-banner a {
  color: #0060ac;
  font-weight: 600;
}

/* ─── Coachmark: full-screen overlay + spotlight (disclaimer-niveau, géén huisstijl) ─── */
.bbv-coach-open {
  overflow: hidden;
}

.bbv-coach-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1rem 1rem;
  pointer-events: none;
}

.bbv-coach-spotlight {
  position: fixed;
  z-index: 9999;
  border-radius: 999px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.68);
  border: 3px solid #fbbf24;
  animation: bbv-coach-spot-pulse 1.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bbv-coach-spot-pulse {
  0%, 100% {
    border-color: #fbbf24;
    box-shadow:
      0 0 0 9999px rgba(0, 0, 0, 0.68),
      0 0 0 0 rgba(251, 191, 36, 0.55),
      0 0 24px rgba(251, 191, 36, 0.45);
  }
  50% {
    border-color: #fde68a;
    box-shadow:
      0 0 0 9999px rgba(0, 0, 0, 0.68),
      0 0 0 10px rgba(251, 191, 36, 0.35),
      0 0 36px rgba(251, 191, 36, 0.65);
  }
}

.bbv-coach-modal {
  position: relative;
  z-index: 10000;
  width: min(540px, 100%);
  margin-top: clamp(9rem, 24vh, 16rem);
  padding: 1.4rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, #fff8f0 0%, #ffedd5 100%);
  border: 3px solid #ea580c;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  pointer-events: auto;
  animation: bbv-coach-modal-in 0.45s cubic-bezier(0.22, 1.1, 0.36, 1);
}

@keyframes bbv-coach-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bbv-coach-modal-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.6rem;
  background: #ea580c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

.bbv-coach-modal-titel {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #7c2d12;
}

.bbv-coach-modal-tekst {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #451a03;
}

.bbv-coach-modal-sub {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #78350f;
}

.bbv-coach-modal-sub strong {
  color: #9a3412;
}

.bbv-coach-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.bbv-coach-modal-btn {
  border: 2px solid #ea580c;
  border-radius: 8px;
  background: #fff;
  color: #9a3412;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
}

.bbv-coach-modal-btn:hover {
  background: #ffedd5;
}

.bbv-coach-modal-btn--primary {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
  flex: 1 1 12rem;
}

.bbv-coach-modal-btn--primary:hover {
  background: #c2410c;
  border-color: #c2410c;
}

.bbv-coach-modal-link {
  background: none;
  border: none;
  color: #9a3412;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: auto;
  padding: 0.35rem 0.25rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bbv-coach-modal-link:hover {
  color: #7c2d12;
}

.bbv-coach-pill--spot {
  position: relative;
  z-index: 10001;
  animation: bbv-coach-pill-flash 1.4s ease-in-out infinite;
}

@keyframes bbv-coach-pill-flash {
  0%, 100% {
    box-shadow:
      inset 0 0 0 2px #fbbf24,
      0 0 14px rgba(251, 191, 36, 0.55);
  }
  50% {
    box-shadow:
      inset 0 0 0 3px #fde68a,
      0 0 22px rgba(251, 191, 36, 0.75);
  }
}

@media (max-width: 720px) {
  .bbv-coach-modal {
    margin-top: clamp(7.5rem, 20vh, 11rem);
    padding: 1rem 1.05rem 0.95rem;
  }

  .bbv-coach-modal-titel {
    font-size: 1.1rem;
  }

  .bbv-coach-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bbv-coach-modal-link {
    margin-left: 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbv-coach-spotlight,
  .bbv-coach-modal,
  .bbv-coach-pill--spot {
    animation: none;
  }

  .bbv-coach-spotlight {
    border-color: #fbbf24;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.68);
  }

  .bbv-coach-pill--spot {
    box-shadow: inset 0 0 0 2px #fbbf24;
  }
}
