/* The existing phone app uses one palette across its public and member routes. */
:root {
  --gr-ref-brand: #203b73;
  --gr-ref-night: #192f58;
  --gr-ref-cobalt: #3a65b3;
  --gr-ref-lavender: #ebeffb;
  --gr-ref-mist:
    radial-gradient(ellipse at 100% 0%, #d9eff8 0%, transparent 68%) top / 100% 420px no-repeat,
    linear-gradient(155deg, #e6e9fa, #f3f5f8 85%) top / 100% 420px no-repeat var(--gr-pro-canvas);
  --gr-ref-header: linear-gradient(112deg, #e8ebfa, #e5f3f8);
  --gr-ref-shadow: 0 3px 10px rgb(30 54 103 / 5%);

  --gr-pro-brand: var(--gr-ref-brand);
  --gr-pro-brand-hover: #172d59;
  --gr-pro-night: var(--gr-ref-night);
  --gr-pro-ink: #202c43;
  --gr-pro-secondary: #43536a;
  --gr-pro-muted: #5e6b80;
  --gr-pro-canvas: #f3f5f8;
  --gr-pro-paper: #fff;
  --gr-pro-line: #e1e7f1;
  --gr-pro-inset: #f7f8fc;
  --gr-pro-tint: #eef2fc;
  --gr-pro-gold: #825118;
  --gr-pro-gold-tint: #fbf1e2;
}

#root :is([code-path$="Home.tsx:42:7"], [code-path$="ui.tsx:198:5"], [code-path$="Square.tsx:110:7"]) {
  border-bottom-color: transparent;
  background: var(--gr-ref-header) !important;
}

.gr-original-identity > span {
  color: var(--gr-ref-night);
}

#root [code-path$="ui.tsx:183:5"] {
  border-bottom-color: transparent;
  background: var(--gr-ref-night) !important;
  color: var(--gr-pro-on-night);
}

#root [code-path$="ui.tsx:189:7"] {
  color: var(--gr-pro-on-night) !important;
}

#root [code-path$="ui.tsx:183:5"] :is(svg[fill="#fff"], svg[fill="#ffffff"]) {
  fill: currentColor;
}

#root [code-path$="ui.tsx:183:5"] :is(button, a, button .text-white, a .text-white) {
  color: var(--gr-pro-on-night);
}

#root [code-path$="ui.tsx:183:5"] :is(button, a):focus-visible {
  outline-color: #d7e5ff;
  outline-offset: -3px;
}

#root [code-path$="ui.tsx:172:5"] {
  border-color: #e2e9f6;
  border-radius: 999px;
  box-shadow: var(--gr-ref-shadow);
}

#root [code-path$="ui.tsx:304:5"] {
  border-radius: 999px;
}

#root [code-path$="ui.tsx:405:5"] {
  background: var(--gr-pro-paper);
  box-shadow: 0 -3px 14px rgb(30 54 103 / 4%);
}

#root [code-path$="ui.tsx:409:11"] > span:first-child {
  color: var(--gr-pro-muted);
  border-radius: 999px;
}

#root [code-path$="ui.tsx:409:11"] svg {
  fill: currentColor;
}

#root [code-path$="ui.tsx:409:11"]:has(> span:first-child[style*="251, 234, 236"]) > span:first-child {
  background: var(--gr-ref-lavender) !important;
  color: var(--gr-ref-brand);
}

#root [code-path$="ui.tsx:409:11"]:focus-visible {
  outline-offset: -4px;
}
