/*!
 * Markwise design tokens — the ONLY place colours, type, spacing, radii and motion are defined.
 *
 * Direction (D-213, the Markwise identity): formal and calm. Ink navy (#14213D) for text and the filled button, the
 * logo's tick green (#2EC27E) as the one accent — darkened where it carries text —, warm paper (#F6F7F4) behind
 * white cards, hairline borders, Inter for text and Space Grotesk (the logo's face) for titles. In the dark theme
 * the page is ink and the filled button is tick green, as the logo is drawn on dark.
 * Everything else (ui5-bridge.css, markwise.css, views) reads these variables; never hard-code
 * a colour in a view or component stylesheet.
 *
 * Theme switching: light by default; dark when the OS prefers it, unless the user forced a
 * theme (html[data-markwise-theme="light" | "dark"], set by shared/boot.js from localStorage).
 */

/* Inter (the product's text) and Space Grotesk (the logo's face, for titles): SIL OFL 1.1, shared/fonts/OFL.txt.
   Variable fonts, one file per script range; the browser fetches the extended range only when a page needs it. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- Neutrals -------------------------------------------------------- */
  --pv-bg: #f6f7f4;              /* app background behind cards and panels */
  --pv-surface: #ffffff;         /* cards, panels, header, dialogs */
  --pv-mail-canvas: #f6f7f4;      /* email previews: the email body is always light, in any theme */
  /* Theme previews in Settings → Appearance: the light and dark themes shown literally, in any theme. */
  --pv-swatch-light-bg: #f6f7f4;
  --pv-swatch-light-card: #ffffff;
  --pv-swatch-dark-bg: #0d1525;
  --pv-swatch-dark-card: #14213d;
  --pv-surface-2: #f8f9f7;       /* subtle fills: table headers, hover rows, inset areas */
  --pv-surface-3: #eceee9;       /* pressed / selected-neutral */
  --pv-seg-track: #e7e9e4;       /* segmented switch: the groove the choices sit in */
  --pv-seg-on: #ffffff;          /* segmented switch: the chosen segment, raised out of the groove */
  --pv-border: #d8dce3;          /* hairlines */
  --pv-border-strong: #b4bbc8;   /* input borders, dividers that must read */
  --pv-text: #14213d;
  --pv-text-muted: #4a5468;      /* 7.3:1 on surface — WCAG AA */
  --pv-text-faint: #5d677b;      /* ≥4.5:1 on surface and bg — WCAG AA for small text */
  --pv-text-on-accent: #ffffff;

  /* ---- Brand (the logo's own colours: the same in light and dark) -------- */
  --pv-brand-ink: #14213d;
  --pv-brand-ink-deep: #0b1326;
  --pv-brand-tick: #2ec27e;
  --pv-brand-paper: #f6f7f4;
  --pv-brand-on-ink-soft: #b9c2d6;   /* quiet text on ink */

  /* ---- Primary: the filled button. Ink on paper; tick green on ink (dark). ---- */
  --pv-primary: #14213d;
  --pv-primary-hover: #0b1326;
  --pv-primary-active: #060c19;
  --pv-text-on-primary: #ffffff;

  /* ---- Accent & status --------------------------------------------------- */
  --pv-accent: #12754a;
  --pv-accent-default: #14213d; /* Markwise ink: the colour an organisation has until it chooses its own */
  --pv-accent-hover: #0e6340;
  --pv-accent-active: #0a5134;
  --pv-accent-soft: #e6f6ee;     /* selected rows, active nav item, focus halos */
  --pv-accent-soft-2: #cdebdc;
  --pv-focus-ring: 0 0 0 3px rgba(46, 194, 126, .38);

  --pv-danger: #b42318;
  --pv-danger-soft: #fef3f2;
  --pv-warn: #b54708;
  --pv-warn-soft: #fffaeb;
  --pv-ok: #0b7a4b;
  --pv-ok-soft: #e6f6ee;
  --pv-info: #2b4c8c;
  --pv-info-soft: #e9eef8;

  /* ---- Data colours (D-152): charts, KPI tiles, kinds of links. Calm, distinct, colour-blind-safe order. ---- */
  --pv-violet: #7c3aed;
  --pv-violet-soft: #f3effe;
  --pv-teal: #0b7f97;
  --pv-teal-soft: #e3f4f8;
  --pv-amber: #c2620a;
  --pv-amber-soft: #fef4e6;
  --pv-rose: #d0264f;
  --pv-rose-soft: #fdeef2;
  --pv-chart-1: var(--pv-accent);
  --pv-chart-2: var(--pv-info);
  --pv-chart-3: var(--pv-violet);
  --pv-chart-4: var(--pv-amber);
  --pv-chart-5: var(--pv-rose);
  --pv-chart-grid: #e6e9e4;
  /* The main menu: a quiet surface with a hint of the accent at the top, where the logo sits. */
  --pv-nav-bg: #fbfbfa;
  --pv-nav-glow: #e9f5ef;
  /* Behind an organisation's logo: none in light mode; a light plate in dark mode (logos are made for light). */
  --pv-logo-plate: transparent;

  /* Workspace behind "document" content (exam preview, certificate preview). */
  --pv-canvas: #8a93a3;
  --pv-page-shadow: 0 1px 2px rgba(0, 0, 0, .28), 0 10px 30px rgba(0, 0, 0, .22);

  /* ---- Elevation ----------------------------------------------------------- */
  --pv-shadow-0: none;
  --pv-shadow-1: 0 1px 2px rgba(20, 33, 61, .06);
  --pv-shadow-2: 0 1px 3px rgba(20, 33, 61, .09), 0 1px 2px rgba(20, 33, 61, .05);
  --pv-shadow-pop: 0 12px 32px rgba(20, 33, 61, .16), 0 2px 6px rgba(20, 33, 61, .07);
  /* Depth (owner, 2026-10-30): buttons read as objects — a light top edge, a soft drop shadow, a lift on hover. */
  --pv-depth-edge: inset 0 1px 0 rgba(255, 255, 255, .22);
  --pv-depth-edge-soft: inset 0 1px 0 rgba(255, 255, 255, .9);
  --pv-depth-sheen: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
  --pv-depth-sheen-soft: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
  --pv-depth-btn: 0 1px 2px rgba(20, 33, 61, .08), 0 1px 1px rgba(20, 33, 61, .04);
  --pv-depth-btn-hover: 0 4px 10px -3px rgba(20, 33, 61, .18), 0 2px 3px rgba(20, 33, 61, .07);
  --pv-depth-btn-filled: 0 1px 2px rgba(20, 33, 61, .3), 0 4px 12px -5px rgba(20, 33, 61, .5);
  --pv-depth-btn-filled-hover: 0 2px 4px rgba(20, 33, 61, .32), 0 8px 18px -6px rgba(20, 33, 61, .55);
  --pv-depth-press: inset 0 1px 3px rgba(20, 33, 61, .24);

  /* ---- Shape ----------------------------------------------------------------- */
  --pv-radius-sm: 4px;
  --pv-radius: 8px;
  --pv-radius-lg: 12px;
  --pv-radius-pill: 999px;

  /* ---- Type ------------------------------------------------------------------ */
  --pv-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pv-font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* the logo's face: titles */
  --pv-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --pv-fs-xs: 0.6875rem;   /* 11px — uppercase section labels */
  --pv-fs-sm: 0.75rem;     /* 12px — meta, captions */
  --pv-fs-md: 0.8125rem;   /* 13px — dense UI (toolbars, tables) */
  --pv-fs-base: 0.875rem;  /* 14px — body */
  --pv-fs-lg: 1rem;        /* 16px */
  --pv-fs-xl: 1.25rem;     /* 20px — page titles */
  --pv-fs-2xl: 1.625rem;   /* 26px — hero / empty-state titles */
  --pv-fs-3xl: 2.25rem;    /* 36px — landing hero only */
  --pv-fw-regular: 400;
  --pv-fw-medium: 500;
  --pv-fw-semibold: 600;
  --pv-lh-tight: 1.25;
  --pv-lh: 1.5;
  --pv-tracking-label: .06em;

  /* ---- Space (4px grid) -------------------------------------------------------- */
  --pv-space-1: 4px;
  --pv-space-2: 8px;
  --pv-space-3: 12px;
  --pv-space-4: 16px;
  --pv-space-5: 20px;
  --pv-space-6: 24px;
  --pv-space-8: 32px;
  --pv-space-10: 40px;
  --pv-space-12: 48px;

  /* ---- Layout ------------------------------------------------------------------- */
  /* Golden-ratio rhythm (D-152): header 64 → logo 40 (64/φ) → menu row 40 → icon tile 24 (40/φ); menu 260 ≈ 160·φ. */
  --pv-header-h: 64px;
  --pv-sidenav-w: 260px;
  --pv-logo-h: 40px;
  --pv-nav-item-h: 40px;
  --pv-subnav-w: 232px;       /* Settings: second menu beside the main one */
  --pv-inspector-w: 320px;
  --pv-content-max: 1200px;
  --pv-control-h: 32px;      /* inputs, buttons (touch / cozy) */
  --pv-control-h-compact: 28px; /* inputs, buttons on desktop (compact density) */
  --pv-control-h-lg: 40px;   /* exam runner, sign-in */
  --pv-field-h: 32px;        /* every control — inputs, selects, dates, steppers, buttons, switches (D-154) */

  /* ---- Motion ------------------------------------------------------------------- */
  --pv-ease: cubic-bezier(.2, 0, 0, 1);
  --pv-dur-fast: 120ms;
  --pv-dur: 200ms;

  color-scheme: light;
  /* The public pages (home, sign in, setup — D-213): ink on paper with the tick green, and the logo's face for
     titles. The names are older than the palette (sun, teal, violet): they stay so the pages that use them needn't
     change, and now hold greens and a quiet blue. Used through shared/theme/public.css. */
  --pv-public-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pv-public-paper: #f6f7f4;
  --pv-public-paper-2: #eceee9;
  --pv-public-card: #ffffff;
  --pv-public-ink: #14213d;
  --pv-public-ink-soft: #4a5468;
  --pv-public-line: #d8dce3;
  --pv-public-primary: #14213d;
  --pv-public-primary-hover: #0b1326;
  --pv-public-primary-active: #060c19;
  --pv-public-link: #12754a;
  --pv-public-link-hover: #0e6340;
  --pv-public-on-primary: #ffffff;
  --pv-public-accent: #2ec27e;
  --pv-public-sun: #2ec27e;
  --pv-public-teal: #12754a;
  --pv-public-violet: #2b4c8c;
  --pv-public-primary-soft: #e6f6ee;
  --pv-public-accent-soft: #e6f6ee;
  --pv-public-teal-soft: #e6f6ee;
  --pv-public-violet-soft: #e9eef8;
  --pv-public-feature-bg: #14213d;
  --pv-public-feature-ink: #f6f7f4;
  --pv-public-feature-soft: #b9c2d6;
  --pv-public-glow-1: #cdebdc;
  --pv-public-glow-2: #dfe5f2;
  --pv-public-grain: 0;
  --pv-public-glow: .5;
  --pv-public-shadow: 0 30px 60px -28px rgba(20, 33, 61, .3), 0 10px 24px -14px rgba(20, 33, 61, .16);
  --pv-public-shadow-soft: 0 14px 30px -20px rgba(20, 33, 61, .3);
  /* Depth for public tiles and their icon chips: a lit edge, a resting shadow and a deeper one on hover. */
  --pv-public-tile-edge: inset 0 0 0 1px rgba(20, 33, 61, .07);
  --pv-public-tile-shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 28px -20px rgba(20, 33, 61, .3);
  --pv-public-tile-shadow-hover: 0 2px 4px rgba(20, 33, 61, .07), 0 22px 40px -22px rgba(20, 33, 61, .38);
  --pv-public-tile-sheen: none;
  --pv-public-feature-sheen: none;
  --pv-public-chip-shadow: 0 1px 2px rgba(20, 33, 61, .1);
}

/* Dark: OS preference, unless the user forced light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-markwise-theme="light"]) {
    --pv-bg: #0d1525;
    --pv-surface: #14213d;
    --pv-surface-2: #1a2947;
    --pv-surface-3: #223354;
    --pv-seg-track: #0a101d;
    --pv-seg-on: #2a3d63;
    --pv-border: #2a3a5c;
    --pv-border-strong: #3d4f78;
    --pv-text: #eef1f6;
    --pv-text-muted: #b9c2d6;
    --pv-text-faint: #94a0b8;
    --pv-text-on-accent: #0b1326;
    --pv-primary: #2ec27e;
    --pv-primary-hover: #4fd092;
    --pv-primary-active: #73dcaa;
    --pv-text-on-primary: #0b1326;
    --pv-info: #8fa8e0;
    --pv-info-soft: #1c2a4d;
    --pv-accent: #2ec27e;
    --pv-accent-hover: #4fd092;
    --pv-accent-active: #73dcaa;
    --pv-accent-soft: #163a35;
    --pv-accent-soft-2: #1c4a41;
    --pv-focus-ring: 0 0 0 3px rgba(46, 194, 126, .4);
    --pv-danger: #f97066;
    --pv-danger-soft: #3d2228;
    --pv-warn: #fdb022;
    --pv-warn-soft: #3a3019;
    --pv-ok: #47cd89;
    --pv-ok-soft: #163a35;
    --pv-violet: #a78bfa;
    --pv-violet-soft: #2a2850;
    --pv-teal: #3cc0d6;
    --pv-teal-soft: #14323d;
    --pv-amber: #f5a524;
    --pv-amber-soft: #3a3019;
    --pv-rose: #fb7185;
    --pv-rose-soft: #3d2230;
    --pv-chart-grid: #223354;
    --pv-nav-bg: #101a30;
    --pv-nav-glow: #143029;
    --pv-logo-plate: #eef0f3;
    --pv-canvas: #33415f;
    --pv-page-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .45);
    --pv-shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --pv-shadow-2: 0 1px 3px rgba(0, 0, 0, .4), 0 1px 2px rgba(0, 0, 0, .3);
    --pv-shadow-pop: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
    --pv-depth-edge: inset 0 1px 0 rgba(255, 255, 255, .18);
    --pv-depth-edge-soft: inset 0 1px 0 rgba(255, 255, 255, .06);
    --pv-depth-sheen: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%);
    --pv-depth-sheen-soft: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
    --pv-depth-btn: 0 1px 2px rgba(0, 0, 0, .45), 0 1px 1px rgba(0, 0, 0, .25);
    --pv-depth-btn-hover: 0 6px 14px -4px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .35);
    --pv-depth-btn-filled: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px -6px rgba(46, 194, 126, .45);
    --pv-depth-btn-filled-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 10px 22px -8px rgba(46, 194, 126, .55);
    --pv-depth-press: inset 0 1px 3px rgba(0, 0, 0, .45);
    color-scheme: dark;
    --pv-public-paper: #0d1525;
    --pv-public-paper-2: #111b30;
    --pv-public-card: #14213d;
    --pv-public-ink: #eef1f6;
    --pv-public-ink-soft: #b9c2d6;
    --pv-public-line: #2a3a5c;
    --pv-public-primary: #2ec27e;
    --pv-public-primary-hover: #4fd092;
    --pv-public-primary-active: #73dcaa;
    --pv-public-link: #2ec27e;
    --pv-public-link-hover: #4fd092;
    --pv-public-on-primary: #0b1326;
    --pv-public-accent: #2ec27e;
    --pv-public-sun: #2ec27e;
    --pv-public-teal: #2ec27e;
    --pv-public-violet: #8fa8e0;
    --pv-public-primary-soft: #163a35;
    --pv-public-accent-soft: #163a35;
    --pv-public-teal-soft: #163a35;
    --pv-public-violet-soft: #1c2a4d;
    --pv-public-feature-bg: #1a2947;
    --pv-public-feature-ink: #eef1f6;
    --pv-public-feature-soft: #b9c2d6;
    --pv-public-glow-1: #163a35;
    --pv-public-glow-2: #1c2a4d;
    --pv-public-grain: 0;
    --pv-public-glow: .5;
    --pv-public-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(0, 0, 0, .5);
    --pv-public-shadow-soft: 0 14px 30px -18px rgba(0, 0, 0, .7);
    --pv-public-tile-edge: inset 0 0 0 1px rgba(255, 255, 255, .06);
    --pv-public-tile-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 32px -18px rgba(0, 0, 0, .8);
    --pv-public-tile-shadow-hover: 0 2px 4px rgba(0, 0, 0, .45), 0 28px 50px -22px rgba(0, 0, 0, .9);
    --pv-public-tile-sheen: none;
    --pv-public-feature-sheen: none;
    --pv-public-chip-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 14px -8px rgba(0, 0, 0, .7);
  }
}

/* Dark: forced by the user. Same values as above (kept in sync by scripts/check-tokens.mjs). */
:root[data-markwise-theme="dark"] {
  --pv-bg: #0d1525;
  --pv-surface: #14213d;
  --pv-surface-2: #1a2947;
  --pv-surface-3: #223354;
  --pv-seg-track: #0a101d;
  --pv-seg-on: #2a3d63;
  --pv-border: #2a3a5c;
  --pv-border-strong: #3d4f78;
  --pv-text: #eef1f6;
  --pv-text-muted: #b9c2d6;
  --pv-text-faint: #94a0b8;
  --pv-text-on-accent: #0b1326;
  --pv-primary: #2ec27e;
  --pv-primary-hover: #4fd092;
  --pv-primary-active: #73dcaa;
  --pv-text-on-primary: #0b1326;
  --pv-info: #8fa8e0;
  --pv-info-soft: #1c2a4d;
  --pv-accent: #2ec27e;
  --pv-accent-hover: #4fd092;
  --pv-accent-active: #73dcaa;
  --pv-accent-soft: #163a35;
  --pv-accent-soft-2: #1c4a41;
  --pv-focus-ring: 0 0 0 3px rgba(46, 194, 126, .4);
  --pv-danger: #f97066;
  --pv-danger-soft: #3d2228;
  --pv-warn: #fdb022;
  --pv-warn-soft: #3a3019;
  --pv-ok: #47cd89;
  --pv-ok-soft: #163a35;
  --pv-violet: #a78bfa;
  --pv-violet-soft: #2a2850;
  --pv-teal: #3cc0d6;
  --pv-teal-soft: #14323d;
  --pv-amber: #f5a524;
  --pv-amber-soft: #3a3019;
  --pv-rose: #fb7185;
  --pv-rose-soft: #3d2230;
  --pv-chart-grid: #223354;
  --pv-nav-bg: #101a30;
  --pv-nav-glow: #143029;
  --pv-logo-plate: #eef0f3;
  --pv-canvas: #33415f;
  --pv-page-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .45);
  --pv-shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --pv-shadow-2: 0 1px 3px rgba(0, 0, 0, .4), 0 1px 2px rgba(0, 0, 0, .3);
  --pv-shadow-pop: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
  --pv-depth-edge: inset 0 1px 0 rgba(255, 255, 255, .18);
  --pv-depth-edge-soft: inset 0 1px 0 rgba(255, 255, 255, .06);
  --pv-depth-sheen: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%);
  --pv-depth-sheen-soft: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
  --pv-depth-btn: 0 1px 2px rgba(0, 0, 0, .45), 0 1px 1px rgba(0, 0, 0, .25);
  --pv-depth-btn-hover: 0 6px 14px -4px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .35);
  --pv-depth-btn-filled: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px -6px rgba(46, 194, 126, .45);
  --pv-depth-btn-filled-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 10px 22px -8px rgba(46, 194, 126, .55);
  --pv-depth-press: inset 0 1px 3px rgba(0, 0, 0, .45);
  color-scheme: dark;
  --pv-public-paper: #0d1525;
  --pv-public-paper-2: #111b30;
  --pv-public-card: #14213d;
  --pv-public-ink: #eef1f6;
  --pv-public-ink-soft: #b9c2d6;
  --pv-public-line: #2a3a5c;
  --pv-public-primary: #2ec27e;
  --pv-public-primary-hover: #4fd092;
  --pv-public-primary-active: #73dcaa;
  --pv-public-link: #2ec27e;
  --pv-public-link-hover: #4fd092;
  --pv-public-on-primary: #0b1326;
  --pv-public-accent: #2ec27e;
  --pv-public-sun: #2ec27e;
  --pv-public-teal: #2ec27e;
  --pv-public-violet: #8fa8e0;
  --pv-public-primary-soft: #163a35;
  --pv-public-accent-soft: #163a35;
  --pv-public-teal-soft: #163a35;
  --pv-public-violet-soft: #1c2a4d;
  --pv-public-feature-bg: #1a2947;
  --pv-public-feature-ink: #eef1f6;
  --pv-public-feature-soft: #b9c2d6;
  --pv-public-glow-1: #163a35;
  --pv-public-glow-2: #1c2a4d;
  --pv-public-grain: 0;
  --pv-public-glow: .5;
  --pv-public-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(0, 0, 0, .5);
  --pv-public-shadow-soft: 0 14px 30px -18px rgba(0, 0, 0, .7);
  --pv-public-tile-edge: inset 0 0 0 1px rgba(255, 255, 255, .06);
  --pv-public-tile-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 32px -18px rgba(0, 0, 0, .8);
  --pv-public-tile-shadow-hover: 0 2px 4px rgba(0, 0, 0, .45), 0 28px 50px -22px rgba(0, 0, 0, .9);
  --pv-public-tile-sheen: none;
  --pv-public-chip-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 14px -8px rgba(0, 0, 0, .7);
  --pv-public-feature-sheen: none;
}

/* Tenant branding (Phase 2+): the tenant portal and verification pages set
   --pv-brand-accent on <html>; components that should carry the tenant's colour
   use var(--pv-brand-accent, var(--pv-accent)). */

@media (prefers-reduced-motion: reduce) {
  :root {
    --pv-dur-fast: 0ms;
    --pv-dur: 0ms;
  }
}
