/* Core skin: the approved Plumera palette and the semantic roles that use it.
   The thirteen palette values below are the only color values on the site;
   tools/site_builder/skins.py checks them against the approved list.
   A language pack may reassign semantic roles in languages/{slug}/skin.css, using
   palette tokens only. It may not redefine the palette or add tokens. */

:root {
  /* Palette */
  --color-white: #FFFFFF;
  --color-canvas: #F4F3EF;
  --color-ink: #293230;
  --color-secondary: #606967;
  --color-accent: #A0ABA7;
  --color-french: #D1DCDA;
  --color-spanish: #E2D9D2;
  --color-limestone: #E5DFD3;
  --color-sage: #D6DDD0;
  --color-violet: #DDD8E3;
  --color-ochre: #E6D9BC;
  --color-slate: #D3DCE3;
  --color-sand: #DED0BE;

  /* Surfaces and text */
  --color-surface: var(--color-white);
  --color-surface-muted: var(--color-canvas);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-secondary);
  /* Disabled controls and unavailable choices; exempt from text contrast minimums. */
  --color-text-disabled: var(--color-accent);

  /* Lines: decorative rules, light row dividers, and control boundaries */
  --color-rule: var(--color-accent);
  --color-hairline: var(--color-canvas);
  --color-control-line: var(--color-secondary);
  --color-focus: var(--color-ink);

  /* Selected controls (filters, active audio, voice tabs) */
  --color-selected: var(--color-ink);
  --color-on-selected: var(--color-white);

  /* Components */
  --color-scrim: var(--color-ink);
  --color-cefr-background: var(--color-violet);
  --color-learn-background: var(--color-sage);
  --color-usage-note-background: var(--color-sage);
  --color-pattern-background: var(--color-violet);
  --color-complete-background: var(--color-sage);
  --color-related-background: var(--color-sage);
  --color-lang-switch-background: var(--color-canvas);
  --color-lang-switch-active: var(--color-french);
  --color-search-panel: var(--color-french);
  --color-date-heading: var(--color-french);

  /* Masks: geometry only. The visible color comes from background-color. */
  --image-audio-speaker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 9v6h3.2L12 19V5L7.2 9H4z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' d='M16 9.2a4 4 0 0 1 0 5.6M18.4 7a7 7 0 0 1 0 10'/%3E%3C/svg%3E");
  --image-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --image-listen-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
