/* Moss — cool, flat.
 * Olive and fern. A green that is desaturated enough to sit behind text, which is rare for green, and a clay tertiary that stops the whole thing turning institutional.
 * Where: Gardens, sustainability, slow long-form. It is the least tiring palette in the set over an hour.
 * GENERATED by _build/build.mjs from _build/palettes.json. Edit the seed, not this. */

:root{
  /* Material 3 roles */
  --primary:oklch(42% 0.088 146);
  --on-primary:oklch(99% 0.0088 146);
  --primary-container:oklch(91% 0.0229 146);
  --on-primary-container:oklch(24% 0.0792 146);
  --secondary:oklch(45% 0.05 118);
  --on-secondary:oklch(99% 0.005 118);
  --secondary-container:oklch(92% 0.013 118);
  --on-secondary-container:oklch(25% 0.045 118);
  --tertiary:oklch(46% 0.075 48);
  --on-tertiary:oklch(99% 0.0075 48);
  --tertiary-container:oklch(92% 0.0195 48);
  --on-tertiary-container:oklch(25% 0.0675 48);
  --error:oklch(42% 0.17 25);
  --on-error:oklch(99% 0.017 25);
  --error-container:oklch(91% 0.0442 25);
  --on-error-container:oklch(24% 0.153 25);

  /* status roles, generated from this palette's own seed. Hue anchors near 150,
     85 and 240 so the role is recognisable in all sixteen; chroma and lightness
     come from the palette, so a warm palette's success is a warm green. Every
     --on-X here measured at or above 4.5:1 on its --X, light and dark. */
  --success:oklch(42% 0.1181 149.2);
  --on-success:oklch(99% 0.0122 149.2);
  --success-container:oklch(91% 0.0317 149.2);
  --on-success-container:oklch(24% 0.0679 149.2);
  --caution:oklch(42% 0.0863 84.2);
  --on-caution:oklch(99% 0.0102 84.2);
  --caution-container:oklch(91% 0.0324 84.2);
  --on-caution-container:oklch(24% 0.0498 84.2);
  --info:oklch(42% 0.0951 239.2);
  --on-info:oklch(99% 0.0053 239.2);
  --info-container:oklch(91% 0.0341 239.2);
  --on-info-container:oklch(24% 0.0547 239.2);

  --surface:oklch(98% 0.013 132);
  --surface-dim:oklch(88% 0.0182 132);
  --surface-bright:oklch(99.5% 0.0078 132);
  --surface-container-lowest:oklch(100% 0 132);
  --surface-container-low:oklch(97% 0.0143 132);
  --surface-container:oklch(95.5% 0.0169 132);
  --surface-container-high:oklch(93% 0.0195 132);
  --surface-container-highest:oklch(90.5% 0.0221 132);
  --on-surface:oklch(22% 0.0286 132);
  --on-surface-variant:oklch(42% 0.026 132);
  --outline:oklch(56% 0.0208 132);
  --outline-variant:oklch(82% 0.0182 132);
  --inverse-surface:oklch(24% 0.0208 132);
  --inverse-on-surface:oklch(95% 0.0104 132);

  /* the eight group hues. One meaning each, never decoration. */
  --h1:oklch(48% 0.098 146);
  --h2:oklch(48% 0.098 104);
  --h3:oklch(48% 0.098 48);
  --h4:oklch(48% 0.098 196);
  --h5:oklch(48% 0.098 268);
  --h6:oklch(48% 0.098 24);
  --h7:oklch(48% 0.098 324);
  --h8:oklch(48% 0.098 172);

  /* MAGNITUDE. The eight hues above are categorical — they say which, never how
     much. These two scales say how much, and the L channel is stepped evenly in
     oklch so the steps are even to an eye instead of even in hex.
     Sequential: step 1 is the low end and sits nearest the page, so the ramp
     runs light to dark in this mode and the other way in dark — a scale whose
     bright end was the zero would read upside down on a dark surface. */
  --seq-1:oklch(94% 0.0327 146);
  --seq-2:oklch(85% 0.0454 146);
  --seq-3:oklch(76% 0.0582 146);
  --seq-4:oklch(67% 0.0709 146);
  --seq-5:oklch(58% 0.0836 146);
  --seq-6:oklch(49% 0.0963 146);
  --seq-7:oklch(40% 0.109 146);

  /* Diverging. --div-mid is the zero point and carries no chroma at all: a middle
     with a hue in it makes every reader read the sign of zero wrongly. The two
     arms are interleaved onto one even lightness ramp rather than mirrored,
     because a mirrored diverging scale cannot survive greyscale — neg-1 and pos-1
     would desaturate to the same grey. Each arm still darkens with magnitude. */
  --div-neg-3:oklch(39% 0.1294 24.2);
  --div-neg-2:oklch(57% 0.1056 24.2);
  --div-neg-1:oklch(75% 0.0819 24.2);
  --div-mid:oklch(93% 0 132);
  --div-pos-1:oklch(84% 0.0761 149.2);
  --div-pos-2:oklch(66% 0.0981 149.2);
  --div-pos-3:oklch(48% 0.1201 149.2);

  /* library aliases — every system stylesheet names these, not the roles above,
     so one palette swap moves the whole set. */
  --paper:var(--surface); --card:var(--surface-container-lowest); --sunk:var(--surface-container-high);
  --ink:var(--on-surface); --muted:var(--on-surface-variant); --rule:var(--outline-variant);
  --accent:var(--primary); --accent-soft:var(--primary-container); --on-accent:var(--on-primary);
  --on-accent-soft:var(--on-primary-container);
  --bar:var(--inverse-surface); --on-bar:var(--inverse-on-surface);
  --on-bar-dim:oklch(70% 0.0208 132);
  --bar-line:oklch(52% 0.0208 132);

  --glass-fill:color-mix(in srgb, var(--surface-container-low) 88%, transparent);
  --glass-blur:0px;
  --surface-style:flat;

  --e1:0 1px 2px rgba(26,26,23,.07), 0 0 6px rgba(26,26,23,.04), 0 2px 6px -1px rgba(26,26,23,.08);
  --e2:0 1px 3px rgba(26,26,23,.07), 0 0 14px rgba(26,26,23,.06), 0 8px 18px -5px rgba(26,26,23,.13);
  --e3:0 2px 5px rgba(26,26,23,.07), 0 0 20px rgba(26,26,23,.07), 0 16px 30px -8px rgba(26,26,23,.18);
  --e4:0 3px 8px rgba(26,26,23,.09), 0 0 30px rgba(26,26,23,.08), 0 26px 50px -12px rgba(26,26,23,.24);
  --e-bar:inset 0 1px 0 rgba(255,255,255,.16), 0 2px 4px rgba(26,26,23,.2), 0 12px 26px -8px rgba(26,26,23,.34);
  --e-in:inset 0 1px 3px rgba(26,26,23,.07);
  color-scheme:light;

  /* THE STATE LAYER. A hover is not a different colour, it is a translucent film
     of the foreground laid over the background — so the token is an opacity, and it
     works on surfaces nobody has designed yet. Identical in all sixteen palettes:
     these are a convention, not a colour choice, which is why they are declared
     once here and have no dark-mode counterpart.
     Use them as   color-mix(in oklch, var(--on-primary)
                     calc(var(--state-hover) * 100%), var(--primary))
     and never as a literal. in oklch, not srgb: the same 8% film has to read the
     same weight over a near-white surface and a near-black one.
     One exception, load-bearing: never leave a film on something carrying body
     text at rest. A translucent layer gets its own compositor layer, Windows drops
     ClearType sub-pixel anti-aliasing on it, and the text goes soft. Put the film
     on an empty sibling behind the text, or apply it only during the interaction. */
  --state-hover: 0.08;
  --state-focus: 0.12;
  --state-press: 0.12;
  --state-drag: 0.16;
  --state-disabled-fg: 0.38;   /* opacity of text on a disabled control */
  --state-disabled-bg: 0.12;   /* opacity of its container */
}

@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  /* Material 3 roles */
  --primary:oklch(80% 0.081 146);
  --on-primary:oklch(20% 0.0968 146);
  --primary-container:oklch(36% 0.0836 146);
  --on-primary-container:oklch(90% 0.037 146);
  --secondary:oklch(80% 0.046 118);
  --on-secondary:oklch(21% 0.055 118);
  --secondary-container:oklch(34% 0.0475 118);
  --on-secondary-container:oklch(90% 0.021 118);
  --tertiary:oklch(80% 0.069 48);
  --on-tertiary:oklch(21% 0.0825 48);
  --tertiary-container:oklch(34% 0.0712 48);
  --on-tertiary-container:oklch(90% 0.0315 48);
  --error:oklch(80% 0.1564 25);
  --on-error:oklch(20% 0.187 25);
  --error-container:oklch(36% 0.1615 25);
  --on-error-container:oklch(90% 0.0714 25);

  /* status roles, generated from this palette's own seed. Hue anchors near 150,
     85 and 240 so the role is recognisable in all sixteen; chroma and lightness
     come from the palette, so a warm palette's success is a warm green. Every
     --on-X here measured at or above 4.5:1 on its --X, light and dark. */
  --success:oklch(80% 0.1122 149.2);
  --on-success:oklch(20% 0.0569 149.2);
  --success-container:oklch(36% 0.1013 149.2);
  --on-success-container:oklch(90% 0.0512 149.2);
  --caution:oklch(80% 0.1148 84.2);
  --on-caution:oklch(20% 0.0418 84.2);
  --caution-container:oklch(36% 0.0741 84.2);
  --on-caution-container:oklch(90% 0.0524 84.2);
  --info:oklch(80% 0.1136 239.2);
  --on-info:oklch(20% 0.0459 239.2);
  --info-container:oklch(36% 0.0816 239.2);
  --on-info-container:oklch(90% 0.0547 239.2);

  --surface:oklch(14% 0.0208 132);
  --surface-dim:oklch(11% 0.0208 132);
  --surface-bright:oklch(29% 0.0234 132);
  --surface-container-lowest:oklch(9% 0.0182 132);
  --surface-container-low:oklch(17% 0.0221 132);
  --surface-container:oklch(19.5% 0.0234 132);
  --surface-container-high:oklch(23% 0.026 132);
  --surface-container-highest:oklch(27% 0.0286 132);
  --on-surface:oklch(90% 0.0156 132);
  --on-surface-variant:oklch(74% 0.0234 132);
  --outline:oklch(58% 0.0234 132);
  --outline-variant:oklch(34% 0.0234 132);
  --inverse-surface:oklch(90% 0.013 132);
  --inverse-on-surface:oklch(22% 0.0182 132);

  /* the eight group hues. One meaning each, never decoration. */
  --h1:oklch(79% 0.112 146);
  --h2:oklch(79% 0.112 104);
  --h3:oklch(79% 0.112 48);
  --h4:oklch(79% 0.112 196);
  --h5:oklch(79% 0.112 268);
  --h6:oklch(79% 0.112 24);
  --h7:oklch(79% 0.112 324);
  --h8:oklch(79% 0.112 172);

  /* MAGNITUDE. The eight hues above are categorical — they say which, never how
     much. These two scales say how much, and the L channel is stepped evenly in
     oklch so the steps are even to an eye instead of even in hex.
     Sequential: step 1 is the low end and sits nearest the page, so the ramp
     runs dark to light in this mode and the other way in light — a scale whose
     bright end was the zero would read upside down on a dark surface. */
  --seq-1:oklch(20% 0.0352 146);
  --seq-2:oklch(29% 0.0466 146);
  --seq-3:oklch(38% 0.058 146);
  --seq-4:oklch(47% 0.0693 146);
  --seq-5:oklch(56% 0.0807 146);
  --seq-6:oklch(65% 0.0921 146);
  --seq-7:oklch(74% 0.1035 146);

  /* Diverging. --div-mid is the zero point and carries no chroma at all: a middle
     with a hue in it makes every reader read the sign of zero wrongly. The two
     arms are interleaved onto one even lightness ramp rather than mirrored,
     because a mirrored diverging scale cannot survive greyscale — neg-1 and pos-1
     would desaturate to the same grey. Each arm still darkens with magnitude. */
  --div-neg-3:oklch(74% 0.1155 24.2);
  --div-neg-2:oklch(56% 0.0943 24.2);
  --div-neg-1:oklch(38% 0.0731 24.2);
  --div-mid:oklch(20% 0 132);
  --div-pos-1:oklch(29% 0.0673 149.2);
  --div-pos-2:oklch(47% 0.0868 149.2);
  --div-pos-3:oklch(65% 0.1063 149.2);

  /* library aliases — every system stylesheet names these, not the roles above,
     so one palette swap moves the whole set. */
  --paper:var(--surface); --card:var(--surface-container-lowest); --sunk:var(--surface-container-high);
  --ink:var(--on-surface); --muted:var(--on-surface-variant); --rule:var(--outline-variant);
  --accent:var(--primary); --accent-soft:var(--primary-container); --on-accent:var(--on-primary);
  --on-accent-soft:var(--on-primary-container);
  --bar:var(--inverse-surface); --on-bar:var(--inverse-on-surface);
  --on-bar-dim:oklch(40% 0.0208 132);
  --bar-line:oklch(50% 0.0208 132);

  --glass-fill:color-mix(in srgb, var(--surface-container-low) 88%, transparent);
  --glass-blur:0px;
  --surface-style:flat;

  --e1:0 1px 2px rgba(0,0,0,.5), 0 0 6px rgba(0,0,0,.3);
  --e2:0 2px 4px rgba(0,0,0,.5), 0 10px 22px -6px rgba(0,0,0,.6);
  --e3:0 2px 6px rgba(0,0,0,.5), 0 18px 34px -10px rgba(0,0,0,.7);
  --e4:0 4px 10px rgba(0,0,0,.55), 0 28px 54px -14px rgba(0,0,0,.8);
  --e-bar:inset 0 1px 0 rgba(255,255,255,.1), 0 2px 4px rgba(0,0,0,.6), 0 12px 26px -8px rgba(0,0,0,.7);
  --e-in:inset 0 1px 3px rgba(0,0,0,.45);
  color-scheme:dark;
}}

:root[data-theme="dark"]{
  /* Material 3 roles */
  --primary:oklch(80% 0.081 146);
  --on-primary:oklch(20% 0.0968 146);
  --primary-container:oklch(36% 0.0836 146);
  --on-primary-container:oklch(90% 0.037 146);
  --secondary:oklch(80% 0.046 118);
  --on-secondary:oklch(21% 0.055 118);
  --secondary-container:oklch(34% 0.0475 118);
  --on-secondary-container:oklch(90% 0.021 118);
  --tertiary:oklch(80% 0.069 48);
  --on-tertiary:oklch(21% 0.0825 48);
  --tertiary-container:oklch(34% 0.0712 48);
  --on-tertiary-container:oklch(90% 0.0315 48);
  --error:oklch(80% 0.1564 25);
  --on-error:oklch(20% 0.187 25);
  --error-container:oklch(36% 0.1615 25);
  --on-error-container:oklch(90% 0.0714 25);

  /* status roles, generated from this palette's own seed. Hue anchors near 150,
     85 and 240 so the role is recognisable in all sixteen; chroma and lightness
     come from the palette, so a warm palette's success is a warm green. Every
     --on-X here measured at or above 4.5:1 on its --X, light and dark. */
  --success:oklch(80% 0.1122 149.2);
  --on-success:oklch(20% 0.0569 149.2);
  --success-container:oklch(36% 0.1013 149.2);
  --on-success-container:oklch(90% 0.0512 149.2);
  --caution:oklch(80% 0.1148 84.2);
  --on-caution:oklch(20% 0.0418 84.2);
  --caution-container:oklch(36% 0.0741 84.2);
  --on-caution-container:oklch(90% 0.0524 84.2);
  --info:oklch(80% 0.1136 239.2);
  --on-info:oklch(20% 0.0459 239.2);
  --info-container:oklch(36% 0.0816 239.2);
  --on-info-container:oklch(90% 0.0547 239.2);

  --surface:oklch(14% 0.0208 132);
  --surface-dim:oklch(11% 0.0208 132);
  --surface-bright:oklch(29% 0.0234 132);
  --surface-container-lowest:oklch(9% 0.0182 132);
  --surface-container-low:oklch(17% 0.0221 132);
  --surface-container:oklch(19.5% 0.0234 132);
  --surface-container-high:oklch(23% 0.026 132);
  --surface-container-highest:oklch(27% 0.0286 132);
  --on-surface:oklch(90% 0.0156 132);
  --on-surface-variant:oklch(74% 0.0234 132);
  --outline:oklch(58% 0.0234 132);
  --outline-variant:oklch(34% 0.0234 132);
  --inverse-surface:oklch(90% 0.013 132);
  --inverse-on-surface:oklch(22% 0.0182 132);

  /* the eight group hues. One meaning each, never decoration. */
  --h1:oklch(79% 0.112 146);
  --h2:oklch(79% 0.112 104);
  --h3:oklch(79% 0.112 48);
  --h4:oklch(79% 0.112 196);
  --h5:oklch(79% 0.112 268);
  --h6:oklch(79% 0.112 24);
  --h7:oklch(79% 0.112 324);
  --h8:oklch(79% 0.112 172);

  /* MAGNITUDE. The eight hues above are categorical — they say which, never how
     much. These two scales say how much, and the L channel is stepped evenly in
     oklch so the steps are even to an eye instead of even in hex.
     Sequential: step 1 is the low end and sits nearest the page, so the ramp
     runs dark to light in this mode and the other way in light — a scale whose
     bright end was the zero would read upside down on a dark surface. */
  --seq-1:oklch(20% 0.0352 146);
  --seq-2:oklch(29% 0.0466 146);
  --seq-3:oklch(38% 0.058 146);
  --seq-4:oklch(47% 0.0693 146);
  --seq-5:oklch(56% 0.0807 146);
  --seq-6:oklch(65% 0.0921 146);
  --seq-7:oklch(74% 0.1035 146);

  /* Diverging. --div-mid is the zero point and carries no chroma at all: a middle
     with a hue in it makes every reader read the sign of zero wrongly. The two
     arms are interleaved onto one even lightness ramp rather than mirrored,
     because a mirrored diverging scale cannot survive greyscale — neg-1 and pos-1
     would desaturate to the same grey. Each arm still darkens with magnitude. */
  --div-neg-3:oklch(74% 0.1155 24.2);
  --div-neg-2:oklch(56% 0.0943 24.2);
  --div-neg-1:oklch(38% 0.0731 24.2);
  --div-mid:oklch(20% 0 132);
  --div-pos-1:oklch(29% 0.0673 149.2);
  --div-pos-2:oklch(47% 0.0868 149.2);
  --div-pos-3:oklch(65% 0.1063 149.2);

  /* library aliases — every system stylesheet names these, not the roles above,
     so one palette swap moves the whole set. */
  --paper:var(--surface); --card:var(--surface-container-lowest); --sunk:var(--surface-container-high);
  --ink:var(--on-surface); --muted:var(--on-surface-variant); --rule:var(--outline-variant);
  --accent:var(--primary); --accent-soft:var(--primary-container); --on-accent:var(--on-primary);
  --on-accent-soft:var(--on-primary-container);
  --bar:var(--inverse-surface); --on-bar:var(--inverse-on-surface);
  --on-bar-dim:oklch(40% 0.0208 132);
  --bar-line:oklch(50% 0.0208 132);

  --glass-fill:color-mix(in srgb, var(--surface-container-low) 88%, transparent);
  --glass-blur:0px;
  --surface-style:flat;

  --e1:0 1px 2px rgba(0,0,0,.5), 0 0 6px rgba(0,0,0,.3);
  --e2:0 2px 4px rgba(0,0,0,.5), 0 10px 22px -6px rgba(0,0,0,.6);
  --e3:0 2px 6px rgba(0,0,0,.5), 0 18px 34px -10px rgba(0,0,0,.7);
  --e4:0 4px 10px rgba(0,0,0,.55), 0 28px 54px -14px rgba(0,0,0,.8);
  --e-bar:inset 0 1px 0 rgba(255,255,255,.1), 0 2px 4px rgba(0,0,0,.6), 0 12px 26px -8px rgba(0,0,0,.7);
  --e-in:inset 0 1px 3px rgba(0,0,0,.45);
  color-scheme:dark;
}
