/* Floy Deals by Anfloy: brand layer injected into the upstream frontend.
   Maps the Anfloy palette (cream #faf9f5, ink #131210, ember #e5481c) and Geist
   onto the app's theme variables, and hides upstream marketing screens.
   Doubled class selectors win over the upstream .light/.dark theme blocks. */

@font-face {
  font-family: 'Geist';
  src: url('/floy/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.light.light {
  --t-font-family: 'Geist', Inter, system-ui, sans-serif;
  --t-background-primary: #fffefb;
  --t-background-secondary: #faf9f5;
  --t-background-tertiary: #f3f1ea;
  --t-background-quaternary: #ece9df;
  --t-font-color-primary: #131210;
  --t-accent-accent1: #fefcfb;
  --t-accent-accent2: #fff6f2;
  --t-accent-accent3: #fdebe4;
  --t-accent-accent4: #fbdccf;
  --t-accent-accent5: #f8cbba;
  --t-accent-accent6: #f3b6a1;
  --t-accent-accent7: #ec9d84;
  --t-accent-accent8: #e47e5e;
  --t-accent-accent9: #e5481c;
  --t-accent-accent10: #d43f15;
  --t-accent-accent11: #bf3812;
  --t-accent-accent12: #561c0b;
  --t-accent-accent3570: #e47e5e;
  --t-accent-accent4060: #e47e5e;
  --t-border-color-blue: #f3b6a1;
  --t-background-transparent-blue: rgba(229, 72, 28, 0.07);
  --t-snack-bar-info-color: #e5481c;
}

.dark.dark {
  --t-font-family: 'Geist', Inter, system-ui, sans-serif;
  --t-background-primary: #131210;
  --t-background-secondary: #171613;
  --t-background-tertiary: #1d1b18;
  --t-background-quaternary: #25231f;
  --t-font-color-primary: #faf9f5;
  --t-accent-accent1: #1a110e;
  --t-accent-accent2: #21140f;
  --t-accent-accent3: #3a1a10;
  --t-accent-accent4: #4d1d0e;
  --t-accent-accent5: #5d2412;
  --t-accent-accent6: #6e2f1b;
  --t-accent-accent7: #873c24;
  --t-accent-accent8: #ae4b2c;
  --t-accent-accent9: #e5481c;
  --t-accent-accent10: #f05f33;
  --t-accent-accent11: #ff9a78;
  --t-accent-accent12: #fdd8cb;
  --t-accent-accent3570: #ae4b2c;
  --t-accent-accent4060: #ae4b2c;
  --t-border-color-blue: #873c24;
  --t-background-transparent-blue: rgba(229, 72, 28, 0.12);
  --t-snack-bar-info-color: #e5481c;
}

html, body { font-family: 'Geist', Inter, system-ui, sans-serif; }

/* Upstream marketing, community, billing and legal screens. */
a[href="/settings/community"],
a[href^="/settings/billing"],
a[href^="/settings/legal"],
a[href^="/settings/releases"],
a[href*="twenty.com"],
a[href*="twentyhq"],
img[src*="trust-badges"] {
  display: none !important;
}

/* Focus ring: upstream passes its blue as an inline variable, so set ember here. */
input:focus:not([aria-invalid="true"]),
textarea:focus:not([aria-invalid="true"]) {
  border-color: #e5481c !important;
}
