:root[data-role="R1"]{
  --role-primary:#ff8c42;
  --role-primary-dark:#c2410c;
  --role-primary-light:#fff7ed;
  --role-accent:#f97316;
  --role-font-scale:1.4;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R1"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 20px 20px 20px 4px;
  padding: 16px 22px;
  font-weight: 600;
  line-height: 1.8;
  box-shadow: 0 4px 14px rgba(255,140,66,.18);
}

:root[data-role="R2"]{
  --role-primary:#f59e0b;
  --role-primary-dark:#b45309;
  --role-primary-light:#fefce8;
  --role-accent:#d97706;
  --role-font-scale:1.2;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R2"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 18px 18px 18px 4px;
  padding: 14px 20px;
  font-weight: 600;
  line-height: 1.7;
  box-shadow: 0 4px 14px rgba(245,158,11,.18);
}

:root[data-role="R3"]{
  --role-primary:#ec4899;
  --role-primary-dark:#9d174d;
  --role-primary-light:#fdf2f8;
  --role-accent:#db2777;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R3"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 18px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(236,72,153,.16);
}

:root[data-role="R4"]{
  --role-primary:#4f7cff;
  --role-primary-dark:#2563eb;
  --role-primary-light:#eff6ff;
  --role-accent:#3b82f6;
  --role-font-scale:0.95;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R4"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 4px;
  padding: 10px 16px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(79,124,255,.14);
}

:root[data-role="R5"]{
  --role-primary:#1f2937;
  --role-primary-dark:#030712;
  --role-primary-light:#f9fafb;
  --role-accent:#d4af37;
  --role-font-scale:1.05;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R5"]{
  background: linear-gradient(135deg,#111827,#1f2937);
  color:#f9fafb;
  border: 2px solid var(--role-accent);
  border-radius: 12px 12px 12px 4px;
  padding: 14px 20px;
  font-weight: 600;
  line-height: 1.7;
  box-shadow: 0 6px 20px rgba(17,24,39,.3),0 0 0 1px rgba(212,175,55,.2);
}

:root[data-role="R6"]{
  --role-primary:#f472b6;
  --role-primary-dark:#be185d;
  --role-primary-light:#fdf2f8;
  --role-accent:#ec4899;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R6"]{
  background: linear-gradient(135deg,#fce7f3,#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 20px 20px 20px 6px;
  padding: 12px 18px;
  font-weight: 500;
  line-height: 1.65;
  box-shadow: 0 4px 14px rgba(244,114,182,.18);
}

:root[data-role="R7"]{
  --role-primary:#3b82f6;
  --role-primary-dark:#1d4ed8;
  --role-primary-light:#eff6ff;
  --role-accent:#2563eb;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R7"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 10px 10px 10px 4px;
  padding: 12px 18px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(59,130,246,.16);
}

:root[data-role="R8"]{
  --role-primary:#8b5cf6;
  --role-primary-dark:#E8541A;
  --role-primary-light:#FFF7F2;
  --role-accent:#FF6B2C;
  --role-font-scale:1.35;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R8"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 3px solid var(--role-primary);
  border-radius: 18px 18px 18px 4px;
  padding: 16px 24px;
  font-weight: 700;
  line-height: 1.85;
  box-shadow: 0 6px 20px rgba(139,92,246,.22);
}

:root[data-role="R9"]{
  --role-primary:#1e3a8a;
  --role-primary-dark:#0c1e5c;
  --role-primary-light:#eff6ff;
  --role-accent:#1e40af;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R9"]{
  background: linear-gradient(135deg,#dbeafe,#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 8px 8px 8px 4px;
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(30,58,138,.18);
}

:root[data-role="R10"]{
  --role-primary:#22c55e;
  --role-primary-dark:#15803d;
  --role-primary-light:#f0fdf4;
  --role-accent:#16a34a;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R10"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 18px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(34,197,94,.18);
}

:root[data-role="R11"]{
  --role-primary:#2563eb;
  --role-primary-dark:#1d4ed8;
  --role-primary-light:#eff6ff;
  --role-accent:#3b82f6;
  --role-font-scale:0.95;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R11"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 10px 10px 10px 4px;
  padding: 10px 16px;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 3px 12px rgba(37,99,235,.16);
}

:root[data-role="R12"]{
  --role-primary:#ea580c;
  --role-primary-dark:#9a3412;
  --role-primary-light:#fff7ed;
  --role-accent:#c2410c;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R12"]{
  background: linear-gradient(135deg,#ffedd5,#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(234,88,12,.18);
}

:root[data-role="R13"]{
  --role-primary:#dc2626;
  --role-primary-dark:#991b1b;
  --role-primary-light:#fef2f2;
  --role-accent:#b91c1c;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R13"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 8px 8px 8px 4px;
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1.65;
  box-shadow: 0 4px 14px rgba(220,38,38,.18);
}

:root[data-role="R14"]{
  --role-primary:#0d9488;
  --role-primary-dark:#115e59;
  --role-primary-light:#f0fdfa;
  --role-accent:#14b8a6;
  --role-font-scale:0.95;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R14"]{
  background: linear-gradient(135deg,#ccfbf1,#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 10px 10px 10px 4px;
  padding: 10px 16px;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: 0 3px 12px rgba(13,148,136,.16);
}

:root[data-role="R15"]{
  --role-primary:#6366f1;
  --role-primary-dark:#4338ca;
  --role-primary-light:#FFF1EA;
  --role-accent:#818cf8;
  --role-font-scale:1.0;
  font-size: calc(14px * var(--role-font-scale));
}
.greeting-bubble[data-role="R15"]{
  background: linear-gradient(135deg,var(--role-primary-light),#fff);
  color:var(--role-primary-dark);
  border: 2px solid var(--role-primary);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 18px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(99,102,241,.18);
}
