/* ====================================================================
   Zamaritan — estilos base (comercial moderno)
   Paleta: blanco / azul oscuro #1E3A8A / gris #F8FAFC
   Tipografía: Inter, fallback system
   ==================================================================== */

:root {
    --zm-primary: #1E3A8A;
    --zm-primary-hover: #1E40AF;
    --zm-primary-light: #DBEAFE;
    --zm-accent: #3B82F6;

    --zm-bg: #FFFFFF;
    --zm-bg-soft: #F8FAFC;
    --zm-bg-muted: #F1F5F9;
    --zm-border: #E2E8F0;
    --zm-border-strong: #CBD5E1;

    --zm-text: #0F172A;
    --zm-text-muted: #475569;
    --zm-text-subtle: #94A3B8;

    --zm-success: #16A34A;
    --zm-error: #DC2626;
    --zm-warning: #D97706;

    --zm-radius: 8px;
    --zm-radius-lg: 12px;

    --zm-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --zm-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    --zm-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);

    --zm-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--zm-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--zm-text);
    background-color: var(--zm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--zm-primary);
    text-decoration: none;
}

a:hover {
    color: var(--zm-primary-hover);
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    color: var(--zm-text);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
    color: var(--zm-text-muted);
}

/* --- Layout --- */

.zm-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.zm-container-narrow {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Nav --- */

.zm-nav {
    background: var(--zm-bg);
    border-bottom: 1px solid var(--zm-border);
    padding: 1rem 0;
}

.zm-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.zm-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--zm-text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.zm-brand:hover {
    text-decoration: none;
    color: var(--zm-primary);
}

.zm-brand-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--zm-primary);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.zm-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.zm-nav-links a {
    color: var(--zm-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.zm-nav-links a:hover {
    color: var(--zm-text);
    text-decoration: none;
}

/* --- Buttons --- */

.zm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--zm-radius);
    cursor: pointer;
    transition:
        background-color 120ms ease,
        border-color 120ms ease,
        color 120ms ease,
        box-shadow 120ms ease;
    text-decoration: none;
}

.zm-btn-primary {
    background: var(--zm-primary);
    color: #fff;
}

.zm-btn-primary:hover {
    background: var(--zm-primary-hover);
    color: #fff;
    text-decoration: none;
}

.zm-btn-secondary {
    background: var(--zm-bg);
    color: var(--zm-text);
    border-color: var(--zm-border-strong);
}

.zm-btn-secondary:hover {
    background: var(--zm-bg-soft);
    color: var(--zm-text);
    text-decoration: none;
}

.zm-btn-block {
    width: 100%;
}

/* --- Hero --- */

.zm-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, var(--zm-bg) 0%, var(--zm-bg-soft) 100%);
    text-align: center;
}

.zm-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.zm-hero p {
    font-size: 1.15rem;
    color: var(--zm-text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.zm-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Features --- */

.zm-section {
    padding: 4rem 0;
}

.zm-section-soft {
    background: var(--zm-bg-soft);
}

.zm-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.zm-section-title h2 {
    margin-bottom: 0.5rem;
}

.zm-section-title p {
    color: var(--zm-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.zm-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.zm-feature {
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--zm-shadow-sm);
}

.zm-feature h3 {
    margin-bottom: 0.5rem;
    color: var(--zm-text);
}

.zm-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.zm-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--zm-radius);
    background: var(--zm-primary-light);
    color: var(--zm-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Footer --- */

.zm-footer {
    border-top: 1px solid var(--zm-border);
    padding: 2rem 0;
    background: var(--zm-bg);
    color: var(--zm-text-subtle);
    font-size: 0.875rem;
    text-align: center;
}

/* --- Cards (dashboard / app) --- */

.zm-card {
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--zm-shadow-sm);
}

.zm-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--zm-text);
    margin-bottom: 0.75rem;
}

/* --- Auth (login card) --- */

.zm-auth-wrap {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--zm-bg-soft);
}

.zm-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--zm-shadow-lg);
}

.zm-auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-align: center;
}

.zm-auth-subtitle {
    color: var(--zm-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.zm-form-group {
    margin-bottom: 1.25rem;
}

.zm-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zm-text);
    margin-bottom: 0.375rem;
}

.zm-form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--zm-text);
    background: var(--zm-bg);
    border: 1px solid var(--zm-border-strong);
    border-radius: var(--zm-radius);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.zm-form-input:focus {
    outline: none;
    border-color: var(--zm-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

/* --- Flash messages --- */

.zm-flash {
    border-radius: var(--zm-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.zm-flash-error {
    background: #FEF2F2;
    color: var(--zm-error);
    border-color: #FECACA;
}

.zm-flash-info {
    background: var(--zm-primary-light);
    color: var(--zm-primary);
    border-color: #BFDBFE;
}

.zm-flash-success {
    background: #F0FDF4;
    color: var(--zm-success);
    border-color: #BBF7D0;
}

/* --- Dashboard layout --- */

.zm-dash {
    padding: 2.5rem 0;
}

.zm-dash-header {
    margin-bottom: 2rem;
}

.zm-dash-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.zm-dash-header p {
    color: var(--zm-text-muted);
    margin: 0;
}

.zm-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.zm-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--zm-text-muted);
}

.zm-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- Utilities --- */

.zm-mt-1 { margin-top: 0.5rem; }
.zm-mt-2 { margin-top: 1rem; }
.zm-mt-3 { margin-top: 1.5rem; }
.zm-mt-4 { margin-top: 2rem; }
.zm-text-muted { color: var(--zm-text-muted); }
.zm-text-center { text-align: center; }
.zm-text-small { font-size: 0.875rem; }

@media (max-width: 640px) {
    .zm-hero {
        padding: 4rem 0 3rem;
    }
    .zm-hero h1 {
        font-size: 2.25rem;
    }
    .zm-nav-links {
        gap: 1rem;
    }
}

/* ====================================================================
   Feed cards (tweets curados de Samaritan) — diseño "tarjeta con zonas"
   ==================================================================== */

.zm-feed-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.zm-feed-card {
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.zm-feed-card:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
    transform: translateY(-2px);
}

/* ---- Header ---- */
.zm-feed-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--zm-border);
    background: var(--zm-bg-soft);
}

.zm-feed-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    border: 1px solid transparent;
}

/* Colores por categoría — header se tinta también */
.zm-cat-anthropic    { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.zm-cat-software     { background: #DBEAFE; color: #1E40AF; border-color: #BFDBFE; }
.zm-cat-ia-modelos   { background: #E0E7FF; color: #3730A3; border-color: #C7D2FE; }
.zm-cat-ia-aplicada  { background: #CFFAFE; color: #155E75; border-color: #A5F3FC; }
.zm-cat-vanguardia   { background: #FCE7F3; color: #9D174D; border-color: #FBCFE8; }
.zm-cat-ciber        { background: #FEE2E2; color: #991B1B; border-color: #FECACA; }
.zm-cat-finanzas     { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.zm-cat-matematicas  { background: #EDE9FE; color: #5B21B6; border-color: #DDD6FE; }
.zm-cat-estadistica  { background: #CCFBF1; color: #115E59; border-color: #99F6E4; }
.zm-cat-senal        { background: #F1F5F9; color: #334155; border-color: #E2E8F0; }

/* Header pintado del color de la categoría — variantes */
.zm-feed-head.zm-cat-anthropic   { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border-bottom-color: #FDE68A; }
.zm-feed-head.zm-cat-software    { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); border-bottom-color: #BFDBFE; }
.zm-feed-head.zm-cat-ia-modelos  { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); border-bottom-color: #C7D2FE; }
.zm-feed-head.zm-cat-ia-aplicada { background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%); border-bottom-color: #A5F3FC; }
.zm-feed-head.zm-cat-vanguardia  { background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%); border-bottom-color: #FBCFE8; }
.zm-feed-head.zm-cat-ciber       { background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%); border-bottom-color: #FECACA; }
.zm-feed-head.zm-cat-finanzas    { background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%); border-bottom-color: #BBF7D0; }
.zm-feed-head.zm-cat-matematicas { background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%); border-bottom-color: #DDD6FE; }
.zm-feed-head.zm-cat-estadistica { background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%); border-bottom-color: #99F6E4; }
.zm-feed-head.zm-cat-senal       { background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%); border-bottom-color: #E2E8F0; }

.zm-feed-author {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--zm-text);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.zm-feed-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zm-primary), var(--zm-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}

.zm-feed-time {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--zm-text-subtle);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- Cuerpo: texto del tweet ---- */
.zm-feed-body {
    padding: 1.1rem 1.25rem;
    background: var(--zm-bg);
}

.zm-feed-text {
    color: var(--zm-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- Callout: "Por qué importa" ---- */
.zm-feed-reason {
    margin: 0 1.25rem 1.1rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-left: 4px solid var(--zm-primary);
    border-radius: 10px;
    padding: 0.85rem 1rem 0.95rem;
    position: relative;
}

.zm-feed-reason-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zm-primary);
    margin-bottom: 0.4rem;
}

.zm-feed-reason-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    background: var(--zm-primary);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.zm-feed-reason-text {
    color: #1E3A8A;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Footer ---- */
.zm-feed-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-top: 1px solid var(--zm-border);
    background: var(--zm-bg-soft);
}

.zm-feed-link {
    color: var(--zm-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 120ms ease, transform 120ms ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.zm-feed-link:hover {
    color: var(--zm-primary-hover);
    text-decoration: none;
    transform: translateX(2px);
}

.zm-feed-score {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--zm-text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.zm-feed-score-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--zm-success);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.zm-feed-score-dot.warn { background: var(--zm-warning); box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15); }
.zm-feed-score-dot.low  { background: var(--zm-text-subtle); box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15); }

/* ====================================================================
   K-Pulse — tablero de KPIs
   ==================================================================== */

.zm-kp-wrap { padding: 2.5rem 0 3rem; }

.zm-kp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.zm-kp-title h1 {
    font-size: 1.85rem;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.zm-kp-title p {
    margin: 0;
    color: var(--zm-text-muted);
    font-size: 0.95rem;
}

.zm-kp-controls {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.zm-kp-period-btn {
    padding: 0.45rem 0.9rem;
    border-radius: var(--zm-radius);
    border: 1px solid var(--zm-border-strong);
    background: var(--zm-bg);
    color: var(--zm-text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
    text-decoration: none;
}

.zm-kp-period-btn:hover {
    background: var(--zm-bg-soft);
    color: var(--zm-text);
    text-decoration: none;
}

.zm-kp-period-btn.active {
    background: var(--zm-primary);
    color: #fff;
    border-color: var(--zm-primary);
}

.zm-kp-meta {
    font-size: 0.78rem;
    color: var(--zm-text-subtle);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
}

.zm-kp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--zm-success);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
    animation: zm-kp-pulse 2s infinite;
}

@keyframes zm-kp-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ── KPI cards ── */

.zm-kp-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.zm-kp-kpi {
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--zm-shadow-sm);
}

.zm-kp-kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zm-text-subtle);
    margin-bottom: 0.4rem;
}

.zm-kp-kpi-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--zm-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.zm-kp-kpi-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--zm-text-muted);
    margin-left: 0.3rem;
}

.zm-kp-kpi-delta {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--zm-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.zm-kp-kpi-delta.up   { color: var(--zm-success); }
.zm-kp-kpi-delta.down { color: var(--zm-error); }
.zm-kp-kpi-delta.flat { color: var(--zm-text-subtle); }

/* ── Cards de gráficos ── */

.zm-kp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.zm-kp-chart {
    background: var(--zm-bg);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--zm-shadow-sm);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.zm-kp-chart-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--zm-text);
    margin: 0 0 1rem;
}

.zm-kp-chart-canvas {
    flex: 1;
    min-height: 240px;
    position: relative;
}

/* ── Sección narrativa LLM ── */

.zm-kp-narrative {
    background: linear-gradient(135deg, #F0F9FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: var(--zm-radius-lg);
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.5rem;
}

.zm-kp-narrative-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.zm-kp-narrative-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--zm-primary);
}

.zm-kp-narrative-section {
    margin-top: 1.1rem;
}

.zm-kp-narrative-section h3 {
    font-size: 0.85rem;
    color: var(--zm-text);
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.zm-kp-trending {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.zm-kp-trend-tag {
    padding: 0.35rem 0.85rem;
    background: var(--zm-bg);
    border: 1px solid #BFDBFE;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--zm-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.zm-kp-trend-tag .count {
    color: var(--zm-text-subtle);
    font-weight: 500;
    font-size: 0.75rem;
}

.zm-kp-evento {
    background: var(--zm-bg);
    border: 1px solid #BFDBFE;
    border-radius: var(--zm-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.zm-kp-evento-title {
    font-weight: 700;
    color: var(--zm-text);
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
}

.zm-kp-evento-desc {
    color: var(--zm-text-muted);
    font-size: 0.83rem;
    margin: 0;
}

.zm-kp-sentiment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--zm-bg);
    border: 1px solid #BFDBFE;
    border-radius: 999px;
    font-weight: 700;
    color: var(--zm-text);
}

.zm-kp-empty {
    color: var(--zm-text-subtle);
    font-size: 0.9rem;
    font-style: italic;
}

/* ── CTA card en landing → K-Pulse ── */

.zm-kp-cta {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    border-radius: var(--zm-radius-lg);
    padding: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 18px 36px rgba(30, 58, 138, 0.18);
    margin-top: 2rem;
}

.zm-kp-cta-content h3 {
    color: #fff;
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
}

.zm-kp-cta-content p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 0.95rem;
}

.zm-kp-cta .zm-btn {
    background: #fff;
    color: var(--zm-primary);
    border: none;
    font-weight: 700;
}

.zm-kp-cta .zm-btn:hover {
    background: var(--zm-bg-soft);
    color: var(--zm-primary-hover);
}
