@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Manrope:wght@500;600;700;800&display=swap');

/* Editorial Club appearance roles. See docs/DESIGN_SYSTEM.md. */
:root {
  color-scheme: light;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --brand-font: 'Manrope', Arial, sans-serif;
  --theme-canvas: #f5f0e5;
  --theme-surface: #fffaf0;
  --theme-soft: #e7e9df;
  --theme-glass: #fcf8ede8;
  --text-primary: #213b30;
  --text-secondary: #526354;
  --text-tertiary: #60705f;
  --theme-line: #253d3033;
  --theme-accent-text: #a4432c;
  --theme-primary-button: #234f3b;
  --theme-on-primary: #fcf5e6;
  --theme-success-text: #285a3c;
  --theme-success-fill: #e3eddc;
  --theme-error-text: #9d3827;
  --theme-error-fill: #f5e4d8;
  --theme-poster: #ae4f36;
  --theme-on-poster: #fff0d1;
  --theme-focus: #a4432c;
  --theme-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23213b30' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --theme-beginner-fill: #dfe8d9;
  --theme-beginner-text: #31523a;
  --theme-intermediate-fill: #e5e6df;
  --theme-intermediate-text: #48534b;
  --theme-hard-fill: #f0dfd0;
  --theme-hard-text: #7e422b;
  --theme-scrim: #15291fc2;
  --theme-shadow: 0 6px 22px #17291c08;
  --theme-font-size: 16px;
  --theme-panel-radius: 12px;
  --theme-pill-radius: 99px;
  /* Compatibility with the retained base stylesheet. */
  --paper: var(--theme-canvas);
  --white: var(--theme-surface);
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--theme-line);
  --green: var(--theme-primary-button);
  --green-dark: var(--theme-primary-button);
  --green-soft: var(--theme-soft);
  --coral: var(--theme-accent-text);
  --shadow: var(--theme-shadow);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --theme-canvas: #191e19;
  --theme-surface: #232a22;
  --theme-soft: #30392b;
  --theme-glass: #30392bed;
  --text-primary: #eeeddb;
  --text-secondary: #bec5b5;
  --text-tertiary: #aeb9a5;
  --theme-line: #e2e3c536;
  --theme-accent-text: #e6a380;
  --theme-primary-button: #dce884;
  --theme-on-primary: #263022;
  --theme-success-text: #c6dfb3;
  --theme-success-fill: #2f4029;
  --theme-error-text: #f0b69c;
  --theme-error-fill: #482e25;
  --theme-poster: #a9432e;
  --theme-on-poster: #fff0d1;
  --theme-focus: #e6a380;
  --theme-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23eeeddb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --theme-beginner-fill: #30452e;
  --theme-beginner-text: #c6dab8;
  --theme-intermediate-fill: #3b4139;
  --theme-intermediate-text: #d5dbcc;
  --theme-hard-fill: #4b352b;
  --theme-hard-text: #f0c2a4;
  --theme-scrim: #090f0bdb;
  --theme-shadow: 0 6px 22px #00000014;
}
