/* Centro RDG · Demo · Sistema visual blanco/negro corporativo
 * Espejo del lenguaje visual de rodriguezdeguzman.com
 * 2026-05 · v2 (rebuilt sin colores inventados)
 */

:root {
  --bg: #fff;
  --bg-soft: #fafafa;
  --bg-card: #fff;
  --line: rgba(0,0,0,.08);
  --text: #000;
  --text-soft: rgba(0,0,0,.6);
  --accent: #000;
  --accent-soft: #1a1a1a;
  --green: #16a34a;
  --yellow: #d97706;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #fff;
  color: #000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}

a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .65; }
button { font-family: inherit; cursor: pointer; }

/* ===== Tipografía utilitaria ===== */
.eye {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .26em;
  color: rgba(0,0,0,.5);
}
.tight { letter-spacing: -.025em; }
.tightest { letter-spacing: -.04em; }
.muted { color: rgba(0,0,0,.55); }
.muted-soft { color: rgba(0,0,0,.4); }

/* ===== Layout helpers ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 24px; }

/* ===== Banner DEMO sutil ===== */
.demo-banner-top {
  background: #000; color: #fff;
  text-align: center; padding: 10px 24px;
  font-size: 12px; font-weight: 400;
  letter-spacing: .02em;
}
.demo-banner-top a {
  color: #fff; text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 600; font-size: 18px;
  letter-spacing: -.025em;
  display: inline-flex; align-items: center; gap: 8px;
  color: #000;
}
.logo strong { font-weight: 600; }
.logo .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #000;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: rgba(0,0,0,.65);
}
.nav-links a:hover { color: #000; opacity: 1; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-dark {
  background: #000; color: #fff;
}
.btn-dark:hover { background: #1a1a1a; opacity: 1; }
.btn-outline {
  background: transparent; color: #000;
  border-color: rgba(0,0,0,.15);
}
.btn-outline:hover {
  border-color: #000; opacity: 1;
}
.btn-lg { padding: 18px 28px; font-size: 15px; }

/* ===== Hero ===== */
.hero {
  background: #fff;
  padding: 110px 24px 90px;
  position: relative;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
}
.hero .eye { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 28px;
  max-width: 940px;
  color: #000;
}
.hero .sub {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(0,0,0,.65);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex; gap: 56px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(0,0,0,.06);
}
.hero-stat .num {
  font-size: 32px; font-weight: 600;
  letter-spacing: -.025em; color: #000;
  font-variant-numeric: tabular-nums;
}
.hero-stat .label {
  font-size: 13px; font-weight: 400;
  color: rgba(0,0,0,.5); margin-top: 4px;
}

/* ===== Sections genéricas ===== */
.section-eye { margin-bottom: 16px; }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600; letter-spacing: -.025em;
  line-height: 1.1; color: #000;
  margin-bottom: 14px; max-width: 720px;
}
.section-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300; line-height: 1.55;
  color: rgba(0,0,0,.6);
  max-width: 600px; margin-bottom: 56px;
}

/* ===== Servicios ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 36px 32px;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
  min-height: 240px;
}
.service-card:hover {
  border-color: rgba(0,0,0,.25);
  transform: translateY(-2px);
}
.service-card .num {
  font-size: 11px; font-weight: 600;
  color: rgba(0,0,0,.5);
  letter-spacing: .26em; text-transform: uppercase;
  margin-bottom: 24px;
}
.service-card h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -.025em; margin-bottom: 10px;
  color: #000;
}
.service-card p {
  font-size: 15px; line-height: 1.6;
  font-weight: 300;
  color: rgba(0,0,0,.65);
  margin: 0 0 auto;
}

/* ===== Bonos ===== */
.section-light {
  background: #fafafa;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: #000; color: #fff;
  border-color: #000;
}
.price-card.featured .price-features li,
.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-desc,
.price-card.featured .price-period {
  color: #fff;
}
.price-card.featured .price-features li {
  border-top-color: rgba(255,255,255,.12);
}
.price-card.featured .price-features li::before {
  color: #fff;
}
.price-badge {
  position: absolute; top: -10px; right: 24px;
  background: #fff; color: #000;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #000;
}
.price-card h3 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.price-card .price-desc {
  font-size: 13px; color: rgba(0,0,0,.55);
  margin-bottom: 28px;
}
.price-amount {
  font-size: 48px; font-weight: 600;
  letter-spacing: -.04em; line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.price-amount .currency { font-size: 24px; vertical-align: top; margin-right: 2px; }
.price-period {
  font-size: 13px; color: rgba(0,0,0,.5);
  margin-bottom: 28px;
}
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 14px; font-weight: 400;
  display: flex; gap: 10px; align-items: flex-start;
  color: rgba(0,0,0,.75);
}
.price-features li:first-child { border-top: 0; }
.price-features li::before {
  content: ""; width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12.5l4.5 4.5L19 7' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain; background-repeat: no-repeat;
}
.price-card.featured .price-features li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12.5l4.5 4.5L19 7' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.price-cta {
  display: block; text-align: center;
  background: #000; color: #fff;
  padding: 14px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  margin-top: auto;
}
.price-cta:hover { opacity: 1; background: #1a1a1a; color: #fff; }
.price-card.featured .price-cta {
  background: #fff; color: #000;
}
.price-card.featured .price-cta:hover { background: #f0f0f0; }

/* ===== Testimonios ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 32px;
  background: #fff;
}
.testimonial-stars {
  font-size: 14px; letter-spacing: 2px;
  color: #000; margin-bottom: 18px;
}
.testimonial-text {
  font-size: 16px; line-height: 1.55;
  font-weight: 300;
  color: #000; margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.testimonial-author .name { font-size: 14px; font-weight: 500; color: #000; }
.testimonial-author .role { font-size: 12px; color: rgba(0,0,0,.5); }

/* ===== CTA Final ===== */
.cta-final {
  background: #000; color: #fff;
  padding: 110px 24px;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600; letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 800px; margin-left: auto; margin-right: auto;
  color: #fff;
}
.cta-final p {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-final .btn-dark {
  background: #fff; color: #000;
}
.cta-final .btn-dark:hover { background: #f0f0f0; }

/* ===== Footer ===== */
footer {
  background: #fff;
  padding: 70px 24px 40px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.footer-col h4 {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em; color: rgba(0,0,0,.5);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(0,0,0,.7); }
.footer-col a:hover { color: #000; opacity: 1; }
.footer-bottom {
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(0,0,0,.5);
}

/* ===== Chat Widget Floating ===== */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
}
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #000; color: #fff;
  border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.chat-toggle:hover { transform: scale(1.05); }
.chat-toggle svg { width: 22px; height: 22px; }
.chat-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 380px; height: 540px; max-height: 80vh;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  display: none; flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 12px;
}
.chat-header .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.chat-header .info { flex: 1; }
.chat-header .name {
  font-weight: 500; font-size: 15px; letter-spacing: -.01em; color: #000;
}
.chat-header .status {
  font-size: 12px; color: rgba(0,0,0,.5);
  display: flex; align-items: center; gap: 6px;
}
.chat-header .status .dot-online {
  width: 6px; height: 6px; border-radius: 50%; background: #16a34a;
}
.chat-body {
  flex: 1; padding: 24px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.chat-msg.bot {
  background: #f5f5f5; color: #000;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: #000; color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-input {
  display: flex; gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.chat-input input {
  flex: 1;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px; outline: none;
  color: #000;
}
.chat-input input:focus { border-color: rgba(0,0,0,.2); background: #fff; }
.chat-input button {
  background: #000; color: #fff;
  border: 0; border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero-stats { gap: 28px; }
  .chat-panel { width: calc(100vw - 48px); }
  .section { padding: 70px 24px; }
}

/* ============================================================
 * ÁREAS PRIVADAS · PANEL DUEÑO + ÁREA SOCIO
 * ============================================================ */

.app-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #fafafa;
}
.app-sidebar {
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 28px 18px;
  display: flex; flex-direction: column;
}
.app-sidebar .logo { margin-bottom: 36px; padding: 0 8px; }
.app-sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.app-sidebar nav a {
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 400;
  color: rgba(0,0,0,.65);
  display: flex; align-items: center; gap: 10px;
  transition: background .15s, color .15s;
}
.app-sidebar nav a:hover { background: #fafafa; color: #000; opacity: 1; }
.app-sidebar nav a.active {
  background: #f5f5f5; color: #000;
  font-weight: 500;
}
.app-sidebar .divider {
  height: 1px; background: rgba(0,0,0,.06);
  margin: 18px 0;
}
.app-sidebar .user-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: #fafafa;
  margin-bottom: 18px;
}
.app-sidebar .user-pill .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 12px;
}
.app-sidebar .user-pill .name { font-size: 13px; font-weight: 500; }
.app-sidebar .user-pill .role { font-size: 11px; color: rgba(0,0,0,.5); }

.app-content {
  padding: 40px 48px;
  background: #fafafa;
}
.app-content h1 {
  font-size: 28px; font-weight: 600;
  letter-spacing: -.025em;
  color: #000; margin-bottom: 6px;
}
.app-content .breadcrumb {
  font-size: 12px;
  color: rgba(0,0,0,.5);
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* KPIs */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.kpi-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 22px 22px;
}
.kpi-card .label {
  font-size: 11px; font-weight: 600;
  color: rgba(0,0,0,.5);
  text-transform: uppercase; letter-spacing: .14em;
}
.kpi-card .value {
  font-size: 30px; font-weight: 600;
  letter-spacing: -.025em;
  color: #000; margin-top: 8px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi-card .delta {
  font-size: 12px; margin-top: 8px;
  font-weight: 400; color: rgba(0,0,0,.55);
}
.kpi-card .delta.up { color: #16a34a; }
.kpi-card .delta.down { color: #dc2626; }

/* Cards generales */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 24px;
}
.card-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.card-h h2 {
  font-size: 16px; font-weight: 600;
  letter-spacing: -.015em;
  color: #000;
}
.card-h .meta {
  font-size: 12px; color: rgba(0,0,0,.5);
}

/* Tablas */
.data-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  vertical-align: middle;
}
.data-table th {
  background: #fafafa;
  font-weight: 600; font-size: 11px;
  color: rgba(0,0,0,.55);
  text-transform: uppercase; letter-spacing: .14em;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #fafafa; }
.data-table strong { font-weight: 500; color: #000; }

/* Tags · sutiles */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid;
}
.tag.activo { color: #16a34a; border-color: rgba(22,163,74,.2); background: rgba(22,163,74,.06); }
.tag.lead { color: rgba(0,0,0,.7); border-color: rgba(0,0,0,.15); background: rgba(0,0,0,.03); }
.tag.riesgo { color: #dc2626; border-color: rgba(220,38,38,.22); background: rgba(220,38,38,.06); }
.tag.demo { color: #000; border-color: rgba(0,0,0,.3); background: #fff; }

/* Login shell */
.login-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: #fafafa;
}
.login-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 44px 40px;
  width: 100%; max-width: 400px;
}
.login-card .logo { margin-bottom: 28px; }
.login-card h1 {
  font-size: 24px; font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.login-card p {
  font-size: 14px; font-weight: 300;
  color: rgba(0,0,0,.6); margin-bottom: 28px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px; font-weight: 500;
  color: rgba(0,0,0,.7); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #000;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #000;
}
.btn-full {
  display: block; width: 100%; text-align: center;
  background: #000; color: #fff;
  padding: 14px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px;
  border: 0; cursor: pointer;
  margin-top: 8px;
}
.btn-full:hover { background: #1a1a1a; }
.demo-banner {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(0,0,0,.7);
  margin-bottom: 24px;
  line-height: 1.45;
}
.demo-banner strong { color: #000; font-weight: 500; }

/* Alertas (panel dueño) */
.alert-block {
  background: #fff;
  border: 1px solid rgba(220,38,38,.18);
  border-left: 3px solid #dc2626;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.alert-block .h {
  font-size: 13px; font-weight: 600;
  color: #000; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.alert-block ul {
  list-style: none;
  font-size: 13px; line-height: 1.6;
  color: rgba(0,0,0,.75);
}
.alert-block ul li { margin-bottom: 6px; }
.alert-block ul li a { color: #000; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Notas/insights · más sutiles */
.insight-block {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(0,0,0,.7);
}
.insight-block strong { color: #000; font-weight: 500; }

/* Cross-sell · destacado pero limpio */
.crosssell-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.crosssell-card:hover { border-color: rgba(0,0,0,.18); }
.crosssell-card .h {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 12px;
}
.crosssell-card .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.crosssell-card .icon svg { width: 18px; height: 18px; }
.crosssell-card .title { font-size: 14px; font-weight: 500; color: #000; }
.crosssell-card .meta { font-size: 12px; color: rgba(0,0,0,.5); }
.crosssell-card .desc {
  font-size: 13px; color: rgba(0,0,0,.65);
  line-height: 1.5; margin-bottom: 14px;
}
.crosssell-card .cta {
  display: block; text-align: center;
  background: #000; color: #fff;
  padding: 10px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
}
.crosssell-card.subtle .cta {
  background: transparent; color: #000;
  border: 1px solid rgba(0,0,0,.15);
}

/* Chat conversación grande (área cliente) */
.chat-large {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.chat-large .h {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 12px;
}
.chat-large .h .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.chat-large .h .name {
  font-weight: 500; font-size: 14px; letter-spacing: -.01em;
}
.chat-large .h .status {
  font-size: 12px; color: rgba(0,0,0,.5);
}
.chat-large .body {
  padding: 22px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.chat-large .input-row {
  padding: 14px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex; gap: 8px;
}
.chat-large .input-row input {
  flex: 1; background: #fafafa;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px; color: #000;
  outline: none;
}
.chat-large .input-row input:focus { background: #fff; border-color: rgba(0,0,0,.15); }
.chat-large .input-row button {
  background: #000; color: #fff;
  border: 0; border-radius: 999px;
  padding: 0 20px; font-size: 14px; font-weight: 500;
}

/* Banner top sutil para demo */
.banner-demo {
  background: rgba(0,0,0,.03);
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-align: center; padding: 8px 24px;
  font-size: 12px;
  color: rgba(0,0,0,.6);
}
.banner-demo strong { color: #000; font-weight: 500; }

/* ===== Responsive áreas privadas ===== */
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-content { padding: 24px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
