/* Platform console palette — GENERATED by docs/design/palette_gen.py.
 *
 * Do not hand-edit. Change the `platform-console` entry in THEMES and
 * run `python3 docs/design/palette_gen.py --emit-console-css`.
 * test_console_theme.py asserts this file matches the generator.
 *
 * Light only. The consoles are worked in daylight against warm paper;
 * the public tenant site is where dark matters, because a parent opens
 * it at night on a phone.
 *
 * Replaces 45 hand-declared colours in studio-admin.html (33 of them
 * verbatim Tailwind defaults — a slate grey ramp at hue 215 sitting on
 * warm paper at hue 36) and 49 more in super-admin.html. Every value
 * below cleared the same 56 assertions the eight studio themes clear.
 */
:root {
  color-scheme: light;
  --bg: #F7F5F2;
  --bg2: #EEEAE3;
  --panel: #FFFDFC;
  --surface: #FFFDFC;
  --surface-hover: #F8F6F6;
  --ink: #0E1729;
  --ink2: #404550;
  --muted: #626977;
  --line: #DCD8D2;
  --line-strong: #94836B;
  --accent: #0E1729;
  --on-accent: #FFFFFF;
  --on-accent-muted: #7A8290;
  --accent-hover: #162440;
  --accent-pressed: #1E3157;
  --accent-soft: #C9D0DF;
  --on-accent-soft: #0E1729;
  --accent-border: #A6ADBD;
  --accent-2: #A16207;
  --accent-2-soft: #F3E5D3;
  --on-accent-2-soft: #915C10;
  --accent-2-border: #DABD95;
  --success: #307C59;
  --success-soft: #D6ECE2;
  --on-success-soft: #2D7454;
  --success-border: #A3C9B8;
  --warning: #926727;
  --warning-soft: #F2E5D2;
  --on-warning-soft: #886024;
  --warning-border: #D4BE9D;
  --danger: #BD493C;
  --danger-soft: #F6E2E0;
  --on-danger-soft: #B04438;
  --danger-border: #E5B5B0;
  --info: #3F71AB;
  --info-soft: #DEE8F4;
  --on-info-soft: #3B6AA1;
  --info-border: #ADC3DE;
  /* Ink on a role's BORDER tone, which is what the tinted buttons swap to on
     hover. The `--on-X-soft` colours are tuned to the soft ground and measure
     ~3.1:1 on the darker one, so every tinted button became unreadable at the
     moment you pointed at it — .btn-warning, .btn-danger and .btn-success in
     both consoles. Measured against WCAG 1.4.3's 4.5 for small text. */
  --on-success-border: #125939;   /* 4.62:1 on --success-border  */
  --on-warning-border: #6D4509;   /* 4.65:1 on --warning-border  */
  --on-danger-border:  #92261A;   /* 4.60:1 on --danger-border   */
  --on-info-border:    #204F86;   /* 4.61:1 on --info-border     */
  --on-accent-2-border: #764100;  /* 4.63:1 on --accent-2-border */

  --focus-ring: #5E81C8;
  --disabled-surface: #EAE5DD;
  --disabled-text: #7E838F;
  --scrim: rgba(0,0,0,0.5);

  /* Ink on any solid role fill — the same colour carries a label on the
     accent, on success, on warning and on danger, which is what the
     `label / role` assertions check. */
  --on-role: #FFFFFF;

  /* The scrim is a colour; what sits ON it is not theme-derived, because
     a lightbox never lands on a theme surface. */
  --on-scrim: #F2F0ED;
}
