@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ============================================================
   HAYARA CRM · Estilos
   Paleta blanco y negro · Space Grotesk
   ============================================================ */

:root {
    --black: #0A0A0A;
    --near-black: #1A1A1A;
    --dark-gray: #404040;
    --mid-gray: #737373;
    --light-gray: #D4D4D4;
    --pale-gray: #F5F5F5;
    --off-white: #FAFAFA;
    --white: #FFFFFF;
    --red: #B91C1C;
    --space-grotesk: 'Space Grotesk', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    font-family: var(--space-grotesk);
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--off-white);
    color: var(--black);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--black); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: var(--space-grotesk); cursor: pointer; }

/* Tipografía editorial */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--mid-gray); font-weight: 500; }
.eyebrow-dash::before { content: '— '; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--black);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--black);
}
.logo img {
    display: block;
    height: 56px;
    width: auto;
}
/* Compatibilidad hacia atrás (login / otros sitios que aún usen el texto) */
.logo h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.08em;
    line-height: 1;
}
.logo-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}
.logo-sub::before, .logo-sub::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--black);
}
.logo-sub span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 300;
}
.brand-divider { width: 1px; height: 56px; background: var(--light-gray); }
.brand-meta .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--mid-gray); }
.brand-meta .value { font-size: 14px; font-weight: 500; margin-top: 4px; }

.user-info { text-align: right; }
.user-info .name { font-weight: 500; }
.user-info .role { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--mid-gray); margin-top: 4px; }

/* Navegación */
.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    border-top: 1px solid var(--pale-gray);
}
.nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--mid-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    transition: all 0.15s;
}
.nav a:hover { color: var(--black); }
.nav a.active {
    color: var(--black);
    font-weight: 600;
    border-bottom-color: var(--black);
}
.nav-badge {
    background: var(--black);
    color: var(--white);
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    min-width: 18px;
    text-align: center;
}
.nav a.active .nav-badge { background: var(--black); color: var(--white); }

/* ============================================================
   MAIN
   ============================================================ */
.main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--black);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.page-header h2 { font-size: 48px; line-height: 1; }
.page-header .eyebrow { margin-bottom: 12px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.btn:hover { background: var(--black); color: var(--white); text-decoration: none; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--near-black); }
.btn-sm { padding: 8px 16px; font-size: 10px; }
.btn-icon { padding: 8px; }
.btn-icon:hover { background: var(--black); color: var(--white); }
.btn-link { background: none; border: none; padding: 0; color: var(--black); }
.btn-link:hover { background: none; text-decoration: underline; }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--mid-gray);
    font-weight: 500;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
    outline: none;
    font-family: var(--space-grotesk);
}
.form-control:focus { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-row { display: grid; gap: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.form-help { font-size: 11px; color: var(--mid-gray); margin-top: 4px; }

/* ============================================================
   CARDS / TABLAS
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--black);
    padding: 28px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--black);
    table-layout: fixed; /* Fuerza anchos fijos */
}
.table thead { background: var(--black); }
.table th {
    text-align: left;
    padding: 16px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--white);
    font-weight: 500;
}
.table th:last-child { text-align: right; }
.table td { 
    padding: 16px; 
    border-bottom: 1px solid var(--pale-gray); 
    vertical-align: middle;
    overflow: hidden; /* Oculta contenido que desborda */
    text-overflow: ellipsis; /* Añade ... al final */
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--off-white); }
.table .actions { text-align: right; white-space: nowrap; }
.icon-action {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
    padding: 0;
    margin-left: 6px;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.15s;
}
.icon-action:first-child { margin-left: 0; }
.icon-action:hover {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
}
.icon-action-danger {
    border-color: var(--red);
    color: var(--red);
}
.icon-action-danger:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}
.icon-action svg { display: block; }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
}
.badge-dark { background: var(--black); color: var(--white); }
.badge-muted { background: var(--pale-gray); color: var(--mid-gray); border-color: var(--light-gray); }
.badge-prospect { background: #FFF7ED; color: #C2410C; border-color: #FDBA74; }

/* ============================================================
   GRID DE PROPIEDADES
   ============================================================ */
.grid-properties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.property-card {
    background: var(--white);
    border: 1px solid var(--black);
    transition: box-shadow 0.2s;
}
.property-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.property-image {
    aspect-ratio: 4/3;
    background: var(--black);
    position: relative;
    overflow: hidden;
    background-image: repeating-linear-gradient(135deg, transparent 0, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 21px);
}
.property-image img { width: 100%; height: 100%; object-fit: cover; }
.property-image-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); opacity: 0.3;
}
.property-image .badge { position: absolute; top: 12px; left: 12px; }
.property-image .operation {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 10px; font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.2em; background: var(--white); color: var(--black);
    font-weight: 600;
}
.property-info { padding: 20px; }
.property-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.property-info .address { font-size: 12px; color: var(--mid-gray); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.property-info .price { font-size: 24px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.02em; }
.property-features {
    display: flex; gap: 16px; font-size: 12px; color: var(--dark-gray);
    padding-bottom: 16px; border-bottom: 1px solid var(--pale-gray);
}
.property-features span { display: flex; align-items: center; gap: 4px; }
.property-features .type {
    margin-left: auto; font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--mid-gray);
}
.property-actions { display: flex; gap: 8px; padding-top: 16px; }
.property-actions .btn { flex: 1; justify-content: center; }
.property-actions .btn-icon { flex: 0; }

/* ============================================================
   KPIs
   ============================================================ */
.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--black);
}
.kpi {
    padding: 28px;
    background: var(--white);
    border-right: 1px solid var(--black);
}
.kpi:last-child { border-right: none; }
.kpi.dark { background: var(--black); color: var(--white); }
.kpi-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.kpi-value { font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; margin-bottom: 8px; }
.kpi.dark .kpi-value { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.kpi-label { font-size: 12px; color: var(--mid-gray); }
.kpi.dark .kpi-label { color: var(--light-gray); }
.kpi-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--mid-gray); }
.kpi.dark .kpi-eyebrow { color: var(--light-gray); }

/* ============================================================
   LEADS · BANDEJA DE ENTRADA
   ============================================================ */
.leads-layout {
    display: grid;
    background: var(--white);
    border: 1px solid var(--black);
}
.leads-layout.has-detail { grid-template-columns: 1fr 1.2fr; }
.leads-layout.no-detail { grid-template-columns: 1fr; }

.leads-list {
    border-right: 1px solid var(--black);
    max-height: 70vh;
    overflow-y: auto;
}
.leads-layout.no-detail .leads-list { border-right: none; }

.lead-item {
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--pale-gray);
    border-left: 3px solid transparent;
    transition: background 0.1s;
}
.lead-item:hover { background: var(--off-white); }
.lead-item.active { background: var(--pale-gray); border-left-color: var(--black); }
.lead-item-head { display: flex; align-items: flex-start; gap: 12px; }
.lead-icon {
    padding: 6px;
    border: 1px solid var(--black);
    color: var(--black);
    background: var(--white);
    flex-shrink: 0;
}
.lead-icon.pending { background: var(--black); color: var(--white); }
.lead-body { flex: 1; min-width: 0; }
.lead-name {
    display: flex; justify-content: space-between; gap: 8px; align-items: center;
    margin-bottom: 4px;
}
.lead-name strong { font-size: 14px; }
.lead-name.pending strong { font-weight: 600; }
.lead-time { font-size: 10px; color: var(--mid-gray); white-space: nowrap; }
.lead-property { font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.lead-property .ref { font-weight: 400; color: var(--mid-gray); }
.lead-message {
    font-size: 12px; color: var(--mid-gray); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-tags { display: flex; gap: 8px; align-items: center; margin-top: 8px; }

.lead-detail { display: flex; flex-direction: column; max-height: 70vh; }
.lead-detail-head { padding: 24px; background: var(--black); color: var(--white); }
.lead-detail-head .eyebrow { color: var(--light-gray); margin-bottom: 4px; }
.lead-detail-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.lead-detail-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.lead-detail-section .eyebrow { margin-bottom: 12px; }
.lead-contact-list { display: flex; flex-direction: column; gap: 8px; }
.lead-contact-list a { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.lead-property-card {
    padding: 12px; border: 1px solid var(--black);
}
.lead-property-card .price-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--pale-gray);
}
.lead-message-box {
    padding: 16px; background: var(--pale-gray); border: 1px solid var(--light-gray);
}
.lead-detail-actions {
    padding: 16px; border-top: 1px solid var(--black); background: var(--off-white);
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.lead-detail-actions .full { grid-column: span 2; }

/* Banner informativo */
.info-banner {
    padding: 16px;
    background: var(--pale-gray);
    border: 1px solid var(--light-gray);
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.info-banner code {
    font-family: monospace;
    background: var(--white);
    padding: 2px 8px;
    border: 1px solid var(--light-gray);
    font-size: 12px;
}

/* ============================================================
   CALENDARIO SEMANAL
   ============================================================ */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-controls .nav-buttons { display: flex; gap: 12px; }
.calendar-range { font-size: 14px; color: var(--mid-gray); }

.calendar {
    background: var(--white);
    border: 1px solid var(--black);
}
.calendar-head {
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr);
    border-bottom: 1px solid var(--black);
}
.calendar-head .corner { background: var(--pale-gray); border-right: 1px solid var(--black); }
.calendar-head .day {
    text-align: center;
    padding: 12px 8px;
    background: var(--pale-gray);
    border-right: 1px solid var(--light-gray);
}
.calendar-head .day:last-child { border-right: none; }
.calendar-head .day.today { background: var(--black); color: var(--white); }
.calendar-head .day .dow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--mid-gray); font-weight: 500; }
.calendar-head .day.today .dow { color: var(--light-gray); }
.calendar-head .day .num { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; }

.calendar-body { display: grid; grid-template-columns: 60px repeat(7, 1fr); position: relative; }
.calendar-hours { border-right: 1px solid var(--black); }
.hour-cell {
    height: 60px;
    border-bottom: 1px solid var(--pale-gray);
    padding-right: 8px;
    padding-top: 4px;
    text-align: right;
}
.hour-cell span {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--mid-gray); font-weight: 500;
}
.day-column { position: relative; border-right: 1px solid var(--light-gray); }
.day-column:last-child { border-right: none; }
.day-column.today { background: rgba(10,10,10,0.02); }
.day-slot { height: 60px; border-bottom: 1px solid var(--pale-gray); }

.visit {
    position: absolute;
    left: 4px; right: 4px;
    padding: 6px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.visit:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.visit.realizada { background: var(--white); color: var(--black); }
.visit.cancelada { background: var(--pale-gray); color: var(--mid-gray); text-decoration: line-through; }
.visit-time { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; line-height: 1.2; }
.visit-duration { font-size: 8px; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.7; }
.visit-title { font-size: 11px; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.visit-client { font-size: 10px; line-height: 1.2; margin-top: 2px; opacity: 0.8; }

.calendar-legend {
    display: flex; align-items: center; gap: 24px;
    margin-top: 20px; font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--mid-gray);
}
.calendar-legend .swatch {
    width: 16px; height: 16px; border: 1px solid var(--black);
    display: inline-block; vertical-align: middle; margin-right: 8px;
}

/* ============================================================
   LOGIN
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    padding: 24px;
}
.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border: 1px solid var(--black);
    padding: 48px;
}
.login-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--pale-gray);
}
.login-logo-img {
    display: block;
    margin: 0 auto;
    height: 64px;
    width: auto;
    max-width: 100%;
    color: var(--black); /* el SVG usa currentColor */
}
/* Compat hacia atrás (otras pantallas que sigan usando texto) */
.login-logo h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.login-logo .sub {
    margin-top: 8px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--mid-gray);
    font-weight: 300;
}
.login-card .btn { width: 100%; justify-content: center; padding: 14px; }
.login-error {
    background: var(--black);
    color: var(--white);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 12px;
    text-align: center;
}

/* ============================================================
   ALERTAS / FLASH
   ============================================================ */
.alert {
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--black);
    background: var(--white);
    font-size: 13px;
}
.alert-success { background: var(--black); color: var(--white); }
.alert-error { background: var(--white); color: var(--red); border-color: var(--red); }
.alert-info { background: var(--off-white); color: var(--dark-gray); border-color: var(--mid-gray); }

/* ============================================================
   CONFIRMACIÓN DE ACCIONES
   ============================================================ */
.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, 0.58);
}
.confirm-overlay.is-visible { display: flex; }
.confirm-dialog {
    width: min(100%, 460px);
    background: var(--white);
    border: 1px solid var(--black);
    padding: 28px;
    box-shadow: 16px 16px 0 rgba(10, 10, 10, 0.18);
}
.confirm-dialog .eyebrow { margin-bottom: 12px; color: var(--red); }
.confirm-dialog h3 {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 12px;
}
.confirm-dialog p {
    margin: 0;
    color: var(--dark-gray);
    line-height: 1.55;
}
.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}
.btn-danger {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}
.btn-danger:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 32px;
    border-top: 1px solid var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--mid-gray);
}

/* ============================================================
   UTILIDADES
   ============================================================ */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-mid { color: var(--mid-gray); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.text-italic { font-style: italic; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.search-box {
    position: relative;
    margin-bottom: 24px;
}
.search-box input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--white);
    border: 1px solid var(--black);
    color: var(--black);
    font-size: 14px;
    font-family: var(--space-grotesk);
}
.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================================
   HAMBURGUESA · base (oculto en escritorio)
   ============================================================ */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--black);
    cursor: pointer;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE · iPad / tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    html, body { font-size: 14px; }
    .header-inner { padding: 20px 24px; }
    .nav { padding: 0 24px; }
    .nav a { padding: 14px 16px; font-size: 11px; letter-spacing: 0.14em; gap: 8px; }
    .main { padding: 32px 24px; }
    .footer { padding: 24px; }
    .page-header h2 { font-size: 36px; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .kpi:nth-child(2) { border-right: none; }
    .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--black); }
    .kpi-value { font-size: 44px; }
    .form-row.cols-4 { grid-template-columns: 1fr 1fr; }
    .form-row.cols-3 { grid-template-columns: 1fr 1fr; }
    .grid-properties { grid-template-columns: repeat(2, 1fr) !important; }
    .leads-layout.has-detail { grid-template-columns: 1fr 1.3fr; }
    .calendar-head, .calendar-body { grid-template-columns: 48px repeat(7, minmax(80px, 1fr)); }
    .calendar { overflow-x: auto; }
    .calendar-head, .calendar-body { min-width: 720px; }
}

/* ============================================================
   RESPONSIVE · móvil / iPad portrait (≤900px) — hamburguesa
   ============================================================ */
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 16px 20px;
        gap: 12px;
    }
    .brand { gap: 16px; flex: 1; min-width: 0; }
    .logo h1 { font-size: 28px; }
    .logo img { height: 42px; }
    .brand-divider { display: none; }
    .brand-meta { display: none; }
    .user-info {
        order: 3;
        flex-basis: 100%;
        text-align: left;
        font-size: 12px;
        display: none; /* visible cuando el menú está abierto */
    }
    .user-info .role { letter-spacing: 0.18em; margin-top: 2px; }
    body.nav-open .user-info {
        display: block;
        padding: 12px 24px;
        background: var(--pale-gray);
        border-top: 1px solid var(--black);
    }

    .nav-toggle { display: inline-flex; }

    .nav {
        display: none;
        flex-direction: column;
        padding: 0;
        max-width: none;
        border-top: 1px solid var(--black);
        background: var(--white);
    }
    .nav.is-open { display: flex; }
    .nav a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--pale-gray);
        margin-bottom: 0;
        font-size: 13px;
        letter-spacing: 0.15em;
        justify-content: flex-start;
        width: 100%;
    }
    .nav a.active {
        border-bottom-color: var(--pale-gray);
        background: var(--pale-gray);
    }
    .nav a[style*="margin-left:auto"] {
        margin-left: 0 !important;
        border-top: 1px solid var(--black);
    }
    body.nav-open { overflow: hidden; }

    /* ============================================================
       Leads: layout vertical (lista arriba, detalle debajo)
       ============================================================ */
    .leads-layout,
    .leads-layout.has-detail,
    .leads-layout.no-detail { grid-template-columns: 1fr; }
    .leads-list { border-right: none; border-bottom: 1px solid var(--black); max-height: none; }
    .lead-detail { max-height: none; }
    .lead-detail-actions { grid-template-columns: 1fr; }
    .lead-detail-actions .full { grid-column: span 1; }

    /* ============================================================
       TABLAS → TARJETAS APILADAS (también iPad portrait)
       Cada <td> debe llevar data-label="Encabezado" para mostrar
       la etiqueta. Si no lo lleva, simplemente se apila sin etiqueta.
       ============================================================ */
    .table,
    .table thead,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }
    .table { border: none; background: transparent; table-layout: auto; }
    .table thead { display: none; }
    .table colgroup, .table col { display: none; }
    .table tbody tr {
        background: var(--white);
        border: 1px solid var(--black);
        margin-bottom: 12px;
        padding: 8px 0;
    }
    .table tbody tr:hover { background: var(--white); }
    .table td {
        border-bottom: 1px solid var(--pale-gray);
        padding: 12px 18px;
        text-align: left !important;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        position: relative;
    }
    .table td:last-child { border-bottom: none; }
    .table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--mid-gray);
        font-weight: 500;
        margin-bottom: 6px;
    }
    .table td.actions {
        text-align: left !important;
        white-space: normal;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 12px;
        background: var(--off-white);
        border-top: 1px solid var(--pale-gray);
    }
    .table td.actions::before { display: none; }
    .table td.actions form { display: inline-flex; }
    .leads-table .lead-table-title { gap: 8px; }
    .leads-table .lead-table-title small { display: block; margin-top: 4px; }

    /* En iPad portrait (≥640px) las tarjetas en 2 columnas para aprovechar el ancho */
    @media (min-width: 640px) {
        .table tbody {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .table tbody tr { margin-bottom: 0; }
    }
}

/* ============================================================
   RESPONSIVE · móvil (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    html, body { font-size: 14px; }
    .main { padding: 24px 16px; }
    .footer { padding: 20px 16px; flex-direction: column; gap: 8px; text-align: center; }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    .page-header h2 { font-size: 30px; }
    .page-header > * { width: 100%; }

    /* KPIs apilados */
    .kpis { grid-template-columns: 1fr; }
    .kpi { border-right: none; border-bottom: 1px solid var(--black); padding: 20px; }
    .kpi:last-child { border-bottom: none; }
    .kpi-value { font-size: 40px; }
    .kpi.dark .kpi-value { font-size: 22px; }

    /* Formularios en una columna */
    .form-row.cols-2,
    .form-row.cols-3,
    .form-row.cols-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }

    /* Inputs táctiles */
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px; /* evita zoom en iOS */
        min-height: 44px;
    }
    textarea, textarea.form-control { min-height: 100px; }

    /* Botones más grandes y apilables */
    .btn { padding: 12px 18px; font-size: 11px; min-height: 44px; }
    .btn-sm { padding: 10px 14px; min-height: 38px; }
    .icon-action { width: 38px; height: 38px; }

    /* Búsqueda */
    .search-box input { padding: 12px 12px 12px 40px; font-size: 16px; }

    /* Cards */
    .card { padding: 18px; }

    /* Propiedades en una columna */
    .grid-properties { grid-template-columns: 1fr !important; gap: 16px; }
    .property-image { height: 200px; }
    .property-info { padding: 16px; }
    .property-info .price { font-size: 20px; }

    /* Leads: layout vertical — movido al bloque 900 para que aplique en iPad portrait */

    /* ============================================================
       TABLAS → TARJETAS APILADAS — móvil (reglas finas)
       Las reglas base están en el bloque @media (max-width:900px).
       Aquí solo añadimos ajustes específicos de móvil estrecho.
       ============================================================ */
    .table td[data-label]::before {
        font-size: 9px;
        letter-spacing: 0.25em;
        margin-bottom: 4px;
    }
    .table td.actions {
        text-align: left !important;
        white-space: normal;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding-top: 12px;
        background: var(--off-white);
        border-top: 1px solid var(--pale-gray);
    }
    .table td.actions::before { display: none; }
    .table td.actions form { display: inline-flex; }
    .leads-table .lead-table-title { gap: 8px; }
    .leads-table .lead-table-title small { display: block; margin-top: 4px; }

    /* Calendario: scroll horizontal + columnas más estrechas */
    .calendar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .calendar-head, .calendar-body {
        grid-template-columns: 40px repeat(7, minmax(70px, 1fr));
        min-width: 560px;
    }
    .calendar-head .day { padding: 8px 4px; }
    .calendar-head .day .num { font-size: 18px; }
    .calendar-head .day .dow { font-size: 8px; letter-spacing: 0.18em; }
    .calendar-controls { flex-direction: column; align-items: stretch; gap: 12px; }
    .calendar-controls .nav-buttons { justify-content: space-between; }
    .calendar-range { text-align: center; font-size: 13px; }
    .calendar-legend { flex-wrap: wrap; gap: 12px; font-size: 9px; }
    .hour-cell { height: 50px; }
    .day-slot { height: 50px; }
    .visit { padding: 4px; }
    .visit-time { font-size: 9px; }
    .visit-title { font-size: 10px; }
    .visit-client { font-size: 9px; }

    /* Modales: ocupan toda la pantalla */
    div[style*="position:fixed"][style*="inset:0"],
    .confirm-overlay { padding: 12px !important; }
    .confirm-dialog { width: 100%; padding: 20px; box-shadow: 8px 8px 0 rgba(10,10,10,0.12); }
    .confirm-dialog h3 { font-size: 22px; }

    /* Grids inline en formularios (propiedad-form, extras, etc.) */
    [style*="grid-template-columns:repeat(3,1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns:repeat(4,1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Checkboxes y radios táctiles */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
        transform: scale(1.15);
        transform-origin: left center;
    }

    /* Cuadros con anchos fijos por inline style */
    div[style*="max-width:640px"],
    div[style*="max-width:560px"],
    div[style*="max-width:900px"],
    div[style*="width:900px"] {
        max-width: 100% !important;
        width: 100% !important;
    }
    div[style*="height:700px"] { height: 90vh !important; }

    /* Login */
    .login-card { padding: 28px 20px; }
    .login-logo { margin-bottom: 24px; padding-bottom: 20px; }
    .login-logo h1 { font-size: 26px; }

    /* Paginación cómoda */
    .paginacion { flex-wrap: wrap; gap: 6px; }
    .pag-btn { min-width: 38px; min-height: 38px; }
}

/* ============================================================
   RESPONSIVE · móvil pequeño (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .header-inner { padding: 12px 16px; }
    .logo h1 { font-size: 24px; }
    .logo img { height: 36px; }
    .main { padding: 20px 12px; }
    .page-header h2 { font-size: 26px; }
    .card { padding: 14px; }
    .kpi { padding: 16px; }
    .kpi-value { font-size: 34px; }
    .btn { padding: 11px 14px; font-size: 10px; letter-spacing: 0.15em; }
    .property-image { height: 180px; }
}

/* ============================================================
   RESPONSIVE · ajustes táctiles (cualquier pantalla táctil)
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
    .table tbody tr:hover { background: var(--white); }
    .property-card:hover { box-shadow: none; }
    a, button, .btn, .icon-action { -webkit-tap-highlight-color: rgba(10,10,10,0.08); }
}
/* ----------------------------------------------------------------------
/* ============================================================
   FORMULARIOS · PRO
   ============================================================ */

.form-group {
    margin-bottom: 18px;
}

/* Label */
.form-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--mid-gray);
    font-weight: 500;
    margin-bottom: 8px;
}

/* =========================
   BASE INPUTS / SELECTS
   ========================= */
.form-control {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    font-size: 14px;

    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);

    font-family: var(--space-grotesk);
    border-radius: 0;
    outline: none;

    transition: 
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

/* Placeholder */
.form-control::placeholder {
    color: var(--mid-gray);
}

/* Hover */
.form-control:hover {
    background: var(--off-white);
}

/* Focus (MUY IMPORTANTE UX) */
.form-control:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(10,10,10,0.1);
    background: var(--white);
}

/* Disabled */
.form-control:disabled {
    background: var(--pale-gray);
    color: var(--mid-gray);
    cursor: not-allowed;
}

/* =========================
   TEXTAREA
   ========================= */
textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
    padding-top: 12px;
}

/* =========================
   SELECT (DROPDOWN)
   ========================= */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 40px;
    cursor: pointer;

    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'>\
<path d='M1 1l5 5 5-5' stroke='black' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}

/* Hover específico select */
select.form-control:hover {
    background-color: var(--off-white);
}

/* Fix IE / Edge antiguo */
select.form-control::-ms-expand {
    display: none;
}

/* =========================
   ESTADOS (UX PRO)
   ========================= */

/* Error */
.form-group.error .form-control {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.form-group.error .form-label {
    color: var(--red);
}

/* Success */
.form-group.success .form-control {
    border-color: var(--black);
    box-shadow: 0 0 0 1px var(--black);
}

/* Focus dentro del grupo */
.form-group:focus-within .form-label {
    color: var(--black);
}

/* =========================
   HELP / ERROR TEXT
   ========================= */
.form-help {
    font-size: 11px;
    color: var(--mid-gray);
    margin-top: 6px;
}

.form-error {
    font-size: 11px;
    color: var(--red);
    margin-top: 6px;
}

/* =========================
   LAYOUT
   ========================= */
.form-row {
    display: grid;
    gap: 16px;
}

.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
/* =========================
   DATE INPUT (dd/mm/aaaa)
   ========================= */
.date-input-wrapper {
    position: relative;
}

.date-input {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.date-input::placeholder {
    color: var(--light-gray);
    font-style: italic;
}

.date-input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 1px var(--black);
}


/* =========================
   SVG ICONS
   ========================= */
svg {
    vertical-align: middle;
    display: inline-block;
}

.badge svg,
.btn svg {
    margin-right: 4px;
}


/* =========================
   EMAIL VIEWER (estilo gestor de correo)
   ========================= */

.email-viewer {
    background: var(--white);
    border: 1px solid var(--pale-gray);
    border-radius: 4px;
    overflow: hidden;
}

.email-viewer-header {
    padding: 20px;
    border-bottom: 1px solid var(--pale-gray);
}

.email-viewer-from {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.email-viewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.email-viewer-info {
    flex: 1;
    min-width: 0;
}

.email-viewer-sender {
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.email-viewer-sender strong {
    font-weight: 600;
    color: var(--black);
}

.email-viewer-address {
    color: var(--mid-gray);
    font-size: 13px;
}

.email-viewer-meta {
    font-size: 12px;
    color: var(--mid-gray);
}

.email-viewer-subject {
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid var(--pale-gray);
}

.email-viewer-body {
    padding: 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    min-height: 100px;
}

.email-viewer-browser {
    background: #F5F5F5;
    border: 1px solid var(--pale-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.email-viewer-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(to bottom, #FBFBFB, #F1F1F1);
    border-bottom: 1px solid var(--pale-gray);
}

.email-viewer-browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.email-viewer-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
}

.email-viewer-browser-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-gray);
}

.email-viewer-frame {
    display: block;
    width: 100%;
    border: none;
    background: #fff;
    min-height: 240px;
    max-height: 720px;
}

.email-viewer-clean {
    background: #fff;
    border: 1px solid var(--pale-gray);
    border-radius: 10px;
    overflow: hidden;
}

.email-viewer-clean-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(to bottom, #FBFBFB, #F1F1F1);
    border-bottom: 1px solid var(--pale-gray);
}

.email-viewer-clean-content {
    padding: 22px 20px;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.75;
}

.email-viewer-clean-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.email-viewer-clean-content table {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.email-viewer-clean-content td,
.email-viewer-clean-content th {
    vertical-align: top;
}

.email-viewer-clean-content a {
    color: #145BC7;
    text-decoration: underline;
    word-break: break-word;
}

.email-viewer-clean-content p {
    margin: 0 0 12px 0;
}

.email-viewer-clean-content div,
.email-viewer-clean-content span,
.email-viewer-clean-content section {
    max-width: 100%;
}

.email-viewer-text-render {
    background: #fff;
    padding: 22px 20px;
}

.email-viewer-text-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 10px;
}

.email-viewer-text-body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--dark-gray);
    white-space: normal;
}

.email-viewer-source {
    margin-top: 12px;
    border: 1px solid var(--pale-gray);
    border-radius: 8px;
    background: #FAFAFA;
    overflow: hidden;
}

.email-viewer-source summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mid-gray);
}

.email-viewer-source summary::-webkit-details-marker {
    display: none;
}

.email-viewer-source pre {
    margin: 0;
    padding: 14px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--dark-gray);
    background: #fff;
    border-top: 1px solid var(--pale-gray);
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.email-viewer-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding: 16px 20px;
    background: var(--off-white);
    border-top: 1px solid var(--pale-gray);
}

.email-viewer-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--pale-gray);
    border-radius: 4px;
}

.email-viewer-highlight-item svg {
    flex-shrink: 0;
    color: var(--mid-gray);
    margin-top: 2px;
}


/* ── Paginación ────────────────────────────────────────────── */
.paginacion {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    border: 1px solid var(--pale-gray);
    background: #fff;
    transition: background 0.1s, border-color 0.1s;
}
.pag-btn:hover { background: var(--pale-gray); border-color: var(--light-gray); }
.pag-btn.pag-active { background: var(--dark-gray); color: #fff; border-color: var(--dark-gray); }
.pag-btn.pag-disabled { color: var(--mid-gray); pointer-events: none; background: var(--pale-gray); }
.pag-ellipsis { font-size: 13px; color: var(--mid-gray); padding: 0 4px; line-height: 32px; }


/* ── Tooltips en SVG ────────────────────────────────────────── */
svg[title] {
    cursor: help;
}

/* Estilos para mejorar la visualización de tooltips nativos */
svg[title]:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* Tooltip personalizado con data-tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: var(--near-black);
    color: var(--white);
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
}

[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--near-black);
    z-index: 1000;
    pointer-events: none;
}
.pag-info { font-size: 12px; color: var(--mid-gray); margin-left: 8px; }

/* ============================================================
   FOLLOW-UPS
   ============================================================ */
.followup-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.followup-stat-card {
    background: var(--white);
    border: 1px solid var(--black);
    padding: 16px;
}

.followup-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--mid-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.followup-stat-value {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--black);
}

/* Filas de tabla */
.followup-row { background: var(--white); }
.followup-row.followup-state-completado { background: var(--pale-gray); color: var(--dark-gray); }
.followup-row.followup-priority-alta:not(.followup-state-completado) { background: var(--off-white); border-left: 3px solid var(--red); }

/* Estados y prioridades */
.followup-priority-alta { font-weight: 600; }
.followup-state-pendiente { }
.followup-state-cancelado { opacity: 0.6; }
.followup-state-pospuesto { }

/* Iconos SVG para followups */
.followup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--black);
    vertical-align: middle;
}

.followup-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}
