/* Churned Subscriptions console — built on the Churned Design System (static/ds/colors_and_type.css) and, from ROADMAP slice 2,
   its ds2 layer (the tokens and components of ux-audit/design-language.html, at the end of this file), on the official Churned
   tokens (churned-standards design/tokens.md, B183). Navy/teal is the base; green #0FBE84 only for the primary action (ink text
   on it, never white) and for what is really healthy, done or confirmed; Sunset orange for what asks attention; copilot violet
   for the assistant (B187). Inter 400-600, tabular numerals, sentence case. One glow, on the dark hero and the assistant's panel
   only; no frosted glass and no coloured shadows. Semantic colour (red/orange/green) is separate from the accent. */
@import url("/static/ds/colors_and_type.css?v=2");

:root{
  /* legacy aliases used across templates, mapped onto the design system tokens */
  --bg:var(--bg-app); --panel:var(--bg-surface); --line:var(--border-subtle); --line-2:var(--border-default);
  --text:var(--fg-2); --muted:var(--fg-3); --faint:var(--fg-4);
  --accent:var(--color-primary-green-300); --accent-2:var(--color-primary-green-400); --accent-soft:var(--color-primary-green-25);
  --critical:var(--color-red-600); --critical-soft:var(--color-red-100); --warning:var(--color-orange-800); --warning-soft:var(--color-orange-100);
  --info:var(--color-primary-teal-400); --info-soft:var(--color-primary-teal-10); --ok:var(--color-green-800); --ok-soft:var(--color-green-100);
  --font:var(--font-sans); --mono:var(--font-mono);
  --r:var(--radius-md); --r-lg:var(--radius-xl);
  --sidebar-w:232px; --topbar-h:64px;
}
*{box-sizing:border-box} html,body{margin:0;padding:0} b,strong{font-weight:600}
body{font-family:var(--font);font-size:14px;line-height:20px;color:var(--text);background:var(--bg);font-variant-numeric:tabular-nums}
a{color:inherit;text-decoration:none} a:hover{text-decoration:underline}
:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}

/* ── shell: the labelled sidebar, the top bar and main are in the ds2 layer below (ROADMAP slice 2) ── */
*,*::before,*::after{box-sizing:border-box}

/* ── type ── */
h1{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.015em;margin:0 0 4px;color:var(--fg-1)}
h2{font-size:16px;line-height:24px;font-weight:600;margin:28px 0 10px;color:var(--fg-1)}
h3{font-size:11px;line-height:14px;font-weight:600;margin:18px 0 8px;color:var(--fg-3);text-transform:uppercase;letter-spacing:.08em}
.sub{color:var(--fg-3);margin:0 0 22px}
.small{font-size:12px;line-height:16px} .mono{font-family:var(--mono);font-size:12px} .muted{color:var(--fg-3)} .faint{color:var(--fg-4)} .right{text-align:right} .nowrap{white-space:nowrap}

/* ── layout ── */
.grid{display:grid;gap:16px} .g4{grid-template-columns:repeat(4,1fr)} .g2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)} .g31{grid-template-columns:minmax(0,1fr) minmax(0,2fr)} .g13{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap} .stack{display:flex;flex-direction:column;gap:12px;min-width:0}
.filters{display:flex;gap:8px;align-items:center;margin:0 0 16px;flex-wrap:wrap} .filters .spacer{flex:1}

/* ── cards ── */
.card{background:var(--bg-surface);border-radius:var(--r-xl,16px);padding:16px 18px;box-shadow:var(--shadow-card);transition:box-shadow .15s}
.card:hover{box-shadow:0 6px 16px -2px rgba(2,5,6,.08)} .card.flat{padding:0;overflow:hidden}
.card>h3:first-child{margin-top:0}
/* the older figure (.kpi .l/.v/.d) is not a tile (B207: every tile row is .ds-kpi): it stays only as long as Copilot's stage
   details (c_ai.html, B207 aanvulling 6 nov: no trend, not the shared tile) and the experiment's lift on Workflows use it */
.kpi .l{font-size:12px;line-height:16px;color:var(--fg-3);margin-bottom:6px} .kpi .v{font-size:26px;line-height:32px;font-weight:600;letter-spacing:-.02em;color:var(--fg-1)} .kpi .d{font-size:12px;line-height:16px;color:var(--fg-4);margin-top:4px}

/* ── badges (B281): every badge, chip and pill is round-ended and 22px tall; pills carry a status dot, badges count ── */
/* ═══ B209 badges-pages: status badges — begin ═══════════════════════════════════════════════════════════════════════
   One design for every .pill: a soft tinted fill, a 1px ring of the same hue (a border, never a coloured shadow) and a
   6px dot in the tone's own strong colour, 22px tall. The tones keep their meaning (B187): red for failed, cancelled,
   breached and a critical incident; Sunset for what asks attention; green only for what is healthy, done or paid; info
   (navy on teal) for what is under way; muted for what is over. Every text reads at least 4.5:1 on its fill
   (tests/test_badges_pages.py). A live state (an active or trialing subscription, a delivery that is open, locked or
   charged, .pill.live) has a dot that pings softly; prefers-reduced-motion stops it (B209 allows this one loop besides
   the loading shimmer). A delivery's pill (.pill.delivery, c_cycles / Home / a subscription) reads its own domain: open
   is 'bezig' (info), never an open incident's red. */
.pill{--pill-bg:var(--teal-10);--pill-fg:var(--teal-500);--pill-line:var(--teal-50);--pill-dot:var(--teal-300);
  display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 8px;border:1px solid var(--pill-line);border-radius:var(--radius-pill);
  font-size:12px;font-weight:500;line-height:20px;white-space:nowrap;background:var(--pill-bg);color:var(--pill-fg)}
.pill::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--pill-dot)}
.pill.critical,.pill.open,.pill.breached,.pill.failed,.pill.cancelled,.pill.revoked,.pill.broken,.pill.draft,.pill.returned{--pill-bg:var(--red-100);--pill-fg:var(--red-800);--pill-line:color-mix(in srgb,var(--red-500) 45%,var(--red-100));--pill-dot:var(--red-600)}
.pill.warning,.pill.acknowledged,.pill.pending,.pill.paused,.pill.past_due,.pill.degraded,.pill.trialing{--pill-bg:var(--color-tint-sunset);--pill-fg:var(--color-sunset-ink);--pill-line:var(--sunset-200);--pill-dot:var(--color-sunset)}
.pill.ok,.pill.active,.pill.satisfied,.pill.resolved,.pill.paid,.pill.fulfilled,.pill.valid{--pill-bg:var(--green-25);--pill-fg:var(--green-700);--pill-line:var(--green-75);--pill-dot:var(--green-300)}
/* info and under way read teal: B230 (kept by B281) has green, mint included, only for what is done and working */
.pill.info{--pill-bg:var(--teal-25);--pill-fg:var(--teal-600);--pill-line:var(--teal-75);--pill-dot:var(--mint-500)}
.pill.waived,.pill.suppressed,.pill.muted,.pill.expired{--pill-bg:var(--color-gray-100);--pill-fg:var(--teal-400);--pill-line:var(--color-gray-200);--pill-dot:var(--color-gray-400)}
.pill.sys{--pill-bg:var(--teal-10);--pill-fg:var(--teal-400);--pill-line:var(--teal-50);font-family:var(--mono);font-weight:500} .pill.sys::before{display:none}
/* a delivery (cycles.status): under way is info, held asks attention, shipped is done, skipped is over, failed and cancelled red */
.pill.delivery.scheduled,.pill.delivery.open,.pill.delivery.locked,.pill.delivery.charged{--pill-bg:var(--teal-25);--pill-fg:var(--teal-600);--pill-line:var(--teal-75);--pill-dot:var(--mint-500)}
.pill.delivery.held,.pill.delivery.pending{--pill-bg:var(--color-tint-sunset);--pill-fg:var(--color-sunset-ink);--pill-line:var(--sunset-200);--pill-dot:var(--color-sunset)}
.pill.delivery.skipped{--pill-bg:var(--color-gray-100);--pill-fg:var(--teal-400);--pill-line:var(--color-gray-200);--pill-dot:var(--color-gray-400)}
/* live: a soft ping around the dot (an outline that widens and fades; no shadow), 2.4s, stopped for reduced motion */
.pill.live::before,.pill.active::before,.pill.trialing::before,.pill.delivery.open::before,.pill.delivery.locked::before,.pill.delivery.charged::before{animation:pill-live 2.4s ease-out infinite}
@keyframes pill-live{0%{outline:2px solid color-mix(in srgb,var(--pill-dot) 55%,transparent);outline-offset:0}70%,100%{outline:2px solid transparent;outline-offset:3px}}
@media (prefers-reduced-motion:reduce){.pill::before{animation:none!important}}
/* lang-toggle-merge4: a pill in a table cell takes its baseline from its words, not its dot. An inline-flex box's baseline is
   its first item's, and the first item is the empty ::before, so the cell's baseline (td: vertical-align baseline) sat on
   the dot's lower edge and the pill's words stood 3px above the row's baseline and 1.5px off its centre line (Abonnementen,
   Geld). The words now align on the baseline (they still fill the pill's 20px line, so nothing moves inside the pill); the
   dot stays centred. */
td .pill{align-items:baseline} td .pill::before{align-self:center}
/* B307b r4: 'Betaalmethode nodig vanaf <datum>' in a narrow fact list (the subscription page's State card) wraps inside its
   column instead of running past the card; the dot stays on the first line */
dd[data-payment-method-needed] .pill{white-space:normal;word-break:normal;overflow-wrap:normal;height:auto;min-height:22px;max-width:100%;align-items:flex-start}
dd[data-payment-method-needed] .pill::before{margin-top:7px}
/* Abonnementen 'Volgende afschrijving' (next-charge slice): an open SEPA debit shows its amount beside the day, readable on touch */
td[data-open-debit][data-amount]::after{content:" · " attr(data-amount);color:var(--muted, inherit)}
/* on the dark hero (.pulse) the pill keeps the hero's own glass-free fill; its ring a hairline of the hero */
.pulse .pill{border-color:var(--color-navy-line)}
/* the shared list table: a list in a flat card (Abonnementen, Geld, Catalogus, Uitzonderingen, a subscription's boxes) reads
   as Leveringen's and Klanten's: eyebrow heads, a little more air above and below (never at the sides: a subscription's
   boxes table fills its card at 1280, r1b), softer hairlines; cells keep their shared baseline */
.card.flat>table>thead>tr>th{font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);padding:11px 12px;border-bottom-color:var(--teal-50)}
.card.flat>table>tbody>tr>td{padding:12px 12px;border-bottom-color:var(--teal-25);transition:background-color var(--d-1)}
.card.flat:has(>table){overflow-x:auto;scrollbar-width:thin}      /* r2: a list wider than its card (Abonnementen beside the sidebar, 740-1024px) scrolls inside it, never cut off by the card */
/* ═══ B209 badges-pages: status badges — end ═══ */
/* lang-toggle-merge4: Geld's invoices and payments (c_money.html, .money-list) fit their card from 1280 (992px inside it) with
   a real store's rows: they were 1018-1033px and 1157-1187px wide, so they scrolled sideways inside the card and 'POGINGEN'
   was cut at its edge. The amounts stay whole on one line; a customer's address keeps to one line too and gives way first,
   cut with an ellipsis and the whole address in its title (a block in its baseline-aligned cell, so it keeps the row's
   baseline); a provisional SEPA payment says 'voorlopig' in its pill and 'tot vr 13 nov' beside it, under it where the
   column is narrow (one 'voorlopig tot vr 13 nov' pill made its column 221-257px). The cells keep 8px at their sides under
   1400px and 10px under 1500px, not 12: with a pending pill, a 3-D Secure reason and a long address in one list the
   payments still fit then (988px of 992 at 1280, measured).
   Under 1280 the card's own scroller (above) still holds them. */
.card.flat>table.money-list>thead>tr>th,.card.flat>table.money-list>tbody>tr>td{padding-left:8px;padding-right:8px}
@media (min-width:1400px){.card.flat>table.money-list>thead>tr>th,.card.flat>table.money-list>tbody>tr>td{padding-left:10px;padding-right:10px}}
@media (min-width:1500px){.card.flat>table.money-list>thead>tr>th,.card.flat>table.money-list>tbody>tr>td{padding-left:12px;padding-right:12px}}
.money-list td.cut>a{display:block;max-width:var(--money-cut,150px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:1400px){.money-list{--money-cut:200px}} @media (min-width:1500px){.money-list{--money-cut:240px}}
/* kpi-tiles-merge2: Abonnementen's box count is a number, right in its column under a right-aligned head (the empty row's
   sentence is no .mono cell, so it stays left) */
[data-subs-list]>thead>tr>th:last-child,[data-subs-list]>tbody>tr>td.mono:last-child{text-align:right}
/* ═══ B209 badges-pages: Leveringen (/cycles, c_cycles.html) — begin ═══════════════════════════════════════════════════
   The head says in one line how the window stands; the delivery days and the status chips (each a link, ?day= / ?status=,
   with its count) filter the list; the list is Klanten's table (.cl-card, .cl-table, .cl-row: a sticky head, calm rows,
   hover) with the day first, the customer and box, the status pill, the order, the two times and the amount in mono on
   the right. At 1100px and below each box is a card (no sideways scroll); the empty state sits left, under the head. */
.dl-head{margin:0 0 14px} .dl-head h1{margin-bottom:6px}
.dl-summary{margin:0;font-size:15px;line-height:22px;font-weight:500;color:var(--fg-1);overflow-wrap:anywhere}
.dl-part.attention{color:var(--color-sunset-ink);font-weight:600}
.dl-lede{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--fg-3)}
.dl-days{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px;padding:2px}      /* a laptop: every day on view, two lines at most (never a chip cut by a hidden scrollbar, r1b) */
.dl-day-chip{flex:none;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid var(--teal-50);border-radius:var(--r-pill);
  background:var(--surface);color:var(--fg-2);font-size:13px;line-height:18px;white-space:nowrap;transition:background-color var(--d-1),border-color var(--d-1)}
.dl-day-chip .n{font-weight:600;color:var(--fg-1);font-variant-numeric:tabular-nums}
.dl-day-chip:hover{text-decoration:none;background:var(--teal-10);border-color:var(--teal-75)}
.dl-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}
.dl-chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 6px 0 12px;border:1px solid var(--teal-50);border-radius:var(--r-pill);
  background:var(--surface);color:var(--fg-2);font-size:13px;line-height:18px;font-weight:500;white-space:nowrap;transition:background-color var(--d-1),border-color var(--d-1)}
.dl-chip:hover{text-decoration:none;background:var(--teal-10);border-color:var(--teal-75)}
.dl-chip .dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--pill-dot,var(--teal-300))}
.dl-chip .n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:var(--r-pill);background:var(--teal-10);color:var(--fg-1);
  font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.dl-chip.scheduled,.dl-chip.open,.dl-chip.locked,.dl-chip.charged{--pill-dot:var(--mint-500)} .dl-chip.held{--pill-dot:var(--color-sunset)}
.dl-chip.fulfilled{--pill-dot:var(--green-300)} .dl-chip.failed,.dl-chip.cancelled{--pill-dot:var(--red-600)} .dl-chip.skipped{--pill-dot:var(--color-gray-400)}
.dl-chip.on,.dl-day-chip.on{background:var(--color-navy);border-color:var(--color-navy);color:#fff}
.dl-chip.on .n{background:rgba(255,255,255,.16);color:#fff} .dl-day-chip.on .n{color:#fff}
.dl-cap{margin-left:auto;font-size:12px;line-height:16px;color:var(--fg-3)}
.dl-card{min-width:0}
.dl-table .dl-row>td{vertical-align:middle}
.dl-when{white-space:nowrap} .dl-date{display:block;font-weight:600;color:var(--fg-1)} .dl-rel{display:block;font-size:12px;line-height:16px;color:var(--fg-3)}
.dl-who{min-width:160px} .dl-name{display:block;font-weight:600;font-size:14px;line-height:20px;color:var(--fg-1);overflow-wrap:anywhere}
.dl-plan{display:block;font-size:12px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere}
.dl-why,.dl-ext{display:block;margin-top:4px;font-size:12px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere} .dl-why.crit{color:var(--red-800)}
.dl-times span{display:block;font-size:12px;line-height:16px;color:var(--fg-3);white-space:nowrap} .dl-times span:first-child{color:var(--fg-2)}
.dl-table .dl-amt{font-family:var(--mono);font-size:13px;font-weight:500;color:var(--fg-1);white-space:nowrap;text-align:right}
.dl-empty{display:flex;align-items:flex-start;gap:14px;padding:22px 20px}
.dl-empty .ic{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:22px;background:var(--teal-10);color:var(--fg-3)}
.dl-empty .t{margin:2px 0 4px;font:var(--t-h3);color:var(--fg-1)} .dl-empty .b{margin:0;max-width:62ch;color:var(--fg-3)} .dl-empty .btn{margin-top:12px}
@media (max-width:1100px){
  /* the days are one swipeable line: its scrollbar is shown (thin), its right edge fades so a day there reads as 'more',
     and a 32px tail lets the last day scroll clear of the fade */
  .dl-days{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
  .dl-days::after{content:"";flex:none;width:32px}
  .dl-day-chip{scroll-snap-align:start}
  .dl-card{background:none;box-shadow:none}
  .dl-table,.dl-table tbody{display:block}
  .dl-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .dl-table .dl-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin:0 0 10px;padding:14px;border-radius:var(--r-xl);background:var(--surface);
    box-shadow:var(--sh-card);transition:background-color var(--d-1)}
  .dl-table .dl-row>td,.dl-table .dl-row:last-child>td{display:block;padding:0;border:0;background:none;border-radius:0;min-width:0}
  .dl-table .dl-row:hover>td{background:none} .dl-table .dl-row:hover{background:var(--teal-10)}
  .dl-table .dl-row td.dl-when{grid-row:1;grid-column:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
  .dl-table .dl-row td.dl-amt{grid-row:1;grid-column:2;align-self:baseline}
  .dl-table .dl-row td.dl-who{grid-row:2;grid-column:1 / -1}
  .dl-table .dl-row td.dl-st{grid-row:3;grid-column:1}
  .dl-table .dl-row td.dl-order{grid-row:3;grid-column:2;justify-self:end;text-align:right;max-width:100%}
  .dl-table .dl-row td.dl-times{grid-row:4;grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:2px 16px;padding-top:8px;border-top:1px solid var(--teal-25)}
  .dl-times span{white-space:normal}
  .dl-empty{border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card)}
}
@media (max-width:720px){.dl-cap{margin-left:0;flex-basis:100%} .dl-empty{padding:18px 16px}}
@media (prefers-reduced-motion:reduce){.dl-chip,.dl-day-chip,.dl-table .dl-row{transition:none}}
/* ═══ B209 badges-pages: Leveringen — end ═══ */
/* ═══ B209 badges-pages: Klanten between a phone and a laptop (721-1100px) — begin ════════════════════════════════════
   Beside the sidebar ~430-810px is left, less than Klanten's six columns need (~790-990px): the table scrolls sideways
   inside its card, never the page (r3, the UX tester's 768). The rows stay the table they are on a laptop, column for
   column: demo-portal-link pins the row icon's line (r1 at 1024: every cell on one centre line) and the name column's
   width against the pre-slice table (r4, every 20px from 721 to 1100), so rows as cards, fewer columns or narrower
   cells there are ruled out, and Klanten's own rules keep their phone cards and their 'no .cl- rule scrolls sideways'
   (customers-refresh). So the scroll is the shared list scroller's (data-list-scroll on the list's card, the pattern of
   a list in a flat card above, r2), between a phone and a laptop only: a thin scrollbar, and the card runs on to the
   screen's right edge (over main's 28px gutter, its right corners square; the gutter is its own padding, so the table
   keeps the width, and each column the width, it had): a list that runs off the screen reads as one that goes on, and
   every column the screen shows is one the card shows, whole and clickable. A soft shade on the side that has more says
   so too (a background that scrolls with the table covers it once that side is reached). In a scroller the head's
   sticky top (the top bar's height) would push it down over the first row, so the head is in the flow here. A name
   breaks inside a word that is longer than its column (as the e-mail below it already does, and as demo-portal-link
   makes it on the demo), so one unbreakable name cannot widen the list past its card at any width.
   Above 1100px (r3, UX r3: a laptop window of 1101-1260px) Klanten's six columns fit, but a stage list or a search adds a
   seventh ('In fase sinds', 'Gevonden via') and the table can still be ~50-150px wider than its card: there the card
   becomes the same scroller only while its table is wider than it (console.js measures the table against the card's
   content box, which is as wide scrolling or not, so the answer never flips by itself), and a list that fits keeps its
   sticky head under the top bar. */
.cl-id>.cl-name{overflow-wrap:anywhere}
.cl-table .cl-pill{line-height:20px}      /* its 22px line in a 22px pill with a 1px ring overflowed the 20px inside by 2px: a phone card's stage pill (which hides
                                            its overflow for a long name) clipped its own line box; the text stays on the pill's centre line */
main [data-list-scroll]{--list-shade:linear-gradient(to right,var(--surface) 30%,rgb(255 255 255 / 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left,var(--surface) 30%,rgb(255 255 255 / 0)) right center / 40px 100% no-repeat local,
    linear-gradient(to right,rgb(0 0 0 / .1),rgb(0 0 0 / 0)) left center / 12px 100% no-repeat scroll,
    linear-gradient(to left,rgb(0 0 0 / .1),rgb(0 0 0 / 0)) right center / 12px 100% no-repeat scroll,
    var(--surface)}
@media (min-width:721px) and (max-width:1100px){
  main [data-list-scroll]{overflow-x:auto;scrollbar-width:thin;margin-right:-28px;padding-right:28px;border-radius:var(--r-xl) 0 0 var(--r-xl);background:var(--list-shade)}
  main [data-list-scroll]>table>thead>tr>th{position:static}
  main [data-list-scroll]>table>thead>tr>th:last-child,main [data-list-scroll]>table>tbody>tr:last-child>td:last-child{border-top-right-radius:0;border-bottom-right-radius:0}
}
@media (min-width:1101px){      /* a laptop window: the same scroller, only while the table is wider than its card (console.js sets "over") */
  main [data-list-scroll=over]{overflow-x:auto;scrollbar-width:thin;margin-right:-28px;padding-right:28px;border-radius:var(--r-xl) 0 0 var(--r-xl);background:var(--list-shade)}
  main [data-list-scroll=over]>table>thead>tr>th{position:static}
  main [data-list-scroll=over]>table>thead>tr>th:last-child,main [data-list-scroll=over]>table>tbody>tr:last-child>td:last-child{border-top-right-radius:0;border-bottom-right-radius:0}
}
/* ═══ B209 badges-pages: Klanten between a phone and a laptop — end ═══ */
/* kpi-tiles-merge2: an empty state in a list that scrolls inside its card stays in the part of the card you see. The
   empty row's one cell spans the whole table, which is wider than the card beside the sidebar (Klanten 721-1100px and a
   laptop's seventh column) and on a phone (Abonnementen's six columns at 375px): centred on that width its sentence ran
   past the card's edge ('Geen abonnementen met dit f') and Klanten's 'nobody found' block sat off-centre. The card is the
   width the content is measured against (an inline-size container, only while it holds an empty row, so a list with rows
   sizes as before) and the empty block is that wide and sticks to the card's left edge, so it is whole and centred in the
   card at every width and every scroll. */
.card:has(>table .empty-pin){container-type:inline-size}
.card>table>tbody>tr>td.empty:has(>.empty-pin){padding:0}
.card:has(>table .empty-pin) .empty-pin{display:block;position:sticky;left:0;width:100cqw;box-sizing:border-box;padding:28px 16px}
main [data-list-scroll]:has(.cl-empty-row){container-type:inline-size}
main [data-list-scroll]:has(.cl-empty-row) .cl-empty{position:sticky;left:0;width:100cqw;box-sizing:border-box}
.badge{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-pill);font-size:12px;font-weight:500;background:var(--color-primary-teal-10);color:var(--fg-2)}
.chip{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-pill);font-size:12px;background:var(--color-primary-teal-10);color:var(--fg-3)} .chip.faint{color:var(--fg-4)}

/* ── tables: hairlines, sentence-case headers ── */
table{width:100%;border-collapse:collapse;font-size:13px;line-height:18px}
th{text-align:left;font-weight:500;color:var(--fg-3);font-size:12px;padding:10px 12px;border-bottom:1px solid var(--border-subtle)}
/* cells share their first line's baseline: a row mixes Inter, the mono price and a 22px pill, and top-aligned line boxes of
   different heights put the price above the name and the pill below it (catalog-layout) */
td{padding:10px 12px;border-bottom:1px solid var(--border-subtle);vertical-align:baseline} tr:last-child td{border-bottom:0} tbody tr:hover td{background:var(--color-primary-teal-10)}
table.tight td,table.tight th{padding:6px 8px} table.tight{font-size:12.5px}
.members td,.members th{white-space:nowrap}

/* ── buttons (B281): one component system for console and portal. Flat, no emboss: secondary (the default .btn, also
   .btn.secondary) is white on a hairline, primary the one Emerald action of a view (near-black ink on it, never white), ghost
   has no box until hovered, danger reads red, .sm is the compact size. Every kind shares the height, radius, weight,
   padding and the 3px keyboard ring of the --btn-* tokens; the portal sets the same tokens (storefront.css) and only its
   radius follows the merchant's corners. ── */
:root{--btn-h:40px;--btn-h-sm:32px;--btn-r:var(--radius-lg);--btn-r-sm:var(--radius-md);--btn-fw:600;--btn-px:16px;--btn-px-sm:12px;--btn-fs:14px;--btn-fs-sm:13px;
  --btn-bg:#fff;--btn-ink:var(--fg-1);--btn-line:var(--teal-75);--btn-hover:var(--teal-10);--btn-hover-line:var(--teal-200);
  --btn-ring:0 0 0 3px var(--ring-focus);--btn-lift:0 1px 2px rgb(0 0 0 / .06)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 var(--btn-px);border-radius:var(--btn-r);border:1px solid var(--btn-line);background:var(--btn-bg);font:inherit;font-size:var(--btn-fs);font-weight:var(--btn-fw);line-height:20px;letter-spacing:-.005em;cursor:pointer;color:var(--btn-ink);box-shadow:var(--btn-lift);transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;white-space:nowrap}
.btn:hover{background:var(--btn-hover);border-color:var(--btn-hover-line);text-decoration:none} .btn:active{box-shadow:none;transform:translateY(1px)}
.btn.primary{background:var(--color-brand);border-color:var(--color-brand);color:var(--color-primary-teal-950);box-shadow:var(--btn-lift)} .btn.primary:hover{background:var(--green-200);border-color:var(--green-200);color:var(--color-primary-teal-950)}
.btn.ghost{background:transparent;border-color:transparent;box-shadow:none} .btn.ghost:hover{background:var(--btn-hover);border-color:transparent}
.btn.link{background:none;border-color:transparent;box-shadow:none;padding:0 4px;font-weight:500;text-decoration:underline;text-underline-offset:3px} .btn.link:hover{background:none;border-color:transparent}   /* a quiet 'no thanks' (p_me's experience buttons, B281: was an inline style) */
.btn.danger{color:var(--red-800);border-color:var(--red-200)} .btn.danger:hover{background:var(--red-50);border-color:var(--red-500);color:var(--red-800)}
.btn.sm{height:32px;padding:0 var(--btn-px-sm);font-size:13px;border-radius:var(--radius-md)}
.btn:disabled{opacity:.5;cursor:default;transform:none}
.btn i{font-size:18px} .btn.sm i{font-size:16px}
/* B216: .btn's own box-shadow hid the keyboard ring on every .btn; B281: one ring for every kind, declared after them */
body.console .btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
body .btn:focus-visible,body .btn:is(.primary,.ghost,.danger,.secondary,.sm,.link):focus-visible{outline:none;box-shadow:var(--btn-ring);transition-property:background-color,border-color,color}
/* B296: B281's .btn transitions box-shadow (.15s), so a keyboard ring faded in from the button's lift/none and read as
   no ring for the first frames (the adviser rerun, Mollie's connect buttons, the portal-as icon). The ring now appears at
   once (WCAG 2.4.7); hover and press still ease, and the ring still fades out on blur (.btn's own transition). */

/* ── inputs: 40px, radius 10, teal-75 border, mint focus ring ── */
input,select,textarea{font:inherit;font-size:14px;line-height:20px;padding:0 12px;height:40px;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:#fff;color:var(--fg-1);box-shadow:var(--shadow-input)}
textarea{height:auto;padding:8px 12px;line-height:20px} input[type=checkbox],input[type=radio]{height:auto;width:auto;box-shadow:none;accent-color:var(--color-primary-green-400)}
input.small,select.small{height:32px;font-size:13px;border-radius:var(--radius-md)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--color-primary-teal-400);box-shadow:0 0 0 3px var(--ring-focus)}
input::placeholder,textarea::placeholder{color:var(--fg-4)}
/* B216 (9 nov, Michiel: "dropdown icoontje zit vaak helemaal rechts tegen de dropdown box aan"): one <select> everywhere.
   The browser's own arrow goes; ours is a 10x6 chevron drawn in the box (no icon font: it is there before the font is),
   its right edge 12px from the box's edge (11px + the 1px border). The text stops 34px before the edge, so the longest
   option ends 13px before the chevron and a narrower box cuts it there with an ellipsis, never under it. Height, border,
   radius and focus ring are the field's (above), so a select stands level with the input or button beside it. The
   console's only: the portal, the checkout and the sign-up page dress their own fields (storefront.css, a shop's brand). */
body.console select{-webkit-appearance:none;appearance:none;padding-right:34px;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23346873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 11px center;background-size:10px 6px}
body.console select:is([multiple],[size]:not([size="1"])){-webkit-appearance:auto;appearance:auto;padding-right:12px;background-image:none}       /* a list box has no chevron */
body.console select:disabled{opacity:.6;cursor:default}
/* B216: a field in a row whose button is the small one is the small size too. A 40px select or input beside a 32px
   'Opslaan' stood 4px above and below it (Catalogus' btw and kortingsplafond, Geld's status filter beside its tabs, a
   customer's history filter, a subscription's actions, Instellingen's rows): one size per row, here and not per page.
   The same for a select in a line of small text (Opzegflow's 'Hoe lang:'); a field under its small label (a <br> between
   them: Catalogus' kortingscode) is a full one. */
body.console .small:not(:has(>br))>select,
body.console :is(.row,.filters):has(>.btn.sm)>:is(select,input:not([type=checkbox],[type=radio],[type=hidden],[type=color],[type=file],[type=range])){height:32px;font-size:13px;border-radius:var(--radius-md)}
label{color:var(--fg-2)}

/* ── banners, code ── */
.banner{border-radius:var(--radius-xl);padding:12px 16px;margin-bottom:16px;border:1px solid transparent;font-size:14px}
.banner.team-demo-banner{padding:6px 12px;margin-bottom:12px;font-size:13px;display:flex;gap:6px;align-items:center}   /* B196: thin, on every page of the team demo */
/* B281: each banner a bright tint of its meaning with a hairline of the same hue (the pills' recipe), its words in the hue's ink */
.banner.critical{background:var(--red-50);border-color:var(--red-200);color:var(--red-800)} .banner.ok{background:var(--green-25);border-color:var(--green-75);color:var(--green-700)}
.banner.info{background:var(--mint-25);border-color:var(--mint-100);color:var(--color-navy)} .banner.warning{background:var(--color-tint-sunset);border-color:var(--sunset-200);color:var(--color-sunset-ink)}
pre{font-family:var(--mono);font-size:12px;background:var(--color-primary-teal-600);color:#dfeef1;padding:14px 16px;border-radius:var(--radius-md);overflow:auto;margin:0;line-height:1.5}
pre.light{background:var(--color-primary-teal-10);color:var(--fg-2)}
code{font-family:var(--mono);font-size:12.5px;background:var(--color-primary-teal-10);padding:1px 6px;border-radius:var(--radius-sm)}

/* ── timeline, evidence, split panels ── */
.tl{list-style:none;margin:0;padding:0} .tl li{display:grid;grid-template-columns:150px 22px 1fr 150px;gap:10px;padding:8px 4px;border-bottom:1px solid var(--border-subtle);align-items:baseline}
.tl li:last-child{border-bottom:0} .tl .t{font-family:var(--mono);font-size:12px;color:var(--fg-3);white-space:nowrap} .tl .i{text-align:center;font-size:15px} .tl .s{text-align:right}
.tl .ok .i{color:var(--color-green-800)} .tl .fail .i,.tl .fail .x{color:var(--color-red-800)} .tl .warn .i{color:var(--color-orange-800)} .tl .missing .i{color:var(--color-red-800)} .tl .missing .x{color:var(--color-red-800);font-style:italic} .tl .info .i{color:var(--fg-4)}
.tl li.expectation{background:var(--color-orange-100)} .tl li.exception{background:var(--color-red-100)}
.ev{display:grid;grid-template-columns:180px 1fr;gap:4px 14px;font-size:12.5px} .ev dt{color:var(--fg-3);font-size:12px} .ev dd{margin:0;font-family:var(--mono);font-size:12px;word-break:break-all}
/* a list of words and dates ('za 12 dec', 'elke 1 maand'), not codes: break between words, never inside 'dec' (fix-console-words r2) */
.ev.words dd{word-break:normal;overflow-wrap:anywhere}
/* next-charge r3: the State card's one-line 'Betaling achter · € 19,90' pill is wider than the 1fr column a 180px label
   column leaves at 1440, so the track grew past the dl and the card. The label column now gives way (down to its longest
   word) before a value runs past the card. :where keeps the narrow-container single-column rule below in charge. */
.ev:where(.words){grid-template-columns:minmax(min-content,180px) minmax(min-content,1fr)}
.side{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border-subtle);border-radius:var(--radius-xl);overflow:hidden;background:#fff} .side>div{padding:14px 16px} .side>div+div{border-left:1px solid var(--border-subtle)}
.side .h{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--fg-3);margin-bottom:8px;font-weight:600}
.diff{background:var(--color-orange-100);border-radius:6px;padding:2px 6px}
.empty{padding:28px;text-align:center;color:var(--fg-4)}
.bar{height:6px;background:var(--color-primary-teal-10);border-radius:3px;overflow:hidden} .bar i{display:block;height:100%;background:var(--color-primary-green-300)}
form.inline{display:inline}

/* ── settings: tabs, connections, event switches, cancel experience ── */
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border-subtle);margin:0 0 20px} .tabs a{padding:9px 14px;color:var(--fg-3);font-weight:500;font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:0} .tabs a:hover{color:var(--fg-1);text-decoration:none} .tabs a.active{color:var(--fg-1);border-color:var(--color-primary-teal-600)}
.tabpanel[hidden]{display:none} .g3{grid-template-columns:repeat(3,1fr)} .tabpanel .g31{grid-template-columns:minmax(0,2.4fr) minmax(260px,1fr)}
@media (max-width:1400px){.g3{grid-template-columns:1fr 1fr}} @media (max-width:1150px){.tabpanel .g31,.tabpanel .g2{grid-template-columns:1fr}.g3{grid-template-columns:1fr}}
/* a phone: the page stays as wide as the screen and the tabs scroll sideways on their own (the shell itself: ds2 layer) */
@media (max-width:720px){.tabs{overflow-x:auto}.tabs a{white-space:nowrap;flex:none}.tabpanel .g31,.tabpanel .g2,.g3{grid-template-columns:minmax(0,1fr)}.tabpanel .card{min-width:0;overflow-x:auto}.facts{grid-template-columns:minmax(0,1fr)}.facts dd{min-width:0;overflow-wrap:anywhere}.facts input{max-width:100%}}
/* how the store's customers pay (B232, Settings > Billing): two options beside each other, one under the other on a
   narrow screen; the radio is the browser's own, the picked option gets the ink border, the keyboard's the shared ring */
.route-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.route-opt{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:14px 16px;border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--bg-surface);cursor:pointer}
.route-opt:hover{border-color:var(--border-default)} .route-opt:has(input:checked){border-color:var(--fg-1)} .route-opt:has(input:focus-visible){box-shadow:0 0 0 3px var(--ring-focus)}
.route-opt input{flex:none;margin:3px 0 0} .route-opt input:focus-visible{box-shadow:none}
.route-tx{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.route-tt{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-weight:600;font-size:14px;line-height:20px;color:var(--fg-1)}
.route-line{font-size:13px;line-height:18px;color:var(--fg-2)}
.route-note{display:flex;align-items:baseline;gap:6px;margin-top:4px;font-size:12.5px;line-height:18px;color:var(--color-sunset-ink)} .route-note i{flex:none;position:relative;top:2px}
.route-act{display:flex;justify-content:flex-end;margin-top:12px} .route-plans{margin-top:12px;padding-top:12px;border-top:1px solid var(--border-subtle)}
@media (max-width:720px){.route-choice{grid-template-columns:minmax(0,1fr)}.route-act{justify-content:stretch}.route-act .btn{width:100%;justify-content:center}}
.conn-head{display:flex;align-items:center;gap:10px;margin-bottom:4px} .dot{width:10px;height:10px;border-radius:50%;background:var(--color-primary-teal-75);flex:none} .dot.on{background:var(--color-primary-green-300)} .dot.warn{background:var(--color-orange-500)} .dot.off{background:var(--color-primary-teal-75)}
.facts{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:10px 0 0;font-size:13px} .facts dt{color:var(--fg-3)} .facts dd{margin:0}
details.more{margin-top:10px} details.more summary{cursor:pointer;color:var(--fg-3);font-size:12.5px} details.more[open] summary{margin-bottom:6px}
/* B214: Settings' payments card — 'Koppelen met Mollie' first, its line beside it (under it on a phone); the SEPA warning's
   button to Mollie wraps under the sentence when the card is narrow */
.mollie-connect{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px} .mollie-connect .small{flex:1 1 200px;min-width:0}
/* B241: the Klaviyo card's key guide: numbered steps, the access levels as one value to copy (.shc-copy, the Shopify
   guide's), then the field; the copied line breaks only after a comma and never leaves the card */
.klv-steps{margin:10px 0 10px;padding-left:20px;display:grid;gap:6px;color:var(--fg-2);font-size:13px} .klv-steps>li{min-width:0;overflow-wrap:anywhere}
.klv-copy{margin:6px 0 0} .klv-copy .shc-val{font-size:12px;overflow-wrap:anywhere}
/* the label and the copy button share one line until the card is too narrow (Dutch at 1440: 'Kopieer de regel' crossed the edge) */
.klv-copy .shc-copy-h{flex-wrap:wrap}
/* recent pushes: one push per line that wraps inside the card (when, metric, pill, retry) instead of four columns past its edge */
.klv-pushes,.klv-pushes tbody{display:block} .klv-pushes tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:6px 0;border-top:1px solid var(--border-default)}
.klv-pushes tr:first-child{border-top:0} table.tight.klv-pushes td{padding:0;min-width:0;overflow-wrap:anywhere}
.klv-key input{flex:1 1 170px;min-width:0} .klv-actions{margin-top:10px;gap:8px;flex-wrap:wrap}
/* B303: the Customer.io card's form: three labelled fields, side by side while there is room and stacked on a phone, the
   button under them; a field never leaves the card */
.cio-form{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;margin:4px 0 0}
.cio-field{flex:1 1 180px;display:grid;gap:4px;min-width:0;font-size:12.5px;color:var(--fg-2)} .cio-field input{width:100%;min-width:0;box-sizing:border-box}
.cio-submit{flex:1 1 100%}
/* B303 aanvulling: 'Klanten herkennen op' on the connected card: four modes as full-width rows (a radio, the name, one line
   why), the id choice and the warning under 'id + e-mail', the counts as facts; every long word (an address, Customer.io's
   own sentence) breaks inside the card */
.cio-ident{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--border-subtle);min-width:0}
.cio-ident-h{margin:0 0 4px;font-size:13.5px}
.cio-ident-p{margin:0 0 8px;overflow-wrap:anywhere}
.cio-ident-banner{margin:0 0 8px;padding:8px 10px;font-size:12.5px}
.cio-modes{border:0;margin:0;padding:0;display:grid;gap:6px;min-width:0}
.cio-mode{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);min-width:0;cursor:pointer}
.cio-mode input[type=radio]{margin:3px 0 0;flex:none}
.cio-mode.is-off{opacity:.6;cursor:not-allowed}
.cio-mode-t{display:grid;gap:2px;min-width:0;flex:1 1 auto;overflow-wrap:anywhere}
.cio-kind{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:4px} .cio-kind select{max-width:100%;min-width:0}
.cio-warn{color:var(--color-sunset-ink)}
.cio-ident-actions{margin-top:8px;gap:8px;flex-wrap:wrap}
.cio-counts{margin-top:10px} .cio-counts dd{overflow-wrap:anywhere}
.cio-conflicts{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.cio-conflicts li{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere} .cio-said{display:block}
.cio-wait{margin:6px 0 0;overflow-wrap:anywhere} .cio-conflicts li+li{border-top:1px solid var(--border-subtle);padding-top:6px}
.cio-conflict-foot{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;min-width:0;margin-top:2px}
.cio-conflict-foot form{margin:0} .cio-retry-all{margin:8px 0 0}
.mollie-key input{flex:1 1 190px;min-width:0} .banner.mollie-sepa{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px} .banner.mollie-sepa>div{flex:1 1 260px;min-width:0}
.banner.mollie-sepa .btn{flex:none;max-width:100%} .banner.mollie-sepa .btn i{font-size:13px}
/* B214 r2: the key field keeps room for its placeholder (190px with its padding, the button wraps under it when the line is shorter); the
   card's facts stack label-over-value when the card is too narrow for the creditor field and its Save beside a label (the
   3-column Connections grid at 1440); the long ids and paths wrap inside the card instead of crossing its edge */
.card.conn:has(>dl.pay-facts){container-type:inline-size} dl.pay-facts dd{min-width:0;overflow-wrap:anywhere}
.pay-creditor{gap:6px} .pay-creditor input{flex:1 1 150px;max-width:190px;min-width:0}
/* B214 r3: a label and its value on one line share a baseline (the creditor field's and the pills' text included, so the
   label sits on their centre line); the Connections cards keep their own height instead of stretching to the payments
   card's, which left the Shopify and Klaviyo cards with hundreds of px of nothing below their content. A pill's baseline is
   its dot's bottom edge (the first flex item) unless its text takes part in baseline alignment: here the text does, the dot stays centred */
dl.pay-facts{align-items:baseline} dl.pay-facts .pill{align-items:baseline} dl.pay-facts .pill::before{align-self:center} .grid.conn-grid{align-items:start}
@container (max-width:419.98px){dl.pay-facts{grid-template-columns:minmax(0,1fr);gap:0} dl.pay-facts dd{margin-bottom:8px} dl.pay-facts dd:last-child{margin-bottom:0}}
/* B214 r3 round 2: the Shopify and Klaviyo cards' facts in Dutch ('Wachtende bestellingen') took the label column past
   what the 3-column grid at 1440 leaves the value: a label wraps at 45% of the card, a value wraps inside the rest */
.conn-grid dl.facts:not(.pay-facts){grid-template-columns:fit-content(45%) minmax(0,1fr)} .conn-grid dl.facts:not(.pay-facts) dd{min-width:0;overflow-wrap:anywhere}
/* B231 (probe, nl at 1440): a connected store's address beside 'Nu synchroniseren' pushed the button past the card's edge:
   the name block gives way and wraps, the button keeps its size */
.conn-head>div{min-width:0;overflow-wrap:anywhere} .conn-head>form,.conn-head>.btn{flex:none}
/* B231: the Shopify connect guide (c_shopify_connect.html). B231 opmaak (11 nov, 'de layout ziet er nog beetje raar uit'):
   one reading column of 760px, left-aligned with the page title (the cards ran the full width with short lines);
   'before you start' is a preface on the canvas with a hairline around it, the six steps are the cards; a step's number is
   a filled Deep Teal circle on the first line of its heading and the body stands under the heading; one list marker and
   one indent for every list on the page */
.shc{max-width:760px}
.shc-before{margin:0 0 16px;padding:14px 18px;border:1px solid var(--border-default);border-radius:var(--radius-xl)}
.shc-before h2,.shc-step h2{margin:0 0 8px} .shc-before ul,.shc-step ul{margin:0;padding-left:18px;list-style:disc;display:grid;gap:6px;color:var(--fg-2)}
.shc-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.shc-step{display:grid;grid-template-columns:28px minmax(0,1fr);gap:0 12px;scroll-margin-top:calc(var(--topbar-h) + 16px)} .shc-step h2{margin-bottom:10px;padding-top:2px;text-wrap:balance}
/* B269 r2: the disclosure a refusal line opens (#step-7-partner) clears the sticky top bar like a step does */
.shc-partner{scroll-margin-top:calc(var(--topbar-h) + 16px)}
.shc-step:target{box-shadow:0 0 0 3px var(--ring-focus)} .shc-b{grid-column:2;min-width:0} .shc-b p{margin:0 0 8px;color:var(--fg-2)} .shc-b p.shc-last{margin:0}
.shc-n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;line-height:28px;font-weight:600;background:var(--color-navy);color:var(--on-hero)}
.shc-ui{font-weight:600;color:var(--fg-1);white-space:nowrap}
/* a value to paste: Shopify's name for the field and the copy button in one row, the value in one box under it. The
   value breaks only where the template allows it (a <wbr> after each comma of the permissions), never inside a word */
.shc-copy{margin:0 0 12px} .shc-copy-h{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;margin:0 0 4px} .shc-copy .btn{flex:none}
/* B231 r2: without JavaScript the copy buttons stay away (.btn's display beats the hidden attribute); the value is selectable text */
.shc-copy .btn[hidden]{display:none}
/* a phone: the longest permission is 42 characters and has to fit the box under the step's heading (the screen less
   126px of margins, card, number column and box padding, and 2px to spare; a monospace character is 0.602em wide): the value's text
   scales with the screen, 9.8px at 375, so the line still breaks only after a comma. Narrower than 353px it breaks
   where it must (overflow-wrap) and the page never scrolls sideways */
.shc-val{display:block;padding:8px;font-size:clamp(9px,calc((100vw - 128px) / 25.3),12.5px);line-height:20px;border-radius:var(--radius-md);overflow-wrap:anywhere;user-select:all;-webkit-user-select:all;color:var(--fg-1)}
@media (min-width:481px){.shc-val{padding:8px 12px}}
/* the form: one column in the order it is filled in, a field and its hint 440px at most, then the button and its note */
.shc-fields{display:grid;grid-template-columns:minmax(0,440px);gap:14px} .shc-fields .field{margin:0;min-width:0} .shc-fields input{width:100%} .shc-hint{margin-top:6px}
.shc-go{margin-top:16px}
#shopify-connect-form details.more .field{max-width:440px} #shopify-connect-form details.more .field input{width:100%}
.shc-error p{margin:0 0 10px} .shc-error .shc-ui{color:inherit} .shc-error .shc-val{background:#fff;color:var(--fg-1)} .shc-error .btn{text-decoration:none}
/* .btn's own box-shadow beats :focus-visible (see form.portal-as below): the connection cards' and the launch path's
   buttons get the keyboard ring back here (B214 r2: 'Koppelen met Mollie', the SEPA button to Mollie and the card's others) */
.card.conn .btn:focus-visible,.rd-step .btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
/* B286 (Michiel 13 nov: 'ziet er nog beetje oud uit'): the events tab in the B281 style. A white toolbar with the presets as
   one segmented control (the pressed one is the preset the switches match) and a search field with its icon; each group a
   section header with its 'x of y on' as a pill; rows a clean list with hairline dividers and a teal hover; the event's
   code, 'sent as' and its last-sent meta in --fg-3 (4.5:1 on the card and the hover). Switch and name share a centre line. */
.ev-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;padding:14px 16px;border-bottom:1px solid var(--border-subtle);background:transparent}
.ev-presets{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0} .ev-seg-l{font-size:12px;font-weight:500;color:var(--fg-3)}
.ev-seg{display:inline-flex;gap:2px;padding:3px;border-radius:var(--radius-lg);background:var(--teal-25);border:1px solid var(--border-subtle)}
.ev-seg .btn.sm{height:28px;padding:0 12px;border:0;background:transparent;box-shadow:none;color:var(--fg-3);border-radius:var(--radius-md);font-weight:500}
.ev-seg .btn.sm:hover{background:#fff;color:var(--fg-1)} .ev-seg .btn.sm[aria-pressed=true]{background:#fff;color:var(--fg-1);box-shadow:var(--shadow-input);font-weight:600}
.ev-seg .btn.sm:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--teal-400)}
.ev-filter{position:relative;display:flex;align-items:center;width:220px;max-width:100%} .ev-filter i{position:absolute;left:10px;color:var(--fg-3);font-size:14px;pointer-events:none}
.ev-filter input{width:100%;padding-left:30px}
.ev-group-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 16px 8px;border-top:1px solid var(--border-subtle);background:transparent}
.ev-group:first-of-type .ev-group-head{border-top:0}
.ev-group-name{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--fg-2)} .ev-group-name strong{font-weight:600}
.ev-group-head .group-count{flex:none;color:var(--fg-3);background:var(--teal-10);border:1px solid var(--border-subtle);border-radius:999px;padding:0 10px;font-weight:500;--pill-dot:transparent}   /* B292: no vertical padding: the 20px line fills the 22px pill, else it clips 2px on a phone */
.evrow{display:grid;grid-template-columns:40px minmax(160px,1fr) minmax(220px,1.5fr) 130px;gap:14px;align-items:center;padding:12px 16px;border-top:1px solid var(--border-subtle);transition:background-color .12s} .evrow:hover{background:var(--teal-10)}
.ev-group .ev-group-head+.evrow{border-top:0}
.evrow>.switch{align-self:start;margin-top:-1px} .ev-label{align-self:start;min-width:0} .ev-label>div:first-child{font-weight:500;color:var(--fg-1);line-height:20px;overflow-wrap:anywhere}
.ev-label .ev-code{font-size:11.5px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere} .ev-help{font-size:12.5px;line-height:18px;color:var(--fg-3);margin-top:2px}
.ev-metric{display:flex;align-items:center;gap:8px;min-width:0} .ev-metric .ev-as{font-size:12px;color:var(--fg-3);white-space:nowrap} .ev-metric input{flex:1;min-width:0;height:32px;font-size:13px;border-radius:var(--radius-md)} .ev-metric .reset{font-size:12px;color:var(--fg-3)}
.ev-last{font-size:12px;line-height:16px;color:var(--fg-3);text-align:right} .ev-never{display:inline-block;padding:2px 8px;border-radius:var(--r-pill);background:var(--teal-10);color:var(--fg-3)}
.evrow.ev-profile{border-top:1px solid var(--border-default);background:var(--color-canvas)}
.ev-side strong{display:flex;align-items:center;gap:8px;color:var(--fg-1)} .ev-side strong i{color:var(--fg-3);font-size:16px} .ev-side>p{margin:8px 0 0}
.ev-side .ev-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border-subtle)} .ev-side table{margin-top:8px}
/* the row's four columns (44 + 160 + 220 + 130, the gaps and the row's padding: 618px) stand on one line only where the card has that room. The card is 343px on a
   phone but also 482px at 1280, beside 'How it works' (tester r3: 'last sent' 122px past the card and cut), so the card's own width decides, not the viewport's: in a
   narrower card the switch and the event's name on the first line, 'sent as' and 'last sent' under the name; the last row's label spans by an inline style, hence the !important.
   The field shrinks with its column (min-width:0), so a renamed event's 'reset' link stays in the column instead of standing on 'last sent' (1440: 50px into it); the
   column takes 1.5 parts so the field is no narrower for it there (189px, was 186 and 10px past its column) */
.card:has(>.ev-toolbar){container-type:inline-size}
@container (max-width:617.98px){.evrow{grid-template-columns:40px minmax(0,1fr);row-gap:8px} .evrow>.ev-label{grid-column:2!important} .evrow>.ev-metric,.evrow>.ev-last{grid-column:2} .ev-last{text-align:left} .ev-filter{width:100%}}
/* B286 r2: the card at 1280 (482px) is a middle width, too narrow for four columns but wide enough not to stack like a phone (ux r1: three lines, 101-149px a row,
   'never sent' left under the field). There the name and its muted code share the first line at the card's full width, and 'sent as' with 'last sent' at the row's right
   share the second, on one centre line: two lines, ~84px a row (a long name may still wrap). A phone's card (343px) keeps the stacked rows above */
@container (min-width:400px) and (max-width:617.98px){
  .evrow{grid-template-columns:40px minmax(0,1fr) auto;column-gap:12px} .evrow>.switch{grid-row:1} .card .evrow>.ev-label{grid-column:2 / -1!important;grid-row:1}
  .evrow>.ev-metric{grid-column:2;grid-row:2} .evrow>.ev-last{grid-column:3;grid-row:2;text-align:right;white-space:nowrap}
  .evrow:not(.ev-profile)>.ev-label{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px}
}
.switch{position:relative;display:inline-block;width:40px;height:22px;flex:none} .switch input{opacity:0;width:0;height:0;position:absolute} .switch span{position:absolute;inset:0;background:var(--teal-300);border-radius:999px;transition:background-color .2s;cursor:pointer}
.switch span:before{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;background:#fff;border-radius:50%;transition:transform .2s cubic-bezier(.3,.7,.4,1);box-shadow:0 1px 3px rgba(0,0,0,.2)} .switch input:checked+span{background:var(--green-500)} .switch input:checked+span:before{transform:translateX(18px)}
.switch input:focus-visible+span{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--teal-400)} .switch:hover input:not(:checked)+span{background:var(--teal-400)}   /* B286: off reads 4:1, on (B281 green-500) 3.9:1 on white */
.savebar[hidden]{display:none} .savebar{position:sticky;bottom:16px;margin-top:12px;display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:10px 14px;background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-menu)}
@media (max-width:720px){.savebar{bottom:calc(76px + env(safe-area-inset-bottom))}}      /* a phone's tab bar (64px) lies over the page's foot: the save bar stays above it */
.variant{border:1px solid var(--border-subtle);border-radius:var(--radius-xl);padding:10px 12px} .variant-banner{margin-top:8px;padding:12px 14px;border-radius:10px;background:var(--color-primary-teal-10)}
.vb-title{font-weight:600;font-size:15px;color:var(--fg-1)} .vb-body{color:var(--fg-2);font-size:13px;margin-top:3px}
.vbtn{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:500;background:var(--color-primary-green-300);color:var(--color-primary-teal-950)} .vbtn.secondary{background:#fff;color:var(--fg-1);border:1px solid var(--border-default)} .vbtn.danger{background:var(--color-red-600);color:#fff} .vbtn.link{background:none;color:var(--fg-3);text-decoration:underline;font-weight:500}
.pv-frame{margin-top:10px;min-height:120px} .pvb{padding:16px;border-radius:12px;background:var(--color-primary-teal-10)} .pvb.warm{background:var(--color-warm-sand-100)} .pvb.calm{background:var(--color-primary-mint-25)} .pvb h3{margin:0 0 6px;font-size:17px;line-height:24px;color:var(--fg-1);text-transform:none;letter-spacing:-.01em} .pvb p{margin:0 0 12px;color:var(--fg-2);font-size:14px} .pvb .vbtn{margin:2px 0}
.gr-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px 14px} .gr-grid>label{grid-column:span 2;display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--fg-3)} .gr-grid input:not([type=checkbox]),.gr-grid select{width:100%} .gr-grid label.row{flex-direction:row;color:var(--fg-2)} .gr-grid .span3{grid-column:span 6}
.proposal .pvb{padding:10px 12px} .proposal .pvb h3{font-size:14px;line-height:20px} .proposal .pvb p{font-size:12.5px;margin-bottom:8px}
.field{margin-top:12px} .field label{display:flex;flex-direction:column;gap:2px;font-weight:500;margin-bottom:6px;color:var(--fg-1)} .field label .small{font-weight:400}
/* B216: fields beside each other in a grid stand on one line, also where one's help text takes a line more than the
   other's (Instellingen > Huisstijl: 'Footer' stood 16px under 'Support e-mail' at 1440): the label takes the spare room */
.grid>.field{display:flex;flex-direction:column} .grid>.field>label{flex:1 0 auto} .grid>.field>:not(label){align-self:flex-start}

/* ── the plan form and the plans on the catalog page ── */
[data-when][hidden]{display:none}
.plan-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)} .plan-row.retired{opacity:.65} .plan-row .row{flex:none}
.plan-start{padding:14px 0} .plan-start p{margin:0 0 8px}
.plan-form{max-width:640px;display:flex;flex-direction:column;gap:12px} .plan-form .card:hover{box-shadow:var(--shadow-card)} .plan-form .field:first-child{margin-top:0}
.plan-form .field input:not([type=radio]):not([type=checkbox]):not(.plan-num),.plan-form .field select{width:100%} .plan-form .plan-every select{width:auto;max-width:100%}
.plan-label{display:block;font-weight:500;margin-bottom:6px;color:var(--fg-1)} .plan-label small{display:block;font-weight:400;color:var(--fg-3);font-size:13px}
.plan-num{width:88px} .plan-num.wide{width:120px} .plan-form .row{gap:8px;flex-wrap:wrap}
.plan-form .small.muted{margin:4px 0 0}
.plan-form .plan-choice{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:8px 0;margin:0;font-weight:400;cursor:pointer;color:var(--fg-1)} .plan-choice small{display:block;color:var(--fg-3);font-size:13px} .plan-form .plan-choice.off{cursor:default;color:var(--fg-4)} .plan-choice input{margin-top:3px}
.plan-sub{margin:0 0 8px 24px} .plan-sub .field{margin-top:8px}
.plan-fixed{padding:10px 12px;border-radius:var(--radius-lg);background:var(--color-primary-teal-10)}
.plan-more>summary{cursor:pointer;font-weight:500;color:var(--fg-1)} .plan-more[open]>summary{margin-bottom:10px}
.plan-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px} .plan-checks label{display:flex;gap:8px;align-items:center;color:var(--fg-1)}
.plan-actions{margin-top:4px} .plan-confirm{max-width:640px} .plan-confirm p{margin:0 0 12px} .confirm-title{overflow-wrap:anywhere}      /* a title can carry a file name without a space (B224) */
@media (max-width:560px){.plan-checks{grid-template-columns:1fr}.plan-row{flex-direction:column}}
/* the Discounts card's codes in a narrow card: five cells do not fit 343px on a phone (B206 r2), nor a half-width card of
   360-616px from 768 to 1536 once a code is as long as the form allows (40: the table wants ~640px, B206 r3). So the card
   is a container and, below 560px of card, whatever the screen, a code's cells stack as one block per code instead of
   running past the card: the code, its terms, then its uses, status and 'Stoppen' on one line (so the status and its
   button never part over two lines, as they did next to a long code); wider, a long code breaks inside its own cell (it
   is a code: any place is as good as another), but never one of up to 14 characters: without that floor the table
   squeezes 'WELKOM10' to make room for the terms. The card's flash names the code too, so it may break there as well */
.disc-card{container-type:inline-size} .disc-list .disc-code,.disc-card>.banner{overflow-wrap:anywhere} .disc-list .disc-code{min-width:14ch;box-sizing:content-box}
@container (max-width:559.98px){.disc-list tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}
  .disc-list tr:last-child{border-bottom:0} .disc-list td{display:block;min-width:0;padding:0;border:0} .disc-list td.right{text-align:left}
  .disc-list td:nth-child(-n+2){flex-basis:100%} .disc-list tbody tr:hover td{background:none}}
/* 'Dagen zonder levering' beside it: as tall as its own rows, not stretched to the Discounts card's height (an empty block
   of up to 1000px at 1024-1536), a date never broken over two lines ('vr 25 dec 2026'), and in a narrow card the two
   dates on one line with the reason under them instead of a table wider than the card (B206 r3) */
.blackout-card{align-self:start;container-type:inline-size} .blackout-list td:nth-child(2){overflow-wrap:break-word}
@container (max-width:419.98px){.blackout-list tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:8px 0;border-bottom:1px solid var(--border-subtle)}
  .blackout-list tr:last-child{border-bottom:0} .blackout-list td{display:block;min-width:0;padding:0;border:0} .blackout-list td.right{text-align:left}
  .blackout-list td:nth-child(2){order:2;flex-basis:100%} .blackout-list tbody tr:hover td{background:none}}

/* ── portal, checkout, shop: the customer-facing surfaces share the tokens, not the chrome ── */
body.portal,body.shop{display:block;background:var(--bg-app)} .portal main,.shop main{max-width:760px;margin:0 auto;padding:28px 20px 60px}
.ptop{display:flex;justify-content:space-between;align-items:center;height:var(--topbar-h);padding:0 20px;background:#fff;border-bottom:1px solid var(--border-subtle)}
.ptop .brand{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--fg-1)} .ptop .brand .avatar{width:32px;height:32px;border-radius:10px;background:var(--color-primary-teal-600);color:#fff;display:grid;place-items:center;font-weight:600}
.ptop .brand small{display:block;font-weight:400;font-size:12px;color:var(--fg-3)}
/* merchant branding (#43): the logo in place of the initial, and the merchant's accent on the primary action. base.html
   adds .branded and the variables only when the merchant picked a colour; --on-accent is the readable text on it. */
.ptop .brand .logo{display:block;height:32px;width:auto;max-width:160px;object-fit:contain}
body.branded .btn.primary{background:var(--accent);border-color:var(--accent-2);color:var(--on-accent)} body.branded .btn.primary:hover{background:var(--accent-2);border-color:var(--accent-2)}
body.branded input[type=checkbox],body.branded input[type=radio]{accent-color:var(--accent)} body.branded input:focus,body.branded select:focus{border-color:var(--accent)}
.countdown{font-family:var(--mono);font-weight:600} .cta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px} details summary{cursor:pointer;color:var(--fg-3)} .item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-subtle)}

/* ── pulse: the ink band on the home page and the copilot's scoreboard (teal-600 is the chrome colour; the one accent stays mint) ── */
.pulse{background:var(--bg-sidebar);color:#fff;border-radius:var(--radius-xl);padding:22px 24px;display:grid;grid-template-columns:1.3fr 1fr 1.2fr;gap:24px;box-shadow:var(--shadow-card);position:relative;overflow:hidden}
.pulse::after{content:"";position:absolute;inset:auto -40px -60px auto;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.035);pointer-events:none}
.pulse .l{font-size:12px;line-height:16px;color:rgba(255,255,255,.62);margin-bottom:6px;display:flex;align-items:center;gap:6px}
.pulse .l i{font-size:14px}
.pulse .v{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.025em;color:#fff;font-variant-numeric:tabular-nums}
.pulse .v.sm{font-size:26px;line-height:32px}
.pulse .d{font-size:12px;line-height:16px;color:rgba(255,255,255,.62);margin-top:6px}
.pulse .d strong{color:#fff;font-weight:500}
.pulse .up{color:var(--color-primary-green-300)} .pulse .down{color:var(--color-orange-500)}
.pulse .col+.col{border-left:1px solid rgba(255,255,255,.1);padding-left:24px}
.pulse .board{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
.pulse .board .v{font-size:22px;line-height:28px}
.pulse .cta{margin-top:12px;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-md);background:var(--bg-accent);color:var(--color-primary-teal-950);font-weight:600;font-size:13px;border:1px solid var(--color-primary-green-400);box-shadow:var(--shadow-button-accent)}
.pulse .cta:hover{background:var(--bg-accent-hov);text-decoration:none}
.pulse .status{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.pulse .status span{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:999px;font-size:12px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.85)}
.pulse .status span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--color-primary-green-300)} .pulse .status span.off::before{background:rgba(255,255,255,.35)} .pulse .status span.warn::before{background:var(--color-orange-500)}
@media (max-width:1200px){.pulse{grid-template-columns:1fr 1fr}.pulse .col:last-child{grid-column:span 2;border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.1);padding-top:16px}}

/* sparklines: mint on ink, teal on white */
svg.spark{display:block;width:100%;height:44px;margin-top:8px;overflow:visible}
svg.spark .line{fill:none;stroke:var(--color-primary-green-300);stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
svg.spark .area{fill:var(--color-primary-green-300);opacity:.14}
/* the dots are zero-length strokes with round caps (console.js): round however far the svg is stretched */
svg.spark .dot,svg.spark .cursor{fill:none;stroke:var(--color-primary-green-300);stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-width:5}
svg.spark .cursor{stroke-width:9;opacity:.9} svg.spark{touch-action:pan-y;cursor:crosshair;border-radius:4px} svg.spark:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)} svg.spark:focus:not(:focus-visible){outline:none}
.card svg.spark .line,.card svg.spark .dot,.card svg.spark .cursor{stroke:var(--mint-500)} .card svg.spark .area{fill:var(--mint-400);opacity:.14}      /* B281: the trend line in bright mint */
.card svg.spark.mint .line,.card svg.spark.mint .dot,.card svg.spark.mint .cursor{stroke:var(--color-primary-green-300)} .card svg.spark.mint .area{fill:var(--color-primary-green-300)}
/* one tooltip for the point under the cursor or the keyboard: the value, its day beneath; fixed, kept inside the viewport by console.js */
.spark-tip{position:fixed;z-index:var(--z-toast);pointer-events:none;display:flex;flex-direction:column;gap:1px;max-width:min(240px,calc(100vw - 16px));padding:6px 10px;
  border-radius:8px;background:var(--color-primary-teal-950);color:#fff;box-shadow:var(--shadow-menu);font-size:12px;line-height:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.spark-tip[hidden]{display:none} .spark-tip b{font-size:13px;font-weight:600} .spark-tip span{color:rgba(255,255,255,.72)} .spark-tip span:empty{display:none}

/* reveal + hover lift, all inside the design system's timing */
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
[data-reveal]{animation:rise .24s ease-out both}
.card.lift{transition:box-shadow .15s,transform .15s} .card.lift:hover{transform:translateY(-1px)}
.bar i[data-w]{width:0;transition:width .25s ease-out}
@media (prefers-reduced-motion:reduce){[data-reveal]{animation:none}.bar i[data-w]{transition:none}}

/* the copilot feed: a decision per row, the customer, the moment, what they did */
.feed{list-style:none;margin:0;padding:0} .feed li{display:grid;grid-template-columns:20px 1fr auto;gap:10px;align-items:start;padding:9px 0;border-bottom:1px solid var(--border-subtle)} .feed li:last-child{border-bottom:0}
.feed .ic{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;font-size:13px;background:var(--color-primary-teal-10);color:var(--color-primary-teal-500)} .feed .ic.trial{background:var(--color-primary-mint-25);color:var(--color-green-800)}
.feed .who{font-weight:500;color:var(--fg-1)} .feed .what{font-size:12.5px;color:var(--fg-3)} .feed .when{font-family:var(--mono);font-size:11px;color:var(--fg-4);white-space:nowrap}
/* a chip beside the customer's name in the feed (/ai Activiteit) grows with its words when a narrow screen wraps them,
   instead of spilling out of its fixed 22px pill over the next line (bug hunt 16 nov item 14) */
.feed li>div{min-width:0} .feed .who .chip{height:auto;min-height:22px;padding:2px 9px;line-height:18px;white-space:normal;overflow-wrap:anywhere;max-width:100%;vertical-align:middle}
.pulse .feed li{border-color:rgba(255,255,255,.1)} .pulse .feed .who{color:#fff} .pulse .feed .what{color:rgba(255,255,255,.62)} .pulse .feed .when{color:rgba(255,255,255,.45)} .pulse .feed .ic{background:rgba(255,255,255,.1);color:#fff}
.pulse .pill{background:rgba(255,255,255,.1);color:#fff} .pulse .pill.ok{color:var(--color-primary-green-300)} .pulse .pill.critical{color:var(--color-orange-500)}

/* the two exit points side by side on the copilot tab */
.exit{display:grid;grid-template-columns:1fr 1fr;gap:16px} .exit .card{display:flex;flex-direction:column;gap:6px}
.exit .big{font-size:28px;line-height:32px;font-weight:600;letter-spacing:-.02em;color:var(--fg-1)} .exit .big small{font-size:13px;font-weight:400;color:var(--fg-3);letter-spacing:0;margin-left:6px}
.exit .steps{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--fg-3)} .exit .steps i{font-size:14px;color:var(--fg-4)}
.exit .steps span{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;line-height:18px;border-radius:6px;background:var(--color-primary-teal-10)}   /* grows when a narrow card wraps its words (bug hunt 16 nov item 14) */
/* Copilot's stage details only (c_ai.html, B207 aanvulling 6 nov); goes when they do */
/* B288: the Copilot page (c_ai.html) keeps no text under 12px: the stage line, the guardrails' legends and hints, the live set's buttons and the preview's labels (tests/test_ai_copilot_nl_visual.py) */
.kpi.mini{padding:12px 14px} .kpi.mini .v{font-size:20px;line-height:26px}

/* ── the lifecycle workspace ── */
.lc-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;flex-wrap:wrap}
.lc-ready{margin:0 0 14px;display:flex;flex-direction:column;gap:4px}.lc-ready-list{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0;padding:0;list-style:none}.lc-ready-list a{overflow-wrap:anywhere}
.stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 18px}
.stage{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px 12px 10px;border-radius:var(--radius-xl);background:#fff;border:1px solid var(--border-subtle);box-shadow:var(--shadow-card);cursor:pointer;font:inherit;text-align:left;color:var(--fg-2);transition:box-shadow .15s,border-color .15s,background .15s;min-width:0}
.stage i{font-size:20px;color:var(--fg-3)} .stage .nm{font-weight:600;color:var(--fg-1);font-size:13px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.stage .ct{font-size:12px;color:var(--fg-3)} .stage .ct b{font-size:16px;color:var(--fg-1);font-weight:600;margin-right:3px}
.stage .ac{font-size:12px;color:var(--fg-4);display:flex;align-items:center;gap:5px} .stage .ac .dot{width:6px;height:6px}
.stage:hover{box-shadow:var(--shadow-menu)} .stage.active{border-color:var(--color-primary-teal-600);background:var(--color-primary-teal-600);color:#fff}
.stage.active i,.stage.active .nm,.stage.active .ct b{color:#fff} .stage.active .ct,.stage.active .ac{color:rgba(255,255,255,.7)}
.oc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.oc{background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:16px 18px;display:flex;flex-direction:column;gap:8px;cursor:pointer;min-height:230px;transition:box-shadow .15s,transform .15s}
.oc:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
.oc .t{font-weight:600;color:var(--fg-1);font-size:15px;line-height:20px} .oc-outcome{color:var(--fg-2);font-size:13px}
.oc-facts{display:grid;grid-template-columns:max-content 1fr;gap:2px 10px;margin:2px 0;font-size:12px} .oc-facts dt{color:var(--fg-4)} .oc-facts dd{margin:0;color:var(--fg-2)}
.oc-why{display:flex;gap:6px;align-items:flex-start;font-size:12.5px;color:var(--fg-3);background:var(--color-primary-mint-25);border-radius:8px;padding:8px 10px} .oc-why i{color:var(--color-green-800);font-size:14px;flex:none;margin-top:2px}
/* B299 aanvulling 2: a win-back card's approval line and its plain button (never the view's primary); the line wraps beside it */
.oc-wb{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;cursor:default}
.oc-wb>.small{flex:1 1 180px;min-width:0;overflow-wrap:anywhere} .oc-wb form{margin:0}
.oc-wb .btn{white-space:normal;height:auto;min-height:30px;line-height:1.3;padding-top:4px;padding-bottom:4px;text-align:center}
.lc-panel{position:fixed;top:var(--topbar-h);right:0;bottom:0;width:560px;max-width:100vw;background:#fff;box-shadow:-8px 0 24px rgba(2,5,6,.12);z-index:var(--z-drawer);display:flex;flex-direction:column;animation:slide .2s ease-out}
@keyframes slide{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
.lc-scrim{position:fixed;inset:0;background:rgba(0,43,53,.28);z-index:var(--z-scrim)}
.lc-panel[hidden],.lc-scrim[hidden],.lc-stage[hidden]{display:none}
.lc-ph{padding:18px 22px;border-bottom:1px solid var(--border-subtle)} .lc-ph h2{margin:0;font-size:18px}
.lc-body{flex:1;overflow:auto;padding:6px 22px 18px} .lc-body section{padding:14px 0;border-bottom:1px solid var(--border-subtle)} .lc-body section:last-child{border-bottom:0}
.lc-body h3{margin:0 0 8px;font-size:12px}
.lc-field{display:flex;flex-direction:column;gap:3px;margin-bottom:8px;font-size:12px;color:var(--fg-3)} .lc-field input,.lc-field textarea{width:100%} .lc-field textarea{font-size:13px}
.lc-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px} .lc-rules label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--fg-3)} .lc-rules input{width:100%}
.lc-mail{border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden} .lc-mail-h{padding:8px 12px;background:var(--color-primary-teal-10);font-size:12.5px;border-bottom:1px solid var(--border-subtle)} .lc-mail-b{padding:14px 12px} .lc-mail-b p{margin:4px 0 10px;color:var(--fg-2);font-size:13px}
.lc-results{margin-top:8px;padding:10px 12px;border-radius:10px;background:var(--color-primary-teal-10)} .lc-results.measured{background:var(--color-primary-mint-25)} .lc-headline{font-weight:600;color:var(--fg-1);margin:6px 0} .lc-results table td{padding:4px 0;border:0}
.lc-foot{padding:12px 22px;border-top:1px solid var(--border-subtle);display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff}
@media (max-width:1300px){.oc-grid{grid-template-columns:1fr 1fr}.stages{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:900px){.oc-grid{grid-template-columns:1fr}.stages{display:flex;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory}.stage{flex:0 0 160px;scroll-snap-align:start}.lc-panel{width:100vw;top:0}.lc-summary{flex-direction:column;align-items:flex-start}}

/* ── the cancel experience tab: four numbered steps, a sticky preview ── */
.stepnav{display:flex;gap:4px;flex-wrap:wrap} .stepnav a{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:var(--radius-md);font-size:13px;color:var(--fg-3);background:#fff;border:1px solid var(--border-subtle)} .stepnav a:hover{color:var(--fg-1);text-decoration:none;background:var(--color-primary-teal-10)}
.stepno{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--color-primary-teal-600);color:#fff;font-size:12px;font-weight:600;margin-right:8px;vertical-align:2px}
.gr-sets{display:flex;flex-direction:column;gap:12px;margin-top:12px} .gr-sets fieldset{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:10px 14px 12px;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}
.gr-sets legend{padding:0 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--fg-3)}
.gr-sets label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--fg-3);min-width:0} .gr-sets label.wide{grid-column:1 / -1} .gr-sets label small{color:var(--fg-4);font-size:12px}
.gr-sets input:not([type=checkbox]),.gr-sets select{width:100%;height:36px;font-size:13px;border-radius:var(--radius-md)}
.gr-sets .unit{display:flex;align-items:center;gap:8px} .gr-sets .unit input{width:90px} .gr-sets .unit em{font-style:normal;color:var(--fg-4);font-size:12px}
.gr-sets .checks{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px} .gr-sets .checks label{flex-direction:row;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);color:var(--fg-2);cursor:pointer} .gr-sets .checks label:has(input:checked){border-color:var(--color-primary-green-300);background:var(--color-primary-mint-25)} .gr-sets .checks span{display:flex;flex-direction:column} .gr-sets .checks input{margin-top:3px}
.vtable td{vertical-align:middle} .vtable .vbtn{height:24px;padding:0 8px;font-size:12px}
ol.setup{list-style:none;margin:12px 0 0;padding:0;counter-reset:s} ol.setup li{display:grid;grid-template-columns:28px 1fr;gap:6px 10px;padding:10px 0;border-top:1px solid var(--border-subtle);counter-increment:s} ol.setup li::before{content:counter(s);width:22px;height:22px;border-radius:50%;background:var(--color-primary-teal-10);color:var(--fg-2);font-size:12px;font-weight:600;display:grid;place-items:center;grid-row:span 2} ol.setup li>pre,ol.setup li>.row{grid-column:2}
pre[data-copy]{position:relative;padding-right:70px;white-space:pre-wrap;word-break:break-all} pre .copy{position:absolute;top:8px;right:8px;height:26px;padding:0 10px;border-radius:6px;border:1px solid var(--border-default);background:#fff;font:inherit;font-size:12px;cursor:pointer;color:var(--fg-2)} pre .copy:hover{background:var(--color-primary-teal-10)}
.stack.sticky{position:sticky;top:calc(var(--topbar-h) + 16px);align-self:start}
.pv-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:10px} .pv-controls label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--fg-3)} .pv-controls select,.pv-controls input{width:100%}
ol.flow{list-style:none;margin:8px 0 0;padding:0} ol.flow li{display:grid;grid-template-columns:76px 1fr;gap:10px;padding:6px 0;border-top:1px solid var(--border-subtle);font-size:12.5px;color:var(--fg-3)} ol.flow li span{font-weight:600;color:var(--fg-1)}
@media (max-width:1150px){.gr-sets fieldset{grid-template-columns:1fr 1fr}.gr-sets .checks{grid-template-columns:1fr 1fr}.stack.sticky{position:static}}
/* B216: three selects in a 250px preview column showed 'To…' and 'no …' (30px of text each), and two in a phone's row cut
   'informal (je / you)': as many beside each other as show their choice whole */
@media (max-width:520px){.gr-sets fieldset{grid-template-columns:minmax(0,1fr)}}
.aud-grid pre{white-space:pre-wrap;overflow-wrap:anywhere} @media (max-width:900px){.aud-grid{grid-template-columns:minmax(0,1fr)}}
/* the hosted checkout on a phone: summary above the form, one column */
@media (max-width:720px){.co-grid{grid-template-columns:1fr}}

/* ── the Webshop page (c_storefront.html, B132): readiness, the first choice, steps with a live preview, links ── */
.sf{--sf-ink:var(--color-primary-teal-600)} .sf [hidden]{display:none!important}
.sf-hero{display:flex;gap:16px;align-items:center;margin:0 0 18px}
.sf-hero .sub{margin:0}
.sf-hero-ic{width:52px;height:52px;border-radius:14px;flex:none;display:grid;place-items:center;font-size:26px;color:#fff;background:var(--color-primary-teal-600);box-shadow:var(--shadow-card)}
.sf-ready{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 8px}
.sf-ready .it{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-card);min-width:0;border:1px solid transparent;transition:transform .15s,box-shadow .15s}
.sf-ready .it:hover{transform:translateY(-1px);box-shadow:0 6px 16px -4px rgba(2,5,6,.1)}
.sf-ready .it>div{min-width:0}
.sf-ready .ic{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:14px;background:var(--color-primary-teal-10);color:var(--fg-4)}
.sf-ready .done .ic{background:var(--color-green-100);color:var(--color-green-800)} .sf-ready .warn .ic{background:var(--color-orange-100);color:var(--color-orange-800)}
.sf-ready .todo .ic{background:var(--sf-ink);color:#fff} .sf-ready .warn{border-color:var(--color-orange-100)}
.sf-ready .t{font-weight:600;color:var(--fg-1);font-size:13px;line-height:18px} .sf-ready .d{font-size:12px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere}
.sf-ready .d a{text-decoration:underline;color:var(--fg-2)}
.sf-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sf-opt{display:flex;gap:14px;align-items:flex-start;text-align:left;padding:16px 18px;border-radius:var(--radius-xl);background:#fff;border:1.5px solid var(--border-subtle);box-shadow:var(--shadow-card);cursor:pointer;font:inherit;color:var(--fg-2);min-width:0;width:100%;transition:border-color .15s,box-shadow .2s,transform .15s}
.sf-opt:hover{border-color:var(--border-default);transform:translateY(-1px)}
.sf-opt[aria-checked=true]{border-color:var(--sf-ink);box-shadow:0 0 0 1px var(--sf-ink),0 10px 24px -12px rgba(0,43,53,.45)}
.sf-opt .ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:22px;background:var(--color-primary-teal-10);color:var(--sf-ink);flex:none;transition:background .2s,color .2s}
.sf-opt[aria-checked=true] .ico{background:linear-gradient(135deg,var(--color-primary-teal-600),var(--color-primary-teal-400));color:#fff}
.sf-opt .tx{flex:1;min-width:0;display:block}
.sf-opt .tt{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-weight:600;font-size:15px;line-height:20px;color:var(--fg-1)}
.sf-opt .bd{display:block;margin-top:4px;font-size:13px;color:var(--fg-2)}
.sf-opt .mt{margin-top:8px;font-size:12px;color:var(--fg-3);display:flex;align-items:center;gap:6px} .sf-opt .mt i{font-size:15px}
.sf-opt .radio{margin-left:auto;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--border-default);flex:none;margin-top:2px;transition:border-width .15s}
.sf-opt[aria-checked=true] .radio{border:5px solid var(--sf-ink)}
.sf-both{margin:8px 0 20px}
.sf-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:16px;align-items:start}
.sf-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap} .sf-head h2{margin:0}
.sf-prog{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--fg-3)} .sf-prog .bar{width:120px} .sf-prog .bar i{transition:width .25s ease-out}
.sf-safe,.sf-alldone{margin:12px 0 0;font-size:13px;display:flex;gap:8px;align-items:flex-start} .sf-safe i,.sf-alldone i{font-size:17px;flex:none;margin-top:1px}
.sf-alldone{animation:rise .24s ease-out both}
.sf-steps{list-style:none;margin:12px 0 0;padding:0}
.sf-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 12px;padding:14px 0;border-top:1px solid var(--border-subtle)}
.sf-check{width:28px;height:28px;border-radius:50%;border:0;display:grid;place-items:center;font:inherit;font-size:12px;font-weight:600;cursor:pointer;background:var(--color-primary-teal-10);color:var(--fg-2);padding:0;transition:background .2s,color .2s,transform .2s}
.sf-check:disabled{cursor:default} .sf-check i{display:none;font-size:15px}
.sf-step.current .sf-check{background:var(--sf-ink);color:#fff;box-shadow:0 0 0 4px var(--color-primary-teal-25)}
.sf-step.done .sf-check{background:var(--color-green-100);color:var(--color-green-800);animation:sf-pop .24s ease-out} .sf-step.done .sf-check .n{display:none} .sf-step.done .sf-check i{display:block}
@keyframes sf-pop{from{transform:scale(.85)}to{transform:none}}
.sf-step .st{font-weight:600;color:var(--fg-1);font-size:14px;line-height:28px}
.sf-step.done .st{color:var(--fg-3)} .sf-step .sb{grid-column:2;min-width:0} .sf-step p{margin:0 0 10px;font-size:13px;color:var(--fg-2)}
.sf-step .again{display:none}
.sf-step.done .sb{display:none} .sf-step.done.open .sb{display:block}
.sf-step.done:not(.open) .again{display:block;font-size:12px;color:var(--fg-3);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;font:inherit;font-size:12px;justify-self:start;grid-column:2}
.sf-step.sf-blocked{display:block} .sf-step.sf-blocked .banner{margin:0}
.sf-step code{overflow-wrap:anywhere;max-width:100%}
.sf-step pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;margin-top:8px}
.sf-wait{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:var(--fg-3);background:var(--color-primary-teal-10);border-radius:var(--radius-md);padding:8px 10px;margin-top:10px}
.sf-wait.seen{background:var(--color-green-100);color:var(--color-green-800)} .sf-wait i{font-size:16px;flex:none}
.sf-pulse{width:8px;height:8px;border-radius:50%;background:var(--color-primary-teal-400);flex:none;margin-top:5px}
.sf-dev{margin-top:14px;padding:12px 14px;border-radius:var(--radius-lg);border:1px dashed var(--border-default)}
.sf-dev .t{font-weight:600;color:var(--fg-1);font-size:13px;display:flex;gap:6px;align-items:center} .sf-dev p{margin:2px 0 10px}
.sf-dev .btn{white-space:normal;height:auto;min-height:var(--btn-h-sm);padding-top:5px;padding-bottom:5px;text-align:left}      /* B281: one line is the system's 32px */
.btn.copied{color:var(--color-green-800);border-color:var(--color-green-100);background:var(--color-green-100)}
/* B203 (hosted demo only): 'Demo-webshop openen' at the end of the team demo's banner (and of the demo strip on Home),
   and 'Bekijk portaal als deze klant' on a customer page and, as an icon, in each row of the customer list: shown on
   hover or focus where there is a mouse, always on a touch screen (a phone's card included). The icon's form is the 24px
   button's own height, top-aligned, with equal negative block margins that make its margin box exactly one line (1lh)
   tall: so the icon shares the name's centre line (vertical-align:middle would use the x-height and land ~1.6px low),
   the button stays inside its form, and the row is as tall with it as without it. In the Klanten list (.cl-id, a flex
   column: name over e-mail) the icon is taken out of the flow (demo-portal-link r3: as a flex item it was a line of its
   own, and a long name at 720-1100px pushed it onto an extra line): .cl-id becomes a block whose name is one inline run,
   and the icon, absolutely positioned without offsets, sits where the name's last word ends, on that line, wherever the
   name wraps; it takes no width and no line. Its room (6px gap + 28px) is the name's own inline end padding
   (demo-portal-link r4: no longer .cl-id's right padding, which narrowed every line of the name and made a long name
   wrap a line sooner even where its last line had room): an inline's end padding sits only after its last character
   and breaks with it, so the room travels with the last word (or, overflow-wrap:anywhere, its last characters) and
   claims no width on any other line; the icon then steps back over it (margin-left:-28px), so it stays inside the
   cell and never covers the next one. The row's stretched link moves from a.cl-name::after to ::before here: an
   out-of-flow ::after sits between the last character and that end padding, and overflow-wrap:anywhere breaks there,
   so where the last word fitted but not its room, the room alone (and the icon) dropped to a line of its own. Positioned
   after a.cl-name in the page, the icon paints (and takes clicks) above the stretched link without a z-index of its
   own, so the sticky table head (--z-raised) still covers it when the list scrolls under it. */
.banner.demo-strip{padding:6px 12px;margin-bottom:12px;font-size:13px;display:flex;gap:6px;align-items:center}
.banner.team-demo-banner,.banner.demo-strip{flex-wrap:wrap} .banner.team-demo-banner>span,.banner.demo-strip>span{flex:1 1 240px;min-width:0}
.banner .demo-shop-open{display:inline-flex;align-items:center;gap:5px;flex:none;font-weight:600;color:var(--color-primary-teal-950);white-space:nowrap}
.banner .demo-shop-open i{font-size:15px} .banner .demo-shop-open i:last-child{font-size:13px;opacity:.7}
.portal-as-bar{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 14px}
form.portal-as{display:inline-flex;margin:0;max-width:100%} form.portal-as .btn{max-width:100%} form.portal-as .btn span{overflow:hidden;text-overflow:ellipsis}
form.portal-as .btn i:last-child:not(:first-child){font-size:14px;color:var(--fg-3)}
form.portal-as.compact{vertical-align:top;height:24px;margin:-3px 0 -3px 6px;margin-block:calc((1lh - 24px) / 2)} form.portal-as.compact .btn{height:24px;width:28px;padding:0;box-shadow:none} form.portal-as.compact .btn i{font-size:15px}
.cl-id:has(> form.portal-as.compact){display:block;font-size:14px;line-height:20px} .cl-id:has(> form.portal-as.compact)>.cl-email{display:block}
.cl-id:has(> form.portal-as.compact)>a.cl-name{padding-right:34px;overflow-wrap:anywhere}      /* r3: a one-word name longer than its line (a phone's card, a narrow column) breaks inside it, as the e-mail below already does, so the icon stays at its end and never drops onto the e-mail; anywhere, not break-word: the word plus the icon's 34px room never widens the column (and the page's scroll) */
.cl-id:has(> form.portal-as.compact)>a.cl-name::after{content:none} .cl-id:has(> form.portal-as.compact)>a.cl-name::before{content:"";position:absolute;inset:0}      /* r4: the stretched link, before the name's text */
.cl-id>form.portal-as.compact{position:absolute;margin-left:-28px}
@media (max-width:720px){.cl-row td.cl-who:has(form.portal-as.compact){padding-top:2px;margin-top:-2px}}      /* a phone's card: the cell has no padding, so the 24px icon on the name's 20px first line reaches 2px above it; the cell takes those 2px from the card's padding, the card no taller */
@media (hover:hover) and (pointer:fine){tr form.portal-as.compact{opacity:0;transition:opacity .12s} tr:hover form.portal-as.compact,tr form.portal-as.compact:focus-within{opacity:1}}
/* .btn's own box-shadow (declared after :focus-visible) hides the keyboard ring on every .btn (tester r1, pre-existing, no
   owner yet): B203's buttons get theirs back here, the global rule is left to its owner. */
form.portal-as .btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
.sf-pv{position:sticky;top:calc(var(--topbar-h) + 16px)}
.seg{display:inline-flex;padding:3px;border-radius:var(--radius-lg);background:var(--color-primary-teal-10);gap:2px}
.seg button{font:inherit;font-size:13px;font-weight:500;height:28px;padding:0 10px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--fg-3);cursor:pointer;transition:background .15s,color .15s}
.seg button[aria-selected=true]{background:#fff;color:var(--fg-1);box-shadow:var(--shadow-card)}
.sf-pvbar{display:flex;gap:8px;align-items:center;margin:12px 0 10px;flex-wrap:wrap} .sf-pvbar label{font-size:12px;color:var(--fg-3)} .sf-pvbar select{flex:1;min-width:0}
.sf-device{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);overflow:hidden;background:#fff;box-shadow:0 12px 28px -18px rgba(2,5,6,.35)}
.sf-url-bar{display:flex;align-items:center;gap:6px;padding:7px 10px;background:var(--color-gray-100);border-bottom:1px solid var(--border-subtle);font-size:11.5px;color:var(--fg-3);min-width:0}
.sf-url-bar i{width:8px;height:8px;border-radius:50%;background:#d8dcdc;display:inline-block;flex:none}
.sf-url-bar span{margin-left:6px;background:#fff;border-radius:6px;padding:2px 8px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-frame{display:block;width:100%;height:520px;border:0;background:#fff}
.sf-pvnote{margin:10px 0 0}
.co{font-family:var(--font);padding:14px;background:var(--bg-app)}
.co h4{margin:0 0 10px;font-size:18px;color:var(--fg-1)} .co .card{padding:12px 14px;margin-bottom:10px} .co .co-plan{font-weight:600;color:var(--fg-1)}
.co dl{display:grid;grid-template-columns:1fr auto;gap:4px 10px;margin:8px 0;font-size:13px} .co dt{color:var(--fg-3)} .co dd{margin:0;text-align:right}
.co ul{margin:8px 0 0;padding-left:18px} .co .co-hint{margin:0 0 10px}
.co .fake{height:32px;border:1px solid var(--border-default);border-radius:8px;margin-bottom:6px;padding:6px 10px;font-size:12px;color:var(--fg-4);background:#fff}
.co .pay{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12.5px;margin:6px 0 10px}
.co .co-pay{display:flex;align-items:center;justify-content:center;height:40px;border-radius:var(--radius-lg);background:var(--sf-ink);color:#fff;font-weight:500}
.sf-test{margin-top:12px;padding:12px 14px;border-radius:var(--radius-lg);background:var(--color-primary-mint-25)}
.sf-test.live{background:var(--color-orange-100);color:var(--color-orange-800)} .sf-test .t{font-weight:600;color:var(--fg-1);font-size:13px;display:flex;gap:6px;align-items:center}
.sf-test.live .t{color:var(--color-orange-800)} .sf-test p{margin:2px 0 10px;font-size:12.5px}
.sf-live{margin:12px 0 0;font-size:13px}
.sf-tool{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 4px}
.sf-search{position:relative;flex:1;min-width:220px} .sf-search i{position:absolute;left:12px;top:12px;font-size:16px;color:var(--fg-4)} .sf-search input{width:100%;padding-left:36px}
.sf-chips{display:flex;gap:6px;flex-wrap:wrap}
.sf-chips button{font:inherit;font-size:12.5px;height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--border-subtle);background:#fff;color:var(--fg-2);cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-chips button[aria-pressed=true]{background:var(--sf-ink);border-color:var(--sf-ink);color:#fff}
.sf-prod{margin-top:16px;border:1px solid var(--border-subtle);border-radius:var(--radius-xl);overflow:hidden}
.sf-prod-h{display:flex;gap:12px;align-items:center;padding:12px 14px;background:var(--color-primary-teal-10)} .sf-prod-h>div{min-width:0}
.sf-thumb{width:36px;height:36px;border-radius:9px;background:linear-gradient(135deg,var(--color-warm-sand-100),var(--color-warm-sand-200));color:var(--color-warm-sand-400);display:grid;place-items:center;font-weight:600;font-size:12px;flex:none}
.sf-prod-h strong{color:var(--fg-1)}
.sf-plan{padding:14px;border-top:1px solid var(--border-subtle);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:10px 18px;align-items:start}
.sf-plan[hidden],.sf-prod[hidden]{display:none}
.sf-plan .nm{font-weight:600;color:var(--fg-1);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sf-plan .meta{font-size:12.5px;color:var(--fg-3);margin-top:2px}
.sf-pick{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.sf-pick label{display:flex;flex-direction:column;gap:3px;font-size:11.5px;color:var(--fg-3);flex:1;min-width:140px} .sf-pick select{width:100%}
.sf-pick .one{font-size:12.5px;color:var(--fg-3);padding:6px 0;flex:1}
.sf-pick .amt{font-weight:600;color:var(--fg-1);white-space:nowrap;padding-bottom:7px} .sf-pick .amt span+span{font-weight:400;color:var(--fg-3);font-size:12px}
.sf-link{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap} .sf-link input{flex:1;min-width:160px;color:var(--fg-3)}
.sf-selfonly{display:flex;gap:6px;align-items:center;font-size:12.5px;color:var(--fg-3);background:var(--color-gray-100);border-radius:var(--radius-md);padding:8px 10px}
.sf-prod-f{padding:8px 14px;border-top:1px solid var(--border-subtle);font-size:12px;color:var(--fg-3);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.sf-prod-f a{display:inline-flex;gap:6px;align-items:center;text-decoration:underline}
.sf-none{padding:28px;text-align:center;color:var(--fg-3)} .sf-none p{margin:0 0 10px}
.sf-empty{text-align:center;padding:36px 24px}
.sf-empty .art{width:64px;height:64px;border-radius:16px;background:var(--color-primary-teal-10);color:var(--sf-ink);display:grid;place-items:center;font-size:32px;margin:0 auto 14px}
.sf-empty h2{margin:0 0 6px;font-size:18px} .sf-empty p{max-width:460px;margin:0 auto 16px;color:var(--fg-2)} .sf-empty .sf-next{margin:18px auto 0}
/* B264: the Shopify route's actions: the shop preview (or what is missing and its fix), then the settings as a text link */
.sf-route-act{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
.sf-empty .sf-route-act .sf-route-missing{flex:0 0 100%;max-width:none;margin:0 0 4px;display:flex;justify-content:center;gap:6px;align-items:baseline;color:var(--fg-1)}
.sf-empty .sf-route-settings{margin:14px auto 0} .sf-route-settings a{color:var(--fg-1);text-decoration:underline;text-underline-offset:2px}
.sf-later{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;opacity:.6;text-align:left} .sf-later .sf-opt{cursor:default} .sf-later .sf-opt:hover{transform:none}
.sf-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--color-primary-teal-950);color:#fff;padding:10px 14px;border-radius:10px;font-size:13px;box-shadow:var(--shadow-menu);z-index:var(--z-toast);max-width:min(92vw,520px)}
.sf-toast[hidden]{display:none}
@media (max-width:1180px){.sf-split{grid-template-columns:minmax(0,1fr)}.sf-pv{position:static}.sf-ready{grid-template-columns:1fr 1fr}}
@media (max-width:900px){.sf-plan{grid-template-columns:minmax(0,1fr)}}
/* a phone: one column, every field the full width with its buttons below */
@media (max-width:720px){
  .sf-hero-ic{width:42px;height:42px;font-size:21px;border-radius:12px}
  .sf-ready,.sf-choice,.sf-later{grid-template-columns:minmax(0,1fr)}
  .sf-opt{padding:14px;gap:12px}.sf-opt .ico{width:34px;height:34px;font-size:18px}
  .sf-search{min-width:0;flex-basis:100%}
  .sf-link input{flex-basis:100%;min-width:0}.sf-link .btn{flex:1}
  .sf-step .row .btn{flex:1 1 100%}
  .sf-prog .bar{width:70px}
  .sf-pick label{min-width:0;flex-basis:100%}
  .sf-frame{height:640px}
}
@media (prefers-reduced-motion:reduce){.sf-step.done .sf-check,.sf-alldone{animation:none}.sf-opt,.sf-ready .it{transition:none}}

/* ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   ds2 — the shared visual layer of ROADMAP slice 2 (ux-audit/design-language.html). Tokens first: the official Churned
   palette of churned-standards design/tokens.md (B183), then the raw scales, then the roles components read. The older tokens
   above stay (they are the same colours under the design system's names; the green ones are moved onto #0FBE84 here), and
   every ds2 component is a ds-* class, so a page built on the older classes renders as before.
   B183 + B187 (they replace B181's colour freedom): navy/teal is the base. Green only for the primary button and for what is
   really healthy, done or confirmed, never as a fill, the active menu item or decoration. Sunset orange for everything that
   asks attention or can be better (small text in --color-sunset-ink). Copilot violet (Royal) for the assistant and what it
   proposes. Lemon only as the highlight of the main figure on the dark hero. One glow (--glow), on the dark hero and the
   assistant's panel; no frosted glass, no coloured shadows anywhere else.
   B189: the shell (sidebar, top bar, its menus, the tab bar) sits above everything a page paints and below the drawers,
   their scrim, the toasts and ⌘K; the z-index scale below is the only one in this file.
   ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
:root{
  /* the official palette (tokens.md, Churned Brand Style Guide v1.0); the logo uses the exact guide values */
  --color-navy:#002b35;--color-logo-ink:#002b35;--color-brand:#0fbe84;--color-logo-mint:#0fbe84;--color-mint:#6fedd7;
  --color-cranberry:#950e5f;--color-royal:#430e72;--color-sunset:#fd7742;--color-lemon:#e9fa24;--color-sand:#baaca1;
  --color-tint-royal:#f4eefb;--color-tint-cranberry:#fbeaf3;--color-tint-sunset:#fff1ea;--color-tint-mint:#ebfcf8;
  /* derived (tokens.md): text-safe shades on white, the same hues lifted for the navy hero */
  --color-navy-panel:#00222a;--color-navy-line:rgba(255,255,255,.12);--color-navy-mute:#8fb3bc;
  --color-brand-strong:#087a55;--color-brand-background:#0fbe84;--color-sunset-ink:#a8421a;
  --color-copilot:#6a2fb0;--color-copilot-soft:#f4eefb;--color-copilot-line:#d6c3f0;--color-copilot-on-navy:#c4a3f0;--color-cranberry-on-navy:#f08cc4;
  --color-canvas:oklch(.984 .006 195);          /* B281: a brighter, faintly mint canvas instead of the grey one */

  /* teal: ink, chrome */
  --teal-950:#020506;--teal-900:#021114;--teal-800:#03191e;--teal-700:#031f25;--teal-600:#002b35;--teal-500:#12444f;--teal-400:#346873;--teal-300:#528793;
  --teal-200:#78a4ae;--teal-100:#94bdc6;--teal-75:#bbd9e0;--teal-50:#ddebee;--teal-25:#e9f1f3;--teal-10:#f1f8f9;
  /* green: the primary action and the healthy state, around Emerald #0FBE84 */
  --green-700:#075c40;--green-600:#087a55;--green-500:#0a9467;--green-400:#0ca874;--green-300:#0fbe84;--green-200:#4fd3a3;--green-100:#93e5c6;--green-75:#bdf0dc;--green-50:#d6f6e9;--green-25:#e8faf3;
  /* mint: the light accent, around Mint #6FEDD7 */
  --mint-700:#145f52;--mint-600:#1b8270;--mint-500:#26a891;--mint-400:#45d6bd;--mint-300:#6fedd7;--mint-200:#93f2e2;--mint-100:#b3f6eb;--mint-75:#cdf9f1;--mint-50:#e2fbf7;--mint-25:#ebfcf8;
  /* royal: the assistant, around Royal #430E72 */
  --royal-600:#430e72;--royal-500:#5a1f96;--royal-400:#6a2fb0;--royal-300:#9a6fd1;--royal-200:#c4a3f0;--royal-100:#d6c3f0;--royal-50:#ebe1f8;--royal-25:#f4eefb;
  /* sunset: what asks attention, around Sunset #FD7742 (400 is the ink for small text) */
  --sunset-400:#a8421a;--sunset-300:#fd7742;--sunset-200:#fdb595;--sunset-100:#fff1ea;--sunset-50:#fff8f4;
  --sand-500:#574332;--sand-300:#d2b79f;--sand-200:#f2e7df;
  /* semantic (never brand-coloured); the warning hue is Sunset */
  /* B281: a clear, contemporary red instead of the dusty 52%-saturation one (the brief: 'te vaal'); 800 is the ink for small
     text and reads at least 4.5:1 on white and on the 100 and 50 fills (tests/test_visual_upgrade.py) */
  --red-50:#fff4f2;--red-100:#ffe4e0;--red-200:#fcc6bf;--red-500:#f0675a;--red-600:#e5483a;--red-800:#b42318;
  --color-red-100:var(--red-100);--color-red-500:var(--red-500);--color-red-600:var(--red-600);--color-red-800:var(--red-800);
  --orange-100:var(--color-tint-sunset);--orange-500:var(--color-sunset);--orange-800:var(--color-sunset-ink);
  --ok-100:hsl(150 48% 87%);--ok-600:hsl(150 48% 52%);--ok-800:hsl(150 48% 30%);
  /* the design system's older green names, moved onto Emerald so no page paints the old approximation */
  --color-primary-green-200:var(--green-200);--color-primary-green-300:var(--color-brand);--color-primary-green-400:var(--green-400);--color-primary-green-500:var(--green-500);
  --bg-accent:var(--color-brand);--bg-accent-hov:var(--green-400);
  --ring-focus:color-mix(in srgb,var(--teal-300) 50%,transparent);

  /* roles */
  --surface:#fff;--surface-sunk:var(--teal-10);--line-strong:var(--teal-75);
  --foreground:var(--color-navy);--fg-1:var(--color-navy);--fg-2:var(--color-navy);--fg-3:var(--teal-400);--fg-4:var(--teal-300);
  --accent-hover:var(--green-400);--accent-line:var(--green-75);
  --ai:var(--color-copilot);--ai-line:var(--color-copilot-line);--ai-soft:var(--color-copilot-soft);--ai-ink:var(--color-copilot);--ai-on-navy:var(--color-copilot-on-navy);
  --attn:var(--color-sunset);--attn-soft:var(--color-tint-sunset);--attn-ink:var(--color-sunset-ink);
  --hero:var(--color-navy-panel);--on-hero:#fff;--on-hero-2:rgba(255,255,255,.72);--hero-line:var(--color-navy-line);
  --ring:0 0 0 3px var(--ring-focus);
  /* the one glow (B183): mint light on the dark hero and on the assistant panel's head, nowhere else */
  --glow:radial-gradient(circle at 35% 35%,rgba(111,237,215,.30) 0%,rgba(111,237,215,.12) 40%,rgba(111,237,215,0) 68%);

  /* type */
  --font-ui:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --t-display:600 40px/44px var(--font-ui);--t-h1:600 28px/34px var(--font-ui);--t-h2:600 20px/28px var(--font-ui);--t-h3:600 16px/24px var(--font-ui);
  --t-body:400 14px/20px var(--font-ui);--t-body-lg:400 16px/24px var(--font-ui);--t-meta:400 12px/16px var(--font-ui);--t-eyebrow:600 11px/16px var(--font-ui);
  /* shape: two shadows (tokens.md), the card's with its hairline */
  --r-xs:4px;--r-sm:6px;--r-md:8px;--r-xl:16px;--r-2xl:20px;--r-pill:999px;
  --shadow-card:0 1px 2px rgb(0 0 0 / .05);--shadow-popover:0 4px 12px rgb(0 0 0 / .08),0 1px 3px rgb(0 0 0 / .06);
  --sh-card:var(--shadow-card),0 0 0 1px var(--teal-50);--sh-menu:var(--shadow-popover);
  /* motion: 150ms colour, 200ms popovers, at most 250ms for an entrance */
  --d-1:150ms;--d-2:200ms;--d-3:250ms;--ease-out:cubic-bezier(.16,1,.3,1);--ease:cubic-bezier(.4,0,.2,1);
  /* spacing */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:20px;--s-6:24px;--s-8:32px;--s-10:40px;--s-12:48px;
  /* layers (B189): a page paints at most --z-raised; the shell above it; then the scrim, drawers, toasts and ⌘K */
  --z-raised:1;--z-shell:40;--z-menu:45;--z-scrim:70;--z-drawer:80;--z-toast:90;--z-cmdk:95;
}
body.console{--bg-app:var(--color-canvas)}
.ds-eyebrow{display:block;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3)}
.num{font-variant-numeric:tabular-nums}

/* ── the shell: a labelled 232px sidebar in three groups, a 64px top bar, main; a 5-tab bar at 720px and below ── */
body.console{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);grid-template-rows:var(--topbar-h) 1fr;min-height:100vh;background:var(--bg-app)}
body.console main{grid-column:2;padding:24px 28px 48px;max-width:1440px;width:100%;min-width:0}
/* B308 round 3: every in-page anchor in the console's main area stops below the sticky top bar (a #part a redirect or a link
   lands on, and the confirmation said there, never under the bar). :where() keeps it at zero specificity, so a page's own
   scroll-margin-top (B305 .tabpanel .card[id], .ig-connect, .lcs-step, .shc-step) still wins */
:where(body.console main [id]){scroll-margin-top:calc(var(--topbar-h) + 16px)}
.sidebar{grid-row:1 / span 2;position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column;padding:14px 12px 16px;
  background:var(--color-navy);color:#fff;z-index:var(--z-shell)}
.sidebar .logo{display:flex;align-items:center;height:40px;padding:0 8px;margin-bottom:6px}
/* B225: Churned's own logo (c_logo.html: the paths of the brand's asset files, inline), drawn at its file's proportions.
   The guide's exact values (tokens.md): the glyph mint on every surface, the wordmark ink on a light one, white on a dark one */
.churned-logo{display:block;flex:none;height:28px;width:auto} .churned-logo.glyph{height:32px}
.churned-logo .g{fill:var(--color-logo-mint)} .churned-logo .w{fill:var(--color-logo-ink)} .churned-logo.on-dark .w{fill:#fff}
.ptop .brand .churned-logo + small{padding-left:10px;border-left:1px solid var(--border-subtle);line-height:20px}
@media (max-width:480px){.ptop .brand .churned-logo:not(.glyph){height:24px}}      /* a phone's sign-in bar: the logo, 'Inloggen als operator' and NL | EN on one line */
.sidebar .close{display:none}
.sidebar nav{display:flex;flex-direction:column;gap:2px}
.sidebar .grp{display:block;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5);padding:16px 10px 6px}
.sidebar nav a{position:relative;display:flex;align-items:center;gap:11px;height:38px;padding:0 10px;border-radius:10px;color:rgba(255,255,255,.74);font-size:14px;font-weight:500;transition:color var(--d-1),background-color var(--d-1)}
.sidebar nav a i{font-size:19px;flex:none}
.sidebar nav a:hover{color:#fff;background:rgba(255,255,255,.07);text-decoration:none}
/* the active item is a neutral light row with a white rail (B187: never green) */
.sidebar nav a.active{color:#fff;background:rgba(255,255,255,.12)}
.sidebar nav a.active::before{content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:#fff}
.sidebar nav a.active i{color:#fff}
/* the menu counter asks attention: Sunset with navy ink (5.6:1) */
.sidebar nav a .n{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:var(--r-pill);font-size:11px;font-weight:600;line-height:20px;text-align:center;background:var(--color-sunset);color:var(--color-navy)}
.sidebar nav a .n.zero{display:none}
.sidebar nav a.assist i{color:var(--ai-on-navy)}
.sidebar .agent{margin-top:auto;display:block;padding:14px;border-radius:var(--r-lg);color:#fff;background:var(--color-royal);border:1px solid color-mix(in srgb,var(--ai-on-navy) 35%,transparent);transition:border-color var(--d-1)}
.sidebar .agent:hover{text-decoration:none;border-color:var(--ai-on-navy)}
.sidebar .agent b{display:flex;align-items:center;gap:8px;font-size:13px} .sidebar .agent b i{color:var(--ai-on-navy);font-size:16px}
.sidebar .agent span{display:block;margin-top:4px;font-size:12px;line-height:16px;color:rgba(255,255,255,.78)}
.sidebar .bottom{margin-top:12px}

.topbar{grid-column:2;position:sticky;top:0;z-index:var(--z-shell);height:var(--topbar-h);display:flex;align-items:center;gap:12px;padding:0 24px;min-width:0;
  background:var(--surface);border-bottom:1px solid var(--line)}
/* the store switch keeps its width: a shrinking switch cut short names too (B199). The search slot gives way first, from
   the full wording down to the round button (.search-slot below); a long store name is capped where the bar is tight
   instead (.nm's max-width per band, ellipsised, its title says it) */
.store-switch{position:relative;min-width:0;flex:none}
.store-switch>summary>span:not(.avatar){min-width:0}
.store-switch>summary{list-style:none;display:flex;align-items:center;gap:10px;height:44px;padding:0 10px 0 6px;border-radius:var(--r-lg);cursor:pointer;color:var(--fg-1);font-weight:600;min-width:0}
.store-switch>summary::-webkit-details-marker{display:none}
.store-switch>summary:hover{background:var(--teal-10)}
.store-switch .avatar{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;font-weight:600;font-size:13px;color:#fff;background:var(--color-navy)}
.store-switch .nm{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:18px}
.store-switch small{display:block;font-weight:400;font-size:12px;line-height:16px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-switch>summary>i{color:var(--fg-3);font-size:14px}
.store-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:var(--z-menu);width:280px;max-width:calc(100vw - 24px);padding:8px;border-radius:var(--r-lg);background:#fff;box-shadow:var(--sh-menu),0 0 0 1px var(--line)}
.store-menu .ds-eyebrow{padding:8px 10px 4px}
.store-menu a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-md);color:var(--fg-1);font-size:13.5px}
.store-menu a:hover{background:var(--teal-10);text-decoration:none} .store-menu a i{font-size:17px;color:var(--fg-3)} .store-menu a small{margin-left:auto;color:var(--fg-3);font-size:12px}
.store-menu a[aria-current] i{color:var(--fg-1)}
.store-menu hr{border:0;border-top:1px solid var(--line);margin:6px 4px}
.search-pill{flex:1000 1000 auto;max-width:440px;min-width:112px;display:flex;align-items:center;gap:8px;height:38px;padding:0 6px 0 12px;margin:0;border-radius:var(--r-pill);background:var(--teal-10);color:var(--fg-3);box-shadow:inset 0 0 0 1px var(--teal-50);transition:box-shadow var(--d-1)}
.search-pill:hover{box-shadow:inset 0 0 0 1px var(--teal-200)}
.search-pill:focus-within{box-shadow:inset 0 0 0 1px var(--teal-200),var(--ring)}
.search-pill i{font-size:17px;flex:none}
.search-pill input{flex:1;min-width:0;height:36px;padding:0;border:0;background:none;box-shadow:none;outline:none;font-size:13.5px;color:var(--fg-1);text-overflow:ellipsis}
/* a pill squeezed by the top bar's badges cuts its placeholder with an ellipsis (the full text is the field's title), never mid-word */
.search-pill input::placeholder{text-overflow:ellipsis}
.search-pill input:focus{box-shadow:none}
/* B199 r4: the room the bar leaves the search (.search-slot, a size container) decides what the pill in it is: the field
   with its placeholder's first words whole ('Zoek klant' / 'Search customer'), without the ⌘K hint where only those words
   fit, else the phone's round button (it opens ⌘K the same way). No viewport band can say it: the bar's other content
   varies (the demo badge, Testmodus, Feedback geven, a long store name, staff or owner); a 120px floor cut the words to
   'Zoe' / 'Search custom'. Measured in Chrome at 13.5px: the pill's padding, icon and gaps 47px, the hint 34px, the
   words 79px (nl) and 120px (en); the edges below keep ~10% to spare for another UI font. A pill is never below 38px.
   r6 (with cmdk-tab-trap's placeholder ladder): the slot decides field or round button and hides the hint where its room
   is known to be short; inside a field console.js picks the longest wording that fits (fitPh) and drops the hint only
   when even the shortest would not fit beside it (a pill narrower than its slot). The round button sets min-width:0, or
   the field's 112px min-width (.search-pill above) kept it a 112px pill with no field in it */
.search-slot{flex:1000 1 200px;min-width:38px;max-width:440px;display:flex;container:search/inline-size}
@container search (max-width:172px){.search-pill:lang(nl) .kbd{display:none}}
@container search (max-width:140px){
  .search-pill:lang(nl){flex:0 0 38px;width:38px;min-width:0;padding:0;justify-content:center;cursor:pointer} .search-pill:lang(nl) input{display:none}
}
@container search (max-width:216px){.search-pill:not(:lang(nl)) .kbd{display:none}}
@container search (max-width:184px){
  .search-pill:not(:lang(nl)){flex:0 0 38px;width:38px;min-width:0;padding:0;justify-content:center;cursor:pointer} .search-pill:not(:lang(nl)) input{display:none}
}
.kbd{font:500 11px/1 var(--font-ui);padding:4px 6px;border-radius:5px;background:#fff;box-shadow:inset 0 0 0 1px var(--teal-75);color:var(--fg-3);white-space:nowrap}
[data-ph-squeezed]>.kbd{display:none}      /* console.js fitPh: a field too narrow for its shortest wording drops its key hint first */
/* the search slot takes the top bar's free room (up to its max-width) before the spacer does, so its full wording shows where
   it can, and gives room back first: the field down to its shortest wording without the key hint, then the round button */
.topbar .spacer{flex:1 1 0}
/* Testmodus asks attention: a Sunset tint, Sunset ink, a Sunset dot (B187) */
.test-pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:var(--r-pill);flex:none;font-size:12px;font-weight:600;white-space:nowrap;
  background:var(--color-tint-sunset);color:var(--color-sunset-ink);border:1px solid color-mix(in srgb,var(--color-sunset) 45%,transparent)}
.test-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--color-sunset)}
.test-pill .tp-s{display:none}      /* the phone's short label (below) */
/* the assistant's button: Royal, the violet lifted for its sparkle (B183) */
.assist-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 8px 0 12px;border-radius:var(--r-pill);flex:none;font-size:13.5px;font-weight:600;color:#fff;white-space:nowrap;
  border:1px solid var(--color-royal);background:var(--color-royal);transition:background-color var(--d-1),transform var(--d-1)}
.assist-btn:hover{text-decoration:none;background:var(--color-copilot)}
.assist-btn:active{transform:translateY(1px)}
.assist-btn i{font-size:17px;color:var(--ai-on-navy)}
.assist-btn .n{min-width:22px;height:22px;padding:0 7px;border-radius:var(--r-pill);font-size:12px;line-height:22px;text-align:center;background:#fff;color:var(--color-royal)}
.assist-btn .n.zero{background:rgba(255,255,255,.16);color:#fff}
.topbar .who{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--fg-2);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto} .topbar .who i{font-size:18px;color:var(--fg-3)}
.topbar form.logout{margin:0;flex:none}
.tabbar{display:none}
/* B199: the console's NL | EN switch (_lang_toggle.html). In the top bar from tablet width up; on a phone in the menu
   sheet (.lt-side), where the bar has no room left.
   B218 (9 nov, Michiel: "de toggle tussen de language is beetje rommelig"): one segmented control, a box like the small
   buttons beside it (32px, their border, radius and shadow, so it stands on their line), two halves of one fixed width
   (36px each: the box is 74px in either language and with either half on), the language the console is in filled and
   the other plain. The halves have no gap and no thumb of their own; the ring of the focused half lies over the box's
   edge and over its neighbour (--z-raised: the page's one raised layer, inside the bar's own).
   suite-green (11 nov): the half that is on is a setting, not a healthy or done state, so its fill is no green (B187):
   navy with white letters on the white bar, light teal with navy letters on the navy side bar. The focused half's ring
   there is the side bar's own light ink, not mint: no coloured shadow outside the hero's glow (B183). */
.lang-toggle{margin:0;flex:none;display:inline-flex;align-items:center;gap:10px}
.lang-seg{display:inline-grid;grid-template-columns:36px 36px;box-sizing:border-box;height:32px;border:1px solid var(--border-default);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-input)}
.lang-seg button{position:relative;font:600 12px/1 var(--font-ui);letter-spacing:.04em;width:36px;height:30px;margin:0;padding:0;border:0;background:transparent;color:var(--fg-3);cursor:pointer;transition:background-color var(--d-1),color var(--d-1)}
.lang-seg button:first-child{border-radius:calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px)} .lang-seg button:last-child{border-radius:0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0}
.lang-seg button:hover{background:var(--teal-10);color:var(--fg-1)}
.lang-seg button[aria-pressed=true]{background:var(--color-navy);color:var(--on-hero)}
.lang-seg button:focus-visible{outline:none;z-index:var(--z-raised);box-shadow:0 0 0 3px var(--ring-focus)}
.lang-toggle.lt-side{display:none}
.sidebar .lang-toggle.lt-side{justify-content:space-between;margin:12px 0 0;padding:10px;border-radius:var(--r-lg);border:1px solid var(--color-navy-line)}
.sidebar .lang-label{font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--color-navy-mute)}
.sidebar .lang-seg{background:transparent;border-color:var(--color-navy-line);box-shadow:none}
.sidebar .lang-seg button{color:var(--on-hero-2)}
.sidebar .lang-seg button:hover{background:var(--color-navy-line);color:var(--on-hero)}
.sidebar .lang-seg button[aria-pressed=true]{background:var(--teal-75);color:var(--color-navy)}
.sidebar .lang-seg button:focus-visible{box-shadow:0 0 0 3px var(--on-hero-2)}
.ptop .lang-toggle,.auth-top .lang-toggle{margin-left:auto}
/* B199: with the switch in it, a laptop's top bar (demo badge, Testmodus, Assistent, Feedback geven, Uitloggen) left the
   search pill a sliver: below 1440px the signed-in email and 'Feedback geven' shrink to their icons (the email's title
   still says it; the feedback label stays for a screen reader) and the store's meta line goes (the search's own room:
   .search-slot below) */
@media (min-width:1101px) and (max-width:1440px){
  .topbar .who{font-size:0;gap:0;flex:none} .topbar .who i{font-size:18px}
  .topbar .store-switch small,.topbar .store-switch>summary>i{display:none}
}
/* r6: 'Feedback geven' keeps its icon up to 1600px: with the switch in the bar, the demo's 1441-1600px top bar left the
   pill 290-330px, short of its full wording ('Zoek klant, e-mail, #order of factuur' needs ~325px, the English ~360px) */
@media (min-width:1101px) and (max-width:1600px){
  .topbar .ux-fb.top>summary{gap:0;padding:0 9px} .topbar .ux-fb.top>summary span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* B199: on a tablet (721-900px) the top bar has no room for the switch beside the store, Testmodus, the assistant and
   Uitloggen: the switch sits in the sidebar (its phone copy, .lt-side), and the assistant's button keeps its icon and
   count (the sidebar names it too), so the bar never pushes Uitloggen past the screen */
@media (min-width:721px) and (max-width:900px){
  .topbar .lang-toggle{display:none} .sidebar .lang-toggle.lt-side{display:flex}
  .assist-btn{padding:0 6px 0 9px;font-size:0;gap:6px} .assist-btn i{font-size:18px} .assist-btn .n{font-size:12px}
  /* B199 r3: with the demo's badge and Testmodus the bar was still 46px too wide at 721px: 'Feedback geven' keeps its
     copy at the foot of the assistant panel (as on a phone) and Testmodus takes the phone's compact pill */
  .topbar .ux-fb{display:none}
  .test-pill{padding:0 8px;font-size:11px;gap:5px;height:24px}
}
/* B199 r3 (measured with every icon in its real box, tests/qa/topbar_fit.py): at the band edges the bar still ran past
   the screen, at 901px (the switch back in it: Uitloggen at 884-920) and at 1101px (Uitloggen's label back: 1058-1164),
   and on staff's console the switch itself sat past the edge (901-993px, 1101px). So up to 1100px the assistant keeps
   its icon and count (the sidebar names it) and the demo's badge and 'Demo resetten' their icons (their titles say
   it), as on a phone; up to 1000px the search pill is the phone's round button (it opens ⌘K the same way); and from
   1101 to 1240px Uitloggen and the demo's two keep their icons, as they do below 1100px */
@media (min-width:721px) and (max-width:1100px){
  .assist-btn{padding:0 6px 0 9px;font-size:0;gap:6px} .assist-btn i{font-size:18px} .assist-btn .n{font-size:12px}
}
@media (min-width:721px) and (max-width:1000px){
  .search-pill{flex:0 0 38px;width:38px;min-width:0;padding:0;justify-content:center;cursor:pointer}
  .search-pill input{display:none}
}
@media (min-width:721px) and (max-width:1240px){
  .topbar [data-demo="reset"]{font-size:0 !important;gap:0 !important} .topbar [data-demo="reset"] i{font-size:18px}
  .topbar [data-demo="badge"]{font-size:0 !important;gap:0 !important;padding:2px 6px !important} .topbar [data-demo="badge"] i{font-size:14px}
}
@media (min-width:1101px) and (max-width:1240px){
  .topbar form.logout .btn{font-size:0;gap:0;padding:0 8px} .topbar form.logout .btn i{font-size:18px}
}
/* B199 r3: a long store name ('Ambachtelijke Koffiebranderij Noord-Holland') is cut shorter where the bar is tight
   (ellipsis, its title says it), so it never pushes the controls after it off screen; a short name is not touched.
   A fixed cap, not a shrinking switch: a shrinking one cut a short two-word name to three letters while the search
   pill had room */
@media (min-width:721px) and (max-width:1000px){.topbar .store-switch .nm{max-width:120px}}
@media (min-width:721px) and (max-width:900px){.topbar .store-switch .nm{max-width:96px}}
@media (min-width:1101px) and (max-width:1340px){.topbar .store-switch .nm{max-width:110px}}

/* ── page header and segmented tabs ── */
.ds-ph{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin:4px 0 16px}
.ds-ph h1{font:var(--t-h1);letter-spacing:-.02em;color:var(--fg-1);margin:2px 0 0}
.ds-ph p{color:var(--fg-3);margin:4px 0 0;max-width:620px}
.ds-ph-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ds-ph-acts form{margin:0}
.ds-seg{display:inline-flex;gap:2px;padding:3px;margin:0 0 18px;border-radius:10px;background:var(--teal-25);max-width:100%;overflow-x:auto;scrollbar-width:none}
.ds-seg a{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;font-size:13px;font-weight:500;color:var(--fg-3);white-space:nowrap;transition:background-color var(--d-1),color var(--d-1)}
.ds-seg a:hover{color:var(--fg-1);text-decoration:none}
.ds-seg a[aria-current]{background:#fff;color:var(--fg-1);box-shadow:var(--shadow-card)}
.ds-seg .n{font-size:11px;padding:0 6px;border-radius:var(--r-pill);background:var(--teal-50);color:var(--fg-2);line-height:18px}
.ds-seg a[aria-current] .n{background:var(--color-navy);color:#fff}
@media (max-width:420px){.ds-seg a{padding:0 8px;gap:4px}}     /* three tabs with counts fit a 375px phone without scrolling */

/* ── hero: the one dark panel of a page, with the one glow; lemon marks its main figure (B183, B187) ── */
.ds-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:var(--r-2xl);color:var(--on-hero);padding:28px 30px;margin:0 0 18px;background:var(--hero)}
.ds-hero::before{content:"";position:absolute;z-index:-1;width:640px;height:640px;right:-200px;top:-340px;border-radius:50%;background:var(--glow);pointer-events:none}
.ds-hero-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}
.ds-hero .ds-eyebrow{color:var(--on-hero-2)}
.ds-hero h2{font:600 30px/36px var(--font-ui);letter-spacing:-.02em;margin:6px 0 0;color:#fff}
/* the assistant's sentence on the hero: its sparkle in the violet lifted for navy */
.ds-hero .say{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;padding:12px 14px;border-radius:var(--r-lg);max-width:640px;font-size:16px;line-height:24px;font-weight:500;color:#fff;
  background:rgba(255,255,255,.06);border:1px solid var(--hero-line)}
.ds-hero .say i{color:var(--ai-on-navy);font-size:19px;margin-top:2px;flex:none}
.ds-hero-sub{margin:10px 0 0;color:var(--on-hero-2);max-width:620px}
.ds-hero-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.ds-hero-acts form{margin:0}
.btn.glass{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff;box-shadow:none} .btn.glass:hover{background:rgba(255,255,255,.14)}
/* the ring and its note, one stat block on the right. The ring's size is --ring and everything inside scales with it, so
   the value and its two-line label stay inside the stroke's inner edge (r 43.5 of 56 in the viewBox) at any size; a
   four-character value ('100%') is set smaller. With a ring the text column fills the space up to the block. */
.ds-hero-in.with-ring .say,.ds-hero-in.with-ring .ds-hero-sub{max-width:none}
.ds-hero-stat{display:flex;align-items:center;gap:16px;width:300px;max-width:100%;padding:14px 18px 14px 14px;border-radius:var(--r-xl);background:rgba(255,255,255,.05);border:1px solid var(--hero-line)}
.ds-ring{--ring:120px;position:relative;width:var(--ring);height:var(--ring);flex:none}
.ds-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ds-ring circle{fill:none;stroke-width:9}
.ds-ring .ring-bg{stroke:rgba(255,255,255,.1)}
.ds-hero .ds-ring .ring-fg{stroke:var(--color-lemon);stroke-linecap:round;transition:stroke-dashoffset var(--d-3) var(--ease-out)}
.ds-ring .lbl{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--ring) * .03);text-align:center}
.ds-ring .lbl b{font:600 calc(var(--ring) * .2)/1 var(--font-ui);letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#fff;white-space:nowrap}
.ds-ring[data-len="4"] .lbl b,.ds-ring[data-len="5"] .lbl b{font-size:calc(var(--ring) * .165)}
.ds-ring .lbl span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:calc(var(--ring) * .6);
  font-size:max(10px, calc(var(--ring) * .09));line-height:1.2;color:var(--on-hero-2)}
.ds-ring .lbl svg.ok{width:calc(var(--ring) * .3);height:calc(var(--ring) * .3);transform:none;fill:none;stroke:var(--on-hero-2);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ds-ring-note{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
.ds-ring-note b{font:600 15px/20px var(--font-ui);color:#fff}
.ds-ring-note span{font-size:13px;line-height:18px;color:var(--on-hero-2)}
@media (min-width:1400px){.ds-ring{--ring:132px}.ds-hero-stat{width:320px}}
/* the hero follows its own width, not the window's (lang-toggle-merge2): beside the side bar on a tablet (721-905px) the
   ring block left the text column 49-233px, the store's name over three lines and the assistant's sentence one word per
   line over the block. Where text (>= 240px) and block (300-320px) no longer stand side by side, the block goes under the text,
   the hero's full width as on a phone (no ring floating in an empty dark corner). */
.ds-hero{container:ds-hero/inline-size}
@container ds-hero (max-width:619.98px){.ds-hero-in{grid-template-columns:minmax(0,1fr);gap:16px} .ds-hero-stat{width:auto}}

/* ── KPI tile: label, a count-up, a delta chip and a sparkline; the hover warms the border, nothing glows ── */
.ds-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
/* B207 r3: a tile's four lines (label, value, trend and meta, sparkline) are rows of the tile row it sits in (subgrid), so
   the tiles of one row share each line whatever one tile's value wraps to (Home's "Nog geen mislukte betalingen" on an
   empty store) or whether it draws a sparkline (the recovery rate draws none without an attempt a day); a line no tile
   of the row has takes no room. No containment on the tile, as that would end its subgrid: the value's line is the
   container its figure scales to. */
.ds-kpi{position:relative;display:grid;grid-row:span 4;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:2px;min-width:0;padding:16px 18px 14px;border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card);transition:box-shadow var(--d-1)}
.ds-kpi>.lab{grid-row:1} .ds-kpi>.val{grid-row:2} .ds-kpi>.meta{grid-row:3} .ds-kpi>svg.spark{grid-row:4}
.ds-kpi:hover{box-shadow:var(--shadow-card),0 0 0 1px var(--teal-75)}
.ds-kpi .lab{font-size:13px;color:var(--fg-3);font-weight:500}
/* the value scales to the tile (13% of its width, 22-30px) and wraps rather than being cut; the tile's height is its text's */
.ds-kpi .val{container-type:inline-size;min-width:0;color:var(--fg-1)}
.ds-kpi .val>span{display:block;font:600 clamp(22px, 13cqi, 30px)/1.27 var(--font-ui);letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:break-word}
/* a quiet value (a sentence, 'Nog geen mislukte betalingen') centres its first line on the figures' line: half of what the
   figure's line (1.27 x its 22-30px, the same cqi of a tile as wide) is taller than its 24px, also where the figure shrinks
   below 30px (a fixed 7px set it 2.4px low at 1280 with the side bar) */
.ds-kpi .val.quiet>span{font-size:17px;line-height:24px;letter-spacing:0;padding:calc((clamp(22px, 13cqi, 30px) * 1.27 - 24px) / 2) 0}
/* B207: a long amount stays whole (€ 123.456,78) in a smaller font; its line (1.27 x that font) is padded by half of what
   the figure's line is taller, so it shares the row's centre line (unpadded it sat 2.5-3.5px high, e.g. '€ 13.580,00' in nl) */
.ds-kpi .val.long>span{font-size:clamp(18px, 10.5cqi, 30px);padding:calc((clamp(22px, 13cqi, 30px) - clamp(18px, 10.5cqi, 30px)) * 1.27 / 2) 0}
.ds-kpi .meta{display:flex;align-items:center;align-content:flex-start;gap:6px;font:var(--t-meta);color:var(--fg-3);flex-wrap:wrap}   /* its lines from the top of the row's (taller) meta line, not spread over it */
.ds-kpi .meta>span{min-width:0;overflow-wrap:break-word} .ds-kpi .meta .ln{flex-basis:100%}
.ds-kpi.crit .val{color:var(--red-800)}
/* B207: tiles of one row end on one line: the sparkline is the row's last line, 8px under the trend and meta */
.ds-kpi svg.spark{height:36px;margin-top:8px;align-self:end}
.ds-kpi svg.spark .line,.ds-kpi svg.spark .dot,.ds-kpi svg.spark .cursor{stroke:var(--teal-400)} .ds-kpi svg.spark .area{fill:var(--teal-400);opacity:.1}
.ds-delta{display:inline-flex;align-items:center;gap:2px;height:20px;padding:0 7px;border-radius:var(--r-pill);font-size:12px;font-weight:600;background:var(--ok-100);color:var(--ok-800)}
.ds-delta.down{background:var(--red-100);color:var(--red-800)}
/* the trend's meaning (B207, _kpi.html): inv where more is worse (churn, past due: up is red, down green), neutral where
   neither way is better (a balance); no trend yet is plain meta text, not a chip */
.ds-delta.inv{background:var(--red-100);color:var(--red-800)} .ds-delta.inv.down{background:var(--ok-100);color:var(--ok-800)}
.ds-delta.neutral,.ds-delta.flat{background:var(--teal-25);color:var(--fg-3)}
.ds-trend-none{color:var(--fg-3);font-style:italic}
/* a tile that is a link (a list's filter): its label carries the link and covers the tile; the sparkline sits above that
   cover so its hover and focus stay its own. The filter that is on is marked with a teal edge. */
.ds-kpi.link .lab a{color:inherit;text-decoration:none} .ds-kpi.link .lab a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.ds-kpi.link:hover{box-shadow:var(--shadow-card),0 0 0 1px var(--teal-400)} .ds-kpi.link:has(.lab a:focus-visible){box-shadow:var(--ring)}
.ds-kpi.link .lab a:focus-visible{outline:none} .ds-kpi.link svg.spark{position:relative;z-index:var(--z-raised)}
.ds-kpi.on{box-shadow:var(--sh-card),inset 0 0 0 2px var(--teal-400)}
.ds-kpi.attn .val{color:var(--color-sunset-ink)}
/* five tiles (Abonnementen): five across on a wide screen, three over two below 1100px, two by two with the fifth across
   the row below 900px (the sidebar still takes its width there; a third of what is left breaks the labels) */
.ds-kpis.n5{grid-template-columns:repeat(5,minmax(0,1fr))}

/* ── Home's Levensfase card (B201): under the KPI tiles, on their edges. One row of stage tiles on a wide screen with a
   chevron in each gap (the flow, left to right); the rows of each tile (name, customers, bar, the share that moves on in
   the page's words, what the stage loses a month) share their lines across the row (subgrid); the gaps are the KPI
   row's. Below 1100px the tiles wrap (three a row, two below 900px, the last row filled, so one stage fills the card
   instead of leaving its right half blank) and the chevrons go: an arrow at a row's start would point from nothing.
   Green is the share that stays, orange the loss (B187). ── */
.lcs-home{margin:0 0 18px}
.lcs-home-flow{list-style:none;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--n),minmax(min-content,1fr));grid-template-rows:repeat(5,auto);column-gap:14px;row-gap:0}
.lcs-home-st{position:relative;display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:6px;min-width:0;padding:10px 12px 11px;border-radius:12px;background:var(--teal-10);border:1px solid transparent}
.lcs-home-st+.lcs-home-st::before{content:"";position:absolute;left:-10px;top:50%;width:6px;height:6px;border-top:1.5px solid var(--fg-3);border-right:1.5px solid var(--fg-3);transform:translateY(-50%) rotate(45deg);opacity:.6}
.lcs-home-st.top{border-color:var(--color-sunset)}
.lcs-home-st.pending{background:none;border:1px dashed var(--teal-75)}
.lcs-home-st .lab{font:600 13px/18px var(--font-ui);color:var(--fg-1);overflow-wrap:break-word;min-width:0}
.lcs-home-st .cnt{font-size:12.5px;line-height:18px;color:var(--fg-3);overflow-wrap:break-word;min-width:0;container-type:inline-size}
/* the count scales to its tile (16-22px; the container is the count's line, as containment on the tile would end its subgrid) and never breaks inside a number: eight stages on a 1280px screen hold 123.456 */
.lcs-home-st .cnt b{display:block;font:600 clamp(16px, 19cqi, 22px)/28px var(--font-ui);letter-spacing:-.02em;color:var(--fg-1);font-variant-numeric:tabular-nums;white-space:nowrap}
.lcs-home-st .cnt .why{display:block;margin-top:2px;font-size:11.5px;line-height:15px}
.lcs-home-st .share,.lcs-home-st .loss{font-size:12.5px;line-height:17px;color:var(--fg-3);min-width:0;overflow-wrap:break-word}
.lcs-home-st .share b.go{color:var(--color-brand-strong);font-weight:600;font-variant-numeric:tabular-nums}
.lcs-home-st .loss{font-variant-numeric:tabular-nums}
.lcs-home-st .loss.top{color:var(--color-sunset-ink);font-weight:600}
/* a share measured on too few customers says so under it, as the page's card does (.lcs-thin), not only in the bar's title */
.lcs-home-st .share .thin{display:block;margin-top:2px;font-size:11.5px;line-height:15px;color:var(--fg-3)}
.lcs-home-line .thin{color:var(--fg-3);font-size:12.5px}
.lcs-home-st.pending .share{grid-row:span 2}
.lcs-home-bar{display:flex;align-self:center;height:6px;border-radius:var(--r-pill);overflow:hidden;background:var(--teal-50)}
.lcs-home-bar .go{background:var(--color-brand)} .lcs-home-bar .out{background:var(--color-sunset)}
.lcs-home-st.pending .lcs-home-bar{background:none;box-shadow:inset 0 0 0 1px var(--teal-75)}
.lcs-home-badge{display:block;margin-top:2px;font:600 11.5px/16px var(--font-ui);color:var(--color-sunset-ink)}
.lcs-home-line{margin:14px 0 0;font-size:14px;line-height:21px;color:var(--fg-2);font-variant-numeric:tabular-nums}
.lcs-home-line .attn,.lcs-home-line b.out{color:var(--color-sunset-ink);font-weight:600}
.lcs-home-empty{margin:0;font-size:14px;line-height:21px}
/* B204: who is in the stage, one short line under its name (inside the name's row, so the subgrid keeps the counts level) */
.lcs-home-st .lab .who{display:block;margin-top:2px;font:400 11.5px/15px var(--font-ui);color:var(--fg-3)}
/* B204: the arrow from One-off buyer to First subscription with the share that takes a subscription, its own column
   between the two tiles: not the gaps' small chevron. The arrow is ink (a way through, not a state); only the share
   that takes a subscription is green, the healthy part as the share that stays (B187). The flow comes in two tiers (up to the stage the arrow points at,
   then the rest); on a wide screen the tiers are display:contents, so every tile is still one item of this one row.
   B210: one row above 1100px however many stages there are (B204's rows2, a row per tier from six stages, is gone):
   each column is at least its longest word wide (min-content) and shares the rest equally, so a narrow tile never
   breaks 'abonneemaanden' mid-word. */
.lcs-home-flow.has-conv{grid-template-columns:repeat(var(--a),minmax(min-content,1fr)) minmax(min-content,.6fr) repeat(var(--b),minmax(min-content,1fr))}
/* the tile's own column is at least its longest word (its lines keep min-width:0, which alone would let it be 0) */
.lcs-home-st,.lcs-home-conv{grid-template-columns:minmax(min-content,1fr)}
.lcs-home-flow .lcs-tier,.lcs-home-flow .lcs-tier>ol{display:contents}
.lcs-home-flow .lcs-tier>ol{list-style:none;margin:0;padding:0}
.lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{content:"";position:absolute;left:-10px;top:50%;width:6px;height:6px;border-top:1.5px solid var(--fg-3);border-right:1.5px solid var(--fg-3);transform:translateY(-50%) rotate(45deg);opacity:.6}
.lcs-home-conv{position:relative;grid-row:span 5;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:6px 0;text-align:center}
.lcs-home-conv .arrow{position:relative;display:block;height:2px;margin:0 9px 0 0;border-radius:2px;background:var(--fg-2)}
.lcs-home-conv .arrow::after{content:"";position:absolute;right:-9px;top:50%;border-left:10px solid var(--fg-2);border-top:6px solid transparent;border-bottom:6px solid transparent;transform:translateY(-50%)}
.lcs-home-conv .txt{font-size:12px;line-height:16px;color:var(--fg-2);min-width:0;overflow-wrap:break-word}
.lcs-home-conv .txt b{display:block;font:600 18px/24px var(--font-ui);color:var(--color-brand-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
.lcs-home-conv .txt .m{display:block;margin-top:4px;font-size:11.5px;line-height:15px;color:var(--fg-3)}
.lcs-home-conv.none .arrow{background:var(--teal-75)} .lcs-home-conv.none .arrow::after{border-left-color:var(--teal-75)}
/* B210: on one row the tiles are a little tighter (gaps, padding, the name and the lines under it), so eight stages and
   the arrow hold their longest words at 1280px with room to spare for a wider font than the test machine's fallback
   (Inter comes from Google Fonts); from 1440px the gaps and the padding are B204's again. Below 1100px as before.
   The chevron is drawn in the middle of its gap: what shows is the 6px box's top and right border turned 45deg, from
   its centre to its right corner (4.24px), and the box sits in the tile's padding box (1px in from its border), so
   left is minus (half the gap + 1 + 3 + 2.12px): -11px in a 10px gap, -13px in 14px, -10px in 8px (tester r4: -7px in
   8px drew the tip onto the next tile). */
@media (min-width:1101px){
  .lcs-home-flow{column-gap:10px}
  .lcs-home-st{padding:10px 8px 11px}
  .lcs-home-st+.lcs-home-st::before,.lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{left:-11px}
  .lcs-home-st .lab{font-size:12.5px}
  .lcs-home-st .share,.lcs-home-st .loss{font-size:12px}
  .lcs-home-st .share .thin{font-size:11px}
}
@media (min-width:1440px){
  .lcs-home-flow{column-gap:14px}
  .lcs-home-st{padding:10px 12px 11px}
  .lcs-home-st+.lcs-home-st::before,.lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{left:-13px}
}
/* B210 (aanvulling 9 nov, Michiel's option a): eight columns or more (many, the arrow counts) are one row from 1280px;
   between 1101 and 1279px they wrap as below 1100px (three a row, the last row filled, the arrow beside its tier), which
   is final: nine columns there would break 'abonneemaanden' and 'abonnement' mid-word. The same rules, scoped to many. */
@media (min-width:1101px) and (max-width:1279px){
  .lcs-home-flow.many{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;row-gap:12px}
  .lcs-home-flow.many .lcs-home-st,.lcs-home-flow.many .lcs-home-conv{grid-template-columns:none}
  .lcs-home-flow.many .lcs-home-st+.lcs-home-st::before,.lcs-home-flow.many .lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{display:none}
  .lcs-home-flow.many>.lcs-home-st:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-home-flow.many>.lcs-home-st:last-child:nth-child(3n+2){grid-column:span 2}
  .lcs-home-flow.many.has-conv{grid-template-columns:minmax(0,1fr)}
  .lcs-home-flow.many .lcs-tier{display:block;min-width:0}
  .lcs-home-flow.many .lcs-tier>ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;row-gap:12px;column-gap:12px}
  .lcs-home-flow.many .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-home-flow.many .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+2){grid-column:span 2}
  .lcs-home-flow.many .lcs-tier.pre>ol{grid-template-columns:repeat(var(--a),minmax(0,1fr)) minmax(72px,.7fr) minmax(0,1fr)}
}
/* B210 (UX r3): from 1280px eight columns or more are one row, and a stage name of the merchant's own ('Terugwinnen na
   een mislukte incassobetaling', 'abonneemaanden' under Nieuwe klant and Actief) with Inter's wider letters needed 976px of
   a 952px row at 1280px. Until the roomier 1440px the gaps (8px) and the tiles' side padding (6px) give up 48px, so every
   column keeps its longest word whole with about 24px to spare; the type, the copy and the words stay as they are. */
@media (min-width:1280px) and (max-width:1439px){
  .lcs-home-flow.many{column-gap:8px}
  .lcs-home-flow.many .lcs-home-st{padding-left:6px;padding-right:6px}
  .lcs-home-flow.many .lcs-home-st+.lcs-home-st::before,.lcs-home-flow.many .lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{left:-10px}
}
/* B210 (tester r4): the same between 1101 and 1199px for seven columns or fewer (one row there; eight or more wrap): the
   long stage name with Inter's wider letters needed 790px of a 773px row at 1101px with seven stages (the page 775px),
   and with the arrow seven columns had 4px left. The 8px gaps and 6px side padding give up 40px; from 1200px the row
   has 80px or more to spare with B210's 10px gaps and 8px padding. */
@media (min-width:1101px) and (max-width:1199px){
  .lcs-home-flow:not(.many){column-gap:8px}
  .lcs-home-flow:not(.many) .lcs-home-st{padding-left:6px;padding-right:6px}
  .lcs-home-flow:not(.many) .lcs-home-st+.lcs-home-st::before,.lcs-home-flow:not(.many) .lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{left:-10px}
}
@media (max-width:1100px){
  .lcs-home-flow{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;row-gap:12px;column-gap:12px}
  .lcs-home-st,.lcs-home-conv{grid-template-columns:none}
  .lcs-home-st+.lcs-home-st::before{display:none}
  /* B204: three tiles a row, and the last row filled (one tile left takes the row, two share it): no empty slot beside
     the last tile, as a wrapping auto-fit row left on a tablet; one stage alone fills the card */
  .lcs-home-flow>.lcs-home-st:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-home-flow>.lcs-home-st:last-child:nth-child(3n+2){grid-column:span 2}
  /* B204: each tier its own grid of wrapping tiles; the first keeps the arrow beside its stages while they fit */
  .lcs-home-flow.has-conv{grid-template-columns:minmax(0,1fr);row-gap:12px}
  .lcs-home-flow .lcs-tier{display:block;min-width:0}
  .lcs-home-flow .lcs-tier>ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;row-gap:12px;column-gap:12px}
  /* the last row of the second tier is filled: one tile left takes the row, two share it as one and two thirds */
  .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+2){grid-column:span 2}
  .lcs-home-flow .lcs-tier.pre>ol{grid-template-columns:repeat(var(--a),minmax(0,1fr)) minmax(72px,.7fr) minmax(0,1fr)}
  .lcs-tier+.lcs-tier>ol>.lcs-home-st:first-child::before{display:none}
}
/* a phone holds two tiles a row: an odd last one takes the whole row, not half of it beside an empty half */
@media (max-width:600px){ .lcs-home-st:last-child:nth-child(odd){grid-column:1/-1} }
/* B204 where the first tier gets narrow (a phone, a tablet): it stacks, the arrow a row of its own pointing down at the
   stage below it */
@media (max-width:900px){
  .lcs-home-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lcs-home-flow>.lcs-home-st:last-child:nth-child(3n+1),.lcs-home-flow>.lcs-home-st:last-child:nth-child(3n+2){grid-column:auto}
  .lcs-home-flow>.lcs-home-st:last-child:nth-child(odd){grid-column:1/-1}
  .lcs-home-flow .lcs-tier>ol,.lcs-home-flow .lcs-tier.pre>ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+2){grid-column:auto}
  .lcs-tier+.lcs-tier>ol>.lcs-home-st:last-child:nth-child(3n+1){grid-column:auto}
  .lcs-home-flow .lcs-tier>ol>.lcs-home-st:last-child:nth-child(odd){grid-column:1/-1}
  .lcs-home-conv,.lcs-home-conv+.lcs-home-st,.lcs-home-flow.a1 .lcs-tier.pre>ol>.lcs-home-st:first-child{grid-column:1/-1}
  .lcs-home-conv{grid-row:auto;flex-direction:row;align-items:center;justify-content:center;gap:12px;padding:0;text-align:left}
  .lcs-home-conv .arrow{flex:none;width:2px;height:34px;margin:0 0 9px}
  .lcs-home-conv .arrow::after{right:auto;left:50%;top:auto;bottom:-9px;border-top:10px solid var(--fg-2);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:0;transform:translateX(-50%)}
  .lcs-home-conv.none .arrow::after{border-top-color:var(--teal-75);border-left-color:transparent}
  .lcs-home-conv .txt b{display:inline}
  .lcs-home-conv .txt .m{margin-top:2px}
  /* One-off buyer the right of two tiles (after Prospect): the arrow and its words stand under its column (a column gap
     and the tile's padding in), so it reads One-off buyer -> 'x% subscribe', not Prospect -> */
  .lcs-home-flow.ae .lcs-home-conv{justify-content:flex-start;padding-left:calc(50% + 6px + 12px)}
}

/* ── card, action card ── */
.ds-card{background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--sh-card);min-width:0}
.ds-card.pad{padding:18px 20px}
.ds-card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.ds-card-h h3{margin:0;font:var(--t-h3);color:var(--fg-1);text-transform:none;letter-spacing:-.01em}
.ds-card-h a{font-size:13px;color:var(--fg-3);display:inline-flex;align-items:center;gap:4px}
/* "Voor jou klaargezet" on Home: its count asks attention (B187) */
.prop-home .ds-card-h .pill[data-proposals-total]{background:var(--attn-soft);color:var(--attn-ink);--pill-line:var(--sunset-200);--pill-dot:var(--attn)}      /* B209: the Sunset fill wears the Sunset ring and dot */
.banner.info[data-proposals-strip]{background:var(--attn-soft);color:var(--attn-ink)}
.ds-act{position:relative;padding:14px 18px 14px 20px;border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-card);margin-bottom:10px;min-width:0}
.ds-act::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:var(--red-600)}
.ds-act.warn::before{background:var(--attn)} .ds-act.info::before{background:var(--teal-200)}
.ds-act .top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ds-act h4{margin:0;font:var(--t-h3);font-size:15px;color:var(--fg-1);min-width:0;overflow-wrap:anywhere}
.ds-act .amt{font:600 15px/24px var(--font-ui);color:var(--fg-1);font-variant-numeric:tabular-nums;white-space:nowrap}
.ds-act p{color:var(--fg-3);margin:2px 0 0;font-size:13px;overflow-wrap:anywhere} .ds-act p.meta{font-size:12px;color:var(--fg-4)}
.ds-act .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

/* ── the agent's card: outlined in copilot violet, not filled (ui-patterns); a shimmer while loading ── */
.ds-ai{position:relative;border-radius:var(--r-xl);padding:18px 20px;margin:0 0 12px;min-width:0;border:1.5px solid var(--ai-line);background:var(--surface);box-shadow:var(--shadow-card);transition:border-color var(--d-1)}
.ds-ai:hover{border-color:var(--ai)}
.ds-ai .ai-head,.ds-assist .ai-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ds-ai .mark,.ds-assist .ai-head .mark{position:relative;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--ai);color:#fff;font-size:15px}
.ds-ai .who,.ds-assist .ai-head .who{font:600 12px/16px var(--font-ui);color:var(--ai-ink);letter-spacing:.02em}
.ds-ai .impact{margin-left:auto}
.ds-ai h4{font:var(--t-h3);font-size:17px;color:var(--fg-1);margin:12px 0 0;letter-spacing:-.01em;overflow-wrap:anywhere}
.ds-ai .why{color:var(--fg-3);margin:4px 0 0}
.ds-ai .draft{margin-top:12px;padding:12px 14px;border-radius:var(--r-lg);background:var(--surface-sunk);border-left:3px solid var(--ai);color:var(--fg-2);font-size:14px;line-height:21px}
.ds-ai .draft .lbl{display:block;font:var(--t-meta);color:var(--fg-3);margin-bottom:4px}
.ds-ai .ev{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.ds-ai .acts{display:flex;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap} .ds-ai .acts form{margin:0}
.ds-ai .acts .fine{margin-left:auto;font:var(--t-meta);color:var(--fg-4)}
.ds-ai .skel,.ds-ai .err,.ds-ai .done-row,.ds-ai .fb{display:none}
.ds-ai[data-state=fallback] .fb{display:inline-flex}
.ds-ai[data-state=loading] .real,.ds-ai[data-state=error] .real,.ds-ai[data-state=done] .real{display:none}
.ds-ai[data-state=loading] .skel,.ds-ai[data-state=error] .err{display:block}
/* done: the agent has stopped proposing, so the card drops its violet and reads as a plain, quiet card; only the check and the status pill stay green */
.ds-ai[data-state=done]{background:var(--surface);border:1px solid var(--line);box-shadow:none;padding:12px 16px} .ds-ai[data-state=done]:hover{border-color:var(--line-strong)}
.ds-ai[data-state=done] .done-row .grow{color:var(--fg-2)}
.ds-ai[data-state=done] .ai-head{display:none}
.ds-ai[data-state=done] .done-row{display:flex}
.ds-ai .skel .ticker{font:var(--t-meta);color:var(--ai-ink);margin:12px 0 10px;min-height:16px}
/* the loading shimmer: the one motion that runs until the data is there */
.sh{height:12px;border-radius:6px;margin-top:10px;background:linear-gradient(90deg,var(--teal-25) 0%,var(--royal-25) 45%,var(--royal-50) 50%,var(--royal-25) 55%,var(--teal-25) 100%);background-size:220% 100%;animation:ds-shim 1.4s linear infinite}
@keyframes ds-shim{from{background-position:110% 0}to{background-position:-110% 0}}
.ds-ai .err{margin-top:12px;padding:12px 14px;border-radius:var(--r-lg);background:var(--attn-soft);color:var(--attn-ink)}
.ds-ai .done-row{align-items:center;gap:10px;flex-wrap:wrap} .ds-ai .done-row .grow{flex:1;min-width:180px;color:var(--fg-1)} .ds-ai .done-row form{margin:0}
.ck{width:20px;height:20px;border-radius:50%;background:var(--color-brand);color:var(--teal-950);display:grid;place-items:center;flex:none;font-size:12px}

/* chips: ok is healthy (green), warn and money ask attention (Sunset), ai is the assistant (violet) */
.ds-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:var(--r-pill);font-size:12px;font-weight:500;white-space:nowrap;background:var(--teal-10);color:var(--fg-2)}
.ds-chip .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.ds-chip.ok{background:var(--ok-100);color:var(--ok-800)} .ds-chip.warn{background:var(--attn-soft);color:var(--attn-ink)} .ds-chip.crit{background:var(--red-100);color:var(--red-800)}
.ds-chip.ai{background:var(--ai-soft);color:var(--ai-ink);border:1px solid var(--ai-line)}
.ds-chip.money{background:var(--attn-soft);color:var(--attn-ink)}
.ds-chip.test{background:var(--attn-soft);color:var(--attn-ink)}
.ds-chip .when{font-weight:400;opacity:.8}

/* ── table row: avatar, name, status chip ── */
.ds-tr{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr) repeat(auto-fit,minmax(90px,1fr));gap:12px;align-items:center;padding:0 16px;min-height:56px;border-top:1px solid var(--line);color:var(--fg-2);transition:background-color var(--d-1)}
.ds-tr:first-child{border-top:0}
a.ds-tr:hover{background:var(--teal-10);text-decoration:none}
.ds-who{display:flex;align-items:center;gap:10px;min-width:0}
.ds-who>span:last-child{min-width:0}
.ds-who b{display:block;font-weight:600;color:var(--fg-1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-who b+span{display:block;font-size:12px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}
.ds-av.t0{background:var(--teal-25);color:var(--teal-500)} .ds-av.t1{background:var(--teal-50);color:var(--teal-600)} .ds-av.t2{background:var(--mint-50);color:var(--mint-700)} .ds-av.t3{background:var(--sand-200);color:var(--sand-500)}
.ds-tr .v{text-align:right;font-variant-numeric:tabular-nums;color:var(--fg-1);font-weight:500}

/* ── empty state ── */
.ds-empty{text-align:center;padding:32px 24px}
.ds-empty .ic{width:56px;height:56px;margin:0 auto 14px;border-radius:16px;display:grid;place-items:center;font-size:28px;background:var(--teal-10);color:var(--fg-3)}
.ds-empty h4{margin:0;font:var(--t-h3);color:var(--fg-1)}
.ds-empty p{color:var(--fg-3);margin:4px auto 0;max-width:420px}
.ds-empty .acts{margin-top:16px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
/* inside a card that has its own heading (the adviser on Catalogus): no centred block or icon tile of its own, the text on
   the card's left edge under that heading (empty_state(..., inline=True)) */
.ds-empty.inline{text-align:left;padding:0;max-width:72ch}
.ds-empty.inline h4{font:600 14px/20px var(--font)}
.ds-empty.inline p{margin:2px 0 0;max-width:none}
.ds-empty.inline .acts{margin-top:10px;justify-content:flex-start}
/* a flat card (no padding of its own: a table fills it) holding only the inline empty state: the text on the table cells'
   inset, so it does not touch the card's edge (Doelgroepen 'Nog niets opgeslagen uit Levensfase', B202) */
.card.flat>.ds-empty.inline{padding:14px 12px;max-width:none}

/* ── the assistant's panel on a page (B206: the Abonnementsadviseur on Catalogus): a ds-card in the look of the assistant's
   cards on Home ('Voor jou klaargezet') and its block in the side bar. The head, the tile and the label are .ds-ai's own
   rules (shared above); here only what a panel adds: the cards' violet line, the side bar's Royal for the panel's one main
   action (btn.agent), the violet chip's tint for the assistant's re-run (btn.ai), for its reading steps and for the footer
   with the discount ceiling. Text on the tint is --fg-1, --fg-3 or --ai-ink: 5.4:1 and up on --ai-soft (WCAG AA). ── */
.ds-card.ds-assist{border:1.5px solid var(--ai-line);box-shadow:var(--shadow-card)}
.ds-assist .adv-head{margin:0 0 8px}
.ds-assist .adv-working{padding:10px 14px;border-radius:var(--r-lg);background:var(--ai-soft);border-left:3px solid var(--ai);color:var(--fg-1)}
.ds-assist .adv-working strong{color:var(--ai-ink)}
.ds-assist .adv-foot{margin:14px -20px -18px;padding:12px 20px;background:var(--ai-soft);border-top:1px solid var(--ai-line);border-radius:0 0 calc(var(--r-xl) - 1.5px) calc(var(--r-xl) - 1.5px)}
.ds-assist .adv-foot .faint{color:var(--fg-3)}
.btn.agent{background:var(--color-royal);border-color:var(--color-royal);color:#fff;font-weight:600;box-shadow:none}
.btn.agent:hover{background:var(--color-copilot);border-color:var(--color-copilot);color:#fff}
.btn.agent i{color:var(--ai-on-navy)}
.btn.ai{background:var(--ai-soft);border-color:var(--ai-line);color:var(--ai-ink);font-weight:600;box-shadow:none}
.btn.ai:hover{background:var(--royal-50);border-color:var(--ai);color:var(--ai-ink)}
.btn.ai i{color:var(--ai)}
.btn.agent:focus-visible,.btn.ai:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}

/* ── toast with an undo bar (the bar drains over the undo window: a countdown, not an entrance) ── */
.ds-toast{position:fixed;left:50%;bottom:24px;z-index:var(--z-toast);transform:translate(-50%,10px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:12px;min-width:300px;max-width:calc(100vw - 32px);
  padding:10px 10px 10px 16px;border-radius:var(--r-lg);background:var(--teal-950);color:#fff;box-shadow:var(--sh-menu);overflow:hidden;transition:transform var(--d-3) var(--ease-out),opacity var(--d-3)}
.ds-toast.on{transform:translate(-50%,0);opacity:1;pointer-events:auto;animation:ds-toast-in var(--d-3) var(--ease-out)}
@keyframes ds-toast-in{from{transform:translate(-50%,10px);opacity:0}}
.ds-toast .grow{flex:1;font-size:14px;min-width:0}
.ds-toast form{margin:0}
.ds-toast button{border:0;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-weight:600;font-size:13px;padding:6px 10px;border-radius:7px;cursor:pointer}
.ds-toast button.x{background:none;color:rgba(255,255,255,.6);padding:6px}
.ds-toast .prog{position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--color-mint);transform-origin:left;animation:ds-drain var(--toast-s,10s) linear forwards}
@keyframes ds-drain{to{transform:scaleX(0)}}

/* ── drawer: a side panel, a full-screen sheet on a phone; opens on :target or [data-open], locks the page behind it ── */
.ds-drawer{position:fixed;inset:0;z-index:var(--z-drawer);display:none}
.ds-drawer:target,.ds-drawer[data-open]{display:block}
.ds-drawer[data-closed]:not([data-open]){display:none}      /* closed by console.js while the URL still says #id */
body.console:has(.ds-drawer:target:not([data-closed])),body.console:has(.ds-drawer[data-open]),body.console:has(.cmdk[data-open]){overflow:hidden}
.ds-scrim{position:absolute;inset:0;background:rgba(2,17,20,.38);animation:ds-fade var(--d-2) ease-out}
@keyframes ds-fade{from{opacity:0}}
.ds-panel{position:absolute;top:0;right:0;bottom:0;width:460px;max-width:100vw;display:flex;flex-direction:column;background:var(--bg-app);box-shadow:-24px 0 48px -24px rgba(2,17,20,.45);animation:ds-slide var(--d-3) var(--ease-out)}
@keyframes ds-slide{from{transform:translateX(10px);opacity:0}}
.ds-drawer-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fff}
.ds-drawer-h h2{margin:0;font:var(--t-h2);font-size:18px;color:var(--fg-1)}
.ds-drawer-b{flex:1;overflow:auto;padding:16px 18px 24px}
/* the assistant's panel: a Royal head with the one glow */
.ds-drawer.agent .ds-drawer-h{color:#fff;border-bottom:0;background:var(--color-royal);position:relative;overflow:hidden;isolation:isolate}
.ds-drawer.agent .ds-drawer-h::before{content:"";position:absolute;z-index:-1;width:360px;height:360px;right:-120px;top:-220px;border-radius:50%;background:var(--glow);pointer-events:none}
.ds-drawer.agent .ds-drawer-h h2{color:#fff;display:flex;align-items:center;gap:8px} .ds-drawer.agent .ds-drawer-h h2 i{color:var(--ai-on-navy)}
.ds-drawer.agent .ds-drawer-h .btn{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22);box-shadow:none} .ds-drawer.agent .ds-drawer-h .btn:hover{background:rgba(255,255,255,.18)}

/* ── stepper: done is green, the current step a navy ring ── */
.ds-steps{list-style:none;margin:0;padding:0;position:relative}
.ds-steps li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;padding-bottom:18px}
.ds-steps li:not(:last-child)::before{content:"";position:absolute;left:13px;top:30px;bottom:2px;width:2px;background:var(--teal-50)}
.ds-steps li.done:not(:last-child)::before{background:var(--color-brand)}
.ds-steps .sd{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 2px var(--teal-50);color:var(--fg-4);font-size:12px;font-weight:600}
.ds-steps .done .sd{background:var(--color-brand);box-shadow:none;color:var(--teal-950)}
.ds-steps .cur .sd{box-shadow:inset 0 0 0 2px var(--color-navy);color:var(--color-navy)}
.ds-steps b{display:block;color:var(--fg-1);font-weight:600;padding-top:3px} .ds-steps .res{display:block;color:var(--fg-3);font-size:13px} .ds-steps .todo b{color:var(--fg-3);font-weight:500}

/* ── ⌘K palette: the assistant's search, outlined in copilot violet ── */
.cmdk{position:fixed;inset:0;z-index:var(--z-cmdk);display:none;align-items:flex-start;justify-content:center;padding:12vh 16px 16px;background:rgba(2,17,20,.42)}
.cmdk[data-open]{display:flex}
.cmdk-panel{width:640px;max-width:100%;max-height:70vh;display:flex;flex-direction:column;border-radius:var(--r-2xl);overflow:hidden;border:1.5px solid var(--ai-line);
  background:#fff;box-shadow:var(--shadow-popover);animation:ds-pop var(--d-2) var(--ease-out)}
@keyframes ds-pop{from{transform:translateY(-8px);opacity:0}}
.cmdk-in{display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--line)}
.cmdk-in i{font-size:20px;color:var(--ai)}
.cmdk-in input{flex:1;height:56px;border:0;padding:0;box-shadow:none;font-size:16px;background:none;min-width:0;text-overflow:ellipsis}
.cmdk-in input::placeholder{text-overflow:ellipsis}      /* a 375 phone cuts it with an ellipsis, not mid-word ('… naar een pag') */
.cmdk-in input:focus{box-shadow:none}
.cmdk-list{overflow-y:auto;padding:8px}
.cmdk-list .grp{padding:8px 10px 4px;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3)}
.cmdk-list a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--r-md);color:var(--fg-1);font-size:14px}
.cmdk-list a i{font-size:18px;color:var(--fg-3)} .cmdk-list a small{margin-left:auto;color:var(--fg-3);font-size:12px;white-space:nowrap}
.cmdk-list a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmdk-list a:hover,.cmdk-list a[aria-selected=true]{background:var(--ai-soft);text-decoration:none;outline:1px solid var(--ai-line);outline-offset:-1px}
.cmdk-list a:hover i,.cmdk-list a[aria-selected=true] i{color:var(--ai)}
.cmdk-list .none{padding:14px 10px;color:var(--fg-3)}
.cmdk-list .loading .sh{margin:8px 10px}
.cmdk-foot{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--line);font:var(--t-meta);color:var(--fg-3);background:var(--ai-soft)}
.cmdk-foot b{color:var(--ai-ink);font-weight:600}

/* ── the old proposal card's parts inside the agent card ── */
.ds-ai.prop{border-left-width:1.5px}
.ds-ai .prop-list{margin:10px 0 0;padding-left:18px}
/* the plans an approved advice card made: name, Draft/Live and "Put live" in columns, so every row lines up (subgrid) */
ul.prop-list.advice-plans{list-style:none;padding:0;margin:6px 0 0;display:grid;grid-template-columns:minmax(0,max-content) auto auto;gap:6px 12px;align-items:center;justify-content:start}
ul.prop-list.advice-plans li{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center} ul.prop-list.advice-plans form{margin:0}

/* ── a phone (720px and below): no sidebar, a 5-tab bar at the bottom, the sidebar as a sheet under "Meer" ── */
@media (max-width:1100px){.ds-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ds-kpis.n5{grid-template-columns:repeat(6,minmax(0,1fr))} .ds-kpis.n5>.ds-kpi{grid-column:span 2} .ds-kpis.n5>.ds-kpi:nth-child(n+4){grid-column:span 3}}
@media (max-width:900px){.ds-kpis.n5{grid-template-columns:repeat(2,minmax(0,1fr))} .ds-kpis.n5>.ds-kpi,.ds-kpis.n5>.ds-kpi:nth-child(n+4){grid-column:auto} .ds-kpis.n5>.ds-kpi:nth-child(5){grid-column:1/-1}}
/* ── a tablet (up to 1100px, the sidebar still open): the top bar keeps to the width beside it, so the signed-in email,
   the store's meta and the ⌘K hint go and Log out shrinks to its icon (the phone block below goes further) ── */
@media (max-width:1100px){
  .topbar{padding:0 16px;gap:8px}
  .topbar .who,.search-pill .kbd,.store-switch small,.store-switch>summary>i{display:none}
  .store-switch .nm{max-width:140px}
  .topbar form.logout .btn{font-size:0;gap:0;padding:0 8px} .topbar form.logout .btn i{font-size:18px}
  .tabs{overflow-x:auto;scrollbar-width:none} .tabs a{white-space:nowrap;flex:none}      /* a page's tab row scrolls inside itself, never the page */
}
@media (max-width:720px){
  body.console{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--topbar-h) 1fr;padding-bottom:72px}
  body.console main{grid-column:1;padding:16px 16px 32px}
  /* the sidebar as a sheet is a drawer: above the tab bar and the page, locking the page behind it */
  .sidebar{display:none;position:fixed;top:0;left:0;bottom:0;width:min(300px,86vw);height:100%;z-index:var(--z-drawer);box-shadow:24px 0 48px -24px rgba(2,17,20,.6)}
  .sidebar:target,.sidebar[data-open]{display:flex} .sidebar[data-closed]:not([data-open]){display:none}
  body.console:has(.sidebar:target:not([data-closed])),body.console:has(.sidebar[data-open]){overflow:hidden}
  .sidebar .close{display:grid;place-items:center;position:absolute;right:10px;top:16px;width:36px;height:36px;border-radius:10px;color:#fff;font-size:20px}   /* top 16: on the logo's centre line (B225) */
  .topbar{grid-column:1;padding:0 12px;gap:8px}
  .store-switch .nm{max-width:120px} .store-switch small,.store-switch>summary>i{display:none}
  .store-switch>summary{padding:0 4px}
  .search-pill{flex:0 0 38px;width:38px;min-width:0;padding:0;justify-content:center;cursor:pointer}
  .search-pill input,.search-pill .kbd{display:none}
  .test-pill{padding:0 8px;font-size:11px;gap:5px;height:24px}
  .assist-btn{padding:0 6px 0 9px;font-size:0;gap:6px} .assist-btn i{font-size:18px} .assist-btn .n{font-size:12px}
  .topbar .who{display:none}
  /* integrations-polish r2: the team demo's bar (store, search, Demo badge, Testmodus, Assistent with a count, Uitloggen)
     ran 19px past a 375px phone in a real Chrome, and the seeded demo's sat at 0px to spare: Testmodus says 'Test' (its
     full word stays for a screen reader, its title says why), the assistant's count goes while it is 0 (the tab bar has
     the assistant too) and below 400px the bar's gaps close up, so it fits down to 320px with a two-digit count */
  .test-pill .tp-l{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap} .test-pill .tp-s{display:inline}
  .assist-btn .n.zero{display:none}
  .topbar form.logout .btn{font-size:0;gap:0;padding:0 8px} .topbar form.logout .btn i{font-size:18px}
  .topbar .lang-toggle{display:none} .sidebar .lang-toggle.lt-side{display:flex}      /* B199: the switch moves into the menu sheet */
  /* B191: the demo badge and staff's 'Demo resetten' shrink to their icons too (their titles say it), or the bar is wider than a phone */
  .topbar [data-demo="reset"]{font-size:0 !important;gap:0 !important} .topbar [data-demo="reset"] i{font-size:18px}
  .topbar [data-demo="badge"]{font-size:0 !important;gap:0 !important;padding:2px 6px !important} .topbar [data-demo="badge"] i{font-size:14px}
  .tabbar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:var(--z-shell);grid-template-columns:repeat(5,minmax(0,1fr));height:64px;padding-bottom:env(safe-area-inset-bottom);
    background:var(--surface);border-top:1px solid var(--line)}
  .tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;line-height:16px;color:var(--fg-3)}
  .tabbar a i{font-size:21px}
  .tabbar a:hover{text-decoration:none}
  .tabbar a.on{color:var(--fg-1);font-weight:600} .tabbar a.on::before{content:"";position:absolute;top:0;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--color-navy)}
  .tabbar a.assist i{color:var(--ai)}
  .tabbar .n{position:absolute;top:6px;left:calc(50% + 5px);min-width:18px;height:18px;padding:0 4px;border-radius:var(--r-pill);font-size:11px;font-weight:600;line-height:18px;text-align:center;background:var(--color-sunset);color:var(--color-navy)}
  .tabbar .n.zero{display:none}
  .ds-hero{padding:20px;border-radius:var(--r-xl)} .ds-hero h2{font-size:24px;line-height:30px} .ds-hero-in{grid-template-columns:minmax(0,1fr);gap:16px}
  .ds-hero-stat{width:auto;padding:10px 14px 10px 10px;gap:14px} .ds-ring{--ring:100px} .ds-ring-note b{font-size:14px;line-height:19px}
  .ds-hero .say{font-size:15px}
  /* B207 r3: the strip snaps its tiles 16px in from the screen edge (the page's gutter), not flush against it */
  /* the strip is still a grid (one column a tile, 78% wide), so its tiles share their lines as a wide row does */
  .ds-kpis,.ds-kpis.n5{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(4,auto);grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;
    gap:14px 12px;margin:0 -16px 16px;padding:2px 16px 8px;scrollbar-width:none;scroll-padding-inline:16px}
  .ds-kpis>.ds-kpi,.ds-kpis.n5>.ds-kpi:nth-child(n){grid-column:auto;scroll-snap-align:start}
  .ds-ph h1{font-size:24px;line-height:30px}
  .ds-panel{width:100vw}
  .ds-tr{grid-template-columns:minmax(0,1fr) auto;padding:12px 16px;gap:6px 12px} .ds-tr .cell{display:none}
  .ds-toast{bottom:80px}
  /* wide tables scroll inside their card, never the page */
  .card.flat,.card:has(>table){overflow-x:auto}
  .filters input[style*="width"]{width:100%!important}
}
/* integrations-polish r2: below 400px the bar's gaps and the store's and the assistant's padding close up */
@media (max-width:400px){
  .topbar{gap:6px;padding:0 10px}
  .topbar .store-switch>summary{padding:0 2px} .assist-btn{gap:4px;padding:0 5px 0 7px} .assist-btn .n{padding:0 5px}
}

/* every animation and transition stops for a reader who asked for less motion */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* the copilot's band (Home, Copilot): navy without a glow of its own (the hero carries the page's one glow, B183) */
.pulse{isolation:isolate;background:var(--color-navy)}
.pulse .l i{color:var(--ai-on-navy)}
.pulse .cta{background:var(--color-brand);box-shadow:none}
.pulse .cta:hover{background:var(--green-200);border-color:var(--green-200)}   /* B281: one hover for the system, .btn.primary's */
/* B296: the box-shadow:none above out-specified the global :focus-visible ring, so a keyboard user saw nothing on the pulse cta */
.pulse .cta:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
@media (max-width:720px){.pulse{grid-template-columns:minmax(0,1fr)!important;padding:18px}.pulse .col+.col{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.1);padding-top:16px}.pulse .col:last-child{grid-column:auto}}
/* B199 r4: the narrow side of a g31 page (a subscription's or a customer's state, actions, invoices) is 200-300px from
   901 to ~1300px. A form row's field is never wider than its card (the plan <select>, 331px with its longest plan, ran
   42-117px past the Acties card), and a definition list there puts its label above its value instead of a 180px label
   column that left the value a few letters per line ('08 O / ct 2 / 026') or ran it past the card at 901px */
.card form.row>select,.card form.row>input:not([type=number]){max-width:100%;min-width:0}
.g31>.stack:first-child>.card{container-type:inline-size}
/* up to 1000px beside the sidebar that side was under 200px (the invoices' amounts and the cycles' dates past their cards,
   History a letter per line): the two sides stack there, as they do from 900px down */
@media (min-width:901px) and (max-width:1000px){.g31{grid-template-columns:minmax(0,1fr)}}
/* a subscription's cycles: six columns that need ~600px, in a card of 430-600px from 721 to 1200px, scrolled inside
   the card and cut its Basket off; where the card is narrower the cutoff and charge times go under their day, and the
   cells keep 8px a side instead of the flat card's 12px (B209), which ran the Basket 5-17px past a 433px card at 721px */
.sub-cycles{container-type:inline-size}
@container (max-width:660px){.sub-cycles td.nowrap{white-space:normal}}
@container (max-width:660px){.card.flat.sub-cycles>table>thead>tr>th,.card.flat.sub-cycles>table>tbody>tr>td{padding-left:8px;padding-right:8px}}
/* fix-console-words r3 (ux r2, 375): on a phone (card <=460px) the six columns still needed ~400px, so the Basket sat past
   a 343px card and every row was ~236px tall from its wrapped words. There each box is its own small card: number and
   status on one line, deadline / charge / delivery each a label-value line (the label is the cell's column word, data-l),
   then what is in the box, labelled too; the head stays for screen readers only */
@container (max-width:460px){
  .card.flat.sub-cycles>table.sc-table,.card.flat.sub-cycles>table.sc-table>tbody{display:block}
  .card.flat.sub-cycles>table.sc-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .card.flat.sub-cycles>table.sc-table>tbody>tr.sc-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 10px;padding:12px 14px;border-bottom:1px solid var(--teal-25)}
  .card.flat.sub-cycles>table.sc-table>tbody>tr.sc-row:last-child{border-bottom:0}
  .card.flat.sub-cycles>table.sc-table>tbody>tr.sc-row>td{display:block;padding:0;border:0;min-width:0;background:none}
  .sc-table td.sc-no{grid-column:1;font-weight:600} .sc-table td.sc-no::before{content:'#'}
  .sc-table td.sc-st{grid-column:2}
  .card.flat.sub-cycles>table.sc-table>tbody>tr.sc-row>td.sc-t{grid-column:1 / -1;display:flex;justify-content:space-between;align-items:baseline;gap:12px;white-space:nowrap}
  .card.flat.sub-cycles>table.sc-table>tbody>tr.sc-row>td.sc-basket{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:baseline;text-align:right;overflow-wrap:anywhere}
  .sc-table td[data-l]::before{content:attr(data-l);font-family:var(--font);font-size:12px;color:var(--fg-3);text-align:left;white-space:nowrap}
}
@container (max-width:330px){
  .ev{grid-template-columns:minmax(0,1fr);gap:0}
  .ev dd{margin-bottom:8px;word-break:normal;overflow-wrap:anywhere}
  td.mono:first-child{overflow-wrap:anywhere}          /* an invoice number gives way before its amount leaves the card */
}
/* the older page grids fold to one column on a phone, so no console page scrolls sideways at 375px */
@media (max-width:900px){.g13,.g31,.grid.g2{grid-template-columns:minmax(0,1fr)}}
/* B199 r4: Home's lower grid (Vraagt je aandacht | the week's cycles, Grootboek and the run): its narrow column is never
   narrower than its longest word. 'Vooruitgefactureerde omzet' with its amount ran the page 13-41px past the screen at
   901-990px in Dutch; where it fits (above ~1000px, and in English) nothing moves */
.g13.home-lower{grid-template-columns:minmax(0,2fr) minmax(min-content,1fr)}
@media (max-width:900px){.g13.home-lower{grid-template-columns:minmax(0,1fr)}}
/* B199 r4: a Grootboek amount is one word: the nl '€ 105,15' (fmt_money writes a plain space) broke after its euro sign
   at 1000-1440px; the column's min-content now holds it whole */
.home-lower td.mono{white-space:nowrap}
/* B199 r4: Home's copilot band (its figures | what it did). From 1200px down .pulse gives its last column a row of its
   own, which left the copilot's 2x2 figures in a 164-185px track at 721-768px (they need 192px: 'behouden bij
   beantwoorde opzeggingen' ran 22px past it) beside an empty one. Here the two stay side by side down to 901px and
   stack from 900px, the phone's way */
.pulse[data-home-copilot]{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
@media (max-width:1200px){.pulse[data-home-copilot] .col:last-child{grid-column:auto;border-top:0;padding-top:0;border-left:1px solid rgba(255,255,255,.1);padding-left:24px}}
@media (max-width:900px){
  .pulse[data-home-copilot]{grid-template-columns:minmax(0,1fr)}
  .pulse[data-home-copilot] .col+.col{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.1);padding-top:16px}
}
@media (max-width:720px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:minmax(0,1fr)}}
/* a table wider than its card scrolls inside the card, at any width; on a phone also a select and a long pill keep to the screen */
body.console main .card{min-width:0}
.tl li{grid-template-columns:150px 22px minmax(0,1fr) 150px} .tl .x{min-width:0;overflow-wrap:anywhere} .tl .s{min-width:0} .tl .s .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* B199 r8: a subscription's history time reads '#24 · Fri 11 Sep 22:30' / '#124 · wo 30 sep 22:30' (fmt_date + clock time),
   ~160-170px of 12px mono: 150px let it run into the icon column from #10 on. Its column fits it; a longer one wraps in it. */
@media (min-width:721px){.tl.sub-history li{grid-template-columns:176px 22px minmax(0,1fr) 150px}}
.tl.sub-history .t{white-space:normal;min-width:0;overflow-wrap:anywhere}
/* lang-toggle-merge: where the card is narrow its 176+22+150px columns leave the change's name 43-110px and
   'levensfase gewijzigd' / 'lifecycle stage changed' break inside their words: on a tablet (721-860px) and again from
   1001 to ~1150px, where the page's two sides stand beside the side bar (the list 429-530px wide). The card's own width
   decides, not the screen's: under 540px the actor's pill goes under the change, in its column, as on a phone (the
   name then has 170px or more); the time keeps its 176px. A phone keeps its own rule below. */
.tl.sub-history{container:sub-history / inline-size}
@media (min-width:721px){@container sub-history (max-width:540px){.tl.sub-history li{grid-template-columns:176px 22px minmax(0,1fr)} .tl.sub-history .s{grid-column:3;text-align:left}}}
body.console main .card:has(>table),body.console main .card.flat{overflow-x:auto}
@media (max-width:720px){
  body.console main select{max-width:100%}
  body.console main table{display:block;overflow-x:auto;max-width:100%}
  body.console main .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .tl li{grid-template-columns:minmax(0,1fr) 22px minmax(0,2fr)} .tl .s{grid-column:1 / -1;text-align:left}
  /* r7: the time column is a third of a phone's row (~100px): '#74 · Thu 14 May 23:59' on one line ran under the event's name */
  .tl .t{white-space:normal;min-width:0;overflow-wrap:anywhere}
}
@media (max-width:440px){.store-switch .nm{display:none}}
/* B191: a form the signed-in role may not post (lock_forms): readable, nothing pressable, no fieldset frame */
fieldset.role-locked{border:0;padding:0;margin:0;min-width:0;display:contents}
.role-locked-note{margin:0 0 12px}

/* ── Klanten > Levensfase (B192): the stage investigation's steps 1 and 2 (c_lifecycle.html). Orange is the loss and the
   biggest-loss mark, green only for the share that stays,
   the healthy part of the stream (B187), navy for the step-2 panel without a glow of its own; no glass,
   colour transitions only (150ms). ── */
.lcs-step{display:grid;gap:12px;margin:0 0 26px;scroll-margin-top:80px}
.lcs-step+.lcs-step{border-top:1px solid var(--teal-50);padding-top:22px}
.lcs-stepno{display:flex;align-items:center;gap:10px;margin:0;font:600 15px/22px var(--font-ui);color:var(--fg-1)}
.lcs-stepno .n{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--color-navy);color:#fff;font-size:13px}
.lcs-of{font-weight:400;color:var(--fg-3)}
.lcs-head{margin:4px 0 0;font:600 24px/32px var(--font-ui);letter-spacing:-.015em;color:var(--fg-1);text-wrap:balance}
.lcs-attn{color:var(--color-sunset-ink)}
.lcs-strip{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(188px,1fr))}
/* B204: the cards of one row line up as Home's tiles do (subgrid): each card spans seven of its row's tracks (name,
   number, word, who, loss line, stream panel, link) and the white box five of them, so a who-line that wraps once more
   or a pending card without a loss line moves no box bottom and no panel top; nothing has a fixed height */
.lcs-card{position:relative;display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:8px;min-width:0}
.lcs-main{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:2px;padding:16px 16px 14px;border-radius:12px;border:1px solid var(--teal-50);background:var(--surface);color:var(--fg-1);transition:border-color var(--d-1)}
.lcs-main:hover{text-decoration:none;border-color:var(--teal-200)}
.lcs-main:focus-visible{outline:none;box-shadow:var(--ring)}
.lcs-card.on .lcs-main{border-color:var(--color-navy)}
.lcs-card.top .lcs-main{border:2px solid var(--color-sunset);padding:15px 15px 13px}
.lcs-badge{position:absolute;top:-10px;left:14px;padding:2px 8px;border-radius:var(--r-pill);background:var(--color-sunset);color:var(--color-navy);font:600 11px/16px var(--font-ui)}
.lcs-label{font:600 15px/22px var(--font-ui)}
.lcs-n{margin-top:4px;font:600 30px/34px var(--font-ui);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.lcs-sub{font-size:13px;line-height:18px;color:var(--fg-3);overflow-wrap:anywhere}
.lcs-lossline{margin-top:8px;font:600 14px/20px var(--font-ui);color:var(--fg-3);font-variant-numeric:tabular-nums}
.lcs-lossline.money{color:var(--color-sunset-ink)}
.lcs-stream{padding:10px 12px;border-radius:10px;background:var(--teal-10);font-size:13.5px;line-height:19px}
.lcs-stream p{margin:4px 0 0;color:var(--fg-2)}
.lcs-stream b{font-weight:600;font-variant-numeric:tabular-nums}
.lcs-stream b.go{color:var(--color-brand-strong)} .lcs-stream b.out{color:var(--color-sunset-ink)}
.lcs-bar{display:flex;height:8px;border-radius:var(--r-pill);overflow:hidden;background:var(--teal-50)}
.lcs-bar .go{background:var(--color-brand)} .lcs-bar .out{background:var(--color-sunset)}
.lcs-thin{font-size:12px;color:var(--fg-3)}
.lcs-measure{font-size:13px;font-weight:500;color:var(--fg-3);padding:0 4px}
.lcs-measure[aria-current]{color:var(--fg-1);font-weight:600}
.lcs-card.pending .lcs-main{border-style:dashed}
.lcs-card.pending .lcs-stream{align-self:start}     /* one line, not stretched to a measured neighbour's panel */
.lcs-who{margin-top:2px;font-size:13px;line-height:18px;color:var(--fg-2)}
/* B210: one row above 1100px however many stages there are, with or without the arrow (B204's two tiers and the plain
   strip's "a row per half above five" are gone): the tiers are display:contents there, so every card is one item of the
   strip's one row and its seven lines line up across it (subgrid). Each column is at least its longest word wide
   (min-content; the card's own column and its box's say so, their lines keep min-width:0) and shares the rest equally,
   so a narrow card never breaks a word or a number. */
.lcs-strip.flat{grid-template-columns:repeat(var(--n),minmax(min-content,1fr))}
.lcs-strip.has-conv{grid-template-columns:repeat(var(--a),minmax(min-content,1fr)) minmax(min-content,.6fr) repeat(var(--b),minmax(min-content,1fr))}
.lcs-strip .lcs-tier,.lcs-strip .lcs-tier>ol{display:contents}
.lcs-card,.lcs-main,.lcs-conv{grid-template-columns:minmax(min-content,1fr)}
/* B204: the arrow from One-off buyer to First subscription in its own column, the share that takes a subscription */
.lcs-conv{display:flex;grid-row:span 7;flex-direction:column;justify-content:center;gap:10px;min-width:0;padding:12px 2px}
.lcs-conv-arrow{position:relative;display:block;height:3px;margin-right:12px;border-radius:3px;background:var(--fg-2)}
.lcs-conv-arrow::after{content:"";position:absolute;right:-12px;top:50%;border-left:13px solid var(--fg-2);border-top:8px solid transparent;border-bottom:8px solid transparent;transform:translateY(-50%)}
.lcs-conv-txt{margin:0;font-size:14px;line-height:20px;color:var(--fg-2);overflow-wrap:break-word;text-align:center}
.lcs-conv-txt b{display:block;font:600 26px/32px var(--font-ui);letter-spacing:-.01em;color:var(--color-brand-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
.lcs-conv-txt .m{display:block;margin-top:4px;font-size:12.5px;line-height:17px;color:var(--fg-3)}
.lcs-conv.none .lcs-conv-arrow{background:var(--teal-75)} .lcs-conv.none .lcs-conv-arrow::after{border-left-color:var(--teal-75)}
/* B210: on one row the cards are tighter than on two (the gaps, the box's padding, the name, the lines, the panel), so
   eight stages and the arrow hold their longest words at 1280px (with room for a wider font than the test machine's
   fallback; from 1440px the gaps and the padding are roomier again); the count scales to its card (16-30px, the container
   is the count's line, as on Home: containment on the card would end its subgrid) and never breaks inside a number.
   The sizes below 1100px are as before. A badge longer than a narrow card wraps upwards, off the card's name, so the
   strip keeps room above it for a two-line badge (2 x 16px + padding, 26px over the card's top): 'Grootste verlies' on a
   nine-column row reached into the headline's descenders with the 20px of before (UX r2). */
@media (min-width:1101px){
  .lcs-strip{column-gap:10px;margin-top:30px}
  .lcs-main{padding:12px 8px 10px}
  .lcs-card.top .lcs-main{padding:11px 7px 9px}
  .lcs-badge{top:auto;bottom:calc(100% - 10px);left:6px;max-width:calc(100% - 12px);padding:2px 6px;text-align:center}
  .lcs-label{font-size:13px;line-height:18px}
  .lcs-n{container-type:inline-size}
  .lcs-n b{display:block;font-size:clamp(16px, 24cqi, 30px);white-space:nowrap}
  .lcs-sub,.lcs-who{font-size:12px;line-height:16px}
  .lcs-lossline{font-size:12.5px;line-height:18px}
  .lcs-stream{padding:8px 6px;font-size:12px;line-height:16px}
  .lcs-thin{font-size:11px}
  .lcs-measure{font-size:12px;padding:0 2px;text-wrap:balance}     /* 'Meet het / verlies ↓', not an arrow alone on a line */
  .lcs-conv{gap:8px}
  .lcs-conv-arrow{margin-right:10px}
  .lcs-conv-arrow::after{right:-10px;border-left-width:11px;border-top-width:7px;border-bottom-width:7px}
  .lcs-conv-txt{font-size:12px;line-height:16px}
  .lcs-conv-txt b{font-size:22px;line-height:28px}
  .lcs-conv-txt .m{font-size:11px;line-height:15px}
}
@media (min-width:1440px){
  .lcs-strip{column-gap:14px}
  .lcs-main{padding:14px 12px 12px}
  .lcs-card.top .lcs-main{padding:13px 11px 11px}
  .lcs-stream{padding:8px 10px}
  .lcs-badge{left:10px;max-width:calc(100% - 20px)}
}
/* B210 (aanvulling 9 nov, Michiel's option a): eight columns or more (many, the arrow counts) are one row from 1280px;
   between 1101 and 1279px they wrap as below 1100px (three a row, the last row filled, the arrow beside its tier), which
   is final: nine columns there would break 'abonneemaanden' and 'abonnement' mid-word. The same rules, scoped to many. */
@media (min-width:1101px) and (max-width:1279px){
  .lcs-strip.many .lcs-card,.lcs-strip.many .lcs-main,.lcs-strip.many .lcs-conv{grid-template-columns:none}
  .lcs-strip.many.flat{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lcs-strip.many.flat>.lcs-card:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-strip.many.flat>.lcs-card:last-child:nth-child(3n+2){grid-column:span 2}
  .lcs-strip.many.has-conv{grid-template-columns:minmax(0,1fr)}
  .lcs-strip.many .lcs-tier{display:block;min-width:0}
  .lcs-strip.many .lcs-tier>ol{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
  .lcs-strip.many .lcs-tier.pre>ol{grid-template-columns:repeat(var(--a),minmax(0,1fr)) minmax(120px,.6fr) minmax(0,1fr)}
  .lcs-strip.many .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-strip.many .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+2){grid-column:span 2}
}
/* B210 (UX r3): the same from 1280px for eight columns or more: a long stage name of the merchant's own with Inter's wider
   letters needed 965px of a 952px strip at 1280px. Until 1440px the gaps (8px) and the boxes' side padding (6px, 5px
   inside the biggest-loss card's 2px border) give up 48px; the type and the words stay as they are. */
@media (min-width:1280px) and (max-width:1439px){
  .lcs-strip.many{column-gap:8px}
  .lcs-strip.many .lcs-main{padding-left:6px;padding-right:6px}
  .lcs-strip.many .lcs-card.top .lcs-main{padding-left:5px;padding-right:5px}
}
/* B210 (tester r4): and between 1101 and 1199px for seven columns or fewer (one row there): the long stage name with
   Inter's wider letters needed 775px of a 773px strip at 1101px with seven stages. The same 8px gaps and 6px side padding
   (5px inside the biggest-loss card's border) until the 10px gaps have room again from 1200px. */
@media (min-width:1101px) and (max-width:1199px){
  .lcs-strip:not(.many){column-gap:8px}
  .lcs-strip:not(.many) .lcs-main{padding-left:6px;padding-right:6px}
  .lcs-strip:not(.many) .lcs-card.top .lcs-main{padding-left:5px;padding-right:5px}
}
/* 1100px and narrower (B204, unchanged by B210): the plain strip three a row, then two, its last row filled (auto-fill
   left a lone last card beside an empty block); with the arrow two tiers, the first the stages up to First subscription
   with the arrow beside them, the second the rest wrapping the same way. Where the first tier gets narrow it stacks:
   the arrow a row of its own between One-off buyer and First subscription, pointing down. */
@media (max-width:1100px){
  .lcs-card,.lcs-main,.lcs-conv{grid-template-columns:none}
  .lcs-strip.flat{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lcs-strip.flat>.lcs-card:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-strip.flat>.lcs-card:last-child:nth-child(3n+2){grid-column:span 2}
  .lcs-strip.has-conv{grid-template-columns:minmax(0,1fr)}
  .lcs-strip .lcs-tier{display:block;min-width:0}
  .lcs-strip .lcs-tier>ol{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
  .lcs-strip .lcs-tier.pre>ol{grid-template-columns:repeat(var(--a),minmax(0,1fr)) minmax(120px,.6fr) minmax(0,1fr)}
  .lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+1){grid-column:1/-1}
  .lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+2){grid-column:span 2}
}
@media (max-width:1000px){
  .lcs-strip.flat{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lcs-strip.flat>.lcs-card:last-child:nth-child(n){grid-column:auto}
  .lcs-strip.flat>.lcs-card:last-child:nth-child(odd){grid-column:1/-1}
  .lcs-strip .lcs-tier>ol,.lcs-strip .lcs-tier.pre>ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+1),.lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(3n+2){grid-column:auto}
  .lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child:nth-child(odd){grid-column:1/-1}
  .lcs-conv,.lcs-conv+.lcs-card,.lcs-strip.a1 .lcs-tier.pre>ol>.lcs-card:first-child{grid-column:1/-1}
  .lcs-conv{grid-row:auto;flex-direction:row;align-items:center;gap:14px;padding:0}
  .lcs-conv-arrow{flex:none;width:3px;height:40px;margin:0 0 12px;border-radius:3px}
  .lcs-conv-arrow::after{right:auto;left:50%;top:auto;bottom:-12px;border-top:13px solid var(--fg-2);border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:0;transform:translateX(-50%)}
  .lcs-conv.none .lcs-conv-arrow::after{border-top-color:var(--teal-75);border-left-color:transparent}
  .lcs-conv-txt{text-align:left}
  .lcs-conv-txt b{display:inline;font-size:22px;line-height:28px}
  /* One-off buyer the right of two cards (after Prospect): the arrow under its column, as on Home */
  .lcs-strip.ae .lcs-conv{padding-left:calc(50% + 7px + 16px)}
}
.lcs-history{margin:16px 0 0;font-size:13px;color:var(--fg-3)}
.lcs-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.lcs-foot form{display:flex;align-items:center;gap:10px;margin:0}
.lcs-losspanel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;padding:26px 28px;border-radius:var(--r-xl);background:var(--hero);color:var(--on-hero)}
.lcs-losspanel.few{grid-template-columns:minmax(0,1fr)}   /* B282: too few measured, no facts column */
.lcs-losspanel .ds-eyebrow{color:var(--color-navy-mute)}
.lcs-losspanel h2{margin:8px 0 0;font:600 28px/36px var(--font-ui);letter-spacing:-.015em;color:#fff;text-wrap:balance}
.lcs-losspanel h2 .pct{color:var(--sunset-200)}     /* loss is orange (B187): the light Sunset that reads on the navy panel */
.lcs-losspanel p{margin:10px 0 0;max-width:62ch;font-size:15px;line-height:23px;color:var(--on-hero-2)}
.lcs-losspanel p.meta{font-size:13px;color:var(--color-navy-mute)}
.lcs-facts{display:grid;align-content:center;gap:14px;margin:0;padding-left:24px;border-left:1px solid var(--hero-line)}
.lcs-facts dt{font:600 26px/30px var(--font-ui);color:#fff;font-variant-numeric:tabular-nums}
.lcs-facts .money dt{color:var(--sunset-200)}
.lcs-facts dd{margin:4px 0 0;font-size:14px;color:var(--on-hero-2)}
@media (max-width:720px){
  .lcs-head{font-size:20px;line-height:28px}
  .lcs-losspanel{grid-template-columns:minmax(0,1fr);padding:20px}
  .lcs-losspanel h2{font-size:22px;line-height:30px}
  .lcs-facts{padding:16px 0 0;border-left:0;border-top:1px solid var(--hero-line)}
}
@media (max-width:560px){.lcs-strip,.lcs-strip .lcs-tier>ol,.lcs-strip .lcs-tier.pre>ol,.lcs-strip.flat{grid-template-columns:minmax(0,1fr)}
  .lcs-strip .lcs-tier+.lcs-tier>ol>.lcs-card:last-child,.lcs-strip.flat>.lcs-card:last-child:nth-child(n){grid-column:auto}
  .lcs-strip.ae .lcs-conv{padding-left:16px}}

/* ── B202: Levensfase steps 3–5 (c_lifecycle_steps.html). Loss and attention in Sunset, the share that comes back in brand
   green, what Churned proposes (the audience's eyebrow, the assistant's arms) in Copilot violet, the save button the one
   primary green; the navy hero stays step 2's alone ── */
.lcs-step [hidden]{display:none !important}        /* a hidden panel, chip or note stays hidden whatever display its class gives it */
.lci-switch{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px}
.lci-switch-l{color:var(--fg-3);margin-right:2px}
.lci-switch a{padding:4px 10px;border-radius:var(--r-pill);border:1px solid var(--teal-50);color:var(--fg-2);background:var(--surface);line-height:18px}
.lci-switch a:hover{text-decoration:none;border-color:var(--teal-200)}
.lci-switch a[aria-current]{border-color:var(--color-navy);color:var(--fg-1);font-weight:600}
.lci-inv{display:grid;gap:16px;grid-template-columns:minmax(0,320px) minmax(0,1fr);align-items:start}
.lci-qlist,.lci-panels{min-width:0}
.lci-subject{margin:0;font:600 19px/26px var(--font-ui);color:var(--fg-1)}
.lci-subsub{margin:4px 0 0;font-size:13px;line-height:19px;color:var(--fg-3)}
.lci-qs{display:grid;gap:8px;margin-top:14px}
.lci-qbtn{display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px 12px;border-radius:11px;border:1px solid var(--teal-50);background:var(--surface);color:var(--fg-1);font:inherit;text-align:left;cursor:pointer;transition:border-color var(--d-1)}
.lci-qbtn:hover{border-color:var(--teal-200)}
.lci-qbtn:focus-visible{outline:none;box-shadow:var(--ring)}
.lci-qbtn[aria-selected="true"]{border-color:var(--color-navy);box-shadow:inset 0 0 0 1px var(--color-navy)}
.lci-qmark{flex:none;width:20px;height:20px;margin-top:1px;display:grid;place-items:center;border-radius:50%;background:var(--teal-10);color:var(--fg-2);font:600 11px/1 var(--font-ui)}
.lci-qmark.thin{color:var(--fg-4)}
.lci-qtext{display:grid;gap:2px;min-width:0}
.lci-qq{font-size:14.5px;line-height:20px;overflow-wrap:anywhere}
.lci-qh{font-size:12.5px;line-height:17px;color:var(--fg-3);overflow-wrap:anywhere}
.lci-panel{display:grid;gap:12px;align-content:start}
.lci-title{margin:0;font:600 21px/28px var(--font-ui);letter-spacing:-.01em;text-transform:none;color:var(--fg-1);text-wrap:balance}
.lci-answer{margin:0;max-width:68ch;font-size:15.5px;line-height:24px;color:var(--fg-2)}
.lci-answer strong{font-weight:600;color:var(--fg-1)}
.lci-src{margin:2px 0 0;padding-top:10px;border-top:1px dashed var(--teal-50);font-size:12.5px;line-height:18px;color:var(--fg-3)}
.lci-key{margin:-4px 0 0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 16px;font-size:12px;line-height:16px;color:var(--fg-3)}
.lci-key>span{display:inline-flex;align-items:center;gap:6px} .lci-key .sw{flex:none;width:14px;height:10px;border-radius:3px;background:var(--teal-200)}
.lci-key .sw.rev{height:6px;background:var(--teal-400)}
/* a plan row with its revenue bar (charts.tsx Loss): customers' bar and figure on line 1, revenue's on line 2, money under */
.lci-bar.rev{row-gap:3px;grid-template-rows:auto auto 1fr}          /* a tall label grows the money line, not the bars' */
.lci-bar.rev>.lci-bl{grid-column:1;grid-row:1/span 3;align-self:start}
.lci-bar.rev>.lci-btrack{grid-column:2;grid-row:1} .lci-bar.rev>.lci-bpct{grid-column:3;grid-row:1}
.lci-bar.rev>.lci-btrack.rev{grid-row:2;height:7px;border-radius:4px} .lci-btrack.rev i{border-radius:4px;background:var(--teal-400)}
.lci-bar.rev>small{grid-column:3;justify-self:end;text-align:right;font:400 12px/16px var(--font-ui);font-variant-numeric:tabular-nums;color:var(--fg-3);white-space:nowrap}
.lci-bar.rev>.lci-brev{grid-row:2;color:var(--fg-2)} .lci-bar.rev>.lci-bmoney{grid-row:3;align-self:start}
[data-saved-audiences] td:first-child{min-width:12ch;overflow-wrap:anywhere}          /* a long unbroken saved name wraps in its cell, never widens the table (B202 r2) */
/* in a narrow card each saved audience is a card of its own (as Klanten's rows, .cl-row): the name across the top, every
   other cell under its column's name (data-l), so no ordinary word breaks mid-word and outcome and date need no sideways
   scroll; only an unbroken token longer than the line wraps anywhere (B202 r5). The switch reads the card's own width, not
   the screen's: a phone (≤720, card ≤688) and a tablet beside the side bar (721–~990, card 433–700) both get the cards;
   the six-column table needs ~530px for its ordinary words, so from a 701px card (a 1000px screen) on it stays a table */
[data-saved-audiences]{container:saved-audiences / inline-size}
@container saved-audiences (max-width:700px){
  body.console main [data-saved-audiences] table,[data-saved-audiences] tbody{display:block;overflow:visible}
  [data-saved-audiences] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  [data-saved-audiences] tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;padding:14px 16px;border-bottom:1px solid var(--border-subtle)}
  [data-saved-audiences] tr:last-child{border-bottom:0}
  [data-saved-audiences] td,[data-saved-audiences] tr:last-child td{display:block;min-width:0;padding:0;border:0;background:none}
  [data-saved-audiences] td:first-child,[data-saved-audiences] td.aud-rules{grid-column:1 / -1;min-width:0}
  /* stage and size share a line (short labels, so their values line up); rules, the outcome sentence and the date each get one */
  [data-saved-audiences] td:nth-child(2){grid-row:2;grid-column:1} [data-saved-audiences] td:nth-child(4){grid-row:2;grid-column:2}
  [data-saved-audiences] td.aud-rules{grid-row:3} [data-saved-audiences] td:nth-child(5),[data-saved-audiences] td:nth-child(6){grid-column:1 / -1}
  [data-saved-audiences] td.right{text-align:left} [data-saved-audiences] td.nowrap{white-space:normal}
  [data-saved-audiences] tbody tr:hover td{background:none} [data-saved-audiences] tbody tr:hover{background:var(--color-primary-teal-10)}
  [data-saved-audiences] td[data-l]::before{content:attr(data-l);display:block;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);margin-bottom:2px}
}
.lci-bars{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:12px}
.lci-bar{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr) minmax(96px,max-content);align-items:center;gap:6px 14px}
.lci-bl{display:grid;gap:1px;min-width:0}
.lci-bname{font-size:14.5px;line-height:20px;color:var(--fg-1);overflow-wrap:anywhere}
.lci-bsize{font-size:12.5px;line-height:17px;color:var(--fg-3)}
.lci-btrack{display:block;height:14px;border-radius:5px;background:var(--teal-10);overflow:hidden}
.lci-btrack i{display:block;height:100%;border-radius:5px;background:var(--teal-200)}
.lci-btrack i.out{background:var(--color-sunset)} .lci-btrack i.go{background:var(--color-brand)}
.lci-bpct{display:grid;justify-items:end;font:600 15px/20px var(--font-ui);font-variant-numeric:tabular-nums;color:var(--fg-1);text-align:right}
.lci-bpct small{font:400 12px/16px var(--font-ui);color:var(--fg-3)}
.lci-bar.thin .lci-bname{color:var(--fg-2)}
.lci-thinpill{display:inline-block;padding:1px 8px;border-radius:var(--r-pill);background:var(--teal-10);color:var(--fg-3);font:500 11.5px/18px var(--font-ui);white-space:nowrap}
.lci-weeks{display:flex;align-items:flex-end;gap:4px;height:170px;padding:8px 0 22px;border-bottom:1px solid var(--teal-50);position:relative}
.lci-wk{flex:1 1 0;min-width:0;height:100%;display:flex;align-items:flex-end;position:relative}
.lci-wk i{display:block;width:100%;min-height:2px;border-radius:3px 3px 0 0;background:var(--teal-200)}
.lci-wk.zero i{background:var(--teal-50)}
.lci-wk.peak.out i{background:var(--color-sunset)} .lci-wk.peak.go i{background:var(--color-brand)}
.lci-wk em{position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);font:400 11.5px/14px var(--font-ui);font-style:normal;color:var(--fg-3);white-space:nowrap}
.lci-wk em.skip{display:none}
.lci-profile{display:grid;gap:12px}
.lci-says{list-style:none;margin:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.lci-says li{display:grid;gap:2px;padding:12px 14px;border-radius:11px;border:1px solid var(--teal-50);background:var(--teal-10)}
.lci-says b{font:600 15.5px/21px var(--font-ui);color:var(--fg-1);overflow-wrap:anywhere}
.lci-says span{font-size:12.5px;line-height:17px;color:var(--fg-3)}
.lci-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:13px;color:var(--fg-2)}
.lci-legend .r{margin-left:8px}
.lci-profile .g,.lci-profile .r{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:-1px;margin-right:5px}
.lci-profile .g{background:var(--color-navy)} .lci-profile .r{border:2px solid var(--fg-4);background:var(--surface)}
.lci-trows{list-style:none;margin:0;padding:0;display:grid}
.lci-trows li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:8px 0;border-top:1px solid var(--teal-50);font-size:14px}
.lci-tl{color:var(--fg-2);overflow-wrap:anywhere}
.lci-tv{display:flex;gap:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.lci-tv b{font-weight:600;color:var(--fg-1)} .lci-tv span{color:var(--fg-3)}
.lci-none{margin:0;color:var(--fg-3)}
.lci-aud{display:grid;gap:14px}
.lci-audhead{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}
.lci-audwho{min-width:0;flex:1 1 320px}
.lci-proposed{color:var(--color-copilot)}
.lci-audname{margin:4px 0 0;font:600 22px/30px var(--font-ui);letter-spacing:-.01em;color:var(--fg-1);overflow-wrap:anywhere;text-wrap:balance}
.lci-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.lci-chips .chip{height:auto;min-height:22px;padding:2px 9px;line-height:18px;white-space:normal;overflow-wrap:anywhere;color:var(--fg-2)}
.lci-save{flex:none}
.lci-tiles{display:grid;gap:12px;margin:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.lci-tiles[hidden]{display:none}
.lci-tiles div{min-width:0;padding:12px 14px;border-radius:11px;background:var(--teal-10)}
.lci-tiles dt{font:600 24px/30px var(--font-ui);letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--fg-1)}
.lci-tiles dt.out{color:var(--color-sunset-ink)} .lci-tiles dt.go{color:var(--color-brand-strong)}
.lci-tiles dd{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--fg-2);overflow-wrap:anywhere}
.lci-rest{color:var(--fg-3)}
.lci-note,.lci-changed{margin:0;font-size:13px;line-height:19px;color:var(--fg-3)}
.lci-err{margin:0;font-size:13.5px;color:var(--color-sunset-ink)}
.lci-saved{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;justify-self:start;margin:0;padding:5px 12px;border-radius:var(--r-pill);background:var(--color-tint-mint);color:var(--color-brand-strong);font:600 13px/19px var(--font-ui)}
.lci-saved[hidden]{display:none}
.lci-saved a{color:inherit;text-decoration:underline}
.lci-audprofile{display:grid;gap:8px}
.lci-audprofile[hidden]{display:none}
.lci-audprofile-h{font:600 12px/16px var(--font-ui);letter-spacing:.04em;text-transform:uppercase;color:var(--fg-3)}
.lci-edit{border-top:1px solid var(--teal-50);padding-top:12px}
.lci-edit summary{cursor:pointer;font:600 14px/20px var(--font-ui);color:var(--fg-1);width:max-content;max-width:100%}
.lci-editbody{display:grid;gap:8px;margin-top:12px}
.lci-rule{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:11px;border:1px solid var(--teal-50);cursor:pointer}
.lci-rule.base{background:var(--teal-10);border-color:transparent;cursor:default}
.lci-rule input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:var(--color-navy)}
.lci-rule span{display:grid;gap:1px;min-width:0}
.lci-rule b{font-weight:600;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.lci-rule span span{font-size:13px;line-height:18px;color:var(--fg-3)}
.lci-day{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,260px);align-items:center;gap:8px 16px;padding:10px 12px;border-radius:11px;border:1px solid var(--teal-50)}
.lci-day span{display:grid;gap:1px;min-width:0} .lci-day b{font-weight:600;font-size:14px;font-variant-numeric:tabular-nums}
.lci-day span span{font-size:13px;color:var(--fg-3)}
.lci-day input{width:100%;accent-color:var(--color-navy)}
.lci-name{display:grid;gap:6px;font:600 13.5px/18px var(--font-ui)}
.lci-name input{min-width:0;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--border-default);font:inherit;font-weight:400;font-size:14px}
.lci-namehint{margin:-2px 0 0;font-size:12.5px;line-height:17px;color:var(--fg-3);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lci-namehint.over{color:var(--color-sunset-ink)}
.lci-name input[aria-invalid="true"]{border-color:var(--color-sunset-ink)}
.lci-rulesnote{margin:0;font-size:12.5px;color:var(--fg-3)}
.lci-cop{display:grid;gap:14px}
.lci-coptitle{margin:0;font:600 19px/26px var(--font-ui);color:var(--fg-1);text-wrap:balance}
.lci-copgrid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start}
.lci-copdl{display:grid;gap:10px;margin:0;padding:12px 14px;border-radius:11px;border:1px solid var(--teal-50)}
.lci-copdl dt{font-size:12.5px;line-height:17px;color:var(--fg-3)}
.lci-copdl dd{margin:1px 0 0;font-size:14px;line-height:20px;color:var(--fg-1);overflow-wrap:anywhere}
.lci-unsaved{color:var(--fg-3)}
.lci-armsbox{display:grid;gap:8px;min-width:0}
.lci-armshead{margin:0;font-size:12.5px;line-height:17px;color:var(--color-copilot);font-weight:600}
.lci-arms{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lci-arms li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:11px;background:var(--color-copilot-soft);border:1px solid var(--color-copilot-line)}
.lci-arms li.control{background:var(--teal-10);border-color:transparent}
.lci-armt{display:grid;gap:1px;min-width:0}
.lci-armt b{font-weight:600;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.lci-armt span{font-size:13px;line-height:18px;color:var(--fg-2);overflow-wrap:anywhere}
.lci-cost{flex:none;font-size:12px;color:var(--fg-3);white-space:nowrap}
.lci-worth{margin:0;font-size:13px;line-height:19px;color:var(--fg-3)}
.lci-copfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.lci-readonly{margin:0;flex:1 1 280px;font-size:13px;line-height:19px;color:var(--fg-3)}
@media (max-width:1100px){.lci-inv{grid-template-columns:minmax(0,1fr)}}
@media (max-width:720px){
  .lci-copgrid{grid-template-columns:minmax(0,1fr)}
  .lci-bar{grid-template-columns:minmax(0,1fr) auto}
  .lci-bl{grid-column:1/-1}
  .lci-bar.rev{grid-template-rows:none} .lci-bar.rev>.lci-bl{grid-column:1/-1;grid-row:1} .lci-bar.rev>.lci-btrack{grid-column:1;grid-row:2} .lci-bar.rev>.lci-bpct{grid-column:2;grid-row:2}
  .lci-bar.rev>.lci-btrack.rev{grid-row:3} .lci-bar.rev>small{grid-column:2} .lci-bar.rev>.lci-brev{grid-row:3} .lci-bar.rev>.lci-bmoney{grid-row:4}
  .lci-day{grid-template-columns:minmax(0,1fr)}
  .lci-wk em:not(.skip){font-size:10.5px}
}
/* ── Klanten (customers-refresh, c_customers.html): a KPI strip over the subscriptions, the search box with its filter as a
   chip, and the list as a table with a sticky head under the top bar; at 720px and below each row is a card (no sideways
   scroll). Colour by meaning (B187): green only for a running subscription, Sunset for a payment that is behind (its
   KPI tile is the console's one tile, B207: .ds-kpi.attn), the rest navy/teal; pill texts read AA on their fills. Only background and border colours move, 150ms. ── */
.cl-page .sub{margin-bottom:16px}
.cl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cl-search{gap:8px;margin:0 0 12px;flex-wrap:nowrap}
.cl-search-box{position:relative;flex:0 1 520px;min-width:0}
.cl-search-box>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--fg-3);pointer-events:none}
.cl-search-box input{width:100%;padding-left:38px;border-radius:12px}
.cl-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 14px;color:var(--fg-3)}
.cl-context-n strong{color:var(--fg-1)}
.cl-links{display:inline-flex;flex-wrap:wrap;gap:8px}
.cl-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:2px 6px 2px 10px;border-radius:var(--r-pill);font-size:13px;line-height:18px;
  background:var(--surface);border:1px solid var(--teal-50);color:var(--fg-2);max-width:100%;transition:background-color var(--d-1),border-color var(--d-1)}
.cl-chip .k{color:var(--fg-3)} .cl-chip .v{font-weight:600;color:var(--fg-1);overflow-wrap:anywhere;min-width:0}
.cl-chip.on{background:var(--teal-10);border-color:var(--teal-75)}
.cl-chip.link{padding:2px 12px 2px 10px;font-weight:500}
.cl-chip.link:hover{text-decoration:none;background:var(--teal-10);border-color:var(--teal-75)}
.cl-chip.link i{font-size:14px;color:var(--fg-3)}
.cl-chip .x{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:var(--fg-3);transition:background-color var(--d-1)}
.cl-chip .x:hover{background:var(--teal-50);text-decoration:none}
.cl-card{background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--sh-card)}
.cl-table{border-collapse:separate;border-spacing:0;font-size:13px;line-height:18px}
.cl-table thead th{position:sticky;top:var(--topbar-h);z-index:var(--z-raised);padding:11px 14px;background:var(--surface);border-bottom:1px solid var(--teal-50);
  font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);white-space:nowrap}
.cl-table thead th:first-child{border-top-left-radius:var(--r-xl)} .cl-table thead th:last-child{border-top-right-radius:var(--r-xl)}
.cl-table .num{text-align:right}
.cl-row{position:relative}
.cl-row td{padding:12px 14px;vertical-align:middle;border-bottom:1px solid var(--teal-25);transition:background-color var(--d-1)}
.cl-row:last-child td{border-bottom:0}
.cl-row:hover td,.cl-row:has(.cl-name:focus-visible) td{background:var(--teal-10)}
.cl-row:last-child td:first-child{border-bottom-left-radius:var(--r-xl)} .cl-row:last-child td:last-child{border-bottom-right-radius:var(--r-xl)}
.cl-who{display:flex;align-items:center;gap:12px;min-width:220px}
.cl-id{display:flex;flex-direction:column;min-width:0}
.cl-name{font-weight:600;font-size:14px;line-height:20px;color:var(--fg-1)}
a.cl-name::after{content:"";position:absolute;inset:0}          /* the whole row opens the customer: one stretched link */
a.cl-name:focus-visible{outline:none;box-shadow:none;text-decoration:underline}
.cl-email{font-size:12px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere}
.cl-st{white-space:nowrap}
.cl-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:12px;font-weight:500;line-height:22px;white-space:nowrap;
  background:var(--teal-10);color:var(--teal-500);border:1px solid transparent}
.cl-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.cl-pill.active{background:var(--color-tint-mint);color:var(--color-brand-strong)}
.cl-pill.past_due{background:var(--color-tint-sunset);color:var(--color-sunset-ink)}
.cl-pill.trialing{background:var(--teal-10);color:var(--teal-500)}
.cl-pill.paused{background:var(--teal-25);color:var(--teal-500)}
.cl-pill.cancelled,.cl-pill.expired{background:var(--surface);color:var(--teal-400);border-color:var(--teal-50)}
.cl-pill.stage{background:var(--surface);color:var(--teal-500);border-color:var(--teal-75)}
.cl-pill.sys,.cl-pill.via{background:var(--teal-10);color:var(--teal-500)} .cl-pill.sys{font-family:var(--mono)}
.cl-pill.stage::before,.cl-pill.sys::before,.cl-pill.via::before{display:none}
.cl-pill.cl-tc{background:var(--surface);color:var(--teal-500);border:1px dashed var(--teal-75);vertical-align:middle;font-weight:600;line-height:20px}       /* B266: a test customer (neutral: not running, not behind, B187) */
.cl-pill.cl-tc::before{display:none}
/* B266 'Testklant toevoegen' (c_test_customer.html): a disclosure under the page's intro */
.cl-tc-new{margin:0 0 14px}
.cl-tc-new>summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer}
.cl-tc-new>summary::-webkit-details-marker{display:none}
.cl-tc-body{margin-top:10px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-card, 12px);background:var(--surface);max-width:100%;box-sizing:border-box}
.cl-tc-intro{margin:0 0 10px;font-size:13px;line-height:19px;color:var(--fg-2);overflow-wrap:anywhere}
.cl-tc-error{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--fg-1)}
.cl-tc-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px}
.cl-tc-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:500;color:var(--fg-2);flex:1 1 180px;min-width:0}
.cl-tc-field select,.cl-tc-field input{width:100%;min-width:0;box-sizing:border-box}
@media (max-width:600px){.cl-tc-form .btn{width:100%}}
.cl-more{margin-left:6px;font-size:12px;font-weight:500;color:var(--fg-3)}
.cl-none{font-size:12px;color:var(--fg-3)}
.cl-val{font-weight:600;color:var(--fg-1);white-space:nowrap;font-variant-numeric:tabular-nums}
.cl-country{color:var(--fg-3)}
.cl-since{color:var(--fg-2)}
.cl-empty-row td{padding:0;border-bottom:0}
/* B233: the shop's own people on Klanten. The line that says how the list adds up and the stage filter under the search,
   the orders, spent and last order in a Shopify row's Status cell (two short lines), and the pager under the card. */
.cl-shop{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 14px}
.cl-shop-line{margin:0;color:var(--fg-3);font-size:13px;min-width:0;flex:1 1 320px}
.cl-shop-filter{display:flex;flex-wrap:wrap;gap:8px}
.cl-shop-filter .cl-chip.on{font-weight:600}
.cl-chip-n{color:var(--fg-3);font-variant-numeric:tabular-nums}
.cl-shop-st{display:flex;flex-direction:column;gap:2px}
/* a search's seventh column at 1101px: a Shopify row's two Status lines a few px narrower so the table stays in its card (r5);
   in en 'last Wed 11 Nov 2026' (B233's Status lines) still held the table 5px past the card at 1101-1105, so the Status
   cell's sides give 4px each there (the lines do not wrap: a taller Status cell would outgrow the customer's flex cell) */
@media (min-width:1101px) and (max-width:1279px){
  .cl-shop-st .cl-none{font-size:11px}
  .cl-table td.cl-st,.cl-table thead th:nth-child(2){padding-left:6px;padding-right:6px}      /* its header keeps in line with it */
}
.cl-name-row{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0} .cl-name-row>.cl-name{min-width:0;overflow-wrap:anywhere}      /* the name and its Shopify pill on one line, the pill as wide as its word */
.cl-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0}
.cl-pager-n{color:var(--fg-3);font-size:13px;font-variant-numeric:tabular-nums;text-align:center}
.cl-pager .btn i{font-size:14px}
.cl-empty{display:grid;justify-items:center;gap:6px;padding:40px 24px;text-align:center}
.cl-empty .ic{width:52px;height:52px;margin-bottom:6px;border-radius:16px;display:grid;place-items:center;font-size:26px;background:var(--teal-10);color:var(--fg-3)}
.cl-empty .t{margin:0;font:var(--t-h3);color:var(--fg-1)} .cl-empty .b{margin:0;color:var(--fg-3)}
.cl-empty .btn{margin-top:8px}
@media (max-width:720px){
  .cl-search .btn{flex:none}
  .cl-card{background:none;box-shadow:none}
  .cl-table,.cl-table tbody{display:block}
  .cl-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .cl-table thead th{position:static}            /* r5: a head nobody sees is not sticky either (nothing to slide under it) */
  .cl-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:0 0 10px;padding:14px;border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card);
    transition:background-color var(--d-1)}
  .cl-row td,.cl-row:last-child td{display:block;padding:0;border:0;background:none;border-radius:0}
  .cl-row:hover td,.cl-row:has(.cl-name:focus-visible) td{background:none}
  .cl-row:hover,.cl-row:has(.cl-name:focus-visible){background:var(--teal-10)}
  .cl-row td.cl-who{display:flex;grid-row:1;grid-column:1 / -1;min-width:0}
  .cl-row td.cl-st{grid-row:2;grid-column:1;align-self:center}
  .cl-row td.cl-stage{grid-row:2;grid-column:2 / -1;justify-self:end;align-self:center;min-width:0;max-width:100%}
  .cl-stage .cl-pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .cl-row td.cl-val{grid-row:3;grid-column:1} .cl-row td.cl-country{grid-row:3;grid-column:2} .cl-row td.cl-since{grid-row:3;grid-column:3}
  .cl-val,.cl-country,.cl-since{font-size:13px} .cl-row td.cl-since{font-family:var(--font-ui);white-space:normal}
  .cl-row td.cl-extra{grid-row:4;grid-column:1 / -1;font-size:13px}
  .cl-row td[data-l]::before{content:attr(data-l);display:block;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);margin-bottom:2px}
  .cl-row .cl-val{text-align:left}
  .cl-row td:empty{display:none}
  .cl-empty-row{display:block;border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card)} .cl-empty-row td{display:block}
}
/* B199 r5: from 1101px the table's own minimum (823px in English with six columns, 952px with a search's or a stage's
   seventh) was wider than its card (813px at 1101px), so the header's band and the rows' lines ran past the card's right
   edge and rounded corner. Up to 1279px (from 1280px the card is 992px, room for the widest seven columns, 952px) the
   cells take 10px a side (14px at the card's edges), the headers wrap at their spaces, a date wraps once, before its
   year (10ch: 'Wed 28 Oct'), and the customer's cell keeps 180px of its 220px floor, so the table (at most ~805px) is
   never wider than its card in either language, so B209's scroller (data-list-scroll=over) stays off there. */
@media (min-width:1101px) and (max-width:1279px){
  .cl-table thead th{padding:11px 10px;white-space:normal;vertical-align:bottom}
  .cl-row td{padding:12px 10px}
  .cl-table thead th:first-child,.cl-row td:first-child{padding-left:14px} .cl-table thead th:last-child,.cl-row td:last-child{padding-right:14px}
  .cl-row td.cl-who{min-width:180px;gap:10px}
  .cl-row td.cl-since{white-space:normal;min-width:calc(10ch + 20px)} .cl-row td.cl-extra .nowrap{display:inline-block;min-width:10ch;white-space:normal}
}
@media (prefers-reduced-motion:reduce){.cl-chip,.cl-chip .x,.cl-row,.cl-row td{transition:none}}

/* ── B194: the usage notice, 'Feedback geven' in the top bar, and Productinzichten (staff only) ── */
.ux-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap} .ux-notice>i{font-size:18px;flex:none} .ux-notice>span{flex:1 1 280px;min-width:0}
.ux-notice form{margin:0;flex:none} .ux-notice a{color:inherit;font-weight:600;text-decoration:underline}
.ux-fb{position:relative;flex:none} .ux-fb>summary{list-style:none} .ux-fb>summary::-webkit-details-marker{display:none}
.ux-fb-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(340px,calc(100vw - 32px));display:flex;flex-direction:column;gap:8px;padding:14px;
  background:var(--bg-surface);border:1px solid var(--border-default);border-radius:var(--radius-lg);box-shadow:0 12px 32px -8px rgba(2,17,20,.25);z-index:var(--z-raised)}
.ux-fb-panel textarea{width:100%;box-sizing:border-box;font:inherit;resize:vertical}
.ux-fb.panel{margin-top:16px} .ux-fb.panel .ux-fb-panel{position:static;width:auto;margin-top:8px;box-shadow:none}
@media (max-width:1100px){.topbar .ux-fb>summary.btn{font-size:0;gap:0;padding:0 8px} .topbar .ux-fb>summary.btn i{font-size:18px}}
@media (max-width:720px){.topbar .ux-fb{display:none}}
.staff-insights .si{max-width:1180px} .si h2{margin:28px 0 10px;font-size:18px} .si h2 small{font-size:12.5px;font-weight:400;margin-left:6px}
.si-filters{gap:14px;margin-bottom:6px} .si-filters select{font:inherit;height:32px} .si-filters .spacer,.si-head .spacer{flex:1 1 0}
.si-jump{gap:16px;margin:10px 0 0} .si-item{margin-bottom:10px} .si-head{gap:8px} .si-title{font-weight:600;min-width:0;overflow-wrap:anywhere}
.si-meta{display:flex;flex-wrap:wrap;gap:6px 22px;margin:10px 0 6px} .si-meta div{min-width:0} .si-meta dt{color:var(--fg-4);font-size:11px} .si-meta dd{margin:0;overflow-wrap:anywhere}
.si-trail{margin:8px 0 4px;padding-left:20px;font-size:11.5px;line-height:18px;overflow-wrap:anywhere} .si-actions{margin-top:8px} .si-status{gap:6px;margin:0} .si-status select{font:inherit;height:32px}
.si-md{width:100%;min-height:140px;font-family:var(--mono);font-size:12px} .si-quote{margin:8px 0;padding:8px 12px;border-left:3px solid var(--color-sunset);background:var(--bg-app);white-space:pre-wrap;overflow-wrap:anywhere}

/* ── Rapporten (B205): the reports a store builds (c_reports.html, c_report_builder.html, c_report.html, c_report_result.html).
   The cohort table is a heat map in five teal bands, navy text on every band (contrast ≥ 5:1), so it reads in light mode;
   it scrolls sideways inside its own card with the cohort column held in place, never the page. The chart is an SVG
   stretched to its box with strokes that do not scale; its axis labels are HTML beside it, so no text is stretched. ── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.rb-mine-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:28px 0 4px} .rb-mine-head h2{margin:0}
.rb-mine-sub{margin-bottom:12px}
.rb-mine .rb-mine-name{min-width:12ch;overflow-wrap:break-word} .rb-mine .rb-mine-acts .btn{vertical-align:middle}
.rb-mine td{vertical-align:middle}
.rb-mine thead th{position:relative}       /* holds its .sr-only word: absolute without a positioned cell, it escaped the table's own scroll and widened the page at 375px */
.rb-form{display:flex;flex-direction:column;gap:16px} .rb-form:hover{box-shadow:var(--shadow-card)}
.rb-field{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:6px}
/* the field's own heading only (its legend, or the label of its select or input): the choices inside it are labels too */
.rb-field>legend,.rb-field>label[for]{padding:0;margin:0 0 2px;font-weight:500;color:var(--fg-1);display:flex;flex-direction:column;gap:2px}
.rb-field>legend .small,.rb-field>label[for] .small{font-weight:400}
.rb-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.rb-type{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border-default);border-radius:var(--radius-lg);cursor:pointer}
.rb-type:has(input:checked){border-color:var(--color-navy)} .rb-type input{margin-top:3px} .rb-type span{display:flex;flex-direction:column;gap:2px;min-width:0}
.rb-seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--teal-25);max-width:100%;flex-wrap:wrap}
.rb-seg label{position:relative;cursor:pointer} .rb-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.rb-seg span{display:block;padding:6px 12px;border-radius:8px;white-space:nowrap;color:var(--fg-3)}
.rb-seg input:checked+span{background:var(--surface,#fff);color:var(--fg-1);font-weight:600;box-shadow:var(--shadow-input)}
.rb-seg input:focus-visible+span{box-shadow:0 0 0 3px var(--ring-focus)}
.rb-radio,.rb-check{display:flex;gap:8px;align-items:flex-start;cursor:pointer;line-height:20px} .rb-radio input,.rb-check input{margin:3px 0 0;flex:none}
.rb-check span{min-width:0;overflow-wrap:break-word}
.rb-field select{height:40px;font:inherit;max-width:100%}
.rb-plan-list{display:grid;gap:6px 18px;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));max-height:220px;overflow:auto;padding:2px}
.rb-name input{height:40px;font:inherit;width:100%;max-width:520px;padding:0 10px}
.rb-actions{gap:10px}
@media (max-width:520px){.rb-actions .btn{flex:1 1 100%}}
.rb-result-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px} .rb-summary{font-weight:400}
.rb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px} .rb-head .sub{margin-bottom:0} .rb-head-text{min-width:0} .rb-head h1{overflow-wrap:break-word}
.rb-result{display:flex;flex-direction:column;gap:12px;min-width:0}
.rb-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap} .rb-explain{margin:0;max-width:96ch;flex:1 1 320px}
.rb-table-card{overflow-x:auto}
/* r3: the fixed overview's cohort table (Standaardoverzichten, c_reports.html) breaks no month key or figure: at 375px
   '2026-01' split at its hyphen over two lines. A wider table scrolls inside its card (.card.flat:has(>table)). */
[data-rep-cohorts] td{white-space:nowrap}
/* B217: the fixed overviews look like the builder's result. The cohort table IS its heat map (table.rb-cohorts in a
   .rb-table-card, the bands, the sticky cohort column, the legend and the pre-migration hatch: all the rules of this block),
   so there is one scale and nothing of it is said twice here. Churn by cause and dunning outcomes: a bar per row as wide
   as the row's share of the total (.rep-track, its width in the template: no script), centred on the row's text so the
   label, the count and the percentage keep one baseline. Churn causes in one teal; a dunning outcome in its meaning's
   tone, the pills' own dots: recovered green, lost red, anything still running grey. */
.rep-cohort-none{margin:0} .rep-fixed{gap:16px} .rep-cohorts .rb-legend,.rep-cohorts .rep-cohort-note{margin:0} .rep-shares{align-items:start}
body.console main table.rep-bars{display:table}       /* a phone's tables scroll on their own (display:block): this one wraps its label and fills its card */
table.rep-bars td{padding-left:8px;padding-right:8px} table.rep-bars td:first-child{padding-left:12px;overflow-wrap:anywhere}
table.rep-bars td.rep-bar{width:32%;min-width:56px} table.rep-bars td[data-rep-n],table.rep-bars td[data-rep-pct]{width:1%}       /* the figures as wide as they are: the label has the rest */
@media (max-width:720px){table.rep-bars td.rep-bar{width:24%}}       /* a phone: a long reason stays whole beside a shorter bar */
table.rep-bars tr.rep-sub td:first-child{padding-left:28px}       /* B236: a category's sub-reasons beneath it, indented as the Opzegflow card's breakdown */
.rep-track{display:inline-block;width:100%;height:8px;border-radius:var(--r-pill);background:var(--teal-10);overflow:hidden;vertical-align:middle}
.rep-track i{display:block;height:100%;border-radius:var(--r-pill);background:var(--teal-200)}
.rep-track i.ok{background:var(--green-300)} .rep-track i.critical{background:var(--red-600)} .rep-track i.neutral{background:var(--color-gray-400)}
tbody tr:hover .rep-track{background:var(--teal-50)}
table.rb-cohorts{width:auto;min-width:100%} table.rb-cohorts th,table.rb-cohorts td{white-space:nowrap;vertical-align:middle}
/* a row's cells on one baseline (the cohort's label is 12px, its figures 14px: centred, they sat ~1px apart), and the last
   row without a bottom line in its label cell too: the global `tr:last-child td` reset leaves the row's th out */
table.rb-cohorts tbody th,table.rb-cohorts tbody td{vertical-align:baseline} table.rb-cohorts tbody tr:last-child th{border-bottom:0}
table.rb-cohorts thead th{background:var(--bg-surface)}
table.rb-cohorts .rb-sticky{position:sticky;left:0;z-index:var(--z-raised);background:var(--bg-surface);font-weight:500;color:var(--fg-1);box-shadow:1px 0 0 var(--border-subtle)}
table.rb-cohorts thead .rb-sticky{color:var(--fg-3)}
table.rb-cohorts tbody tr:hover .rb-sticky{background:var(--color-primary-teal-10)}
.rb-size{display:inline-flex;align-items:baseline;gap:6px;justify-content:flex-end}       /* baseline: the size sits on the row's baseline beside its chip */
.rb-small{height:20px;font-size:11px;background:var(--color-orange-100);color:var(--color-orange-800)}
.rb-cell{min-width:64px;font-weight:500;color:var(--color-navy)}
.rb-cell.b0,.rb-swatch.b0{background:#f1f8f9} .rb-cell.b1,.rb-swatch.b1{background:#ddebee} .rb-cell.b2,.rb-swatch.b2{background:#bbd9e0}
.rb-cell.b3,.rb-swatch.b3{background:#94bdc6} .rb-cell.b4,.rb-swatch.b4{background:#78a4ae}
.rb-cell.none{color:var(--fg-3);font-weight:400}       /* --fg-4 was 4.0:1 on white: --fg-3 is above 4.5:1 */ .rb-swatch.none{background:var(--bg-surface);border:1px dashed var(--border-default)}
tbody tr:hover td.rb-cell.none{background:var(--color-primary-teal-10)}
.rb-legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;color:var(--fg-2)}
.rb-key{display:inline-flex;align-items:center;gap:6px;white-space:nowrap} .rb-key:last-child{white-space:normal}
.rb-swatch{display:inline-block;width:14px;height:14px;border-radius:4px;flex:none;box-shadow:inset 0 0 0 1px rgba(0,43,53,.12)}
.rb-chart-card:hover{box-shadow:var(--shadow-card)}
.rb-chart{display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px;margin-top:8px}
.rb-y{position:relative;height:240px} .rb-y span{position:absolute;right:0;transform:translateY(-50%);font-size:11px;line-height:14px;color:var(--fg-4);white-space:nowrap}
.rb-plot{position:relative;min-width:0;padding-bottom:22px}
.rb-plot svg{display:block;width:100%;height:240px;overflow:visible;cursor:crosshair}
.rb-plot svg:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus);border-radius:6px}
.rb-gl{stroke:var(--border-subtle);stroke-width:1;vector-effect:non-scaling-stroke;fill:none}
.rb-line .l{fill:none;stroke:var(--rb-c);stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;transition:opacity .15s,stroke-width .15s}
.rb-line .p{fill:none;stroke:var(--rb-c);stroke-width:6;vector-effect:non-scaling-stroke;stroke-linecap:round;transition:opacity .15s}
.rb-chart.focus .rb-line{opacity:.18} .rb-chart.focus .rb-line.on{opacity:1} .rb-chart.focus .rb-line.on .l{stroke-width:3}
.rb-cursor{fill:none;stroke:var(--color-navy);stroke-width:12;vector-effect:non-scaling-stroke;stroke-linecap:round;opacity:.25}
.rb-x{position:absolute;left:0;right:0;bottom:0;height:18px}
.rb-x span{position:absolute;transform:translateX(-50%);font-size:11px;line-height:14px;color:var(--fg-4);display:none}
.rb-x span.w{display:block}
@media (max-width:720px){.rb-x span.w{display:none} .rb-x span.n{display:block} .rb-chart{grid-template-columns:38px minmax(0,1fr)}}
.rb-chart-note{margin:6px 0 0}
/* B205 aanvulling 9 nov: a cohort of before the store's migration holds only what still ran at the switch-over. Its row is
   faded by its ink, not by opacity (the sticky label must stay opaque over the figures scrolling under it) and not by its
   band: a band half-way to white read as the next lower band of the legend (r2: a 100% cell painted like 40-60%). So each
   cell keeps its own band colour under a light hatch of the card's surface (a token: gradients stay in the palette;
   on average 7.5% towards white: still nearest its own band), the legend's 'vóór overstap (gearceerd)' key shows that
   hatch, and the ink is lighter than navy yet >= 3.9:1 on its band: --fg-3 on b0-b2, --teal-500 on b3-b4 (--fg-3 is 2.3:1 on b4).
   Tests: test_report_builder_pre_migration_browser, test_report_builder_pre_migration_bands. Its line dashed. */
.rb-pre-note{margin:0;display:flex;gap:8px;align-items:flex-start} .rb-pre-note>span:last-child{min-width:0;flex:1}
.rb-pre-mark{display:inline-flex;flex:none;width:14px;height:14px;color:currentColor}
.rb-pre-mark svg{display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.rb-pre-note .rb-pre-mark{margin-top:3px}
table.rb-cohorts th[data-rb-label] .rb-pre-mark{margin-left:6px;vertical-align:-2px;color:var(--fg-3)}
table.rb-cohorts tr.rb-pre th,table.rb-cohorts tr.rb-pre td{color:var(--fg-3)} table.rb-cohorts tr.rb-pre .rb-cell{font-weight:400}
tr.rb-pre .rb-cell:not(.none),.rb-swatch.rb-hatch{background-image:repeating-linear-gradient(135deg,color-mix(in srgb,var(--bg-surface) 30%,transparent) 0 2px,transparent 2px 8px)}
/* r3: on the two lightest bands a surface stripe is 1.02:1 and 1.06:1, no hatch at all, so a pre-migration 0% cell read as
   an ordinary one beside its hatched row. There the stripe is the teal ink at 12% (1.18:1, as visible as b2's 1.13:1),
   a palette colour and not --fg-3 (a theme could lighten that), and light enough that the cell stays nearest its own
   band. Test: test_ux_report_builder_r3::test_the_pre_migration_hatch_can_be_seen_on_every_band. */
table.rb-cohorts tr.rb-pre .rb-cell.b0,table.rb-cohorts tr.rb-pre .rb-cell.b1{background-image:repeating-linear-gradient(135deg,color-mix(in srgb,var(--color-primary-teal-400) 12%,transparent) 0 2px,transparent 2px 8px)}
table.rb-cohorts tr.rb-pre .rb-cell.b3,table.rb-cohorts tr.rb-pre .rb-cell.b4{color:var(--teal-500)}
.rb-line.pre .l{stroke-dasharray:5 4;stroke-linecap:butt;stroke-opacity:.7} .rb-line.pre .p{stroke-opacity:.7}
/* the chart's tooltip names a cohort, 'vóór overstap' and its month on its second line: wider than a sparkline's, and that
   line wraps between words rather than running out of the box (it did at 768: 'week of 1 Jun 2026 · before migration · M') */
#rb-tip{max-width:min(340px,calc(100vw - 16px))} #rb-tip span{white-space:normal}

/* ── B311: Rapporten's chart area (c_reports.html, c_chart_figure.html; web/chart_view, web/chart_svg). One card on top:
   the GET form (its fields wrap; at a phone's width each is a full row), the chart's title and blurb, the headline figure
   with its delta chip, the chart (the cohort chart's grid: y labels, the plot, x labels; a money axis is wider, a second %
   axis on the right), the legend (a long plan name wraps inside its key), the note and the figures in <details>.
   Bars, areas and ghost shapes take their colour from --rb-c; nothing in the svg is text. */
.rc-card{display:flex;flex-direction:column;gap:12px;min-width:0;margin:8px 0 8px}
.rc-card:hover{box-shadow:var(--shadow-card)}
.rc-form{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end}
.rc-form .rc-field{flex:0 1 auto;min-width:0}
.rc-form .rc-field-chart{flex:1 1 260px;max-width:340px} .rc-form .rc-field-chart select{width:100%}
.rc-form .rc-field-day input{height:40px;font:inherit;padding:0 10px;max-width:100%}
.rc-form .rc-compare{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 10px;min-height:40px}
.rc-form .rc-compare small{flex:1 1 100%;line-height:16px}
.rc-go{display:flex;align-items:flex-end}
@media (max-width:640px){.rc-form .rc-field,.rc-form .rc-field-chart{flex:1 1 100%;max-width:none} .rc-form .rc-field select,.rc-form .rc-field input[type=date]{width:100%} .rc-go,.rc-go .btn{flex:1 1 100%}}
.rc-title-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;border-top:1px solid var(--border-subtle);padding-top:12px}
.rc-title{margin:0;font-size:18px;line-height:24px;overflow-wrap:anywhere} .rc-blurb{margin:-8px 0 0;max-width:96ch}
.rc-figure{display:flex;flex-direction:column;gap:12px;min-width:0}
.rc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.rc-headline{display:flex;flex-direction:column;gap:2px;min-width:0}
.rc-big{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
.rc-big-value{font-size:28px;line-height:34px;font-weight:600;color:var(--fg-1);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rc-head-sub{overflow-wrap:anywhere}
.rc-acts{gap:8px;flex-wrap:wrap} .rc-save{display:inline-flex;margin:0}
.rc-empty{margin:0;color:var(--fg-2)}
.rc-chart{margin-top:0}
.rc-chart.rc-money{grid-template-columns:64px minmax(0,1fr)}
.rc-chart.rc-right{grid-template-columns:44px minmax(0,1fr) 40px} .rc-chart.rc-money.rc-right{grid-template-columns:64px minmax(0,1fr) 40px}
.rc-y2 span{right:auto;left:0}
@media (max-width:720px){.rc-chart.rc-money{grid-template-columns:56px minmax(0,1fr)} .rc-chart.rc-right{grid-template-columns:38px minmax(0,1fr) 36px}}
.rb-x span.start{transform:none} .rb-x span.end{transform:translateX(-100%)}
/* a bar's label stays centred on its bar, so the plot keeps room for half a label at its right; the label row sits
   below the y axis' last label, so a first label that reaches past the plot's left never touches its '0' */
.rc-chart{padding-right:14px} .rc-chart.rc-right{padding-right:0} .rc-chart .rb-plot{padding-bottom:26px}
.rc-chart .rb-x span{white-space:nowrap}
.rc-vals{position:absolute;left:0;right:0;top:0;height:240px;pointer-events:none}
.rc-vals span{position:absolute;transform:translate(-50%,-115%);font-size:11px;line-height:13px;font-weight:600;color:var(--fg-2);white-space:nowrap;display:none}
.rc-vals span.w{display:block}
@media (max-width:720px){.rc-vals span.w{display:none} .rc-vals span.n{display:block}}
.rc-zero{stroke:var(--color-primary-teal-300)}
.rc-area .a{fill:var(--rb-c);fill-opacity:.82;stroke:none;transition:opacity .15s} .rc-area .t{fill:none;stroke:var(--surface,#fff);stroke-width:1;vector-effect:non-scaling-stroke;stroke-opacity:.7}
.rc-bar path{fill:var(--rb-c);transition:opacity .15s} .rc-ghostbar path{fill:var(--rb-c);fill-opacity:.22}
.rc-line.rc-ghost .l{stroke-dasharray:5 4;stroke-linecap:butt;stroke-opacity:.9}
.rc-line.net .l{stroke-width:2.5} .rc-line.net .p{stroke-width:5}
.rb-chart.focus .rc-area,.rb-chart.focus .rc-bar[data-rb-line]{opacity:.3} .rb-chart.focus .rc-area.on,.rb-chart.focus .rc-bar.on{opacity:1}
.rc-hatch{pointer-events:none} .rc-hatch-line{stroke:var(--color-primary-teal-300);stroke-width:2;stroke-opacity:.35}
.rc-legend .rb-key{white-space:normal;min-width:0;align-items:flex-start} .rc-legend .rb-key>span{min-width:0;overflow-wrap:anywhere}
.rc-swatch{display:inline-block;flex:none;width:14px;height:14px;border-radius:4px;background:var(--rb-c);margin-top:1px}
.rc-swatch.line,.rc-swatch.dash{height:3px;border-radius:2px;margin-top:7px}
.rc-swatch.dash{background:repeating-linear-gradient(90deg,var(--rb-c) 0 5px,transparent 5px 9px)}
.rc-swatch.ghost{background:color-mix(in srgb,var(--rb-c) 22%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rb-c) 40%,transparent)}
/* B316: the Analytics Hub (c_reports.html, _hub_body.html, static/hub.js). One grid of six columns: a widget is breed
   (all six), middel (three) or klein (two; three on a tablet); a phone has one column, where the grip is gone and the
   up/down buttons move a widget. Each widget is a card with its title, the line under it and its tools in one header; a
   card inside it (a table's own scroller) lies flat on it. The menu of sizes and 'Verwijderen' opens under its button,
   right-aligned, inside the card's right edge. */
.hub-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 16px;flex-wrap:wrap;margin-bottom:16px}
.hub-head-text{min-width:0;flex:1 1 320px} .hub-head h1{margin:0} .hub-head .sub{margin:4px 0 0;max-width:72ch}
.hub-head-acts{flex:none;gap:8px}
.hub-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:0 0 12px}
.hub-hint{margin:0;min-width:0;flex:1 1 240px} .hub-reset{margin:0;flex:none}
.hub-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:start}
.hub-w{grid-column:span 6;min-width:0;display:flex;flex-direction:column;gap:12px;position:relative}
.hub-w.hub-m{grid-column:span 3} .hub-w.hub-s{grid-column:span 2}
.hub-w-head{display:flex;align-items:flex-start;gap:8px;min-width:0}
.hub-w-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.hub-w-title{margin:0;font-size:16px;line-height:22px;overflow-wrap:anywhere} .hub-w-sub{overflow-wrap:anywhere}
.hub-w-tools{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:none;flex-wrap:wrap;max-width:60%}
/* the widget's <form> only carries hidden fields for the buttons that point at it: no box, so it does not add a second gap in the toolbar (B316) */
.hub-w-form{display:contents}
.btn.sm.icon{width:32px;padding:0;flex:none}
.hub-grip{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:32px;margin-left:-8px;padding:0;border:0;border-radius:var(--radius-md);background:transparent;color:var(--fg-3);cursor:grab;touch-action:none}
.hub-grip:hover{background:var(--teal-10);color:var(--fg-1)} .hub-grip:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)} .hub-grip i{font-size:18px}
.hub-w.hub-dragging{opacity:.55;box-shadow:0 0 0 2px var(--teal-400)} .hub-sorting .hub-w{transition:none} .hub-sorting,.hub-sorting *{cursor:grabbing}
.hub-w-body{min-width:0;display:flex;flex-direction:column;gap:12px}
.hub-w .card{box-shadow:none} .hub-w .card:hover{box-shadow:none}
.hub-w .card.flat{border:1px solid var(--border-subtle);border-radius:var(--radius-md)}
.hub-w .rc-figure{gap:10px} .hub-blurb{margin:0}
.hub-w .rep-bars{width:100%}
/* B316 r2: a chart in a Klein or Middel widget is as narrow as a phone's, whatever the viewport, so the widget's size (not a
   media query) picks the thinned label set; otherwise 'dec 2025' runs into 'jan 2026' and '11' into '12+' */
.hub-w.hub-s .rb-x span.w,.hub-w.hub-m .rb-x span.w,.hub-w.hub-s .rc-vals span.w,.hub-w.hub-m .rc-vals span.w{display:none}
.hub-w.hub-s .rb-x span.n,.hub-w.hub-m .rb-x span.n,.hub-w.hub-s .rc-vals span.n,.hub-w.hub-m .rc-vals span.n{display:block}
.hub-menu{position:relative;flex:none} .hub-menu:not([open]) .hub-menu-pop{display:none} .hub-menu>summary{list-style:none} .hub-menu>summary::-webkit-details-marker{display:none}
.hub-menu-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:var(--z-raised);min-width:168px;max-width:min(240px,calc(100vw - 32px));display:flex;flex-direction:column;padding:6px;background:var(--bg-surface);border-radius:var(--radius-md);box-shadow:var(--shadow-card),0 8px 24px -6px rgba(2,5,6,.18)}
.hub-menu-label{padding:4px 8px 2px}
.hub-menu-item{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:0 8px;border:0;border-radius:var(--radius-sm,6px);background:transparent;font:inherit;font-size:13px;color:var(--fg-1);text-align:left;cursor:pointer}
.hub-menu-item:hover,.hub-menu-item:focus-visible{background:var(--teal-10);outline:none} .hub-menu-item i{font-size:16px;flex:none}
.hub-menu-item[aria-pressed=false] i{visibility:hidden} .hub-menu-item.danger{color:var(--red-800);border-top:1px solid var(--border-subtle);border-radius:0;margin-top:4px;padding-top:4px}
.hub-kpi{display:flex;flex-direction:column;gap:2px;min-width:0}
.hub-kpi-value{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0} .hub-kpi-sub,.hub-kpi-label{overflow-wrap:anywhere} .hub-kpi-more{margin-top:6px;align-self:flex-start}
.hub-lazy{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.hub-none{grid-column:1/-1}
.hub-error{margin:0 0 12px}
.hub-add{display:flex;flex-direction:column;gap:16px;margin:0 0 16px;scroll-margin-top:16px}
.hub-add:hover{box-shadow:var(--shadow-card)}
.hub-add-head,.hub-x-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap} .hub-add-head h2{margin:0}
.hub-add h3{margin:0 0 8px;font-size:14px;line-height:20px;display:flex;align-items:center;gap:6px}
.hub-recs{padding:12px 14px;border-radius:var(--radius-md);background:var(--teal-10)}
.hub-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:8px 16px}
.hub-item{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;min-width:0;padding:8px 0;border-bottom:1px solid var(--border-subtle)}
.hub-recs .hub-item{border-bottom-color:var(--teal-50)}
.hub-item-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto} .hub-item-text>*{overflow-wrap:anywhere}
.hub-item-acts{flex:none;gap:6px;flex-wrap:nowrap} .hub-add-form{margin:0;display:inline-flex}
.rc-card{scroll-margin-top:16px} .hub-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:11px}
/* B316 slice 2: 'Vraag de analist' (c_reports.html #analyst). The conversation and, once there is an answer, its preview
   beside it (the preview a card of the board's own kind, drawn by _hub_body.html); one column below 1100px. The log shows the
   conversation's latest messages (analyst.SHOWN), newest at the bottom, right above the question field. */
.hub-ai{display:flex;flex-direction:column;gap:12px;margin:0 0 16px;scroll-margin-top:16px} .hub-ai:hover{box-shadow:var(--shadow-card)}
.hub-ai-acts{gap:6px;flex-wrap:wrap} .hub-ai-intro{margin:0;max-width:72ch}
.hub-ai-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.hub-ai.has-preview .hub-ai-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
/* beside a preview (above 1100px) the chat and the preview are two independent columns aligned at the top, each at its
   natural height: nothing is stretched to match the other, so neither card holds a blank band. The chat is a framed window
   of its messages followed directly by the question field; it grows with the conversation up to a max-height (560px, or
   the viewport under the top bar when that is smaller), after which the log scrolls inside, opened at the latest message
   by hub.js. A preview without figures keeps its sentence in a compact framed panel sized to its text. */
.hub-ai-hint{margin:-4px 0 0}
@media (min-width:1101px){.hub-ai.has-preview .hub-ai-chat{max-height:min(560px,calc(100vh - var(--topbar-h) - 32px));border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:12px;background:var(--bg-subtle,var(--bg-surface))}
  .hub-ai.has-preview .hub-ai-log{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}
  .hub-ai.has-preview .hub-ai-chat>:not(.hub-ai-log){flex:none} .hub-ai.has-preview .hub-ai-msg.agent{background:var(--bg-surface)}
  .hub-ai.has-preview .hub-ai-preview .rc-empty,.hub-ai.has-preview .hub-ai-preview .hub-kpi{padding:12px;border-radius:var(--radius-md);background:var(--bg-subtle,var(--bg-surface));border:1px solid var(--border-subtle)}
  .hub-ai.has-preview .hub-ai-preview .hub-kpi .rc-empty{padding:0;border:0;background:none}}
.hub-ai-chat{display:flex;flex-direction:column;gap:12px;min-width:0}
.hub-ai-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hub-ai-msg{max-width:92%;min-width:0;padding:8px 12px;border-radius:var(--radius-md);display:flex;flex-direction:column;gap:8px}
.hub-ai-msg p{margin:0;overflow-wrap:anywhere;line-height:20px}
.hub-ai-msg.me{align-self:flex-end;background:var(--teal-10)} .hub-ai-msg.agent{align-self:flex-start;background:var(--bg-subtle,var(--bg-surface));border:1px solid var(--border-subtle)}
.hub-ai-chips{display:flex;flex-wrap:wrap;gap:6px} .hub-ai-chip-form{margin:0;display:inline-flex;max-width:100%}
.hub-ai-chip{max-width:100%;white-space:normal;text-align:left;height:auto;min-height:28px;line-height:18px;padding-top:4px;padding-bottom:4px}
.hub-ai-start{display:flex;flex-direction:column;gap:8px} .hub-ai-start p{margin:0}
.hub-ai-form{display:flex;gap:8px;align-items:center;margin:0} .hub-ai-form input{flex:1 1 auto;min-width:0} .hub-ai-form .btn{flex:none}
.hub-ai-side{min-width:0} .hub-ai-preview{border:1px solid var(--border-subtle)}
.hub-ai-preview h3.hub-w-title{margin:0;font-size:16px;line-height:22px;font-weight:600;color:var(--fg-1);text-transform:none;letter-spacing:-.01em}
.hub-ai-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px 12px;flex-wrap:wrap;padding-top:4px;border-top:1px solid var(--border-subtle)}
.hub-ai-foot .hub-ai-save{margin:0} .hub-ai-saved{display:inline-flex;align-items:center;gap:6px;color:var(--fg-1)} .hub-ai-saved i{color:var(--teal-600,var(--teal-400));font-size:16px}
.hub-ai-asked ul{list-style:none;margin:0;padding:0} .hub-ai-asked li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;border-bottom:1px solid var(--border-subtle)}
.hub-ai-asked li:last-child{border-bottom:0} .hub-ai-asked li>span:first-child{min-width:0;overflow-wrap:anywhere}
@media (max-width:1100px){.hub-w.hub-s{grid-column:span 3} .hub-ai.has-preview .hub-ai-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:720px){.hub-board{grid-template-columns:minmax(0,1fr)} .hub-w,.hub-w.hub-m,.hub-w.hub-s{grid-column:auto} .hub-grip,.hub-hint{display:none} .hub-bar{justify-content:flex-end}
  .hub-w-head{flex-wrap:wrap} .hub-w-text{flex:1 1 60%} .hub-w-tools{max-width:none;margin-left:auto}
  .hub-item{flex-wrap:wrap} .hub-head-acts,.hub-head-acts .btn{flex:1 1 100%} .hub-ai-msg{max-width:100%}}
.rc-swatch.rc-hatch-key{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--color-primary-teal-300) 45%,transparent) 0 2px,transparent 2px 6px);box-shadow:inset 0 0 0 1px var(--border-default)}
.rc-note{margin:0;max-width:110ch}
.rc-details>summary{cursor:pointer;font-weight:500;color:var(--fg-2);padding:4px 0}
.rc-details[open]>summary{margin-bottom:8px}
.rc-table-card{border:1px solid var(--border-subtle);border-radius:var(--radius-lg)}
table.rc-table{width:100%;min-width:max-content} table.rc-table th,table.rc-table td{white-space:nowrap;vertical-align:baseline;font-variant-numeric:tabular-nums}
table.rc-table tbody th{font-weight:500;color:var(--fg-1)} table.rc-table tr.rc-pre th,table.rc-table tr.rc-pre td{color:var(--fg-3)}

/* ── B224: the migration assistant (c_migration.html). The page is the console's own cards, tables, fields and pills;
   these are only the spaces between them, the file picker (the browser's own button speaks the browser's language, so the
   label is the button and the field itself is kept for the keyboard) and wrapping for what comes out of a file. ── */
.mig .banner{margin:0 0 12px;overflow-wrap:anywhere} .mig .banner.mig-next{margin:12px 0 0} .mig .card>h3{margin-top:14px}
.mig .card[data-mig=upload]{max-width:640px} .mig-first{margin-top:0} .mig-facts{margin-top:0} .mig-facts dd{min-width:0;overflow-wrap:anywhere} .mig-chips{gap:6px}
.mig-list{margin:0;padding-left:18px;font-size:13px;line-height:20px} .mig-list li{overflow-wrap:anywhere}
.mig-lead{margin:0 0 10px} .mig-lead:last-child{margin-bottom:0} .mig-note{margin:10px 0 0;overflow-wrap:anywhere} .mig .sub.mig-sub{margin-bottom:12px}
.mig-acts{margin-top:14px} .mig-acts.mig-confirm{margin-top:20px} .mig-help{flex:1 1 220px;min-width:0} details.mig-optional{margin-top:12px}
.mig-pick{position:relative} .mig-file{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none} .mig-file:focus-visible+label{box-shadow:0 0 0 3px var(--ring-focus)}
.field .mig-pick label.btn{flex-direction:row;gap:6px;margin:0;font-weight:500} .mig-pick [data-mig-name]{min-width:0;overflow-wrap:anywhere}
.mig-cols td:first-child,.mig-plans td:first-child,.mig-checklist td:first-child{min-width:150px;overflow-wrap:break-word}     /* break-word, not anywhere: in a cell 'anywhere' lets a phone cut 'Abonnementsnumm-er' */
.mig-plans td:first-child{overflow-wrap:anywhere}      /* the export's own plan name: one without a space ('Maandbox_koffie_500g_bonen_…') must break, or the table is wider than its card */
.mig-cols th:nth-child(1){width:28%} .mig-cols th:nth-child(2){width:25%} .mig-cols th:nth-child(3){width:21%}      /* the required and the optional table: one set of columns */
.mig-cols select,.mig-plans select{min-width:170px;max-width:440px}      /* as wide as its longest choice: a select that fills its cell cut 'Uit de tekst van het ritme' */
.mig-example{color:var(--fg-3);font-size:12px;max-width:260px;overflow-wrap:break-word} .mig-value{color:var(--fg-3);overflow-wrap:anywhere}
.mig-checklist{margin-top:4px}
.mig-link{display:flex;gap:10px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:10px} .mig-link>div{flex:1 1 280px;min-width:0} .mig-link p{margin:2px 0 0}
/* migration-connect: the assistant's three steps. The step cards are forms, not tables: as wide as the upload's, not the page */
.mig .card.mig-steps,.mig .card[data-mig=system],.mig .card[data-mig=access],.mig .card[data-mig=fetch]{max-width:640px}
.mig .banner[data-mig-untested]{max-width:640px}      /* the note above a step's card is as wide as the card */
.mig-steps .ds-steps li:last-child{padding-bottom:0} .mig .card>h3.mig-first{margin-top:0} .mig-systems{gap:8px}
.mig-key input{width:100%;max-width:420px} .mig-key [data-mig-demo-key]{display:block;margin-top:6px;overflow-wrap:anywhere} .mig .banner.mig-result{margin:14px 0 0}
details.mig-fold{margin-top:0} .mig [data-mig=fetch] .mig-lead{overflow-wrap:anywhere}
/* round 2, the dry run: step 4 is a form like the other steps; its result is a list of differences, one block each (a
   table of five columns does not fit a phone, and the explanation is a sentence) */
.mig .card[data-mig=dryrun],.mig .card.mig-dry{max-width:640px} .mig .card.mig-dry{margin-top:12px} .mig .banner.mig-last{margin-bottom:0} .mig .card[data-mig=dryrun]>form:first-child .mig-acts{margin-top:0}
.mig-diffs{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.mig-diff{border:1px solid var(--teal-50);border-radius:var(--r-lg);padding:12px 14px;min-width:0}
.mig-diff-head{display:flex;gap:6px 10px;align-items:center;justify-content:space-between;flex-wrap:wrap} .mig-diff-ref{min-width:0;overflow-wrap:anywhere}
.mig-diff .facts{margin-top:8px} .mig-diff .field{margin-top:10px} .mig-reason{gap:8px} .mig-reason input{flex:1 1 200px;min-width:0}
/* ═══ B237 console-edges: nothing touches or crosses the edge of its card — begin ══════════════════════════════════════
   A flat card (padding 0) is for a table that runs edge to edge; anything else in it (a sentence, an empty state, a
   note) sat on the card's edge (Rapporten's 'Nog geen abonnementen om te tonen.', Michiel 11 nov). One rule for the
   class: every child of a flat card that is not a table or a table's scroll wrapper gets the card's own padding (:where
   keeps it as weak as .card.flat, so a child's own padding rule still wins: .card.flat>.ds-empty.inline). Measured on
   every console page by tests/qa/console_edges_probe.py (tests/test_console_edges_browser.py). */
.card.flat>:where(:not(table):not(:has(>table)):not(.sr-only)){padding:16px 18px}
/* a log table in a padded card (Settings > Koppelingen > Shopify's 'Recente activiteit' and 'Schrijfacties', the mail
   tests, Klaviyo's last pushes, the detectors, Copilot's tables): long words wrap inside their cell, the time and the
   status pill stay on one line, and where the card is narrow (a third of the page, a phone) each row is a stacked block
   (its cells flow and wrap, the long text gets a line of its own) instead of four columns past the card's edge.
   The migration's plan checklist is no log but a table whose rows stand on one line with its count right-aligned (B224):
   it keeps its columns and scrolls inside its card on a phone like the other tables (suite-fix-1112) */
.card:not(.flat) table.tight:not(.mig-checklist){max-width:100%}
.card:not(.flat) table.tight:not(.mig-checklist) :is(td,th):not(.nowrap),.card:not(.flat)>table:not(.mig-checklist) :is(td,th):not(.nowrap){overflow-wrap:anywhere}
.card:not(.flat):has(table.tight:not(.klv-pushes,.mig-checklist)){container-type:inline-size}
@container (max-width:479.98px){
  table.tight:not(.klv-pushes,.mig-checklist),table.tight:not(.klv-pushes,.mig-checklist)>tbody{display:block;overflow:visible;max-width:100%}
  table.tight:not(.klv-pushes,.mig-checklist) tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--border-subtle)}
  table.tight:not(.klv-pushes,.mig-checklist) tr:last-child{border-bottom:0}
  table.tight:not(.klv-pushes,.mig-checklist) :is(td,th){display:block;flex:0 1 auto;max-width:100%;min-width:0;padding:0;border:0;text-align:left}
  table.tight:not(.klv-pushes,.mig-checklist) :is(td,th).nowrap:not(:has(.pill)){white-space:normal;overflow-wrap:anywhere}    /* a long API path; a time is shorter than any row */
  table.tight:not(.klv-pushes,.mig-checklist)>thead,table.tight:not(.klv-pushes,.mig-checklist) tr:not(:has(>td)){display:none}       /* a column head means nothing over a stacked row */
}
/* billing-cards-nl: the dunning card's failure reasons stack the same way on every row where the card is narrow (the
   reason on its own line, its retry days or 'never retried' below), not some side by side and some stacked as the
   reason's length in the language happens to fit */
@container (max-width:479.98px){ #dunform table.tight tr>td:first-child{flex-basis:100%} }
/* Settings > Events: the last row kept 8px from the card's edge (the presets bar's 10px: its own rule, 12px now) */
.card:has(>.ev-toolbar)>.evrow:last-child{padding-bottom:12px}
/* a fact's value wraps inside its card (Settings > E-mail's sender and webhook secret pill ran 115px past the card at 1280);
   a long pill there wraps as a sentence */
.facts dd{min-width:0;overflow-wrap:anywhere} .facts dd .pill{white-space:normal;height:auto;min-height:22px}
/* a timeline's actor pill keeps to its column (a customer's 'subscription · customer' stood 3px past the card at 1280);
   from a tablet up only: unscoped it beat the phone's own three columns above, and at 375 a subscription's History
   squeezed its change into ~90px ('box open voor wijzi|gingen') */
@media (min-width:721px){.tl li{grid-template-columns:150px 22px minmax(0,1fr) minmax(0,150px)}}
/* feedback-1112b: and wraps inside it as a sentence instead of an ellipsis that cut 'subscription · customer' at every width */
.tl .s .pill{white-space:normal;height:auto;min-height:22px;overflow:visible;text-overflow:clip;max-width:100%}
/* english-leftovers: a customer's timeline says its system and who in the console's language ('abonnement · systeem',
   'subscription · customer'): longer than the 150px column, so it was cut ('abonnement · syste…') or stood past the card.
   On the customer page the pill goes under the entry's text, in its column, at every width; it wraps there if it must. */
.tl.cust-tl li{grid-template-columns:150px 22px minmax(0,1fr)} .tl.cust-tl .s{grid-column:3;text-align:left}
.tl.cust-tl .s .pill{white-space:normal;height:auto;min-height:22px;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
@media (max-width:720px){.tl.cust-tl li{grid-template-columns:minmax(0,1fr) 22px minmax(0,2fr)} .tl.cust-tl .s{grid-column:1 / -1}}
/* english-leftovers r3: the customer page's Bestellingen card (#orders, ~290px of content) fits number, status and amount: the card's
   own padding is the row's outer edge (no 12px cell padding on top), the cells sit 8px apart and a long status ('Wacht op betaling')
   wraps between its words inside its pill, so the amount keeps its nowrap and never crosses the card edge */
#orders>table td{padding-left:4px;padding-right:4px} #orders>table td:first-child{padding-left:0} #orders>table td:last-child{padding-right:0}
#orders>table td .pill{white-space:normal;height:auto;min-height:22px}
/* Levensfase on one row (B210, from 1101px): the loss line kept 10px above the box's bottom edge */
@media (min-width:1101px){.lcs-main{padding-bottom:12px} .lcs-card.top .lcs-main{padding-bottom:11px}}
/* a long pill in a row of a card (Copilot's guardrails on a phone) shrinks to the row and ends in its ellipsis there: a
   flex item's min-width:auto kept it as wide as its words, past the card */
@media (max-width:720px){body.console main .row>.pill{min-width:0}}
/* Koppelingen > Klaviyo's access line: in a third of the page (1440: three columns) 'Kopieer de regel' stood 8px past the
   card beside its label; the button goes under the label when both do not fit (the wrap itself is B239's rule in the
   Klaviyo block above; the label may shrink here) */
.klv-copy .shc-copy-l{min-width:0}
/* B238: a link that names a card in Settings (?tab=billing#checkout-route) scrolls that card to just below the sticky top
   bar, not behind it */
.tabpanel .card[id],.tabpanel .conn-head[id]{scroll-margin-top:calc(var(--topbar-h) + 16px)}
/* ═══ B237 console-edges — end ═══ */

/* ── B233: a webshop customer's read-only page (c_shopify_person.html), classes sp-; kept out of the Klanten block, whose classes are cl- ── */
.sp-back{margin:0 0 10px}
.sp-h1{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px} .sp-name{min-width:0;overflow-wrap:anywhere}
.sp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:16px;align-items:start}
.sp-card h3{margin-top:0} .sp-sum{margin:-4px 0 10px;font-size:13px;color:var(--fg-3)}
.sp-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:0;font-size:13px}
.sp-facts dt{color:var(--fg-3)} .sp-facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.sp-orders{width:100%;border-collapse:collapse;font-size:13px}
.sp-orders th{text-align:left;font-weight:500;color:var(--fg-3);padding:6px 8px;border-bottom:1px solid var(--line)}
.sp-orders td{padding:8px;border-bottom:1px solid var(--line);vertical-align:baseline}
.sp-orders .num{text-align:right;font-variant-numeric:tabular-nums}
@media (max-width:900px){.sp-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.sp-orders,.sp-orders tbody{display:block;width:100%}.sp-orders thead{display:none}.sp-orders tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 12px;padding:8px 0;border-bottom:1px solid var(--line)}
  .sp-orders td{padding:0;border:0}.sp-orders td::before{content:attr(data-l);display:block;font-size:11px;color:var(--fg-3)}.sp-orders .num{text-align:left}}

/* ── payments start (B239, c_payments_start.html): how payments run, asked once at the start. B232's option cards
   (.route-opt) side by side, one under the other on a phone; the four rows of both cards share their rows (a subgrid
   over .ps-opts) so 'where the customer pays' and the rest read straight across. The line 'Betalingen lopen via …'
   (.route-runs) is the same on Home's payments step and Settings' checkout-route card. ── */
.ps{max-width:880px} .ps h1{margin:0 0 6px} .ps .sub{margin:0 0 16px;color:var(--fg-2)}
.ps-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,auto);gap:0 16px}
.route-opt.ps-opt{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 6;column-gap:12px;row-gap:0;padding:20px}
.ps-opt input{grid-column:1;grid-row:1;margin:3px 0 0} .ps-opt>:not(input){grid-column:2;min-width:0;overflow-wrap:anywhere}
.ps-tt{font-weight:600;font-size:15px;line-height:22px;color:var(--fg-1);padding-bottom:6px}
.ps-row{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-top:1px solid var(--border-subtle)}
.ps-k{font-size:12px;line-height:16px;color:var(--fg-3)} .ps-v{font-size:14px;line-height:20px;color:var(--fg-1)}
.ps-foot:empty{display:none} .ps-foot .route-note{margin-top:8px}
.ps-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px} .ps-note{margin:12px 0 0}
.route-runs{display:flex;align-items:baseline;gap:6px;margin:0 0 8px;font-size:13px;line-height:18px;font-weight:600;color:var(--fg-1)}
@media (max-width:720px){.ps-opts{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:12px}.route-opt.ps-opt{grid-template-rows:none;grid-row:auto}
  .ps-act .btn,.ps-act form{width:100%} .ps-act .btn{justify-content:center}}
/* ── B243: Bestellingen (c_orders.html, c_order.html), classes or-; the search box, chips and pager are Klanten's (cl-) and the
   order page's cards Shopify-person's (sp-). No green: a kind is navy/teal, the primary button is the one green thing. ── */
.or-search{flex-wrap:wrap;align-items:flex-end}
.or-search .cl-search-box{flex:1 1 280px}
.or-sel{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--fg-3);min-width:0} .or-sel select{min-width:150px;max-width:100%}
.or-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.or-line{margin:0 0 14px;color:var(--fg-3);font-size:13px;line-height:18px;font-variant-numeric:tabular-nums}
.or-card{overflow-x:auto}
.or-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;line-height:18px}
.or-table thead th{padding:11px 16px;text-align:left;background:var(--surface);border-bottom:1px solid var(--teal-50);font:var(--t-eyebrow);letter-spacing:.08em;
  text-transform:uppercase;color:var(--fg-3);white-space:nowrap}
.or-table thead th:first-child{border-top-left-radius:var(--r-xl)} .or-table thead th:last-child{border-top-right-radius:var(--r-xl)}
.or-table .num{text-align:right;font-variant-numeric:tabular-nums}
.or-row{position:relative}
.or-row td{padding:12px 16px;vertical-align:middle;border-bottom:1px solid var(--teal-25)}
.or-row:last-child td{border-bottom:0}
.or-row:hover td,.or-row:has(.or-open:focus-visible) td{background:var(--teal-10)}
.or-row:last-child td:first-child{border-bottom-left-radius:var(--r-xl)} .or-row:last-child td:last-child{border-bottom-right-radius:var(--r-xl)}
.or-open{font-weight:600;color:var(--fg-1)}
.or-who{min-width:180px} .or-who .or-cust{font-weight:500;color:var(--fg-1);overflow-wrap:anywhere}
.or-mail{display:block;font-size:12px;line-height:16px;color:var(--fg-3);overflow-wrap:anywhere}
.or-amt{font-weight:600;color:var(--fg-1)}
.or-kind{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:12px;font-weight:500;line-height:20px;white-space:nowrap;
  border:1px solid var(--teal-75);background:var(--surface);color:var(--teal-500)}
.or-kind.subscription{background:var(--teal-10);border-color:transparent}
.or-one .sp-h1 .or-kind{font-size:12px}
.or-side{display:grid;gap:16px;min-width:0}
.or-sums{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin:0;font-size:13px}
.or-sums dt{color:var(--fg-3)} .or-sums dd{margin:0} .or-sums .num{text-align:right;font-variant-numeric:tabular-nums}
.or-sums .or-total{padding-top:8px;border-top:1px solid var(--line);font-weight:600;color:var(--fg-1)}
.or-track{display:block}
@media (max-width:720px){
  .or-search{flex-direction:column;align-items:stretch} .or-search .cl-search-box{flex:0 0 auto} .or-sel select{width:100%} .or-search .btn{justify-content:center}
  .or-card{overflow:visible}
  .or-table,.or-table tbody{display:block;width:100%} .or-table thead{display:none}
  .or-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:12px 16px;border-bottom:1px solid var(--teal-25)}
  .or-row:last-child{border-bottom:0}
  .or-row td{padding:0;border:0;min-width:0} .or-row td::before{content:attr(data-l);display:block;font-size:11px;color:var(--fg-3)}
  .or-row:hover td{background:none} .or-who{min-width:0} .or-table .num{text-align:left}
  .cl-empty-row,.cl-empty-row td{display:block}
}

/* ── B291 Bestellingen, Leveringen en Geld (c_orders.html, c_cycles.html, c_money.html; Michiel 13 nov: the B281 upgrade on
   the remaining daily pages). Klanten (customers-refresh) and the B287 customer page are the reference, its rules are
   not shared: every rule here is scoped to the page (.or-page.b291, .dl-page.b291, .mo-page). The customer an initials
   avatar beside name and e-mail (Klanten's .ds-av tones), a status a dot of its meaning before its word (no new colour,
   and B243's no green nor mint on Bestellingen: a filled teal dot is done, a teal ring still to come, Sunset waits on
   someone, red failed, grey is over),
   money right in its column in the body font, tabular, weight 600; an id stays mono (B287: monospace only for ids). Geld's
   tables keep 12px from their card's edge (VISUAL-CHECKS 11 nov; the first and last cell were 8px at 1280, B209) and a
   row lights up under the pointer as Klanten's does. ── */
.or-page.b291 .ds-av.t2{background:var(--teal-75);color:var(--teal-600)}      /* Klanten's t2 is mint: B243 keeps green and mint off Bestellingen, so its fourth tone is a deeper teal here */
.or-page.b291 .or-who-in,.dl-page.b291 .dl-who-in{display:flex;align-items:center;gap:12px;min-width:0}
.or-page.b291 .or-id,.dl-page.b291 .dl-id{display:flex;flex-direction:column;min-width:0}
.or-page.b291 .or-who .or-cust{font-size:14px;line-height:20px;font-weight:600}
.or-page.b291 .or-amt{font-size:14px;line-height:20px}
@media (min-width:721px){      /* a phone's card uses the cell's ::before for its label (B243) */
  .or-page.b291 .or-row td[data-or-fin]::before,.or-page.b291 .or-row td[data-or-ful]::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;
    border-radius:50%;background:var(--or-dot,transparent);box-shadow:inset 0 0 0 1.5px var(--or-dot,var(--teal-400));vertical-align:1px}
  .or-page.b291 .or-row td[data-or-fin],.or-page.b291 .or-row td[data-or-ful]{white-space:nowrap}      /* the dot and its word on one line ('niet / verzonden' split under its dot) */
}
.or-page.b291 td[data-or-fin=paid],.or-page.b291 td[data-or-ful=fulfilled]{--or-dot:var(--teal-500)}
.or-page.b291 td[data-or-fin=pending],.or-page.b291 td[data-or-fin=authorized],.or-page.b291 td[data-or-fin=partially_paid],.or-page.b291 td[data-or-ful=on_hold],
  .or-page.b291 td[data-or-ful=pending_fulfillment]{--or-dot:var(--color-sunset)}
.or-page.b291 td[data-or-fin=failed],.or-page.b291 td[data-or-ful=request_declined]{--or-dot:var(--red-600)}
.or-page.b291 td[data-or-fin=refunded],.or-page.b291 td[data-or-fin=partially_refunded],.or-page.b291 td[data-or-fin=voided],.or-page.b291 td[data-or-fin=expired],
  .or-page.b291 td[data-or-fin=unknown],.or-page.b291 td[data-or-ful=restocked],.or-page.b291 td[data-or-ful=unknown]{--or-dot:var(--color-gray-400)}
.dl-page.b291 .dl-amt{font-family:inherit;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.mo-page .card.flat>table>tbody>tr:not(:has(>td.empty)):hover>td{background:var(--teal-10)}
/* B295: the 12px edge is for a row's cells, never an empty tab's one cell: its .empty-pin is the card's full width (100cqw,
   padding 0 on its cell, line 219), so 12px more pushed 'Nog geen facturen.' 12px past the card's right edge, off-centre */
.mo-page .card.flat>table>thead>tr>th:first-child,.mo-page .card.flat>table>tbody>tr>td:first-child:not(.empty){padding-left:12px}
.mo-page .card.flat>table>thead>tr>th:last-child,.mo-page .card.flat>table>tbody>tr>td:last-child:not(.empty){padding-right:12px}
.mo-page .card.flat>table td.num{font-family:inherit;font-variant-numeric:tabular-nums} .mo-page .card.flat>table td.num.nowrap{font-weight:600;color:var(--fg-1)}      /* an amount reads, a count of attempts stays quiet */
.mo-page .card.flat>table td.mono.nowrap:not(:first-child),.mo-page .card.flat>table:has(td[data-kind]) td.mono:first-child{font-family:inherit;color:var(--fg-2);font-variant-numeric:tabular-nums}
.mo-page .card.flat .faint,.dl-page.b291 .dl-card .faint{color:var(--fg-3)}      /* .faint read 3.8:1 on the canvas, 4.0:1 on white: the ledger's source, a credit note, an empty order cell */
/* B295 r2: an empty tab's sentence ('Nog geen uitbetalingen geïmporteerd.') is .empty's fg-4, 3.8:1 on the canvas; once it sat
   inside its card (B295) B291's contrast probe measures it, so it reads fg-3 like .faint above (WCAG AA 4.5:1) */
.mo-page .card.flat .empty-pin{color:var(--fg-3)}
.mo-page .card.flat>table td.cut>a{font-weight:500;color:var(--fg-1)}
.mo-page .card.flat>table td.mono:first-child>a{font-weight:600;color:var(--fg-1)}

/* ── B242: Integraties (c_integrations.html, c_integration.html), classes ig-. An app store in Churned's own style: tiles
   with a 48px logo slot (the partner's logo from static/brand/partners/, else a letter in the category's colour), the
   whole tile one link that lights up on hover and shows its focus ring. No green but the primary button and the connected
   pill (.pill.ok, B230); a category is navy, cranberry or sand. Nothing closer than 12px to a card's edge. ── */
.ig-page{min-width:0}
.ig-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ig-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;font-size:13px;line-height:18px;color:var(--fg-3)}
.ig-crumb a{color:var(--fg-3)} .ig-crumb span{color:var(--fg-2)}
.ig-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 16px;margin:0 0 16px}
.ig-head-text{flex:1 1 320px;min-width:0} .ig-head h1{margin:0} .ig-head .sub{margin:4px 0 0;max-width:72ch}
.ig-flash{margin:0 0 14px} .ig-head .ig-flash{margin:0}
.ig-search{display:flex;gap:8px;margin:0 0 14px;max-width:760px}
.ig-search-box{flex:1;display:flex;align-items:center;gap:10px;min-width:0;height:var(--btn-h);padding:0 14px;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:var(--surface);
  box-shadow:var(--shadow-input);color:var(--fg-3)}
.ig-search-box:focus-within{box-shadow:var(--ring)}
.ig-search-box input{flex:1;min-width:0;height:100%;padding:0;border:0;background:transparent;box-shadow:none;font-size:15px;outline:0}
.ig-search .btn{height:var(--btn-h)}      /* B281: the search field and its button keep the button system's height */
.ig-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.ig-chip{display:inline-flex;align-items:center;height:32px;padding:0 14px;border:1px solid var(--border-default);border-radius:var(--r-pill);background:var(--surface);color:var(--fg-2);
  font-size:13px;font-weight:500;line-height:18px;white-space:nowrap;transition:background-color var(--d-1),border-color var(--d-1)}
.ig-chip:hover{background:var(--teal-10);text-decoration:none}
.ig-chip.on{background:var(--color-navy);border-color:var(--color-navy);color:var(--on-hero)}
.ig-chip:focus-visible,.ig-side-link:focus-visible,.ig-tile:focus-visible{outline:2px solid var(--teal-300);outline-offset:2px}
.ig-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.ig-side{display:none}
@media (min-width:1200px){
  .ig-layout{grid-template-columns:184px minmax(0,1fr)}
  .ig-side{display:flex;flex-direction:column;gap:2px;align-self:start;position:sticky;top:calc(var(--topbar-h) + 16px)}
  .ig-side .ds-eyebrow{padding:0 12px 6px}
}
.ig-side-link{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--r-md);color:var(--fg-2);font-size:13px;line-height:18px}
.ig-side-link:hover{background:var(--teal-10);text-decoration:none} .ig-side-link.on{background:var(--teal-25);color:var(--fg-1);font-weight:600}
.ig-n{color:var(--fg-3);font-variant-numeric:tabular-nums}
.ig-main{min-width:0}
.ig-sec{margin:0 0 28px} .ig-sec[hidden]{display:none}
.ig-h2{margin:0 0 12px;font:var(--t-h3);color:var(--fg-1)}
.ig-h3{margin:12px 0 4px;font-size:13px;font-weight:600;line-height:18px;color:var(--fg-1)} .ig-h3:first-of-type{margin-top:0}
.ig-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:14px}
.ig-tile{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid var(--teal-50);border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--shadow-card);
  color:var(--fg-2);transition:background-color var(--d-1),border-color var(--d-1),box-shadow var(--d-1)}
.ig-tile[hidden]{display:none} .ig-tile.locked{box-shadow:none;background:var(--surface-sunk)}
.ig-locked{margin:6px 0 0;font-size:12px;line-height:16px;color:var(--fg-3)}
.ig-tile:hover{background:var(--teal-10);border-color:var(--teal-75);box-shadow:var(--shadow-popover);text-decoration:none}
.ig-tile-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin:0 0 12px}
.ig-logo{flex:none;display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;overflow:hidden;font:600 20px/1 var(--font-ui)}
.ig-logo img{display:block;width:100%;height:100%;object-fit:contain}
.ig-logo.lg{width:56px;height:56px;border-radius:14px;font-size:22px} .ig-logo.xl{width:64px;height:64px;border-radius:16px;font-size:26px}
/* B256: a partner's wordmark (templates/_int_logo.html): a wider white box at the letter tile's height, the logo contained
   with breathing room, so Mollie's grey and Klaviyo's dark wordmark read on any category colour */
.ig-logo.ig-mark{display:inline-flex;width:96px;padding:8px 10px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--teal-50)}
.ig-logo.ig-mark.lg{width:112px;padding:10px 12px} .ig-logo.ig-mark.xl{width:128px;padding:12px}
.ig-logo.ig-mark img{flex:1 1 auto;min-width:0;width:100%;height:100%}
.ig-cat-payments{background:var(--color-navy);color:var(--on-hero)}
.ig-cat-marketing{background:var(--color-tint-cranberry);color:var(--color-cranberry)}
.ig-cat-migration{background:var(--sand-200);color:var(--sand-500)}
.ig-cat-shop{background:var(--teal-25);color:var(--teal-500)}
.ig-name{font-size:15px;font-weight:600;line-height:22px;color:var(--fg-1);overflow-wrap:anywhere}
.ig-by{font-size:12px;line-height:16px;color:var(--fg-3)}
.ig-line{margin:6px 0 0;font-size:13px;line-height:19px;color:var(--fg-2);overflow-wrap:anywhere}
.ig-tile .ig-cat{margin-top:auto;padding-top:14px;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3)}
.ig-store{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;padding:18px 20px;border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card)}
.ig-store-text{flex:1 1 260px;min-width:0} .ig-store-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ig-store .ig-line{margin-top:2px} .ig-store-act{flex:none}
.ig-empty{margin:0;color:var(--fg-3);font-size:14px;line-height:20px} .ig-empty[hidden]{display:none}
.ig-listing{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 18px;margin:8px 0 18px;padding:20px 22px;border-radius:var(--r-xl);background:var(--surface);box-shadow:var(--sh-card)}
.ig-listing-text{flex:1 1 300px;min-width:0} .ig-listing-name{display:flex;flex-wrap:wrap;align-items:center;gap:10px} .ig-listing h1{margin:0;overflow-wrap:anywhere}
.ig-listing .ig-by{margin-top:2px} .ig-listing .ig-cat{color:var(--fg-3)}
.ig-intro{margin:10px 0 0;max-width:72ch;font-size:14px;line-height:21px;color:var(--fg-2)}
.ig-listing-act{flex:none}
.ig-listing-why{flex:0 1 280px;min-width:0;margin:4px 0 0;font-size:13px;line-height:19px;color:var(--fg-3);overflow-wrap:anywhere}  /* B242 polish: why no Koppelen */
[data-why-act],[data-ig-why-act]{color:var(--fg-1);font-weight:500;text-decoration:underline;white-space:nowrap}  /* B255: the reason's action reads as a link */
.ig-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:0 0 24px}
.ig-fact ul{margin:0;padding:0 0 0 18px} .ig-fact li{margin:0 0 4px;font-size:13px;line-height:19px;overflow-wrap:anywhere}
.ig-connect{scroll-margin-top:calc(var(--topbar-h) + 16px)} .ig-connect>.card{max-width:100%}
.ig-connect .card[id],.ig-connect .conn-head[id]{scroll-margin-top:calc(var(--topbar-h) + 16px)}
@media (max-width:640px){
  .ig-search{flex-wrap:wrap} .ig-search .btn{flex:1 1 100%}
  .ig-listing{padding:16px} .ig-store{padding:16px} .ig-listing-act,.ig-store-act,.ig-listing-why{flex:1 1 100%} .ig-listing-act .btn,.ig-store-act .btn{width:100%}
}
/* ── B308 Churned MCP (_int_mcp.html): the card on Instellingen › Claude koppelen (its integration page until aanvulling 4). The address and the key as one-line code that
   wraps anywhere (never wider than the card), the set-ups as light pre blocks that wrap, the keys and the recent actions
   as rows (text left, one small button right; on a phone the button goes under the text), the switches in two groups
   side by side from 720px (label left, switch right). The new key's box has a neutral border: green stays for the
   primary button and healthy or done states (B187, test_console_colours). ── */
.mcp-card>section{margin-top:18px;padding-top:16px;border-top:1px solid var(--border-default)}
.mcp-label{display:block;margin:0 0 4px;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-3)}
.mcp-url{margin-top:12px}
.mcp-copyline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mcp-copyline code{flex:1 1 220px;min-width:0;padding:6px 10px;border-radius:var(--radius-md);background:var(--color-primary-teal-10);color:var(--fg-1);overflow-wrap:anywhere;word-break:break-all;line-height:18px}
.mcp-copyline .btn,.mcp-setup-one>.btn{flex:none}
.mcp-minted{padding:14px 16px!important;border:1px solid var(--border-default)!important;border-radius:var(--radius-md);background:var(--surface)}
.mcp-minted p{margin:6px 0}
.mcp-key{font-size:13px}
.mcp-setup-one{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:10px 0 0}
.mcp-setup-one>.btn{justify-self:start}
.mcp-pre{white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;max-width:100%}
.mcp-form{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end}
.mcp-field{flex:1 1 100%;display:grid;gap:4px;min-width:0;font-size:12.5px;color:var(--fg-2)} .mcp-field input{width:100%;min-width:0;max-width:420px;box-sizing:border-box}
.mcp-check{display:flex;align-items:flex-start;gap:8px;flex:1 1 100%;font-size:13px;line-height:19px;color:var(--fg-2)} .mcp-check input{margin-top:2px;flex:none}
.mcp-submit{flex:1 1 100%;margin-top:4px}
.mcp-never{margin:10px 0 0}
.mcp-list{list-style:none;margin:0;padding:0}
.mcp-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 0;border-bottom:1px solid var(--border-default)} .mcp-row:last-child{border-bottom:0}
.mcp-row.gone .mcp-row-name{color:var(--fg-3)}
.mcp-row-text{flex:1 1 240px;min-width:0;display:grid;gap:2px} .mcp-row-name,.mcp-row-words{font-size:14px;line-height:20px;color:var(--fg-1);overflow-wrap:anywhere}
.mcp-row-text .small{overflow-wrap:anywhere} .mcp-row-text a[data-mcp=whose]{color:inherit;text-decoration:underline;text-underline-offset:2px}
.mcp-row-act{flex:none;margin:0}
.mcp-row:target{background:var(--color-primary-teal-10)}
.mcp-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:10px}
.mcp-flash{margin:0 0 10px} .mcp-flash .banner{margin:0;padding:8px 12px}     /* B308 round 2: a confirmation where the redirect lands */
@media (min-width:720px){.mcp-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}}
.mcp-group{margin:0;padding:0;border:0;min-width:0}
.mcp-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;font-size:13px;line-height:19px;color:var(--fg-1)}
.mcp-toggle-label{min-width:0;overflow-wrap:anywhere}
.mcp-toggle-store{font-weight:600;max-width:420px}
@media (min-width:720px){.mcp-toggle-store{max-width:calc(50% - 14px)}}   /* its switch on the line of the Lezen column's switches */
.mcp-switches .mcp-submit{margin-top:10px}
@media (max-width:640px){.mcp-row-act{flex:1 1 100%} .mcp-row-act .btn{width:100%} .mcp-submit .btn{width:100%}}
/* ── B287 Klant (c_customer.html, Michiel 13 nov: 'ziet er oldschool uit'): the customer page in the B281/B286 style.
   A header card (initials, name, e-mail, status and stage pills, the portal as a secondary .btn.sm, the intro under a
   hairline); each section a card with an uppercase header and its icon, label/value rows in a two-column grid in the
   body font (monospace only for ids: .cu-code, one line with a title, a soft code chip); an empty section one muted,
   dashed line; the timeline an activity feed: a 28px dot per event on a 2px line, the event first (14px/500), its time
   and source as meta below (12px --fg-3, the source a small soft pill in the body font). Phone: everything stacks. ── */
.cu-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"av who act" "intro intro intro";gap:4px 16px;align-items:start;margin:0 0 16px;padding:20px 22px;background:var(--bg-surface);border-radius:var(--r-xl,16px);box-shadow:var(--shadow-card)}
.cu-av{grid-area:av;width:48px;height:48px;font-size:16px}
.cu-who{grid-area:who;min-width:0}
.cu-who h1{margin:0;font-size:22px;line-height:30px;overflow-wrap:anywhere}
.cu-email{margin:0;color:var(--fg-3);font-size:13px;line-height:20px;overflow-wrap:anywhere}
.cu-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px} .cu-pills .pill,.cu-pills .cl-pill{max-width:100%}
.cu-pills a.pill:hover{text-decoration:none;--pill-line:var(--teal-300)}
.cu-actions{grid-area:act;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;max-width:100%}
.cu-actions .portal-as-bar{display:flex;margin:0;min-width:0;max-width:100%}      /* B296: a real box, not display:contents, so the button is measured (and kept) inside its own bar; one flex item of .cu-actions, as before */
.cu-intro{grid-area:intro;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--border-subtle);color:var(--fg-3);font-size:13px;line-height:20px}
.cu-card{padding:16px 18px;min-width:0}
.cu-h{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid var(--border-subtle);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-2)}
.cu-h i{font-size:16px;color:var(--fg-3)} .cu-h .faint{font-weight:400;letter-spacing:0;text-transform:none;color:var(--fg-3)}
.ev.cu-dl{grid-template-columns:minmax(84px,38%) minmax(0,1fr);gap:8px 12px;margin:0;font-size:13px;line-height:20px}
.ev.cu-dl dt{font-size:12px;line-height:20px;color:var(--fg-3)}
.ev.cu-dl dd{min-width:0;font-family:inherit;font-size:13px;line-height:20px;color:var(--fg-1);word-break:normal;overflow-wrap:anywhere}
.cu-code{display:inline-block;max-width:100%;padding:0 6px;border:1px solid var(--border-subtle);border-radius:6px;background:var(--teal-10);color:var(--fg-2);font-size:12px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;cursor:text;user-select:all}
div.cu-code{display:block;width:fit-content;margin-top:6px}
.cu-item{padding:10px 0;border-top:1px solid var(--border-subtle)} .cu-h+.cu-item{padding-top:0;border-top:0} .cu-item:last-child{padding-bottom:0}
.cu-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;font-size:13px;line-height:20px} .cu-line>a,.cu-line>strong{min-width:0;overflow-wrap:anywhere}
.cu-meta{margin-top:4px;font-size:12.5px;line-height:18px;color:var(--fg-3)}
.cu-item form[data-demo]{margin-top:8px}
.cu-empty{display:flex;align-items:center;gap:8px;margin:0;padding:8px 12px;border:1px dashed var(--teal-75);border-radius:var(--radius-md,10px);color:var(--fg-3);font-size:13px;line-height:20px}
.cu-empty i{font-size:16px} .cu-empty span{display:inline-block} .cu-empty span::first-letter{text-transform:uppercase}
.cu-table{width:100%;border-collapse:collapse;font-size:13px;line-height:20px}
.cu-table td{padding:8px 0;vertical-align:middle;border-bottom:1px solid var(--border-subtle)} .cu-table td+td{padding-left:12px}
.cu-table tr:first-child td{padding-top:0} .cu-table tr:last-child td{padding-bottom:0;border-bottom:0}
.cu-table tbody tr:hover td{background:none}
.cu-table td .pill{vertical-align:middle;align-items:center}
.cu-table td.num{width:1%;font-weight:600;color:var(--fg-1);font-variant-numeric:tabular-nums}
.cu-table tr:has(+tr.cu-sub) td,.cu-table tr:has(+tr.credit) td{border-bottom:0}
.cu-table tr.cu-sub td,.cu-table tr.credit td{padding-top:0}
.cu-feed{min-width:0;padding:16px 18px;align-self:start}      /* B287: as tall as its events, not as the left column (a short feed left a tall empty card) */
.cu-feed-bar{margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--border-subtle)}
.cu-feed-bar select{height:32px;font-size:13px;border-radius:var(--radius-md)} .cu-count{line-height:20px}
.tl.cust-tl li{position:relative;display:grid;grid-template-columns:28px auto minmax(0,1fr);grid-template-areas:"i x x" "i t s";gap:2px 10px;align-items:center;padding:0 0 18px;border-bottom:0;background:none}
.tl.cust-tl li:last-child{padding-bottom:0}
.tl.cust-tl li:not(:last-child)::before{content:"";position:absolute;left:13px;top:32px;bottom:4px;width:2px;border-radius:2px;background:var(--teal-50)}
.tl.cust-tl .i{grid-area:i;align-self:start;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:15px;text-align:center;background:var(--teal-10)}
.tl.cust-tl li.info .i{color:var(--fg-3)}      /* the older .tl icon inks name --color-green-800/--color-orange-800, which no :root defines: the feed names its own */
.tl.cust-tl li.ok .i{background:var(--green-25);color:var(--green-700)} .tl.cust-tl li.fail .i,.tl.cust-tl li.missing .i{background:var(--red-100);color:var(--red-800)} .tl.cust-tl li.warn .i{background:var(--color-tint-sunset);color:var(--orange-800)}
.tl.cust-tl .x{grid-area:x;align-self:start;min-width:0;padding-top:4px;font-size:14px;line-height:20px;font-weight:500;color:var(--fg-1);overflow-wrap:anywhere}
.tl.cust-tl li.fail .x,.tl.cust-tl li.missing .x{color:var(--color-red-800)}
.tl.cust-tl .t{grid-area:t;min-width:0;font-family:inherit;font-size:12px;line-height:20px;color:var(--fg-3);white-space:nowrap}
.tl.cust-tl .s{grid-area:s;min-width:0;text-align:left;line-height:20px}
.tl.cust-tl .s .pill{height:20px;padding:0 8px;font-family:inherit;font-size:12px;line-height:18px;vertical-align:top}
.tl.cust-tl .s .pill.sys{--pill-bg:var(--teal-10);--pill-fg:var(--teal-500);--pill-line:var(--teal-50)}
.tl.cust-tl li.empty{display:block;padding:8px 12px;border:1px dashed var(--teal-75);border-radius:var(--radius-md,10px);color:var(--fg-3);font-size:13px;line-height:20px}
@media (max-width:900px){.cu-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .cu-head{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"av who" "act act" "intro intro";padding:16px}
  .cu-actions{justify-content:flex-start;margin-top:10px} .cu-actions .btn{white-space:normal;height:auto;min-height:32px;padding-top:5px;padding-bottom:5px;text-align:left}
  body.console main .cu-table{display:table}
  .tl.cust-tl li{grid-template-columns:28px minmax(0,1fr);grid-template-areas:"i x" "i t" "i s"}
}

/* ── B298 Automations (c_automations.html), classes au-: the store's email-tool automations in the B281/B287 look. A state
   card when Klaviyo is not connected, may not read flows or does not answer; the recommended list as divided rows (name,
   why, the event that starts it; the status pill and its one link on the right); the flows as a table whose cells share a
   centre line and whose 30-day figures end at the column's right; on a phone each flow is a card of label/value lines.
   Green only for live (B230): .pill.ok is used for nothing else here. ── */
.au-page{min-width:0}
.au-state{display:flex;align-items:center;gap:14px 16px;margin:0 0 16px;flex-wrap:wrap}
.au-state-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--teal-10);color:var(--fg-2);font-size:20px}
.au-state.warn .au-state-ic{background:var(--color-tint-sunset);color:var(--color-sunset-ink)}
.au-state-txt{flex:1 1 280px;min-width:0}
.au-state-txt h2{margin:0;font:600 15px/22px var(--font);color:var(--fg-1)}
.au-state-txt p{margin:2px 0 0;font-size:13px;line-height:20px;color:var(--fg-3);overflow-wrap:anywhere}
.au-state .btn{flex:none;max-width:100%;white-space:normal;height:auto;min-height:32px;text-align:center}
.au-card{margin:0 0 16px}
.au-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 4px;padding-bottom:10px;border-bottom:1px solid var(--border-subtle);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-2)}
.au-h i{font-size:16px;color:var(--fg-3)} .au-h>span:not(.pill){min-width:0;overflow-wrap:anywhere}
.au-h .au-count{margin-left:auto;letter-spacing:0;text-transform:none;font-weight:500}
.au-rec{list-style:none;margin:0;padding:0}
.au-rec-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border-subtle)}
.au-rec-row:last-child{border-bottom:0;padding-bottom:0}
.au-rec-main{min-width:0}
.au-rec-name{display:block;font-size:14px;line-height:20px;font-weight:600;color:var(--fg-1);overflow-wrap:anywhere}
.au-meta{margin:2px 0 0;font-size:13px;line-height:20px;color:var(--fg-3);overflow-wrap:anywhere}
.au-starts{display:flex;align-items:flex-start;gap:6px;font-size:12.5px;color:var(--fg-3)} .au-starts i{flex:none;font-size:14px;line-height:20px;color:var(--fg-4)}
/* B303: Customer.io's set-up sentence under 'Start op:' keeps the same icon gap, and its words wrap beside the icon, never under it */
.au-how{display:flex;align-items:flex-start;gap:6px;font-size:12.5px;color:var(--fg-3)} .au-how i{flex:none;font-size:14px;line-height:20px;color:var(--fg-4)} .au-how>span{min-width:0;overflow-wrap:anywhere}
.au-rec-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;max-width:240px;text-align:right}
.au-rec-side .pill{max-width:100%;white-space:normal}
.au-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;line-height:20px;font-weight:500;color:var(--fg-2);white-space:nowrap}
.au-link i{font-size:14px}
/* B305: 'Wij stellen een … voor' on a line not set up: a quiet text button in the line's own words (a POST, so a button) */
.au-jr,.oc-journey{margin:6px 0 0;display:flex;min-width:0}
.au-jr-btn{display:inline-flex;align-items:flex-start;gap:6px;max-width:100%;padding:0;border:0;background:none;font:inherit;font-size:13px;line-height:20px;
  font-weight:600;color:var(--fg-2);text-align:left;cursor:pointer;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--teal-100);text-underline-offset:3px}
.au-jr-btn i{flex:none;font-size:14px;line-height:20px;color:var(--fg-3)}
.au-jr-btn:hover{text-decoration-color:currentColor}
.au-note{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;padding:12px;border-radius:var(--radius-md,10px);background:var(--teal-10);font-size:13px;line-height:20px;color:var(--fg-2)}
.au-note i{flex:none;font-size:16px;line-height:20px;color:var(--fg-3)} .au-note span{min-width:0;overflow-wrap:anywhere}
.au-card>.ds-empty.inline{margin-top:12px}
.au-table{margin-top:4px;font-size:13px;line-height:20px}
.au-table th{padding:10px 12px 8px}
.au-table th:first-child,.au-table td:first-child{padding-left:0} .au-table th:last-child,.au-table td:last-child{padding-right:0}
.au-table td{vertical-align:middle;padding:10px 12px}
.au-table tbody tr:hover td{background:none}
.au-table td .pill{vertical-align:middle;align-items:center}
.au-name{min-width:9em;overflow-wrap:anywhere} .au-name strong{font-weight:600;color:var(--fg-1)}
.au-trig{min-width:10em;overflow-wrap:anywhere;color:var(--fg-2)} .au-trig .au-data{color:var(--fg-1);font-weight:500}
.au-trig .au-cell{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0} .au-trig .au-cell>span{min-width:0}
.au-shape{color:var(--fg-2)}
.au-num{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--fg-1)}
.au-num .au-sub{display:block;font-size:12px;line-height:16px;color:var(--fg-3)}
.au-none{color:var(--fg-3)}
.au-open{width:1%;white-space:nowrap;text-align:right}
/* B314 slice 2: 'Open in Klaviyo' and 'Verbeter deze flow' stacked in the flow's last cell, right-aligned (one row under 720px) */
.au-acts{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.au-kf{margin:0;display:flex} .au-kf .au-jr-btn{white-space:nowrap}
/* B300: 'Opzetten' (a secondary button in its form) and the words that stand where it cannot: waiting, denied, pending */
.au-setup{display:flex;margin:0;max-width:100%}
.au-setup .btn{max-width:100%;white-space:normal;height:auto;min-height:32px;text-align:center}
.au-hint{display:inline-flex;align-items:flex-start;gap:4px;max-width:100%;font-size:13px;line-height:20px;color:var(--fg-3);text-align:left}
.au-hint i{flex:none;font-size:14px;line-height:20px} .au-hint span{min-width:0;overflow-wrap:anywhere}
.au-note.warn{background:var(--color-tint-sunset)} .au-note.warn i{color:var(--color-sunset-ink)} .au-note a{color:var(--fg-1);font-weight:500;text-decoration:underline}
/* 17 nov: the answer's age and 'Vernieuwen' above the provider part; the loading block while nothing is known yet (its
   words become the 'not answering' state when automations.js gives up, the same .au-state as the error card) */
.au-fresh{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 12px;font-size:12.5px;line-height:20px;color:var(--fg-3)}
.au-fresh i{flex:none;font-size:14px;line-height:20px;color:var(--fg-4)} .au-fresh>span{min-width:0;overflow-wrap:anywhere}
.au-refresh{font-weight:500;color:var(--fg-2);text-decoration:underline;text-decoration-color:var(--border-strong,currentColor);text-underline-offset:2px;white-space:nowrap}
.au-refresh:hover{color:var(--fg-1);text-decoration-color:currentColor}
.au-refresh[aria-disabled="true"]{pointer-events:none;color:var(--fg-3);text-decoration:none}
.au-state[hidden]{display:none}
/* the wait reads as the console's one loading shimmer (.sh), not a spinning icon: only the shimmer and a live badge loop (B209) */
.au-loading .au-spin{max-width:220px}
/* B320: uitstroom per journey (_journey_churn.html): one fold per journey, its funnel a table whose figures share the first
   line's centre with the mail's name (every cell top-aligned on 20px lines); on a phone each mail is a card of label/value
   lines like the flows table, never a table that scrolls sideways */
.jc-intro{margin:8px 0 0}
.jc-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.jc-journey{border:1px solid var(--border-subtle);border-radius:var(--radius-md,10px);min-width:0}
.jc-sum{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}
.jc-sum::-webkit-details-marker{display:none}
.jc-sum:focus-visible{outline:2px solid var(--focus-ring,var(--teal-600,currentColor));outline-offset:2px;border-radius:var(--radius-md,10px)}
.jc-sum-main{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
.jc-jname{font-size:14px;line-height:20px;font-weight:600;color:var(--fg-1);overflow-wrap:anywhere}
.jc-jsum{font-size:13px;line-height:20px;color:var(--fg-3);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.jc-caret{flex:none;font-size:16px;color:var(--fg-3);transition:transform .15s}
.jc-journey[open]>.jc-sum .jc-caret{transform:rotate(180deg)}
.jc-body{padding:0 14px 14px;min-width:0}
.jc-span{margin:0 0 8px;font-size:12.5px;line-height:20px;color:var(--fg-3)}
body.console main table.jc-table{display:table}
.jc-table{width:100%;font-size:13px;line-height:20px}
.jc-table th,.jc-table td{padding:8px 10px;vertical-align:top}
.jc-table th:first-child,.jc-table td:first-child{padding-left:0} .jc-table th:last-child,.jc-table td:last-child{padding-right:0}
.jc-table tbody tr:hover td{background:none}
.jc-table thead th{white-space:normal}
.jc-table th:not(:first-child),.jc-table td:not(:first-child){width:14%}       /* the same figure columns in every journey's table */
.jc-num{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--fg-1)}
.jc-mail{min-width:12em;overflow-wrap:anywhere}
.jc-mail-line{display:flex;align-items:flex-start;gap:8px;min-width:0}
.jc-n{flex:none;display:inline-block;width:20px;height:20px;border-radius:50%;background:var(--teal-10);font-size:11px;line-height:20px;font-weight:600;text-align:center;color:var(--fg-2)}
.jc-mname{min-width:0;color:var(--fg-1);font-weight:500}
.jc-track{display:block;margin:6px 0 0 28px;height:6px;width:auto;max-width:240px}
.jc-table tfoot th,.jc-table tfoot td{border-top:1px solid var(--border-subtle);font-weight:600;color:var(--fg-1);text-align:left}
.jc-table tfoot td.right{text-align:right}
.jc-note{margin:10px 0 0;font-size:12.5px;line-height:20px;color:var(--fg-3);overflow-wrap:anywhere}
.jc-more{display:inline-block;margin-top:8px}
@media (max-width:720px){
  .jc-sum{padding:12px}
  .jc-body{padding:0 12px 12px}
  body.console main table.jc-table,.jc-table tbody,.jc-table tfoot,.jc-table tr,.jc-table td,.jc-table th,
  .jc-table th:not(:first-child),.jc-table td:not(:first-child){display:block;width:auto}
  .jc-table thead{display:none}
  .jc-table tr{padding:10px 0;border-bottom:1px solid var(--border-subtle)} .jc-table tbody tr:first-child{padding-top:0}
  .jc-table tfoot tr{border-bottom:0;padding-bottom:0}
  .jc-table tfoot th,.jc-table tfoot td{border-top:0}
  .jc-table td,.jc-table th{padding:2px 0;text-align:left}
  .jc-table td.jc-num{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;text-align:right;white-space:normal}
  .jc-table td.jc-num::before{content:attr(data-label);text-align:left;font-weight:400;font-size:12px;color:var(--fg-3)}
  .jc-table .jc-mail{padding-bottom:6px;min-width:0}
  .jc-track{max-width:none}
}
@media (max-width:720px){
  .au-rec-row{grid-template-columns:minmax(0,1fr)}
  .au-rec-side{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;max-width:none;text-align:left}
  body.console main .au-table,.au-table tbody,.au-table tr,.au-table td{display:block;width:auto}
  .au-table thead{display:none}
  .au-table tr{padding:12px 0;border-bottom:1px solid var(--border-subtle)} .au-table tr:last-child{border-bottom:0;padding-bottom:0}
  .au-table td{display:grid;grid-template-columns:minmax(84px,38%) minmax(0,1fr);gap:8px;align-items:center;padding:3px 0;border-bottom:0;text-align:left;white-space:normal}
  .au-table td>*{justify-self:start;max-width:100%}
  .au-table td::before{content:attr(data-label);font-size:12px;line-height:20px;color:var(--fg-3)}
  .au-table td.au-name{display:block;padding-bottom:6px} .au-table td.au-name::before{display:none}
  .au-table td.au-open{display:block;padding-top:6px} .au-table td.au-open::before{display:none}
  .au-acts{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 16px}
  .au-num .au-sub{display:inline;margin-left:6px}
}

/* bug hunt 16 nov: the refusal page of a console or customer page a browser opened (c_not_found.html, p_not_found.html,
   app._plain_refusal): one card with what happened and the way back, never the API's JSON */
.nf-card{max-width:560px;margin:32px auto;overflow-wrap:anywhere}
.nf-card .nf-title{margin:0 0 8px;font-size:22px;line-height:30px}
.nf-card .nf-back{margin:16px 0 0}
.nf-plain main{padding:0 16px}
/* B307b: a subscription's track & trace codes, typed per box (the order page stays read only, B243) */
.trk-row{padding:8px 0;border-top:1px solid var(--border,#e5e7eb);min-width:0} .trk-row:first-of-type{border-top:0}
.trk-row .row>span{min-width:0;overflow-wrap:anywhere}
.trk-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:6px} .trk-form label{display:flex;flex-direction:column;gap:4px;min-width:0}
.trk-form input{width:100%;min-width:0;box-sizing:border-box} .trk-form .btn{justify-self:start}
/* ── B308 aanvulling 3: the demo video on Claude koppelen (_int_mcp_video.html; Integraties › Churned MCP until aanvulling 4), under the page's intro. Wide: the
   video and, beside it, the heading with one line and under that the chapters and the re-enactment line; a phone stacks
   heading, video, chapters. The
   video keeps 16:9 inside its card's padding (B237), never wider than its column; the chapters are quiet buttons, one
   line each with the time right-aligned. ── */
.ig-video{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "video" "rest";gap:12px 22px;margin:0 0 18px;padding:18px 20px}
.ig-video-head{grid-area:head;min-width:0} .ig-video-head .ig-h2{margin:0 0 6px}
.ig-video-frame{grid-area:video;min-width:0}
.ig-video-player{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:12px;background:var(--color-primary-teal-800)}
.ig-video-rest{grid-area:rest;min-width:0;display:flex;flex-direction:column;gap:8px}
.ig-video-lead{margin:0;font-size:14px;line-height:21px;color:var(--fg-2);overflow-wrap:anywhere}
.ig-video-label{margin:0;font:var(--t-eyebrow);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3)}
.ig-video-chapters{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.ig-video-ch{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:7px 10px;border:0;border-radius:8px;background:none;
  font:inherit;font-size:13px;line-height:19px;color:var(--fg-1);text-align:left;cursor:pointer}
.ig-video-ch:hover{background:var(--color-primary-teal-10)} .ig-video-ch:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
.ig-video-ch-label{min-width:0;overflow-wrap:anywhere} .ig-video-ch-time{flex:none;font-variant-numeric:tabular-nums;color:var(--fg-3);text-align:right}
.ig-video-disclosure{margin:auto 0 0;padding-top:6px;overflow-wrap:anywhere}
@media (min-width:900px){.ig-video{grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr);grid-template-rows:auto 1fr;grid-template-areas:"video head" "video rest"}}

/* ── B313: the portal banner (_p_banner.html): the store's accent, one per overview, closable ── */
.sf-banner{position:relative;display:flex;gap:14px;align-items:flex-start;margin:0 0 16px;padding:16px 56px 16px 16px;border:1px solid var(--accent);background:var(--accent-soft);border-radius:var(--r-xl,16px);color:var(--fg-1);min-width:0}
.sf-banner-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--accent);color:var(--on-accent,var(--fg-1))}
.sf-banner-row{margin:0}
.sf-banner-row>.sf-banner{grid-column:1}   /* r6: the main column's width (storefront .sf-grid), never across 'Facturen' too */
.sf-grid.sf-banner-row{grid-template-columns:minmax(0,1fr)}   /* B315: /me is one column now (.sf-one): the banner is that column's width */
.sf-banner{container-type:inline-size}
.sf-banner-main{flex:1 1 auto;min-width:0}
.sf-banner-txt,.sf-banner-side{min-width:0}
.sf-banner-kicker{margin:0 0 2px;font-size:12px;line-height:16px;font-weight:600;color:var(--fg-3)}
.sf-banner h2{margin:0 0 4px;font-size:18px;line-height:24px;overflow-wrap:anywhere}
.sf-banner-body{margin:0 0 10px;overflow-wrap:anywhere}
.sf-banner-act{margin:0 0 8px}
.sf-banner-act .btn{max-width:100%;white-space:normal}
.sf-banner-cond{margin:0;color:var(--fg-2)}
.sf-banner-done{display:flex;gap:8px;align-items:flex-start;margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.sf-banner-done svg{flex:none;margin-top:1px}
.sf-banner-x{position:absolute;top:8px;right:8px;margin:0}
.sf-banner-close{width:40px;height:40px;border:0;background:transparent;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:inherit;font-size:18px;padding:0}
.sf-banner-close:hover{background:rgba(0,0,0,.06)}
/* r6: wide, the words left and the claim (button + its conditions) or what is booked right of them, so the content uses
   the box instead of keeping to its left third while the close button sits alone at the far edge */
@container (min-width:600px){
  .sf-banner-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);gap:6px 24px;align-items:center}
  /* B315: /me is one wide column (1180-1360px). The words take what they need and the claim's box the rest, its content
     (button + conditions, or what is booked) centred in it: a short title (a one-word gift) or a short claim line splits
     the room left over between the two instead of leaving one wide empty band beside the words or before the close X */
  .sf-banner-row .sf-banner-main{grid-template-columns:minmax(0,max-content) minmax(240px,1fr)}
  .sf-banner-row .sf-banner-side{display:grid;justify-content:center;justify-items:start}
  .sf-banner-side>:last-child,.sf-banner-txt>:last-child{margin-bottom:0}
}
@media (max-width:560px){.sf-banner{padding:14px 52px 14px 14px;gap:12px}.sf-banner-ic{width:34px;height:34px;border-radius:10px}.sf-banner-ic svg{width:19px;height:19px}.sf-banner-act .btn{width:100%}}

/* ── B308 aanvulling 4: Instellingen › MCP (aanvulling 6; was Claude koppelen) (c_claude.html, _int_mcp.html), Settings' nav beside it. Six parts,
   each a card or a part of the card: what it is (h1, its pill, two sentences, full width: no capped column), the video
   (one column until the page's own column is 820px wide: a container query, the nav takes ~234px), the example
   questions as quiet quote tiles (two by two from 560px), the three numbered steps (a 32px number disc, the step's
   heading on its centre line), the ✓/✗ list (ink and red, never green: B187), and the technical details folded. The
   Integraties page keeps one quiet line that leads here (.ig-claude-line). ── */
.ck-page{container-type:inline-size}
.ck-head{margin:0 0 18px;padding:18px 20px}
.ck-head-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px} .ck-head-name h1{margin:0;overflow-wrap:anywhere}
.ck-what{margin:8px 0 0;font-size:15px;line-height:23px;color:var(--fg-2);overflow-wrap:anywhere}
.ck-head .small{margin:8px 0 0}
.ck-page .ig-video{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "video" "rest"}
@container (min-width:820px){.ck-page .ig-video{grid-template-columns:minmax(0,1.75fr) minmax(220px,1fr);grid-template-rows:auto 1fr;grid-template-areas:"video head" "video rest"}}
.ck-ask{margin:0 0 18px;padding:18px 20px}
.ck-ask-lead{margin:-4px 0 12px;font-size:14px;line-height:21px;color:var(--fg-2)}
.ck-questions{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
@container (min-width:560px){.ck-questions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ck-question{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:10px 12px;border:1px solid var(--border-subtle);border-radius:var(--radius-md,10px);background:var(--color-primary-teal-10);font-size:14px;line-height:20px;color:var(--fg-1)}
.ck-question i{flex:none;font-size:18px;line-height:20px;color:var(--fg-3)} .ck-question q{min-width:0;overflow-wrap:anywhere}
.mcp-card>section:first-of-type{margin-top:0;padding-top:0;border-top:0}
.ck-page .mcp-card{padding:18px 20px} .ck-step-text a,.ck-rules a,a.ck-link,.ig-claude-line a{text-decoration:underline;text-underline-offset:2px}  /* r2: every link on the page and the Integraties line reads as a link */
.ck-steps{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.ck-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.ck-step-n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--color-primary-teal-10);box-shadow:inset 0 0 0 1px var(--border-subtle);color:var(--fg-1);font-size:14px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
.ck-step-body{min-width:0}
.ck-step-h{margin:5px 0 4px;font-size:15px;line-height:22px;font-weight:600;color:var(--fg-1);text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.ck-step-text{margin:0 0 8px;font-size:14px;line-height:21px;color:var(--fg-2);overflow-wrap:anywhere}
.ck-step-body .small{margin:0 0 8px;overflow-wrap:anywhere}
.ck-step-strong{margin:0 0 4px;font-weight:600;color:var(--fg-1);overflow-wrap:anywhere}
.ck-step-act{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px} .ck-link{font-size:13px;line-height:20px;font-weight:500;color:var(--fg-1)}
.ck-q{font-weight:600;color:var(--fg-1)}
.ck-step .mcp-minted{margin:0 0 12px}
.ck-another{margin:0} .ck-another>summary{cursor:pointer;width:fit-content;max-width:100%;border-radius:6px;font-size:13px;line-height:20px;color:var(--fg-2)} .ck-another>summary:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)} .ck-another[open]>summary{margin-bottom:10px}
.ck-rules{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ck-rules li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;font-size:14px;line-height:21px;color:var(--fg-1)}
.ck-rules li>span{min-width:0;overflow-wrap:anywhere} .ck-rules li i{font-size:18px;line-height:21px;text-align:center;color:var(--fg-2)}
.ck-rules li.ck-never i{color:var(--red-800)}
.ck-tech>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;width:fit-content;max-width:100%;border-radius:8px}
.ck-tech>summary::-webkit-details-marker{display:none}
.ck-tech>summary::before{content:"";flex:none;width:7px;height:7px;margin:0 4px 0 2px;border-right:2px solid var(--fg-3);border-bottom:2px solid var(--fg-3);transform:rotate(-45deg);transition:transform .15s}
.ck-tech[open]>summary::before{transform:rotate(45deg)}
.ck-tech>summary:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
.ck-tech>summary .ig-h2{margin:0}
.ck-tech-body{margin-top:12px} .ck-tech-body>p{margin:0 0 8px;overflow-wrap:anywhere}
.ck-tech-body>section,.ck-tech-body>.mcp-setup{margin-top:16px;padding-top:14px;border-top:1px solid var(--border-default)}
.ck-tech-body>.mcp-url{margin-top:12px}
.ig-claude-line{display:flex;align-items:flex-start;gap:8px;margin:0 0 18px;font-size:14px;line-height:21px;color:var(--fg-2)} .ig-claude-line span{min-width:0;overflow-wrap:anywhere}
.ig-claude-line a{font-weight:500;color:var(--fg-1)}
.ig-claude-line i{flex:none;font-size:18px;line-height:21px;color:var(--fg-3)}
/* B308 aanvulling 5: step 2 as five lettered sub-steps (a quiet 22px letter on the text's first line, the text beside
   it, never under it), a one-line Developer Mode hint, and in the technical details the two file
   places (Mac, Windows; the path wraps anywhere at 375px) and the 'werkt het niet?' checklist. */
.ck-subs{list-style:none;margin:2px 0 8px;padding:0;display:grid;gap:6px}
.ck-sub{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;min-width:0}
.ck-sub-n{display:block;height:21px;font-size:13px;line-height:21px;font-weight:600;text-align:center;color:var(--fg-3)}
.ck-sub>.ck-step-text,.ck-sub-body>:last-child{margin-bottom:0} .ck-sub-body{min-width:0} .ck-sub-body .ck-step-act{margin:0 0 6px}
.ck-hint{display:flex;align-items:flex-start;gap:6px} .ck-hint i{flex:none;font-size:15px;line-height:inherit} .ck-hint span{min-width:0}
.ck-places,.ck-help{margin:12px 0 0} .ck-places>p{margin:0 0 6px}
.ck-places-list,.ck-help-list{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.ck-places-list li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:baseline;font-size:13px;line-height:18px}
.ck-places-list code{min-width:0;padding:4px 8px;border-radius:var(--radius-md);background:var(--color-primary-teal-10);color:var(--fg-1);overflow-wrap:anywhere;word-break:break-all}
.ck-os{font-weight:600;color:var(--fg-2)}
.ck-help-list li{position:relative;padding-left:16px;font-size:13px;line-height:19px;color:var(--fg-2);overflow-wrap:anywhere}
.ck-help-list li::before{content:"";position:absolute;left:3px;top:7px;width:5px;height:5px;border-radius:50%;background:var(--fg-3)}
/* B308 aanvulling 5 (Wiel: "staat heel veel tekst in"): sub-step d's three states of the file, one framed row each (its
   sentence, a three-line picture of the file with where the cursor goes, its copy button); the picture is the file's
   own monospace with the merchant's words beside the cursor in the page's font, every line wrapping at 375px. And the
   file check in the details: a box as wide as the details, its answer under the button. */
.ck-paths{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:8px}
/* B308 aanvulling 6: the line about the key (Bekijk de instelling) stands above the buttons, for all of them */
.ck-key-in{margin:0 0 6px} .ck-key-in .ck-link{font-size:inherit;line-height:inherit}
.ck-path{min-width:0;padding:10px 12px;border:1px solid var(--border-default);border-radius:var(--radius-md)}
.ck-path>.ck-step-text{margin:0 0 6px}
.ck-eg{display:block;margin:0 0 8px;padding:6px 10px;border-radius:var(--radius-md);background:var(--color-primary-teal-10);font-family:var(--mono);font-size:12px;line-height:18px;color:var(--fg-2)}
.ck-eg-line{display:block;min-height:18px;white-space:pre-wrap;overflow-wrap:anywhere}
.ck-eg-sel{display:inline-block;min-width:3ch;background:var(--ring-focus);color:var(--fg-1)}
.ck-eg-caret{display:inline-block;width:2px;height:14px;margin:0 1px;vertical-align:-2px;background:var(--fg-1)}
.ck-eg-note{margin-left:6px;font-family:var(--font);font-size:12px;font-weight:600;color:var(--fg-1);white-space:normal} .ck-eg-note::before{content:"\2190\00a0"}
.ck-path .ck-step-act{margin:0} .ck-path .btn{max-width:100%;height:auto;min-height:32px;padding-top:5px;padding-bottom:5px;white-space:normal;text-align:left}
.ck-check{margin:12px 0 0} .ck-check>p{margin:0 0 6px}
.ck-check-box{display:block;width:100%;min-width:0;font-family:var(--mono);font-size:12px;line-height:18px;resize:vertical}
.ck-check .ck-step-act{margin:8px 0 0} .ck-check-out{margin:6px 0 0;color:var(--fg-1);overflow-wrap:anywhere} .ck-check-out:empty{display:none}
/* B308 aanvulling 7: step 2's download of the Claude Desktop extension (a plain button, the page keeps one primary)
   above its three sub-steps; in the details, the setting by hand under 'Liever met de hand?' with step 2's old spacing. */
.ck-ext-act{margin:2px 0 10px} .ck-ext-act .btn{max-width:100%;height:auto;min-height:32px;white-space:normal;text-align:left}
.ck-manual>.ck-step-strong{margin:8px 0 6px} .ck-manual>.small{margin:0 0 8px;overflow-wrap:anywhere}
/* on a phone the words beside the cursor stand under its line (the arrow points up), so the file's lines keep their shape */
@media (max-width:640px){.ck-eg{padding:6px 8px;font-size:11px} .ck-eg-note{display:block;margin:0 0 2px} .ck-eg-note::before{content:"\2191\00a0"}}
@media (max-width:640px){.ck-head,.ck-ask,.ck-page .mcp-card{padding:16px}}
/* ── B321: connect Claude with one link (_mcp_link.html) on top of the MCP page: the link with 'Link kopiëren' (the page's
   one primary), three steps beside a drawn picture of Claude's Connectors screen (side by side once the page's column is
   760px wide, else the picture under the steps), 'Gekoppelde apps' as the key list's rows; the ✓/✗ list as a card of its
   own; the key route under 'Geavanceerd' (a card-like summary, closed). The consent page Claude opens (oauth_consent.html,
   .oac-). ── */
.ck-link-card,.ck-apps-card,.ck-rules-card{margin:0 0 18px;padding:18px 20px}
.ck-link-lead{margin:-4px 0 12px;font-size:14px;line-height:21px;color:var(--fg-2);overflow-wrap:anywhere}
.ck-link-row{display:grid;gap:4px;margin:0 0 16px}
.ck-link-line code{font-size:13px}
.ck-link-copy{max-width:100%}
.ck-link-how{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@container (min-width:760px){.ck-link-how{grid-template-columns:minmax(0,1fr) minmax(240px,300px)}}
.ck-fig{margin:0;min-width:0;display:grid;gap:6px}
.ck-fig figcaption{overflow-wrap:anywhere}
.ck-fig-win{border:1px solid var(--border-default);border-radius:var(--radius-md,10px);background:var(--bg-surface,#fff);overflow:hidden;font-size:12px;line-height:16px;color:var(--fg-2)}
.ck-fig-bar{display:flex;align-items:center;gap:5px;padding:6px 10px;border-bottom:1px solid var(--border-default);background:var(--color-primary-teal-10)}
.ck-fig-bar>span{flex:none;width:7px;height:7px;border-radius:50%;background:var(--border-default)}
.ck-fig-bar>b{margin-left:6px;min-width:0;font-weight:600;color:var(--fg-1);overflow-wrap:anywhere}
.ck-fig-body{display:grid;grid-template-columns:minmax(70px,34%) minmax(0,1fr)}
.ck-fig-nav{list-style:none;margin:0;padding:8px 6px;display:grid;gap:2px;align-content:start;border-right:1px solid var(--border-default)}
.ck-fig-nav li{padding:4px 6px;border-radius:6px;overflow-wrap:anywhere} .ck-fig-nav li.on{background:var(--color-primary-teal-10);color:var(--fg-1);font-weight:600}
.ck-fig-main{display:grid;gap:6px;align-content:start;padding:8px 10px;min-width:0}
.ck-fig-add{display:flex;align-items:center;gap:4px;justify-self:start;max-width:100%;padding:4px 8px;border-radius:6px;box-shadow:0 0 0 2px var(--ring-focus);background:var(--bg-surface,#fff);color:var(--fg-1);font-weight:600;overflow-wrap:anywhere}
.ck-fig-add i{flex:none}
.ck-fig-field{display:grid;gap:1px;min-width:0} .ck-fig-field small{font-size:11px;color:var(--fg-3)}
.ck-fig-field>span{display:block;min-width:0;padding:3px 6px;border:1px solid var(--border-default);border-radius:5px;color:var(--fg-1)}
.ck-fig-url{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--mono)}
.ck-apps-card .mcp-list{margin-top:-4px}
.ck-advanced{margin:0 0 18px}
.ck-adv-summary{display:flex;align-items:center;gap:8px;margin:0;padding:14px 20px;cursor:pointer;list-style:none}
.ck-adv-summary::-webkit-details-marker{display:none}
.ck-adv-summary::before{content:"";flex:none;width:7px;height:7px;margin:0 4px 0 2px;border-right:2px solid var(--fg-3);border-bottom:2px solid var(--fg-3);transform:rotate(-45deg);transition:transform .15s}
.ck-advanced[open]>.ck-adv-summary::before{transform:rotate(45deg)}
.ck-adv-summary:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-focus)}
.ck-adv-summary .ig-h2{margin:0;min-width:0;overflow-wrap:anywhere}
.ck-adv-lead{margin:12px 2px;font-size:14px;line-height:21px;color:var(--fg-2);overflow-wrap:anywhere}
.mcp-keys-note{margin:0 0 6px;overflow-wrap:anywhere}
@media (max-width:640px){.ck-link-card,.ck-apps-card,.ck-rules-card{padding:16px} .ck-adv-summary{padding:12px 16px} .ck-link-copy{width:100%;justify-content:center}}
/* the consent page: one card in the middle of the sign-in pages' look */
.oac{display:block;padding:24px 16px 40px}
.oac-card{max-width:520px;margin:0 auto;padding:22px 24px}
.oac-h{margin:0 0 6px;font-size:22px;line-height:28px;overflow-wrap:anywhere}
.oac-text{margin:0 0 14px;font-size:15px;line-height:23px;color:var(--fg-2);overflow-wrap:anywhere}
.oac-who{margin:0 0 14px;overflow-wrap:anywhere}
.oac-card .banner{margin:0 0 14px}
.oac-form{display:grid;gap:16px;margin:0}
.oac-label{margin:0 0 6px;font-size:13px;line-height:18px;font-weight:600;color:var(--fg-1)}
.oac-stores{margin:0;padding:0;border:0;display:grid;gap:6px;min-width:0}
.oac-store{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:center;padding:8px 12px;border:1px solid var(--border-default);border-radius:var(--radius-md,10px);cursor:pointer}
.oac-store input{margin:0}
.oac-store.off{cursor:default;color:var(--fg-3)}
.oac-store-text{display:grid;min-width:0} .oac-store-name{font-size:14px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.oac-may .ck-rules{margin:0 0 10px}
.oac-check{display:flex;gap:8px;align-items:flex-start;margin:6px 0 0;font-size:14px;line-height:20px} .oac-check span{min-width:0;overflow-wrap:anywhere}
.oac-note{margin:0;overflow-wrap:anywhere}
.oac-act{display:flex;flex-wrap:wrap;gap:8px 10px} .oac-act .btn{max-width:100%}
.oac-more{margin:12px 0 0;overflow-wrap:anywhere} .oac-more a{color:var(--fg-1);text-decoration:underline;text-underline-offset:2px}
.oac-body .ptop .lang-seg a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:28px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:600;color:var(--fg-2);text-decoration:none}
.oac-body .ptop .lang-seg a.on{background:var(--color-primary-teal-10);color:var(--fg-1)}
@media (max-width:640px){.oac-card{padding:18px 16px} .oac-act .btn{flex:1 1 100%}}
