:root {
  color-scheme: light;

  --surface: #ffffff;
  --surface-subtle: #f5f6f8;
  --surface-soft: #eef0f4;
  --surface-accent: #eef3ff;
  --text-primary: #20242b;
  --text-secondary: #626a77;
  --border: #e0e4ea;
  --border-strong: #cbd1dc;
  --brand-accent: #2456d9;
  --brand-accent-hover: #1944b7;
  --status-success: #217244;
  --status-success-surface: #edf7f0;
  --status-warning: #8f6010;
  --status-warning-surface: #fff6e4;
  --status-error: #b63832;
  --status-error-surface: #fff0ee;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Existing screens share the same palette without changing their layout. */
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --paper: var(--surface);
  --cream: var(--surface-subtle);
  --sand: var(--surface-soft);
  --apricot: var(--surface-accent);
  --accent: var(--brand-accent);
  --accent-hover: var(--brand-accent-hover);
  --green: var(--status-success);
  --lime: var(--status-success);
}

html {
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}

.product-symbol {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}
