@font-face {
  font-family: "Storefront Material";
  src: url("/assets/icons/storefront-material.otf") format("opentype");
  font-display: block;
}
/* Keep these color roles aligned with FlourtuneSemanticColors in the mobile app. */
:root {
  color-scheme: light;
  --canvas: #faf7f3;
  --surface: #fffefc;
  --input: #f1ede8;
  --ink: #2b292e;
  --muted: #6d6870;
  --accent: #a33152;
  --on-accent: #fff;
  --tint: #fce4ea;
  --cream: #f7ead9;
  --line: #e8e2dc;
  --shadow: #2b292e08;
  --elevated: #fff;
  --secondary: #f1ede8;
  --accent-hover: #97314d;
  --success: #22724d;
  --success-fill: #e0f4e9;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #1d1e23;
  --surface: #292b32;
  --input: #24262c;
  --ink: #f5f3f4;
  --muted: #aaa9b1;
  --accent: #ff6b7a;
  --on-accent: #160e14;
  --tint: #443039;
  --cream: #332f29;
  --line: #ffffff14;
  --shadow: #0000001f;
  --elevated: #32343c;
  --secondary: #2d2f37;
  --accent-hover: #ff9caa;
  --success: #88c7a4;
  --success-fill: #283b32;
}
.material-icon { font: normal 24px/1 "Storefront Material"; display: inline-block; flex: none; user-select: none; }
.theme-choices { display: none; background: var(--input); padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
[data-theme] .theme-choices { display: inline-flex; }
.theme-choices button { border: 0; padding: 0; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 99px; color: var(--muted); background: transparent; }
.theme-choices button[aria-pressed="true"] { color: var(--accent); background: var(--surface); box-shadow: 0 1px 5px var(--shadow); }
