/* Sign-in page: one larger logo, no workspace badge on top of it.
   Selectors use the link and the icon URL, not Twenty's generated class names, so they survive updates. */
div:has(> a[href="/welcome"] > div[style*="android-launchericon"]) > :not(a) {
  display: none !important;
}
div:has(> a[href="/welcome"] > div[style*="android-launchericon"]),
a[href="/welcome"]:has(> div[style*="android-launchericon"]),
a[href="/welcome"] > div[style*="android-launchericon"] {
  width: 112px !important;
  height: 112px !important;
}
a[href="/welcome"] > div[style*="android-launchericon"] {
  border-radius: 12px;
}

/* Links to Twenty's own site (its privacy policy, terms, partners, release notes) are hidden.
   The sign-in footer (Privacy Policy • Terms of Service) goes as a whole, separator included. */
div:has(> a[href="https://twenty.com/terms"]),
a[href^="https://twenty.com"],
a[href^="https://docs.twenty.com"],
a[href^="https://github.com/twentyhq"] {
  display: none !important;
}

/* TeleNet colour: Twenty's blue accent (buttons, selections, focus rings, links, checkboxes) becomes the
   logo's black. Dark mode uses near-white so it stays visible. Tag/option colours have their own variables
   and keep their colours. Doubled class = wins over Twenty's own .light/.dark rules. */
.light.light {
  --t-color-blue: #111111;
  --t-accent-primary: #e2e2e2; --t-accent-secondary: #e2e2e2;
  --t-accent-tertiary: #f0f0f0; --t-accent-quaternary: #f8f8f8;
  --t-accent-accent3570: #bbbbbb; --t-accent-accent4060: #bbbbbb;
  --t-accent-accent1: #fcfcfc; --t-accent-accent2: #f8f8f8; --t-accent-accent3: #f0f0f0;
  --t-accent-accent4: #e8e8e8; --t-accent-accent5: #e2e2e2; --t-accent-accent6: #d9d9d9;
  --t-accent-accent7: #cecece; --t-accent-accent8: #bbbbbb; --t-accent-accent9: #111111;
  --t-accent-accent10: #2b2b2b; --t-accent-accent11: #111111; --t-accent-accent12: #000000;
}
.dark.dark {
  --t-color-blue: #ededed;
  --t-accent-primary: #333333; --t-accent-secondary: #333333;
  --t-accent-tertiary: #222222; --t-accent-quaternary: #191919;
  --t-accent-accent3570: #606060; --t-accent-accent4060: #606060;
  --t-accent-accent1: #111111; --t-accent-accent2: #191919; --t-accent-accent3: #222222;
  --t-accent-accent4: #2a2a2a; --t-accent-accent5: #333333; --t-accent-accent6: #3a3a3a;
  --t-accent-accent7: #484848; --t-accent-accent8: #606060; --t-accent-accent9: #ededed;
  --t-accent-accent10: #ffffff; --t-accent-accent11: #eeeeee; --t-accent-accent12: #ffffff;
}
