
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --primary: #1B3A5C;
    --primary-light: #254d7a;
    --primary-faint: #EEF3F8;
    --accent: #2ECC9A;
    --accent-dim: #E6FAF4;
    --bg: #F8F9FA;
    --bg2: #FFFFFF;
    --border: #E4E8ED;
    --text: #1A2332;
    --text2: #5A6472;
    --text3: #96A0AC;
    --red: #E5383B;
    --red-dim: #FEF2F2;
    --amber: #F59E0B;
    --amber-dim: #FFFBEB;
    --blue: #3B82F6;
    --blue-dim: #EFF6FF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
    --r: 10px;
    --r-sm: 6px;
    --header-h: 60px;
  }
  /* En WordPress el app vive dentro de una página Kadence */
  #gnathia-root {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
  }
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
  @keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes popIn { from { opacity:0; transform: scale(0.92) translateY(8px); } to { opacity:1; transform: none; } }
  @keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

  .screen { animation: fadeIn 0.25s ease; }
  .card { animation: slideUp 0.2s ease; }
