
        /* El overflow: hidden solo debe aplicarse en móviles cuando se fuerza el landscape */
        @media screen and (max-width: 900px) {
            body.force-landscape {
                overflow: hidden !important;
            }
        }


        /* Animaciones personalizadas */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .animate-fadeIn {
            animation: fadeIn 0.3s ease-in;
        }

        body {
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        @keyframes timer-pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
                color: #2dd4bf;
            }
        }

        .animate-timer-pulse {
            animation: timer-pulse 1s ease-in-out infinite;
        }

        @keyframes slideOutLeft {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(-40px);
                opacity: 0;
            }
        }

        @keyframes slideInRight {
            from {
                transform: translateX(40px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(40px);
                opacity: 0;
            }
        }

        @keyframes slideInLeft {
            from {
                transform: translateX(-40px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .animate-slideOutLeft {
            animation: slideOutLeft 0.3s ease-in forwards;
        }

        .animate-slideInRight {
            animation: slideInRight 0.3s ease-out forwards;
        }

        .animate-slideOutRight {
            animation: slideOutRight 0.3s ease-in forwards;
        }

        .animate-slideInLeft {
            animation: slideInLeft 0.3s ease-out forwards;
        }
    

        :root {
            --neuro-purple: #5842E2;
            --neuro-teal: #20B2AA;
            --neuro-gradient: linear-gradient(135deg, var(--neuro-purple) 0%, var(--neuro-teal) 100%);
        }

        .custom-scrollbar::-webkit-scrollbar {
            width: 12px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: #ffffff;
            border-left: 1px solid rgba(0, 0, 0, 0.05);
            border-right: 1px solid rgba(0, 0, 0, 0.05);
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
            border: 3px solid #ffffff;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* Navigational Arrows */
        .custom-scrollbar::-webkit-scrollbar-button:single-button {
            background-color: #ffffff;
            display: block;
            border-style: solid;
            height: 12px;
            width: 12px;
        }

        /* Up arrow */
        .custom-scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement {
            border-width: 0 4px 5px 4px;
            border-color: transparent transparent #64748b transparent;
        }

        /* Down arrow */
        .custom-scrollbar::-webkit-scrollbar-button:single-button:vertical:increment {
            border-width: 5px 4px 0 4px;
            border-color: #64748b transparent transparent transparent;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 94px;
        }

        @media (min-width: 768px) {
            html {
                scroll-padding-top: 119px;
            }
        }

        /* 1. Global Responsive Typography */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        .modal h2,
        .modal h1,
        .modal h3,
        .modal h4,
        .modal p,
        .overlay h2,
        .overlay p,
        .font-display {
            font-family: 'Quicksand', sans-serif !important;
            overflow-wrap: break-word;
            word-wrap: break-word;
            word-break: break-word;
            hyphens: auto;
            text-wrap: balance;
        }

        h1,
        h2 {
            font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
            line-height: 1.2 !important;
            letter-spacing: -0.015em;
        }

        /* Global Standardized Text Containers */
        p,
        .modal p,
        .overlay p {
            line-height: 1.5 !important;
            max-width: 90%;
            margin-left: auto !important;
            margin-right: auto !important;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        /* 3. Corregir Contenedores de Recursos/Descargas */
        .download-card,
        [download] {
            min-height: auto !important;
            height: auto !important;
        }

        [download] span,
        .download-card span {
            font-size: 0.9rem !important;
            line-height: 1.2 !important;
            text-wrap: balance;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #FAFAFA;
            color: #1f2937;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            overflow-wrap: break-word;
        }

        /* Utilidades Visuales */
        .glass-panel {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .neuro-shadow {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
        }

        .neuro-shadow-lg {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
        }

        /* Animaciones */
        .fade-in {
            animation: fadeIn 0.6s ease-out;
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease-out;
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        /* LIA Night Mode Theme */
        .lia-night-mode {
            background-color: #0F172A !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
        }

        .lia-night-mode .message-bot {
            background-color: #1E293B !important;
            color: #E2E8F0 !important;
            border-color: rgba(255, 255, 255, 0.05) !important;
        }

        .lia-night-mode .move-handle {
            border-bottom-color: rgba(255, 255, 255, 0.1) !important;
            color: #F8FAFC !important;
        }

        .lia-night-mode h3 {
            color: #F8FAFC !important;
        }

        .lia-night-mode input {
            background-color: #1E293B !important;
            color: white !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
        }

        /* Input error state */
        .input-error {
            border-color: #ef4444 !important;
            background-color: #fef2f2 !important;
        }

        .lia-night-mode .input-error {
            border-color: #ef4444 !important;
            background-color: #450a0a !important;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeOut {
            0% {
                opacity: 1;
                visibility: visible;
            }

            100% {
                opacity: 0;
                visibility: hidden;
            }
        }

        .animate-fadeOut {
            animation: fadeOut 1s ease-out 5s forwards;
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* -----------------------------------------------------------
           NUEVOS ESTILOS: NOTAS APILADAS PINCHADAS (MATERIALES) Y PAPEL CON CLIP (INSTRUCCIONES)
           ----------------------------------------------------------- */

        .materials-pinned-container {
            position: relative;
            width: 100%;
            max-width: 450px;
            margin: 40px auto;
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .purple-note-bg {
            position: absolute;
            width: 95%;
            height: 90%;
            background-color: #d1c4e9;
            /* Morado claro */
            border-radius: 40px;
            transform: rotate(-3deg);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            z-index: 1;
        }

        .blue-note-fg-pinned {
            position: relative;
            width: 90%;
            padding: 50px 30px;
            background-color: #b3e5fc;
            /* Azul claro */
            border-radius: 40px;
            transform: rotate(2deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            z-index: 2;
        }

        .push-pin {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 35px;
            height: 35px;
            background-color: #ff5252;
            /* Rojo del pin */
            border-radius: 50%;
            z-index: 10;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset -2px -2px 6px rgba(0, 0, 0, 0.2);
        }

        .push-pin::after {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
        }

        .instructions-clipped-paper {
            background-color: #fff9f0;
            /* Color papel viejo/beigue */
            border: 4px solid #6d4c41;
            /* Borde marrón oscuro imitando dibujo */
            border-radius: 15px 15px 30px 15px / 15px 15px 15px 30px;
            box-shadow:
                4px 4px 0 #6d4c41,
                8px 8px 0 rgba(109, 76, 65, 0.2);
            width: 100%;
            max-width: 450px;
            margin: 40px auto;
            padding: 60px 30px 40px;
            position: relative;
            min-height: 500px;
        }

        .binder-clip {
            position: absolute;
            top: -25px;
            left: 50px;
            width: 70px;
            height: 60px;
            background-color: #a1887f;
            /* Color clip marrón/rosa de la imagen */
            border: 4px solid #6d4c41;
            border-radius: 10px;
            z-index: 5;
        }

        .binder-clip::before {
            content: "";
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 30px;
            border: 4px solid #6d4c41;
            border-radius: 50%;
        }

        .paper-stack-effect {
            position: absolute;
            right: -8px;
            top: 10px;
            bottom: 10px;
            width: 12px;
            border-left: 2px solid #6d4c41;
            background: repeating-linear-gradient(transparent,
                    transparent 4px,
                    #6d4c41 4px,
                    #6d4c41 6px);
            opacity: 0.5;
        }

        .animate-scale-in {
            animation: scaleIn 0.3s ease-out;
        }

        .btn-gradient {
            background-image: var(--neuro-gradient);
            transition: all 0.3s ease;
        }

        .btn-gradient:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.4);
        }

        /* Elementos específicos del test */
        .bar-fill {
            width: 0;
            animation: growBar 1s ease-out forwards;
        }

        @keyframes growBar {
            to {
                width: var(--w);
            }
        }

        .pie-circle {
            stroke-dasharray: 283;
            stroke-dashoffset: 283;
            animation: growPie 1.5s ease-out forwards;
        }

        @keyframes growPie {
            to {
                stroke-dashoffset: var(--offset);
            }
        }

        /* LED Connection Indicator */
        .led-green {
            width: 8px;
            height: 8px;
            background-color: #4ade80;
            border-radius: 50%;
            box-shadow: 0 0 8px #4ade80;
            display: inline-block;
            margin-right: 6px;
        }

        /* Crisis Modal */
        .crisis-overlay {
            background: rgba(127, 29, 29, 0.95);
            backdrop-filter: blur(10px);
        }

        /* Markdown bubble specific fixes */
        .chat-bubble-content p {
            margin-bottom: 0.5rem;
        }

        .chat-bubble-content p:last-child {
            margin-bottom: 0;
        }

        .chat-bubble-content strong {
            font-weight: 700;
            color: inherit;
        }

        /* LiaDebugPanel Styles */
        .debug-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 380px;
            height: 100vh;
            background: #0d1117;
            color: #c9d1d9;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            z-index: 9999;
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
            display: flex;
            flex-direction: column;
            border-left: 1px solid #30363d;
            font-size: 11px;
        }

        .debug-drawer.open {
            transform: translateX(0);
        }

        .debug-header {
            padding: 1.25rem;
            background: #161b22;
            color: #f0f6fc;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #30363d;
            letter-spacing: 0.05em;
        }

        .debug-section {
            padding: 1.5rem 1.25rem;
            border-bottom: 1px solid #21262d;
        }

        .debug-label {
            color: #8b949e;
            text-transform: uppercase;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.15em;
            margin-bottom: 0.75rem;
            display: block;
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .debug-value {
            color: #38bdf8;
            word-break: break-all;
        }

        .debug-json-container {
            background: #020617;
            padding: 0.5rem;
            border-radius: 4px;
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid #1e293b;
            font-size: 10px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }

        .status-online {
            background: #10b981;
            box-shadow: 0 0 8px #10b981;
        }

        .status-offline {
            background: #ef4444;
            box-shadow: 0 0 8px #ef4444;
        }

        .debug-log {
            color: #fda4af;
            background: #450a0a;
            padding: 0.5rem;
            border-radius: 4px;
            margin-top: 0.5rem;
            border-left: 2px solid #ef4444;
        }

        .debug-button {
            background: #334155;
            color: #f1f5f9;
            padding: 0.4rem 0.8rem;
            border-radius: 4px;
            transition: all 0.2s;
            text-transform: uppercase;
            font-weight: 700;
        }

        .debug-button:hover {
            background: #475569;
        }

        .progress-bar-bg {
            background: #1e293b;
            height: 6px;
            border-radius: 3px;
            margin: 8px 0;
        }

        .progress-bar-fill {
            background: #38bdf8;
            height: 100%;
            border-radius: 3px;
            transition: width 0.3s;
        }

        /* Bio-Adaptive Interface (LIA Night Mode) */
        .lia-night-mode {
            background-color: #111827 !important;
            /* Gray 900 */
            border-color: #374151 !important;
            color: #f9fafb !important;
            box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.7) !important;
        }

        .lia-night-mode .move-handle {
            background: rgba(17, 24, 39, 0.98) !important;
            border-bottom: 1px solid #374151 !important;
            color: #f9fafb !important;
        }

        .lia-night-mode .message-bot {
            background: #1f2937 !important;
            color: #d1d5db !important;
            border: 1px solid #374151 !important;
        }

        .lia-night-mode .message-user {
            background: #4f46e5 !important;
            color: #ffffff !important;
        }

        .lia-night-mode .chat-input-container {
            background: #1f2937 !important;
            border-top: 1px solid #374151 !important;
        }

        .lia-night-mode input {
            background: #111827 !important;
            color: #f9fafb !important;
            border-color: #374151 !important;
        }

        .lia-night-mode .bg-gray-50,
        .lia-night-mode .bg-white {
            background-color: #111827 !important;
        }

        .theme-transition-2s {
            transition: background-color 2s ease, border-color 2s ease, color 2s ease, box-shadow 2s ease !important;
        }

        /* --- LIA "Heartbeat of Thought" Animation System --- */

        /* 1. Core Concept: "The Heartbeat" (Breathing)
           - Cycle: 8s (calm)
           - Scale: 1 -> 1.025 (2.5% expansion, subtle)
           - Feel: Serene, organic
        */
        @keyframes lia-breathe-calm {

            0%,
            100% {
                transform: scale(1);
                filter: drop-shadow(0 0 20px rgba(165, 180, 252, 0.25));
                /* Soft Indigo */
            }

            50% {
                transform: scale(1.025);
                filter: drop-shadow(0 0 35px rgba(165, 180, 252, 0.45));
            }
        }

        /* Active State (Processing/Listening) - Slightly faster breathing */
        @keyframes lia-breathe-active {

            0%,
            100% {
                transform: scale(1);
                filter: drop-shadow(0 0 25px rgba(45, 212, 191, 0.3));
                /* Teal */
            }

            50% {
                transform: scale(1.03);
                filter: drop-shadow(0 0 45px rgba(45, 212, 191, 0.6));
            }
        }

        /* 2. Synapse Pulses: Light flashes traveling along connections */
        /* 2. Synapse Pulses - Ported & Scaled */
        @keyframes synapse-flow-forward {
            0% {
                stroke-dashoffset: 25;
                /* Scaled down Pattern: 5/20 -> Length 25 */
                opacity: 0.1;
            }

            50% {
                opacity: 1;
            }

            100% {
                stroke-dashoffset: 0;
                opacity: 0.1;
            }
        }

        /* --- Main Container & States --- */

        .lia-brain-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-origin: center;
            transition: all 0.5s ease-out;

            /* Default: Calm Heartbeat */
            animation: lia-breathe-calm 8s ease-in-out infinite;
        }

        .lia-state-listening.lia-brain-container {
            animation: lia-breathe-active 5s ease-in-out infinite;
        }

        .lia-state-speaking.lia-brain-container {
            animation: lia-breathe-active 4s ease-in-out infinite;
        }

        .lia-main-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: all 0.8s ease;
            z-index: 5;
        }

        /* Synapse Layer */
        .synapse-layer {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 10;
        }

        .synapse-line {
            fill: none;
            stroke: #a5b4fc;
            /* Soft Indigo */
            stroke-width: 0.5;
            /* Scaled thickness */
            stroke-linecap: round;

            /* Dash Pattern: Scaled 25 75 -> 5 15. Using 5 20 for cleaner look */
            stroke-dasharray: 5 20;

            /* Animation: Flow */
            animation: synapse-flow-forward 4s linear infinite;
        }

        /* Listening: Faster Synapses + Teal */
        .lia-state-listening .synapse-line {
            stroke: #2dd4bf;
            stroke-width: 0.6;
            filter: drop-shadow(0 0 1px rgba(45, 212, 191, 0.8));
            animation-duration: 1.5s !important;
            /* Force speed up */
        }

        /* Speaking: Fastest Synapses + Purple */
        .lia-state-speaking .synapse-line {
            stroke: #c084fc;
            stroke-width: 0.7;
            filter: drop-shadow(0 0 2px rgba(192, 132, 252, 0.8));
            animation-duration: 1.2s !important;
        }

        /* --- Dinámica de los Nodos (Floating/Glow) - Ported from LIA-Test-Environment --- */
        @keyframes node-float {

            0%,
            100% {
                transform: translate(0, 0);
            }

            33% {
                transform: translate(1.5px, -2.5px);
            }

            66% {
                transform: translate(-1.5px, 1.5px);
            }
        }

        @keyframes node-vibrate {

            0%,
            100% {
                transform: translate(0, 0);
            }

            25% {
                transform: translate(0.5px, -0.5px);
            }

            50% {
                transform: translate(-0.5px, 0.5px);
            }

            75% {
                transform: translate(0.5px, 0.5px);
            }
        }

        @keyframes node-glow-pulse {

            0%,
            100% {
                filter: blur(2px) brightness(1);
                opacity: 0.9;
            }

            50% {
                filter: blur(5px) brightness(1.5);
                opacity: 1;
            }
        }

        .emotional-node-group {
            animation: node-float 6s ease-in-out infinite;
            transform-box: fill-box;
            transform-origin: center;
        }

        .emotional-node-group:nth-child(1) {
            animation-delay: 0s;
        }

        .emotional-node-group:nth-child(2) {
            animation-delay: 1.5s;
        }

        .emotional-node-group:nth-child(3) {
            animation-delay: 3s;
        }

        .emotional-node-group:nth-child(4) {
            animation-delay: 4.5s;
        }

        .emotional-node-main {
            transition: all 0.5s ease;
            animation: node-glow-pulse 4s infinite;
            transform-box: fill-box;
            transform-origin: center;
        }

        /* State Overrides */
        .lia-state-listening .emotional-node-group {
            animation: node-vibrate 0.15s linear infinite;
        }

        .lia-state-listening .emotional-node-main {
            animation: node-glow-pulse 1.5s infinite;
        }





        /* Lighthouse Light Beam Animation */
        @keyframes lighthouse-rotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Opening Micro-interaction */
        @keyframes logoBreathe {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.8;
                filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.2));
            }

            50% {
                transform: scale(1.08);
                opacity: 1;
                filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.5));
            }
        }

        .animate-logo-breathe {
            animation: logoBreathe 3s ease-in-out infinite;
        }

        /* Mission Start Micro-interaction */
        .mission-transition-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0);
            backdrop-filter: blur(0px);
            z-index: 9998;
            pointer-events: none;
            transition: all 0.8s ease-in-out;
        }

        .mission-transition-active .mission-transition-overlay {
            background: rgba(15, 23, 42, 0.4);
            backdrop-filter: blur(15px);
            pointer-events: auto;
        }

        .mission-card-expanding {
            position: fixed !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) scale(1.1) !important;
            width: 90vw !important;
            height: 80vh !important;
            z-index: 9999 !important;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
            box-shadow: 0 0 100px rgba(0, 0, 0, 0.5) !important;
        }

        .dashboard-container {
            transition: filter 0.8s ease-in-out, transform 0.8s ease-in-out;
        }

        .mission-transition-active .dashboard-container {
            filter: blur(10px);
            transform: scale(0.95);
        }

        /* Soft Pulse Animation for LIA */
        @keyframes liaSoftPulse {

            0%,
            100% {
                transform: scale(1);
                filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0));
            }

            50% {
                transform: scale(1.05);
                filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.3));
            }
        }

        .animate-lia-soft-pulse {
            animation: liaSoftPulse 2s ease-in-out infinite;
            transform-origin: center;
        }

        @media print {

            /* Asegurar que el modal sea el único contenido visible */
            .fixed.inset-0 {
                position: absolute !important;
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                height: auto !important;
                min-height: 100% !important;
                background: white !important;
                z-index: 9999 !important;
                padding: 0 !important;
                margin: 0 !important;
                overflow: visible !important;
                display: block !important;
            }

            .bg-white.rounded-\[3rem\] {
                box-shadow: none !important;
                max-height: none !important;
                width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
                overflow: visible !important;
                display: flex !important;
                flex-direction: column !important;
            }

            .flex-grow.overflow-y-auto {
                overflow: visible !important;
                max-height: none !important;
                padding: 1.5cm !important;
            }

            /* Preservar estilos de diseño */
            .flex {
                display: flex !important;
            }

            .grid {
                display: grid !important;
            }

            .relative {
                position: relative !important;
            }

            .absolute {
                position: absolute !important;
            }

            .items-center {
                align-items: center !important;
            }

            .justify-center {
                justify-content: center !important;
            }

            .text-center {
                text-align: center !important;
            }

            .text-right {
                text-align: right !important;
            }

            * {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }


            /* .no-print AL FINAL para máxima prioridad */
            .no-print,
            nav,
            footer {
                display: none !important;
            }

            @page {
                margin: 0.5cm;
                size: portrait;
            }
        }

        /* --- Registration Form Enhanced Error States --- */
        .input-error {
            border-color: #ef4444 !important;
            background-color: rgba(239, 68, 68, 0.15) !important;
            border-width: 2px !important;
        }

        .checkbox-container-error {
            border: 2px solid #ef4444 !important;
            background-color: rgba(239, 68, 68, 0.1) !important;
            border-radius: 12px !important;
            padding: 12px !important;
            transition: all 0.3s ease;
        }

        .error-message {
            color: #fca5a5;
            font-size: 0.7rem;
            margin-top: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-weight: 600;
        }

        /* Tooltip styles */
        .info-container {
            position: relative;
            display: inline-flex;
            align-items: center;
            margin-left: 6px;
        }

        .info-button {
            cursor: pointer;
            color: #94a3b8;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 10px;
            font-weight: bold;
        }

        .info-button:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .tooltip {
            visibility: hidden;
            width: 240px;
            background-color: #1e293b;
            color: #e2e8f0;
            text-align: left;
            border: 1px solid rgba(139, 92, 246, 0.4);
            border-radius: 12px;
            padding: 12px;
            position: absolute;
            z-index: 100;
            bottom: 140%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.7rem;
            line-height: 1.5;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
            pointer-events: none;
            font-weight: normal;
        }

        .tooltip.visible {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(-5px);
        }

        .tooltip::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #1e293b transparent transparent transparent;
        }
    