/* Copied from matthill8286/impkt-design-system, @atomic-ui/theme version 0.16.0, commit 4ea9d80. To update, build the design system and run pnpm theme:copy again. */
/*
 * Impakt product theme, @atomic-ui/theme version 0.16.0.
 * https://github.com/matthill8286/impkt-design-system/tree/main/packages/theme
 *
 * Generated from the Impakt brand inputs by @atomic-ui/design-tokens. Do not edit this file:
 * change packages/theme in the design system and build it again.
 *
 * Copy this file and the fonts folder into a product's public folder, serve them from the same
 * origin, and link the file before the product's own inline styles. The rules here use low
 * specificity on purpose, so a product's own rules win without !important.
 *
 * Every product name starts with --ik- or .ik- so it never collides with a product's own names.
 * The house tokens they are built from start with --impakt-. The shared class names that products
 * already use (card, panel, pill, alert, tabs, muted, small, row) are styled here too, so a
 * product gets the look by keeping its markup.
 */

/* ---------------------------------------------------------------- fonts */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); 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+2190-2193,U+2212,U+2215,U+221A,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); 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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); 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: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kalam-latin-400.woff2") format("woff2"); 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: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kalam-latin-700.woff2") format("woff2"); 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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }

/* ---------------------------------------------------------- house tokens */

/* The Impakt brand, derived by @atomic-ui/design-tokens and written by its own emitter. */

:root {
  --impakt-focus-ring-inner: #ffffff;
  --impakt-focus-ring-outer: #1a1a1a;
  --impakt-focus-ring-width: 2px;
  --impakt-focus-ring-offset: 2px;
  --impakt-focus-ring-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1a1a1a;
  --impakt-target-min: 24px;
  --impakt-target-spacing: 8px;
  --impakt-color-surface-page: #EFEFED;
  --impakt-color-surface-card: #FFFFFF;
  --impakt-color-surface-header: #FFFFFF;
  --impakt-color-surface-footer: #EFEFED;
  --impakt-color-surface-subtle: #F7F6F3;
  --impakt-color-surface-inset: #f4f4f4;
  --impakt-color-brand-default: #111111;
  --impakt-color-brand-hover: #0f0f0f;
  --impakt-color-brand-active: #0d0d0d;
  --impakt-color-brand-subtle: #e2e2e2;
  --impakt-color-brand-on: #ffffff;
  --impakt-color-accent-default: #FFD43B;
  --impakt-color-accent-hover: #e0bb34;
  --impakt-color-accent-on: #1a1a1a;
  --impakt-color-accent-on-ink: #ffd43b;
  --impakt-color-text-default: #111111;
  --impakt-color-text-muted: #5C5C5C;
  --impakt-color-text-placeholder: #5C5C5C;
  --impakt-color-text-muted-on-subtle: #5C5C5C;
  --impakt-color-text-on-brand: #ffffff;
  --impakt-color-text-on-header: #111111;
  --impakt-color-text-on-footer: #111111;
  --impakt-color-text-heading: #111111;
  --impakt-color-chart-1: #a38a2e;
  --impakt-color-chart-2: #2f6fa3;
  --impakt-color-chart-3: #137a52;
  --impakt-color-chart-4: #8a6d00;
  --impakt-color-chart-5: #b23a2e;
  --impakt-color-text-link: #111111;
  --impakt-color-text-link-hover: #0e0e0e;
  --impakt-color-text-subtle: #616161;
  --impakt-color-line-grid: #DCDCD8;
  --impakt-color-line-soft: #CFCCC5;
  --impakt-color-surface-ink-raised: #1C1C1C;
  --impakt-color-line-inverse: #2E2E2E;
  --impakt-color-text-inverse-muted: #A8A8A6;
  --impakt-color-surface-board: #E3E2DD;
  --impakt-color-border-default: #919191;
  --impakt-color-border-strong: #7c7c7c;
  --impakt-color-status-danger-default: #b23a2e;
  --impakt-color-status-danger-text: #b23a2e;
  --impakt-color-status-danger-subtle: #f6e7e6;
  --impakt-color-status-danger-on: #ffffff;
  --impakt-color-status-warning-default: #8a6d00;
  --impakt-color-status-warning-text: #8a6d00;
  --impakt-color-status-warning-subtle: #f1ede0;
  --impakt-color-status-warning-on: #ffffff;
  --impakt-color-status-success-default: #137a52;
  --impakt-color-status-success-text: #137a52;
  --impakt-color-status-success-subtle: #e3efea;
  --impakt-color-status-success-on: #ffffff;
  --impakt-color-status-info-default: #2f6fa3;
  --impakt-color-status-info-text: #2f6fa3;
  --impakt-color-status-info-subtle: #e6eef4;
  --impakt-color-status-info-on: #ffffff;
  --impakt-color-status-ok-mark: #137A52;
  --impakt-font-family-body: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-font-family-heading: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-font-family-mono: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-font-family-eyebrow: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-color-text-eyebrow: #5C5C5C;
  --impakt-font-weight-eyebrow: 500;
  --impakt-font-size-eyebrow: 0.6875rem;
  --impakt-font-size-root: 16px;
  --impakt-font-size-2xs: 0.75rem;
  --impakt-font-leading-2xs: 1.333;
  --impakt-font-size-xs: 0.75rem;
  --impakt-font-leading-xs: 1.333;
  --impakt-font-size-sm: 0.875rem;
  --impakt-font-leading-sm: 1.429;
  --impakt-font-size-md: 1rem;
  --impakt-font-leading-md: 1.5;
  --impakt-font-size-lg: 1.125rem;
  --impakt-font-leading-lg: 1.556;
  --impakt-font-size-xl: 1.25rem;
  --impakt-font-leading-xl: 1.4;
  --impakt-font-size-2xl: 1.5rem;
  --impakt-font-leading-2xl: 1.333;
  --impakt-font-size-3xl: 1.875rem;
  --impakt-font-leading-3xl: 1.2;
  --impakt-font-size-4xl: 2.25rem;
  --impakt-font-leading-4xl: 1.111;
  --impakt-font-size-5xl: 3rem;
  --impakt-font-leading-5xl: 1.083;
  --impakt-font-size-6xl: 3.75rem;
  --impakt-font-leading-6xl: 1.067;
  --impakt-font-tracking-tight: -0.02em;
  --impakt-font-tracking-normal: 0em;
  --impakt-font-tracking-wide: 0.06em;
  --impakt-font-weight-regular: 400;
  --impakt-font-weight-medium: 500;
  --impakt-font-weight-semibold: 600;
  --impakt-font-weight-bold: 700;
  --impakt-font-line-height-tight: 1.25;
  --impakt-font-line-height-normal: 1.5;
  --impakt-font-line-height-relaxed: 1.75;
  --impakt-font-line-height-body: 1.45;
  --impakt-font-family-hand: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-display-xl-size: clamp(3.25rem, 1.2037rem + 8.395vw, 7.5rem);
  --impakt-type-display-xl-line-height: 1;
  --impakt-type-display-xl-tracking: -0.05em;
  --impakt-type-display-xl-weight: 600;
  --impakt-type-display-xl-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-display-row-size: clamp(2.75rem, 1.9074rem + 3.457vw, 4.5rem);
  --impakt-type-display-row-line-height: 1;
  --impakt-type-display-row-tracking: -0.05em;
  --impakt-type-display-row-weight: 600;
  --impakt-type-display-row-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-display-l-size: clamp(2.75rem, 2.1481rem + 2.469vw, 4rem);
  --impakt-type-display-l-line-height: 1;
  --impakt-type-display-l-tracking: -0.04em;
  --impakt-type-display-l-weight: 600;
  --impakt-type-display-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-display-m-size: clamp(2.5rem, 2.1389rem + 1.481vw, 3.25rem);
  --impakt-type-display-m-line-height: 1.04;
  --impakt-type-display-m-tracking: -0.04em;
  --impakt-type-display-m-weight: 600;
  --impakt-type-display-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-stat-size: clamp(2.5rem, 2.1389rem + 1.481vw, 3.25rem);
  --impakt-type-stat-line-height: 1.04;
  --impakt-type-stat-tracking: -0.04em;
  --impakt-type-stat-weight: 600;
  --impakt-type-stat-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-heading-m-size: clamp(1.75rem, 1.6296rem + 0.494vw, 2rem);
  --impakt-type-heading-m-line-height: 1.1;
  --impakt-type-heading-m-tracking: -0.03em;
  --impakt-type-heading-m-weight: 600;
  --impakt-type-heading-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-heading-s-size: 1.5rem;
  --impakt-type-heading-s-line-height: 1.15;
  --impakt-type-heading-s-tracking: -0.025em;
  --impakt-type-heading-s-weight: 600;
  --impakt-type-heading-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-body-l-size: 1.25rem;
  --impakt-type-body-l-line-height: 1.45;
  --impakt-type-body-l-tracking: -0.01em;
  --impakt-type-body-l-weight: 400;
  --impakt-type-body-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-body-m-size: 1rem;
  --impakt-type-body-m-line-height: 1.45;
  --impakt-type-body-m-tracking: 0em;
  --impakt-type-body-m-weight: 400;
  --impakt-type-body-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-body-s-size: 0.875rem;
  --impakt-type-body-s-line-height: 1.4;
  --impakt-type-body-s-tracking: 0em;
  --impakt-type-body-s-weight: 400;
  --impakt-type-body-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-label-l-size: 1.25rem;
  --impakt-type-label-l-line-height: 1.2;
  --impakt-type-label-l-tracking: -0.01em;
  --impakt-type-label-l-weight: 500;
  --impakt-type-label-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-label-m-size: 1rem;
  --impakt-type-label-m-line-height: 1.2;
  --impakt-type-label-m-tracking: 0em;
  --impakt-type-label-m-weight: 500;
  --impakt-type-label-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-label-s-size: 0.875rem;
  --impakt-type-label-s-line-height: 1.2;
  --impakt-type-label-s-tracking: 0em;
  --impakt-type-label-s-weight: 500;
  --impakt-type-label-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-mono-s-size: 0.6875rem;
  --impakt-type-mono-s-line-height: 1.4;
  --impakt-type-mono-s-tracking: 0.06em;
  --impakt-type-mono-s-weight: 500;
  --impakt-type-mono-s-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-type-mono-s-transform: uppercase;
  --impakt-type-mono-m-size: 0.8125rem;
  --impakt-type-mono-m-line-height: 1.5;
  --impakt-type-mono-m-tracking: 0em;
  --impakt-type-mono-m-weight: 400;
  --impakt-type-mono-m-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-type-mono-footnote-size: 0.75rem;
  --impakt-type-mono-footnote-line-height: 1.5;
  --impakt-type-mono-footnote-tracking: 0em;
  --impakt-type-mono-footnote-weight: 400;
  --impakt-type-mono-footnote-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-type-tool-label-size: 0.875rem;
  --impakt-type-tool-label-line-height: 1.4;
  --impakt-type-tool-label-tracking: 0em;
  --impakt-type-tool-label-weight: 500;
  --impakt-type-tool-label-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-type-tool-meta-size: 0.875rem;
  --impakt-type-tool-meta-line-height: 1.4;
  --impakt-type-tool-meta-tracking: 0em;
  --impakt-type-tool-meta-weight: 400;
  --impakt-type-tool-meta-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-type-hand-l-size: 2.125rem;
  --impakt-type-hand-l-line-height: 1.1;
  --impakt-type-hand-l-tracking: 0em;
  --impakt-type-hand-l-weight: 700;
  --impakt-type-hand-l-family: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-type-hand-s-size: 1.25rem;
  --impakt-type-hand-s-line-height: 1.2;
  --impakt-type-hand-s-tracking: 0em;
  --impakt-type-hand-s-weight: 400;
  --impakt-type-hand-s-family: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
  --impakt-space-0: 0px;
  --impakt-space-0-5: 2px;
  --impakt-space-1: 4px;
  --impakt-space-1-5: 6px;
  --impakt-space-2: 8px;
  --impakt-space-2-5: 10px;
  --impakt-space-3: 12px;
  --impakt-space-3-5: 14px;
  --impakt-space-4: 16px;
  --impakt-space-5: 20px;
  --impakt-space-6: 24px;
  --impakt-space-7: 28px;
  --impakt-space-8: 32px;
  --impakt-space-9: 36px;
  --impakt-space-10: 40px;
  --impakt-space-11: 44px;
  --impakt-space-12: 48px;
  --impakt-space-14: 56px;
  --impakt-space-16: 64px;
  --impakt-space-20: 80px;
  --impakt-space-24: 96px;
  --impakt-space-28: 112px;
  --impakt-space-32: 128px;
  --impakt-space-36: 144px;
  --impakt-space-40: 160px;
  --impakt-space-48: 192px;
  --impakt-space-56: 224px;
  --impakt-space-64: 256px;
  --impakt-space-72: 288px;
  --impakt-space-80: 320px;
  --impakt-space-96: 384px;
  --impakt-radius-none: 0;
  --impakt-radius-xs: 0px;
  --impakt-radius-sm: 0px;
  --impakt-radius-md: 0px;
  --impakt-radius-lg: 0px;
  --impakt-radius-xl: 0px;
  --impakt-radius-2xl: 0px;
  --impakt-radius-3xl: 0px;
  --impakt-radius-full: 9999px;
  --impakt-shadow-xs: 0 0 0 0 transparent;
  --impakt-shadow-sm: 0 0 0 0 transparent;
  --impakt-shadow-md: 0 0 0 0 transparent;
  --impakt-shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.2);
  --impakt-shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
  --impakt-shadow-overlay: 0 16px 32px rgba(0, 0, 0, 0.2);
  --impakt-border-width-thin: 1px;
  --impakt-border-width-thick: 2px;
  --impakt-layout-page-width: 1200px;
  --impakt-layout-margin-phone: 16px;
  --impakt-layout-margin-tablet: 32px;
  --impakt-layout-margin-desktop: 64px;
  --impakt-layout-gutter-sm: 8px;
  --impakt-layout-gutter-md: 16px;
  --impakt-layout-gutter-lg: 32px;
  --impakt-motion-duration-instant: 0ms;
  --impakt-motion-duration-fast: 140ms;
  --impakt-motion-duration-base: 220ms;
  --impakt-motion-duration-slow: 360ms;
  --impakt-motion-duration-scene: 700ms;
  --impakt-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --impakt-motion-easing-enter: cubic-bezier(0, 0, 0.2, 1);
  --impakt-motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
  --impakt-motion-easing-emphasis: cubic-bezier(0.65, 0, 0.35, 1);
  --impakt-motion-spring-snappy-stiffness: 400;
  --impakt-motion-spring-snappy-damping-ratio: 1;
  --impakt-motion-spring-snappy-mass: 1;
  --impakt-motion-spring-snappy-easing: linear(0, 0.023, 0.0792, 0.1539, 0.237, 0.322, 0.4044, 0.4817, 0.5525, 0.6161, 0.6726, 0.7221, 0.7651, 0.8023, 0.8341, 0.8612, 0.8842, 0.9036, 0.9199, 0.9336, 0.9451, 0.9546, 0.9626, 0.9692, 0.9747, 0.9792, 0.9829, 0.986, 0.9885, 0.9906, 0.9923, 0.9938, 0.9949, 0.9958, 0.9966, 0.9972, 0.9978, 0.9982, 0.9985, 0.9988, 1);
  --impakt-motion-spring-snappy-duration: 463ms;
  --impakt-motion-spring-gentle-stiffness: 170;
  --impakt-motion-spring-gentle-damping-ratio: 1;
  --impakt-motion-spring-gentle-mass: 1;
  --impakt-motion-spring-gentle-easing: linear(0, 0.0229, 0.079, 0.1535, 0.2365, 0.3212, 0.4035, 0.4808, 0.5515, 0.6152, 0.6717, 0.7212, 0.7643, 0.8015, 0.8334, 0.8605, 0.8836, 0.9031, 0.9195, 0.9332, 0.9447, 0.9543, 0.9623, 0.969, 0.9745, 0.979, 0.9828, 0.9859, 0.9884, 0.9905, 0.9923, 0.9937, 0.9948, 0.9958, 0.9966, 0.9972, 0.9977, 0.9982, 0.9985, 0.9988, 1);
  --impakt-motion-spring-gentle-duration: 709ms;
  --impakt-motion-spring-bouncy-stiffness: 260;
  --impakt-motion-spring-bouncy-damping-ratio: 0.82;
  --impakt-motion-spring-bouncy-mass: 1;
  --impakt-motion-spring-bouncy-easing: linear(0, 0.0209, 0.0741, 0.1479, 0.2332, 0.3232, 0.413, 0.499, 0.579, 0.6517, 0.7164, 0.7729, 0.8214, 0.8624, 0.8966, 0.9247, 0.9473, 0.9652, 0.9791, 0.9897, 0.9975, 1.0031, 1.0069, 1.0093, 1.0106, 1.0111, 1.011, 1.0105, 1.0097, 1.0088, 1.0078, 1.0068, 1.0058, 1.0049, 1.0041, 1.0034, 1.0027, 1.0021, 1.0017, 1.0013, 1);
  --impakt-motion-spring-bouncy-duration: 538ms;
  --impakt-motion-stagger-tight: 30ms;
  --impakt-motion-stagger-base: 60ms;
  --impakt-motion-stagger-loose: 100ms;
  --impakt-motion-distance-near: 16px;
  --impakt-motion-distance-far: 48px;
  --impakt-motion-journey-flatten-duration: 640ms;
  --impakt-motion-journey-flatten-easing: cubic-bezier(0.65, 0, 0.35, 1);
  --impakt-motion-journey-ink-in-duration: 560ms;
  --impakt-motion-journey-ink-in-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --impakt-motion-journey-compile-duration: 720ms;
  --impakt-motion-journey-compile-easing: cubic-bezier(0.83, 0, 0.17, 1);
  --impakt-motion-journey-ship-duration: 600ms;
  --impakt-motion-journey-ship-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  --impakt-motion-journey-lift-duration: 180ms;
  --impakt-motion-journey-lift-easing: cubic-bezier(0.2, 0, 0, 1);
  --impakt-motion-journey-press-duration: 140ms;
  --impakt-motion-journey-press-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --impakt-button-height: 44px;
  --impakt-button-padding-block: 14px;
  --impakt-button-padding-inline: 20px;
  --impakt-button-gap: 12px;
  --impakt-button-font-size: 1rem;
  --impakt-button-line-height: 1.2;
  --impakt-button-weight: 500;
  --impakt-button-sm-padding-block: 14px;
  --impakt-button-sm-height: 44px;
  --impakt-button-sm-padding-inline: 20px;
  --impakt-button-sm-font-size: 1rem;
  --impakt-button-sm-line-height: 1.2;
  --impakt-button-sm-gap: 12px;
  --impakt-button-arrow-icon: none;
  --impakt-button-solid-edge-width: 0px;
  --impakt-button-arrow-glyph: inline;
  --impakt-button-lg-height: 56px;
  --impakt-button-lg-padding-block: 16px;
  --impakt-button-lg-font-size: 1.125rem;
  --impakt-button-lg-line-height: 1.556;
  --impakt-button-icon-size: 47px;
  --impakt-button-lg-icon-size: 56px;
  --impakt-button-full-justify: space-between;
  --impakt-button-full-align: start;
  --impakt-button-highlight: 0 0 0 0 transparent;
  --impakt-button-edge: 100%;
  --impakt-field-height: 50px;
  --impakt-field-padding-block: 13px;
  --impakt-field-padding-inline: 14px;
  --impakt-field-line-height: 1.5;
  --impakt-field-radius: 0px;
  --impakt-field-edge: 100%;
  --impakt-field-focus-edge: 100%;
  --impakt-field-focus-halo: 0px;
  --impakt-field-hover-edge: 1px;
  --impakt-field-label-font: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-field-label-weight: 400;
  --impakt-field-label-space: 8px;
  --impakt-field-resize: none;
  --impakt-field-sizing: content;
  --impakt-select-appearance: none;
  --impakt-select-caret: block;
  --impakt-select-padding-end: 36px;
  --impakt-select-marker-size: 4px;
  --impakt-tile-padding: 20px;
  --impakt-tile-gap: 10px;
  --impakt-tile-min-height: 0px;
  --impakt-tile-align: flex-start;
  --impakt-tile-edge-width: 1px;
  --impakt-tile-radius: 0px;
  --impakt-tile-fill: 100%;
  --impakt-tile-hover: 4%;
  --impakt-tile-label-font: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --impakt-tile-label-size: 0.875rem;
  --impakt-tile-label-weight: 400;
  --impakt-tile-label-tracking: 0em;
  --impakt-tile-label-transform: none;
  --impakt-tile-value-size: clamp(2.5rem, 2.1389rem + 1.481vw, 3.25rem);
  --impakt-tile-value-stat: 1;
  --impakt-tile-value-line-height: 1.04;
  --impakt-tile-value-tracking: -0.04em;
  --impakt-tile-value-weight: 600;
  --impakt-tile-value-space: 0px;
  --impakt-tile-lg-radius: 0px;
  --impakt-tile-lg-label-size: 0.875rem;
  --impakt-tile-lg-label-tracking: 0em;
  --impakt-tile-lg-label-transform: none;
  --impakt-tile-caption-line-height: 1.45;
  --impakt-card-edge: 100%;
  --impakt-stage-tag-radius: 3px;
  --impakt-journey-margin-note: none;
  --impakt-section-head-l-phone-size: 2.25rem;
  --impakt-section-head-l-phone-line-height: 1.04;
  --impakt-stat-row-label-width: 230px;
  --impakt-faq-question-size: 1.5rem;
  --impakt-faq-question-phone-min-height: 75px;
  --impakt-faq-marker-align: center;
  --impakt-faq-marker-first-line: 0;
  --impakt-filter-chip-height: 35px;
  --impakt-filter-chip-weight: 400;
  --impakt-filter-chip-edge: 100%;
  --impakt-filter-chip-pressed-hover: 14%;
  --impakt-filter-chip-hover-ink: 8%;
  --impakt-nav-current-hover-ink: 100%;
  --impakt-chip-outlined-tracking: 0em;
  --impakt-chip-outlined-edge: 100%;
  --impakt-dialog-edge-width: 1px;
  --impakt-shadow-dialog: none;
  --impakt-dialog-backdrop: rgb(17 17 17 / 0.5);
  --impakt-dialog-backdrop-blur: 0px;
  --impakt-dialog-padding: 24px;
  --impakt-dialog-heading-size: clamp(1.75rem, 1.6296rem + 0.494vw, 2rem);
  --impakt-dialog-heading-line-height: 1.1;
  --impakt-dialog-heading-tracking: -0.03em;
  --impakt-dialog-heading-weight: 600;
  --impakt-accordion-edge: 100%;
  --impakt-accordion-top-edge-width: 1px;
  --impakt-accordion-question-size: 1.5rem;
  --impakt-accordion-question-line-height: 1.15;
  --impakt-accordion-question-tracking: -0.025em;
  --impakt-accordion-question-padding: 32px;
  --impakt-accordion-hover-ink: 100%;
  --impakt-accordion-hover-line: underline;
  --impakt-accordion-plus: block;
  --impakt-accordion-chevron: none;
  --impakt-section-gutter: 20px;
  --impakt-section-padding-2xl: clamp(64px, 10vw, 120px);
  --impakt-accordion-marker-size: 18px;
  --impakt-accordion-marker-stroke: 3px;
  --impakt-accordion-answer-space: 32px;
  --impakt-accordion-answer-pull: calc(-1 * 16px);
  --impakt-accordion-answer-ink: 0%;
  --impakt-accordion-answer-line-height: 1.6;
  --impakt-accordion-answer-width: 48rem;
  --impakt-motion-reveal-mode: once;
  --impakt-motion-reveal-arrive: cubic-bezier(0.22, 1, 0.36, 1);
  --impakt-motion-reveal-shape: cubic-bezier(0.65, 0, 0.35, 1);
  --impakt-motion-reveal-stagger: 60ms;
  --impakt-motion-reveal-select-duration: 260ms;
  --impakt-motion-reveal-line-duration: 640ms;
  --impakt-motion-reveal-type-duration: 240ms;
  --impakt-motion-reveal-drop-duration: 420ms;
  --impakt-motion-reveal-drop-distance: 12px;
  --impakt-motion-reveal-count-duration: 900ms;
  --impakt-motion-reveal-mark-duration: 180ms;
  --impakt-motion-reveal-arrow-distance: 4px;
  --impakt-motion-reveal-arrow-duration: 180ms;
  --impakt-motion-reveal-arrow-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --impakt-motion-reveal-link-distance: 4px;
  --impakt-motion-reveal-link-duration: 180ms;
  --impakt-motion-reveal-link-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --impakt-motion-reveal-wipe-from: 0;
  --impakt-motion-reveal-wipe-duration: 180ms;
  --impakt-motion-reveal-wipe-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --impakt-motion-reveal-lead: 60ms;
}

.impakt-page {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: calc(var(--impakt-layout-page-width, 1200px) + 2 * var(--impakt-layout-margin-desktop, 64px));
  margin-inline: auto;
  padding-inline: var(--impakt-layout-margin-phone, 16px);
}
@media (min-width: 40rem) {
  .impakt-page { padding-inline: var(--impakt-layout-margin-tablet, 32px); }
}
@media (min-width: 64rem) {
  .impakt-page { padding-inline: var(--impakt-layout-margin-desktop, 64px); }
}
@media (max-width: 40rem) {
  [data-impakt-hide-on="phone"] { display: none !important; }
}
@media (min-width: 40.0625rem) {
  [data-impakt-hide-on="wide"] { display: none !important; }
}

/* --------------------------------------------------------------- tokens */

:root {
  /* Surfaces. The page carries no text directly; text sits on a card. */
  --ik-surface-page: var(--impakt-color-surface-page);
  --ik-surface-card: var(--impakt-color-surface-card);
  --ik-surface-inset: #F4F3F0;
  --ik-surface-subtle: var(--impakt-color-surface-subtle);
  --ik-surface-board: var(--impakt-color-surface-board);
  --ik-control-hover: var(--impakt-color-surface-subtle);
  --ik-surface-header: color-mix(in srgb, var(--impakt-color-surface-header) 88%, transparent);
  --ik-surface-inverse: var(--impakt-color-text-default);
  --ik-surface-ink-raised: var(--impakt-color-surface-ink-raised);

  /* Ink. Muted text is measured at 4.5:1 on the card, the page and the inset surface. */
  --ik-ink: var(--impakt-color-text-default);
  --ik-ink-muted: var(--impakt-color-text-muted);
  --ik-ink-subtle: var(--impakt-color-text-subtle);
  --ik-ink-inverse: var(--impakt-color-surface-page);
  --ik-ink-inverse-muted: var(--impakt-color-text-inverse-muted);

  /* Lines. A hairline is decoration. A border marks a control and is measured at 3:1. */
  --ik-line: var(--impakt-color-line-grid);
  --ik-line-soft: var(--impakt-color-line-soft);
  --ik-line-inverse: var(--impakt-color-line-inverse);
  --ik-border: #767676;
  --ik-border-strong: #5C5C5C;

  /* Brand. Ink is the action colour. Yellow is a fill for what needs attention, never text. */
  --ik-brand: var(--impakt-color-brand-default);
  --ik-brand-hover: #2A2A2A;
  --ik-brand-active: #3D3D3D;
  --ik-brand-subtle: #E9E8E4;
  --ik-brand-halo: color-mix(in srgb, var(--impakt-color-brand-default) 18%, transparent);
  --ik-on-brand: var(--impakt-color-brand-on);
  --ik-accent: var(--impakt-color-accent-default);
  --ik-accent-soft: #FFE066;
  --ik-on-accent: #111111;
  --ik-gold: #FFE066;
  --ik-gold-deep: var(--impakt-color-accent-default);
  --ik-on-gold: #111111;

  /* Selected text. A solid fill with its own ink, the same in both themes, so selected words read on paper, on ink and on every band (#109). */
  --ik-selection: var(--impakt-color-accent-default);
  --ik-on-selection: #111111;

  /* The tick on a "checked by code" mark. The same green in both themes: it sits on ink in light and on paper in dark. */
  --ik-verified: var(--impakt-color-status-ok-mark);
  --ik-on-verified: #FFFFFF;
  --ik-link: var(--impakt-color-text-link);
  --ik-link-hover: #3D3D3D;

  /* Status. Each has a colour for lines and icons (3:1), one for text (4.5:1) and a tint. */
  --ik-danger: var(--impakt-color-status-danger-default);
  --ik-danger-text: #9E2F24;
  --ik-danger-subtle: #FBECEA;
  --ik-warning: #8A6D00;
  --ik-warning-text: #6E5600;
  --ik-warning-subtle: #FFF4C7;
  --ik-success: var(--impakt-color-status-success-default);
  --ik-success-text: #0F6644;
  --ik-success-subtle: #E6F3EC;
  --ik-info: var(--impakt-color-status-info-default);
  --ik-info-text: #245A86;
  --ik-info-subtle: #E8F1F8;

  /* Focus. Locked: a light band inside a dark one, so it shows on every surface. */
  --ik-focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #111111;
  --ik-focus-ring-inset: inset 0 0 0 2px #111111, inset 0 0 0 4px #FFFFFF;

  /* Type. Archivo, with IBM Plex Mono for labels, and a ramp whose smallest step is 14px. */
  --ik-font: var(--impakt-font-family-body);
  --ik-font-mono: var(--impakt-font-family-mono);
  --ik-font-hand: var(--impakt-font-family-hand);
  --ik-text-xs: var(--impakt-font-size-sm); /* 14px: pills, captions, table headings */
  --ik-text-sm: 0.9375rem; /* 15px: buttons, labels, dense rows */
  --ik-text-md: var(--impakt-font-size-md); /* 16px: body and fields */
  --ik-text-lg: var(--impakt-font-size-lg); /* 18px */
  --ik-text-xl: var(--impakt-font-size-xl); /* 20px */
  --ik-text-2xl: var(--impakt-font-size-2xl); /* 24px */
  --ik-text-3xl: var(--impakt-font-size-3xl); /* 30px */
  --ik-leading-tight: var(--impakt-font-line-height-tight);
  --ik-leading-normal: var(--impakt-font-line-height-normal);
  --ik-tracking-tight: var(--impakt-font-tracking-tight);

  /* Space. A 4px unit. Every gap is a whole step. */
  --ik-space-1: var(--impakt-space-1);
  --ik-space-2: var(--impakt-space-2);
  --ik-space-3: var(--impakt-space-3);
  --ik-space-4: var(--impakt-space-4);
  --ik-space-5: var(--impakt-space-5);
  --ik-space-6: var(--impakt-space-6);
  --ik-space-8: var(--impakt-space-8);
  --ik-space-10: var(--impakt-space-10);
  --ik-space-12: var(--impakt-space-12);
  --ik-gutter: var(--impakt-layout-margin-phone);

  /* Shape. Square: every radius step is 0. */
  --ik-radius-sm: 0px;
  --ik-radius-md: 0px;
  --ik-radius-lg: 0px;
  --ik-radius-xl: 0px;
  --ik-radius-full: 0px;

  /* Elevation. Noire is flat: controls, cards, tabs and steps have none. Only what floats over the page has one. */
  --ik-shadow-xs: var(--impakt-shadow-xs);
  --ik-shadow-sm: var(--impakt-shadow-sm);
  --ik-shadow-md: var(--impakt-shadow-md);
  --ik-shadow-overlay: var(--impakt-shadow-overlay);

  /* Motion. Calm: short, no overshoot. */
  --ik-duration-fast: var(--impakt-motion-duration-fast);
  --ik-duration-base: var(--impakt-motion-duration-base);
  --ik-duration-slow: var(--impakt-motion-duration-slow);
  --ik-ease-standard: var(--impakt-motion-easing-standard);
  --ik-ease-enter: var(--impakt-motion-easing-enter);
  --ik-ease-exit: var(--impakt-motion-easing-exit);

  /* Density. Controls are 40px with a mouse and 44px on a touch screen. */
  --ik-control-height: 40px;
  --ik-target-min: var(--impakt-target-min);

  color-scheme: light;
}

/* Dark. The same roles, lifted for a dark surface. */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ik-surface-page: #0E0E0E;
    --ik-surface-card: #1A1A1A;
    --ik-surface-inset: #141414;
    --ik-surface-subtle: #141414;
    --ik-surface-board: #242424;
    --ik-control-hover: #262626;
    --ik-surface-header: rgb(14 14 14 / 0.88);
    --ik-surface-inverse: #F2F2F0;
    --ik-surface-ink-raised: #E3E2DD;
    --ik-ink: #F2F2F0;
    --ik-ink-muted: #A8A8A6;
    --ik-ink-subtle: #9A9A98;
    --ik-ink-inverse: #0E0E0E;
    --ik-ink-inverse-muted: #5C5C5C;
    --ik-line: #1F1F1F;
    --ik-line-soft: #2E2E2E;
    --ik-line-inverse: #CFCCC5;
    --ik-border: #7A7A7A;
    --ik-border-strong: #A8A8A6;
    --ik-brand: #F2F2F0;
    --ik-brand-hover: #FFFFFF;
    --ik-brand-active: #D9D9D6;
    --ik-brand-subtle: #262626;
    --ik-brand-halo: rgb(242 242 240 / 0.22);
    --ik-on-brand: #111111;
    --ik-link: #F2F2F0;
    --ik-link-hover: #FFFFFF;
    --ik-danger: #F0978F;
    --ik-danger-text: #F0978F;
    --ik-danger-subtle: #3A1F1C;
    --ik-warning: #FFD43B;
    --ik-warning-text: #FFD43B;
    --ik-warning-subtle: #332B0F;
    --ik-success: #8FD0A0;
    --ik-success-text: #8FD0A0;
    --ik-success-subtle: #1B3123;
    --ik-info: #8DC0E6;
    --ik-info-text: #8DC0E6;
    --ik-info-subtle: #1A2B3A;
    --ik-focus-ring: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
    --ik-focus-ring-inset: inset 0 0 0 2px #F2F2F0, inset 0 0 0 4px #0E0E0E;
    --ik-shadow-xs: 0 0 0 0 transparent;
    --ik-shadow-sm: 0 0 0 0 transparent;
    --ik-shadow-md: 0 0 0 0 transparent;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ik-surface-page: #0E0E0E;
  --ik-surface-card: #1A1A1A;
  --ik-surface-inset: #141414;
  --ik-surface-subtle: #141414;
  --ik-surface-board: #242424;
  --ik-control-hover: #262626;
  --ik-surface-header: rgb(14 14 14 / 0.88);
  --ik-surface-inverse: #F2F2F0;
  --ik-surface-ink-raised: #E3E2DD;
  --ik-ink: #F2F2F0;
  --ik-ink-muted: #A8A8A6;
  --ik-ink-subtle: #9A9A98;
  --ik-ink-inverse: #0E0E0E;
  --ik-ink-inverse-muted: #5C5C5C;
  --ik-line: #1F1F1F;
  --ik-line-soft: #2E2E2E;
  --ik-line-inverse: #CFCCC5;
  --ik-border: #7A7A7A;
  --ik-border-strong: #A8A8A6;
  --ik-brand: #F2F2F0;
  --ik-brand-hover: #FFFFFF;
  --ik-brand-active: #D9D9D6;
  --ik-brand-subtle: #262626;
  --ik-brand-halo: rgb(242 242 240 / 0.22);
  --ik-on-brand: #111111;
  --ik-link: #F2F2F0;
  --ik-link-hover: #FFFFFF;
  --ik-danger: #F0978F;
  --ik-danger-text: #F0978F;
  --ik-danger-subtle: #3A1F1C;
  --ik-warning: #FFD43B;
  --ik-warning-text: #FFD43B;
  --ik-warning-subtle: #332B0F;
  --ik-success: #8FD0A0;
  --ik-success-text: #8FD0A0;
  --ik-success-subtle: #1B3123;
  --ik-info: #8DC0E6;
  --ik-info-text: #8DC0E6;
  --ik-info-subtle: #1A2B3A;
  --ik-focus-ring: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
  --ik-focus-ring-inset: inset 0 0 0 2px #F2F2F0, inset 0 0 0 4px #0E0E0E;
  --ik-shadow-xs: 0 0 0 0 transparent;
  --ik-shadow-sm: 0 0 0 0 transparent;
  --ik-shadow-md: 0 0 0 0 transparent;
  color-scheme: dark;
}

/* ----------------------------------------------------- component tokens */

/* The house tokens the @atomic-ui/ui components read, given the products' values, so a component looks like the product around it in light and in dark. */

:root {
  --impakt-color-surface-inset: #F4F3F0;
  --impakt-color-text-link-hover: #3D3D3D;
  --impakt-color-border-default: #767676;
  --impakt-color-border-strong: #5C5C5C;
  --impakt-color-brand-hover: #2A2A2A;
  --impakt-color-brand-active: #3D3D3D;
  --impakt-color-brand-subtle: #E9E8E4;
  --impakt-color-status-danger-text: #9E2F24;
  --impakt-color-status-danger-subtle: #FBECEA;
  --impakt-color-status-warning-text: #6E5600;
  --impakt-color-status-warning-subtle: #FFF4C7;
  --impakt-color-status-success-text: #0F6644;
  --impakt-color-status-success-subtle: #E6F3EC;
  --impakt-color-status-info-text: #245A86;
  --impakt-color-status-info-subtle: #E8F1F8;
  --impakt-focus-ring-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #111111;
  --impakt-font-size-eyebrow: 0.875rem;
  --impakt-site-menu-current: #FFD43B;
  --impakt-journey-code-words: #FFD43B;
  --impakt-color-accent-on-ink: #FFD43B;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --impakt-color-surface-page: #0E0E0E;
    --impakt-color-surface-card: #1A1A1A;
    --impakt-color-surface-inset: #141414;
    --impakt-color-surface-subtle: #141414;
    --impakt-color-surface-board: #242424;
    --impakt-color-surface-ink-raised: #E3E2DD;
    --impakt-color-line-grid: #1F1F1F;
    --impakt-color-line-soft: #2E2E2E;
    --impakt-color-line-inverse: #CFCCC5;
    --impakt-color-text-subtle: #9A9A98;
    --impakt-color-text-inverse-muted: #5C5C5C;
    --impakt-color-text-default: #F2F2F0;
    --impakt-color-text-heading: #F2F2F0;
    --impakt-color-text-muted: #A8A8A6;
    --impakt-color-text-muted-on-subtle: #A8A8A6;
    --impakt-color-text-placeholder: #A8A8A6;
    --impakt-color-text-eyebrow: #A8A8A6;
    --impakt-color-text-link: #F2F2F0;
    --impakt-color-text-link-hover: #FFFFFF;
    --impakt-color-text-on-brand: #111111;
    --impakt-color-border-default: #7A7A7A;
    --impakt-color-border-strong: #A8A8A6;
    --impakt-color-brand-default: #F2F2F0;
    --impakt-color-brand-hover: #FFFFFF;
    --impakt-color-brand-active: #D9D9D6;
    --impakt-color-brand-subtle: #262626;
    --impakt-color-brand-on: #111111;
    --impakt-color-status-danger-default: #F0978F;
    --impakt-color-status-danger-text: #F0978F;
    --impakt-color-status-danger-subtle: #3A1F1C;
    --impakt-color-status-warning-default: #FFD43B;
    --impakt-color-status-warning-text: #FFD43B;
    --impakt-color-status-warning-subtle: #332B0F;
    --impakt-color-status-success-default: #8FD0A0;
    --impakt-color-status-success-text: #8FD0A0;
    --impakt-color-status-success-subtle: #1B3123;
    --impakt-color-status-info-default: #8DC0E6;
    --impakt-color-status-info-text: #8DC0E6;
    --impakt-color-status-info-subtle: #1A2B3A;
    --impakt-focus-ring-shadow: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
    --impakt-site-menu-current: initial;
    --impakt-journey-code-words: initial;
    --impakt-color-accent-on-ink: initial;
    --impakt-color-status-danger-on: #111111;
    --impakt-color-status-warning-on: #111111;
    --impakt-color-status-success-on: #111111;
    --impakt-color-status-info-on: #111111;
    --impakt-color-surface-header: #0E0E0E;
    --impakt-color-text-on-header: #F2F2F0;
    --impakt-color-surface-footer: #141414;
    --impakt-color-text-on-footer: #F2F2F0;
  }
}

:root[data-theme="dark"] {
  --impakt-color-surface-page: #0E0E0E;
  --impakt-color-surface-card: #1A1A1A;
  --impakt-color-surface-inset: #141414;
  --impakt-color-surface-subtle: #141414;
  --impakt-color-surface-board: #242424;
  --impakt-color-surface-ink-raised: #E3E2DD;
  --impakt-color-line-grid: #1F1F1F;
  --impakt-color-line-soft: #2E2E2E;
  --impakt-color-line-inverse: #CFCCC5;
  --impakt-color-text-subtle: #9A9A98;
  --impakt-color-text-inverse-muted: #5C5C5C;
  --impakt-color-text-default: #F2F2F0;
  --impakt-color-text-heading: #F2F2F0;
  --impakt-color-text-muted: #A8A8A6;
  --impakt-color-text-muted-on-subtle: #A8A8A6;
  --impakt-color-text-placeholder: #A8A8A6;
  --impakt-color-text-eyebrow: #A8A8A6;
  --impakt-color-text-link: #F2F2F0;
  --impakt-color-text-link-hover: #FFFFFF;
  --impakt-color-text-on-brand: #111111;
  --impakt-color-border-default: #7A7A7A;
  --impakt-color-border-strong: #A8A8A6;
  --impakt-color-brand-default: #F2F2F0;
  --impakt-color-brand-hover: #FFFFFF;
  --impakt-color-brand-active: #D9D9D6;
  --impakt-color-brand-subtle: #262626;
  --impakt-color-brand-on: #111111;
  --impakt-color-status-danger-default: #F0978F;
  --impakt-color-status-danger-text: #F0978F;
  --impakt-color-status-danger-subtle: #3A1F1C;
  --impakt-color-status-warning-default: #FFD43B;
  --impakt-color-status-warning-text: #FFD43B;
  --impakt-color-status-warning-subtle: #332B0F;
  --impakt-color-status-success-default: #8FD0A0;
  --impakt-color-status-success-text: #8FD0A0;
  --impakt-color-status-success-subtle: #1B3123;
  --impakt-color-status-info-default: #8DC0E6;
  --impakt-color-status-info-text: #8DC0E6;
  --impakt-color-status-info-subtle: #1A2B3A;
  --impakt-focus-ring-shadow: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
  --impakt-site-menu-current: initial;
  --impakt-journey-code-words: initial;
  --impakt-color-accent-on-ink: initial;
  --impakt-color-status-danger-on: #111111;
  --impakt-color-status-warning-on: #111111;
  --impakt-color-status-success-on: #111111;
  --impakt-color-status-info-on: #111111;
  --impakt-color-surface-header: #0E0E0E;
  --impakt-color-text-on-header: #F2F2F0;
  --impakt-color-surface-footer: #141414;
  --impakt-color-text-on-footer: #F2F2F0;
}

@media (pointer: coarse) { :root { --ik-control-height: 44px; } }

@media (min-width: 641px) { :root { --ik-gutter: 24px; } }

@media (min-width: 1100px) { :root { --ik-gutter: 32px; } }

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ik-surface-page);
  color: var(--ik-ink);
  font-family: var(--ik-font);
  font-size: var(--ik-text-md);
  line-height: var(--ik-leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
/* Selected text is the accent with the ink on it, 13:1, in both themes, so selected words read on paper, on the ink
   bands and on the accent itself (#109). It used to keep the ink colour over a tint of the ink, which vanished on an
   ink band. The rule reaches the components' shadow trees too, which take the selection colours of their host. A light
   DOM surface filled with the accent, such as the warning alert, sets the selection to white on the ink instead. */
::selection { background: var(--ik-selection); color: var(--ik-on-selection); }
:where(.alert.warn, .ik-alert.warn) { --ik-selection: var(--ik-on-accent); --ik-on-selection: #FFFFFF; }
:where(h1, h2, h3, h4) { font-weight: 600; line-height: var(--ik-leading-tight); letter-spacing: var(--ik-tracking-tight); color: var(--ik-ink); text-wrap: balance; }
:where(h1) { font-size: var(--ik-text-2xl); }
:where(h2) { font-size: var(--ik-text-xl); }
:where(h3) { font-size: var(--ik-text-lg); }
:where(h4) { font-size: var(--ik-text-md); }
:where(a) { color: var(--ik-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:where(a:hover) { color: var(--ik-link-hover); text-decoration-thickness: 2px; } /* The heavier line shows the hover where a page keeps the link's colour (#109). */
:where(code, kbd, samp, pre) { font-family: var(--ik-font-mono); font-size: 0.9em; }
:where(pre) { background: var(--ik-surface-inset); border-radius: var(--ik-radius-sm); padding: var(--ik-space-3); overflow-wrap: anywhere; white-space: pre-wrap; }
:where(hr) { border: 0; border-top: 1px solid var(--ik-line); margin: var(--ik-space-4) 0; }
:where(img, svg, video) { max-width: 100%; }

/* The focus ring. :focus-visible, so a click does not draw it and the keyboard does. The
   transparent outline is what Windows High Contrast Mode keeps when it drops the shadow. */
:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--ik-focus-ring); }
/* Inside a box that clips, such as a scrolling list, the ring is drawn inside the element. */
.ik-focus-inset:focus-visible, .ik-focus-inset :focus-visible { box-shadow: var(--ik-focus-ring-inset); }

.ik-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ik-skip { position: absolute; left: -9999px; top: var(--ik-space-2); z-index: 100; padding: var(--ik-space-2) var(--ik-space-4); border-radius: var(--ik-radius-full); background: var(--ik-brand); color: var(--ik-on-brand); font-weight: 600; text-decoration: none; }
.ik-skip:focus { left: var(--ik-space-3); }
.ik-skip:hover { text-decoration: underline; text-underline-offset: 0.18em; } /* #109 */

.muted { color: var(--ik-ink-muted); }
.small { font-size: var(--ik-text-xs); }
.row { display: flex; flex-wrap: wrap; gap: var(--ik-space-2); align-items: center; }
.ik-wrap { max-width: var(--ik-page-width, 1200px); margin: 0 auto; padding-inline: var(--ik-gutter); }

/* --------------------------------------------------------------- header */
/* One row at every width: the mark and the product name on the left, the product's own
   navigation and session controls on the right. A solid 56px bar on the card colour with the
   grid rule under it. */
.ik-header {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--ik-space-3);
  min-height: 56px; padding: var(--ik-space-2) var(--ik-gutter);
  background: var(--ik-surface-card);
  border-bottom: 1px solid var(--ik-line);
}
.ik-brand { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--ik-radius-sm); min-width: 0; color: var(--ik-ink); text-decoration: none; font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.ik-brand:hover { color: var(--ik-ink); }
.ik-brand b, .ik-brand strong { font-weight: 500; }
.ik-brand .ik-product { font-weight: 500; }
/* The mark: a 28px square in the action colour with an "i" on it. Ink with a white "i" in light, paper with an ink "i" in dark. */
/* A product whose own controls do not stick to the top can keep the header in view. */
.ik-header.ik-sticky { position: sticky; top: 0; }
@media (max-width: 640px) {
  .ik-header { gap: var(--ik-space-2); }
  .ik-brand { gap: 8px; }
}

/* -------------------------------------------------------------- buttons */
/* The action colour, solid, for the one main action, an ink outline on the card for the rest, and words only for
   a quiet action. Square and flat: no shadow and no highlight. Pressed is a different tone. Busy or disabled
   changes the cursor and the look, never the position, so the control does not move while it is used. */
:where(button, .ik-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--ik-space-2);
  min-height: var(--ik-control-height); min-width: var(--ik-target-min);
  padding: 14px 20px;
  font: inherit; font-size: var(--ik-text-md); font-weight: 500; line-height: 1.2; letter-spacing: 0;
  color: var(--ik-ink); background: var(--ik-surface-card);
  border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md);
  box-shadow: none;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color var(--ik-duration-fast) var(--ik-ease-standard), border-color var(--ik-duration-fast) var(--ik-ease-standard), color var(--ik-duration-fast) var(--ik-ease-standard);
}
:where(button, .ik-btn):hover:not(:disabled) { background: var(--ik-control-hover); border-color: var(--ik-ink); } /* In dark the subtle surface was darker than the card, so the hover hardly showed (#109). */
:where(button, .ik-btn):focus-visible { box-shadow: var(--ik-focus-ring); }
/* Not yet: a soft fill behind a dashed edge and muted words, the G2 sign for something not there yet. It is never
   faded, so its words still read at 4.5:1 in light and in dark, and the primary turns the same way. */
:where(button, .ik-btn):disabled, :where(button, .ik-btn)[aria-disabled="true"],
:where(button.primary, .ik-btn.primary):disabled, :where(button.primary, .ik-btn.primary)[aria-disabled="true"] {
  opacity: 1; cursor: not-allowed;
  color: var(--ik-ink-muted); background: var(--ik-surface-subtle); border-color: var(--ik-border); border-style: dashed;
}
:where(button, .ik-btn)[aria-busy="true"] { cursor: progress; }
:where(button.primary, .ik-btn.primary) { background: var(--ik-brand); border-color: var(--ik-brand); color: var(--ik-on-brand); box-shadow: none; }
:where(button.primary, .ik-btn.primary):hover:not(:disabled) { background: var(--ik-brand-hover); border-color: var(--ik-brand-hover); color: var(--ik-on-brand); }
:where(button.primary, .ik-btn.primary):active:not(:disabled) { background: var(--ik-brand-active); border-color: var(--ik-brand-active); }
:where(button.ghost, .ik-btn.ghost) { background: transparent; border-color: transparent; box-shadow: none; color: var(--ik-ink); }
:where(button.ghost, .ik-btn.ghost):hover:not(:disabled) { background: var(--ik-brand-subtle); border-color: transparent; }
:where(button.danger, .ik-btn.danger) { color: var(--ik-danger-text); }
/* G2 has one button size. A .small button, which 0.12 drew 32px high, is the same 47px button, so two heights never
   sit side by side in a card head. The class is kept so a product's markup still works. */
/* A full-width button: the words at the start and a trailing arrow, if there is one, at the far edge. */
:where(button.block, .ik-btn.block) { display: flex; width: 100%; justify-content: space-between; text-align: start; }
@media (forced-colors: active) { :where(button, .ik-btn) { border-color: ButtonBorder; } :where(button, .ik-btn):disabled { color: GrayText; border-color: GrayText; } }

/* --------------------------------------------------------------- fields */
:where(label) { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink); }
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea) {
  min-height: 44px; max-width: 100%;
  padding: 13px 14px;
  font: inherit; font-size: var(--ik-text-md); line-height: 1.2;
  color: var(--ik-ink); background: var(--ik-surface-card);
  border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md);
  box-shadow: none;
  transition: border-color var(--ik-duration-fast) var(--ik-ease-standard), box-shadow var(--ik-duration-fast) var(--ik-ease-standard);
}
/* Under the pointer the ink edge doubles, drawn inside the border so nothing moves (#111). The border is the ink at rest,
   so a darker border could not show it. A focused field keeps its ring, and a field with an error keeps its red edge,
   which thickens in red; the old hover turned that edge to the ink. */
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea):hover:not(:disabled, :focus-visible, [aria-invalid="true"]) { box-shadow: inset 0 0 0 var(--impakt-field-hover-edge, 1px) var(--ik-ink); }
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea)[aria-invalid="true"]:hover:not(:disabled, :focus-visible) { box-shadow: inset 0 0 0 var(--impakt-field-hover-edge, 1px) var(--ik-danger); }
/* The two-band ring, outside the ink border, so the field being typed in is plain at a glance. */
input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]):focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ik-ink); box-shadow: var(--ik-focus-ring); }
:where(input, select, textarea)::placeholder { color: var(--ik-ink-muted); opacity: 1; }
:where(input, select, textarea):disabled { background-color: var(--ik-surface-inset); cursor: not-allowed; }
/* An error thickens the border as well as turning it red, and the message says it in words. */
:where(input, select, textarea)[aria-invalid="true"] { border-color: var(--ik-danger); border-width: 2px; }
:where(textarea) { min-height: 120px; resize: vertical; }
:where(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; accent-color: var(--ik-brand); }
/*
 * The browser's own controls. The G2 kit draws a drop zone for files (.ik-drop) and nothing for the rest, so a
 * checkbox and a radio stay the browser's, in the action colour with the browser's own tick, which keeps its contrast
 * in light, dark and forced colours. A date or month field keeps the browser's picker, drawn in the page's colour
 * scheme so its calendar mark is ink in light and paper in dark.
 */
:where(input:is([type="date"], [type="month"], [type="week"], [type="time"], [type="datetime-local"])) { color-scheme: inherit; }
:where(input:is([type="date"], [type="month"], [type="week"], [type="time"], [type="datetime-local"]))::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; }
/* A details element opens with the accordion's "+", which turns to "−", in place of the browser's triangle. */
:where(details:not(.ik-account)) > :where(summary) { list-style: none; cursor: pointer; }
:where(details:not(.ik-account)) > :where(summary)::-webkit-details-marker { display: none; }
:where(details:not(.ik-account)) > :where(summary)::before { content: "+"; display: inline-block; width: 1.25em; font-family: var(--ik-font-mono); font-weight: 500; }
:where(details[open]:not(.ik-account)) > :where(summary)::before { content: "\2212"; }
:where(input[type="file"]) { max-width: 100%; font: inherit; font-size: var(--ik-text-sm); color: var(--ik-ink-muted); }
:where(input[type="file"])::file-selector-button {
  margin-right: var(--ik-space-3); min-height: 47px; padding: 14px 20px;
  font: inherit; font-size: var(--ik-text-md); font-weight: 500; line-height: 1.2; color: var(--ik-ink); background: var(--ik-surface-card);
  border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md); cursor: pointer;
}
/*
 * A select drawn as impakt-select is: the same box, and under the Impakt brand a small "▾" in the
 * text colour after the words in place of the browser's arrow (G2, frame 37:492). The marker is
 * two halves of a square drawn in currentColor, so it follows the text in light and in dark; in
 * forced colours the browser's own arrow is drawn in the system's colours. A brand whose select.appearance is auto keeps the browser's own arrow, and its
 * select.marker-size of 0px draws nothing.
 */
:where(select:not([multiple], [size])) {
  min-height: var(--impakt-field-height, 44px); line-height: var(--impakt-field-line-height, 1.2);
  padding-right: var(--impakt-select-padding-end, 14px);
  appearance: var(--impakt-select-appearance, auto); -webkit-appearance: var(--impakt-select-appearance, auto);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right calc(14px + var(--impakt-select-marker-size, 0px)) center, right 14px center;
  background-size: var(--impakt-select-marker-size, 0px) var(--impakt-select-marker-size, 0px);
  background-repeat: no-repeat;
  cursor: pointer;
}
:where(select:not([multiple], [size])):disabled { cursor: not-allowed; }
/* Forced colours drop a drawn gradient, so there the browser draws its own arrow, in the system's colours. */
@media (forced-colors: active) { :where(select:not([multiple], [size])) { appearance: auto; -webkit-appearance: auto; background-image: none; } }
/* A field can be narrower than its control's own width, such as a file input's, so its box shrinks to fit the column
   and never widens the page at 320px (#77). */
.ik-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: var(--ik-space-4); min-width: 0; }
/*
 * Fields side by side keep their boxes on one line, as G2 does (37:419), when a label wraps to two lines or has a hint:
 * each field sinks to the foot of its row. .ik-fields is the row; a product's own .grid of label-and-field cells gets
 * the same.
 */
.ik-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0 var(--ik-space-4); align-items: end; }
:where(.grid) > :has(> label + :is(input, select, textarea)) { align-self: end; }
.ik-hint { font-size: var(--ik-text-xs); color: var(--ik-ink-muted); font-weight: 400; }
/* A phone zooms into any field under 16px, so fields stay at 16px there. */
@media (max-width: 640px) { :where(input, select, textarea) { font-size: 16px; } }

/* ----------------------------------------------------------------- tabs */
/* A soft track with a soft line round it, and the chosen tab raised onto the card colour with an ink dot.
   It is one row at every width and scrolls sideways when it must. */
.tabs, .ik-tabs {
  display: flex; flex-wrap: nowrap; gap: 0; width: max-content; max-width: 100%;
  margin: var(--ik-space-3) 0 var(--ik-space-4); padding: 3px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  background: var(--ik-surface-subtle); border: 1px solid var(--ik-line-soft); border-radius: var(--ik-radius-md);
  box-shadow: none;
}
.tabs::-webkit-scrollbar, .ik-tabs::-webkit-scrollbar { display: none; }
.tabs > button, .ik-tabs > button, .tabs > a, .ik-tabs > a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; white-space: nowrap;
  color: var(--ik-ink-muted); background: transparent; border: 1px solid transparent; border-radius: var(--ik-radius-md); box-shadow: none;
  font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.2; text-decoration: none;
}
.tabs > button:hover:not(:disabled), .ik-tabs > button:hover:not(:disabled), .tabs > a:hover, .ik-tabs > a:hover { background: transparent; border-color: transparent; color: var(--ik-ink); }
.tabs > .on, .ik-tabs > .on, .tabs > [aria-selected="true"], .ik-tabs > [aria-selected="true"], .tabs > [aria-current="page"], .ik-tabs > [aria-current="page"] {
  background: var(--ik-surface-card); border-color: var(--ik-line-soft); color: var(--ik-ink);
}
.tabs > .on::before, .ik-tabs > .on::before, .tabs > [aria-selected="true"]::before, .ik-tabs > [aria-selected="true"]::before, .tabs > [aria-current="page"]::before, .ik-tabs > [aria-current="page"]::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ik-ink);
}
.tabs > .on:hover:not(:disabled), .ik-tabs > .on:hover:not(:disabled), .tabs > [aria-selected="true"]:hover, .ik-tabs > [aria-selected="true"]:hover { background: var(--ik-surface-card); border-color: var(--ik-line-soft); }
@media (forced-colors: active) { .tabs > .on, .ik-tabs > .on, .tabs > [aria-selected="true"], .ik-tabs > [aria-selected="true"], .tabs > [aria-current="page"], .ik-tabs > [aria-current="page"] { border-color: CanvasText; } .tabs > .on::before, .ik-tabs > .on::before, .tabs > [aria-selected="true"]::before, .ik-tabs > [aria-selected="true"]::before, .tabs > [aria-current="page"]::before, .ik-tabs > [aria-current="page"]::before { background: CanvasText; } }
/* The ring is drawn inside, because the bar clips anything outside its scroll box. */
.tabs > :focus-visible, .ik-tabs > :focus-visible { box-shadow: var(--ik-focus-ring-inset); }
@media (pointer: coarse) { .tabs > button, .ik-tabs > button, .tabs > a, .ik-tabs > a { min-height: 40px; } }

/* ---------------------------------------------------------------- cards */
.card, .panel, .ik-card {
  background: var(--ik-surface-card); color: var(--ik-ink);
  border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-xl);
  padding: var(--ik-space-6); margin-bottom: var(--ik-space-4);
  box-shadow: none;
}
.ik-card > :where(h2, h3):first-child:not(.ik-eyebrow), .card > :where(h2, h3):first-child:not(.ik-eyebrow), .panel > :where(h2, h3):first-child:not(.ik-eyebrow) {
  margin-top: 0;
  font-size: var(--impakt-type-heading-s-size, 1.5rem); font-weight: 600;
  line-height: var(--impakt-type-heading-s-line-height, 1.15); letter-spacing: var(--impakt-type-heading-s-tracking, -0.025em);
}
/* An ink band, a dashed outline for something not there yet, a soft inset with an ink edge, and a quiet soft card for what is coming soon. */
.ik-card.ink { background: var(--ik-surface-inverse); color: var(--ik-ink-inverse); border-color: var(--ik-surface-inverse); }
.ik-card.ink :where(h2, h3, h4) { color: var(--ik-ink-inverse); }
.ik-card.dashed { border-style: dashed; }
.ik-card.inset { background: var(--ik-surface-subtle); border-color: var(--ik-ink); }
.ik-card.muted { background: var(--ik-surface-subtle); border-color: var(--ik-line-soft); color: var(--ik-ink-muted); }
.ik-board { background: var(--ik-surface-board); border-radius: var(--ik-radius-xl); padding: var(--ik-space-6); }
@media (max-width: 640px) {
  .card, .panel, .ik-card { padding: var(--ik-space-4); border-radius: var(--ik-radius-lg); }
}

/* ---------------------------------------------------------------- pills */
/* Sentence case in the code face, never shouted. The word carries the meaning and a 7px dot supports it:
   green is done, red has failed, yellow (with an ink ring, so it shows on white) needs your attention, ink is
   neutral work in hand. A plain pill has no dot, and a solid one is filled with the action colour. */
.pill, .ik-pill {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: baseline;
  padding: 3px 8px; border-radius: var(--ik-radius-md);
  font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.4;
  color: var(--ik-ink); background: var(--ik-surface-card); border: 1px solid var(--ik-ink);
  /* A long pill, such as "Met on time, Mon, 14 Dec 2026" in a narrow tile, wraps inside its box rather than being cut off. */
  max-width: 100%; overflow-wrap: anywhere; text-align: start;
}
.pill:is(.ok, .warn, .bad, .info, .brand)::before, .ik-pill:is(.ok, .warn, .bad, .info, .brand)::before {
  content: ""; flex: none; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; background: var(--ik-ink);
}
.pill.ok::before, .ik-pill.ok::before { background: var(--ik-verified); }
.pill.warn::before, .ik-pill.warn::before { background: var(--ik-accent); border: 1px solid var(--ik-on-accent); }
.pill.bad::before, .ik-pill.bad::before { background: var(--ik-danger); }
.pill.info::before, .ik-pill.info::before, .pill.brand::before, .ik-pill.brand::before { background: var(--ik-ink); }
.pill.neutral, .ik-pill.neutral { color: var(--ik-ink); }
.pill.solid, .ik-pill.solid { color: var(--ik-on-brand); background: var(--ik-brand); border-color: var(--ik-brand); }
/* A pill inside a heading or a big figure keeps its own size. */
:where(h1, h2, h3, .ik-stat-value) :is(.pill, .ik-pill) { letter-spacing: 0; vertical-align: middle; }
@media (forced-colors: active) { .pill, .ik-pill { border-color: CanvasText; } .pill::before, .ik-pill::before { forced-color-adjust: none; background: CanvasText !important; } }

/* --------------------------------------------------------------- alerts */
/*
 * The G2 message (33:494, 37:452): a square block with a 1px ink edge and the words in ink, and an optional tag in the
 * code face before them, such as "Check". Inside a tool yellow means "this needs your attention", so .warn is the solid
 * accent, and it stays yellow with ink words in dark too (48:696). The other tones keep the shape on the card colour and
 * carry their tone in the tag's word and dot, never in a tint alone.
 *
 *   <div class="alert warn"><span class="ik-alert-tag">Check</span><p>The deposit is more than five weeks of rent.</p></div>
 *
 * With a tag, or with its actions in .ik-alert-actions, the message lays its parts in a row: the tag, the words, then the
 * actions at the far end. Hold the words in one element then, such as a <p>.
 */
.alert, .ik-alert {
  --ik-alert-ink: var(--ik-ink);
  padding: 14px 16px; margin: var(--ik-space-2) 0;
  border: 1px solid var(--ik-alert-ink); border-radius: 0;
  background: var(--ik-surface-card); color: var(--ik-alert-ink);
  font-size: var(--ik-text-md); line-height: 1.45;
  box-shadow: none;
}
.alert.small, .ik-alert.small { font-size: var(--ik-text-sm); }
.alert:has(> :is(.ik-alert-tag, .ik-alert-actions)), .ik-alert:has(> :is(.ik-alert-tag, .ik-alert-actions)) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
:where(.alert, .ik-alert) > :where(p) { margin: 0; }
:where(.alert, .ik-alert):has(> :is(.ik-alert-tag, .ik-alert-actions)) > :not(.ik-alert-tag, .ik-alert-actions) { flex: 1 1 10rem; min-width: 0; }
.ik-alert-tag {
  display: inline-flex; align-items: center; gap: 6px; flex: none; vertical-align: baseline;
  padding: 3px 8px; margin-inline-end: 4px;
  font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.4; white-space: nowrap;
  color: var(--ik-surface-card); background: var(--ik-alert-ink); border: 1px solid var(--ik-alert-ink);
}
.ik-alert-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
/* Yellow: the one thing a person must read. The accent and the ink are the same in light and dark. */
.alert.warn, .ik-alert.warn { --ik-alert-ink: var(--ik-on-accent); background: var(--ik-accent); }
.alert.warn .ik-alert-tag, .ik-alert.warn .ik-alert-tag { color: #FFFFFF; }
:where(.alert.warn, .ik-alert.warn) :where(a) { color: var(--ik-on-accent); }
/* An action on the yellow is the filled ink button (37:526), in both themes. */
:where(.alert.warn, .ik-alert.warn) :where(button, .ik-btn) { color: #FFFFFF; background: var(--ik-on-accent); border-color: var(--ik-on-accent); }
:where(.alert.warn, .ik-alert.warn) :where(button, .ik-btn):hover:not(:disabled) { color: #FFFFFF; background: #2A2A2A; border-color: #2A2A2A; }
:where(.alert.warn, .ik-alert.warn) :where(button, .ik-btn):focus-visible { box-shadow: 0 0 0 2px var(--ik-accent), 0 0 0 4px var(--ik-on-accent); }
/* The other tones: the same shape on the card, the tone in the tag's dot. A failure ("Failed") is red, done is green. */
.alert:is(.bad, .ok, .info) .ik-alert-tag::before, .ik-alert:is(.bad, .ok, .info) .ik-alert-tag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ik-surface-card); }
.alert.bad .ik-alert-tag::before, .ik-alert.bad .ik-alert-tag::before { background: var(--ik-danger); }
.alert.ok .ik-alert-tag::before, .ik-alert.ok .ik-alert-tag::before { background: var(--ik-verified); }
.alert.bad, .ik-alert.bad { border-width: 2px; padding: 13px 15px; }
@media (forced-colors: active) {
  .alert, .ik-alert { border: 1px solid CanvasText; }
  .ik-alert-tag { forced-color-adjust: none; color: Canvas; background: CanvasText; border-color: CanvasText; }
}

/* --------------------------------------------------------------- tables */
:where(table) { width: 100%; border-collapse: collapse; font-size: var(--ik-text-sm); }
:where(th, td) { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ik-line); }
:where(th) { font-size: var(--ik-text-xs); font-weight: 600; color: var(--ik-ink-muted); }
:where(thead th) { border-bottom-color: var(--ik-border); }
.num, .ik-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ik-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* On a phone a table with the ik-stack class becomes one card per row, each cell labelled from
   its data-label attribute. The headings stay in the page for screen readers. */
@media (max-width: 640px) {
  table.ik-stack, table.ik-stack tbody, table.ik-stack tr, table.ik-stack td { display: block; width: auto; }
  table.ik-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table.ik-stack tr { padding: var(--ik-space-3) 0; border-bottom: 1px solid var(--ik-line); }
  table.ik-stack td { padding: 2px 0; border: 0; overflow-wrap: anywhere; }
  table.ik-stack td[data-label]::before { content: attr(data-label) ": "; color: var(--ik-ink-muted); font-weight: 600; }
}

/* --------------------------------------------------------------- motion */
/* 0.01ms rather than 0, because a zero transition does not fire transitionend everywhere. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------- reveal once (0.14.0) */
/* The reveal set (impkt-web#51) for a page's own markup: what a page marks with data-reveal draws itself in once, as it
   is reached, when @atomic-ui/ui's startReveal marks it data-motion. Nothing here applies without that mark, so with no
   script and with reduced motion the page is as it was drawn. "type" types a mono label in: all its words are in the
   page from the start, and only how much of them shows changes. "drop" drops each child 12px into place, one after
   another. "count" counts the first number in its words up, drawn over the words, which stay the ones a screen reader
   reads. The blocks carry their own. */
[data-motion="armed"], [data-motion="armed"] > *, [data-motion="armed"]::after { animation-play-state: paused !important; }
[data-reveal~="type"][data-motion] { animation: ik-reveal-type var(--impakt-motion-reveal-type-duration, 240ms) var(--impakt-motion-reveal-arrive, cubic-bezier(0.22, 1, 0.36, 1)) var(--ik-reveal-delay, 0ms) both; }
[data-reveal~="drop"][data-motion] > * { animation: ik-reveal-drop var(--impakt-motion-reveal-drop-duration, 420ms) var(--impakt-motion-reveal-arrive, cubic-bezier(0.22, 1, 0.36, 1)) calc(var(--ik-reveal-delay, 0ms) + var(--ik-reveal-i, 0) * var(--impakt-motion-reveal-stagger, 60ms)) both; }
[data-ik-count][data-count] { position: relative; -webkit-text-fill-color: transparent; }
[data-ik-count][data-count]::after { content: attr(data-count); content: attr(data-count) / ""; position: absolute; inset: 0; -webkit-text-fill-color: currentColor; white-space: nowrap; pointer-events: none; }
@keyframes ik-reveal-type { from { clip-path: inset(-4px 100% -4px -4px); } to { clip-path: inset(-4px -4px -4px -4px); } }
@keyframes ik-reveal-drop { from { translate: 0 calc(-1 * var(--impakt-motion-reveal-drop-distance, 12px)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-motion], [data-motion] > * { animation: none !important; } }

/* --------------------------------------------------------------- header overflow (0.3.0) */
/* When the controls on the right are wide, the product name shortens with an ellipsis
   instead of running under them, and the controls stay on one row. */
.ik-brand { flex: 0 1 auto; overflow: hidden; }
.ik-brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ik-header > .ik-brand ~ * { flex: none; flex-wrap: nowrap; }

/* ============================================================ product patterns (0.4.0) */
/* The parts every AI tool needs so a customer who has never met Impakt knows what to do first,
   where they are in the job and what is left. Each is a class a product adds to plain markup. */

/* ---------------------------------------------------------------- page */
/* A main column at one of three widths. The content is 1200px wide, as the design's frames are; forms read
   best narrow, and a wide review screen gets a little more. */
.ik-main { max-width: calc(1200px + 2 * var(--ik-gutter)); margin: 0 auto; padding: var(--ik-space-6) var(--ik-gutter) var(--ik-space-12); }
.ik-main.narrow { max-width: 760px; }
.ik-main.wide { max-width: 1320px; }
@media (max-width: 640px) { .ik-main { padding-top: var(--ik-space-4); } }

/* The page header, in one column: an eyebrow or a back link, the title in display type with its status pill
   beside it, one line of facts, then the actions under the facts. Wrap the title and the pill in .ik-title to
   set them side by side. */
.ik-page-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: var(--ik-space-5); margin-bottom: var(--ik-space-6); }
.ik-page-head > :first-child { min-width: 0; }
.ik-page-head h1 {
  margin: 0; overflow-wrap: anywhere;
  font-size: var(--impakt-type-display-m-size, 3.25rem); font-weight: 600;
  line-height: var(--impakt-type-display-m-line-height, 1.04); letter-spacing: var(--impakt-type-display-m-tracking, -0.04em);
}
.ik-page-head .ik-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-3) var(--ik-space-4); }
.ik-eyebrow { display: block; margin: 0 0 var(--ik-space-3); font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
.ik-back { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ik-target-min); margin-bottom: var(--ik-space-3); font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; color: var(--ik-ink); text-decoration: none; }
.ik-back::before { content: "\2190"; }
.ik-back:hover { color: var(--ik-ink); text-decoration: underline; }
/* The facts are divided by a "·". Every fact carries one before it, pulled back into the gap, and the line clips what
   falls before its start, so a fact that wraps to a new line starts the line clean, with no dangling "·". */
.ik-facts { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: var(--ik-space-3) 0 0; padding: 0; list-style: none; overflow-x: clip; font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); line-height: 1.4; color: var(--ik-ink-muted); }
.ik-facts > * { margin-inline-start: -28px; }
.ik-facts > *::before { content: "\00B7"; display: inline-block; width: 28px; text-align: center; }
.ik-facts strong { color: var(--ik-ink-muted); font-weight: 400; }
.ik-page-head .ik-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-2); }

/* A row of actions. The one main action is .primary; the rest are outlines, and a .ik-sep
   pushes what follows to the far end, which is where a destructive action belongs. */
.ik-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-2); }
.ik-toolbar > .ik-sep { flex: 1 1 auto; }

/* ---------------------------------------------------------------- steps */
/* The stages of a job, in order, each numbered, with done, current and waiting told apart by
   the mark and by words, never by colour alone. Use an <ol> whose items hold a link or button,
   and aria-current="step" on the current one. */
/*
 * G2 stage stepper (33:471): a two-digit mono number and the stage's name, a soft rule under each stage that ends with
 * the last one, and the current stage underlined in ink. A done stage keeps a "√" before its number. A .ik-step-hint,
 * such as "5 of 9 sections", is read to a screen reader but not drawn; .ik-steps.hints draws it under the name.
 * On a narrow screen the stages wrap onto a second row, each with its own rule, so every stage shows.
 */
.ik-steps { display: flex; flex-wrap: wrap; gap: 0; width: max-content; max-width: 100%; margin: 0 0 var(--ik-space-5); padding: 0; list-style: none; counter-reset: ik-step; }
.ik-steps > li { flex: none; counter-increment: ik-step; border-bottom: 1px solid var(--ik-line-soft); }
.ik-steps > li > :where(a, button) {
  display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px;
  min-height: 44px; min-width: 0; padding: 14px 28px 14px 0; margin-bottom: -1px; text-align: left;
  font: 500 16px/1.2 var(--ik-font, inherit); color: var(--ik-ink-muted); text-decoration: none;
  background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none;
}
.ik-steps > li > :where(a, button)::before {
  content: counter(ik-step, decimal-leading-zero); font: 400 14px/1.4 var(--ik-font-mono, ui-monospace, monospace); color: var(--ik-ink-muted);
}
.ik-steps .ik-step-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ik-steps.hints .ik-step-hint { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; grid-column: 2; font-size: var(--ik-text-xs); font-weight: 400; color: var(--ik-ink-muted); }
/* A done stage keeps the kit's "√" before its number. The mark is decoration: say "done" in the item's words for a screen reader. */
.ik-steps > li.done > :where(a, button)::before { content: "\221A\00a0" counter(ik-step, decimal-leading-zero); color: var(--ik-ink); }
.ik-steps > li > [aria-current="step"], .ik-steps > li > [aria-selected="true"] { color: var(--ik-ink); border-bottom-color: var(--ik-ink); }
.ik-steps > li > [aria-current="step"]::before, .ik-steps > li > [aria-selected="true"]::before { color: var(--ik-ink); }
/* Pointing or clicking changes only the words, never the fill: the kit has no filled stage. */
.ik-steps > li > :where(a, button):hover:not(:disabled), .ik-steps > li > :where(a, button):active:not(:disabled) { color: var(--ik-ink); background: none; border-color: transparent; }
.ik-steps > li > :is([aria-current="step"], [aria-selected="true"]):is(:hover, :active) { border-bottom-color: var(--ik-ink); }
.ik-steps > li > :where(a, button):disabled, .ik-steps > li > [aria-disabled="true"] { opacity: 1; color: var(--ik-ink-muted); background: none; border-style: solid; border-color: transparent; }
.ik-steps > li > :focus-visible { outline: 2px solid var(--ik-ink); outline-offset: -2px; box-shadow: none; }
@media (max-width: 640px) {
  .ik-steps > li > :where(a, button) { padding-right: 20px; font-size: 14px; }
}
@media (forced-colors: active) { .ik-steps > li > [aria-current="step"] { border-bottom-color: CanvasText; } }

/* --------------------------------------------------------------- empty */
/* What a screen says before there is anything on it: what this place is for, and the one
   thing to do next. Never just "Nothing here". Its one column is never wider than the box, so a
   form or drop zone inside it wraps on a phone instead of pushing the page sideways. */
.ik-empty { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--ik-space-2); padding: var(--ik-space-10) var(--ik-space-6); text-align: center; background: var(--ik-surface-board); border: 1px dashed var(--ik-border); border-radius: var(--ik-radius-xl); }
.ik-empty::before { content: ""; width: 44px; height: 44px; margin-bottom: var(--ik-space-2); border: 1.5px solid var(--ik-ink); background: linear-gradient(var(--ik-ink), var(--ik-ink)) center / 12px 12px no-repeat; }
.ik-empty h2, .ik-empty h3 { margin: 0; font-size: var(--ik-text-lg); }
.ik-empty p { max-width: 46ch; margin: 0; color: var(--ik-ink-muted); }
.ik-empty .ik-toolbar { justify-content: center; margin-top: var(--ik-space-3); }

/* ----------------------------------------------------------- drop zone */
/* A file input laid over a large target, so a click, a tap, the keyboard and a dropped file
   all reach the real input. Put the input inside the label with the words beside it. */
.ik-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 28px 24px; text-align: center; font-family: var(--ik-font); font-weight: 400; color: var(--ik-ink); background: var(--ik-surface-subtle); border: 1px dashed var(--ik-ink); border-radius: var(--ik-radius-lg); cursor: pointer; transition: background-color var(--ik-duration-fast) var(--ik-ease-standard), border-color var(--ik-duration-fast) var(--ik-ease-standard); }
.ik-drop strong { font-size: var(--ik-text-md); font-weight: 500; line-height: 1.2; }
.ik-drop .ik-hint { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); color: var(--ik-ink-muted); }
/* A file held over it turns the edge solid and the fill a step darker. */
.ik-drop:hover, .ik-drop.over { background: var(--ik-brand-subtle); border-style: solid; border-color: var(--ik-ink); }
.ik-drop:has(input:focus-visible) { box-shadow: var(--ik-focus-ring); }
.ik-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ik-drop.compact { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: var(--ik-space-3) var(--ik-space-4); }

/* The files that were added, each with its name, its state in words and its own actions. */
.ik-files { margin: var(--ik-space-3) 0 0; padding: 0; list-style: none; }
.ik-files > li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-2) var(--ik-space-3); padding: var(--ik-space-2) 0; border-top: 1px solid var(--ik-line); }
.ik-files > li:first-child { border-top: 0; }
.ik-files .ik-file-name { flex: 1 1 200px; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ progress */
/* A long AI step: what it is doing, how far it has got when that is known, and a bar that moves. The G2 bar (33:495) is
   bare: an 8px ink fill on the soft track, square at both ends, with no box round it. The words above it are the quiet
   code-face meta. Without a value the bar sweeps; reduced motion keeps it still. */
.ik-progress { display: grid; gap: 8px; padding: 0; background: none; border-radius: 0; }
.ik-progress-label { display: flex; justify-content: space-between; gap: var(--ik-space-3); font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink); }
.ik-progress-label span:last-child { font-weight: 400; color: var(--ik-ink-muted); font-variant-numeric: tabular-nums; }
.ik-progress progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 0; background: var(--ik-line-soft); overflow: hidden; color: var(--ik-ink); }
.ik-progress progress::-webkit-progress-bar { background: var(--ik-line-soft); border-radius: 0; }
.ik-progress progress::-webkit-progress-value { background: var(--ik-ink); border-radius: 0; }
.ik-progress progress::-moz-progress-bar { background: var(--ik-ink); border-radius: 0; }
.ik-progress progress:indeterminate { background: linear-gradient(90deg, var(--ik-line-soft) 0 30%, var(--ik-ink) 30% 55%, var(--ik-line-soft) 55%) 0 0 / 200% 100%; animation: ik-sweep 1.4s linear infinite; }
.ik-progress progress:indeterminate::-webkit-progress-bar { background: transparent; }
@keyframes ik-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (forced-colors: active) { .ik-progress progress { border: 1px solid CanvasText; } }
/* A small turning ring for a button or a status word that is busy. */
.ik-spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ik-spin 0.8s linear infinite; vertical-align: -0.15em; }
@keyframes ik-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- prose */
/* What the model wrote, set for reading: full-size ink text, a comfortable line and measure,
   quotes from the source set apart, and sources quiet but findable. */
.ik-prose { max-width: 68ch; font-size: var(--ik-text-md); line-height: 1.65; color: var(--ik-ink); }
.ik-prose > * { margin: 0; }
.ik-prose > * + * { margin-top: 0.85em; }
.ik-prose :where(h2, h3, h4) { margin-top: 1.4em; }
.ik-prose :where(ul, ol) { padding-inline-start: 1.25em; }
.ik-prose li + li { margin-top: 0.35em; }
.ik-prose blockquote, .ik-quote { margin-inline: 0; padding: 2px 0 2px var(--ik-space-4); font-family: var(--ik-font); font-size: var(--ik-text-md); font-style: normal; line-height: 1.45; color: var(--ik-ink-muted); background: none; border-inline-start: 3px solid var(--ik-ink); border-radius: 0; quotes: "\201C" "\201D" "\2018" "\2019"; }
/*
 * Curly quotes round what was quoted (33:393, 39:678): one pair, then the source chip on its own line under the words.
 * The theme adds the marks, so write the words without them:
 *   - words held in a <p> (or several): the first opens the quote and the last closes it, and a chip after them sits
 *     outside the marks;
 *   - words straight in the quote, with no chip: the quote opens and closes round them;
 *   - words straight in the quote with a chip after them: the theme adds no marks, since it could only close the quote
 *     after the chip, so write the marks in the words, or hold the words in a <p>;
 *   - .has-marks: the words already carry their marks, so the theme adds none.
 */
:is(.ik-quote, .ik-prose blockquote):not(.has-marks):not(:has(> :is(p, .ik-source, impakt-source)))::before { content: open-quote; }
:is(.ik-quote, .ik-prose blockquote):not(.has-marks):not(:has(> :is(p, .ik-source, impakt-source)))::after { content: close-quote; }
:is(.ik-quote, .ik-prose blockquote):not(.has-marks) > p:first-of-type::before { content: open-quote; }
:is(.ik-quote, .ik-prose blockquote):not(.has-marks) > p:last-of-type::after { content: close-quote; }
.ik-quote > p { margin: 0; }
.ik-quote > p + p { margin-top: 0.6em; }
/* The source chip sits under the words, outside the marks. */
:is(.ik-quote, .ik-prose blockquote) > :where(impakt-source, .ik-source) { display: flex; width: fit-content; margin-top: 8px; }
.ik-list > li .ik-quote { margin-top: 12px; }
/* Where an answer came from: a page, an evidence file, a moment in a call or a rule. A small square chip in the code face,
   on the soft paper with an ink edge, as the kit draws it (33:393); in dark the soft surface is the dark soft grey. */
.ik-source { display: inline-flex; align-items: center; gap: 4px; padding: 1px 5px; font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-style: normal; font-weight: 500; line-height: 1.4; color: var(--ik-ink); background: var(--ik-surface-subtle); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-sm); text-decoration: none; white-space: nowrap; }
a.ik-source:hover, button.ik-source:hover { color: var(--ik-ink); text-decoration: underline; }
button.ik-source { min-height: 0; min-width: 0; padding: 1px 5px; font-size: var(--ik-text-xs); border: 1px solid var(--ik-ink); box-shadow: none; }

/* ------------------------------------------------------------- summary */
/* The few numbers a screen is about, such as a score, a total and a deadline, in a row of up to four tiles
   at the top. Each tile is a label, a big figure and a note, with a status pill under the note when the
   figure has a state. The pill carries the tone in words, so the tile's edge stays ink. */
.ik-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-bottom: var(--ik-space-6); }
.ik-stat { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 20px; background: var(--ik-surface-card); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-lg); box-shadow: none; }
.ik-stat-label { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
.ik-stat-value {
  font-size: var(--impakt-type-stat-size, 3.25rem); font-weight: 600;
  line-height: var(--impakt-type-stat-line-height, 1.04); letter-spacing: var(--impakt-type-stat-tracking, -0.04em);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.ik-stat-note { font-size: var(--ik-text-xs); line-height: 1.4; color: var(--ik-ink-muted); }
.ik-stat.ok, .ik-stat.warn, .ik-stat.bad { border-inline-start-width: 1px; }

/* Smaller tiles, two across beside a verdict: a smaller figure, and smaller still for a word such as "Conversion". */
.ik-summary.compact { --impakt-type-stat-size: 2.75rem; }
.ik-summary.compact > .word { --impakt-type-stat-size: 2rem; }
/* A meter, such as usage against a plan or words against a limit: a square ink fill on a soft track. */
.ik-meter { display: block; width: 100%; height: 8px; border-radius: var(--ik-radius-sm); background: var(--ik-line-soft); overflow: hidden; }
.ik-meter > span { display: block; height: 100%; width: var(--ik-meter, 0%); background: var(--ik-ink); border-radius: inherit; }
.ik-meter.warn > span, .ik-meter.bad > span { background: var(--ik-ink); }
@media (forced-colors: active) { .ik-meter { border: 1px solid CanvasText; } .ik-meter > span { forced-color-adjust: none; background: CanvasText; } }

/* --------------------------------------------------------------- split */
/* A list beside the item being worked on, as in a review queue. The side stays in view while
   the main column scrolls, and the two stack on a narrow screen. */
.ik-split { display: grid; grid-template-columns: minmax(260px, 372px) minmax(0, 1fr); gap: var(--ik-space-5); align-items: start; }
.ik-split > .ik-side { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
@media (max-width: 900px) { .ik-split { grid-template-columns: 1fr; } .ik-split > .ik-side { position: static; max-height: none; } }
/* The work on the left and what goes with it on the right, about two to one, as on an audit, a claim or a brief. The
   side is a column of cards that scrolls with the page. */
.ik-split.end { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 12px; align-items: stretch; margin-bottom: var(--ik-space-6); }
.ik-split.end > .ik-side { position: static; max-height: none; overflow: visible; }
.ik-split > * { min-width: 0; }
.ik-side { display: grid; align-content: start; gap: 12px; }
.ik-side > .ik-card, .ik-split > .ik-card { margin-bottom: 0; }
@media (max-width: 900px) { .ik-split.end { grid-template-columns: 1fr; } }
/* Two columns inside a card, such as an issue and its fix, that stack when there is no room. */
.ik-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--ik-space-6) var(--ik-space-8); align-items: start; }
.ik-cols > * { min-width: 0; }
.ik-cols > div:not([class]) > * { margin-block: 0 var(--ik-space-4); }
.ik-cols > div:not([class]) > :last-child { margin-bottom: 0; }
/* Columns set close, as cards are: the teardown's verdict beside its figures. */
.ik-cols.ik-gap-s { gap: 12px; margin-bottom: 12px; }
.ik-cols > .ik-card, .ik-cols > .ik-summary { margin: 0; }
/* Rows divided by soft rules under a card's heading: the fixes to make first, the people in an organisation. */
.ik-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ik-line-soft); }
/* A sentence the model wrote with where it came from beside it: the source chips, or a pill when nothing backs it. */
.ik-claim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--ik-space-2) var(--ik-space-4); align-items: start; }
.ik-claim > :last-child { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
/* A list of sources: a chip and what it points at. */
.ik-sources { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--ik-text-xs); }
.ik-sources > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* The blueprint grid behind a page with one job, such as signing in (36:381): soft rules every 112px on the paper. */
.ik-blueprint { background-color: var(--ik-surface-page); background-image: linear-gradient(var(--ik-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ik-line-soft) 1px, transparent 1px); background-size: 112px 112px; background-position: -1px -1px; }
@media (forced-colors: active) { .ik-blueprint { background-image: none; } }
/* A page with one job: the panels in the middle of the blueprint, well clear of the bar. */
.ik-stage { min-height: calc(100vh - 56px); padding: 96px var(--ik-gutter); }
@media (max-width: 640px) { .ik-stage { padding-block: var(--ik-space-6); } }
/* A card with more room inside, for a form or a list that is the whole page. */
.ik-card.ik-roomy { padding: 40px; }
@media (max-width: 640px) { .ik-card.ik-roomy { padding: var(--ik-space-6); } }
/* A heading in display type inside a card, such as "Sign in with your Impakt account". */
/* A display heading kept to a readable width. */
.ik-measure { max-width: 48rem; }
.ik-display { margin: 0 0 var(--ik-space-6); font-size: var(--impakt-type-display-m-size, 3.25rem); font-weight: 600; line-height: var(--impakt-type-display-m-line-height, 1.04); letter-spacing: var(--impakt-type-display-m-tracking, -0.04em); overflow-wrap: anywhere; }
/* The sentence under a heading, a size up from body text and muted. */
.ik-lead { margin: 0 0 var(--ik-space-6); font-size: var(--ik-text-lg); line-height: 1.4; color: var(--ik-ink-muted); }
.ik-lead.small { font-size: var(--ik-text-md); line-height: 1.5; }
.ik-lead.ink { color: var(--ik-ink); }
/* A form's fields and its button in one column. */
/* Each field keeps 16px under it, so the column adds 4px to make the 20px between fields. */
.ik-form { display: grid; gap: 4px; margin: 0 0 var(--ik-space-5); }
.ik-form > :last-child { margin-bottom: 0; }
/* The tools an account opens: each name large with its status at the end, divided by rules. */
.ik-tool-list { margin: var(--ik-space-6) 0 0; padding: 0; list-style: none; }
.ik-tool-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ik-space-2) var(--ik-space-4); padding-block: 14px; border-bottom: 1px solid var(--ik-line-soft); font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
.ik-card.ink .ik-tool-list > li { border-bottom-color: color-mix(in srgb, var(--ik-ink-inverse) 18%, transparent); }
.ik-card.ink :where(.ik-eyebrow, .muted, .ik-lead, .ik-mono) { color: color-mix(in srgb, var(--ik-ink-inverse) 72%, var(--ik-surface-inverse)); }
.ik-card.ink :where(.ik-list, .ik-list > li) { border-color: color-mix(in srgb, var(--ik-ink-inverse) 18%, transparent); }
/* Two panels side by side on the blueprint, a form and what it opens, that stack on a narrow screen. */
.ik-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 10px; max-width: 1080px; margin: 0 auto; }
.ik-pair > * { min-width: 0; margin: 0; }
/* A smaller figure, such as a fair share inside a claim. */
.ik-figure.small { font-size: var(--impakt-type-heading-s-size, 1.5rem); letter-spacing: -0.025em; }
/* The product elements keep the page's rhythm when they sit straight in the main column or a card. */
:where(.ik-main, .ik-card) > :where(impakt-alert, impakt-progress, impakt-accordion, impakt-score-bars, impakt-code-diff) { display: block; margin-bottom: var(--ik-space-6); }
:where(.ik-card) > :where(impakt-alert, impakt-accordion, impakt-score-bars):last-child { margin-bottom: 0; }
.ik-card > p:last-child, .ik-card > .ik-toolbar:last-child { margin-bottom: 0; }
/* A label in a row of controls sits on the row's centre line, not above it. */
.ik-toolbar > .ik-eyebrow { margin: 0; }
/* A soft strip inside a card, such as a fair share: one line, its parts in a row. */
.ik-card.inset.ik-toolbar { gap: 8px 12px; padding: 14px 16px; }
/* A note under a dialog's actions, on its own line. */
.ik-foot-note { flex-basis: 100%; margin: 0; }
/* A toolbar that heads a card's content keeps a gap under it. */
.ik-toolbar.ik-gap { margin-bottom: var(--ik-space-4); }
/* A column of cards with the grid's gap between them. A table with the class is the stacking table (see tables), so it
   keeps its table layout above a phone's width and fills its card (#68). */
:not(table).ik-stack { display: grid; align-content: start; gap: 12px; min-width: 0; }
.ik-stack > .ik-card { margin-bottom: 0; }
/* A toolbar with its first part at the start and the rest at the end. */
.ik-toolbar.ik-spread { justify-content: space-between; }
/* Rows stacked in a card under a toolbar, such as the documents in a review queue. */
.ik-rows { display: grid; margin-block: var(--ik-space-4); border-bottom: 1px solid var(--ik-line-soft); }
/* Rows in a card that are more than a title, such as a document with its status and action, or a redaction:
   the words on the left, the status and actions on the right, divided by soft rules. */
.ik-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ik-space-3) var(--ik-space-6); padding-block: 20px; border-bottom: 1px solid var(--ik-line-soft); }
.ik-list > li > * { min-width: 0; }
.ik-list > li > :first-child { flex: 1 1 10rem; }
.ik-list > li > :first-child > * { margin: 0; }
.ik-list > li > :first-child > * + * { margin-top: 6px; }
.ik-list > li :where(h3, h4):not(.ik-eyebrow) { margin: 0; font-size: var(--ik-text-xl); font-weight: 500; letter-spacing: -0.01em; }
.ik-list > li > .ik-toolbar { flex: 0 1 auto; }
.ik-list.plain { border-top: 0; }
.ik-list.compact > li { padding-block: 12px; }
.ik-list.compact > li > :first-child > * + * { margin-top: 2px; }
.ik-list + :where(.ik-toolbar, p) { margin-top: var(--ik-space-6); }
/* A card's own head: its kind and title on the left, its status and figure on the right. */
.ik-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--ik-space-3) var(--ik-space-4); margin-bottom: var(--ik-space-4); }
.ik-card-head > * { min-width: 0; }
.ik-card-head :where(h2, h3) { margin: 0; font-size: var(--impakt-type-heading-s-size, 1.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
.ik-card-head .ik-eyebrow { margin-bottom: 6px; }
/* Cards in a grid, three across on a wide screen, such as the tools on the account home. */
.ik-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 12px; margin-bottom: var(--ik-space-6); }
/* A heading for a part of a page, between the page title and a card's. */
.ik-heading.flush { margin: 0 0 var(--ik-space-4); }
.ik-heading { margin: var(--ik-space-8) 0 var(--ik-space-6); font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; }
/* Words in the code face, quiet: a price on a plan row, a key hint. */
.ik-mono { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
/* A list whose items start with a mark in the code face: a dash for a left-out point, a "?" for an open question. */
.ik-marks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ik-marks > li { display: grid; grid-template-columns: 1em minmax(0, 1fr); gap: 6px; }
.ik-marks > li::before { content: "\2013"; font-family: var(--ik-font-mono); color: var(--ik-ink-muted); }
.ik-marks.questions > li::before { content: "?"; }
/* A field and its button on one line, such as the address a teardown runs on. */
.ik-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; max-width: 42rem; margin: 0 0 var(--ik-space-6); }
.ik-inline-form > :first-child { flex: 1 1 20rem; min-width: 0; }
.ik-inline-form > * { margin-bottom: 0; }
/* A figure inside a card, smaller than a summary tile's, such as a self-score or an amount. */
.ik-figure { font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- account */
/* The account menu in the header: who is signed in, their plan, this month's usage and the
   links to billing and sign-out. Built on <details> so it opens without a script. */
.ik-account { position: relative; }
.ik-account > summary { display: inline-flex; align-items: center; gap: var(--ik-space-2); min-height: 40px; padding: 9px 14px; list-style: none; border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md); background: var(--ik-surface-card); color: var(--ik-ink); cursor: pointer; font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.2; }
.ik-account > summary::-webkit-details-marker { display: none; }
.ik-account > summary::after { content: "\25BE"; font-size: 0.75em; color: var(--ik-ink); }
/* The button names the organisation in words, so the avatar is not drawn in it. */
.ik-account > summary .ik-avatar { display: none; }
.ik-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: var(--ik-text-xs); font-weight: 700; color: var(--ik-ink); background: var(--ik-brand-subtle); }
.ik-account-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; width: min(300px, calc(100vw - 2 * var(--ik-gutter))); display: grid; gap: var(--ik-space-3); padding: var(--ik-space-4); background: var(--ik-surface-card); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-lg); box-shadow: var(--ik-shadow-overlay); }
.ik-account-panel a { font-size: var(--ik-text-sm); font-weight: 500; }
@media (max-width: 640px) { .ik-account > summary .ik-account-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* ------------------------------------------------------------ 0.9.0 patterns */

/* ------------------------------------------------------------ G2 patterns (0.12.0) */

/* --------------------------------------------------------------- impact */

/*
 * Impact, the motion and marks the Impakt tools share with weareimpakt.com (concept A): things land with weight,
 * stop and leave a mark, and yellow marks only what the user must act on.
 *
 * .ik-stamp     a state as a square mono stamp. .attn is yellow and means "this needs you"; .quiet is an outline
 *               for something finished or ended. The words always say the same as the colour.
 * .ik-rail      where something stands on a fixed run of steps (an <ol> with --n steps), with the current point
 *               filled: li.done, li.now and li.now.attn. .mini draws only the points, for a table cell. It is
 *               decoration beside words that say the same, so mark it aria-hidden.
 * .ik-strike    the accent printed behind a few words.
 * .ik-tally     a line of large counts, with .muted for the quiet ones.
 * .ik-due       a deadline as time left, with .attn when it needs the user.
 * .ik-bar       a share as a short bar: <span class="ik-bar"><i style="--p:0.4"></i></span>.
 *
 * A page's heading lands once (.ik-page-head and [data-ik-land]), rows of a list marked data-ik-rows drop in one
 * after another (--r gives a row's place), and buttons press down 2px. Only transform and opacity move, and nothing
 * moves under reduced motion.
 */
:root {
  --ik-arrive: cubic-bezier(0.22, 1, 0.36, 1);
  --ik-fall: cubic-bezier(0.55, 0, 1, 0.45);
}
:where(button, .ik-btn, a.ik-btn) {
  transition:
    transform 120ms var(--ik-arrive),
    background-color 160ms var(--ik-arrive);
}
:where(button, .ik-btn, a.ik-btn):active:not(:disabled) {
  transform: translateY(2px);
}

.ik-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font: 500 11.5px/1.3 var(--ik-font-mono, ui-monospace, monospace);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--ik-ink);
  color: var(--ik-surface-card);
}
.ik-stamp::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: currentColor;
}
.ik-stamp.attn {
  background: var(--ik-accent);
  color: var(--ik-on-accent);
}
.ik-stamp.quiet {
  background: transparent;
  color: var(--ik-ink);
  box-shadow: inset 0 0 0 1px var(--ik-ink);
}
.ik-stamp.quiet::before {
  background: transparent;
  box-shadow: inset 0 0 0 1px currentColor;
}

.ik-rail {
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  margin: var(--ik-space-4, 16px) 0 0;
  padding: 0;
  list-style: none;
}
.ik-rail li {
  position: relative;
  min-width: 0;
  padding: 22px 8px 0 0;
  font: 400 11.5px/1.3 var(--ik-font-mono, ui-monospace, monospace);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ik-ink-muted);
}
.ik-rail li::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid var(--ik-line-soft);
  background: var(--ik-surface-card);
}
.ik-rail li::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--ik-line-soft);
}
.ik-rail li:last-child::after {
  display: none;
}
.ik-rail li.done,
.ik-rail li.now {
  color: var(--ik-ink);
}
.ik-rail li.now {
  font-weight: 500;
}
.ik-rail li.done::before {
  border-color: var(--ik-ink);
  background: var(--ik-ink);
}
.ik-rail li.done::after {
  background: var(--ik-ink);
  transform-origin: 0 50%;
}
.ik-rail li.now::before {
  left: -2px;
  top: 0;
  width: 16px;
  height: 16px;
  border-color: var(--ik-ink);
  background: var(--ik-ink);
}
.ik-rail li.now.attn::before {
  background: var(--ik-accent);
}
.ik-rail.mini {
  width: 112px;
  margin: 6px 0 0;
}
.ik-rail.mini li {
  padding: 0;
  height: 14px;
  font-size: 0;
}
.ik-rail.mini li::before {
  width: 8px;
  height: 8px;
  top: 3px;
}
.ik-rail.mini li::after {
  left: 8px;
  top: 6px;
}
.ik-rail.mini li.now::before {
  width: 12px;
  height: 12px;
  top: 1px;
  left: -2px;
}

.ik-strike {
  position: relative;
  isolation: isolate;
  padding: 0 0.12em;
  color: var(--ik-on-accent);
}
.ik-strike::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0.08em 0 0;
  background: var(--ik-accent);
}

.ik-tally {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: var(--ik-space-3, 12px) 0 0;
  font: 600 clamp(1.4rem, 2.4vw, 2rem) / 1.1 var(--ik-font, inherit);
  letter-spacing: -0.03em;
}
.ik-tally .muted {
  color: var(--ik-ink-muted);
}
.ik-due {
  display: block;
  margin-top: 4px;
  font: 400 12px/1.3 var(--ik-font-mono, ui-monospace, monospace);
  color: var(--ik-ink-muted);
}
.ik-due.attn {
  color: var(--ik-ink);
  font-weight: 500;
}
.ik-bar {
  display: inline-block;
  vertical-align: middle;
  width: 72px;
  height: 8px;
  margin-right: 8px;
  background: var(--ik-line-soft);
}
.ik-bar i {
  display: block;
  height: 100%;
  background: var(--ik-ink);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

@media (prefers-reduced-motion: no-preference) {
  :is(.ik-page-head > h1, .ik-page-head > .ik-heading, .ik-page-head .ik-title > h1, [data-ik-land]) {
    transform-origin: 0 100%;
    animation: ik-land 560ms linear 60ms both;
  }
  .ik-strike::before {
    transform-origin: 50% 100%;
    animation: ik-print 280ms var(--ik-arrive) 520ms both;
  }
  [data-ik-rows] > * {
    animation: ik-drop 420ms var(--ik-arrive) calc(260ms + var(--r, 0) * 60ms) both;
  }
  .ik-rail li.done::after {
    animation: ik-fill 420ms var(--ik-arrive) calc(380ms + var(--i, 0) * 90ms) both;
  }
  .ik-rail li.now::before {
    animation: ik-print 280ms var(--ik-arrive) calc(420ms + var(--i, 0) * 90ms) both;
  }
  .ik-bar i {
    animation: ik-fill 640ms var(--ik-arrive) calc(320ms + var(--r, 0) * 60ms) both;
  }
}
@keyframes ik-land {
  0% {
    transform: translateY(-0.6em);
    opacity: 0.06;
    animation-timing-function: var(--ik-fall);
  }
  48% {
    transform: translateY(0) scale(1.03, 0.9);
    opacity: 1;
    animation-timing-function: var(--ik-arrive);
  }
  72% {
    transform: translateY(0) scale(0.995, 1.015);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes ik-print {
  0% {
    transform: scale(1.2, 1.35);
    opacity: 0;
  }
  35% {
    transform: scale(0.97, 0.94);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes ik-drop {
  from {
    transform: translateY(-10px);
    opacity: 0.06;
  }
}
@keyframes ik-fill {
  from {
    transform: scaleX(0);
  }
}
@media (forced-colors: active) {
  .ik-stamp,
  .ik-strike::before,
  .ik-rail li.now::before,
  .ik-rail li.done::before,
  .ik-bar i {
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
}
