/*
 * @name Light
 * @description The default look: white panels on a soft blue-grey frame.
 *
 * Light is the base every other theme sits on: the server always sends these
 * tokens first, so a theme only needs to set the tokens it changes. See
 * themes/README.md for what each token is used for.
 */
:root {
  color-scheme: light;

  /* Type and shape */
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  --radius: 8px;

  /* Surfaces */
  --bg: #f6f8fa;                 /* app frame: top bar, sidebar, page background */
  --panel: #ffffff;              /* cards, message list, inputs, menus, dialogs */
  --panel-alt: #fcfcfd;          /* table headers and other quiet bands on a panel */
  --hover: #f1f3f4;              /* hover fill for rows and menu items */
  --fill: #f1f4f9;               /* sunken fills: chips, formatting bar, item hovers in popovers */
  --chrome: #eef2f7;             /* compose window title bar */
  --chrome-hover: #e5eaf1;
  --icon-hover: rgba(68, 71, 70, 0.1); /* round hover behind icon buttons, on any surface */

  /* Lines */
  --border: #e8eaed;             /* panel edges, row and field dividers */
  --border-strong: #d0d5dd;      /* input outlines */
  --border-subtle: #f1f3f4;      /* separators inside lists */
  --separator: #dadce0;          /* short vertical separators, quote bars */

  /* Text */
  --text: #202124;
  --text-secondary: #3c4043;
  --text-muted: #5f6368;
  --text-faint: #98a2b3;
  --icon: #444746;

  /* Brand */
  --primary: #1a73e8;
  --primary-hover: #1557b0;
  --on-primary: #ffffff;         /* text/icons on --primary */
  --primary-soft: #e8f0fe;       /* light tint: focus rings, selected rows, info badges */
  --primary-selected: #d3e3fd;   /* active nav item, toggled-on buttons */
  --primary-selected-hover: #c8daf8;
  --on-primary-selected: #041e49;
  --on-avatar: #ffffff;          /* initials on the per-person avatar colors */

  /* Status. "Solid" colors carry --on-solid text. */
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --success: #067647;
  --success-soft: #ecfdf3;
  --warning: #b54708;
  --warning-soft: #fffaeb;
  --warning-border: #fedf89;
  --warning-solid: #f79009;
  --on-solid: #ffffff;
  --highlight: #fef0c7;          /* search-match highlight */

  /* Message list */
  --row-unread: #f2f6fc;
  --row-hover: #f6f8fc;

  /* Reading pane: the email itself. Emails are designed for light
     backgrounds, so themes usually keep this white. */
  --message-bg: #ffffff;
  --message-text: #202124;
  --message-link: #1a73e8;

  /* Effects */
  --backdrop: rgba(16, 24, 40, 0.45);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-menu: 0 4px 16px rgba(16, 24, 40, 0.1);
  --shadow-popup: 0 8px 24px rgba(16, 24, 40, 0.14);
  --shadow-window: 0 8px 28px rgba(0, 0, 0, 0.28);
  --drop-bg: rgba(232, 240, 254, 0.92); /* drag-and-drop target overlay */
  --swatch-border: rgba(0, 0, 0, 0.12);

  /* Checkbox marks, drawn in --on-primary's color. CSS variables can't reach
     inside an image, so each theme that changes --on-primary sets these. */
  --check-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3.2 3.2L13 5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  --dash-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8h10' stroke='white' stroke-width='2.2' stroke-linecap='round' fill='none'/></svg>");
}
