/*
  The only file a designer must open. Every colour, size, space, font and
  radius the application uses is a custom property here; every other
  stylesheet refers to these and holds no values of its own. A theme is a
  second copy of this file with other values (themes/contrast.css).

  Palette from the layout proposal (docs/specs/active/ui-layout-proposal.md):
  a starting point, not a brand.
*/
:root {
  /* Colour */
  --zm-color-ink: #182535;
  --zm-color-ink-soft: #3d536d;
  --zm-color-ink-muted: #56636f;  /* AA (>= 4.5:1) on every surface, the danger surface included */
  --zm-color-topbar-ink: #ffffff;
  --zm-color-accent: #1a6d77;  /* AA as text on the sunken and selected surfaces */
  --zm-color-accent-soft: #4ab7c3;
  --zm-color-accent-ink: #ffffff;
  --zm-color-surface: #ffffff;
  --zm-color-surface-sunken: #f4f7f8;
  --zm-color-surface-selected: #ecf8f9;
  --zm-color-surface-topbar: #182535;
  --zm-color-border: #d5dde3;
  --zm-color-border-strong: #7c8a99;
  --zm-color-danger: #b3261e;
  --zm-color-danger-surface: #fbe7e5;
  --zm-color-notice-surface: #ecf8f9;
  --zm-color-focus: #1a6d77;
  --zm-color-live: #2e7d32;
  --zm-color-cache: #c66a00;
  --zm-color-scrim: rgb(24 37 53 / 0.12);  /* beside an open drawer */

  /* Type */
  --zm-font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --zm-font-size-small: 0.8125rem;
  --zm-font-size-body: 0.9375rem;
  --zm-font-size-subtitle: 1rem;
  --zm-font-size-title: 1.125rem;
  --zm-font-size-display: 1.5rem;
  --zm-font-weight-normal: 400;
  --zm-font-weight-strong: 600;
  --zm-line-height: 1.45;
  --zm-letter-spacing-kicker: 0.06em;

  /* Space */
  --zm-space-1: 0.25rem;
  --zm-space-2: 0.5rem;
  --zm-space-3: 0.75rem;
  --zm-space-4: 1rem;
  --zm-space-5: 1.5rem;
  --zm-space-6: 2rem;

  /* Shape */
  --zm-radius: 0.375rem;
  --zm-radius-pill: 999rem;
  --zm-border-width: 1px;
  --zm-focus-width: 2px;
  --zm-marker-width: 3px;
  --zm-opacity-inert: 0.55;
  --zm-size-light: 0.625rem;
  --zm-size-icon: 1.25rem;
  --zm-shadow-drawer: 0 0 1.5rem rgb(24 37 53 / 0.25);

  /* Motion: a drawer opening, and the slide between stages */
  --zm-duration-slide: 200ms;
  --zm-duration-stage: 420ms;

  /* Layout: the four columns of the screen, a stage at a time (Fase); the
     dossier and the result share what is left. */
  --zm-width-steps: 15rem;
  --zm-width-list: 16rem;  /* the three filter toggles on one line */
  --zm-width-drawer: 22rem;  /* a folded column opened over the screen */
  --zm-width-signin: 24rem;
  --zm-width-number: 2rem;
  --zm-width-search: 26rem;
  --zm-height-topbar: 3rem;
  --zm-width-rail: 3rem;
  --zm-width-keuze: 40rem;
  --zm-size-knop: 2rem;

  /* Layers: the top bar, and with it the search's list, over the columns and
     their drawers (Lade) */
  --zm-layer-popup: 4;
}
