:root {
  --fv-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fv-font-ui: Arial, Helvetica, sans-serif;
  --fv-font-display-face: Georgia;
  --fv-font-heading: var(--fv-font-display-face), "Times New Roman", serif;
  --fv-font-serif: var(--fv-font-display-face), serif;

  --paper-cream: #faf8f2;
  --surface-warm: #fffefa;
  --brand-green: #084c3b;
  --brand-gold-ink: #8a5e24;
  --business-action-fill: linear-gradient(115deg, var(--brand-green), #123f32);
  --ink-on-brand: #fffdf5;

  --ink: #183a31;
  --muted: #626e65;
  --paper: #fbf9f4;
  --surface: #ffffff;
  --line: #dfe4d9;
  --brand: var(--brand-green);
  --brand-dark: #053729;
  --accent: #edf2e9;
  --gold: #d9bd86;
  --gold-ink: #826334;
  --scan-shortcut-background: #f3e3c1;
  --scan-shortcut-ink: #72551e;
  --success: #17633a;
  --danger: #9b1c31;
  --focus: #075985;

  --field-radius: 0.6rem;
  --field-radius-roomy: 0.8rem;
  --panel-card-radius: 1.25rem;
  --entry-card-padding: 1.5rem;
  --entry-field-text-inset: 2.75rem;
}

@media (max-width: 25rem) {
  :root { --entry-card-padding: 1.2rem; }
}

/* Business entry and the points account share the same base palette. */
.fv-owner-ui,
.customer-shell {
  --paper: var(--paper-cream);
  --surface: var(--surface-warm);
  --ink: #123e33;
  --muted: #65716b;
  --line: #e2e3d8;
  --accent: #f0f2e8;
  --gold-ink: #87602b;
}

.fv-owner-ui {
  --panel-wash: radial-gradient(ellipse at top right, #f0eedf80, transparent 45%);
}

/* The owner workspace and operator consoles use warmer surfaces. */
.fv-workspace-theme {
  --paper: #fcf9f5;
  --surface: #fefdfa;
  --ink: #07211d;
  --brand: #05423a;
  --muted: #57595a;
  --line: #dfdfd6;
  --gold-ink: #89612c;
  --panel-wash: radial-gradient(ellipse at 70% 20%, #ffffff70, transparent 65%);
}

.op-shell { --paper: #fcf9f3; }

.customer-shell {
  --customer-nav-brand: #074c3e;
  --customer-nav-ink: #234c3e;
}

.customer-shell .fv-sidebar {
  --brand: var(--customer-nav-brand);
  --ink: var(--customer-nav-ink);
  --muted: #667268;
  --line: #e2e4d9;
  --gold-ink: #8b682d;
}

/* Home content has its own palette alongside the shared public navigation. */
.fv-public-home {
  --ph-ink: #183f35;
  --ph-green: #084a3b;
  --ph-action-fill: linear-gradient(110deg, #07503f, #043d30);
}
