/* dw/report-tabs + dw/report-tab (ported from the approved homepage mockup, section "Zie wat je rapport je vertelt").
   No layout shift: with JS every panel sits in the same grid cell, so the block always has the tallest panel's height. */
.dwb-tabs { --dwb-tabs: 4; }
.dwb-tabs__scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; display: none; }
.dwb-js .dwb-tabs__scroller { display: block; }
.dwb-tabs__list { position: relative; display: grid; grid-template-columns: repeat(var(--dwb-tabs), minmax(140px, 1fr)); border-bottom: 2px solid var(--dwb-border); min-width: 560px; }
.dwb-tabs__tab { appearance: none; background: none; border: 0; font-family: inherit; text-align: left; padding: 14px 4px 16px; cursor: pointer; display: grid; gap: 2px; color: var(--dwb-muted); }
.dwb-tabs__tab b { font-size: 15px; font-weight: 700; color: inherit; }
.dwb-tabs__tab small { font-size: 12.5px; font-weight: 500; }
.dwb-tabs__tab.is-active, .dwb-tabs__tab:hover { color: var(--dwb-ink); }
.dwb-tabs__tab.is-active small { color: var(--dwb-body); }
.dwb-tabs__tab:focus-visible { outline: 3px solid var(--dwb-brand); outline-offset: -3px; border-radius: 8px; }
.dwb-tabs__ink { position: absolute; bottom: -2px; left: 0; height: 3px; width: calc(100% / var(--dwb-tabs)); background: var(--dwb-brand); border-radius: 3px; transform: translateX(calc(var(--dwb-at, 0) * 100%)); transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1); }

/* Panels: stacked list without JS, one shared grid cell with JS. */
.dwb-tabs__panels { display: grid; gap: 28px; margin-top: 28px; }
.dwb-js .dwb-tabs__panels { gap: 0; }
.dwb-js .dwb-tabs__panels > .dwb-tabs__panel { grid-area: 1 / 1; }
.dwb-js .dwb-tabs:not(.is-ready) .dwb-tabs__panel:not(:first-child),
.dwb-js .dwb-tabs.is-ready .dwb-tabs__panel:not(.is-active) { visibility: hidden; }
.dwb-tabs__panel.is-entering { animation: dwb-tabs-rise 0.45s ease both; }
@keyframes dwb-tabs-rise { from { opacity: 0.4; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.dwb-tabs__panel {
	border-radius: var(--dwb-radius-l);
	background: radial-gradient(110% 120% at 0% 0%, var(--dwb-brand-tint), var(--dwb-brand-soft) 45%, var(--dwb-white));
	border: 1px solid var(--dwb-pink-line);
	padding: clamp(24px, 4vw, 52px);
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
@media (max-width: 860px) { .dwb-tabs__panel { grid-template-columns: minmax(0, 1fr); } }
.dwb-tabs__copy { min-width: 0; }
.dwb-tabs__copy > * { margin-block: 0; }
.dwb-tabs__copy > h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.015em; }
.dwb-tabs__copy > p { margin-top: 14px; }
.dwb-tabs__copy > ul { margin-top: 16px; }
.dwb-tabs__copy > .wp-block-buttons { margin-top: 24px; }

/* The report preview ("shot"): real report styling with sample data. */
.dwb-shot { min-width: 0; margin: 0; background: var(--dwb-white); border-radius: var(--dwb-radius-m); border: 1px solid var(--dwb-border); box-shadow: var(--dwb-shadow-lift); overflow: hidden; color: var(--dwb-body); font-size: 12.5px; line-height: 1.5; }
.dwb-shot__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--dwb-border); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dwb-muted); }
.dwb-shot__tag { letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--dwb-brand-dark); background: var(--dwb-brand-tint); border-radius: var(--dwb-pill); padding: 2px 9px; }
.dwb-shot__body { padding: 20px; }
.dwb-shot__gauge { display: grid; justify-items: center; }
.dwb-shot__gauge .dwb-gauge { width: min(260px, 100%); }
.dwb-gauge--big .dwb-gauge__v { font-size: 44px; }
.dwb-gauge--big .dwb-gauge__o { font-size: 12px; }
.dwb-shot__sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.dwb-shot__sum b { color: var(--dwb-ink); }
.dwb-shot__wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.dwb-shot__wins div { background: var(--dwb-surface); border: 1px solid var(--dwb-border); border-radius: 12px; padding: 10px; text-align: center; display: grid; gap: 4px; }
.dwb-shot__wins b { font-size: 22px; font-weight: 800; color: var(--dwb-ink); font-variant-numeric: tabular-nums; }
.dwb-shot__wins span { font-size: 10.5px; font-weight: 600; line-height: 1.3; }
/* action card */
.dwb-shot__ac { display: flex; gap: 12px; align-items: flex-start; }
.dwb-shot__acn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--dwb-brand); color: var(--dwb-white); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.dwb-shot__acmeta { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dwb-alarm); }
.dwb-shot__actitle { font-size: 15px; font-weight: 700; color: var(--dwb-ink); margin-top: 2px; line-height: 1.3; }
.dwb-shot__where { font-size: 12px; margin-top: 12px; }
.dwb-shot__where b { color: var(--dwb-ink); }
.dwb-shot__fld { margin-top: 10px; border-radius: 10px; background: var(--dwb-surface); padding: 10px 12px; }
.dwb-shot__fld.is-pink { background: var(--dwb-brand-soft); border-left: 3px solid var(--dwb-brand); }
.dwb-shot__h { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dwb-muted); }
.dwb-shot__fld.is-pink .dwb-shot__h { color: var(--dwb-brand-dark); }
.dwb-shot__fld p { margin: 4px 0 0; font-size: 12px; color: var(--dwb-ink); line-height: 1.5; }
.dwb-shot__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dwb-shot__ba > div { border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.45; }
.dwb-shot__ba .dwb-shot__h { margin-bottom: 5px; }
.dwb-shot__now { border: 1px dashed var(--dwb-border); background: var(--dwb-surface); }
.dwb-shot__now s { color: var(--dwb-muted); }
.dwb-shot__new { border: 1px solid var(--dwb-ok-line); background: var(--dwb-strong-bg); color: var(--dwb-ink); }
.dwb-shot__new .dwb-shot__h { color: var(--dwb-strong); }
.dwb-shot__new b { display: block; font-size: 12.5px; margin-bottom: 3px; }
/* google table */
.dwb-shot__tbl { overflow-x: auto; }
.dwb-shot table { border-collapse: collapse; width: 100%; min-width: 380px; font-size: 12.5px; }
.dwb-shot thead th { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dwb-muted); font-weight: 800; text-align: center; padding: 8px 6px; border-bottom: 1px solid var(--dwb-border); }
.dwb-shot thead th:first-child, .dwb-shot tbody th { text-align: left; }
.dwb-shot tbody th { font-weight: 400; }
.dwb-shot tbody :is(th, td) { padding: 9px 6px; border-bottom: 1px solid var(--dwb-border); color: var(--dwb-ink); }
.dwb-shot tbody td { text-align: center; }
.dwb-shot__prop { margin-top: 14px; border: 1px solid var(--dwb-border); border-radius: 12px; padding: 12px; font-size: 12px; display: grid; gap: 8px; }
.dwb-shot__row { display: grid; grid-template-columns: 76px 1fr; gap: 8px; align-items: start; }
.dwb-shot__k { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dwb-muted); padding-top: 2px; }
.dwb-shot__row .is-plain b { color: var(--dwb-ink); }
.dwb-shot__row .is-now s { color: var(--dwb-muted); }
.dwb-shot__row .is-new { color: var(--dwb-ink); font-weight: 600; }
.dwb-shot__row small { font-size: 10.5px; color: var(--dwb-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
/* ai */
.dwb-shot__ready { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dwb-shot__squares { display: grid; grid-template-columns: repeat(8, 22px); gap: 5px; }
.dwb-shot__squares i { width: 22px; height: 22px; border-radius: 6px; background: var(--dwb-strong); }
.dwb-shot__squares i.is-a { background: var(--dwb-amber); }
.dwb-shot__squares i.is-r { background: var(--dwb-weak); }
.dwb-shot__ready b { font-size: 14px; color: var(--dwb-ink); }
.dwb-shot__checks { margin-top: 14px; display: grid; gap: 8px; }
.dwb-shot__check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1px solid var(--dwb-border); border-radius: 10px; padding: 9px 11px; font-size: 12px; }
.dwb-shot__ck { font-weight: 700; color: var(--dwb-ink); }
.dwb-shot__ct { margin-top: 2px; line-height: 1.45; }
@media (max-width: 420px) {
	.dwb-shot__squares { grid-template-columns: repeat(8, 18px); gap: 4px; }
	.dwb-shot__squares i { width: 18px; height: 18px; }
	.dwb-shot__ba { grid-template-columns: 1fr; }
}
/* Auto-advance (view.js, owner 17 Oct): the active underline fills up until the next tab; the fill
   pauses with the countdown (.is-paused). Without auto-advance the underline is the plain bar above. */
.dwb-tabs.is-auto .dwb-tabs__ink { overflow: hidden; background: var(--dwb-pink-line); }
.dwb-tabs.is-auto .dwb-tabs__ink::after { content: ""; position: absolute; inset: 0; background: var(--dwb-brand); transform: scaleX(0); transform-origin: left center; }
.dwb-tabs.is-auto.is-run .dwb-tabs__ink::after { animation: dwb-tabs-fill 5.5s linear forwards; }
.dwb-tabs.is-auto.is-paused .dwb-tabs__ink::after { animation-play-state: paused; }
@keyframes dwb-tabs-fill { to { transform: scaleX(1); } }
/* more tabs beyond the right edge of the sideways-scrolling row (phones) */
.dwb-tabs.has-more .dwb-tabs__scroller { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
@media (prefers-reduced-motion: reduce) {
	.dwb-tabs__ink { transition: none; }
	.dwb-tabs__ink::after { animation: none; }
	.dwb-tabs__panel.is-entering { animation: none; }
}
