.bpd {
  padding-block: var(--ruimte);
  color: var(--ink);
  background: linear-gradient(112deg, #f6f8fd 0%, #edf2fb 66%, #e5edfb 100%);
}
.bpd-layout {
  display: grid;
  grid-template-columns: var(--raster-sporen);
  gap: var(--raster-goot);
  align-items: center;
}
.bpd-intro { grid-column: 1 / 6; min-width: 0; }
.bpd-kicker {
  display: inline-flex; align-items: center; gap: 11px;
  color: #364a67; font-size: .875rem; font-weight: 620;
}
.bpd-kicker::before { content: ""; width: 24px; height: 2px; background: var(--cobalt); }
.bpd-intro h2 { max-width: 17ch; margin: 15px 0; }
.bpd-intro > p { max-width: 41ch; color: var(--muted); font-size: var(--lead); line-height: 1.53; }
.bpd-tabs {
  display: grid; max-width: 435px;
  margin-top: clamp(22px, 2.8vw, 44px);
  border-top: 1px solid #c8d5e8;
}
.bpd-tab {
  position: relative; display: grid; gap: 2px; min-height: 48px;
  padding: 12px 34px 12px 14px; border-bottom: 1px solid #c8d5e8;
  color: var(--ink); line-height: 1.4;
  transition: color .18s ease, background-color .18s ease;
}
.bpd-tab::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 2px; border-radius: 2px; background: var(--action-blue);
  transform: scaleY(0); transition: transform .2s ease;
}
.bpd-tab::after {
  content: ""; position: absolute; top: 50%; right: 16px;
  width: 7px; height: 7px; border-block-start: 1.5px solid; border-inline-end: 1.5px solid;
  transform: translateY(-50%) rotate(45deg); color: #7185a9;
}
.bpd-tab[aria-selected="true"] { background: #e6edf9; color: #2545ae; }
.bpd-tab[aria-selected="true"]::before { transform: scaleY(1); }
.bpd-tab[aria-selected="true"]::after { color: var(--action-blue); }
.bpd-tab:hover { background-color: #e3eaf7; color: var(--action-blue); }
.bpd-tab:focus-visible, .bpd-screen:focus-visible, .bpd-documents summary:focus-visible { outline-offset: 1px; }
.bpd-tab-title { font-weight: 610; font-size: 1rem; }
.bpd-tab-description { color: #4c5c72; font-size: .89rem; }
.bpd-demo { grid-column: 6 / -1; margin: 0; min-width: 0; }
.bpd-screen {
  overflow: hidden; min-width: 0; margin-bottom: 14px;
  background: white; border: 1px solid #cbd8ed; border-radius: var(--vlak-radius);
  box-shadow: 0 12px 30px -22px #223e7b66;
}
.bpd-screen[hidden] { display: none; }
.bpd-screen[role="tabpanel"]:not([hidden]) .bpd-workspace { animation: bpd-reveal .24s ease-out; }
@keyframes bpd-reveal { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.bpd-top {
  display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(16px, 1.5vw, 23px) clamp(17px, 2.2vw, 36px);
  background: #fafbfd; border-bottom: 1px solid #dce4f0;
}
.bpd-top img { display: block; width: clamp(87px, 7.5vw, 118px); height: auto; }
.bpd-top > span { border-left: 1px solid #ccd5e3; padding-left: clamp(12px, 1.4vw, 22px); font-size: .83rem; color: #4d5d73; }
.bpd-workspace {
  min-height: clamp(360px, 28.6vw, 425px); padding: clamp(18px, 2.2vw, 36px);
  color: #253044; font-size: clamp(.84rem, .82rem + .15vw, .97rem); line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.bpd-screen-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.bpd-screen-title h3 { margin: 0; font-size: clamp(1.25rem, .98rem + .85vw, 1.85rem); line-height: 1.2; letter-spacing: -.04em; }
.bpd-badge {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 4px 8px; border-radius: 6px; background: #eaf0ff;
  color: #31509f; font-size: .77rem; font-weight: 550; line-height: 1.3;
}
.bpd-badge::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: currentColor; }
.bpd-paid { color: #246344; background: #edf7f1; }
.bpd-pending { color: #79531d; background: #fdf3df; }
.bpd-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(18px, 1.8vw, 29px) 0; padding: 13px 0;
  border: 1px solid #dce4f0; border-radius: 9px; background: #f6f8fc;
}
.bpd-metrics > div { min-width: 0; padding: 0 clamp(8px, 1.1vw, 18px); }
.bpd-metrics > div + div { border-left: 1px solid #d7e0ee; }
.bpd-metrics dt { color: #526178; font-size: .78rem; line-height: 1.4; }
.bpd-metrics dd { margin: 5px 0 0; color: #253750; font-size: clamp(1.2rem, .96rem + .73vw, 1.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.bpd-table { width: 100%; border-collapse: collapse; text-align: left; }
.bpd-table caption { margin-bottom: 8px; text-align: left; color: #263247; font-size: 1.04rem; font-weight: 600; }
.bpd-table :is(th,td) { padding: 10px 7px; text-align: left; }
.bpd-table tr > :first-child { padding-left: 0; }
.bpd-table tr > :last-child { padding-right: 0; }
.bpd-table thead th { padding-block: 6px; color: #526178; font-size: .78rem; font-weight: 500; }
.bpd-table tbody tr { border-top: 1px solid #e1e7f1; }
.bpd-table tbody th { font-weight: 500; }
.bpd-table td:nth-child(2) { white-space: nowrap; }
.bpd-next { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #dce4f0; color: #44566e; }
.bpd-identity { color: #526178; font-size: .82rem; }
.bpd-position { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.bpd-position strong { font-size: 1.04rem; font-weight: 600; }
.bpd-position p { margin: 2px 0 0; color: #526178; }
.bpd-line {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 16px 0 0; padding: 10px 0; border-block: 1px solid #dce4f0;
}
.bpd-line dt { color: #526178; }
.bpd-line dd { margin: 0; font-weight: 550; text-align: end; }
.bpd-documents summary {
  position: relative; min-height: 44px; padding: 12px 22px 10px 0; list-style: none;
  color: var(--action-blue); font-weight: 560; cursor: pointer;
}
.bpd-documents summary::-webkit-details-marker { display: none; }
.bpd-documents summary::after {
  content: ""; position: absolute; right: 4px; top: 16px;
  width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); transition: transform .2s ease;
}
.bpd-documents[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.bpd-documents ul { margin: 0; padding-left: 1.2em; color: #526178; }
.bpd-demo figcaption { color: #51617b; font-size: .8rem; line-height: 1.45; }

@media (max-width: 850px) {
  .bpd-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .bpd-intro, .bpd-demo { grid-column: 1; }
  .bpd-intro h2 { max-width: 24ch; }
  .bpd-intro > p { max-width: 53ch; }
  .bpd-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin-top: 20px; }
  .bpd-tab { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 5px; }
  .bpd-tab::before { inset: auto 0 -1px; width: auto; height: 2px; transform: scaleX(0); }
  .bpd-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .bpd-tab::after, .bpd-tab-description { display: none; }
}
@media (max-width: 480px) {
  .bpd-tab-title { font-size: .84rem; }
  .bpd-workspace { min-height: 335px; padding: 16px 12px; }
  .bpd-top { padding: 14px 12px; }
  .bpd-metrics { padding-block: 10px; }
  .bpd-metrics dt, .bpd-table thead th { font-size: .72rem; }
  .bpd-metrics dt { min-height: 2.8em; }
  .bpd-metrics dd { font-size: 1.15rem; }
  .bpd-metrics > div { padding-inline: 6px; }
  .bpd-table :is(th,td) { padding: 8px 3px; font-size: .78rem; }
  .bpd-table td:last-child { width: 34%; }
  .bpd-table .bpd-badge { padding: 4px 5px; font-size: .69rem; }
  .bpd-line { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .bpd *, .bpd *::before, .bpd *::after { animation: none !important; transition: none !important; }
}
@media print {
  .bpd-tabs { display: none; }
  .bpd-layout { display: block; }
  .bpd-screen[hidden] { display: block; }
  .bpd-screen { break-inside: avoid; margin-top: 16px; }
}
