/* Vide Tasks — white-label overlay (fase A). Servido pelo nginx em
 * /vide-overlay.css e injetado via sub_filter em todo HTML do Plane. */

/* Serif dos títulos do DS (mesma do portal/CRM). Se CSP bloquear, cai no Georgia. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

/* Links de comunidade/suporte/site do fornecedor somem. */
a[href*="github.com/makeplane"], a[href*="discord.com"], a[href*="discord.gg"],
a[href*="plane.so"], a[href*="docs.plane.so"], a[href*="go.plane.so"],
a[href*="ed.plane.so"], a[href*="intercom"], [class*="intercom"] {
  display: none !important;
}

/* Sem planos: código aberto auto-hospedado, acesso a tudo. Some qualquer
 * porta de billing/upgrade/pricing (o JS caça o resto por texto). */
a[href*="billing" i], a[href*="pricing" i], a[href*="upgrade" i],
[class*="upgrade" i], [class*="billing" i], [class*="pro-badge" i],
[class*="paid-plan" i] {
  display: none !important;
}

/* DS Vide — tema dark: repinta as variáveis do Plane (neutral em oklch vira
 * a escala ink/paper do portal; brand azul vira gold). */
[data-theme*="dark"], [data-theme*="dark"] * {
  --neutral-black: #0E0F13;
  --neutral-100: #131418;
  --neutral-200: #16171C;
  --neutral-300: #1A1B20;
  --neutral-400: #22242A;
  --neutral-500: #2A2C33;
  --neutral-600: #34363E;
  --neutral-700: #43454E;
  --neutral-800: #7A766D;
  --neutral-900: #A8A39A;
  --neutral-1000: #C6C2B8;
  --neutral-1100: #E0DDD2;
  --neutral-1200: #F2F0E8;
  --neutral-white: #F2F0E8;
  --brand-100: #2B2413;
  --brand-200: #3B3118;
  --brand-300: #4F411F;
  --brand-400: #665427;
  --brand-500: #866F33;
  --brand-700: #D4B375;
  --brand-800: #E5C896;
  --brand-900: #EEDCB4;
  --brand-1000: #F5EACE;
  --brand-1100: #FAF3E3;
  --brand-1200: #FCF9F0;
  --brand-default: #D4B375;
}

/* Tema light: só o brand vira gold (neutros default do Plane já são paper-like). */
[data-theme*="light"], [data-theme*="light"] * {
  --brand-default: #B8964A;
  --brand-700: #B8964A;
  --brand-800: #D4B375;
}

/* Títulos serif bold, assinatura do DS. */
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600;
}
