
        * {
            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;
        }

        .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 {
            padding: 12px 32px;
            background-color: #2563eb;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .start-button:hover {
            background-color: #1d4ed8;
        }

        .hidden {
            display: none !important;
        }

        .container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            width: 100vw;
            background: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        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;
        }

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

        .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: #fff;
            padding: 4px 20px;
            z-index: 100;
            flex-shrink: 0;
            border-top: 0;
        }

        .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;
        }

        .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: 2px;
            width: 16px;
            height: 16px;
        }

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

        .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 {
            display: none;
            background-color: #e6fffa;
            border: 1px solid #38b2ac;
            padding: 10px;
            border-radius: 4px;
            margin-top: 10px;
            font-size: 0.9rem;
        }

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

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

        /* Drag & Drop */
        .drag-options { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 14px; }
        .drag-item { padding:6px 10px; border:1px solid #cbd5e0; border-radius:6px; background:#f7fafc; cursor:grab; font-weight:600; min-width:32px; text-align:center; 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; }
        .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.over { border-color:#4299e1; background:#ebf8ff; }
        .drop-zone.filled { border-style:solid; border-color:#9ae6b4; background:#f0fff4; color:#22543d; }
        .notes-picture { margin-top:8px; font-size:0.98rem; line-height:1.6; color:#1f2937; }
        .notes-center-title { text-align:center; font-weight:700; font-size:1.1rem; margin:10px 0 8px; color:#2d3748; }
        .question-anchor { height:0; width:0; display:inline-block; position:relative; top:-8px; }

        .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 {
            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);
        }

        .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;
        }

        .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;
        }

        .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;
        }
        /* QA safety patch: keep passage UI usable on narrow screens and long content. */
        html,
        body,
        .container {
            max-width: 100%;
        }

        .main-content,
        .passage-container,
        .questions-container,
        .passage-content,
        .question-section,
        .question-group,
        .question,
        .options,
        .option,
        .word-list,
        .matching-section,
        .table-card,
        .table-panel,
        .note-card {
            min-width: 0;
        }

        img,
        svg,
        canvas,
        table {
            max-width: 100%;
        }

        input,
        select,
        textarea,
        .question-input,
        .input-field,
        .form-input,
        .matching-input,
        .inline-input,
        .drop-zone,
        .drag-item {
            max-width: 100%;
        }

        .selectable-text,
        .question-text,
        .option,
        .drag-item,
        .drop-zone,
        .table-card,
        .table-panel {
            overflow-wrap: anywhere;
            word-break: normal;
        }

        @media (max-width: 768px) {
            .watermark-layer {
                font-size: clamp(48px, 18vw, 120px);
                white-space: normal;
                text-align: center;
            }

            .header-menu-link,
            .logo-area,
            .timer {
                max-width: 100%;
                white-space: normal;
                text-align: center;
            }

            .progress-container,
            .bottom-navigation {
                overflow-x: auto;
            }
        }

/* IELTS_FULL_READING_STYLE_OVERRIDE_START */
.watermark-layer{display:none!important}
.passage-container,.questions-container{background:#fff!important}
html,body,.container,.main-content,.passage-container{background-color:#fff!important}
html,body{margin:0!important;width:100%!important;overflow-x:hidden!important}
.main-content,.passage-container,.questions-container{border-left:0!important;border-right:0!important;box-shadow:none!important}
.container{border:0!important;box-shadow:none!important;width:100%!important;max-width:none!important;margin:0!important}
.main-content{margin:0!important;width:100%!important}
.passage-container.hidden+.resizer{display:none!important}
.passage-content,.questions-container{color:#000!important;font-size:1rem!important;line-height:1.55!important}
.section-title{color:#111827!important;font-size:1.4rem!important;font-weight:600!important;border-bottom:1px solid #d8dee6!important;background:transparent!important}
.question-group{background:transparent!important;border-radius:0!important;padding:0!important;margin-bottom:34px!important;border:0!important;box-shadow:none!important}
.question-group-title{color:#000!important;font-size:1rem!important;font-weight:700!important;margin-bottom:8px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.question{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:18px 0 34px!important;box-shadow:none!important}
.question:hover{box-shadow:none!important}
.question-text{color:#000!important;font-weight:400!important;margin-bottom:14px!important}
.question-text .question-anchor+*,.question-text strong{font-weight:700!important}
.options{gap:16px!important;padding-left:8px!important;background:transparent!important;border:0!important}
.options label{color:#000!important;line-height:1.45!important;background:transparent!important}
input[type=radio],input[type=checkbox]{accent-color:#1f6fbf}
.input-field.inline-input,.inline-input,.note-inline,.question input[type=text],.summary-completion input[type=text],.completion-table input[type=text]{border:1px solid #888!important;border-radius:2px!important;background:#fff!important;color:#000!important;font-size:1rem!important;text-align:center!important;font-weight:700!important;box-shadow:none!important}
.input-field.inline-input,.inline-input,.note-inline,.completion-table input[type=text]{min-width:150px!important;padding:2px 8px!important}
.input-field.inline-input:focus,.inline-input:focus,.note-inline:focus,.question input[type=text]:focus,.completion-table input[type=text]:focus{border-color:#1f6fbf!important;box-shadow:0 0 0 1px #1f6fbf!important}
.drag-options,.heading-bank,.answer-bank,.word-bank,.drag-options-shelf{gap:8px!important;margin-top:10px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.drag-item,.heading-option,.answer-option,.word-option{background:#f8fafc!important;border:1px solid #b9c7d8!important;border-radius:4px!important;color:#111827!important;font-size:1rem!important;font-weight:600!important;text-align:left!important;box-shadow:none!important;padding:5px 9px!important}
.drop-zone{min-width:132px!important;min-height:38px!important;border:2px dashed #cbd5e0!important;border-radius:4px!important;background:#f8fafc!important;color:#1f2937!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 4px!important}
table{border-collapse:collapse!important;font-size:1rem!important}
th,td{background:#fff!important;border:1px solid #cbd5e0!important;color:#000!important;padding:6px 8px!important;vertical-align:top!important}
th{font-weight:700!important}
.radio-table th:not(:first-child),.radio-table td:not(:first-child),.paragraph-table th:not(:first-child),.paragraph-table td:not(:first-child),.matching-table th:not(:first-child),.matching-table td:not(:first-child){text-align:center!important;width:44px!important}
.mc-options label,.checkbox-options label{display:block!important;margin:8px 0!important}
.reason-options{display:flex!important;flex-direction:column!important;gap:10px!important;margin-top:10px!important;background:transparent!important;border:0!important;padding:0!important}
.reason-option{display:flex!important;align-items:flex-start!important;gap:8px!important;background:transparent!important;border:0!important;padding:0!important;color:#000!important}
.reason-option strong{min-width:18px!important}
.summary-text,.notes-bullets{line-height:2.05!important}
.summary-text .inline-input,.notes-bullets .note-inline{margin:0 6px!important}
.notes-picture{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.notes-center-title{font-weight:700!important;text-align:left!important;margin:0 0 10px!important;color:#000!important}
body.contrast-whiteblack,body.contrast-white-black,html:has(body.contrast-whiteblack),html:has(body.contrast-white-black),body.contrast-whiteblack .container,body.contrast-white-black .container,body.contrast-whiteblack .main-content,body.contrast-white-black .main-content,body.contrast-whiteblack .passage-container,body.contrast-white-black .passage-container,body.contrast-whiteblack .questions-container,body.contrast-white-black .questions-container{background:#111827!important;color:#f8fafc!important}
body.contrast-whiteblack .passage-content,body.contrast-white-black .passage-content,body.contrast-whiteblack .questions-container,body.contrast-white-black .questions-container,body.contrast-whiteblack .section-title,body.contrast-white-black .section-title,body.contrast-whiteblack .question-group-title,body.contrast-white-black .question-group-title,body.contrast-whiteblack .question-text,body.contrast-white-black .question-text,body.contrast-whiteblack .options label,body.contrast-white-black .options label,body.contrast-whiteblack .hint-text,body.contrast-white-black .hint-text,body.contrast-whiteblack .notes-center-title,body.contrast-white-black .notes-center-title{color:#f8fafc!important}
body.contrast-whiteblack table,body.contrast-white-black table,body.contrast-whiteblack th,body.contrast-white-black th,body.contrast-whiteblack td,body.contrast-white-black td{background:#111827!important;color:#f8fafc!important;border-color:#607086!important}
body.contrast-whiteblack th,body.contrast-white-black th{background:#0b1220!important}
body.contrast-whiteblack .drag-item,body.contrast-white-black .drag-item,body.contrast-whiteblack .heading-option,body.contrast-white-black .heading-option,body.contrast-whiteblack .answer-option,body.contrast-white-black .answer-option,body.contrast-whiteblack .word-option,body.contrast-white-black .word-option,body.contrast-whiteblack .drop-zone,body.contrast-white-black .drop-zone,body.contrast-whiteblack .input-field.inline-input,body.contrast-white-black .input-field.inline-input,body.contrast-whiteblack .inline-input,body.contrast-white-black .inline-input,body.contrast-whiteblack .note-inline,body.contrast-white-black .note-inline,body.contrast-whiteblack .question input[type=text],body.contrast-white-black .question input[type=text]{background:#172033!important;color:#f8fafc!important;border-color:#607086!important}
body.contrast-yellowblack,body.contrast-yellow-black,html:has(body.contrast-yellowblack),html:has(body.contrast-yellow-black),body.contrast-yellowblack .container,body.contrast-yellow-black .container,body.contrast-yellowblack .main-content,body.contrast-yellow-black .main-content,body.contrast-yellowblack .passage-container,body.contrast-yellow-black .passage-container,body.contrast-yellowblack .questions-container,body.contrast-yellow-black .questions-container{background:#000!important;color:#f6e05e!important}
body.contrast-yellowblack .passage-content,body.contrast-yellow-black .passage-content,body.contrast-yellowblack .questions-container,body.contrast-yellow-black .questions-container,body.contrast-yellowblack .section-title,body.contrast-yellow-black .section-title,body.contrast-yellowblack .question-group-title,body.contrast-yellow-black .question-group-title,body.contrast-yellowblack .question-text,body.contrast-yellow-black .question-text,body.contrast-yellowblack .options label,body.contrast-yellow-black .options label,body.contrast-yellowblack .hint-text,body.contrast-yellow-black .hint-text,body.contrast-yellowblack .notes-center-title,body.contrast-yellow-black .notes-center-title{color:#f6e05e!important}
body.contrast-yellowblack table,body.contrast-yellow-black table,body.contrast-yellowblack th,body.contrast-yellow-black th,body.contrast-yellowblack td,body.contrast-yellow-black td{background:#000!important;color:#f6e05e!important;border-color:#8a7d22!important}
body.contrast-yellowblack th,body.contrast-yellow-black th{background:#111!important}
body.contrast-yellowblack .drag-item,body.contrast-yellow-black .drag-item,body.contrast-yellowblack .heading-option,body.contrast-yellow-black .heading-option,body.contrast-yellowblack .answer-option,body.contrast-yellow-black .answer-option,body.contrast-yellowblack .word-option,body.contrast-yellow-black .word-option,body.contrast-yellowblack .drop-zone,body.contrast-yellow-black .drop-zone,body.contrast-yellowblack .input-field.inline-input,body.contrast-yellow-black .input-field.inline-input,body.contrast-yellowblack .inline-input,body.contrast-yellow-black .inline-input,body.contrast-yellowblack .note-inline,body.contrast-yellow-black .note-inline,body.contrast-yellowblack .question input[type=text],body.contrast-yellow-black .question input[type=text]{background:#111!important;color:#f6e05e!important;border-color:#8a7d22!important}
/* IELTS_FULL_READING_STYLE_OVERRIDE_END */


/* IELTS_PASSAGE_STYLE_SUPPLEMENT_START */
.question-section{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.drag-bank,.word-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 18px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.drag-sentence{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.drop-paragraph{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;line-height:2.05!important}
.mcq-list,.tf-options{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:8px 0 0!important;list-style:none!important}
.mcq-list li,.tf-options li{background:transparent!important;border:0!important;box-shadow:none!important;margin:8px 0!important;padding:0!important;color:#000!important}
.option{background:transparent!important;border:0!important;box-shadow:none!important;color:#000!important;padding:0!important;line-height:1.45!important}
body.contrast-whiteblack .mcq-list li,body.contrast-white-black .mcq-list li,body.contrast-whiteblack .tf-options li,body.contrast-white-black .tf-options li,body.contrast-whiteblack .option,body.contrast-white-black .option{color:#f8fafc!important;background:transparent!important}
body.contrast-yellowblack .mcq-list li,body.contrast-yellow-black .mcq-list li,body.contrast-yellowblack .tf-options li,body.contrast-yellow-black .tf-options li,body.contrast-yellowblack .option,body.contrast-yellow-black .option{color:#f6e05e!important;background:transparent!important}
body.contrast-whiteblack .drag-bank,body.contrast-white-black .drag-bank,body.contrast-whiteblack .word-list,body.contrast-white-black .word-list,body.contrast-yellowblack .drag-bank,body.contrast-yellow-black .drag-bank,body.contrast-yellowblack .word-list,body.contrast-yellow-black .word-list{background:transparent!important;border:0!important;box-shadow:none!important}
/* IELTS_PASSAGE_STYLE_SUPPLEMENT_END */

