:root {
    /* CoreVOps Design System 1.0 — global tokens. */
    --cv-color-primary: #1f6feb;
    --cv-color-primary-hover: #f0ceaa;
    --cv-color-primary-hover-text: #172033;
    --cv-color-primary-soft: #eff6ff;
    --cv-color-primary-ink: #1e40af;
    --cv-color-nav: #0b1830;
    --cv-color-nav-active: #1e5fc8;

    --cv-surface: #ffffff;
    --cv-surface-subtle: #f8fafc;
    --cv-page-bg: #f3f6fb;
    --cv-border: #dbe3ef;
    --cv-border-subtle: #e2e8f0;
    --cv-border-strong: #cbd5e1;

    --cv-text-strong: #0f172a;
    --cv-text: #334155;
    --cv-text-soft: #475569;
    --cv-text-muted: #64748b;
    --cv-text-faint: #94a3b8;

    --cv-status-active: #3b82f6;
    --cv-status-confirmed: #22c55e;
    --cv-status-completed: #0f766e;
    --cv-status-no-show: #94a3b8;
    --cv-status-cancelled: #f59e0b;
    --cv-status-danger: #ef4444;

    --cv-radius-xs: 7px;
    --cv-radius-sm: 9px;
    --cv-radius-md: 13px;
    --cv-radius-lg: 17px;
    --cv-radius-xl: 22px;
    --cv-radius-pill: 999px;

    --cv-shadow-card: 0 4px 14px rgba(15,23,42,.035);
    --cv-shadow-panel: 0 8px 24px rgba(15,23,42,.04);
    --cv-shadow-modal: 0 30px 80px rgba(15,23,42,.28);

    --cv-space-1: 4px;
    --cv-space-2: 8px;
    --cv-space-3: 12px;
    --cv-space-4: 16px;
    --cv-space-5: 20px;
    --cv-space-6: 24px;
    --cv-space-8: 32px;

    --cv-control-height: 39px;
    --cv-button-height: 36px;
    --cv-sidebar-width: 238px;
    --cv-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* CoreVOps Design System 1.1 — operational component tokens. */
:root {
    --cv-module-max-width: 100%;
    --cv-panel-padding: var(--cv-space-4);
    --cv-card-padding: var(--cv-space-4);
    --cv-table-row-height: 54px;
    --cv-modal-large-width: 1040px;
    --cv-overlay: rgba(15,23,42,.62);
    --cv-success-bg: #f0fdf4;
    --cv-success-border: #bbf7d0;
    --cv-success-text: #166534;
    --cv-warning-bg: #fffbeb;
    --cv-warning-border: #fde68a;
    --cv-warning-text: #92400e;
    --cv-whatsapp: #16a34a;
}

/* CoreVOps Design System 1.2 — follow-up semantics shared by current/future CRM modules. */
:root {
    --cv-priority-urgent-bg:#fee2e2;
    --cv-priority-urgent-text:#b91c1c;
    --cv-priority-high-bg:#ffedd5;
    --cv-priority-high-text:#c2410c;
    --cv-priority-normal-bg:#dbeafe;
    --cv-priority-normal-text:#1d4ed8;
    --cv-priority-low-bg:#f1f5f9;
    --cv-priority-low-text:#475569;
    --cv-followup-overdue-bg:#fff7ed;
}

/* CoreVOps Design System 1.3 — blocked operational intervals (meal, maintenance, future holds). */
:root {
    --cv-blocked-bg: #f1f5f9;
    --cv-blocked-border: #cbd5e1;
    --cv-blocked-text: #64748b;
    --cv-blocked-stripe: rgba(100,116,139,.12);
}


/* CoreVOps Design System 1.4 — shared informational callouts. */
:root {
    --cv-info-bg: #eff6ff;
    --cv-info-border: #bfdbfe;
    --cv-info-text: #1d4ed8;
}

/* CoreVOps Design System 1.5 — SAR commercial states. */
:root {
    --cv-sar-detected-bg: #fef3c7;
    --cv-sar-detected-text: #92400e;
    --cv-sar-offered-bg: #dbeafe;
    --cv-sar-offered-text: #1d4ed8;
    --cv-sar-authorized-bg: #ccfbf1;
    --cv-sar-authorized-text: #0f766e;
    --cv-sar-sold-bg: #dcfce7;
    --cv-sar-sold-text: #166534;
    --cv-sar-realized-bg: #e0f2fe;
    --cv-sar-realized-text: #0369a1;
    --cv-sar-rejected-bg: #fee2e2;
    --cv-sar-rejected-text: #b91c1c;
    --cv-sar-unauthorized-bg: #e2e8f0;
    --cv-sar-unauthorized-text: #475569;
}
