/* ───────────────────────────────────────────────
   Module 2 — dashboard (1-op-1 naar het Vital-dashboard)
   Tokens: sand #E8DFC8 · bone #F8F3E6 · line #D9CFB5 · amber #F5A623 · charcoal #1F2937
   ─────────────────────────────────────────────── */


.db-section { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(80px, 12vh, 140px); background: var(--ivory); overflow: hidden; }
.db-section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }
.db-section__head .kicker { color: var(--gold-deep); margin-bottom: 18px; }
.db-section__head h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 3.6vw, 58px); line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.db-section__head p { margin: 22px auto 0; max-width: 34em; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--grey); }

.db-frame {
  position: relative; max-width: 1440px; margin: 0 auto; height: min(820px, 88vh);
  zoom: .85;
  border-radius: 24px; border: 1px solid rgba(16, 26, 48, .10); overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 26, 48, .06), 0 24px 48px -12px rgba(16, 26, 48, .22), 0 80px 140px -40px rgba(16, 26, 48, .38), 0 0 0 1px rgba(255,255,255,.7) inset;
  transform: perspective(1600px) rotateX(4deg) translateY(30px); opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 1.2s var(--ease-soft);
}
.db-frame.is-in { transform: none; opacity: 1; }


/* nep-browservenster (macOS) */
.db-frame { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid rgba(16,26,48,.14); }
.db-frame .db { flex: 1; min-height: 0; }
.db-chrome { position: relative; display: flex; align-items: center; height: 44px; flex-shrink: 0; padding: 0 16px; background: linear-gradient(#F6F3EE, #ECE8E1); border-bottom: 1px solid rgba(16,26,48,.12); }
.db-chrome__dots { display: flex; gap: 8px; }
.db-chrome__dots i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.db-chrome__dots i:nth-child(2) { background: #FEBC2E; } .db-chrome__dots i:nth-child(3) { background: #28C840; }
.db-chrome__url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; height: 26px; min-width: 300px; justify-content: center; padding: 0 14px; border-radius: 7px; background: rgba(255,255,255,.75); border: 1px solid rgba(16,26,48,.08); font: 12.5px/1 -apple-system, "SF Pro Text", "Satoshi", system-ui, sans-serif; color: #4A4A4A; letter-spacing: .01em; }
.db-chrome__url svg { width: 12px; height: 12px; color: #8A8A8A; }

/* — de app zelf — */
.db {
  --sand: #E8DFC8; --sand-50: #FBF8F1; --sand-100: #F5EFDF; --sand-200: #EFE7D2;
  --bone: #F8F3E6; --line: #D9CFB5;
  --amber: #F5A623; --amber-50: #FEF6E7; --amber-100: #FDEBC4; --amber-200: #FBD891; --amber-300: #F9C55E; --amber-600: #C99518; --amber-800: #6B500B;
  --c900: #111827; --c800: #1F2937; --c700: #374151; --c600: #4B5563; --c500: #6B7280; --c400: #9CA3AF; --c300: #D1D5DB;
  --em50: #ECFDF5; --em200: #A7F3D0; --em700: #047857; --rose50: #FFF1F2; --rose700: #BE123C;
  --syne: var(--font-head, "Syne", ui-sans-serif, system-ui, sans-serif); --dm: var(--font-body, "DM Sans", ui-sans-serif, system-ui, sans-serif);
  display: flex; height: 100%; background: var(--sand); color: var(--c900); font-family: var(--dm); font-size: 14px; line-height: 1.5;
  font-feature-settings: "ss01", "cv11"; text-align: left;
}
.db *, .db *::before, .db *::after { box-sizing: border-box; }
.db h1, .db h2, .db h3 { font-family: var(--syne); letter-spacing: -.02em; font-weight: 600; margin: 0; }
.db :where(p) { margin: 0; }
.db :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.db .tab { font-variant-numeric: tabular-nums; }
.db .eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--c500); }
.db ::-webkit-scrollbar { width: 10px; height: 10px; }
.db ::-webkit-scrollbar-thumb { background: rgba(31,41,55,.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }

/* sidebar */
.db-side { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(248,243,230,.6); }
.db-side__logo { display: flex; align-items: center; gap: 10px; padding: 24px 20px; font-family: var(--syne); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--c900); }
.db-side__logo svg { width: 32px; height: 32px; }
.db-side__nav { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 16px; display: flex; flex-direction: column; gap: 28px; }
.db-side__nav .eyebrow { display: block; padding: 0 12px; margin-bottom: 8px; }
.db-side__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.db-nav {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 12px; border-radius: 12px;
  font-size: 14px; color: var(--c700); transition: background .2s, color .2s;
}
.db-nav span { display: flex; align-items: center; gap: 12px; }
.db-nav svg { width: 16px; height: 16px; color: var(--c500); transition: color .2s; }
.db-nav:hover { background: var(--bone); color: var(--c900); }
.db-nav:hover svg { color: var(--c900); }
.db-nav.is-active { background: var(--c900); color: var(--bone); }
.db-nav.is-active svg { color: var(--amber); }
.db-nav .pill { border-radius: 999px; padding: 2px 6px; font-size: 10px; font-weight: 600; background: var(--amber-100); color: var(--amber-800); }
.db-nav.is-active .pill { background: var(--amber); color: var(--c900); }
.db-nav .dot { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 999px; padding: 0 6px; background: #F43F5E; color: #fff; font-size: 10px; font-weight: 700; }
.db-side__foot { border-top: 1px solid var(--line); padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.db-goal { border-radius: 16px; border: 1px solid var(--line); background: rgba(254,246,231,.4); padding: 16px; }
.db-goal h3 { font-size: 14px; }
.db-goal .sub { margin-top: 4px; font-size: 12px; color: var(--c500); }
.db-goal .row { margin-top: 12px; display: flex; align-items: baseline; justify-content: space-between; }
.db-goal .big { font-family: var(--syne); font-size: 24px; font-weight: 600; }
.db-goal .small { font-size: 12px; color: var(--c500); }
.db-bar { margin-top: 8px; height: 4px; overflow: hidden; border-radius: 999px; background: var(--line); }
.db-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(135deg, #F5A623, #C99518); transition: width 1.2s var(--ease-out); }
.db-user { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.db-user .name { font-size: 14px; font-weight: 500; }
.db-user .role { font-size: 11px; color: var(--c500); }
.db-side__meta { display: flex; justify-content: space-between; padding: 0 8px; font-size: 12px; color: var(--c500); }
.db-side__meta span { display: inline-flex; align-items: center; gap: 6px; }
.db-side__meta svg { width: 14px; height: 14px; }

.db-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); font-family: var(--syne); font-size: 11px; font-weight: 600; color: var(--c900); }
.db-avatar--dark { background: var(--c900); color: var(--bone); border-color: var(--c900); }

/* main */
.db-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.db-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 40px; border-bottom: 1px solid var(--line); background: rgba(232,223,200,.85); backdrop-filter: blur(12px); }
.db-search { position: relative; width: 100%; max-width: 448px; }
.db-search svg { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--c500); pointer-events: none; }
.db-search input { height: 40px; width: 100%; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 0 80px 0 44px; font: inherit; font-size: 14px; color: var(--c900); outline: 0; }
.db-search input::placeholder { color: var(--c400); }
.db-search input:focus { border-color: var(--c900); box-shadow: 0 0 0 2px rgba(245,166,35,.3); }
.db-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.7); padding: 2px 6px; font-family: ui-monospace, monospace; font-size: 10px; color: var(--c500); }
.db-top__right { margin-left: auto; position: relative; display: flex; align-items: center; gap: 8px; }
.db-tour { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid rgba(245,166,35,.4); background: var(--amber-50); padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--amber-800); transition: background .2s; }
.db-tour:hover { background: var(--amber-100); }
.db-tour svg { width: 14px; height: 14px; }
.db-bell { position: relative; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--bone); color: var(--c700); }
.db-bell svg { width: 16px; height: 16px; }
.db-account { display: flex; align-items: center; gap: 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 4px 16px 4px 4px; transition: border-color .2s; }
.db-account:hover { border-color: var(--c300); }
.db-account .name { font-size: 12px; font-weight: 500; text-align: left; }
.db-account .role { font-size: 10px; color: var(--c500); text-align: left; }
.db-menu { position: absolute; right: 0; top: 48px; z-index: 5; width: 288px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 16px; box-shadow: 0 4px 24px -8px rgba(31,41,55,.08); }
.db-menu .empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 0; text-align: center; }
.db-menu .empty .ic { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bone); color: var(--c400); }
.db-menu .empty .ic svg { width: 16px; height: 16px; }
.db-menu .empty p { font-size: 14px; color: var(--c700); }
.db-menu .empty small { font-size: 11px; color: var(--c500); }

.db-content { flex: 1; overflow-y: auto; padding: 40px; }
.db-view { display: none; flex-direction: column; gap: 40px; animation: db-in .4s ease-out; }
.db-view.is-active { display: flex; }
@keyframes db-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* page header */
.db-ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.db-ph h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin-top: 12px; }
.db-ph .desc { margin-top: 12px; max-width: 36em; font-size: 16px; color: var(--c600); }
.db-ph__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.db-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 2px 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c700); }
.db-badge--success { border-color: var(--em200); background: var(--em50); color: var(--em700); }
.db-badge--amber { border-color: var(--amber-300); background: var(--amber-100); color: var(--amber-800); }
.db-badge--dark { border-color: var(--c900); background: var(--c900); color: var(--bone); }
.db-badge--muted { background: transparent; color: var(--c500); }
.db-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); font-size: 13px; font-weight: 500; color: var(--c900); transition: border-color .2s; }
.db-btn:hover { border-color: var(--c900); }
.db-btn svg { width: 14px; height: 14px; opacity: .6; }
.db-btn--dark { background: var(--c900); border-color: var(--c900); color: var(--bone); }
.db-btn--dark svg { opacity: 1; }

/* grids */
.db-grid4 { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.db-grid-16 { display: grid; gap: 24px; grid-template-columns: 1.6fr 1fr; }
.db-grid-14 { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; }
.db-grid2 { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }

/* KPI */
.db-kpi { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--bone); padding: 24px; text-align: left; transition: border-color .2s, box-shadow .2s; }
.db-kpi:hover { border-color: var(--c300); box-shadow: 0 1px 0 rgba(31,41,55,.04); }
.db-kpi--accent { border-color: var(--c900); background: var(--c900); color: var(--bone); }
.db-kpi--accent:hover { border-color: var(--c700); }
.db-kpi__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.db-kpi--accent .eyebrow { color: rgba(248,243,230,.6); }
.db-delta { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.db-delta svg { width: 12px; height: 12px; }
.db-delta--up { background: var(--em50); color: var(--em700); }
.db-delta--down { background: var(--rose50); color: var(--rose700); }
.db-kpi--accent .db-delta--up { background: var(--amber); color: var(--c900); }
.db-kpi--accent .db-delta--down { background: rgba(248,243,230,.15); color: var(--bone); }
.db-kpi__val { margin-top: 32px; font-family: var(--syne); font-size: 32px; line-height: 1; letter-spacing: -.025em; font-weight: 600; }
.db-kpi__hint { margin-top: 8px; font-size: 12px; color: var(--c500); }
.db-kpi--accent .db-kpi__hint { color: rgba(248,243,230,.6); }
.db-kpi svg.spark { margin-top: 24px; height: 36px; width: 100%; }

/* section card */
.db-sec { border-radius: 24px; border: 1px solid var(--line); background: rgba(248,243,230,.6); }
.db-sec--elev { background: #fff; box-shadow: 0 1px 0 rgba(31,41,55,.04); }
.db-sec--dark { border-color: var(--c900); background: var(--c900); color: var(--bone); }
.db-sec__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 16px; }
.db-sec__head h3 { font-size: 18px; letter-spacing: -.02em; }
.db-sec__head .desc { margin-top: 4px; font-size: 12px; color: var(--c500); }
.db-sec--dark .desc { color: rgba(248,243,230,.6); }
.db-sec__aside { display: flex; align-items: center; gap: 12px; }
.db-sec__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--c700); text-underline-offset: 4px; }
.db-sec__link:hover { text-decoration: underline; }
.db-sec__link svg { width: 14px; height: 14px; }
.db-sec--dark .db-sec__link { color: var(--amber); }
.db-sec__body { padding: 8px 24px 24px; }
.db-sec__body--flush { padding: 0; }
.db-legend { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--c500); }
.db-legend i { width: 8px; height: 8px; border-radius: 50%; }

/* chart */
.db-chart { height: 280px; width: 100%; }
.db-chart svg { width: 100%; height: 100%; overflow: visible; }
.db-chart text { font-family: var(--dm); font-size: 11px; fill: var(--c500); }
.db-chart .grid line { stroke: var(--line); stroke-dasharray: 2 6; }
.db-chart path.line { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.db-chart .cursor { stroke: var(--c800); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.db-tip { position: absolute; z-index: 4; pointer-events: none; background: var(--c800); color: var(--bone); border-radius: 12px; padding: 10px 14px; font-size: 12px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.25); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.db-tip b { display: block; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
.db-tip div { display: flex; justify-content: space-between; gap: 18px; }

/* funnel */
.db-funnel { display: flex; flex-direction: column; gap: 16px; }
.db-funnel__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.db-funnel__row .lbl { font-family: var(--syne); font-size: 14px; }
.db-funnel__row .n { font-family: var(--syne); font-size: 20px; }
.db-funnel__row .p { width: 48px; font-size: 12px; color: var(--c500); text-align: right; }
.db-funnel__track { height: 32px; width: 100%; overflow: hidden; border-radius: 8px; background: var(--bone); margin-top: 8px; }
.db-funnel__bar { display: flex; align-items: center; justify-content: flex-end; height: 100%; border-radius: 8px; padding: 0 12px; font-size: 11px; font-weight: 600; width: 4%; transition: width 1s var(--ease-out); }
.db-funnel__bar--1 { background: var(--amber-200); color: #3D2C05; }
.db-funnel__bar--2 { background: #F7B53A; color: var(--c900); }
.db-funnel__bar--3 { background: var(--c900); color: var(--bone); }

/* lists */
.db-list > * + * { border-top: 1px solid var(--line); }
.db-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; width: 100%; text-align: left; transition: opacity .2s; }
.db-row:hover { opacity: .7; }
.db-row .idx { width: 24px; font-family: var(--syne); font-size: 12px; color: var(--c400); }
.db-row .code { display: flex; width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: var(--bone); font-family: var(--syne); font-size: 11px; font-weight: 600; }
.db-row .grow { min-width: 0; flex: 1; }
.db-row .ttl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.db-row .ttl p { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-row .ttl b { font-family: var(--syne); font-size: 14px; font-weight: 600; }
.db-row .sub { font-size: 12px; color: var(--c500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-row .when { flex-shrink: 0; font-size: 12px; color: var(--c500); }
.db-row .prog { margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.db-row .prog .pct { width: 40px; text-align: right; font-size: 11px; color: var(--c500); }
.db-prog { flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(217,207,181,.6); }
.db-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(135deg, #F5A623, #C99518); transition: width 1s var(--ease-out); }

/* sources strip */
.db-sources { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); padding: 0 24px 24px; }
.db-source { display: flex; align-items: center; justify-content: space-between; border-radius: 12px; border: 1px solid rgba(248,243,230,.15); background: rgba(248,243,230,.05); padding: 12px 16px; }
.db-source .n { font-family: var(--syne); font-size: 14px; }
.db-source .d { font-size: 11px; color: rgba(248,243,230,.6); }
.db-source .st { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: rgba(16,185,129,.2); color: #6EE7B7; }
.db-source .st i { width: 6px; height: 6px; border-radius: 50%; background: #34D399; }

/* table */
.db-table__head, .db-table__row { display: grid; align-items: center; padding: 12px 24px; }
.db-table__head { border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--c500); }
.db-table__row { padding: 16px 24px; }
.db-table__row:hover { background: var(--bone); }
.db-table__row + .db-table__row { border-top: 1px solid var(--line); }
.db-table .r { text-align: right; }
.db-table .m { font-size: 14px; font-weight: 500; }
.db-table .s { font-size: 11px; color: var(--c500); }
.db-table .amt { font-family: var(--syne); font-size: 14px; font-weight: 600; text-align: right; }

/* filters */
.db-filters { display: grid; gap: 12px; grid-template-columns: 1fr auto auto auto; }
.db-filters .db-search { max-width: none; }
.db-select { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 0 32px 0 16px; font: inherit; font-size: 14px; color: var(--c900); appearance: none; }
.db-check { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); padding: 0 12px; font-size: 14px; color: var(--c700); }
.db-check input { accent-color: var(--amber); }

/* coming soon */
.db-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 24px; border: 1px dashed var(--line); padding: 80px 24px; text-align: center; }
.db-soon .ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bone); color: var(--amber-600); }
.db-soon .ic svg { width: 20px; height: 20px; }
.db-soon h3 { font-size: 18px; }
.db-soon p { max-width: 32em; font-size: 14px; color: var(--c500); }

/* big stat */
.db-big { font-family: var(--syne); font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.db-stat3 { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.db-stat3 .l { font-size: 11px; color: var(--c500); }
.db-stat3 .v { font-family: var(--syne); font-size: 16px; font-weight: 600; margin-top: 2px; }

/* auto-rotate indicator */
.db-auto { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(31,41,55,.85); color: var(--bone); padding: 6px 12px 6px 10px; font-family: var(--dm); font-size: 11px; letter-spacing: .04em; backdrop-filter: blur(8px); transition: opacity .4s; }
.db-auto svg { width: 14px; height: 14px; }
.db-auto circle.ring { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.db-auto.is-off { opacity: 0; pointer-events: none; }

/* responsive */
@media (max-width: 1280px) { .db-grid4 { grid-template-columns: repeat(2, 1fr); } .db-grid-16, .db-grid-14, .db-grid2 { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .db-side { display: none; }
  .db-top { padding: 0 20px; }
  .db-content { padding: 24px 20px; }
  .db-ph { flex-direction: column; align-items: flex-start; }
  .db-ph h1 { font-size: 28px; }
  .db-frame { height: 640px; border-radius: 18px; }
  .db-sources { grid-template-columns: 1fr; }
  .db-account .name, .db-account .role, .db-search kbd { display: none; }
  .db-filters { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .db-grid4 { grid-template-columns: 1fr; } .db-tour { display: none; } }

/* vergroten */
.db-chrome__expand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 7px; border: 1px solid rgba(16,26,48,.12); background: rgba(255,255,255,.7); color: #4A4A4A; cursor: pointer; transition: background .2s, color .2s; }
.db-chrome__expand:hover { background: #fff; color: #101A30; }
.db-chrome__expand svg { width: 14px; height: 14px; }
.db-chrome__expand .i-close, .is-expanded .db-chrome__expand .i-open { display: none; }
.is-expanded .db-chrome__expand .i-close { display: block; }
.db-frame.is-expanded { position: fixed; inset: 24px; z-index: 200; max-width: none; height: auto; zoom: 1; border-radius: 18px; box-shadow: 0 60px 160px -30px rgba(16,26,48,.55); animation: db-grow .45s cubic-bezier(.2,.7,.2,1); }
@keyframes db-grow { from { transform: scale(.96); opacity: .6; } to { transform: none; opacity: 1; } }
.db-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(16,26,48,.35); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; }
body.db-expanded .db-backdrop { opacity: 1; pointer-events: auto; }
body.db-expanded { overflow: hidden; }

/* ─── uitnodiging: hover over de demo ───────── */
.db-frame { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-soft), opacity 1.2s var(--ease-soft); transform-style: preserve-3d; }
.db-frame.is-in:not(.is-expanded) { transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.db-frame.is-hover:not(.is-expanded) { --lift: -8px; box-shadow: 0 2px 6px rgba(16,26,48,.06), 0 30px 60px -12px rgba(16,26,48,.28), 0 110px 180px -40px rgba(16,26,48,.45), 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 0 6px rgba(201,169,106,.14); }
.db-invite { position: absolute; inset: 44px 0 0 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; opacity: 0; background: radial-gradient(70% 70% at 50% 45%, rgba(244,239,231,.72), rgba(244,239,231,.5)); backdrop-filter: blur(3px) saturate(.9); -webkit-backdrop-filter: blur(3px) saturate(.9); transition: opacity .45s var(--ease-soft); }
.db-frame.is-hover:not(.is-expanded) .db-invite { opacity: 1; }
.db-invite__pill { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 28px; border-radius: 999px; background: var(--navy); color: var(--ivory); font: 500 15.5px var(--font-sans); letter-spacing: .01em; box-shadow: 0 22px 44px -14px rgba(16,26,48,.55), 0 0 0 8px rgba(16,26,48,.06); transform: translateY(8px) scale(.96); transition: transform .5s var(--ease-out), background .3s; }
.db-invite__pill svg { width: 16px; height: 16px; color: var(--gold); }
.db-frame.is-hover:not(.is-expanded) .db-invite__pill { transform: none; }
.db-invite:hover .db-invite__pill { background: var(--gold-deep); }
.db-invite__hint { font: 500 12.5px var(--font-sans); letter-spacing: .06em; color: var(--navy); opacity: .8; }
.db-frame.is-expanded .db-invite { display: none; }
@media (hover: none) { .db-invite { display: none; } }
