       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #003058;
            min-height: 100vh;
            color: #1a202c;
        }
		.tooltip-img {
			width: 100px;
			height: 100px;
			object-fit: cover;
			border-radius: 8px;
		}
        .container {
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        /* Header */
        header {
            background-color: #003058;
            color: white;
            padding: 2.5rem;
            text-align: center;
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
        }

        header p {
            font-size: 1.1rem;
            opacity: 0.9;
            font-weight: 300;
        }
        header a {
            color: #fff;
        }

        /* Main Content Grid */
        .main-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 2rem;
        }

        /* Info Cards Row */
        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .card {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .card h2 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: #2d3748;
            font-weight: 600;
        }

        .card p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #4a5568;
            margin-bottom: 0.75rem;
        }

        .card a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
        }

        .card a:hover {
            text-decoration: underline;
        }

        /* Filter Section */
        .filter-card {
            background: #f7fafc;
            border-radius: 12px;
            padding: 1.5rem;
            border: 2px solid #e2e8f0;
        }

        .loading-status {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1rem;
            padding: 0.85rem 1rem;
            border-radius: 10px;
            background: #edf2f7;
            color: #2d3748;
            font-size: 0.95rem;
        }

        .loading-status.is-hidden {
            display: none;
        }

        .loading-status.is-error {
            background: #fff5f5;
            color: #9b2c2c;
        }

        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid #cbd5e1;
            border-top-color: #2b6cb0;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            flex-shrink: 0;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .filter-card legend {
            font-size: 1.25rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1rem;
            padding: 0;
        }

        .choices {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            border: none;
        }

        .choice {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: #f7fafc;
            cursor: pointer;
            transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .choice:hover {
            border-color: #cbd5e1;
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .choice input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .choice.is-disabled {
            opacity: 0.6;
            cursor: wait;
        }

        .choice.is-disabled:hover {
            transform: none;
            box-shadow: none;
            background: #f7fafc;
            border-color: #e2e8f0;
        }

        .choice img {
            width: 48px;
            height: 48px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .choice-text {
            font-size: 1rem;
            font-weight: 500;
            color: #2d3748;
            flex-grow: 1;
        }

        /* Checked states with vibrant colors */
        .choice:has(input:checked) {
            background: white;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
            transform: translateY(-2px);
        }

        #reptilia:has(input:checked) {
            border-color: #48bb78;
            background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
        }

        #amphibia:has(input:checked) {
            border-color: #4299e1;
            background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
        }

        #aves:has(input:checked) {
            border-color: #ed8936;
            background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
        }

        #mammalia:has(input:checked) {
            border-color: #9f7aea;
            background: linear-gradient(135deg, #faf5ff 0%, #e9d8fd 100%);
        }

        #insecta:has(input:checked) {
            border-color: #f56565;
            background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
        }

        #arachnida:has(input:checked) {
            border-color: #a0522d;
            background: linear-gradient(135deg, #fefcfb 0%, #e7ddd4 100%);
        }

        /* Visualization Area */
        .viz-area {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Map Container with Filter */
        .map-section {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 2rem;
            align-items: start;
        }

        .map-section figure {
            min-height: 500px;
        }

        .viz-container {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        figure {
            margin: 0;
            width: 100%;
        }

        .chart-figure {
            position: relative;
            width: 100%;
        }

        .map-tooltip {
            width: min(220px, calc(100% - 2rem));
        }

        .chart-figure svg {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .chart-title {
            font-size: 22px;
            font-weight: 600;
            fill: #1a202c;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .map-section {
                grid-template-columns: 1fr;
            }
            
            .info-cards {
                grid-template-columns: 1fr;
            }

            .choices {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 640px) {


            header {
                padding: 1.75rem 1.25rem;
            }

            header h1 {
                font-size: 1.75rem;
            }

            header p {
                font-size: 0.95rem;
            }

            .main-content {
                padding: 1rem;
            }

            .card,
            .filter-card,
            .viz-container {
                padding: 1rem;
            }

            .map-section {
                padding: 1rem;
                gap: 1rem;
            }

            .map-section figure {
                min-height: 0;
            }

            .choices {
                grid-template-columns: 1fr;
            }

            .choice {
                gap: 0.75rem;
                padding: 0.75rem;
            }

            .choice img {
                width: 40px;
                height: 40px;
            }

            .choice-text {
                font-size: 0.95rem;
            }

            .chart-title {
                font-size: 18px;
            }

            .map-tooltip {
                width: min(320px, calc(100% - 2rem));
                max-width: calc(100% - 2rem);
                padding: 1rem;
                border-radius: 16px;
                box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
            }
        }
