/* This stylesheet is loaded only for the card viewer and creator. */
:root {
  color-scheme: light;
  --stone: #d8d3c9;
  --stone-light: #e8e3d9;
  --stone-panel: #ece7dd;
  --stone-ink: #282d29;
  --stone-muted: #4c554e;
  --stone-line: #a4a69a;
  --stone-accent: #1b5f54;
  --stone-background: linear-gradient(158deg, var(--stone-light), var(--stone) 62%, #d2ccc0);
  background: var(--stone);
}

body {
  --paper: var(--stone-ink);
  --muted: var(--stone-muted);
  --mint: var(--stone-accent);
  --teal: #196a5e;
  --line: var(--stone-line);
  --panel: var(--stone-panel);
  --danger: #8a3434;
  --success: #225c40;
  background: var(--stone-background);
  color: var(--paper);
}

/* Card palettes belong to the card itself, including on light pages. */
body .top-premium-stage,
body .card-style-preview,
body .voice-studio {
  color-scheme: dark;
  --paper: #f2faf7;
  --muted: #9db4b1;
  --mint: #a9f5df;
  --teal: #35d0bd;
  --line: rgba(169, 245, 223, .18);
}

body main.profile-shell[class] {
  background: var(--stone-background) !important;
}

body .public-nav :is(.brand, .vo-public-actions a),
body .site-header :is(.brand, nav > a:not(.button), .nav-button),
body .legal-footer a {
  color: var(--stone-ink);
}

body :is(.public-nav, .site-header) .brand__mark {
  background: var(--stone-panel);
  border-color: var(--stone-line);
  color: var(--stone-accent);
}

body :is(.card-toolbar, .form-card--profile, .choice-form) .button:not(.button--quiet):not(.voice-studio *) {
  background: var(--stone-accent);
  border-color: var(--stone-accent);
  color: #f2eee4;
}

body :is(.card-toolbar, .form-card--profile, .choice-form) .button--quiet:not(.voice-studio *) {
  background: var(--stone-light);
  border-color: #90988c;
  color: var(--stone-ink);
}

body :is(.form-card--profile, .choice-card, .choice-legal-note, .premium-section, .recommendation-panel, .empty-card, .flash) {
  background: var(--stone-panel);
  border-color: var(--stone-line);
}

body .form-card--profile {
  box-shadow: 0 18px 48px rgba(49, 40, 27, .14);
}

body .form-card--profile .card-style-preview {
  box-shadow: 0 9px 24px rgba(49, 40, 27, .2);
}

body .form-card--profile :is(.form-grid input, .form-grid textarea, .form-grid select, .slug-field):not(.voice-studio *),
body .profile-shell :is(.booking-form input, .booking-form textarea, .booking-form select, .recommendation-form select) {
  background: #f1ece2;
  border-color: #93988d;
  color: var(--stone-ink);
}

body .legal-footer {
  background: #d3cdbf;
  border-color: var(--stone-line);
}
