body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary: #fb923c;
    --secondary: #22c55e;
    --secondary-light: #4ade80;
    --secondary-dark: #16a34a;
    --hero-bg: #f0f7ff;
    --hero-accent: #e0f2fe;
    --logo-text: #374151;
}

/* Header Sticky Base & Transitions */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled State - Applied via JS */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Text color changes only in scrolled state */
header.scrolled h2, 
header.scrolled nav a {
    color: #1e293b !important; /* slate-800 */
}

header.scrolled nav a:hover {
    color: var(--primary) !important;
}

header.scrolled .logo-container h2 {
    color: #0f172a !important; /* slate-900 */
}

.hero-section {
    background: #6D28D9; /* Fallback */
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); /* Modern vibrant purple gradient */
    position: relative;
    overflow: hidden;
}

/* Background circles/shapes similar to Martex */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .hero-shape-1 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.05);
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .hero-shape-2 {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Dots pattern for the bottom left corner */
.hero-section .hero-dots {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px; /* prevent subpixel rendering artifacts */
    left: 0;
    right: 0;
    height: 4vw; /* reduced depth of the bend */
    background: #ffffff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 10;
    pointer-events: none;
}

/* Solution Banner specific tweaks */
.solution-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.solution-banner .cta-banner-title {
    font-size: 1.8rem;
    /* Smaller Font Size */
    margin-bottom: 30px;
}

.solution-banner .cta-banner-img-container img {
    box-shadow: none;
    /* Remove white-box look */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    /* More natural shadow for cutout */
}

@media (min-width: 768px) {
    .solution-banner {
        margin-top: 40px;
    }

    .solution-banner .cta-banner-title {
        font-size: 2.2rem;
        /* Adjusted to 2.2rem for desktop */
    }
}

/* Horizontal Hero Section Styles */
.horizontal-hero {
    background: url('img/hero-horizontal-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.horizontal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 27, 75, 0.3) 0%, rgba(30, 58, 138, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.horizontal-hero>div {
    position: relative;
    z-index: 2;
}



.horizontal-hero-title {
    color: white;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
}

.horizontal-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-demo-orange {
    background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
    color: white;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-demo-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
}

.btn-precios-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-precios-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 1024px) {
    .horizontal-hero-title {
        font-size: 3.5rem;
    }
}


.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.card-shadow {
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.dashboard-main-shadow {
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.15), 0 30px 60px -30px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hex-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hex-logo-container img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

header.scrolled .logo-white {
    display: none;
}

header.scrolled .logo-color {
    display: block !important;
}

.hex-logo-container:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.4));
}

/* Platform Section Animations */
@keyframes dash {
    to {
        stroke-dashoffset: -200;
        /* Moves the dashes */
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.connection-path {
    stroke-dasharray: 10, 10;
    animation: dash 20s linear infinite;
    /* Slower flow */
}

/* 3D Transform Container for the Cube Center */
.perspective-container {
    perspective: 1000px;
}

.cube-box {
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

/* Core Logo New Animation */
@keyframes core-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(251, 146, 60, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(251, 146, 60, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(251, 146, 60, 0.3));
    }
}

.core-logo-anim {
    animation: core-pulse 4s ease-in-out infinite;
}

/* Orbital Core Design */
.orbital-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(251, 146, 60, 0.3);
    /* Primary color low opacity */
    animation: spin 30s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(251, 146, 60, 0.1);
    animation-duration: 40s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 {
    width: 110%;
    height: 110%;
    border: 1px solid rgba(34, 197, 94, 0.1);
    animation-duration: 60s;
}

.glass-hub {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px -10px rgba(251, 146, 60, 0.2);
    z-index: 20;
    transition: transform 0.3s ease;
}

.glass-hub:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px -10px rgba(251, 146, 60, 0.3);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Feature Tabs Section */
.feature-tab {
    transition: all 0.3s ease;
    border-left: 4px solid #e2e8f0;
    /* slate-200 */
    cursor: pointer;
}

.feature-tab:hover {
    background-color: #f8fafc;
    /* slate-50 */
}

.feature-tab.active {
    border-left-color: #fb923c;
    /* primary */
}

.feature-tab h3 {
    color: #475569;
    /* slate-600 */
}

.feature-tab.active h3 {
    color: #0f172a;
    /* slate-900 */
}

.feature-visual {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.feature-visual.active {
    opacity: 1;
    transform: translateY(0);
    /*position: relative;*/
    pointer-events: auto;
}

/* Pricing Section Styles */
#pricing-section {
    background-image: radial-gradient(circle at 0% 0%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
}

.pricing-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card-hover:hover {
    transform: translateY(-10px);
}

/* Logo Carousel Animation */
@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% / 2));
    }
}

.logo-carousel-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.logo-carousel-track {
    display: flex;
    width: max-content;
    animation: infinite-scroll 40s linear infinite;
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px;
    opacity: 1;
    filter: none;
    transition: all 0.5s ease;
}

.logo-item:hover {
    opacity: 0.4;
    filter: grayscale(100%);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* New Banner Styles */
.cta-banner-box {
    background: white;
    border-radius: 40px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    margin-top: 100px;
    /* Increased to allow image overlap above */
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .cta-banner-box {
        flex-direction: row;
        padding: 0 60px;
        min-height: 320px;
        border-radius: 60px;
        margin-top: 80px;
    }
}

.cta-banner-img-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin-top: -160px;
    /* Stronger overlap above */
    margin-bottom: 20px;
    z-index: 20;
}

@media (min-width: 768px) {
    .cta-banner-img-container {
        width: 40%;
        margin-top: -60px;
        margin-bottom: -40px;
        /* Overlap below */
        margin-left: -100px;
        /* Overlap left */
    }
}

.cta-banner-img-container img {
    border-radius: 24px;
    /* Soften the edges since it's not transparent */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.cta-banner-content {
    flex: 1;
    text-align: center;
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e3a8a;
    /* Deep blue */
    margin-bottom: 40px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-banner-title {
        font-size: 3.5rem;
    }
}

.btn-contactanos {
    background: linear-gradient(90deg, #6324fa 0%, #3b82f6 100%);
    color: white;
    font-weight: 800;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.125rem;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-contactanos:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

/* Form Success Message Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Floating WhatsApp Button Pulse */
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fixed.bottom-6.right-6 {
    animation: whatsapp-pulse 2s infinite;
}

/* Responsive Fixes - Only for mobile to avoid affecting desktop */
@media (max-width: 640px) {
    .logo-container h2 {
        font-size: 0.875rem !important; /* Smaller text-sm instead of text-lg */
    }
    
    header a[href="#contacto"].bg-secondary {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
    }

    .logo-container {
        gap: 6px !important;
    }

    header {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Hero Buttons Side-by-Side Fix */
@media (max-width: 480px) {
    .hero-btns {
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }
    .hero-btns a {
        padding: 14px 10px !important;
        font-size: 0.9rem !important;
        flex: 1;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
}

/* Recognition banner under the hero */
.recognition {
    background: #fff;
    padding: 0.5rem 1.25rem 4.5rem;
}

.recognition__wrap {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.recognition__clip {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.recognition__copy {
    position: relative;
    background: linear-gradient(145deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #fff;
    border-radius: 28px;
    padding: 2.4rem 2.4rem 2.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.22);
}

.recognition__copy h2 {
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 16ch;
}

.recognition__copy p {
    margin-top: 1.35rem;
    max-width: 36ch;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.recognition__btn {
    align-self: flex-start;
    margin-top: 1.8rem;
    background: #fff;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.recognition__btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.recognition__chart {
    position: relative;
    background: transparent;
    padding: 0 3.5rem 4rem 0;
}

.recognition__ai {
    position: relative;
    width: min(100%, 450px);
    height: 300px;
    margin-left: auto;
}

@media (min-width: 960px) {
    .recognition {
        padding: 1rem 1.5rem 5rem;
    }

    .recognition__wrap {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        gap: 1.75rem;
        align-items: center;
    }

    .recognition__copy {
        border-radius: 0;
        clip-path: url(#recognitionBubble);
        padding: 2.5rem 3.2rem 2.1rem 2.6rem;
        aspect-ratio: 1.347 / 1;
        min-height: 0;
    }
}

/* Modules — team tabs and features */
.modules {
    position: relative;
    background:
        radial-gradient(ellipse 65% 45% at 8% 8%, rgba(124, 58, 237, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 96% 12%, rgba(251, 146, 60, 0.1), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f0f7ff 100%);
    padding: 1.5rem 1.25rem 5.5rem;
    color: #1e293b;
    overflow: hidden;
}

.modules__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.modules__title {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
}

.modules__lead {
    margin: 1rem auto 0;
    max-width: 42rem;
    text-align: center;
    color: #64748b;
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 500;
}

.modules__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 2.5rem;
    padding: 0.35rem;
    border-bottom: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.modules__tab {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.modules__tab:hover {
    background: #f1f5f9;
    color: #334155;
}

.modules__tab.is-active {
    color: #fff;
    background: var(--secondary);
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.28);
}

.modules__tab.is-active::after {
    display: none;
}

.modules__panel {
    display: none;
    margin-top: 2.25rem;
}

.modules__panel.is-active {
    display: grid;
    gap: 1.5rem;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.modules__eyebrow {
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.modules__feats {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.modules__feat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.modules__feat::before {
    content: "→";
    font-size: 0.85rem;
    color: #94a3b8;
}

.modules__feat:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

.modules__feat.is-active {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.28);
    color: #0f172a;
    font-weight: 700;
}

.modules__feat.is-active::before {
    color: var(--secondary-dark);
}

.modules__shot {
    min-height: 240px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(160deg, #ffffff, #f1f5f9 75%);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.modules__shot-label {
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.modules__shot--media {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #ececee;
    min-height: 390px;
    height: 390px;
    max-height: 390px;
}

.modules__shot--media .modules__shot-label {
    display: none;
}

.quote-shot {
    display: none;
    grid-template-columns: 1.2fr 0.9fr;
    min-height: 390px;
    height: 390px;
    max-height: 390px;
    text-align: left;
    font-size: 9px;
    line-height: 1.35;
    color: #1f2937;
    overflow: hidden;
}

.quote-shot__chat,
.quote-shot__erp {
    min-height: 0;
    overflow: hidden;
}

.quote-shot[data-visual="analytics"],
.quote-shot[data-visual="whdash"],
.quote-shot[data-visual="findash"],
.quote-shot[data-visual="contdash"] {
    grid-template-columns: 0.75fr 1.35fr;
}

.modules__shot--media .quote-shot.is-on {
    display: grid;
}

.modules__shot--media .quote-shot--summary.is-on {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 390px;
    height: 100%;
    padding: 12px;
    background: #f7f7fb;
    overflow: hidden;
}

.process-map {
    list-style: none;
    margin: 0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 10px;
}

.process-map__step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.process-map__step:not(:last-child)::after {
    content: "";
    width: 36px;
    height: 2px;
    margin: 0 14px;
    background: linear-gradient(90deg, #c4b5fd, #a78bfa);
    border-radius: 2px;
}

.process-map__num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.process-map__label {
    font-size: 10px;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    white-space: nowrap;
}

.summary-shot {
    width: 100%;
    flex: 1;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    font-size: 10px;
    color: #4b5568;
}

.summary-shot thead th {
    background: #ececf6;
    color: #5b5f7a;
    font-weight: 600;
    text-align: left;
    padding: 8px 10px;
    white-space: nowrap;
}

.summary-shot thead th span {
    margin-left: 4px;
    color: #9aa0b8;
    font-size: 9px;
}

.summary-shot thead th:last-child {
    text-align: right;
}

.summary-shot tbody td {
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid #f3f4f8;
    white-space: nowrap;
    vertical-align: middle;
}

.summary-shot tbody tr:last-child td {
    border-bottom: 0;
}

.summary-shot tbody td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.summary-shot .status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.summary-shot .status--paid {
    background: #7dceb8;
}

.summary-shot .status--overdue {
    background: #f0a090;
}

.quote-shot__chat {
    padding: 12px 10px 10px;
    background: #ececee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-shot__bubble,
.quote-shot__note {
    align-self: flex-end;
    max-width: 92%;
    background: #e5f6df;
    border-radius: 10px;
    padding: 8px 10px 4px;
}

.quote-shot__bubble p,
.quote-shot__note p {
    margin: 0;
}

.quote-shot time {
    display: block;
    text-align: right;
    color: #94a3b8;
    font-size: 8px;
    margin-top: 2px;
}

.quote-shot__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 8px 2px;
}

.quote-shot__status {
    margin: 0 0 6px;
}

.quote-shot__status strong {
    background: #d9f99d;
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 700;
}

.quote-shot__status em {
    font-style: normal;
    color: #3f6212;
    font-weight: 700;
}

.quote-shot__docs th,
.quote-shot__docs td {
    width: auto;
    background: #fff;
}

.quote-shot__docs th {
    background: #e7f0df;
    color: #334155;
    font-weight: 700;
    text-align: left;
    padding: 4px;
}

.quote-shot__link {
    color: #3f6212;
    font-weight: 700;
}

.quote-shot__points {
    margin: 6px 0 0;
    padding-left: 14px;
}

.quote-shot__points li {
    margin-top: 3px;
}

.quote-shot__chip {
    display: inline-block;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 8px;
    font-weight: 600;
}

.quote-shot__file {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    background: #f4f7f2;
    border-radius: 8px;
    padding: 5px 6px;
    font-weight: 600;
}

.quote-shot__file span {
    background: #3f6212;
    color: #fff;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 8px;
}

.quote-shot__file small {
    display: block;
    font-weight: 500;
    color: #64748b;
}

.quote-shot__tools {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.quote-shot__tools span,
.quote-shot__search,
.quote-shot__lib,
.quote-shot__report {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.quote-shot__tools span {
    padding: 3px 8px;
    font-weight: 600;
}

.quote-shot__lib,
.quote-shot__report,
.quote-shot__search,
.quote-shot__folder {
    margin-top: 6px;
}

.quote-shot__lib,
.quote-shot__report {
    background: #eef6e8;
    border-color: #d7e8cc;
    padding: 6px 7px;
}

.quote-shot__lib p,
.quote-shot__report p {
    margin: 2px 0 0;
    color: #64748b;
}

.quote-shot__search {
    padding: 4px 7px;
    color: #94a3b8;
}

.quote-shot__folder {
    font-weight: 700;
    color: #334155;
}

.quote-shot table {
    width: 100%;
    border-collapse: collapse;
}

.quote-shot__card th,
.quote-shot__card td {
    border-top: 1px solid #e5e7eb;
    padding: 3px 4px;
    vertical-align: top;
    font-weight: 500;
}

.quote-shot__card th {
    width: 38%;
    text-align: left;
    color: #64748b;
    font-weight: 500;
}

.quote-shot__erp {
    background: aliceblue;
    border-left: 1px solid #e5e7eb;
    padding: 8px 8px 0;
    overflow: hidden;
}

.quote-shot__erp header strong {
    display: block;
    font-size: 11px;
}

.quote-shot__erp header span {
    color: #94a3b8;
    letter-spacing: 0.04em;
    font-size: 8px;
}

.quote-shot__field,
.quote-shot__crumb,
.quote-shot__list {
    margin: 6px 0 0;
}

.quote-shot__field {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 6px;
}

.quote-shot__field small {
    display: block;
    color: #94a3b8;
    font-size: 8px;
}

.quote-shot__crumb {
    color: #64748b;
}

.quote-shot__erp h3 {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.quote-shot__list {
    color: #334155;
    font-weight: 600;
}

.quote-shot__erp th,
.quote-shot__erp td {
    text-align: left;
    padding: 3px 2px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.quote-shot__erp th {
    color: #94a3b8;
    font-weight: 500;
    font-size: 8px;
}

.pill {
    display: inline-block;
    border-radius: 999px;
    padding: 1px 5px;
    font-size: 7.5px;
    font-weight: 600;
}

.pill--eval {
    background: #ecfccb;
    color: #3f6212;
}

.pill--draft {
    background: #ffedd5;
    color: #c2410c;
}

.pill--closed {
    background: #ffe4e6;
    color: #be123c;
}

.analytics-shot {
    padding-bottom: 8px;
    overflow: hidden;
}

.analytics-shot .quote-shot__tools span.is-active {
    background: #e8f5df;
    border-color: #cfe8bc;
    color: #3f6212;
}

.analytics-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.analytics-kpis article {
    background: #fff;
    border: 1px solid #e8edf3;
    border-left: 3px solid #6ea83d;
    border-radius: 8px;
    padding: 6px 7px;
}

.analytics-kpis small {
    display: block;
    color: #94a3b8;
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.analytics-kpis p {
    margin: 2px 0 4px;
    color: #94a3b8;
    font-size: 7.5px;
    line-height: 1.25;
}

.analytics-kpis strong {
    display: block;
    color: #4d7c28;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.analytics-comp {
    margin: 8px 0 4px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.analytics-charts {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6px;
}

.analytics-bars,
.analytics-aging {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 6px 7px;
}

.analytics-bars strong,
.analytics-aging strong {
    display: block;
    margin-bottom: 5px;
    font-size: 9px;
    color: #334155;
}

.analytics-bars .bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin-bottom: 4px;
}

.analytics-bars .bar i {
    display: block;
    width: var(--w);
    height: 6px;
    border-radius: 3px;
}

.analytics-bars .bar span {
    font-size: 7px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.analytics-aging .aging {
    display: grid;
    grid-template-columns: 8px 1fr auto;
    gap: 2px 4px;
    align-items: center;
    margin-bottom: 5px;
}

.analytics-aging .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ea83d;
}

.analytics-aging b {
    font-size: 8px;
    font-weight: 600;
    color: #475569;
}

.analytics-aging em {
    font-style: normal;
    font-size: 8px;
    font-weight: 700;
    color: #334155;
}

.analytics-aging i {
    grid-column: 1 / -1;
    display: block;
    width: var(--w);
    height: 3px;
    border-radius: 2px;
    background: #86b85a;
}

.po-shot {
    font-size: 8.5px;
    line-height: 1.35;
}

.po-shot__tabs {
    display: flex;
    gap: 6px;
    margin: 0;
}

.po-shot__tabs span {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 600;
}

.po-shot__tabs span.is-active {
    background: #eef6e8;
    border-color: #cfe8bc;
    color: #3f6212;
}

.po-shot__toolbar {
    margin: 6px 0 0;
    color: #334155;
    font-weight: 600;
}

.po-shot__toolbar span {
    color: #64748b;
    font-weight: 500;
    margin-right: 4px;
}

.po-shot__dl {
    float: right;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 600 !important;
    color: #334155 !important;
}

.po-shot__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 6px;
    padding: 6px;
    background: #eef6e8;
    border: 1px solid #d7e8cc;
    border-radius: 8px;
}

.po-shot__stats div {
    background: #fff;
    border-radius: 6px;
    padding: 4px 5px;
}

.po-shot__stats small {
    display: block;
    color: #94a3b8;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.po-shot__stats strong {
    color: #334155;
    font-size: 9px;
}

.po-shot__subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0 0;
}

.po-shot__subtabs span {
    padding: 2px 6px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    color: #64748b;
}

.po-shot__subtabs span.is-active {
    background: #6ea83d;
    border-color: #6ea83d;
    color: #fff;
}

.po-shot__meta,
.po-shot__filter {
    margin: 6px 0 0;
    color: #64748b;
}

.po-shot__filter em {
    font-style: normal;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 1px 4px;
    color: #94a3b8;
}

.po-shot__lines {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.po-shot__lines li {
    padding: 5px 7px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-shot__lines li:last-child {
    border-bottom: 0;
}

.vendors-shot .quote-shot__tools span.is-active {
    background: #e8f5df;
    border-color: #cfe8bc;
    color: #3f6212;
}

.vendors-shot__search {
    margin: 8px 0 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 5px 10px;
    color: #334155;
    font-weight: 500;
}

.vendors-shot__results {
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    overflow: hidden;
}

.vendors-shot__results strong {
    display: block;
    background: #eef6e8;
    padding: 6px 8px;
    font-size: 9px;
    color: #3f6212;
}

.vendors-shot__results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendors-shot__results li {
    padding: 6px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-weight: 500;
}

.vendors-shot__results li:last-child {
    border-bottom: 0;
}

.vendors-shot__results li.is-active {
    background: #f4faf0;
    color: #3f6212;
    font-weight: 700;
}

.ap-shot__title {
    margin: 8px 0 0;
    font-weight: 700;
    color: #1e293b;
    font-size: 11px;
}

.ap-shot__title span {
    display: block;
    font-weight: 500;
    color: #64748b;
    font-size: 9px;
    margin-bottom: 2px;
}

.ap-shot__filters {
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    padding: 8px;
}

.ap-shot__filters strong {
    display: block;
    font-size: 10px;
    color: #1e293b;
}

.ap-shot__filters > p {
    margin: 3px 0 8px;
    color: #94a3b8;
    font-size: 8px;
    line-height: 1.35;
}

.ap-shot__filters label {
    display: block;
    margin-top: 6px;
    font-size: 8px;
    font-weight: 600;
    color: #64748b;
}

.ap-shot__input {
    margin-top: 3px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 5px 7px;
    color: #334155;
    font-weight: 500;
}

.ap-shot__tags em {
    display: inline-block;
    margin-right: 4px;
    background: #eef6e8;
    border-radius: 999px;
    padding: 1px 6px;
    font-style: normal;
    color: #3f6212;
    font-size: 7.5px;
    font-weight: 600;
}

.ap-shot__btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: #6ea83d;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.kardex-shot__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 0;
}

.kardex-shot__chips span {
    background: #eef6e8;
    border: 1px solid #cfe8bc;
    border-radius: 999px;
    padding: 2px 7px;
    color: #3f6212;
    font-size: 7.5px;
    font-weight: 600;
}

.kardex-shot table {
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.kardex-shot th {
    background: #eef6e8;
    color: #3f6212;
    font-weight: 700;
    font-size: 8px;
    padding: 5px 6px;
    border-bottom: 1px solid #d7e8cc;
}

.kardex-shot td {
    padding: 5px 6px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.kardex-shot tr:last-child td {
    border-bottom: 0;
}

.kardex-shot__pager {
    margin: 6px 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 8px;
    font-weight: 600;
}

.multiwh-shot__wh {
    display: grid;
    gap: 4px;
    margin-top: 4px;
}

.multiwh-shot__wh div {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 5px 7px;
}

.multiwh-shot__wh small {
    display: block;
    color: #94a3b8;
    font-size: 7.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.multiwh-shot__wh strong {
    color: #334155;
    font-size: 9px;
}

.multiwh-shot__sec {
    margin: 6px 0 0;
    background: #eef6e8;
    border: 1px solid #d7e8cc;
    border-radius: 6px;
    padding: 4px 7px;
    color: #3f6212;
    font-weight: 700;
    font-size: 8px;
}

.multiwh-shot table {
    margin-top: 6px;
    width: 100%;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.multiwh-shot th {
    background: #eef6e8;
    color: #3f6212;
    font-size: 8px;
    font-weight: 700;
    text-align: left;
    padding: 5px 6px;
}

.multiwh-shot td {
    padding: 5px 6px;
    font-size: 8px;
    color: #475569;
    border-top: 1px solid #f1f5f9;
}

.whdash-donut strong {
    display: block;
    margin-bottom: 5px;
    font-size: 9px;
    color: #334155;
}

.whdash-donut {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 6px 7px;
}

.whdash-donut__ring {
    width: 54px;
    height: 54px;
    margin: 4px auto 6px;
    border-radius: 50%;
    background:
        radial-gradient(#fff 0 38%, transparent 39%),
        conic-gradient(#3b82f6 0 62%, #22c55e 62% 78%, #f97316 78% 90%, #a855f7 90% 100%);
}

.whdash-donut ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.whdash-donut li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 7.5px;
    color: #64748b;
    margin-top: 2px;
}

.whdash-donut li i {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    display: inline-block;
}

.findash-shot h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 12px;
}

.findash-shot h3 em {
    font-style: normal;
    background: #e8f5df;
    color: #3f6212;
    border: 1px solid #cfe8bc;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 8px;
    font-weight: 700;
}

.findash-card {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 6px 7px 4px;
}

.findash-card header {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: flex-start;
    margin-bottom: 4px;
}

.findash-card header strong {
    display: block;
    font-size: 9px;
    color: #1e293b;
}

.findash-card header small,
.findash-sub {
    display: block;
    margin-top: 1px;
    color: #94a3b8;
    font-size: 7.5px;
    font-weight: 500;
}

.findash-legend {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 7.5px;
    color: #64748b;
    white-space: nowrap;
}

.findash-legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.findash-legend .is-in {
    background: #22c55e;
}

.findash-legend .is-out {
    background: #ef4444;
}

.findash-vbars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
    height: 88px;
    padding: 2px 2px 0;
    border-bottom: 1px solid #eef2f7;
}

.findash-vbars span {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    position: relative;
    padding-bottom: 12px;
}

.findash-vbars b {
    display: block;
    width: 45%;
    max-width: 8px;
    border-radius: 2px 2px 0 0;
}

.findash-vbars b.is-in {
    height: var(--h);
    background: #22c55e;
}

.findash-vbars b.is-out {
    height: var(--eh, 40%);
    background: #ef4444;
}

.findash-vbars em {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-style: normal;
    font-size: 6.5px;
    color: #94a3b8;
}

.findash-comp {
    grid-template-columns: 1.1fr 0.9fr;
}

.findash-hbar {
    margin-bottom: 3px;
}

.findash-hbar i {
    height: 7px;
}

.findash-donut__ring {
    width: 52px;
    height: 52px;
    background:
        radial-gradient(#fff 0 38%, transparent 39%),
        conic-gradient(#3b82f6 0 34%, #22c55e 34% 54%, #ef4444 54% 70%, #f97316 70% 84%, #a855f7 84% 100%);
}

.findash-shot .analytics-comp {
    margin-top: 6px;
}

.estados-shot .quote-shot__status {
    margin-bottom: 3px;
}

.estados-shot .quote-shot__docs th,
.estados-shot .quote-shot__docs td {
    font-size: 7.5px;
    padding: 3px 4px;
}

.estados-shot .quote-shot__docs td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.estados-shot .is-neg {
    color: #c0392b;
    font-weight: 700;
}

.estados-shot .is-ok {
    color: #3f6212;
    font-weight: 700;
}

.estados-diag {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
}

.estados-diag li {
    position: relative;
    padding-left: 14px;
    margin-top: 2px;
    font-size: 7.5px;
    line-height: 1.3;
    color: #475569;
}

.estados-diag li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: 8px;
}

.estados-diag li.is-ok::before {
    content: "✓";
    color: #3f6212;
}

.estados-diag li.is-bad::before {
    content: "✕";
    color: #c0392b;
}

.estados-root {
    color: #c0392b;
    font-weight: 700;
}

.plancontable-shot .quote-shot__status {
    margin-bottom: 3px;
}

.plancontable-shot .quote-shot__docs {
    margin-bottom: 5px;
}

.plancontable-shot .quote-shot__docs th,
.plancontable-shot .quote-shot__docs td {
    font-size: 7.5px;
    padding: 3px 4px;
}

.plancontable-shot .quote-shot__docs td:nth-child(2),
.plancontable-shot .quote-shot__docs td:nth-child(3),
.plancontable-shot .quote-shot__docs th:nth-child(2),
.plancontable-shot .quote-shot__docs th:nth-child(3) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.contdash-shot h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 12px;
}

.contdash-shot h3 em {
    font-style: normal;
    background: #e8f5df;
    color: #3f6212;
    border: 1px solid #cfe8bc;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 8px;
    font-weight: 700;
}

.contdash-card {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 6px 7px 4px;
}

.contdash-card header {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: flex-start;
    margin-bottom: 2px;
}

.contdash-card header strong {
    display: block;
    font-size: 9px;
    color: #1e293b;
}

.contdash-card header small {
    display: block;
    margin-top: 1px;
    color: #94a3b8;
    font-size: 7.5px;
}

.findash-legend .is-util {
    background: #3b82f6;
}

.contdash-line {
    height: 96px;
    display: flex;
    flex-direction: column;
}

.contdash-line--util {
    height: 78px;
}

.contdash-line svg {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: visible;
}

.contdash-line polyline {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.contdash-line polyline.is-in {
    stroke: #22c55e;
}

.contdash-line polyline.is-out {
    stroke: #ef4444;
}

.contdash-line polyline.is-util {
    stroke: #3b82f6;
}

.contdash-line .dots.is-in {
    fill: #22c55e;
}

.contdash-line .dots.is-out {
    fill: #ef4444;
}

.contdash-line .dots.is-util {
    fill: #3b82f6;
}

.contdash-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 6.5px;
}

.quote-shot[data-visual="bimoneda"] .quote-shot__card {
    padding-bottom: 4px;
}

.quote-shot[data-visual="bimoneda"] .quote-shot__status {
    margin-bottom: 4px;
}

.bimoneda-chart {
    margin-top: 4px;
    background: #0f172a;
    border-radius: 8px;
    padding: 7px;
    color: #fff;
}

.bimoneda-chart strong {
    display: block;
    font-size: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.bimoneda-chart__bars {
    display: grid;
    grid-template-columns: 1.65fr 0.7fr;
    gap: 8px;
    align-items: end;
    min-height: 78px;
}

.bimoneda-chart__bar {
    border-radius: 6px 6px 2px 2px;
    padding: 5px 6px 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bimoneda-chart__bar span {
    font-size: 7.5px;
    opacity: 0.9;
}

.bimoneda-chart__bar em {
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
    white-space: nowrap;
}

.bimoneda-chart__bar--pen {
    background: #2563eb;
    min-height: 78px;
}

.bimoneda-chart__bar--usd {
    background: #22c55e;
    min-height: 36px;
}

.quote-shot[data-visual="cashflow"] {
    position: relative;
}

.quote-shot[data-visual="cashflow"] .is-neg,
.cashflow-xls .is-neg {
    color: #c0392b;
}

.cashflow-xls {
    position: absolute;
    left: 4%;
    right: 6%;
    top: 10%;
    bottom: 6%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.28), 0 2px 6px rgba(15, 23, 42, 0.12);
    border: 1px solid #cbd5e1;
}

.cashflow-xls__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #217346;
    color: #fff;
    padding: 5px 8px;
    font-size: 8.5px;
}

.cashflow-xls__icon {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background: #fff;
    color: #217346;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    flex-shrink: 0;
}

.cashflow-xls__bar em {
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cashflow-xls__sheet {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    padding: 0;
}

.cashflow-xls table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 8px;
    line-height: 1.25;
}

.cashflow-xls th,
.cashflow-xls td {
    border: 1px solid #d1d5db;
    padding: 3px 4px;
    vertical-align: middle;
}

.cashflow-xls__banner th {
    background: #1e3a5f;
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 5px 4px;
    border-color: #1e3a5f;
}

.cashflow-xls__meta th {
    background: #f8fafc;
    color: #64748b;
    font-size: 7px;
    font-weight: 500;
    text-align: left;
    padding: 3px 5px;
}

.cashflow-xls__cols th {
    background: #1e3a5f;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-color: #163052;
}

.cashflow-xls__cols th:first-child {
    text-align: left;
    width: 34%;
}

.cashflow-xls__cols th:not(:first-child) {
    width: 16.5%;
}

.cashflow-xls__status td {
    background: #fff2a8;
    color: #854d0e;
    font-weight: 700;
    text-align: center;
}

.cashflow-xls__status td:first-child {
    background: #fff;
}

.cashflow-xls tbody td:first-child {
    text-align: left;
    color: #1e293b;
    font-weight: 600;
}

.cashflow-xls tbody td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cashflow-xls__highlight td {
    background: #fde2e2;
}

.modules__summary {
    margin-top: 1.25rem;
    max-width: 34rem;
    color: #475569;
    line-height: 1.55;
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.1), rgba(240, 247, 255, 0.7));
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
}

@media (min-width: 900px) {
    .modules__panel.is-active {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }

    .modules__shot {
        min-height: 390px;
    }
}

/* Footer — 4 equal columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-col {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.footer-col--nav {
    display: block;
}

.footer-col__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-col__body {
    min-width: 0;
    flex: 1;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.75rem 2rem;
    }
}
