.elementor-kit-11{--e-global-color-primary:#111111;--e-global-color-secondary:#B6F21A;--e-global-color-text:#111111;--e-global-color-accent:#B6F21A;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-11 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1240px;}.e-con{--container-max-width:1240px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */.ianchi-client-panel {
    max-width: 960px;
    margin: 40px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    font-family: inherit;
}

.ianchi-client-panel__hero {
    margin-bottom: 32px;
}

.ianchi-client-panel__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
}

.ianchi-client-panel h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.15;
    color: #111827;
}

.ianchi-client-panel h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #111827;
}

.ianchi-client-panel p {
    color: #4b5563;
    line-height: 1.7;
}

.ianchi-client-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.ianchi-client-panel__card,
.ianchi-client-panel__content,
.ianchi-client-panel__cta {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f9fafb;
}

.ianchi-client-panel__card p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.ianchi-client-panel__content {
    margin-bottom: 24px;
}

.ianchi-client-panel__text p:last-child {
    margin-bottom: 0;
}

.ianchi-client-panel__cta {
    background: #111827;
    color: #ffffff;
}

.ianchi-client-panel__cta h3,
.ianchi-client-panel__cta p {
    color: #ffffff;
}

.ianchi-client-panel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #6366f1;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.ianchi-client-panel__button:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.ianchi-client-panel--login,
.ianchi-client-panel--empty {
    text-align: center;
}

@media (max-width: 768px) {
    .ianchi-client-panel {
        margin: 24px 16px;
        padding: 24px;
    }

    .ianchi-client-panel__grid {
        grid-template-columns: 1fr;
    }

    .ianchi-client-panel h2 {
        font-size: 26px;
    }
}

.ianchi-client-ai-box {
    margin: 24px 0;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #dbe3ff;
}

.ianchi-client-ai-box__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.ianchi-client-ai-box__avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: #111827;
    color: #b6ff3b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ianchi-client-ai-box__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
}

.ianchi-client-ai-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #111827;
}

.ianchi-client-ai-box p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.ianchi-client-ai-box__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ianchi-ai-suggestion {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ianchi-ai-suggestion:hover {
    border-color: #6366f1;
    color: #4338ca;
}

.ianchi-client-ai-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.ianchi-client-ai-input {
    width: 100%;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 18px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #111827;
    background: #ffffff;
}

.ianchi-client-ai-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ianchi-client-ai-button {
    border: none;
    border-radius: 18px;
    padding: 0 22px;
    background: #111827;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.ianchi-client-ai-button:hover {
    filter: brightness(1.08);
}

.ianchi-client-ai-response {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed #c7d2fe;
}

.ianchi-client-ai-response p {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .ianchi-client-ai-box__header {
        flex-direction: column;
    }

    .ianchi-client-ai-form {
        grid-template-columns: 1fr;
    }

    .ianchi-client-ai-button {
        padding: 14px 18px;
    }
}

/* v0.3.2 - Ajustes UX Panel Cliente */

.ianchi-client-panel__button,
.ianchi-client-panel__button:visited,
.ianchi-client-panel__button:hover,
.ianchi-client-panel__button:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.ianchi-client-panel__cta .ianchi-client-panel__button:hover {
    color: #ffffff !important;
    background: #4f46e5;
}

.ianchi-ai-suggestion:hover,
.ianchi-ai-suggestion:focus,
.ianchi-ai-suggestion.is-active {
    background: #111827;
    color: #ffffff !important;
    border-color: #111827;
}

.ianchi-client-ai-button:hover,
.ianchi-client-ai-button:focus {
    color: #ffffff !important;
    background: #020617;
}

/* v0.3.2 - Animación IANCHI Panel Cliente */

.ianchi-client-ai-button:disabled {
    opacity: 0.82;
    cursor: wait;
}

.ianchi-client-ai-response.is-loading {
    background: #ffffff;
    border-style: solid;
    border-color: #dbeafe;
}

.ianchi-client-ai-loading {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ianchi-client-ai-loading-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    background: #ecffd8;
    color: #63b500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    animation: ianchiClientPulse 1.25s ease-in-out infinite;
}

.ianchi-client-ai-loading strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}

.ianchi-client-ai-loading p {
    margin: 0 0 8px;
    color: #4b5563;
}

.ianchi-client-ai-loading-dots {
    display: flex;
    gap: 6px;
}

.ianchi-client-ai-loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #87d10b;
    animation: ianchiClientDots 1s infinite ease-in-out;
}

.ianchi-client-ai-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.ianchi-client-ai-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes ianchiClientPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(135, 209, 11, 0.28);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 12px rgba(135, 209, 11, 0);
    }
}

@keyframes ianchiClientDots {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .ianchi-client-ai-loading {
        align-items: flex-start;
    }
}

.ianchi-client-ai-answer strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 15px;
}

.ianchi-client-ai-answer div {
    color: #374151;
    line-height: 1.7;
}

.ianchi-client-ai-answer p {
    margin: 0 0 12px;
}

.ianchi-client-ai-answer p:last-child {
    margin-bottom: 0;
}

/* v0.3.4 - Historial tipo chat IANCHI */

.ianchi-client-ai-history {
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbeafe;
}

.ianchi-client-ai-history__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.ianchi-client-ai-history__top h4 {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.ianchi-client-ai-history__top span {
    font-size: 13px;
    color: #6366f1;
    font-weight: 800;
}

.ianchi-client-ai-messages {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.ianchi-client-ai-empty {
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #c7d2fe;
}

.ianchi-client-ai-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.ianchi-client-ai-message {
    max-width: 86%;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    line-height: 1.7;
}

.ianchi-client-ai-message span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ianchi-client-ai-message p {
    margin: 0;
}

.ianchi-client-ai-message--user {
    margin-left: auto;
    background: #111827;
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.ianchi-client-ai-message--user span,
.ianchi-client-ai-message--user p {
    color: #ffffff;
}

.ianchi-client-ai-message--ianchi {
    margin-right: auto;
    background: #f8fafc;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 6px;
}

.ianchi-client-ai-message--ianchi span {
    color: #6366f1;
}

.ianchi-client-ai-message--ianchi div,
.ianchi-client-ai-message--ianchi p {
    color: #374151;
}

.ianchi-client-ai-message--ianchi p {
    margin-bottom: 10px;
}

.ianchi-client-ai-message--ianchi p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ianchi-client-ai-history__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ianchi-client-ai-message {
        max-width: 100%;
    }
}

/* v0.3.5 - Rediseño Panel Cliente */

.ianchi-client-summary-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 20px;
    margin-bottom: 28px;
}

.ianchi-client-summary-card,
.ianchi-client-health-map,
.ianchi-client-measurement,
.ianchi-client-advanced-analysis {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #f9fafb;
}

.ianchi-client-summary-card span,
.ianchi-client-section-heading span,
.ianchi-client-metric-card span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
}

.ianchi-client-summary-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.1;
    color: #111827;
}

.ianchi-client-summary-card p {
    margin: 0;
    color: #4b5563;
}

.ianchi-client-summary-card--score {
    background: #111827;
}

.ianchi-client-summary-card--score span,
.ianchi-client-summary-card--score strong,
.ianchi-client-summary-card--score p {
    color: #ffffff;
}

.ianchi-client-health-map,
.ianchi-client-measurement,
.ianchi-client-advanced-analysis {
    margin-bottom: 24px;
}

.ianchi-client-section-heading {
    margin-bottom: 22px;
}

.ianchi-client-section-heading h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #111827;
}

.ianchi-client-section-heading p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.ianchi-client-health-row {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    margin-bottom: 14px;
}

.ianchi-client-health-row:last-child {
    margin-bottom: 0;
}

.ianchi-client-health-row__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ianchi-client-health-row__top strong {
    display: block;
    font-size: 17px;
    color: #111827;
}

.ianchi-client-health-row__top p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.ianchi-client-health-score {
    min-width: 120px;
    text-align: right;
}

.ianchi-client-health-score span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 800;
}

.ianchi-client-health-score strong {
    font-size: 18px;
    color: #111827;
}

.ianchi-client-health-bar {
    height: 11px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.ianchi-client-health-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.ianchi-client-health-row.is-high .ianchi-client-health-bar span {
    background: #84cc16;
}

.ianchi-client-health-row.is-high .ianchi-client-health-score span {
    color: #4d7c0f;
}

.ianchi-client-health-row.is-mid .ianchi-client-health-bar span {
    background: #f59e0b;
}

.ianchi-client-health-row.is-mid .ianchi-client-health-score span {
    color: #b45309;
}

.ianchi-client-health-row.is-low .ianchi-client-health-bar span {
    background: #ef4444;
}

.ianchi-client-health-row.is-low .ianchi-client-health-score span {
    color: #b91c1c;
}

.ianchi-client-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ianchi-client-metric-card {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.ianchi-client-metric-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: #111827;
}

.ianchi-client-metric-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.ianchi-client-measurement-note {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
}

.ianchi-client-measurement-note p {
    margin: 0;
    color: #374151;
}

.ianchi-client-analysis-details {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}

.ianchi-client-analysis-details summary {
    padding: 18px;
    cursor: pointer;
    font-weight: 800;
    color: #111827;
}

.ianchi-client-analysis-content {
    padding: 0 18px 18px;
    color: #374151;
    line-height: 1.75;
}

.ianchi-client-analysis-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.ianchi-client-copy-analysis,
.ianchi-client-disabled-button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
}

.ianchi-client-copy-analysis {
    background: #111827;
    color: #ffffff;
    cursor: pointer;
}

.ianchi-client-disabled-button {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.ianchi-client-analysis-empty {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px dashed #c7d2fe;
}

.ianchi-client-analysis-empty p {
    margin: 0;
    color: #6b7280;
}

@media (max-width: 900px) {
    .ianchi-client-summary-grid,
    .ianchi-client-metrics-grid {
        grid-template-columns: 1fr;
    }

    .ianchi-client-health-row__top {
        flex-direction: column;
    }

    .ianchi-client-health-score {
        text-align: left;
    }
}/* End custom CSS */