/* Shared look of every page (wizard, review, editor): a dark theme in neutral greys with the Inter font.
   The pages use only these tokens. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/inter-latin.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; }

:root {
  color-scheme: dark;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Neutral greys, darkest first: page → section → card → field → hover → selected. */
  --bg: #1c1c1e;
  --panel: #252527;
  --panel-glass: rgba(37, 37, 39, 0.96);
  --card: #2c2c2e;
  --card-alt: #29292b;
  --soft: #333336;
  --hover: #3a3a3d;
  --selected: #444447;
  --track: #3a3a3d;
  /* Lines. */
  --line: #48484b;
  --line-soft: #38383b;
  --line-strong: #6a6a6e;
  /* Text. */
  --text: #f2f2f3;
  --text-strong: #ffffff;
  --label: #d0d0d4;
  --muted: #a0a0a5;
  --faint: #6e6e73;
  --on-color: #161617;
  /* Neutral primary actions and keyboard focus; selected controls use the green tokens. */
  --accent: #e4e4e7;
  --accent-hover: #f4f4f5;
  --on-accent: #1c1c1e;
  --accent-text: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.07);
  --accent-pill: rgba(255, 255, 255, 0.14);
  --accent-line: #8e8e93;
  --focus: #a8a8ad;
  --focus-ring: rgba(255, 255, 255, 0.16);
  --brand: #e4e4e7;
  --danger: #b5483f;
  /* Colour only where it carries meaning: done, warning, error. Green and red text keeps at least 4.5:1
     on every surface it is used on, including its own soft row and pill (worst case 4.75:1). */
  --green: #7dd19c;
  --green-hover: #91d8ab;
  --green-soft: rgba(125, 209, 156, 0.08);
  --green-pill: rgba(125, 209, 156, 0.14);
  --green-line: rgba(125, 209, 156, 0.45);
  --yellow: #e8c768;
  --yellow-soft: rgba(232, 199, 104, 0.08);
  --yellow-pill: rgba(232, 199, 104, 0.14);
  --yellow-line: rgba(232, 199, 104, 0.45);
  --warn: #d6a06f;
  --warn-soft: rgba(214, 160, 111, 0.1);
  --warn-line: rgba(214, 160, 111, 0.45);
  --red: #f4938b;
  --red-soft: rgba(244, 147, 139, 0.08);
  --red-pill: rgba(244, 147, 139, 0.12);
  --red-line: rgba(244, 147, 139, 0.45);
  /* Depth. */
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 14px 40px rgba(0, 0, 0, 0.5);
  --overlay: rgba(10, 10, 11, 0.72);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a0a0a5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Scrollbars that do not glare on the dark surfaces. */
* { scrollbar-color: var(--line) transparent; }

.product-home { display:inline-flex; align-items:center; gap:7px; }
.product-home img { flex:none; }
