:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4ee;
  --panel: #fffefa;
  --surface: #eeece8;
  --surface-hover: #e5e2dd;
  --border: #d9d5cf;
  --border-strong: #97918a;
  --muted: #68635e;
  --text: #282624;
  --accent: #fc5200;
  --action: #bd3d00;
  --action-hover: #a63500;
  --accent-soft: #fff0e7;
  --accent-text: #a53600;
  --accent-border: #cc754c;
  --workspace: #e9e6e1;
  --workspace-dot: #ccc7c0;
  --checker-a: #e3dfd9;
  --checker-b: #f4f1ec;
  --overlay: #f6f4eef5;
  --notice-bg: #fff0db;
  --notice-text: #75420d;
  --notice-border: #c9975c;
  --error-bg: #fce9ea;
  --error-text: #9b2532;
  --error-border: #cf808a;
  --success: #37663e;
  --paper: var(--bg);
  --ink: var(--text);
  --orange: var(--accent);
  --line: var(--border);
  --blue: #e8f0f3;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #202124;
  --panel: #292a2e;
  --surface: #323338;
  --surface-hover: #3b3c42;
  --border: #484950;
  --border-strong: #74747f;
  --muted: #b4b4bd;
  --text: #f6f4ee;
  --action: #bd3d00;
  --action-hover: #a63500;
  --accent-soft: #33251e;
  --accent-text: #ffab7f;
  --accent-border: #ab704f;
  --workspace: #242529;
  --workspace-dot: #42434a;
  --checker-a: #3d3e45;
  --checker-b: #303136;
  --overlay: #202124f5;
  --notice-bg: #3d281c;
  --notice-text: #ffd3b8;
  --notice-border: #a47350;
  --error-bg: #3b2023;
  --error-text: #ffb7bb;
  --error-border: #a55661;
  --success: #a4d1af;
  --blue: #202c32;
}
.account-card input[type="text"],
.account-card input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.account-card .errorlist {
  color: var(--error-text);
  padding-left: 20px;
  font-size: 13px;
}
.account-card .checkout-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.account-card .helptext {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.pix-code {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.pix-code img {
  background: #fff;
  padding: 12px;
  width: 240px;
  height: 240px;
}
.selected-race {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.selected-race strong {
  color: var(--text);
}
.account-card .text-button {
  color: var(--accent-text);
  text-decoration: none;
}
.account-card a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .account-card {
    padding: 24px;
  }
  .app-header .header-actions {
    flex: 1;
    justify-content: flex-end;
  }
}
/* Basecoat Dropdown Menu, styled only within the appearance control. */
.theme-control {
  position: relative;
  display: inline-flex;
  flex: none;
  font-size: 13px;
}
.theme-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.theme-trigger:hover,
.theme-trigger[aria-expanded="true"] {
  background: var(--surface);
  border-color: var(--border-strong);
}
.theme-control svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-trigger .theme-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.theme-trigger [data-theme-icon] {
  display: none;
}
.theme-control[data-preference="light"] [data-theme-icon="light"],
.theme-control[data-preference="dark"] [data-theme-icon="dark"] {
  display: block;
}
.theme-control-compact .theme-trigger {
  width: 42px;
  padding: 0;
}
.theme-control > [data-popover] {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 180px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 8px 28px #0002;
}
.theme-control > [data-popover][aria-hidden="true"] {
  display: none;
}
.theme-control [role="menuitemradio"] {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
  line-height: 1.4;
}
.theme-control [role="menuitemradio"]:hover,
.theme-control [role="menuitemradio"].active {
  background: var(--surface);
}
.theme-control [role="menuitemradio"][aria-checked="true"] {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.theme-control [data-indicator] {
  width: 15px;
  height: 15px;
  margin-left: auto;
  visibility: hidden;
}
.theme-control [aria-checked="true"] > [data-indicator] {
  visibility: visible;
}
.theme-control .theme-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.appearance-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  margin: 22px 0;
  border-block: 1px solid var(--border);
}
.account-card .appearance-setting h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
}
.site-header .theme-control {
  margin-left: auto;
}
@media (max-width: 760px) {
  .site-header .theme-control {
    margin-left: auto;
  }
  .site-header .theme-trigger {
    width: 40px;
    min-height: 40px;
  }
}
.app-header .theme-control > [data-popover] {
  left: 0;
  right: auto;
}
@media (max-width: 640px) {
  .app-header .theme-control > [data-popover] {
    left: auto;
    right: 0;
  }
}
