/* ==========================================================================
   Theme "Светлая": Apple-style light appearance.
   Only the values that differ from themes/default.css; everything else comes from there.
   ========================================================================== */

:root[data-theme="light"] {
  /* Browser scheme: dark or light (scrollbars, date fields, checkboxes) */
  --theme-scheme: light;
  color-scheme: light;

  /* Accent colours */
  --blue: #007aff;
  --blue-hover: #0062cc;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --cyan: #32ade6;
  --purple: #af52de;
  --pink: #ff2d55;
  --yellow: #ffcc00;
  --indigo: #5856d6;
  --gray: #8e8e93;
  --on-accent: #ffffff;

  /* Soft fills behind badges and hovered buttons */
  --blue-soft: #e3effd;
  --red-soft: #fde8e7;
  --orange-soft: #fdf0de;

  /* Text */
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #a1a1a6;
  --text-placeholder: #a1a1a6;

  /* Surfaces */
  --bg-canvas: #f2f2f7;
  --bg-surface: #ffffff;
  --bg-sheet: #f2f2f7;
  --bg-popover: #ffffff;
  --bg-subtle: #ececf1;
  --bg-hover: #ededf2;
  --bg-selected: #e2e2e8;
  --bg-field: #ffffff;
  --bg-control: #e8e8ed;
  --bg-control-hover: #dddde3;
  --event-block: #e8e8ed;
  --event-block-hover: #dddde3;

  /* Lines and states */
  --line: #d1d1d6;
  --line-soft: #e3e3e8;
  --scrollbar: #c7c7cc;
  --scrollbar-active: #8e8e93;
  --focus: #80b9ff;
  --selection: #b4d5fe;

  /* Shadows and the dimming behind windows */
  --shadow: #000000;
  --shadow-strength: 16%;
  --scrim-strength: 22%;

  /* Calendar month: how strongly a day is coloured when it has 1, 2, 3, 4+ tasks */
  --heat-1: 0.12;
  --heat-2: 0.2;
  --heat-3: 0.3;
  --heat-4: 0.4;
}
