/* z.css · the Zoeken.ai UI kit: tokens and components shared by the workspace and, later, the search fronts (search/).
   Brand from product/mockup/brand.css (DM Sans, blue #1A66E0, orange dot). Less is more: one accent, quiet greys,
   one radius family, one shadow, 4-px spacing. Components are plain classes (z-*), no framework, no build step.
   Showcase: workspace/ui/index.html. Change a token here, never a colour inside a component.
   Fonts: z.css loads none. Workspace pages link Google Fonts; public fronts self-host DM Sans (no visitor IPs to Google). */

:root {
  /* colour */
  --z-bg: #F6F7F9;          /* canvas */
  --z-surface: #FFFFFF;     /* cards, nav */
  --z-ink: #14181F;         /* titles */
  --z-ink-2: #3D4652;       /* body text */
  --z-mute: #6B7480;        /* meta */
  --z-faint: #A0A7B1;       /* counts, numbers, placeholders */
  --z-line: #E6E9ED;        /* card borders */
  --z-line-soft: #EFF1F4;   /* dividers inside cards */
  --z-line-strong: #D9DEE4; /* input borders */
  --z-hover: #F4F6F8;
  --z-accent: #1A66E0; --z-accent-ink: #1452B8; --z-accent-soft: #EDF3FD;
  --z-dot: #F26A1B;         /* the orange of the wordmark dot; used for nothing else */
  --z-ok: #1E9E5A; --z-warn: #E08A00; --z-info: var(--z-accent); --z-idle: #B3BAC3; --z-danger: #D93B30;
  /* type */
  --z-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --z-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --z-fs-xs: 12px; --z-fs-sm: 13px; --z-fs-md: 14px; --z-fs-lg: 16px; --z-fs-xl: 20px; --z-fs-2xl: 28px;
  /* shape and depth */
  --z-r-sm: 8px; --z-r-md: 12px; --z-r-lg: 16px; --z-r-full: 999px;
  --z-shadow: 0 1px 2px rgba(20, 24, 31, .04), 0 1px 1px rgba(20, 24, 31, .02);
  --z-ring: 0 0 0 3px rgba(26, 102, 224, .18);
  --z-track: rgba(20, 24, 31, .04);        /* the groove behind a segmented control */
  --z-lift: 0 1px 2px rgba(20, 24, 31, .08); /* the chosen segment */
  --z-pop: 0 12px 30px -12px rgba(20, 24, 31, .25); /* menus, popovers */
  /* motion (page transitions; docs/DESIGN.md) */
  --z-dur-page: 170ms; --z-dur-move: 220ms; --z-ease-move: cubic-bezier(.2, .7, .2, 1);
  --z-float: 0 20px 50px -28px rgba(20, 24, 31, .25); /* a form or panel that floats on the page */
  --z-drawer: -20px 0 40px rgba(20, 24, 31, .18);
  --z-scrim: rgba(20, 24, 31, .62); --z-scrim-soft: rgba(20, 24, 31, .45);
  --z-on-dark: #FFFFFF; --z-on-dark-2: rgba(255, 255, 255, .78); --z-glass: rgba(255, 255, 255, .92);
  --z-on-dark-3: rgba(255, 255, 255, .86); --z-code-accent: #8FB8FF; /* text and highlights on ink (code samples) */
  --z-glow: 0 10px 30px -10px rgba(26, 102, 224, .6); /* the one floating primary bar on phones */
  --z-callout: 0 8px 24px -8px rgba(20, 24, 31, .4);
  --z-sheet: 0 1px 2px rgba(20, 24, 31, .04), 0 24px 60px -24px rgba(20, 24, 31, .18); /* a product screenshot on a landing */
  --z-knob: 0 1px 2px rgba(0, 0, 0, .15); /* the knob of a switch */
  --z-line-hover: #CDD3DA; --z-ok-soft: rgba(30, 158, 90, .09); --z-danger-soft: rgba(217, 59, 48, .08);
  --z-ring-danger: 0 0 0 3px rgba(217, 59, 48, .15);
  --z-modal: 0 24px 48px -12px rgba(20, 24, 31, .18); --z-backdrop: rgba(20, 24, 31, .28);
  --z-toast: 0 12px 24px -8px rgba(20, 24, 31, .3); --z-menu: 0 12px 24px -8px rgba(20, 24, 31, .16);
  /* categories (admin Log groups and modes): quiet tinted pairs, background / text */
  --z-cat-blue: #EEF3FC; --z-cat-blue-ink: #2B4F8F; --z-cat-violet: #F1EEFB; --z-cat-violet-ink: #4B3C86;
  --z-cat-green: #ECF6F2; --z-cat-green-ink: #2E6B53; --z-cat-orange: #FBF1EA; --z-cat-orange-ink: #8A4B22;
  --z-cat-teal: #EAF5F7; --z-cat-teal-ink: #285E6B; --z-cat-sand: #F6F2E8; --z-cat-sand-ink: #6B5A27;
  --z-cat-red: #FCEDEC; --z-cat-red-ink: #A3342C; --z-cat-grey: #F1F3F5; --z-cat-grey-ink: var(--z-ink-2);
  /* motion */
  --z-t: 140ms cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 400 var(--z-fs-md)/1.6 var(--z-sans); color: var(--z-ink-2); background: var(--z-bg);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
       padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }   /* viewport-fit=cover: keep clear of the notch in landscape */
a { color: var(--z-accent); text-decoration: none; transition: color var(--z-t); }
a:hover { color: var(--z-accent-ink); }
:focus-visible { outline: none; box-shadow: var(--z-ring); border-radius: var(--z-r-sm); }
/* Some browsers count a click on a link, summary or button as focus-visible; z.js marks pointer use so those
   rings only show for the keyboard. Text fields keep their own focus style. */
.z-pointer :is(a, summary, button, [tabindex]):focus-visible { box-shadow: none; }
::selection { background: var(--z-accent-soft); }
code, .z-mono { font: 12.5px var(--z-mono); color: var(--z-ink-2); background: var(--z-hover); padding: 1px 5px; border-radius: 5px; }
p { margin: 0 0 8px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- wordmark (brand v1: all blue, the dot orange; product/mockup/brand.css) ---------- */
.z-logo { display: inline-flex; align-items: baseline; font: 600 18px/1 var(--z-sans); letter-spacing: -.02em; font-kerning: normal; color: var(--z-accent); white-space: nowrap; }
.z-logo i { font-style: normal; color: inherit; margin: 0 .02em; }   /* identity A (Rene, 19-10): one colour, no orange */
.z-logo b { font-weight: 600; color: inherit; }
.z-logo small { font: 500 var(--z-fs-sm)/1 var(--z-sans); letter-spacing: 0; color: var(--z-faint); margin-left: 8px; }

/* ---------- app shell: nav + main ---------- */
.z-app { display: grid; grid-template-columns: 236px minmax(0, 1fr); height: 100%; }
.z-nav { background: var(--z-surface); border-right: 1px solid var(--z-line); padding: 22px 12px; overflow-y: auto; }
.z-nav a.z-nav__brand, .z-nav a.z-nav__brand:hover { display: flex; height: auto; padding: 2px 10px 22px; background: none; }   /* the logo is a link, not a menu item: no hover block */
.z-nav__group { margin: 0; font: 500 var(--z-fs-xs)/1 var(--z-sans); color: var(--z-mute); padding: 20px 10px 8px; }   /* a quiet heading ("CRM"), no kicker */
.z-nav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--z-r-sm);
           color: var(--z-ink-2); font-size: var(--z-fs-md); transition: background-color var(--z-t), color var(--z-t); }
.z-nav a:hover { background: var(--z-hover); color: var(--z-ink); }
.z-nav a[aria-current="page"] { background: var(--z-accent-soft); color: var(--z-accent-ink); font-weight: 500; }
.z-nav a[aria-current="page"] .z-icon { color: var(--z-accent); }
.z-nav { display: flex; flex-direction: column; }
.z-nav a[data-empty] { opacity: .45; }   /* a page that has nothing to show yet: still clickable, visibly quiet */
.z-nav a[data-empty]:hover, .z-nav a[data-empty][aria-current="page"] { opacity: .8; }
.z-nav__end { margin-left: auto; font-size: var(--z-fs-xs); color: var(--z-faint); font-variant-numeric: tabular-nums; }
.z-nav__dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--z-idle); }
.z-nav__dot--ok { background: var(--z-ok); } .z-nav__dot--warn { background: var(--z-warn); } .z-nav__dot--info { background: var(--z-info); }
.z-nav__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--z-line-soft); }
.z-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
          stroke-linejoin: round; color: var(--z-faint); transition: color var(--z-t); }
.z-nav a:hover .z-icon { color: var(--z-mute); }
.z-main { overflow-y: auto; min-width: 0; }
.z-main--frame { display: flex; flex-direction: column; overflow: hidden; }
.z-page { max-width: 920px; margin: 0 auto; padding: 48px 40px 120px; animation: z-in .18s ease-out; }
@keyframes z-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

/* ---------- headings ---------- */
/* a quiet label above a card: no small blue capitals (Rene, 21-10: "wat rustiger") */
.z-eyebrow { display: block; font: 500 13px/1.4 var(--z-sans); color: var(--z-mute); margin: 0 0 8px; }
.z-title { font: 600 var(--z-fs-2xl)/1.2 var(--z-sans); letter-spacing: -.025em; color: var(--z-ink); margin: 0; }
.z-lede { font-size: 15px; line-height: 1.6; color: var(--z-mute); max-width: 64ch; margin: 10px 0 0; }
.z-section { margin-top: 48px; }
.z-section__head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.z-section__title { font: 600 var(--z-fs-lg)/1.3 var(--z-sans); letter-spacing: -.01em; color: var(--z-ink); margin: 0; }
.z-count { font-size: var(--z-fs-sm); color: var(--z-faint); font-variant-numeric: tabular-nums; }
.z-section__aside { margin-left: auto; font-size: var(--z-fs-sm); }

/* ---------- card ---------- */
.z-card { background: var(--z-surface); border: 1px solid var(--z-line); border-radius: var(--z-r-lg); box-shadow: var(--z-shadow); overflow: hidden; }
.z-card + .z-card, .z-eyebrow + .z-card { margin-top: 0; }
.z-card--pad { padding: 20px 22px; }
.z-group-label { margin: 28px 0 10px; }

/* ---------- list of items (one line each; opens in place) ---------- */
.z-item { border-top: 1px solid var(--z-line-soft); }
.z-item:first-child { border-top: 0; }
.z-item > summary, a.z-item { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 20px;
                              cursor: pointer; color: inherit; transition: background-color var(--z-t); }
.z-item > summary::-webkit-details-marker { display: none; }
.z-item > summary:hover, a.z-item:hover { background: var(--z-hover); }
.z-item > summary::after, a.z-item::after { content: ""; flex: none; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.5px solid var(--z-faint); border-bottom: 1.5px solid var(--z-faint); transform: rotate(-45deg); transition: transform var(--z-t); }
.z-item[open] > summary::after { transform: rotate(45deg); }
.z-item__title { flex: 1; min-width: 0; font-weight: 500; color: var(--z-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.z-item[open] > summary .z-item__title { white-space: normal; padding: 14px 0; }   /* the full title once opened */
.z-item__desc { flex: 2; min-width: 0; color: var(--z-mute); font-size: var(--z-fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.z-item__meta { flex: none; color: var(--z-mute); font-size: var(--z-fs-sm); white-space: nowrap; font-variant-numeric: tabular-nums; }
.z-item__body { padding: 2px 20px 22px; font-size: var(--z-fs-sm); line-height: 1.65; max-width: 780px; }
.z-item__body h3 { font: 500 var(--z-fs-xs)/1.4 var(--z-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--z-faint); margin: 18px 0 6px; }
.z-item__body ul { margin: 0; padding-left: 18px; } .z-item__body li { margin: 0 0 4px; }

/* ---------- numbered list ---------- */
.z-num { list-style: none; margin: 0; padding: 0; counter-reset: z; }
.z-num > li { counter-increment: z; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline;
              padding: 15px 22px; border-top: 1px solid var(--z-line-soft); color: var(--z-ink); }
.z-num > li:first-child { border-top: 0; }
.z-num > li::before { content: counter(z); color: var(--z-faint); font-size: var(--z-fs-sm); font-variant-numeric: tabular-nums; }
.z-num__title { font-weight: 500; }
.z-num__text { grid-column: 2 / -1; color: var(--z-ink-2); font-size: var(--z-fs-sm); line-height: 1.6; }
.z-num__note { display: block; margin-top: 4px; color: var(--z-mute); }

/* ---------- status: a dot and a word, never a coloured block ---------- */
.z-status { display: inline-flex; align-items: center; gap: 7px; font: 500 var(--z-fs-xs)/1 var(--z-sans); color: var(--z-ink-2);
            white-space: nowrap; min-width: 76px; }
.z-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--z-idle); }
.z-status--ok::before { background: var(--z-ok); } .z-status--warn::before { background: var(--z-warn); }
.z-status--info::before { background: var(--z-info); } .z-status--faint { color: var(--z-faint); }

/* ---------- badge: a quiet word in a box (decision, proposal) ---------- */
.z-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 500 11px/1 var(--z-sans);
           letter-spacing: .02em; color: var(--z-mute); background: var(--z-hover); white-space: nowrap; }
.z-badge--accent { color: var(--z-accent-ink); background: var(--z-accent-soft); }

/* ---------- key–value ---------- */
.z-kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.z-kv dt { color: var(--z-mute); } .z-kv dd { margin: 0; color: var(--z-ink-2); }

/* ---------- tabs (underline) ---------- */
.z-tabs { display: flex; align-items: center; gap: 22px; }
.z-tabs a { position: relative; display: inline-flex; align-items: center; height: 48px; color: var(--z-mute); font-size: var(--z-fs-md); }
.z-tabs a:hover { color: var(--z-ink); }
/* a row that scrolls sideways only: the line is an inset shadow so the selected underline needs no overflow below; a soft
   fade marks the cut at the right edge (the padding lets the last tab clear it); z.js turns a mouse wheel into sideways scroll */
.z-tabs--scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; box-shadow: inset 0 -1px 0 var(--z-line);
                  padding-right: 32px; mask-image: linear-gradient(to right, var(--z-ink) calc(100% - 32px), transparent); }
.z-tabs--scroll::-webkit-scrollbar { display: none; }
.z-tabs--scroll a { flex: none; white-space: nowrap; } .z-tabs--scroll a[aria-selected="true"]::after { bottom: 0; }
.z-tabs a[aria-selected="true"] { color: var(--z-accent); font-weight: 500; }
.z-tabs a[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--z-accent); }
.z-tabs--sm a { height: 32px; font-size: var(--z-fs-sm); }
.z-tabs a:focus-visible { box-shadow: none; color: var(--z-ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--z-line); }
/* pills: a quiet segmented choice (search home, filters) */
.z-pills { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--z-r-full); background: var(--z-track); }
.z-pills a { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--z-r-full); color: var(--z-mute);
             font-size: var(--z-fs-sm); transition: background-color var(--z-t), color var(--z-t), box-shadow var(--z-t); }
.z-pills a:hover { color: var(--z-ink); }
.z-pills a[aria-selected="true"] { background: var(--z-surface); color: var(--z-ink); font-weight: 500; box-shadow: var(--z-lift); }
.z-pills a:focus-visible { box-shadow: 0 0 0 2px var(--z-accent-soft), var(--z-lift); color: var(--z-ink); }

/* ---------- toolbar (top of an embedded page) ---------- */
.z-toolbar { display: flex; align-items: center; gap: 28px; height: 52px; padding: 0 24px; background: var(--z-surface); border-bottom: 1px solid var(--z-line); flex: none; }
.z-toolbar__title { font-weight: 600; color: var(--z-ink); }
.z-toolbar__end { margin-left: auto; font-size: var(--z-fs-sm); color: var(--z-mute); }
.z-frame { flex: 1; border: 0; width: 100%; background: var(--z-surface); }

/* ---------- buttons, search, chips ---------- */
/* Controls are not text: a double click must not select their label (Rene, 19-10). */
.z-btn, summary, label:has(> input[type=radio]) { -webkit-user-select: none; user-select: none; }
.z-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--z-r-md); border: 1px solid transparent;
         font: 500 var(--z-fs-md)/1 var(--z-sans); cursor: pointer; transition: background-color var(--z-t), border-color var(--z-t), color var(--z-t); }
.z-btn--primary { background: var(--z-accent); color: var(--z-on-dark); } .z-btn--primary:hover { background: var(--z-accent-ink); color: var(--z-on-dark); }
.z-btn--ghost { background: var(--z-surface); color: var(--z-ink); border-color: var(--z-line); } .z-btn--ghost:hover { border-color: var(--z-line-hover); color: var(--z-ink); }
.z-search { display: flex; align-items: center; height: 56px; padding: 0 6px 0 22px; background: var(--z-surface); border: 1px solid var(--z-line);
            border-radius: var(--z-r-full); box-shadow: var(--z-shadow); transition: border-color var(--z-t), box-shadow var(--z-t); }
.z-search:focus-within { border-color: var(--z-accent); box-shadow: var(--z-ring); }
.z-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 17px var(--z-sans); color: var(--z-ink); }
.z-search input:focus-visible, .z-search textarea:focus-visible { box-shadow: none; }     /* the box shows focus, not the field */
.z-search input::placeholder { color: var(--z-faint); }
.z-search button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--z-accent); color: var(--z-on-dark); display: grid; place-items: center; cursor: pointer; }
.z-search button:hover { background: var(--z-accent-ink); }
.z-search button .z-icon { color: var(--z-on-dark); width: 18px; height: 18px; stroke-width: 2; }
.z-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.z-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--z-line); border-radius: var(--z-r-full);
          background: var(--z-surface); color: var(--z-ink-2); font-size: var(--z-fs-sm); transition: border-color var(--z-t), color var(--z-t); }
.z-chip:hover { border-color: var(--z-accent); color: var(--z-accent); }

/* ---------- search building blocks: answer, ranked entity, result, source ---------- */
.z-answer { font-size: 17px; line-height: 1.65; color: var(--z-ink); }
.z-entity { display: grid; grid-template-columns: 20px 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--z-line-soft); }
.z-entity__n { color: var(--z-faint); font-variant-numeric: tabular-nums; }
.z-entity__img { width: 112px; height: 76px; border-radius: var(--z-r-md); object-fit: cover; background: var(--z-hover); }
.z-entity__name { font-weight: 600; color: var(--z-ink); } .z-entity__why { font-size: var(--z-fs-sm); color: var(--z-ink-2); }
.z-result { padding: 16px 0; border-top: 1px solid var(--z-line-soft); }
.z-result__crumb { font-size: var(--z-fs-xs); color: var(--z-mute); } .z-result__crumb b { font-weight: 500; color: var(--z-ink-2); }
.z-result__title { display: block; margin: 3px 0 4px; font: 500 var(--z-fs-lg)/1.35 var(--z-sans); color: var(--z-accent); }
.z-result__snippet { font-size: var(--z-fs-sm); color: var(--z-ink-2); }
.z-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.z-source { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 8px; padding: 12px 14px; border: 1px solid var(--z-line);
            border-radius: var(--z-r-md); background: var(--z-surface); color: inherit; font-size: var(--z-fs-xs); transition: border-color var(--z-t); }
.z-source:hover { border-color: var(--z-line-hover); }
.z-source__n { color: var(--z-faint); } .z-source__name { font-weight: 600; color: var(--z-ink); }
.z-source__title { grid-column: 2; color: var(--z-ink-2); } .z-source__host { grid-column: 2; color: var(--z-mute); }
.z-cite { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--z-accent-soft);
          color: var(--z-accent-ink); font: 600 11px/1 var(--z-sans); vertical-align: 2px; }
.z-note { padding: 18px 22px; border-radius: var(--z-r-lg); background: var(--z-accent-soft); color: var(--z-ink-2); }
.z-note__title { font-weight: 600; color: var(--z-ink); margin: 0 0 4px; }

/* ---------- table (dense data) ---------- */
.z-table { width: 100%; border-collapse: collapse; font-size: var(--z-fs-sm); }
.z-table th { text-align: left; font: 500 var(--z-fs-xs)/1 var(--z-sans); color: var(--z-mute); padding: 12px 14px; border-bottom: 1px solid var(--z-line); }
.z-table td { padding: 10px 14px; border-bottom: 1px solid var(--z-line-soft); color: var(--z-ink-2); }
.z-table tr:last-child td { border-bottom: 0; }
.z-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- empty and muted ---------- */
.z-empty { padding: 28px 22px; color: var(--z-faint); font-size: var(--z-fs-sm); }
.z-muted { color: var(--z-mute); }

/* ---------- forms: field, input, select, textarea, switch, check ---------- */
.z-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.z-label { font: 500 var(--z-fs-sm)/1.3 var(--z-sans); color: var(--z-ink); }
.z-hint { font-size: var(--z-fs-xs); color: var(--z-mute); }
.z-error { font-size: var(--z-fs-xs); color: var(--z-danger); }
.z-input, .z-select, .z-textarea { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--z-line-strong); border-radius: var(--z-r-md);
  background: var(--z-surface); color: var(--z-ink); font: 400 var(--z-fs-md)/1.4 var(--z-sans); transition: border-color var(--z-t), box-shadow var(--z-t); }
.z-textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
.z-input::placeholder, .z-textarea::placeholder { color: var(--z-faint); }
.z-input:focus, .z-select:focus, .z-textarea:focus { outline: none; border-color: var(--z-accent); box-shadow: var(--z-ring); }
.z-field--error .z-input, .z-field--error .z-textarea, .z-field--error .z-select { border-color: var(--z-danger); }
.z-field--error .z-input:focus { box-shadow: var(--z-ring-danger); }
.z-select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--z-mute) 50%), linear-gradient(135deg, var(--z-mute) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.z-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--z-fs-md); color: var(--z-ink-2); }
.z-switch input { appearance: none; width: 34px; height: 20px; border-radius: 10px; background: var(--z-line-strong); position: relative; cursor: pointer; transition: background-color var(--z-t); margin: 0; }
.z-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--z-surface); box-shadow: var(--z-knob); transition: transform var(--z-t); }
.z-switch input:checked { background: var(--z-accent); } .z-switch input:checked::after { transform: translateX(14px); }
.z-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--z-fs-md); color: var(--z-ink-2); }
.z-check input { appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--z-line-strong); border-radius: 5px; background: var(--z-surface); display: grid; place-items: center; cursor: pointer; }
.z-check input[type="radio"] { border-radius: 50%; }
.z-check input:checked { background: var(--z-accent); border-color: var(--z-accent); }
.z-check input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--z-on-dark); }
.z-check input[type="radio"]:checked::after { border-radius: 50%; width: 6px; height: 6px; }
.z-btn--danger { background: var(--z-surface); color: var(--z-danger); border-color: var(--z-line); } .z-btn--danger:hover { border-color: var(--z-danger); color: var(--z-danger); }
.z-btn--sm { height: 30px; padding: 0 12px; font-size: var(--z-fs-sm); border-radius: var(--z-r-sm); }
.z-btn:disabled { opacity: .5; cursor: default; }

/* ---------- alert: one quiet line (info, ok, error) ---------- */
.z-alert { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: var(--z-r-md); background: var(--z-accent-soft); color: var(--z-ink);
  font-size: var(--z-fs-sm); line-height: 1.5; }
.z-alert::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--z-accent); }
.z-alert--ok { background: var(--z-ok-soft); } .z-alert--ok::before { background: var(--z-ok); }
.z-alert--error { background: var(--z-danger-soft); } .z-alert--error::before { background: var(--z-danger); }

/* ---------- panel: a centred narrow card (sign-in, account, confirm pages) ---------- */
.z-panel { width: min(420px, 100%); margin: 12vh auto 48px; padding: 28px 28px 24px; background: var(--z-surface); border: 1px solid var(--z-line);
  border-radius: var(--z-r-lg); box-shadow: var(--z-shadow); }
.z-panel .z-title { font-size: var(--z-fs-xl); } .z-panel .z-lede { font-size: var(--z-fs-md); margin-top: 6px; }
.z-panel__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--z-line-soft); font-size: var(--z-fs-sm); color: var(--z-mute); }
.z-btn--block { width: 100%; justify-content: center; }

/* ---------- plain item: a row without chevron, with an action on the right ---------- */
.z-item--plain { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 20px; }
.z-item--plain::after { content: none; }
.z-item__sub { display: block; font-weight: 400; font-size: var(--z-fs-xs); color: var(--z-mute); }

/* ---------- dialog (native <dialog>), toast, menu ---------- */
.z-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--z-line); border-radius: var(--z-r-lg); background: var(--z-surface); color: var(--z-ink-2);
  box-shadow: var(--z-modal); }
.z-dialog::backdrop { background: var(--z-backdrop); backdrop-filter: blur(2px); }
.z-dialog[open] { animation: z-pop .16s ease-out; }
@keyframes z-pop { from { opacity: 0; transform: translateY(4px) scale(.99); } to { opacity: 1; transform: none; } }
.z-dialog__body { padding: 22px 24px 8px; } .z-dialog__title { font: 600 var(--z-fs-lg)/1.3 var(--z-sans); color: var(--z-ink); margin: 0 0 6px; }
.z-dialog__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 24px 20px; }
.z-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-radius: var(--z-r-md); background: var(--z-ink); color: var(--z-on-dark); font-size: var(--z-fs-sm); box-shadow: var(--z-toast); animation: z-pop .16s ease-out; }
.z-toast a { color: var(--z-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.z-menu { position: relative; display: inline-block; }
.z-menu > summary { list-style: none; cursor: pointer; } .z-menu > summary::-webkit-details-marker { display: none; }
.z-menu__list { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 200px; padding: 6px; background: var(--z-surface); border: 1px solid var(--z-line);
  border-radius: var(--z-r-md); box-shadow: var(--z-menu); animation: z-pop .12s ease-out; }
.z-menu__list a, .z-menu__list button { display: flex; width: 100%; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: var(--z-r-sm);
  background: none; color: var(--z-ink-2); font: 400 var(--z-fs-sm) var(--z-sans); text-align: left; cursor: pointer; }
.z-menu__list a:hover, .z-menu__list button:hover { background: var(--z-hover); color: var(--z-ink); }
.z-menu__sep { height: 1px; margin: 6px 4px; background: var(--z-line-soft); }

/* ---------- table: sortable headers ---------- */
.z-table th[aria-sort] { cursor: pointer; user-select: none; } .z-table th[aria-sort]:hover { color: var(--z-ink); }
.z-table th[aria-sort="ascending"]::after { content: " ↑"; color: var(--z-accent); } .z-table th[aria-sort="descending"]::after { content: " ↓"; color: var(--z-accent); }
.z-table tbody tr:hover td { background: var(--z-hover); }

/* ---------- chat ---------- */
.z-chat { display: flex; flex-direction: column; gap: 14px; }
.z-msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: var(--z-fs-md); line-height: 1.6; }
.z-msg--user { align-self: flex-end; background: var(--z-accent-soft); color: var(--z-ink); border-bottom-right-radius: 6px; }
.z-msg--ai { align-self: flex-start; background: var(--z-surface); border: 1px solid var(--z-line); color: var(--z-ink-2); border-bottom-left-radius: 6px; }
.z-composer { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid var(--z-line-strong); border-radius: 22px; background: var(--z-surface); }
.z-composer:focus-within { border-color: var(--z-accent); box-shadow: var(--z-ring); }
.z-composer textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; font: 400 var(--z-fs-md)/1.5 var(--z-sans); color: var(--z-ink); padding: 7px 0; min-height: 34px; }
.z-composer textarea:focus-visible { box-shadow: none; }
.z-composer button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--z-accent); color: var(--z-on-dark); display: grid; place-items: center; cursor: pointer; flex: none; }
.z-composer button .z-icon { color: var(--z-on-dark); }

/* large composer: the AI input (textarea above, a bar with model choice and send button below) */
.z-composer--large { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 10px 10px 20px; border-radius: 24px; box-shadow: var(--z-shadow); }
.z-composer--large textarea { min-height: 52px; font-size: 17px; padding: 0 10px 0 0; }
.z-composer__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.z-composer__model { appearance: none; border: 0; background: transparent; padding: 6px 22px 6px 8px; margin-left: -8px; border-radius: var(--z-r-sm);
  font: 500 var(--z-fs-sm) var(--z-sans); color: var(--z-mute); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--z-mute) 50%), linear-gradient(135deg, var(--z-mute) 50%, transparent 50%);
  background-position: calc(100% - 11px) 13px, calc(100% - 7px) 13px; background-size: 4px 4px; background-repeat: no-repeat; }
.z-composer__model:hover { background-color: var(--z-hover); color: var(--z-ink); }
.z-composer__model:focus-visible { box-shadow: var(--z-ring); outline: none; }
.z-composer--large button { width: 36px; height: 36px; }

/* ---------- loading, avatar, keys, progress ---------- */
.z-skel { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--z-line-soft) 25%, var(--z-hover) 50%, var(--z-line-soft) 75%);
  background-size: 200% 100%; animation: z-shimmer 1.4s ease-in-out infinite; }
@keyframes z-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.z-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--z-accent-soft); color: var(--z-accent-ink);
  font: 600 12px/1 var(--z-sans); flex: none; }
.z-kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid var(--z-line); border-bottom-width: 2px; border-radius: 5px;
  font: 500 11px/1 var(--z-sans); color: var(--z-mute); background: var(--z-surface); }
.z-progress { height: 6px; border-radius: 3px; background: var(--z-line-soft); overflow: hidden; }
.z-progress > i { display: block; height: 100%; border-radius: 3px; background: var(--z-accent); }
.z-progress--warn > i { background: var(--z-warn); }
.z-empty__title { display: block; font: 500 var(--z-fs-md)/1.4 var(--z-sans); color: var(--z-ink-2); margin-bottom: 2px; }

/* ---------- dark (opt-in: <html data-theme="dark">) ---------- */
[data-theme="dark"] {
  --z-bg: #0E1116; --z-surface: #161A21; --z-ink: #F1F3F6; --z-ink-2: #C3C9D2; --z-mute: #8B94A1; --z-faint: #5F6874;
  --z-line: #262C35; --z-line-soft: #1E232B; --z-line-strong: #333A45; --z-hover: #1C2129;
  --z-accent: #4C8DFF; --z-accent-ink: #7AAAFF; --z-accent-soft: #17243A;
  --z-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
[data-theme="dark"] .z-search, [data-theme="dark"] .z-input { border-color: var(--z-line-strong); }
[data-theme="dark"] .z-toast { background: var(--z-ink); color: var(--z-bg); } [data-theme="dark"] .z-toast a { color: var(--z-bg); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .z-app { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .z-nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--z-line); }
  .z-nav { flex-direction: row; scrollbar-width: none; } .z-nav::-webkit-scrollbar { display: none; }
  .z-nav__brand, .z-nav a.z-nav__brand, .z-nav__group, .z-nav__foot { display: none; } .z-nav a { flex: none; height: 44px; }   /* a scrolling row of pages, not a stacked menu */
  .z-page { padding: 28px 16px 80px; }
  .z-kv { grid-template-columns: 1fr; } .z-item__desc { display: none; }
}

/* ---------- design-system pass (21-10, docs/DESIGN.md): shared components that replace page-specific copies ---------- */
.z-status--error::before { background: var(--z-danger); } .z-status--md { font-size: var(--z-fs-sm); }

/* segmented: a small set of radio choices in a groove (modes, Snel/Slim, format and style); --sm is the compact size */
.z-seg { display: flex; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: var(--z-r-full); background: var(--z-track); min-inline-size: 0; }
.z-seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.z-seg label { position: relative; flex: none; } .z-seg input { position: absolute; opacity: 0; }
.z-seg span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--z-r-full); color: var(--z-mute);
              font-size: var(--z-fs-sm); white-space: nowrap; cursor: pointer; transition: background-color var(--z-t), color var(--z-t); }
.z-seg label:hover span { color: var(--z-ink); } .z-seg span:active { transform: scale(.97); }
.z-seg input:checked + span { background: var(--z-surface); color: var(--z-ink); font-weight: 500; box-shadow: var(--z-lift); }
.z-seg input:focus-visible + span { box-shadow: var(--z-ring); }
.z-seg--sm { padding: 2px; } .z-seg--sm span { height: 26px; padding: 0 10px; font-size: var(--z-fs-xs); }

/* row: one line in a settings form: label · body · aside. Same grid for every row, so a list of rows lines up. */
.z-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; min-height: 52px; padding: 6px 0;
         border-bottom: 1px solid var(--z-line-soft); }
.z-row__label { font-weight: 500; color: var(--z-ink); }
.z-row__body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.z-row__aside { justify-self: end; font-size: var(--z-fs-sm); color: var(--z-mute); }
fieldset.z-row { margin: 0; border: 0; border-bottom: 1px solid var(--z-line-soft); min-inline-size: 0; } fieldset.z-row > legend.z-row__label { float: left; padding: 0; }

/* switch with its own state word: the word follows the switch, so "Open" and "Gesloten" are never both on screen */
.z-switch__off { display: none; } .z-switch:not(:has(input:checked)) .z-switch__on { display: none; }
.z-switch:not(:has(input:checked)) .z-switch__off { display: inline; color: var(--z-mute); }
.z-switch__on, .z-switch__off { min-width: 64px; }

/* time range: two native time inputs */
.z-timerange { display: inline-flex; align-items: center; gap: 6px; } .z-timerange .z-input { width: 104px; height: 36px; }
.z-timerange__dash { color: var(--z-faint); }

/* list: rows of a thing with its status (websites, sitemaps, admin rows); a row may be a link */
.z-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--z-line); }
.z-list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; min-height: 52px; padding: 10px 0;
               border-bottom: 1px solid var(--z-line); color: var(--z-ink); }
a.z-list__row { text-decoration: none; } a.z-list__row::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; color: var(--z-faint); }
a.z-list__row:hover .z-list__title { color: var(--z-accent); }
.z-list__title { font-weight: 500; color: var(--z-ink); overflow-wrap: anywhere; } .z-list__title--mono { font: 13px/1.5 var(--z-mono); font-weight: 400; }
.z-list__meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: var(--z-fs-sm); color: var(--z-mute); }
.z-list__meta form { margin: 0; }
.z-list__empty { padding: 12px 0; border-bottom: 1px solid var(--z-line); color: var(--z-mute); font-size: var(--z-fs-sm); }

.z-list__row--block { display: block; } .z-list__row--block > * + * { margin-top: 6px; }
.z-list__row--block .z-list__meta { margin-top: 8px; }
.z-list__text { margin: 0; color: var(--z-ink-2); overflow-wrap: anywhere; }

/* kv with lines: label and value per row, a hairline between rows (a listing's fields) */
.z-kv--lines { gap: 0 18px; } .z-kv--lines dt, .z-kv--lines dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--z-line); }
.z-kv--lines dd { color: var(--z-ink); overflow-wrap: anywhere; }

/* inline: one field and its button on a line; stacked on phones */
.z-inline { display: flex; gap: 8px; } .z-inline .z-input { flex: 1; min-width: 0; }

/* actions: the buttons that end a form or a confirmation */
.z-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; } .z-actions form { margin: 0; }

/* nudge: one line of what is missing, with its one action */
.z-nudge { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--z-line);
           border-radius: var(--z-r-md); background: var(--z-surface); } .z-nudge p { margin: 0; color: var(--z-ink-2); } .z-nudge .z-btn { flex: none; }

/* code: a value to copy exactly; the copy button needs z.js, without it the block is select-all */
.z-code { display: flex; align-items: flex-start; gap: 8px; }
.z-code__value { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--z-line); border-radius: var(--z-r-md); background: var(--z-surface);
                 font: 13px/1.5 var(--z-mono); color: var(--z-ink); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }

/* sidenav: grouped sidebar on wide screens, one scrolling text row on phones; a group's heading shows once it has 2+ items */
.z-sidenav { position: sticky; top: 24px; display: grid; gap: 18px; }
.z-sidenav__group { display: grid; gap: 2px; }
.z-sidenav__head { margin: 0 0 4px 10px; font-size: var(--z-fs-sm); color: var(--z-mute); }
.z-sidenav a { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: var(--z-r-sm); color: var(--z-ink-2); text-decoration: none; }
.z-sidenav a:hover { background: var(--z-hover); color: var(--z-ink); }
.z-sidenav a[aria-current="page"] { background: var(--z-hover); color: var(--z-ink); font-weight: 500; }
.z-sidenav__group--end { padding-top: 14px; border-top: 1px solid var(--z-line); } .z-sidenav__group--end a { color: var(--z-mute); }

/* confirm: a destructive bulk action. The red button only opens the question (with the count); the real action is the
   solid red button inside; "Annuleren" reloads the page, so it all works without JS (Rene: "this button can't be that simple") */
.z-btn--danger-solid { background: var(--z-danger); border-color: var(--z-danger); color: var(--z-on-dark); } .z-btn--danger-solid:hover { filter: brightness(.94); color: var(--z-on-dark); }
.z-confirm { position: relative; } .z-confirm > summary { list-style: none; } .z-confirm > summary::-webkit-details-marker { display: none; }
.z-confirm[open] > summary { display: none; }
.z-confirm__panel { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--z-danger); border-radius: var(--z-r-md); background: var(--z-danger-soft); }
.z-confirm__q { margin: 0; font-size: var(--z-fs-sm); color: var(--z-ink); } .z-confirm__q b { font-weight: 600; }
.z-confirm__act { display: flex; flex-wrap: wrap; gap: 8px; } .z-confirm__act form { margin: 0; }

/* disclosure: a quiet line that opens more (sources, the second time slot) */
.z-more > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: var(--z-fs-sm); color: var(--z-mute); }
.z-more > summary::-webkit-details-marker { display: none; } .z-more > summary::after { content: "▾"; font-size: 10px; } .z-more[open] > summary::after { content: "▴"; }
.z-more > summary:hover { color: var(--z-ink); } .z-more[open] > summary { margin-bottom: 8px; }
.z-more--link > summary { color: var(--z-accent); } .z-more--link > summary::after, .z-more--link[open] > summary::after { content: none; }

/* a quiet link to where something came from: grey like its text, underline on hover */
.z-quietlink { color: inherit; text-decoration: none; } .z-quietlink:hover { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .z-sidenav { position: static; display: flex; gap: 0 18px; border-bottom: 1px solid var(--z-line); overflow-x: auto; scrollbar-width: none; }
  .z-sidenav::-webkit-scrollbar { display: none; }
  .z-sidenav__group, .z-sidenav__group--end { display: contents; } .z-sidenav__head { display: none; }
  .z-sidenav a { flex: none; position: relative; min-height: 44px; padding: 0; border-radius: 0; white-space: nowrap; }
  .z-sidenav a:hover, .z-sidenav a[aria-current="page"] { background: none; }
  .z-sidenav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--z-ink); }
}
@media (max-width: 760px) {
  /* segmented on phones: a 44px track, the selected segment inset 3px inside it (Rene: it stuck out of the track) */
  .z-seg { padding: 3px; } .z-seg span { height: 38px; }
  .z-seg--sm { padding: 2px; } .z-seg--sm span { height: 40px; }
  .z-row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; } .z-row__body { grid-column: 1 / -1; grid-row: 2; }
  .z-row__aside { grid-column: 2; grid-row: 1; }
  .z-switch { min-height: 44px; }
  .z-timerange { display: flex; flex: 1; } .z-timerange .z-input { flex: 1; width: auto; min-width: 0; height: 44px; }
  .z-code { flex-direction: column; align-items: stretch; } .z-code .z-btn { justify-content: center; }
  .z-kv--lines { grid-template-columns: minmax(0, 1fr); } .z-kv--lines dt { padding: 12px 0 0; border-bottom: 0; font-size: var(--z-fs-sm); } .z-kv--lines dd { padding: 2px 0 12px; }
  .z-inline { flex-direction: column; } .z-inline .z-input { flex: none; height: 44px; } .z-inline .z-btn { height: 44px; justify-content: center; }
  .z-actions .z-btn, .z-actions form { width: 100%; } .z-actions .z-btn { height: 44px; justify-content: center; }
  .z-nudge { flex-direction: column; align-items: stretch; } .z-nudge .z-btn { height: 44px; justify-content: center; }
  .z-more > summary { min-height: 44px; }
  .z-quietlink { display: inline-block; padding: 12px 0; margin: -12px 0; }
}

/* ---------- phones (Rene 21-10: "think about the mobile versions very, very well") ----------
   Inputs at 16px so iOS does not zoom on focus; checkbox rows and toggles get a 44px tap height. */
@media (max-width: 760px) {
  body :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
  .z-check { min-height: 44px; }
  /* panel pages (sign-in, account, /vermelding from a letter's QR): the form starts right under the header, not 12vh down */
  .z-panel { margin: 12px auto 32px; padding: 22px 20px 20px; }
  .z-btn--sm { height: 44px; }
}

/* page transitions (cross-document View Transitions; docs/DESIGN.md): an element with a z-vt-* class glides to the element
   with the same class on the next page, the rest cross-fades. One of each per page. Browsers without support navigate normally. */
@view-transition { navigation: auto; }
.z-vt-logo { view-transition-name: z-logo; } .z-vt-search { view-transition-name: z-search; } .z-vt-nav { view-transition-name: z-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--z-dur-page); }
::view-transition-group(*) { animation-duration: var(--z-dur-move); animation-timing-function: var(--z-ease-move); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
