/* ==============================================================================
   PALETTES — one palette for the light mode and one for the dark mode,
   each person's choice (prompt 55, skill temas-por-color, path C: the old
   skins of skins.css became these palettes). <html> carries data-theme
   (auto, light, dark), data-skin-light and data-skin-dark, all three
   painted by the server on the first byte from the account's row or the
   skins cookie (internal/prefs).

   This sheet serves the public site and the admin's login, linked right
   after tokens.css. The portal and the admin's shell wear the portal's
   tokens and link portal/palettes.css instead; a palette here changes
   the accent with the rest. A palette redefines only colour tokens
   tokens.css and brand.css already declare (the bar's edge, «Pass» and
   the mark's play button among them, so a light bar keeps the logo
   readable), and every component sheet follows it with no change of its
   own. Spacing, radii, shadows and type are shared chrome and stay out,
   except calida's serif titles at the end, which apply only in light.

   Fourteen palettes since prompt 70, in the order of the appearance
   pages (prefs.Palettes): calida, shown as «AurisPass» and the default
   in both modes, then the eight of group A on the brand's orange and the
   five of group B with their own accent, each group in a region of its
   own.

   Each palette is written three times: :root[data-skin-light="x"] with
   its light values; :root[data-skin-dark="y"][data-theme="dark"] with its
   dark values when dark was chosen by hand; and the @media
   (prefers-color-scheme: dark) block, scoped to :not([data-theme="light"]),
   with its dark values when the OS asks for dark and nobody chose light.
   The light block is :root plus one attribute (0,2,0): it beats the plain
   :root of tokens.css, and its :root[data-theme="dark"] by coming later.
   Both dark blocks are :root plus two (0,3,0), so in dark the dark palette
   always wins. Because a light block also beats tokens.css's own dark
   block, every palette has its dark blocks, the default included, and every
   dark block declares every colour token any light block declares
   (internal/prefs/palettes_test.go). color-scheme: dark in both dark
   blocks gives dark scrollbars and form controls.

   The swatches of the appearance pages are prefs.Palettes in Go, the
   same page, paper, text and accent as here; palettes_test.go fails the
   moment the two drift apart. Contrast is read back in the browser by
   tests/e2e/contrast.spec.mjs for every palette in light, dark chosen and
   dark from the OS: text, muted text, accent and states at 4.5:1, control
   edge, focus ring and the mark on the bar at 3:1. Where a canvas value
   missed that, the value moved (said in its block) instead of the
   threshold.
   ============================================================================== */

/* --------------------------------------------------------------------------
   "calida" — AurisPass, its name on the appearance pages (palette.calida
   in ui.json), and the default in both modes since prompt 68
   (prefs.DefaultSkinLight and DefaultSkinDark), so whoever never chose
   sees it. The slug stays calida, so no row or cookie has to move. Warm
   paper tones from the old skin of skins.css; the tokens the skin left
   to tokens.css (the green, the states, the ink on the accent) are
   written out. Its serif titles are in the two rules at the end of the
   sheet, light only. In dark the control edge moves from #55442f
   (1.7:1) to #8f7a5f.
   Against the paper, light / dark: text 15.6 / 13.2:1, muted 5.3 / 6.7:1,
   accent 6.1 / 6.0:1, control edge 6.5 / 3.9:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="calida"] {
  --page-bg: #f7f1e8;
  --paper-bg: #fffaf3;
  --paper-secondary-bg: #f0e4d3;

  --text-primary: #2a1e12;
  --text-secondary: #4a3524;
  --text-muted: #7a6650;

  --border-color: #6b5842;
  --border-light: #e3d5c0;

  --accent-blue: #a0430f;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #3a2a1a;
  --action-bar-text: #fdf6ec;
  --action-bar-text-muted: rgba(253, 246, 236, 0.85);
  --action-bar-hover-bg: rgba(253, 246, 236, 0.12);
  --action-bar-active-bg: rgba(253, 246, 236, 0.18);

  --button-bg-hover: rgba(43, 29, 15, 0.06);

  /* The bar's edge, «Pass» and mark of the palettes of prompt 70, at the
     values of tokens.css and brand.css. */
  --action-bar-edge: #3a2a1a;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;
}

:root[data-skin-dark="calida"][data-theme="dark"] {
  --page-bg: #1f1712;
  --paper-bg: #2b2018;
  --paper-secondary-bg: #362a1f;

  --text-primary: #f3e9dc;
  --text-secondary: #e0d2c0;
  --text-muted: #b8a68f;

  --border-color: #8f7a5f;
  --border-light: #3a2d20;

  --accent-blue: #e08a3c;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1f1712;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #120c08;
  --action-bar-text: #f3e9dc;
  --action-bar-text-muted: rgba(243, 233, 220, 0.85);
  --action-bar-hover-bg: rgba(255, 255, 255, 0.08);
  --action-bar-active-bg: rgba(255, 255, 255, 0.14);

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  /* The bar's edge, «Pass» and mark of the palettes of prompt 70, at the
     values of tokens.css and brand.css, so none of their light blocks
     shows through in dark. */
  --action-bar-edge: #120c08;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="calida"]:not([data-theme="light"]) {
    --page-bg: #1f1712;
    --paper-bg: #2b2018;
    --paper-secondary-bg: #362a1f;

    --text-primary: #f3e9dc;
    --text-secondary: #e0d2c0;
    --text-muted: #b8a68f;

    --border-color: #8f7a5f;
    --border-light: #3a2d20;

    --accent-blue: #e08a3c;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1f1712;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #120c08;
    --action-bar-text: #f3e9dc;
    --action-bar-text-muted: rgba(243, 233, 220, 0.85);
    --action-bar-hover-bg: rgba(255, 255, 255, 0.08);
    --action-bar-active-bg: rgba(255, 255, 255, 0.14);

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    /* The bar's edge, «Pass» and mark of the palettes of prompt 70, at the
       values of tokens.css and brand.css, so none of their light blocks
       shows through in dark. */
    --action-bar-edge: #120c08;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    color-scheme: dark;
  }
}

/* ==========================================================================
   GROUP A — the eight palettes of prompt 70 on the brand's orange, with
   the values of the canvas of prompt 69 and of portal/palettes.css: the
   same page, paper, text, borders and bar. Here the accent is the
   orange of the portal's links, so a link and a primary button read on
   every paper, with white ink on the deep oranges of light and the
   palette's ink on the light oranges of dark. The title faces are the
   portal's alone. Group B goes after this region and never inside it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   "tinta" (A1, «Tinta y crema» on the canvas of prompt 69).
   Cream paper, and both bars in the ink blue of the brand, so the orange
   reads as it does in the logo.
   Light / dark: text 16.6 / 13.5, accent on the paper 5.3 / 6.3, bar 12.5 /
   15.9, play of the mark on the bar 3.7 / 4.9.
   -------------------------------------------------------------------------- */
:root[data-skin-light="tinta"] {
  --page-bg: #f5eedf;
  --paper-bg: #fffaf1;
  --paper-secondary-bg: #fdf0e4;

  --text-primary: #22190f;
  --text-secondary: #46392a;
  --text-muted: #6b5c49;

  --border-color: #7a6a55;
  --border-light: #e6dac6;

  --accent-blue: #a5502c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #1B2A41;
  --action-bar-text: #f5eedf;
  --action-bar-text-muted: #c9d0db;
  --action-bar-hover-bg: rgba(245, 238, 223, 0.1);
  --action-bar-active-bg: rgba(245, 238, 223, 0.16);
  --action-bar-edge: #1B2A41;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(34, 25, 15, 0.06);
}

:root[data-skin-dark="tinta"][data-theme="dark"] {
  --page-bg: #10161f;
  --paper-bg: #18212e;
  --paper-secondary-bg: #2c2c33;

  --text-primary: #f1e9dc;
  --text-secondary: #d9cfbf;
  --text-muted: #a99f90;

  --border-color: #6f7e95;
  --border-light: #263142;

  --accent-blue: #e58a63;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #0a0f16;
  --action-bar-text: #f1e9dc;
  --action-bar-text-muted: #b9c2cf;
  --action-bar-hover-bg: rgba(241, 233, 220, 0.1);
  --action-bar-active-bg: rgba(241, 233, 220, 0.16);
  --action-bar-edge: #0a0f16;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="tinta"]:not([data-theme="light"]) {
    --page-bg: #10161f;
    --paper-bg: #18212e;
    --paper-secondary-bg: #2c2c33;

    --text-primary: #f1e9dc;
    --text-secondary: #d9cfbf;
    --text-muted: #a99f90;

    --border-color: #6f7e95;
    --border-light: #263142;

    --accent-blue: #e58a63;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #0a0f16;
    --action-bar-text: #f1e9dc;
    --action-bar-text-muted: #b9c2cf;
    --action-bar-hover-bg: rgba(241, 233, 220, 0.1);
    --action-bar-active-bg: rgba(241, 233, 220, 0.16);
    --action-bar-edge: #0a0f16;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "pizarra" (A2, «Pizarra» on the canvas of prompt 69).
   Cold slate: a dark bar over a light tinted menu; the table head and the
   alternate rows take slate, not orange.
   Light / dark: text 16.3 / 11.9, accent on the paper 6.6 / 6.8, bar 11.1 /
   15.2, play of the mark on the bar 3.1 / 4.6.
   -------------------------------------------------------------------------- */
:root[data-skin-light="pizarra"] {
  --page-bg: #dde2e7;
  --paper-bg: #f7f9fa;
  --paper-secondary-bg: #e5e8e9;

  --text-primary: #161c22;
  --text-secondary: #303a44;
  --text-muted: #4f5b67;

  --border-color: #56626e;
  --border-light: #cfd6dd;

  --accent-blue: #8f4322;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #2c3742;
  --action-bar-text: #f2f5f7;
  --action-bar-text-muted: #c3ccd5;
  --action-bar-hover-bg: rgba(242, 245, 247, 0.1);
  --action-bar-active-bg: rgba(242, 245, 247, 0.16);
  --action-bar-edge: #2c3742;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(22, 28, 34, 0.06);
}

:root[data-skin-dark="pizarra"][data-theme="dark"] {
  --page-bg: #1b2128;
  --paper-bg: #242c34;
  --paper-secondary-bg: #303840;

  --text-primary: #e8ecef;
  --text-secondary: #c9d1d8;
  --text-muted: #9ba6b1;

  --border-color: #74818e;
  --border-light: #323c46;

  --accent-blue: #f0a07c;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #12171c;
  --action-bar-text: #e8ecef;
  --action-bar-text-muted: #aab4be;
  --action-bar-hover-bg: rgba(232, 236, 239, 0.1);
  --action-bar-active-bg: rgba(232, 236, 239, 0.16);
  --action-bar-edge: #12171c;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="pizarra"]:not([data-theme="light"]) {
    --page-bg: #1b2128;
    --paper-bg: #242c34;
    --paper-secondary-bg: #303840;

    --text-primary: #e8ecef;
    --text-secondary: #c9d1d8;
    --text-muted: #9ba6b1;

    --border-color: #74818e;
    --border-light: #323c46;

    --accent-blue: #f0a07c;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #12171c;
    --action-bar-text: #e8ecef;
    --action-bar-text-muted: #aab4be;
    --action-bar-hover-bg: rgba(232, 236, 239, 0.1);
    --action-bar-active-bg: rgba(232, 236, 239, 0.16);
    --action-bar-edge: #12171c;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "azulnoche" (A3, «Azul noche» on the canvas of prompt 69).
   A navy bar and menu in both modes; in dark everything is night and the
   orange is the only light.
   Light / dark: text 17.4 / 14.2, accent on the paper 5.6 / 6.6, bar 14.7 /
   16.5, play of the mark on the bar 4.1 / 5.0.
   -------------------------------------------------------------------------- */
:root[data-skin-light="azulnoche"] {
  --page-bg: #e7ebf3;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #f1f2f3;

  --text-primary: #0f1a2e;
  --text-secondary: #2a3650;
  --text-muted: #4f5d78;

  --border-color: #4f5d78;
  --border-light: #d6dce8;

  --accent-blue: #a5502c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #14213d;
  --action-bar-text: #f3f6fb;
  --action-bar-text-muted: #c2cbe0;
  --action-bar-hover-bg: rgba(243, 246, 251, 0.1);
  --action-bar-active-bg: rgba(243, 246, 251, 0.16);
  --action-bar-edge: #14213d;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(15, 26, 46, 0.06);
}

:root[data-skin-dark="azulnoche"][data-theme="dark"] {
  --page-bg: #0b1222;
  --paper-bg: #121c33;
  --paper-secondary-bg: #1c263e;

  --text-primary: #e6ebf5;
  --text-secondary: #c3cce0;
  --text-muted: #94a2bf;

  --border-color: #64759b;
  --border-light: #1e2a45;

  --accent-blue: #e58a63;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #060b16;
  --action-bar-text: #e6ebf5;
  --action-bar-text-muted: #b3bed4;
  --action-bar-hover-bg: rgba(230, 235, 245, 0.1);
  --action-bar-active-bg: rgba(230, 235, 245, 0.16);
  --action-bar-edge: #060b16;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="azulnoche"]:not([data-theme="light"]) {
    --page-bg: #0b1222;
    --paper-bg: #121c33;
    --paper-secondary-bg: #1c263e;

    --text-primary: #e6ebf5;
    --text-secondary: #c3cce0;
    --text-muted: #94a2bf;

    --border-color: #64759b;
    --border-light: #1e2a45;

    --accent-blue: #e58a63;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #060b16;
    --action-bar-text: #e6ebf5;
    --action-bar-text-muted: #b3bed4;
    --action-bar-hover-bg: rgba(230, 235, 245, 0.1);
    --action-bar-active-bg: rgba(230, 235, 245, 0.16);
    --action-bar-edge: #060b16;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "duna" (A5, «Arena de duna» on the canvas of prompt 69).
   Sand everywhere, light bars and densely tinted cards, titles in a
   monospace like a data sheet.
   Light / dark: text 13.4 / 11.3, accent on the paper 6.1 / 6.2, bar 10.8 /
   11.7, play of the mark on the bar 3.8 / 3.6.
   -------------------------------------------------------------------------- */
:root[data-skin-light="duna"] {
  --page-bg: #efe5cc;
  --paper-bg: #f5eeda;
  --paper-secondary-bg: #eadec1;

  --text-primary: #2a2312;
  --text-secondary: #463c22;
  --text-muted: #5a5030;

  --border-color: #6b603c;
  --border-light: #ddd0ae;

  --accent-blue: #8f4322;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #e4d6b2;
  --action-bar-text: #2a2312;
  --action-bar-text-muted: #4f4628;
  --action-bar-hover-bg: rgba(42, 35, 18, 0.1);
  --action-bar-active-bg: rgba(42, 35, 18, 0.16);
  --action-bar-edge: #d3c296;
  --action-bar-pass: #a5502c;
  --action-bar-mark: #a5502c;

  --button-bg-hover: rgba(42, 35, 18, 0.06);
}

:root[data-skin-dark="duna"][data-theme="dark"] {
  --page-bg: #1c1810;
  --paper-bg: #332c21;
  --paper-secondary-bg: #483f2d;

  --text-primary: #f1e8d2;
  --text-secondary: #dbd0b4;
  --text-muted: #b2a785;

  --border-color: #8a7f5e;
  --border-light: #3a3226;

  --accent-blue: #eb9a76;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #302a1d;
  --action-bar-text: #f1e8d2;
  --action-bar-text-muted: #cfc4a6;
  --action-bar-hover-bg: rgba(241, 232, 210, 0.1);
  --action-bar-active-bg: rgba(241, 232, 210, 0.16);
  --action-bar-edge: #302a1d;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="duna"]:not([data-theme="light"]) {
    --page-bg: #1c1810;
    --paper-bg: #332c21;
    --paper-secondary-bg: #483f2d;

    --text-primary: #f1e8d2;
    --text-secondary: #dbd0b4;
    --text-muted: #b2a785;

    --border-color: #8a7f5e;
    --border-light: #3a3226;

    --accent-blue: #eb9a76;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #302a1d;
    --action-bar-text: #f1e8d2;
    --action-bar-text-muted: #cfc4a6;
    --action-bar-hover-bg: rgba(241, 232, 210, 0.1);
    --action-bar-active-bg: rgba(241, 232, 210, 0.16);
    --action-bar-edge: #302a1d;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "blanco" (A6, «Blanco puro» on the canvas of prompt 69).
   Untinted white with thin lines in light, a neutral near-black in dark; the
   quietest, only the orange has colour.
   Light / dark: text 18.9 / 15.5, accent on the paper 5.6 / 7.0, bar 18.9 /
   16.5, play of the mark on the bar 3.9 / 4.9.
   -------------------------------------------------------------------------- */
:root[data-skin-light="blanco"] {
  --page-bg: #ffffff;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #ffffff;

  --text-primary: #111111;
  --text-secondary: #333333;
  --text-muted: #5f5f5f;

  --border-color: #6b6b6b;
  --border-light: #e6e6e6;

  --accent-blue: #a5502c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #ffffff;
  --action-bar-text: #111111;
  --action-bar-text-muted: #5f5f5f;
  --action-bar-hover-bg: rgba(17, 17, 17, 0.1);
  --action-bar-active-bg: rgba(17, 17, 17, 0.16);
  --action-bar-edge: #C8643B;
  --action-bar-pass: #C8643B;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(17, 17, 17, 0.06);
}

:root[data-skin-dark="blanco"][data-theme="dark"] {
  --page-bg: #0e0e0e;
  --paper-bg: #161616;
  --paper-secondary-bg: #161616;

  --text-primary: #ededed;
  --text-secondary: #cfcfcf;
  --text-muted: #a3a3a3;

  --border-color: #7a7a7a;
  --border-light: #262626;

  --accent-blue: #e58a63;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #0e0e0e;
  --action-bar-text: #ededed;
  --action-bar-text-muted: #a3a3a3;
  --action-bar-hover-bg: rgba(237, 237, 237, 0.1);
  --action-bar-active-bg: rgba(237, 237, 237, 0.16);
  --action-bar-edge: #e58a63;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="blanco"]:not([data-theme="light"]) {
    --page-bg: #0e0e0e;
    --paper-bg: #161616;
    --paper-secondary-bg: #161616;

    --text-primary: #ededed;
    --text-secondary: #cfcfcf;
    --text-muted: #a3a3a3;

    --border-color: #7a7a7a;
    --border-light: #262626;

    --accent-blue: #e58a63;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #0e0e0e;
    --action-bar-text: #ededed;
    --action-bar-text-muted: #a3a3a3;
    --action-bar-hover-bg: rgba(237, 237, 237, 0.1);
    --action-bar-active-bg: rgba(237, 237, 237, 0.16);
    --action-bar-edge: #e58a63;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "barranaranja" (A7, «Barra naranja» on the canvas of prompt 69).
   The top bar is the brand orange in both modes and the menu wears its wash;
   the mark turns to the ink.
   Light / dark: text 17.8 / 14.3, accent on the paper 5.6 / 6.6, bar 5.6 /
   5.6, play of the mark on the bar 5.6 / 5.6.
   -------------------------------------------------------------------------- */
:root[data-skin-light="barranaranja"] {
  --page-bg: #f3efec;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #fcf2ee;

  --text-primary: #1c1714;
  --text-secondary: #3b332d;
  --text-muted: #5f554d;

  --border-color: #6d625a;
  --border-light: #e7dfd8;

  --accent-blue: #a5502c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #e58a63;
  --action-bar-text: #1B2A41;
  --action-bar-text-muted: #1f2e46;
  --action-bar-hover-bg: rgba(27, 42, 65, 0.1);
  --action-bar-active-bg: rgba(27, 42, 65, 0.16);
  --action-bar-edge: #e58a63;
  --action-bar-pass: #1B2A41;
  --action-bar-mark: #1B2A41;

  --button-bg-hover: rgba(28, 23, 20, 0.06);
}

:root[data-skin-dark="barranaranja"][data-theme="dark"] {
  --page-bg: #17120f;
  --paper-bg: #221a16;
  --paper-secondary-bg: #39271f;

  --text-primary: #f3e9e2;
  --text-secondary: #dccfc6;
  --text-muted: #ad9d92;

  --border-color: #86766a;
  --border-light: #33281f;

  --accent-blue: #e58a63;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1B2A41;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #e58a63;
  --action-bar-text: #1B2A41;
  --action-bar-text-muted: #1f2e46;
  --action-bar-hover-bg: rgba(27, 42, 65, 0.1);
  --action-bar-active-bg: rgba(27, 42, 65, 0.16);
  --action-bar-edge: #e58a63;
  --action-bar-pass: #1B2A41;
  --action-bar-mark: #1B2A41;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="barranaranja"]:not([data-theme="light"]) {
    --page-bg: #17120f;
    --paper-bg: #221a16;
    --paper-secondary-bg: #39271f;

    --text-primary: #f3e9e2;
    --text-secondary: #dccfc6;
    --text-muted: #ad9d92;

    --border-color: #86766a;
    --border-light: #33281f;

    --accent-blue: #e58a63;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1B2A41;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #e58a63;
    --action-bar-text: #1B2A41;
    --action-bar-text-muted: #1f2e46;
    --action-bar-hover-bg: rgba(27, 42, 65, 0.1);
    --action-bar-active-bg: rgba(27, 42, 65, 0.16);
    --action-bar-edge: #e58a63;
    --action-bar-pass: #1B2A41;
    --action-bar-mark: #1B2A41;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "estudio" (A8, «Estudio» on the canvas of prompt 69).
   From AvavaStation (Waveloom): old paper in light, studio black in dark,
   the active entry black with the orange lit like an «on air» light.
   Light / dark: text 17.3 / 15.0, accent on the paper 5.2 / 6.7, bar 16.0 /
   17.2, play of the mark on the bar 4.7 / 5.0.
   -------------------------------------------------------------------------- */
:root[data-skin-light="estudio"] {
  --page-bg: #f2efe9;
  --paper-bg: #faf8f4;
  --paper-secondary-bg: #edebe7;

  --text-primary: #141416;
  --text-secondary: #34322e;
  --text-muted: #5d5a53;

  --border-color: #6e6c64;
  --border-light: #e2ddd3;

  --accent-blue: #a5502c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #141416;
  --action-bar-text: #f2efe9;
  --action-bar-text-muted: #bdb9b0;
  --action-bar-hover-bg: rgba(242, 239, 233, 0.1);
  --action-bar-active-bg: rgba(242, 239, 233, 0.16);
  --action-bar-edge: #141416;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(20, 20, 22, 0.06);
}

:root[data-skin-dark="estudio"][data-theme="dark"] {
  --page-bg: #141416;
  --paper-bg: #1b1b1e;
  --paper-secondary-bg: #262628;

  --text-primary: #f2efe9;
  --text-secondary: #d4d0c8;
  --text-muted: #a3a096;

  --border-color: #7a776e;
  --border-light: #2a2a2e;

  --accent-blue: #e58a63;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #141416;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #0a0a0b;
  --action-bar-text: #f2efe9;
  --action-bar-text-muted: #bdb9b0;
  --action-bar-hover-bg: rgba(242, 239, 233, 0.1);
  --action-bar-active-bg: rgba(242, 239, 233, 0.16);
  --action-bar-edge: #0a0a0b;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="estudio"]:not([data-theme="light"]) {
    --page-bg: #141416;
    --paper-bg: #1b1b1e;
    --paper-secondary-bg: #262628;

    --text-primary: #f2efe9;
    --text-secondary: #d4d0c8;
    --text-muted: #a3a096;

    --border-color: #7a776e;
    --border-light: #2a2a2e;

    --accent-blue: #e58a63;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #141416;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #0a0a0b;
    --action-bar-text: #f2efe9;
    --action-bar-text-muted: #bdb9b0;
    --action-bar-hover-bg: rgba(242, 239, 233, 0.1);
    --action-bar-active-bg: rgba(242, 239, 233, 0.16);
    --action-bar-edge: #0a0a0b;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "maxcontraste" (A9, «Contraste máximo» on the canvas of prompt 69).
   Black and white; the orange only as a fill with black ink on it, and the
   links in a very deep orange.
   Light / dark: text 21.0 / 21.0, accent on the paper 7.6 / 10.0, bar 21.0 /
   21.0, play of the mark on the bar 5.3 / 5.3.
   -------------------------------------------------------------------------- */
:root[data-skin-light="maxcontraste"] {
  --page-bg: #ffffff;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #ffffff;

  --text-primary: #000000;
  --text-secondary: #000000;
  --text-muted: #2b2b2b;

  --border-color: #000000;
  --border-light: #000000;

  --accent-blue: #8a3d17;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #000000;
  --action-bar-text: #ffffff;
  --action-bar-text-muted: #e6e6e6;
  --action-bar-hover-bg: rgba(255, 255, 255, 0.1);
  --action-bar-active-bg: rgba(255, 255, 255, 0.16);
  --action-bar-edge: #000000;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(0, 0, 0, 0.06);
}

:root[data-skin-dark="maxcontraste"][data-theme="dark"] {
  --page-bg: #000000;
  --paper-bg: #000000;
  --paper-secondary-bg: #000000;

  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #d6d6d6;

  --border-color: #ffffff;
  --border-light: #ffffff;

  --accent-blue: #f0a07c;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #000000;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #000000;
  --action-bar-text: #ffffff;
  --action-bar-text-muted: #e6e6e6;
  --action-bar-hover-bg: rgba(255, 255, 255, 0.1);
  --action-bar-active-bg: rgba(255, 255, 255, 0.16);
  --action-bar-edge: #ffffff;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="maxcontraste"]:not([data-theme="light"]) {
    --page-bg: #000000;
    --paper-bg: #000000;
    --paper-secondary-bg: #000000;

    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #d6d6d6;

    --border-color: #ffffff;
    --border-light: #ffffff;

    --accent-blue: #f0a07c;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #000000;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #000000;
    --action-bar-text: #ffffff;
    --action-bar-text-muted: #e6e6e6;
    --action-bar-hover-bg: rgba(255, 255, 255, 0.1);
    --action-bar-active-bg: rgba(255, 255, 255, 0.16);
    --action-bar-edge: #ffffff;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* ------------------------------------------------------------ end of group A */

/* --------------------------------------------------------------------------
   calida's serif titles: a type token, not a colour, so it is not in the
   palette's blocks. data-skin-light is always on <html>, so a bare
   [data-skin-light="calida"] would bring the serif to dark too; these two
   rules apply it only while the light palette is the one painted: light
   chosen, or the OS in light with dark not chosen. A visitor of the old
   skin=calida had the serif in both modes and keeps it in light.
   -------------------------------------------------------------------------- */
:root[data-skin-light="calida"][data-theme="light"] {
  --font-title: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
}

@media (prefers-color-scheme: light) {
  :root[data-skin-light="calida"]:not([data-theme="dark"]) {
    --font-title: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  }
}

/* >>> group B ==================================================================
   GROUP B — the five palettes with an accent of their own (prompt 70,
   chosen by Juan on the canvas of prompt 69): pulse, upcube, furnitor,
   ciruelab and petroleo, here for the public site and the admin's login.
   Everything from here to the end marker is theirs.

   In this sheet every palette changes the accent, so a B palette's
   accent is in its three blocks like any other: --accent-blue is the
   canvas's link colour, the one that reads 4.5:1 on paper, with
   --accent-contrast on it for a primary button. The danger red and the
   success green are those of every other palette. The title faces are
   the portal's alone, as in group A.
   ============================================================================== */

/* --------------------------------------------------------------------------
   "pulse" — Pulse HUD, B1 of the portal's canvas: the ink blue of a
   dashboard with neon green as the accent, #0b7a3e on paper in light so
   it reads, the neon #3ee88f in dark. The header is the HUD's blue in
   both modes. Titles in Chakra Petch 600.
   Against the paper, light / dark: text 18.2 / 12.7:1, muted 6.3 / 5.8:1,
   accent 5.4 / 9.3:1, button 5.4 / 11.6:1, control edge 5.5 / 3.5:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="pulse"] {
  --page-bg: #f3f5f7;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #edfcf4;

  --text-primary: #10161d;
  --text-secondary: #2b3640;
  --text-muted: #55626e;

  --border-color: #5f6b76;
  --border-light: #dde3e8;

  --accent-blue: #0b7a3e;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #1d2835;
  --action-bar-text: #e9f0f5;
  --action-bar-text-muted: #a8b7c4;
  --action-bar-hover-bg: rgba(233, 240, 245, 0.12);
  --action-bar-active-bg: rgba(233, 240, 245, 0.18);
  --action-bar-edge: #1d2835;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(16, 22, 29, 0.06);
}

:root[data-skin-dark="pulse"][data-theme="dark"] {
  --page-bg: #161f29;
  --paper-bg: #1d2835;
  --paper-secondary-bg: #1d363a;

  --text-primary: #e6eef4;
  --text-secondary: #c0cacf;
  --text-muted: #93a3b0;

  --border-color: #6a7e8f;
  --border-light: #2c3a47;

  --accent-blue: #3ee88f;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #04170c;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #111820;
  --action-bar-text: #e6eef4;
  --action-bar-text-muted: #a8b7c4;
  --action-bar-hover-bg: rgba(230, 238, 244, 0.12);
  --action-bar-active-bg: rgba(230, 238, 244, 0.18);
  --action-bar-edge: #111820;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="pulse"]:not([data-theme="light"]) {
    --page-bg: #161f29;
    --paper-bg: #1d2835;
    --paper-secondary-bg: #1d363a;

    --text-primary: #e6eef4;
    --text-secondary: #c0cacf;
    --text-muted: #93a3b0;

    --border-color: #6a7e8f;
    --border-light: #2c3a47;

    --accent-blue: #3ee88f;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #04170c;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #111820;
    --action-bar-text: #e6eef4;
    --action-bar-text-muted: #a8b7c4;
    --action-bar-hover-bg: rgba(230, 238, 244, 0.12);
    --action-bar-active-bg: rgba(230, 238, 244, 0.18);
    --action-bar-edge: #111820;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "upcube" — Upcube, B2: an admin panel's grey-blue grounds, a white
   header in light with AurisPass in the terracotta, and the darker sky
   blue #0a6aa6 as the accent (#5cbff8 in dark). Titles in Nunito 800.
   Against the paper, light / dark: text 14.1 / 11.5:1, muted 6.0 / 5.6:1,
   accent 5.8 / 6.9:1, button 5.8 / 7.9:1, control edge 4.6 / 3.7:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="upcube"] {
  --page-bg: #eff3f6;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #eef8fe;

  --text-primary: #252b3b;
  --text-secondary: #3e4659;
  --text-muted: #58637a;

  --border-color: #6b7589;
  --border-light: #e3e8ee;

  --accent-blue: #0a6aa6;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #ffffff;
  --action-bar-text: #252b3b;
  --action-bar-text-muted: #58637a;
  --action-bar-hover-bg: rgba(37, 43, 59, 0.1);
  --action-bar-active-bg: rgba(37, 43, 59, 0.16);
  --action-bar-edge: #e3e8ee;
  --action-bar-pass: #C8643B;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(37, 43, 59, 0.06);
}

:root[data-skin-dark="upcube"][data-theme="dark"] {
  --page-bg: #1d222e;
  --paper-bg: #252b3b;
  --paper-secondary-bg: #23344a;

  --text-primary: #e3e8f0;
  --text-secondary: #c4ccd9;
  --text-muted: #9aa4b8;

  --border-color: #78839a;
  --border-light: #2f3647;

  --accent-blue: #5cbff8;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #08223a;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #252b3b;
  --action-bar-text: #e3e8f0;
  --action-bar-text-muted: #b3bccc;
  --action-bar-hover-bg: rgba(227, 232, 240, 0.12);
  --action-bar-active-bg: rgba(227, 232, 240, 0.18);
  --action-bar-edge: #252b3b;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="upcube"]:not([data-theme="light"]) {
    --page-bg: #1d222e;
    --paper-bg: #252b3b;
    --paper-secondary-bg: #23344a;

    --text-primary: #e3e8f0;
    --text-secondary: #c4ccd9;
    --text-muted: #9aa4b8;

    --border-color: #78839a;
    --border-light: #2f3647;

    --accent-blue: #5cbff8;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #08223a;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #252b3b;
    --action-bar-text: #e3e8f0;
    --action-bar-text-muted: #b3bccc;
    --action-bar-hover-bg: rgba(227, 232, 240, 0.12);
    --action-bar-active-bg: rgba(227, 232, 240, 0.18);
    --action-bar-edge: #252b3b;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "furnitor" — Furnitor, B3: the white and beige of a furniture
   catalogue with walnut as the accent, white header in light. In dark
   the walnut lightens to #dcaa83. Titles in Poppins 500.
   Against the paper, light / dark: text 15.4 / 13.5:1, muted 6.0 / 6.4:1,
   accent 6.8 / 7.8:1, button 6.8 / 8.5:1, control edge 5.2 / 3.9:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="furnitor"] {
  --page-bg: #f5f1ed;
  --paper-bg: #ffffff;
  --paper-secondary-bg: #f3efeb;

  --text-primary: #212529;
  --text-secondary: #343a40;
  --text-muted: #5f6368;

  --border-color: #6d6d6d;
  --border-light: #ece4de;

  --accent-blue: #7a5236;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #ffffff;
  --action-bar-text: #212529;
  --action-bar-text-muted: #5f6368;
  --action-bar-hover-bg: rgba(33, 37, 41, 0.1);
  --action-bar-active-bg: rgba(33, 37, 41, 0.16);
  --action-bar-edge: #ece4de;
  --action-bar-pass: #C8643B;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(33, 37, 41, 0.06);
}

:root[data-skin-dark="furnitor"][data-theme="dark"] {
  --page-bg: #1a1816;
  --paper-bg: #23201d;
  --paper-secondary-bg: #302c28;

  --text-primary: #efe9e3;
  --text-secondary: #d6cec6;
  --text-muted: #aaa197;

  --border-color: #857b70;
  --border-light: #34302b;

  --accent-blue: #dcaa83;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1a1816;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #1a1816;
  --action-bar-text: #efe9e3;
  --action-bar-text-muted: #bdb3a8;
  --action-bar-hover-bg: rgba(239, 233, 227, 0.12);
  --action-bar-active-bg: rgba(239, 233, 227, 0.18);
  --action-bar-edge: #34302b;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="furnitor"]:not([data-theme="light"]) {
    --page-bg: #1a1816;
    --paper-bg: #23201d;
    --paper-secondary-bg: #302c28;

    --text-primary: #efe9e3;
    --text-secondary: #d6cec6;
    --text-muted: #aaa197;

    --border-color: #857b70;
    --border-light: #34302b;

    --accent-blue: #dcaa83;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1a1816;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #1a1816;
    --action-bar-text: #efe9e3;
    --action-bar-text-muted: #bdb3a8;
    --action-bar-hover-bg: rgba(239, 233, 227, 0.12);
    --action-bar-active-bg: rgba(239, 233, 227, 0.18);
    --action-bar-edge: #34302b;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "ciruelab" — Ciruela, B4 (the slug ciruelab, since prompt 68's
   ciruela left): lilac grounds, an aubergine header and an intense plum
   as the accent, lightened to #d2a3df in dark. Titles in Fraunces 600
   italic.
   Against the paper, light / dark: text 15.6 / 13.5:1, muted 6.7 / 6.5:1,
   accent 6.7 / 7.9:1, button 7.2 / 8.7:1, control edge 6.0 / 3.7:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="ciruelab"] {
  --page-bg: #f3edf4;
  --paper-bg: #fbf5fc;
  --paper-secondary-bg: #efe5f2;

  --text-primary: #2a1630;
  --text-secondary: #45304b;
  --text-muted: #66506c;

  --border-color: #6e5675;
  --border-light: #e5d9e8;

  --accent-blue: #7b3f8c;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #2a1630;
  --action-bar-text: #fbf5fc;
  --action-bar-text-muted: #d9c6dc;
  --action-bar-hover-bg: rgba(251, 245, 252, 0.12);
  --action-bar-active-bg: rgba(251, 245, 252, 0.18);
  --action-bar-edge: #2a1630;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(42, 22, 48, 0.06);
}

:root[data-skin-dark="ciruelab"][data-theme="dark"] {
  --page-bg: #160e18;
  --paper-bg: #261a2f;
  --paper-secondary-bg: #35253e;

  --text-primary: #f1e4f3;
  --text-secondary: #dac8de;
  --text-muted: #b39bb9;

  --border-color: #8a6f90;
  --border-light: #33233a;

  --accent-blue: #d2a3df;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #1f0f24;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #0c070d;
  --action-bar-text: #f1e4f3;
  --action-bar-text-muted: #cdb6d2;
  --action-bar-hover-bg: rgba(241, 228, 243, 0.12);
  --action-bar-active-bg: rgba(241, 228, 243, 0.18);
  --action-bar-edge: #0c070d;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="ciruelab"]:not([data-theme="light"]) {
    --page-bg: #160e18;
    --paper-bg: #261a2f;
    --paper-secondary-bg: #35253e;

    --text-primary: #f1e4f3;
    --text-secondary: #dac8de;
    --text-muted: #b39bb9;

    --border-color: #8a6f90;
    --border-light: #33233a;

    --accent-blue: #d2a3df;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #1f0f24;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #0c070d;
    --action-bar-text: #f1e4f3;
    --action-bar-text-muted: #cdb6d2;
    --action-bar-hover-bg: rgba(241, 228, 243, 0.12);
    --action-bar-active-bg: rgba(241, 228, 243, 0.18);
    --action-bar-edge: #0c070d;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   "petroleo" — Petróleo, B5: the petrol blue of Waveloom's «Wave»
   skins, on a petrol header and green-water grounds; in dark the petrol
   lightens to #7fc2d2. On the petrol header of light AurisPass's play
   and «Pass» take the light orange #f0a07c, as the terracotta reads
   2.1:1 there. Titles in Georgia bold italic, a system face.
   Against the paper, light / dark: text 15.8 / 13.2:1, muted 6.7 / 6.7:1,
   accent 7.8 / 8.0:1, button 8.2 / 8.5:1, control edge 5.9 / 3.8:1.
   -------------------------------------------------------------------------- */
:root[data-skin-light="petroleo"] {
  --page-bg: #e3edef;
  --paper-bg: #f7fbfb;
  --paper-secondary-bg: #e1e9ea;

  --text-primary: #0f2226;
  --text-secondary: #24393e;
  --text-muted: #445d62;

  --border-color: #4b666c;
  --border-light: #cfdfe2;

  --accent-blue: #2d5465;
  --accent-green: #27ae60;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #ffffff;

  --color-danger: #b3261e;
  --color-success: #1b6e36;

  --action-bar-bg: #2d5465;
  --action-bar-text: #f0f8fa;
  --action-bar-text-muted: #c9dde2;
  --action-bar-hover-bg: rgba(240, 248, 250, 0.12);
  --action-bar-active-bg: rgba(240, 248, 250, 0.18);
  --action-bar-edge: #2d5465;
  --action-bar-pass: #f0a07c;
  --action-bar-mark: #f0a07c;

  --button-bg-hover: rgba(15, 34, 38, 0.06);
}

:root[data-skin-dark="petroleo"][data-theme="dark"] {
  --page-bg: #0b171a;
  --paper-bg: #132428;
  --paper-secondary-bg: #1c3238;

  --text-primary: #dcecef;
  --text-secondary: #bfd5da;
  --text-muted: #91adb4;

  --border-color: #5f8088;
  --border-light: #1f363c;

  --accent-blue: #7fc2d2;
  --accent-green: #2ecc71;
  --focus-ring: var(--accent-blue);
  --accent-contrast: #062027;

  --color-danger: #f2b8b5;
  --color-success: #8fd6a4;

  --action-bar-bg: #0f2a31;
  --action-bar-text: #dcecef;
  --action-bar-text-muted: #b2cdd3;
  --action-bar-hover-bg: rgba(220, 236, 239, 0.12);
  --action-bar-active-bg: rgba(220, 236, 239, 0.18);
  --action-bar-edge: #0f2a31;
  --action-bar-pass: #e58a63;
  --action-bar-mark: #C8643B;

  --button-bg-hover: rgba(255, 255, 255, 0.06);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-skin-dark="petroleo"]:not([data-theme="light"]) {
    --page-bg: #0b171a;
    --paper-bg: #132428;
    --paper-secondary-bg: #1c3238;

    --text-primary: #dcecef;
    --text-secondary: #bfd5da;
    --text-muted: #91adb4;

    --border-color: #5f8088;
    --border-light: #1f363c;

    --accent-blue: #7fc2d2;
    --accent-green: #2ecc71;
    --focus-ring: var(--accent-blue);
    --accent-contrast: #062027;

    --color-danger: #f2b8b5;
    --color-success: #8fd6a4;

    --action-bar-bg: #0f2a31;
    --action-bar-text: #dcecef;
    --action-bar-text-muted: #b2cdd3;
    --action-bar-hover-bg: rgba(220, 236, 239, 0.12);
    --action-bar-active-bg: rgba(220, 236, 239, 0.18);
    --action-bar-edge: #0f2a31;
    --action-bar-pass: #e58a63;
    --action-bar-mark: #C8643B;

    --button-bg-hover: rgba(255, 255, 255, 0.06);

    color-scheme: dark;
  }
}
/* <<< group B */
