/* Copia de los tokens aprobados de Zona Core, integracion cc2565f. */
:root {
  /* Marca */
  --brand-primary: #0f2742;
  --brand-primary-hover: #183a60;
  --brand-accent: #c6a15b;

  /* Navegación */
  --nav-background: var(--brand-primary);
  --nav-surface: var(--brand-primary);
  --nav-text: #cbd5e1;
  --nav-text-active: #ffffff;

  /* Aplicación */
  --app-background: var(--crm-workspace);
  --surface: #ffffff;
  --surface-secondary: #f8fafc;

  /* Tema aprobado: punto único para toda la aplicación. */
  --crm-workspace: #c5d1e0;
  --crm-heading-background: #173451;
  --crm-heading-text: #ffffff;
  --crm-heading-muted: #c4d4e7;
  --crm-heading-accent: #e7c580;
  --crm-panel-border: #dbe4ef;
  --crm-panel-radius: 14px;
  --crm-panel-shadow: 0 2px 8px rgb(37 78 123 / 4%);
  --workspace-image: url('/imagenes/vivienda-zona-core.jpg');
  --workspace-image-height: 210px;
  --workspace-image-opacity: .8;
  --button-primary-background: var(--brand-primary);
  --button-primary-text: var(--crm-heading-accent);
  --button-secondary-background: var(--surface);
  --button-secondary-text: var(--brand-primary);
  --on-accent: #102844;
  --status-danger-background: #fff0f2;
  --status-info-background: #eaf2ff;
  --interaction-wash: rgb(23 52 81 / 6%);
  --backdrop: rgb(8 22 38 / 55%);
  --shadow-dialog: 0 18px 55px rgb(9 28 50 / 22%);
  --shadow-login: 0 18px 55px rgb(15 39 66 / 10%);
  --shadow-navigation: 4px 0 24px rgb(11 23 38 / 6%);
  --tracking-brand: .1em;
  --tracking-navigation: .18em;
  --disabled-opacity: .55;
  --motion-fast: 150ms;
  --weight-semibold: 650;
  --weight-bold: 750;
  --tracking-title: -.035em;
  --text-body: 14px;
  --font-ui: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  --media-background: #000000;
  --text-micro: 10px;
  --text-caption: 11px;
  --text-page-title: 30px;
  --text-input-mobile: 16px;
  --touch-height: 44px;
  --focus-width: 2px;
  --control-padding: 10px 14px;
  --table-cell-padding: 14px 16px;
  --badge-padding: 5px 9px;
  --page-heading-padding: 26px 30px 0;
  --radius-badge: 7px;
  --agenda-adquisicion: #24895a;
  --agenda-seguimiento: #3678c4;
  --agenda-venta: #d58b2d;
  --agenda-operacion: #8254b3;
  --agenda-otra: #78838f;
  --agenda-llamada: #facc15;
  --agenda-llamada-texto: #172033;
  --agenda-realizada-pattern: repeating-linear-gradient(135deg,transparent 0px,transparent 6px,rgb(0 0 0 / 25%) 6px,rgb(0 0 0 / 25%) 9px);

  /* Texto */
  --text-primary: #172033;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  /* Bordes */
  --border: var(--crm-panel-border);
  --border-strong: #cbd5e1;

  /* Estados */
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  --info: #0369a1;

  /* Shared visual primitives */
  --selection-background: #dce7f5;
  --row-hover: #fafcff;
  --record-active-background: #f2f6fb;
  --record-active-hover: #e7eff8;
  --record-closed-background: #f5f5f6;
  --record-closed-hover: #eceef1;
  --record-header-background: var(--crm-heading-background);
  --record-header-text: var(--nav-text-active);
  --section-heading-background: var(--crm-heading-background);
  --property-neutral-bg: #e9edf2;
  --property-neutral-accent: #526174;
  --property-news-bg: #e7f2ff;
  --property-news-accent: #2563a6;
  --property-listing-bg: #f0e8fc;
  --property-listing-accent: #7c3db0;
  --property-reserved-bg: #fff1d6;
  --property-reserved-accent: #a56a0b;
  --property-sold-bg: #e5f4e6;
  --property-sold-accent: #28763d;
  --property-withdrawn-bg: #fbe8ec;
  --property-withdrawn-accent: #a64160;
  --status-active-background: #eaf7ef;
  --status-active-text: #166534;
  --status-pending-background: #fff5dc;
  --status-pending-text: #92400e;
  --status-inactive-background: #f1f5f9;
  --status-inactive-text: #475569;
  --focus-ring: color-mix(in srgb, var(--brand-primary) 15%, transparent);
  --radius-control: 10px;
  --radius-panel: var(--crm-panel-radius);
  --radius-card: var(--crm-panel-radius);
  --control-height: 42px;
  --text-control: 14px;
  --text-label: 12px;
  --text-table: 13px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --shadow-card: var(--crm-panel-shadow);

  /* Base */
  --background: var(--app-background);
  --foreground: var(--text-primary);
}
:root { --premium-nav:#091c32; --premium-nav-light:#102844; --premium-ink:#152b45; --font-geist-sans:Geist; }
