﻿        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            overflow: hidden;
            position: relative;
        }

        .watermark-layer {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-20deg);
            font-size: 160px;
            font-weight: 800;
            color: rgba(0, 0, 0, 0.14);
            letter-spacing: 4px;
            pointer-events: none;
            z-index: 0;
            text-transform: uppercase;
            user-select: none;
            white-space: nowrap;
        }

        body.contrast-white-black .watermark-layer {
            color: rgba(255, 255, 255, 0.22);
        }

        body.contrast-yellow-black .watermark-layer {
            color: rgba(246, 224, 94, 0.24);
        }

        .loading-screen {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f9fafb;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9999;
        }

        .loading-content {
            text-align: center;
        }

        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #2563eb;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

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

        .loading-title {
            font-size: 1.2rem;
            color: #6b7280;
            margin-bottom: 20px;
        }

        .loading-subtitle {
            font-size: 1rem;
            color: #9ca3af;
        }

        .start-screen {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f9fafb;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9998;
        }

        .start-content {
            text-align: center;
        }

        .start-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 24px;
        }

        .start-subtitle {
            color: #6b7280;
            margin-bottom: 24px;
        }

.start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 56px;
    padding: 0 28px;
    background: linear-gradient(135deg, #2f79c8, #1f5ea6);
    color: white;
    border: 1px solid #1f5894;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(33, 93, 153, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.start-button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 20px 30px rgba(33, 93, 153, 0.26);
}

        .hidden {
            display: none !important;
        }

        .container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            width: 100vw;
            background: #ffffff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
        }

        /* Make content panels opaque for stability while watermark stays behind */
        .passage-container,
        .questions-container {
            background: #ffffff;
        }
        .contrast-white-black .passage-container,
        .contrast-white-black .questions-container {
            background: #0f1012 !important;
        }
        .contrast-yellow-black .passage-container,
        .contrast-yellow-black .questions-container {
            background: #0a0a0a !important;
        }

        header {
            background-color: #ffffff;
            color: #333;
            padding: 8px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
            border-bottom: 1px solid #e2e8f0;
            gap: 10px;
        }

        .passage-info {
            font-size: 0.9rem;
            font-weight: 500;
            color: #2d3748;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            color: #2d3748;
        }

        .brand img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            border-radius: 4px;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-menu-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 0 16px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.28);
            background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 48%, #ef4444 100%);
            box-shadow: 0 14px 28px rgba(185, 28, 28, 0.22);
            color: #fff7f7;
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            white-space: nowrap;
            transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
        }

        .header-menu-link:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 34px rgba(185, 28, 28, 0.28);
            filter: saturate(1.08) brightness(1.03);
        }

        .timer {
            background-color: rgba(255, 193, 193, 0.5);
            padding: 6px 12px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
            min-width: 80px;
            text-align: center;
            font-size: 0.9rem;
            color: #c53030;
            border: 1px solid rgba(255, 120, 120, 0.3);
        }

        .timer.warning {
            color: #9b2c2c;
            background-color: rgba(254, 178, 178, 0.7);
            border-color: rgba(245, 101, 101, 0.5);
        }

        .logo-area {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
            cursor: pointer;
        }

        .logo-area:hover {
            background-color: #0056b3;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
        }

        .logo-area i {
            font-size: 1.1rem;
        }

        .progress-container {
            background-color: #f8f9fa;
            padding: 4px 20px;
            z-index: 100;
            flex-shrink: 0;
            border-top: 1px solid #e2e8f0;
        }

        .progress-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .progress-items {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .nav-buttons {
            display: flex;
            gap: 6px;
        }

        .progress-item {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4a5568;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.95rem;
            border: 1px solid #cbd5e0;
        }

        .progress-item.current {
            background-color: #4299e1;
            color: white;
            transform: scale(1.1);
            border-color: #2b6cb0;
        }

        .progress-item.answered {
            background-color: #9ae6b4;
            color: #22543d;
            border-color: #68d391;
        }

        .progress-item.correct {
            background-color: #48bb78;
            color: white;
            border-color: #38a169;
        }

        .progress-item.incorrect {
            background-color: #fed7d7;
            color: #c53030;
            border-color: #feb2b2;
        }

        .progress-item:hover {
            background-color: #cbd5e0;
            transform: scale(1.05);
        }

        .btn {
            padding: 6px 14px;
            border: 1px solid #cbd5e0;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.95rem;
            background-color: #f7fafc;
            color: #4a5568;
        }

        .btn i {
            font-size: 1rem;
        }

        .btn:hover {
            background-color: #edf2f7;
            border-color: #a0aec0;
        }

        .btn-primary {
            background-color: #f7fafc;
            color: #4a5568;
            border: 1px solid #cbd5e0;
        }

        .btn-primary:hover {
            background-color: #edf2f7;
            border-color: #a0aec0;
        }

        .btn-secondary {
            background-color: #f7fafc;
            color: #4a5568;
            border: 1px solid #cbd5e0;
        }

        .btn-secondary:hover {
            background-color: #edf2f7;
            border-color: #a0aec0;
        }

        .btn-submit {
            background-color: #48bb78;
            color: white;
            font-weight: 900;
            border: 1px solid #38a169;
        }

        .btn-submit:hover {
            background-color: #38a169;
            border-color: #2f855a;
        }

        .btn-submit:disabled {
            background-color: #9ae6b4;
            color: #718096;
            cursor: not-allowed;
            border: 1px solid #68d391;
        }

        .main-content {
            display: flex;
            flex: 1;
            overflow: hidden;
            position: relative;
        }

        .passage-container {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background-color: #fafafa;
            position: relative;
        }

        .resizer {
            width: 4px;
            background-color: #cbd5e0;
            cursor: col-resize;
            position: relative;
            transition: background-color 0.2s;
        }

        .resizer:hover {
            background-color: #a0aec0;
        }

        .resizer::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 30px;
            height: 60px;
            background-color: rgba(203, 213, 224, 0.5);
            border-radius: 4px;
            pointer-events: none;
        }

        .questions-container {
            width: 40%;
            padding: 20px;
            overflow-y: auto;
            background-color: white;
            border-left: 1px solid #e2e8f0;
        }

        .passage {
            max-width: 800px;
            margin: 0 auto;
        }

        .passage h2 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }

        .passage-content p {
            margin-top: 15px;
            margin-bottom: 20px;
            text-align: justify;
        }

        .passage h2 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }

        .passage p {
            margin-top: 20px;
            margin-bottom: 25px;
            text-align: justify;
        }

        .question-section {
            max-width: 800px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 20px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e2e8f0;
        }

        .question {
            margin-bottom: 25px;
            padding: 6px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            background-color: #ffffff;
            transition: box-shadow 0.2s;
        }

        .question:hover {
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .question-text {
            font-weight: 500;
            margin-bottom: 12px;
            color: #2d3748;
        }

        .options {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .options-two-column {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 8px;
        }

        .option {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.9rem;
        }

        .option:hover {
            background-color: #f7fafc;
            border-color: #cbd5e0;
        }

        .option input {
            margin-right: 8px;
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: #2563eb;
        }

        .input-field {
            padding: 8px 10px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            width: 20%;
            margin-top: 5px;
            font-size: 0.9rem;
        }

        .input-field.inline-input {
            display: inline-block;
            width: auto;
            min-width: 110px;
            margin: 0 6px;
            vertical-align: baseline;
        }

        .input-field:focus {
            border-color: #4299e1;
            outline: none;
            box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
        }

        select.input-field {
            padding: 8px 10px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            width: 20%;
            margin-top: 5px;
            font-size: 0.9rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            font-size: 0.9rem;
        }

        th,
        td {
            border: 1px solid #e2e8f0;
            padding: 10px;
            text-align: left;
        }

        th {
            background-color: #f1f5f9;
            font-weight: 600;
            color: #2d3748;
        }

        .answer-indicator {
            background-color: #e6fffa;
            border: 1px solid #38b2ac;
            padding: 10px;
            border-radius: 4px;
            margin-top: 10px;
            font-size: 0.9rem;
        }

        .answer-indicator.correct {
            background-color: #e6fffa;
            border-color: #38b2ac;
            color: #234e52;
        }

        .answer-indicator.incorrect {
            background-color: #fed7d7;
            border-color: #fc8181;
            color: #742a2a;
        }

        .question-group {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .question-group-title {
            font-weight: 600;
            margin-bottom: 12px;
            color: #2d3748;
            font-size: 1rem;
        }

        /* Highlight styles */
        .highlight {
            background-color: #fff176;
            color: #111827 !important;
            cursor: pointer;
            border-radius: 2px;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
        }

        .highlight * {
            color: inherit !important;
        }

        .contrast-white-black .highlight {
            background-color: #7dd3fc;
            color: #0b1723 !important;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.45);
        }

        .contrast-yellow-black .highlight {
            background-color: #f59e0b;
            color: #111827 !important;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.55);
        }

        #highlight-btn,
        #remove-highlight-btn {
            position: absolute;
            z-index: 9999;
            display: none;
            padding: 6px 12px;
            font-size: 14px;
            border: 1px solid #888;
            border-radius: 4px;
            cursor: pointer;
            background-color: white;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .selection-menu {
            position: absolute;
            z-index: 100000;
            display: none;
            background: #fff;
            border: 1px solid #cbd5e0;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            padding: 6px 0;
            min-width: 160px;
        }

        .selection-menu button {
            width: 100%;
            background: transparent;
            border: none;
            padding: 10px 14px;
            text-align: left;
            font-size: 14px;
            font-weight: 600;
            color: #1a202c;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .selection-menu button:hover {
            background: #f7fafc;
        }

        .selection-menu i {
            width: 16px;
            text-align: center;
            color: #4a5568;
        }

        .contrast-white-black .selection-menu {
            background: #0f1012;
            border-color: #2d3748;
            color: #f7fafc;
        }

        .contrast-white-black .selection-menu button {
            color: #f7fafc;
        }

        .contrast-white-black .selection-menu button:hover {
            background: #1a202c;
        }

        .contrast-white-black .selection-menu i {
            color: #f7fafc;
        }

        .contrast-yellow-black .selection-menu {
            background: #0a0a0a;
            border-color: #4a5568;
            color: #f6e05e;
        }

        .contrast-yellow-black .selection-menu button {
            color: #f6e05e;
        }

        .contrast-yellow-black .selection-menu button:hover {
            background: #1a202c;
        }

        .contrast-yellow-black .selection-menu i {
            color: #f6e05e;
        }

        .note-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .note-card textarea {
            width: 100%;
            min-height: 70px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            padding: 8px;
            font-size: 14px;
            resize: vertical;
            color: #2d3748;
        }

        .note-card button {
            margin-top: 8px;
        }

        .contrast-white-black .note-card {
            background: #111;
            border-color: #2d3748;
            color: #f7fafc;
        }
        .contrast-white-black .note-card textarea {
            background: #0f1012;
            color: #f7fafc;
            border-color: #2d3748;
        }
        .contrast-yellow-black .note-card {
            background: #0c0c0c;
            border-color: #4a5568;
            color: #f6e05e;
        }
        .contrast-yellow-black .note-card textarea {
            background: #0a0a0a;
            color: #f6e05e;
            border-color: #4a5568;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        /* Drag & Drop styles */
        .drag-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0 14px;
        }

        .drop-zone-row {
            display: flex;
            gap: 10px;
            margin-bottom: 14px;
        }

        .drag-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            justify-content: flex-start;
            padding: 6px 12px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            background: #f7fafc;
            cursor: grab;
            font-weight: 600;
            min-width: 140px;
            max-width: 280px;
            text-align: left;
            white-space: normal;
            user-select: none;
            transition: background 0.2s, transform 0.1s;
        }

        .drag-item:active {
            cursor: grabbing;
            transform: scale(0.97);
        }

        .drag-item.used {
            opacity: 0.45;
            cursor: not-allowed;
            background: #e2e8f0;
        }

        .contrast-white-black .drag-item { background: #1a202c; color: #f7fafc; border-color: #4a5568; }
        .contrast-yellow-black .drag-item { background: #1a202c; color: #f6e05e; border-color: #718096; }
        .contrast-white-black .drag-item.used,
        .contrast-yellow-black .drag-item.used {
            opacity: 0.65;
            background: #2d3748;
        }

        .drop-zone {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
            min-height: 34px;
            padding: 6px 10px;
            border: 2px dashed #cbd5e0;
            border-radius: 6px;
            background: #f8fafc;
            margin: 0 4px;
            font-weight: 700;
            color: #4a5568;
            transition: border-color 0.2s, background 0.2s;
        }

        .drop-zone .drop-number {
            font-size: 0.75rem;
            font-weight: 500;
            color: #94a3b8;
            margin-right: 4px;
        }

        .drop-zone .drop-value {
            font-weight: 700;
            white-space: nowrap;
        }

        .drop-zone.over {
            border-color: #4299e1;
            background: #ebf8ff;
        }

        .drop-zone.filled {
            border-style: solid;
            border-color: #9ae6b4;
            background: #f0fff4;
            color: #22543d;
        }

        .heading-drop {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 12px 0 16px;
        }

        .heading-drop-inline {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 8px 0 12px;
            flex-wrap: wrap;
        }

        .heading-drop-inline span {
            font-size: 0.85rem;
            color: #475569;
        }

        .heading-drop-inline .drop-zone {
            min-width: 200px;
        }

        .drag-item strong {
            margin-right: 6px;
            font-weight: 700;
        }

        .drag-item .drag-label {
            flex: 1;
            text-align: left;
        }

        .heading-key {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 8px;
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        .heading-key-item {
            padding: 8px 10px;
            border: 1px dashed #cbd5e0;
            border-radius: 6px;
            background: #fdfdfd;
            color: #1f2937;
        }

        .heading-drop small {
            color: #64748b;
            font-size: 0.85rem;
        }

        .hint-text {
            color: #475569;
            font-size: 0.95rem;
            margin-top: 6px;
        }

        .summary-inline {
            margin-top: 0;
            margin-bottom: 6px;
            line-height: 1.8;
        }

        .contrast-white-black .drop-zone {
            border-color: #4a5568;
            background: #1a202c;
            color: #f7fafc;
        }
        .contrast-white-black .drop-zone.filled {
            border-color: #63b3ed;
            background: #2d3748;
            color: #f7fafc;
        }
        .contrast-yellow-black .drop-zone {
            border-color: #718096;
            background: #111;
            color: #f6e05e;
        }
        .contrast-yellow-black .drop-zone.filled {
            border-color: #f6e05e;
            background: #1a202c;
            color: #f6e05e;
        }

        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .contrast-white-black .modal {
            background-color: rgba(0, 0, 0, 0.75);
        }
        .contrast-white-black .modal-content {
            background-color: #0f1012;
            color: #f7fafc;
            border: 1px solid #2d3748;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
        }
        .contrast-yellow-black .modal {
            background-color: rgba(0, 0, 0, 0.8);
        }
        .contrast-yellow-black .modal-content {
            background-color: #0a0a0a;
            color: #f6e05e;
            border: 1px solid #4a5568;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
        }

        .contrast-white-black .score-display,
        .contrast-white-black .options-title {
            color: #f7fafc !important;
        }
        .contrast-yellow-black .score-display,
        .contrast-yellow-black .options-title {
            color: #f6e05e !important;
        }

        /* Options menu */
        .menu-button {
            width: 36px;
            height: 32px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            background: #f7fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
        }

        .menu-button:hover { background: #edf2f7; }
        .menu-button:active { transform: scale(0.97); }

        .menu-icon {
            width: 16px;
            height: 12px;
            display: grid;
            row-gap: 3px;
        }

        .menu-icon span {
            display: block;
            height: 2px;
            background: #2d3748;
            border-radius: 2px;
        }

        .icon-button {
            width: 38px;
            height: 32px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            background: #f7fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            color: #2d3748;
            font-size: 16px;
        }
        .icon-button:hover { background: #edf2f7; }
        .icon-button:active { transform: scale(0.97); }

        .options-modal {
            background: rgba(0, 0, 0, 0.35);
        }
        .options-modal .modal-content {
            max-width: 640px;
            width: 92%;
            text-align: left;
            padding: 26px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            background: #ffffff;
            color: #1a202c;
        }
        .contrast-white-black .options-modal { background: rgba(0, 0, 0, 0.75); }
        .contrast-yellow-black .options-modal { background: rgba(0, 0, 0, 0.85); }
        .contrast-white-black .options-modal .modal-content {
            background: #111 !important;
            color: #f7fafc !important;
        }
        .contrast-yellow-black .options-modal .modal-content {
            background: #000 !important;
            color: #f6e05e !important;
        }

        .options-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .options-title { font-size: 1.2rem; font-weight: 700; color: #1a202c; flex: 1; text-align: center; }

        .close-btn {
            border: none;
            background: transparent;
            font-size: 1.2rem;
            cursor: pointer;
            color: #2d3748;
        }
        .contrast-white-black .close-btn { color: #f7fafc !important; }
        .contrast-yellow-black .close-btn { color: #f6e05e !important; }

        .options-list {
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
        }

        .option-row {
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
            cursor: pointer;
            background: #fff;
        }

        .option-row:last-child { border-bottom: none; }

        .option-label { font-weight: 800; color: #2d3748; font-size: 1.08rem; }
        .option-sub { font-weight: 700; color: #4a5568; margin-left: 10px; font-size: 1.02rem; }

        .submenu button {
            width: 100%;
            text-align: left;
            padding: 16px 18px;
            border: none;
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.05rem;
            font-weight: 700;
        }

        .submenu button:last-child { border-bottom: none; }

        .submenu button:hover { background: #f7fafc; }

        .submenu .selected > .checkmark::before {
            content: "?";
            font-weight: 800;
        }

        .question-anchor {
            height: 0;
            width: 0;
            display: inline-block;
            position: relative;
            top: -8px;
        }

        .active-contrast { background: #000 !important; color: #fff !important; }
        .contrast-white-black { background: #111 !important; color: #fff !important; }
        .contrast-yellow-black { background: #000 !important; color: #f6e05e !important; }

        .contrast-white-black,
        .contrast-white-black p,
        .contrast-white-black h1,
        .contrast-white-black h2,
        .contrast-white-black h3,
        .contrast-white-black h4,
        .contrast-white-black h5,
        .contrast-white-black h6,
        .contrast-white-black label,
        .contrast-white-black .question-text,
        .contrast-white-black .option-label,
        .contrast-white-black .option-sub,
        .contrast-white-black .question-group-title,
        .contrast-white-black .timer,
        .contrast-white-black .progress-item,
        .contrast-white-black .options-title {
            color: #f7fafc !important;
        }

        .contrast-yellow-black,
        .contrast-yellow-black p,
        .contrast-yellow-black h1,
        .contrast-yellow-black h2,
        .contrast-yellow-black h3,
        .contrast-yellow-black h4,
        .contrast-yellow-black h5,
        .contrast-yellow-black h6,
        .contrast-yellow-black label,
        .contrast-yellow-black .question-text,
        .contrast-yellow-black .option-label,
        .contrast-yellow-black .option-sub,
        .contrast-yellow-black .question-group-title,
        .contrast-yellow-black .timer,
        .contrast-yellow-black .progress-item,
        .contrast-yellow-black .options-title {
            color: #f6e05e !important;
        }

        .contrast-white-black a { color: #90cdf4 !important; }
        .contrast-yellow-black a { color: #f6e05e !important; text-decoration: underline; }

        .contrast-white-black .container,
        .contrast-white-black .passage-container,
        .contrast-white-black .questions-container,
        .contrast-white-black header,
        .contrast-white-black .progress-container,
        .contrast-white-black .question,
        .contrast-white-black .question-group,
        .contrast-white-black .question-group-title,
        .contrast-white-black .options-modal .modal-content,
        .contrast-white-black .options-list,
        .contrast-white-black .submenu button,
        .contrast-white-black input,
        .contrast-white-black select {
            background: rgba(17, 17, 17, 0.94) !important;
            color: #fff !important;
            border-color: #2d3748 !important;
        }

        .contrast-yellow-black .container,
        .contrast-yellow-black .passage-container,
        .contrast-yellow-black .questions-container,
        .contrast-yellow-black header,
        .contrast-yellow-black .progress-container,
        .contrast-yellow-black .question,
        .contrast-yellow-black .question-group,
        .contrast-yellow-black .question-group-title,
        .contrast-yellow-black .options-modal .modal-content,
        .contrast-yellow-black .options-list,
        .contrast-yellow-black .submenu button,
        .contrast-yellow-black input,
        .contrast-yellow-black select {
            background: rgba(0, 0, 0, 0.94) !important;
            color: #f6e05e !important;
            border-color: #4a5568 !important;
        }

        .contrast-white-black .option-row,
        .contrast-white-black .submenu button,
        .contrast-white-black .options-list {
            border-color: #2d3748 !important;
        }
        .contrast-white-black .options-list,
        .contrast-white-black .option-row,
        .contrast-white-black .submenu button {
            background: #1a202c !important;
            color: #f7fafc !important;
        }
        .contrast-white-black .option-row i,
        .contrast-white-black .submenu button i {
            color: #f7fafc !important;
        }

        .contrast-yellow-black .option-row,
        .contrast-yellow-black .submenu button,
        .contrast-yellow-black .options-list {
            border-color: #4a5568 !important;
        }
        .contrast-yellow-black .options-list,
        .contrast-yellow-black .option-row,
        .contrast-yellow-black .submenu button {
            background: #1a202c !important;
            color: #f6e05e !important;
        }
        .contrast-yellow-black .option-row i,
        .contrast-yellow-black .submenu button i {
            color: #f6e05e !important;
        }

        .contrast-white-black input::placeholder,
        .contrast-white-black textarea::placeholder {
            color: #e2e8f0 !important;
        }
        .contrast-yellow-black input::placeholder,
        .contrast-yellow-black textarea::placeholder {
            color: #f6e05e !important;
        }

        .contrast-white-black .option-label,
        .contrast-white-black .option-sub,
        .contrast-white-black .option-row i,
        .contrast-white-black .submenu button {
            color: #f7fafc !important;
        }
        .contrast-yellow-black .option-label,
        .contrast-yellow-black .option-sub,
        .contrast-yellow-black .option-row i,
        .contrast-yellow-black .submenu button {
            color: #f6e05e !important;
        }

        .contrast-white-black #options-content {
            background: #111 !important;
            color: #f7fafc !important;
            border: 1px solid #2d3748 !important;
        }
        .contrast-yellow-black #options-content {
            background: #000 !important;
            color: #f6e05e !important;
            border: 1px solid #4a5568 !important;
        }

        .contrast-white-black .progress-item {
            background: #2d3748 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
        }
        .contrast-white-black .progress-item.current { background: #63b3ed !important; color: #0b1723 !important; border-color: #3182ce !important; }
        .contrast-white-black .progress-item.answered { background: #68d391 !important; color: #0f2c1a !important; border-color: #38a169 !important; }
        .contrast-white-black .progress-item.correct { background: #48bb78 !important; color: #0b1723 !important; border-color: #38a169 !important; }
        .contrast-white-black .progress-item.incorrect { background: #feb2b2 !important; color: #742a2a !important; border-color: #fc8181 !important; }

        .contrast-yellow-black .progress-item {
            background: #1a202c !important;
            color: #f6e05e !important;
            border-color: #718096 !important;
        }
        .contrast-yellow-black .progress-item.current { background: #d69e2e !important; color: #0b1723 !important; border-color: #b7791f !important; }
        .contrast-yellow-black .progress-item.answered { background: #ecc94b !important; color: #0b1723 !important; border-color: #d69e2e !important; }
        .contrast-yellow-black .progress-item.correct { background: #f6e05e !important; color: #0b1723 !important; border-color: #d69e2e !important; }
        .contrast-yellow-black .progress-item.incorrect { background: #feb2b2 !important; color: #742a2a !important; border-color: #fc8181 !important; }

        .contrast-white-black .btn,
        .contrast-white-black .logo-area {
            background: #2d3748 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
        }
        .contrast-yellow-black .btn,
        .contrast-yellow-black .logo-area {
            background: #1a202c !important;
            color: #f6e05e !important;
            border-color: #718096 !important;
        }

        .contrast-white-black .passage-info { color: #f7fafc !important; }
        .contrast-yellow-black .passage-info { color: #f6e05e !important; }

        .score-display {
            font-size: 2.2rem;
            font-weight: bold;
            margin: 20px 0;
            color: #2d3748;
        }

        .score-breakdown {
            margin: 20px 0;
            text-align: left;
        }

        .score-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.95rem;
        }

        .modal-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }

            .questions-container {
                width: 100%;
                border-left: none;
                border-top: 1px solid #e2e8f0;
            }

            .resizer {
                width: 100%;
                height: 4px;
                cursor: row-resize;
            }

            .resizer::before {
                width: 60px;
                height: 30px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .progress-item {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
            }

            .passage-info {
                font-size: 0.9rem;
            }

            header {
                flex-direction: column;
                gap: 10px;
                padding: 10px;
            }

            .logo-area {
                order: 1;
            }

            .passage-info {
                order: 2;
            }

            .timer {
                order: 3;
            }
        }

        @media (max-width: 480px) {
            .progress-item {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
            }

            .passage-info {
                font-size: 0.9rem;
            }
        }
    
        /* Contrast surface patch: keep question cards readable in alternate modes */
        .contrast-white-black .questions-container,
        .contrast-white-black .question,
        .contrast-white-black .question-group,
        .contrast-white-black .notes-picture,
        .contrast-white-black .word-list,
        .contrast-white-black .flow-chart,
        .contrast-white-black .flow-chart-box,
        .contrast-white-black .time-row,
        .contrast-white-black .notes-board,
        .contrast-white-black .notes-row,
        .contrast-white-black .note-row,
        .contrast-white-black .volcano-item,
        .contrast-white-black .exam-sheet,
        .contrast-white-black .place-card,
        .contrast-white-black .achievement-card,
        .contrast-white-black .form-field,
        .contrast-white-black .form-card,
        .contrast-white-black .form-grid,
        .contrast-white-black .form-row,
        .contrast-white-black .drag-options-shelf,
        .contrast-white-black .responsibility-item,
        .contrast-white-black .responsibility-list,
        .contrast-white-black .multiple-choice-card,
        .contrast-white-black .aar-paper,
        .contrast-white-black .wccp-paper,
        .contrast-white-black .bhbt-paper,
        .contrast-white-black .radio-label,
        .contrast-white-black .varroa-flow-layout .drop-column,
        .contrast-white-black .varroa-flow-layout .options-column,
        .contrast-white-black .features-list,
        .contrast-white-black .cities-list,
        .contrast-white-black .matching-section,
        .contrast-white-black .section-card,
        .contrast-white-black .table-panel,
        .contrast-white-black .table-card,
        .contrast-white-black .results-content,
        .contrast-white-black .score-item {
            background: #111827 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
            box-shadow: none !important;
        }

        .contrast-yellow-black .questions-container,
        .contrast-yellow-black .question,
        .contrast-yellow-black .question-group,
        .contrast-yellow-black .notes-picture,
        .contrast-yellow-black .word-list,
        .contrast-yellow-black .flow-chart,
        .contrast-yellow-black .flow-chart-box,
        .contrast-yellow-black .time-row,
        .contrast-yellow-black .notes-board,
        .contrast-yellow-black .notes-row,
        .contrast-yellow-black .note-row,
        .contrast-yellow-black .volcano-item,
        .contrast-yellow-black .exam-sheet,
        .contrast-yellow-black .place-card,
        .contrast-yellow-black .achievement-card,
        .contrast-yellow-black .form-field,
        .contrast-yellow-black .form-card,
        .contrast-yellow-black .form-grid,
        .contrast-yellow-black .form-row,
        .contrast-yellow-black .drag-options-shelf,
        .contrast-yellow-black .responsibility-item,
        .contrast-yellow-black .responsibility-list,
        .contrast-yellow-black .multiple-choice-card,
        .contrast-yellow-black .aar-paper,
        .contrast-yellow-black .wccp-paper,
        .contrast-yellow-black .bhbt-paper,
        .contrast-yellow-black .radio-label,
        .contrast-yellow-black .varroa-flow-layout .drop-column,
        .contrast-yellow-black .varroa-flow-layout .options-column,
        .contrast-yellow-black .features-list,
        .contrast-yellow-black .cities-list,
        .contrast-yellow-black .matching-section,
        .contrast-yellow-black .section-card,
        .contrast-yellow-black .table-panel,
        .contrast-yellow-black .table-card,
        .contrast-yellow-black .results-content,
        .contrast-yellow-black .score-item {
            background: #050505 !important;
            color: #f6e05e !important;
            border-color: #5f4b16 !important;
            box-shadow: none !important;
        }

        .contrast-white-black .job-table th,
        .contrast-white-black .job-table td,
        .contrast-white-black .bicycling-table th,
        .contrast-white-black .bicycling-table td,
        .contrast-white-black .course-table th,
        .contrast-white-black .course-table td,
        .contrast-white-black .section-table th,
        .contrast-white-black .section-table td,
        .contrast-white-black .form-input,
        .contrast-white-black .matching-input,
        .contrast-white-black .drop-zone-w,
        .contrast-white-black .drop-zone-small {
            background: #0b1220 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
        }

        .contrast-yellow-black .job-table th,
        .contrast-yellow-black .job-table td,
        .contrast-yellow-black .bicycling-table th,
        .contrast-yellow-black .bicycling-table td,
        .contrast-yellow-black .course-table th,
        .contrast-yellow-black .course-table td,
        .contrast-yellow-black .section-table th,
        .contrast-yellow-black .section-table td,
        .contrast-yellow-black .form-input,
        .contrast-yellow-black .matching-input,
        .contrast-yellow-black .drop-zone-w,
        .contrast-yellow-black .drop-zone-small {
            background: #050505 !important;
            color: #f6e05e !important;
            border-color: #5f4b16 !important;
        }

        .contrast-white-black .question-text,
        .contrast-white-black .question-group-title,
        .contrast-white-black .notes-center-title,
        .contrast-white-black .notes-heading,
        .contrast-white-black .notes-title,
        .contrast-white-black .notes-entry,
        .contrast-white-black .place-title,
        .contrast-white-black .section-heading,
        .contrast-white-black .section-subheading,
        .contrast-white-black .section-card-title,
        .contrast-white-black .form-main-label,
        .contrast-white-black .notes-label,
        .contrast-white-black .row-label,
        .contrast-white-black .row-value,
        .contrast-white-black .table-title,
        .contrast-white-black .card-note,
        .contrast-white-black .fill-number {
            color: #f7fafc !important;
        }

        .contrast-yellow-black .question-text,
        .contrast-yellow-black .question-group-title,
        .contrast-yellow-black .notes-center-title,
        .contrast-yellow-black .notes-heading,
        .contrast-yellow-black .notes-title,
        .contrast-yellow-black .notes-entry,
        .contrast-yellow-black .place-title,
        .contrast-yellow-black .section-heading,
        .contrast-yellow-black .section-subheading,
        .contrast-yellow-black .section-card-title,
        .contrast-yellow-black .form-main-label,
        .contrast-yellow-black .notes-label,
        .contrast-yellow-black .row-label,
        .contrast-yellow-black .row-value,
        .contrast-yellow-black .table-title,
        .contrast-yellow-black .card-note,
        .contrast-yellow-black .fill-number {
            color: #f6e05e !important;
        }
        /* Contrast highlight patch: avoid yellow-on-yellow selected text */
        .contrast-white-black .highlight {
            background-color: #63b3ed !important;
            color: #0b1723 !important;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.45) !important;
        }

        .contrast-yellow-black .highlight {
            background-color: #38bdf8 !important;
            color: #030712 !important;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.55) !important;
        }

        .contrast-white-black .highlight *,
        .contrast-yellow-black .highlight * {
            color: inherit !important;
        }
        /* Contrast shell patch: cover older standalone test shells */
        .contrast-white-black .container,
        .contrast-white-black .test-interface,
        .contrast-white-black .main-content,
        .contrast-white-black .passage-container,
        .contrast-white-black .questions-section,
        .contrast-white-black .part-header,
        .contrast-white-black .header,
        .contrast-white-black .submit-section,
        .contrast-white-black .bottom-navigation,
        .contrast-white-black .parts-navigation,
        .contrast-white-black .modal-content {
            background: #111827 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
        }

        .contrast-yellow-black .container,
        .contrast-yellow-black .test-interface,
        .contrast-yellow-black .main-content,
        .contrast-yellow-black .passage-container,
        .contrast-yellow-black .questions-section,
        .contrast-yellow-black .part-header,
        .contrast-yellow-black .header,
        .contrast-yellow-black .submit-section,
        .contrast-yellow-black .bottom-navigation,
        .contrast-yellow-black .parts-navigation,
        .contrast-yellow-black .modal-content {
            background: #050505 !important;
            color: #f6e05e !important;
            border-color: #5f4b16 !important;
        }

        .contrast-white-black .drop-zone:not(.correct):not(.incorrect),
        .contrast-white-black .drag-item,
        .contrast-white-black .input-field {
            background: #0b1220 !important;
            color: #f7fafc !important;
            border-color: #4a5568 !important;
        }

        .contrast-yellow-black .drop-zone:not(.correct):not(.incorrect),
        .contrast-yellow-black .drag-item,
        .contrast-yellow-black .input-field {
            background: #050505 !important;
            color: #f6e05e !important;
            border-color: #5f4b16 !important;
        }

        /* Full reading exam-style normalization for tests 1-31 */
        .watermark-layer { display: none !important; }
        html, body {
            margin: 0 !important;
            width: 100% !important;
            overflow-x: hidden !important;
        }
        body,
        .container,
        .main-content,
        .passage-container,
        .questions-container,
        .questions-section {
            background-color: #fff !important;
        }
        .container {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        .main-content {
            width: 100% !important;
            margin: 0 !important;
            border-left: 0 !important;
            border-right: 0 !important;
            box-shadow: none !important;
        }
        .passage-container,
        .questions-container,
        .questions-section {
            border-left: 0 !important;
            border-right: 0 !important;
            box-shadow: none !important;
        }
        .passage-container.hidden + .resizer,
        .questions-container.hidden + .resizer {
            display: none !important;
        }
        .passage-content,
        .questions-container,
        .questions-section {
            color: #000;
            font-size: 1rem;
            line-height: 1.55;
        }
        .section-title {
            color: #111827;
            font-size: 1.4rem;
            font-weight: 600;
            border-bottom: 1px solid #d8dee6;
        }
        .question-group {
            background: transparent !important;
            border-radius: 0 !important;
            padding: 0 !important;
            margin-bottom: 34px;
            box-shadow: none !important;
        }
        .question-group-title {
            color: #000;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .question {
            background: transparent !important;
            border: 0 !important;
            border-radius: 0 !important;
            padding: 0 !important;
            margin: 18px 0 34px;
            box-shadow: none !important;
        }
        .question:hover { box-shadow: none !important; }
        .question-text {
            color: #000;
            font-weight: 400;
            margin-bottom: 14px;
        }
        .question-text .question-anchor + *,
        .question-text strong {
            font-weight: 700;
        }
        .options {
            gap: 16px;
            padding-left: 8px;
        }
        .options label {
            color: #000;
            line-height: 1.45;
        }
        input[type="radio"],
        input[type="checkbox"] {
            accent-color: #1f6fbf;
        }
        .input-field,
        .input-field.inline-input,
        .form-input,
        .matching-input {
            border: 1px solid #888;
            border-radius: 2px;
            background: #fff;
            color: #000;
            font-size: 1rem;
            box-shadow: none;
        }
        .input-field.inline-input {
            min-width: 172px;
            padding: 2px 8px;
            text-align: center;
            font-weight: 700;
        }
        .input-field:focus,
        .input-field.inline-input:focus,
        .form-input:focus,
        .matching-input:focus {
            border-color: #1f6fbf;
            box-shadow: 0 0 0 1px #1f6fbf;
        }
        .drag-options {
            gap: 8px;
            margin-top: 10px;
        }
        .drag-item {
            background: #f8fafc;
            border: 1px solid #b9c7d8;
            border-radius: 4px;
            color: #111827;
            font-size: 1rem;
            font-weight: 600;
            text-align: left;
            box-shadow: none;
        }
        .drop-zone,
        .drop-zone-w,
        .drop-zone-small {
            border: 2px dashed #cbd5e0;
            border-radius: 4px;
            background: #f8fafc;
            color: #1f2937;
        }
        .drop-zone {
            min-width: 132px;
            min-height: 38px;
        }
        table {
            border-collapse: collapse;
            font-size: 1rem;
        }
        th,
        td {
            background: #fff;
            border: 1px solid #cbd5e0;
            color: #000;
        }
        th { font-weight: 700; }
        body.contrast-white-black,
        body.contrast-white-black .container,
        body.contrast-white-black .main-content,
        body.contrast-white-black .passage-container,
        body.contrast-white-black .questions-container,
        body.contrast-white-black .questions-section {
            background: #111827 !important;
            color: #f8fafc !important;
        }
        body.contrast-white-black .passage-content,
        body.contrast-white-black .questions-container,
        body.contrast-white-black .questions-section,
        body.contrast-white-black .section-title,
        body.contrast-white-black .question-group-title,
        body.contrast-white-black .question-text,
        body.contrast-white-black .options label,
        body.contrast-white-black .hint-text {
            color: #f8fafc !important;
        }
        body.contrast-white-black .question-group,
        body.contrast-white-black .question,
        body.contrast-white-black .question-group-title {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        body.contrast-white-black table,
        body.contrast-white-black th,
        body.contrast-white-black td {
            background: #111827 !important;
            color: #f8fafc !important;
            border-color: #607086 !important;
        }
        body.contrast-white-black th { background: #0b1220 !important; }
        body.contrast-white-black .drag-item,
        body.contrast-white-black .drop-zone,
        body.contrast-white-black .drop-zone-w,
        body.contrast-white-black .drop-zone-small,
        body.contrast-white-black .input-field,
        body.contrast-white-black .input-field.inline-input,
        body.contrast-white-black .form-input,
        body.contrast-white-black .matching-input {
            background: #172033 !important;
            color: #f8fafc !important;
            border-color: #607086 !important;
        }
        body.contrast-yellow-black,
        body.contrast-yellow-black .container,
        body.contrast-yellow-black .main-content,
        body.contrast-yellow-black .passage-container,
        body.contrast-yellow-black .questions-container,
        body.contrast-yellow-black .questions-section {
            background: #000 !important;
            color: #f6e05e !important;
        }
        body.contrast-yellow-black .passage-content,
        body.contrast-yellow-black .questions-container,
        body.contrast-yellow-black .questions-section,
        body.contrast-yellow-black .section-title,
        body.contrast-yellow-black .question-group-title,
        body.contrast-yellow-black .question-text,
        body.contrast-yellow-black .options label,
        body.contrast-yellow-black .hint-text {
            color: #f6e05e !important;
        }
        body.contrast-yellow-black .question-group,
        body.contrast-yellow-black .question,
        body.contrast-yellow-black .question-group-title {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        body.contrast-yellow-black table,
        body.contrast-yellow-black th,
        body.contrast-yellow-black td {
            background: #000 !important;
            color: #f6e05e !important;
            border-color: #8a7d22 !important;
        }
        body.contrast-yellow-black th { background: #111 !important; }
        body.contrast-yellow-black .drag-item,
        body.contrast-yellow-black .drop-zone,
        body.contrast-yellow-black .drop-zone-w,
        body.contrast-yellow-black .drop-zone-small,
        body.contrast-yellow-black .input-field,
        body.contrast-yellow-black .input-field.inline-input,
        body.contrast-yellow-black .form-input,
        body.contrast-yellow-black .matching-input {
            background: #111 !important;
            color: #f6e05e !important;
            border-color: #8a7d22 !important;
        }
        /* Full reading header normalization for older tests */
        .header-right {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
        }

