@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Kalam:wght@400;700&display=swap');

/* ==========================================================================
   FENUP X — YAZILIYA HAZIRLIK / 7. SINIF SENARYO 2 PİLOTU (exam.css)
   Pardus ETAP / Akıllı Tahta (Kural 7), Çoklu Cihaz ve SPA İzolasyon Zırhı
   ========================================================================== */

/* 1. İZOLASYON ZIRHI: Yazılı sahnesi aktifken yarışma ve laboratuvar kontrollerini gizle */
#scene-yazili.is-hidden {
    display: none !important;
    pointer-events: none !important;
}

#scene-yazili:not(.is-hidden) ~ .top-controls,
body:has(#scene-yazili:not(.is-hidden)) .top-controls,
body:has(#scene-yazili:not(.is-hidden)) .lab-subview,
body:has(#scene-yazili:not(.is-hidden)) #lab-view {
    display: none !important;
    pointer-events: none !important;
}

/* 2. ANA SAHNE VE KAPSAYICI (Kural 7.2: min-height 100dvh ve 80px alt tampon) */
html:has(#scene-yazili:not(.is-hidden)),
body:has(#scene-yazili:not(.is-hidden)) {
    scroll-padding-top: 80px !important;
}

#scene-yazili {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 90px auto 40px auto;
    min-height: calc(100dvh - 150px);
    padding: 24px 28px 80px 28px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-top: 80px !important;
    color: #f8fafc;
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.practice-top-bar,
#btn-practice-back-choice,
#practice-setup-box,
#practice-active-box,
.exam-step-view {
    scroll-margin-top: 80px !important;
}

/* Ders çalışma, yazılı provası, öz değerlendirme ve sonuç ekranlarında tanıtım başlığı ve yinelenen Ana Sayfa gizlenir */
#scene-yazili.study-active {
    margin: 76px auto 10px auto;
    padding: 6px 24px 10px 24px;
}

#scene-yazili.practice-active,
#scene-yazili.eval-active,
#scene-yazili.summary-active {
    margin: 76px auto 20px auto;
    padding: 10px 24px 80px 24px;
}

#scene-yazili.choice-active .exam-header-bar,
#scene-yazili.study-active .exam-header-bar,
#scene-yazili.practice-active .exam-header-bar,
#scene-yazili.eval-active .exam-header-bar,
#scene-yazili.summary-active .exam-header-bar,
#scene-yazili.summary-active #btn-exam-back-home {
    display: none !important;
}

/* Step Views Visibility Contract: Tek ve Güvenilir Aktif/Gizli Mekanizması */
.exam-step-view.is-hidden,
#exam-view-study.is-hidden,
#exam-view-practice.is-hidden,
#exam-view-eval.is-hidden,
#exam-view-choice.is-hidden,
#exam-view-scope.is-hidden,
#exam-view-summary.is-hidden,
#scene-yazili:not(.study-active) #exam-view-study {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

@media (min-width: 821px) {
    #scene-yazili.study-active:not(.is-hidden) {
        height: calc(100dvh - 88px) !important;
        max-height: calc(100dvh - 88px) !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        padding-bottom: 8px !important;
    }

    #scene-yazili.study-active:not(.is-hidden) #exam-view-study {
        flex: 1 1 0% !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    #scene-yazili.study-active:not(.is-hidden) .exam-study-toolbar {
        flex-shrink: 0 !important;
        margin-bottom: 10px !important;
    }

    #scene-yazili.study-active:not(.is-hidden) .exam-cards-layout {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(260px, 290px) minmax(0, 1fr) !important;
        grid-template-rows: minmax(0, 1fr) !important;
        gap: 20px !important;
        align-items: stretch !important;
        overflow: hidden !important;
        transition: grid-template-columns 0.25s ease, gap 0.25s ease;
    }

    /* Çalışma Planı Kapatıldığında Tek Sütun ve Genişleyen Kart Alanı */
    #scene-yazili.study-active:not(.is-hidden) .exam-cards-layout.plan-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #scene-yazili.study-active:not(.is-hidden) .exam-cards-layout.plan-collapsed .exam-cardnav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #scene-yazili.study-active:not(.is-hidden) .exam-cards-layout.plan-collapsed .exam-contentgrid {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 460px);
        gap: 36px;
    }

    #scene-yazili.study-active .exam-cards-layout.plan-collapsed .exam-visualbox img,
    #scene-yazili.study-active .exam-cards-layout.plan-collapsed .exam-visualbox svg {
        max-width: 480px;
        height: auto;
        object-fit: contain;
    }

    #scene-yazili.study-active .exam-cardnav {
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        min-width: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
    }

    #scene-yazili.study-active #exam-card-article {
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    #scene-yazili.study-active .study-card-content-area {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        min-width: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        padding: 22px 28px 16px 28px !important;
    }

    #scene-yazili.study-active .exam-next-bar {
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        padding: 12px 24px !important;
        background: rgba(15, 23, 42, 0.98) !important;
        border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
        border-radius: 0 0 20px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 20 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
    }
}

/* Evrensel Dokunmatik Hedef Zırhı (Kural 7.1) */
#scene-yazili button,
#scene-yazili input,
#scene-yazili select,
#scene-yazili textarea,
#scene-yazili summary {
    font-family: inherit;
    box-sizing: border-box;
    min-width: 0;
    touch-action: manipulation;
}

#scene-yazili button,
#scene-yazili select,
#scene-yazili .exam-btn {
    min-height: 48px;
    min-width: 48px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(30, 41, 59, 0.85);
    color: #f8fafc;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#scene-yazili button:hover,
#scene-yazili select:hover {
    border-color: var(--neon-blue, #00d2ff);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
    transform: translateY(-1px);
}

#scene-yazili button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#scene-yazili button:focus-visible,
#scene-yazili select:focus-visible,
#scene-yazili textarea:focus-visible,
#scene-yazili input[type=range]:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

/* 3. BAŞLIK VE NAVİGASYON ŞERİDİ */
.exam-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 24px;
}

.exam-header-bar .btn-back-home {
    position: static !important;
}

.exam-nav-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exam-main-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.exam-main-title i {
    color: #2dd4bf;
}

.exam-sub-title {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin: 0;
}

.exam-badge {
    background: rgba(8, 127, 130, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.4);
    color: #2dd4bf;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* OYSS Rozeti (Ortak Yazılı Sınav Sistemi) */
.exam-oyss-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
    line-height: 1;
}

/* Modül Adımları Genel Kapsayıcı */
.exam-step-view {
    width: 100%;
    animation: fadeInStep 0.25s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Aşama 1: Senaryo ve Kapsam */
.exam-scope-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 10px 4px;
}

.exam-section-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #fff;
    margin: 8px 0 16px 0;
    font-weight: 800;
}

.exam-scope-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 16px 0;
    width: 100%;
}

.exam-scope-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.exam-scope-label {
    flex: 0 0 76px;
    min-width: 60px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.02em;
    text-align: left;
}

.exam-scope-field .exam-select {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
}

.exam-scope-accordion {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 6px 14px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.exam-scope-accordion summary {
    font-weight: 700;
    color: #38bdf8;
    cursor: pointer;
    user-select: none;
    list-style: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    touch-action: manipulation;
}

.exam-scope-accordion summary::-webkit-details-marker {
    display: none;
}

.exam-accordion-body {
    padding-top: 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.exam-migration-banner {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 10px 16px;
    margin: 12px 0;
    color: #e0f2fe;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.exam-outcome-distribution-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exam-outcome-distribution-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.outcome-tag {
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.4);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.82rem;
    font-family: monospace;
}

.exam-actions-row {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.exam-actions-row button {
    width: 100%;
    min-height: 52px;
    font-size: 1.1rem;
}

.full-width {
    width: 100% !important;
}

/* Aşama 2: Hazırlık Tercihi */
.exam-choice-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.exam-choice-scope-pill {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.exam-choice-header {
    text-align: center;
    margin-bottom: 30px;
}

.exam-choice-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

@media (max-width: 680px) {
    .exam-choice-cards-grid {
        grid-template-columns: 1fr;
    }
}

.exam-choice-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.exam-choice-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-blue, #00d2ff);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

.exam-choice-card.featured {
    border-color: rgba(45, 212, 191, 0.5);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(8, 127, 130, 0.25));
}

.choice-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 210, 255, 0.15);
    color: var(--neon-blue, #00d2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.exam-choice-card.featured .choice-icon-wrap {
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
}

.exam-choice-card h4 {
    font-size: 1.45rem;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.exam-choice-card p {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.choice-badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.choice-mini-badge {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Kayıtlı Çalışmalar Bölümü (İkincil / Seçenekler Altında) */
.choice-saved-works-section {
    max-width: 800px;
    margin: 4px auto 24px auto;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.choice-saved-works-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
    min-width: 0;
}

.choice-saved-works-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #cbd5e1;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.choice-saved-works-heading i {
    color: #38bdf8;
}

.choice-saved-works-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.choice-saved-works-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.choice-saved-attempt-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0;
    max-width: 800px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-saved-attempt-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.15);
}

.saved-attempt-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.saved-attempt-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.14);
    color: #2dd4bf;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saved-attempt-icon.study-saved-icon {
    background: rgba(56, 189, 248, 0.14);
    color: #38bdf8;
}

.saved-attempt-body {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.saved-attempt-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 4px;
    line-height: 1.35;
}

.saved-attempt-body h4 {
    font-size: 1.12rem;
    color: #f8fafc;
    margin: 0 0 4px 0;
    font-weight: 800;
}

.saved-attempt-body p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0 0 8px 0;
    line-height: 1.45;
}

.saved-version-note {
    font-size: 0.82rem !important;
    color: #fde68a !important;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 6px 10px;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
}

.saved-attempt-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.saved-attempt-pill {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.saved-attempt-pill.subtle {
    color: #94a3b8;
}

.saved-attempt-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.saved-attempt-actions button {
    min-width: 48px;
    min-height: 48px;
    touch-action: manipulation;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .choice-saved-works-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .choice-saved-attempt-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 14px;
        gap: 14px;
    }
    .saved-attempt-content {
        gap: 12px;
    }
    .saved-attempt-actions {
        flex-direction: column;
        width: 100%;
    }
    .saved-attempt-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* Konu Kartı Çalışma Üst Çubuk */
.exam-study-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.study-toolbar-left,
.study-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#btn-study-toggle-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    min-width: 48px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.2s ease;
}

#btn-study-toggle-plan:hover {
    border-color: rgba(0, 210, 255, 0.5) !important;
    color: #fff !important;
}

#btn-study-toggle-plan.active {
    background: rgba(8, 127, 130, 0.25) !important;
    border-color: rgba(0, 210, 255, 0.4) !important;
    color: var(--neon-blue, #00d2ff) !important;
}

.cardnav-check {
    color: #10b981;
    margin-left: auto;
    font-size: 0.85rem;
}

.exam-cardnav-btn.visited {
    border-left: 3px solid #10b981;
}

/* 5. GÖRÜNÜM 1: KONU KARTLARI (Çalışma Planı & Eğitim Portalı Düzeni) */
.exam-cards-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
    transition: grid-template-columns 0.25s ease, gap 0.25s ease;
}

#scene-yazili.study-active .exam-cards-layout.plan-collapsed,
.exam-cards-layout.plan-collapsed {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}

.exam-cards-layout.plan-collapsed .exam-cardnav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.exam-cardnav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.study-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.study-plan-header h4 {
    font-size: 1.1rem;
    color: #2dd4bf;
    margin: 0;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.study-plan-header.review-mode h4 {
    color: #fbbf24;
}

.study-plan-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.8);
    padding: 3px 8px;
    border-radius: 6px;
}

.study-mobile-outcome-picker {
    display: none;
}

.study-plan-outcomes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.study-plan-outcome-item {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.study-plan-outcome-item.active {
    border-color: rgba(45, 212, 191, 0.45);
    background: rgba(30, 41, 59, 0.75);
}

.study-plan-outcome-head {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #f1f5f9;
    touch-action: manipulation;
}

.study-plan-outcome-head:hover {
    background: rgba(51, 65, 85, 0.35);
}

.study-outcome-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.study-outcome-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.05em;
}

.study-outcome-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f8fafc;
}

.outcome-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.study-plan-cards-sublist {
    padding: 6px 10px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.study-plan-review-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.study-card-top-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.study-card-counter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.study-card-pill {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.study-card-pill.highlight {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
}

.study-card-pill.subtle {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.study-card-outcome-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.study-card-outcome-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.study-card-outcome-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    line-height: 1.45;
}

/* Sadeleştirilmiş Bilgi Kartı Başlık ve Kazanım Akordiyonu */
.study-card-top-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.study-badge-seq {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.study-badge-code {
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.study-outcome-expandable {
    margin: 8px 0 16px 0;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.study-outcome-expandable summary {
    cursor: pointer;
    color: #38bdf8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    font-size: 0.85rem;
}

.study-outcome-expandable summary:hover {
    color: #7dd3fc;
}

.study-outcome-expandable[open] summary {
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
    padding-bottom: 4px;
}

.study-outcome-full-text {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
    font-size: 0.82rem;
    text-align: left !important;
}

/* Ders Ekranında İki Yana Yaslama Yerine Rahat Okunur Sola Hizalama */
.exam-lead,
.exam-body-p,
.exam-contentgrid div,
.exam-card p {
    text-align: left;
    text-wrap: pretty;
}

/* Tam Ekran Çalışma Modu (Ders Kitabı Modu) */
#exam-view-study.fullscreen-study-active:not(.is-hidden) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #0b1120 !important;
    z-index: 2100 !important;
    overflow: hidden !important;
    padding: 16px 24px 14px 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Gizli adımlar ve sahneler için kesin sıfır-boyut zırhı */
#scene-yazili.is-hidden #exam-view-study,
#exam-view-study.is-hidden,
.exam-step-view.is-hidden {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#exam-view-study.fullscreen-study-active .exam-study-toolbar {
    flex-shrink: 0 !important;
    margin-bottom: 12px !important;
}

@media (min-width: 821px) {
    #exam-view-study.fullscreen-study-active .exam-cards-layout {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
        grid-template-rows: minmax(0, 1fr) !important;
        gap: 20px !important;
        align-items: stretch !important;
        overflow: hidden !important;
        transition: grid-template-columns 0.25s ease, gap 0.25s ease;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed .exam-cardnav {
        display: none !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed .exam-contentgrid {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 460px);
        gap: 36px;
    }
}

#exam-view-study.fullscreen-study-active #exam-card-article {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
}

#exam-view-study.fullscreen-study-active .study-card-content-area {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: 22px 28px 16px 28px !important;
}

#exam-view-study.fullscreen-study-active .exam-next-bar {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    padding: 12px 24px !important;
    background: rgba(15, 23, 42, 0.98) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 0 0 20px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 20 !important;
}

/* Konu Kartı ve Sol Liste İçin İnce Şık Kaydırma Çubukları */
.study-card-content-area::-webkit-scrollbar,
.exam-cardnav::-webkit-scrollbar {
    width: 6px;
}

.study-card-content-area::-webkit-scrollbar-track,
.exam-cardnav::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 8px;
}

.study-card-content-area::-webkit-scrollbar-thumb,
.exam-cardnav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 8px;
}

.study-card-content-area::-webkit-scrollbar-thumb:hover,
.exam-cardnav::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.5);
}

.exam-cardnav-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2dd4bf;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.exam-select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.exam-cardnav-btn {
    text-align: left;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    border-radius: 12px;
}

.exam-cardnav-btn b {
    color: #2dd4bf;
    font-size: 0.9rem;
    flex: 0 0 24px;
}

.exam-cardnav-btn[aria-pressed="true"],
.exam-cardnav-btn.active {
    background: rgba(8, 127, 130, 0.35);
    border-color: #2dd4bf;
    color: #fff;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.25);
}

.exam-panel {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
}

.exam-card-eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #2dd4bf;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.exam-card-title {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.exam-contentgrid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-bottom: 24px;
}

.exam-lead {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 14px;
    line-height: 1.5;
}

.exam-body-p {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    line-height: 1.6;
}

.exam-takeaway {
    background: rgba(8, 127, 130, 0.2);
    border-left: 4px solid #087f82;
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: #99f6e4;
    margin: 18px 0;
    line-height: 1.5;
}

.exam-warning {
    background: rgba(239, 68, 68, 0.12);
    border-left: 4px solid #ef4444;
    border-radius: 0 12px 12px 0;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #fca5a5;
    margin-top: 14px;
    line-height: 1.5;
}

.exam-warning strong {
    color: #f87171;
}

.exam-visualbox {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.exam-visualbox img,
.exam-visualbox svg {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
}

.exam-caption {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
}

.exam-check {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 24px;
    padding-top: 20px;
}

.exam-check strong {
    font-size: 1.1rem;
    color: #2dd4bf;
    display: block;
    margin-bottom: 8px;
}

.exam-check details {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 12px;
}

.exam-check summary {
    cursor: pointer;
    font-weight: 700;
    color: #38bdf8;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.exam-check details[open] summary {
    margin-bottom: 10px;
}

.exam-next-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.exam-btn-primary {
    background: linear-gradient(135deg, #087f82, var(--neon-blue, #00d2ff)) !important;
    border-color: var(--neon-blue, #00d2ff) !important;
    color: #000 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35) !important;
}

.exam-btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6) !important;
    transform: translateY(-2px) scale(1.02);
}

.exam-sources {
    margin-top: 20px;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

.exam-sources a {
    color: #38bdf8;
    text-decoration: none;
    margin-right: 12px;
}

.exam-sources a:hover {
    text-decoration: underline;
}

/* 6. İNTERAKTİF ÖĞRETİM MODELLERİ (Fiziksel İş & Uzay Etkileşimleri) */
.exam-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
    width: 100%;
}

.exam-controls button {
    flex: 1 1 90px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.exam-controls button[aria-pressed="true"] {
    background: #087f82;
    border-color: #2dd4bf;
    color: #fff;
}

.exam-range-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 6px;
}

input[type=range].exam-slider {
    width: 100%;
    min-height: 48px;
    accent-color: #2dd4bf;
    cursor: pointer;
    background: transparent;
}

.exam-status-box {
    background: rgba(8, 127, 130, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #f1f5f9;
    min-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    line-height: 1.4;
}

/* 7. GÖRÜNÜM 2: YEDİ SORULUK PROVA */
.exam-practice-header {
    margin-bottom: 24px;
}

.profile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.exam-selected-profile-badge {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: var(--neon-blue, #00d2ff);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.exam-selected-profile-badge strong {
    color: #fff;
}

.exam-profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0 24px 0;
}

.exam-profile-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 20px;
    min-height: 84px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(148, 163, 184, 0.2);
    color: #f8fafc;
    text-align: left;
    transition: all 0.25s ease;
    cursor: pointer;
    touch-action: manipulation;
    width: 100%;
}

.profile-radio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.profile-check-icon {
    font-size: 1.15rem;
    color: rgba(148, 163, 184, 0.25);
    transition: all 0.2s ease;
}

.exam-profile-btn small {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
}

.exam-profile-btn:hover {
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(30, 41, 59, 0.85);
}

.exam-profile-btn[aria-checked="true"],
.exam-profile-btn.active {
    background: linear-gradient(145deg, rgba(8, 127, 130, 0.4), rgba(0, 210, 255, 0.25)) !important;
    border-color: var(--neon-blue, #00d2ff) !important;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.35) !important;
}

.exam-profile-btn[aria-checked="true"] .profile-name,
.exam-profile-btn.active .profile-name {
    color: var(--neon-blue, #00d2ff);
}

.exam-profile-btn[aria-checked="true"] .profile-check-icon,
.exam-profile-btn.active .profile-check-icon {
    color: var(--neon-blue, #00d2ff);
    transform: scale(1.15);
}

.exam-history-note {
    font-size: 0.95rem;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 14px 0 8px 0;
}

.exam-storage-note {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* Soru Kartı */
.exam-question-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 24px;
    margin-top: 24px;
    box-sizing: border-box;
}

.exam-qmeta {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #2dd4bf;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.exam-qtitle {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.35;
}

.exam-qgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 44%);
    gap: 28px;
    align-items: start;
    margin-bottom: 16px;
}

.exam-qgrid.noimage {
    grid-template-columns: 1fr;
}

.exam-qimage-box {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    max-width: 580px;
    max-height: 440px;
    width: 100%;
}

.exam-qimage-box figure {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exam-qimage {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    cursor: zoom-in;
}

.exam-tablewrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    margin: 16px 0;
    width: 100%;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.exam-table caption {
    background: rgba(30, 41, 59, 0.7);
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: #f1f5f9;
}

.exam-table th,
.exam-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.exam-table th {
    background: rgba(15, 23, 42, 0.6);
    color: #38bdf8;
    font-weight: 700;
}

.exam-table td {
    color: #cbd5e1;
}

.exam-answer-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 16px 0 8px 0;
}

.exam-textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 1.05rem;
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.5;
}

.exam-textarea:focus {
    border-color: var(--neon-blue, #00d2ff);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

/* Çözüm ve Rubrik Paneli */
.exam-solution-box {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
}

.exam-solution-box h4 {
    font-size: 1.15rem;
    color: #2dd4bf;
    margin: 0 0 10px 0;
}

.exam-criterion-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.95rem;
}

.exam-criterion-row label strong {
    color: #f59e0b;
}

.exam-criterion-select {
    width: 100%;
    min-height: 48px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 0.95rem;
}

/* Sonuç Kartı */
.exam-result-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 127, 130, 0.3));
    border: 2px solid #2dd4bf;
    border-radius: 20px;
    padding: 30px;
    margin-top: 28px;
    box-shadow: 0 0 35px rgba(45, 212, 191, 0.25);
}

.exam-result-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-result-card p {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.exam-return-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.exam-return-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fef3c7;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 700;
}

.exam-return-btn:hover {
    background: rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.exam-error {
    color: #f87171;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 12px;
}

/* 7. AŞAMA 3b & 4 & 5 STİLLERİ */

/* Çözüm Modu Butonları (Ekranda / Kâğıtta) */
.exam-solve-mode-group {
    margin: 20px 0;
}

.exam-solve-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 14px;
    margin-top: 8px;
}

.exam-solve-mode-btn {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    padding: 16px !important;
    border-radius: 14px !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(15, 23, 42, 0.7) !important;
    color: #cbd5e1 !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.exam-solve-mode-btn i {
    font-size: 1.6rem;
    color: #94a3b8;
}

.exam-solve-mode-btn strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.exam-solve-mode-btn small {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
}

.exam-solve-mode-btn.active {
    border-color: #2dd4bf !important;
    background: rgba(8, 127, 130, 0.25) !important;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.25) !important;
}

.exam-solve-mode-btn.active i {
    color: #2dd4bf;
}

/* Prova Tek Soru Görünümü & Gezinme */
.practice-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 20px;
}

.practice-status-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.practice-pill-tag {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Kompakt Soru Seçici Buton ve Açılır Panel */
.practice-q-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 127, 130, 0.25);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 6px 14px;
    border-radius: 12px;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.2s ease;
    min-height: 44px;
}

.practice-q-picker-btn:hover,
.practice-q-picker-btn.active {
    background: rgba(8, 127, 130, 0.45);
    border-color: var(--neon-blue, #00d2ff);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.practice-q-picker-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(0, 210, 255, 0.5);
    border-radius: 16px;
    padding: 12px;
    z-index: 100;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.practice-q-picker-dropdown.is-hidden {
    display: none !important;
}

.q-picker-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.q-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    font-size: 0.88rem;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.15s ease;
    min-height: 44px;
}

.q-picker-item:hover {
    background: rgba(8, 127, 130, 0.35);
    border-color: rgba(0, 210, 255, 0.4);
    color: #fff;
}

.q-picker-item.active {
    background: rgba(8, 127, 130, 0.5);
    border-color: var(--neon-blue, #00d2ff);
    color: #fff;
    font-weight: 800;
}

.q-picker-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.q-picker-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.2);
    font-size: 0.82rem;
    color: #fff;
    flex-shrink: 0;
}

.q-picker-item.active .q-picker-num {
    background: var(--neon-blue, #00d2ff);
    color: #000;
    font-weight: 900;
}

.q-picker-topic {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
}

.q-picker-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.q-picker-pts {
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 700;
}

.q-picker-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.q-picker-badge.current {
    background: rgba(0, 210, 255, 0.2);
    color: var(--neon-blue, #00d2ff);
    border: 1px solid rgba(0, 210, 255, 0.4);
}

.q-picker-badge.answered {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.q-picker-badge.empty {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.q-picker-scenario-details {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.82rem;
    color: #94a3b8;
}

.q-picker-scenario-details summary {
    cursor: pointer;
    font-weight: 700;
    color: #cbd5e1;
}

.q-picker-scenario-body {
    padding-top: 6px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #94a3b8;
}

.practice-question-nav-strip,
.eval-question-nav-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.q-nav-btn {
    width: 44px;
    height: 44px;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    background: rgba(30, 41, 59, 0.8) !important;
    color: #cbd5e1 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-nav-btn:hover {
    border-color: #38bdf8 !important;
    color: #fff !important;
}

.q-nav-btn.active {
    border-color: #2dd4bf !important;
    background: #087f82 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.4) !important;
    transform: scale(1.08);
}

.q-nav-btn.answered {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
}

.q-nav-btn.eval-tam {
    background: rgba(16, 185, 129, 0.3) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}

.q-nav-btn.eval-kismen {
    background: rgba(245, 158, 11, 0.3) !important;
    border-color: #f59e0b !important;
    color: #fbbf24 !important;
}

.q-nav-btn.eval-yapamadim {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

.practice-card,
.eval-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.qmeta-points {
    color: #f59e0b;
    font-weight: 800;
}

.exam-paper-note {
    background: rgba(245, 158, 11, 0.12);
    border-left: 4px solid #f59e0b;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin: 14px 0 10px 0;
    color: #fef3c7;
    font-size: 0.92rem;
}

.btn-pause {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    padding: 8px 14px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5e1;
    touch-action: manipulation;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pause:hover {
    background: rgba(51, 65, 85, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-print-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    padding: 8px 14px;
    touch-action: manipulation;
    cursor: pointer;
}

.practice-top-left-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.practice-bottom-left,
.practice-bottom-right,
.eval-bottom-left,
.eval-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eval-top-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.eval-pending {
    opacity: 0.75;
}

.practice-bottom-bar,
.eval-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.practice-nav-middle,
.eval-progress-text {
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Öz Değerlendirme Ekranı */
.exam-eval-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.eval-student-answer-box {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 18px 0;
}

.eval-student-answer-box h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #38bdf8;
    font-weight: 700;
}

.student-answer-content {
    color: #f8fafc;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.eval-sample-answer-box {
    background: rgba(8, 127, 130, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 14px;
    padding: 20px;
    margin: 18px 0;
}

.eval-sample-answer-box h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #2dd4bf;
    font-weight: 800;
}

.sample-answer-text {
    color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.eval-alt-note {
    background: rgba(245, 158, 11, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fef3c7;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.eval-rubric-summary {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.eval-rubric-summary ul {
    margin: 6px 0 0 0;
    padding-left: 20px;
}

/* 3 Net Değerlendirme Seçeneği */
.eval-choice-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.eval-choice-title {
    display: block;
    font-weight: 800;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.eval-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.eval-choice-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(15, 23, 42, 0.7) !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.eval-opt-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.eval-opt-body strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.eval-opt-body small {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.35;
}

.eval-choice-btn.tam .eval-opt-icon { color: #10b981; }
.eval-choice-btn.kismen .eval-opt-icon { color: #f59e0b; }
.eval-choice-btn.yapamadim .eval-opt-icon { color: #ef4444; }

.eval-choice-btn.tam.selected {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.eval-choice-btn.kismen.selected {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.25) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3) !important;
}

.eval-choice-btn.yapamadim.selected {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3) !important;
}

.eval-choice-btn:disabled {
    cursor: default !important;
    opacity: 0.7;
}

.eval-choice-btn:disabled.selected {
    opacity: 1 !important;
}

/* Puansız Bilimsel Kontrol Listesi */
.eval-criteria-checklist {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
}

/* --- YENİ: ÖLÇÜT TEMELLİ DEĞERLENDİRME BİLEŞENLERİ --- */
.eval-criteria-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.eval-criteria-header {
    margin-bottom: 14px;
}

.eval-criteria-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eval-criteria-sub {
    font-size: 0.88rem;
    color: #94a3b8;
}

.eval-criteria-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-criterion-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 18px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 2px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 14px !important;
    cursor: pointer;
    min-height: 48px;
    touch-action: manipulation;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box !important;
    min-width: 0 !important;
    position: relative;
}

.exam-criterion-item:hover {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

.exam-criterion-item.checked {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.18) !important;
}

.exam-criterion-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.criterion-custom-box {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 7px;
    border: 2px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.82rem;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.exam-criterion-item.checked .criterion-custom-box {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #0f172a;
}

.criterion-body {
    flex: 1 1 0%;
    min-width: 0;
}

.criterion-text {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.criterion-point-badge {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

.exam-criterion-item.checked .criterion-point-badge {
    background: #38bdf8;
    color: #0f172a;
    font-weight: 900;
    border-color: #38bdf8;
}

/* Canlı Soru Puanı ve Durum Çubuğu */
.eval-score-live-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-sizing: border-box;
}

.live-score-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.live-score-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 600;
}

.live-score-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #f59e0b;
}

.live-score-val small {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
}

.status-badge.saved {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.q-nav-btn.eval-completed {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
    font-weight: 800 !important;
}

.eval-all-perfect-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    color: #34d399;
}

.eval-all-perfect-box i {
    font-size: 2.2rem;
    color: #10b981;
    flex-shrink: 0;
}

.eval-all-perfect-box strong {
    display: block;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 4px;
}

.eval-all-perfect-box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.45;
}

.return-card-missed-pts {
    display: none !important;
}

.eval-criteria-checklist .criteria-list-title {
    font-weight: 800;
    color: #38bdf8;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eval-criteria-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eval-criteria-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.4;
}

.eval-criteria-checklist li i {
    color: #38bdf8;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Soru Puan Rozeti */
.q-points-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid #38bdf8;
    color: #bae6fd;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

/* Kâğıtta Çözüm Kartı */
.paper-mode-active-card {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    max-width: 650px;
    margin: 30px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.paper-card-icon {
    font-size: 3rem;
    color: #38bdf8;
    margin-bottom: 16px;
}

.paper-mode-active-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
}

.paper-mode-active-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.paper-card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eval-paper-hint {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #bae6fd;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Aşama 5: Çalışma Özeti */
.exam-summary-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.summary-score-badge {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 127, 130, 0.3));
    border: 2px solid #2dd4bf;
    border-radius: 24px;
    padding: 26px 36px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(45, 212, 191, 0.25);
    max-width: 480px;
    width: 100%;
}

.summary-hero-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-hero-sub {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0 0 16px 0;
}

.summary-stats-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.stat-pill.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.stat-pill.warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.stat-pill.danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.score-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.score-big {
    font-size: clamp(3rem, 6vw, 4.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 25px rgba(45, 212, 191, 0.5);
    margin-bottom: 8px;
}

.score-note {
    display: block;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.exam-summary-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: start;
    gap: 16px;
    margin-bottom: 24px;
}

.summary-analysis-card {
    background: rgba(15, 23, 42, 0.75);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
}

.summary-analysis-card.success {
    border-color: rgba(16, 185, 129, 0.35);
}

.summary-analysis-card.warning {
    border-color: rgba(245, 158, 11, 0.35);
}

.analysis-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.analysis-card-header h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 800;
}

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.analysis-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px;
    padding: 12px 14px;
    border-left: 4px solid #94a3b8;
}

.analysis-item.success { border-left-color: #10b981; }
.analysis-item.warning { border-left-color: #f59e0b; }

.analysis-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.analysis-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Eksikleri Çalış Kutusu */
.exam-needs-study-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
}

.needs-study-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.needs-study-header i {
    font-size: 1.8rem;
    margin-top: 2px;
}

.needs-study-header h4 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 800;
}

.needs-study-header p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.summary-return-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
}

.return-card-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-radius: 14px !important;
    text-align: left !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere;
}

.return-card-btn:hover {
    border-color: #38bdf8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2) !important;
}

.return-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.return-card-code {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 800;
}

.return-card-info strong {
    color: #fff;
    font-size: 0.95rem;
}

.return-card-info small {
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.return-card-action {
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-end;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.return-card-btn:hover .return-card-action {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
}

.summary-actions-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.exam-btn-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}

.exam-btn-danger:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    border-color: #ef4444 !important;
}

.exam-btn-warning {
    background: rgba(245, 158, 11, 0.2) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fef3c7 !important;
}

.exam-btn-secondary:not(.scope-back-home):not(.btn-back-home):not(.btn-lab-nav-home) {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #cbd5e1 !important;
}

/* Birleşik Ortak Ana Sayfa Butonu Standardı (Yazılı Kapsam Girişi) */
.btn-lab-nav-home,
.btn-back-home,
#btn-exam-step-back.scope-back-home {
    background: rgba(0, 210, 255, 0.12) !important;
    border: 1.5px solid var(--neon-blue) !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.2) !important;
}
.btn-lab-nav-home:hover,
.btn-back-home:hover,
#btn-exam-step-back.scope-back-home:hover {
    background: var(--neon-blue) !important;
    color: #030712 !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5) !important;
}

/* 8. GÖRÜNÜM 3: ÖĞRETMEN İNCELEMESİ (ADMIN) */
.exam-review-panel {
    margin-top: 16px;
}

/* 9. DUYARLI KIRILIMLAR (Responsive Breakpoints) */
@media (max-width: 1024px) {
    .exam-cards-layout {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
    .exam-contentgrid {
        grid-template-columns: 1fr;
    }
    .exam-qgrid {
        grid-template-columns: 1fr;
    }
    .exam-qimage-box {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 820px) {
    #scene-yazili {
        padding: 18px 16px 120px 16px;
        margin-top: 68px !important;
        scroll-padding-top: 68px !important;
    }
    #scene-yazili.study-active:not(.is-hidden),
    #scene-yazili.practice-active:not(.is-hidden),
    #scene-yazili.eval-active:not(.is-hidden),
    #scene-yazili.summary-active:not(.is-hidden) {
        height: auto !important;
        max-height: none !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 12px 14px 100px 14px !important;
        margin-top: 68px !important;
        scroll-padding-top: 68px !important;
        display: block !important;
    }
    #scene-yazili.study-active:not(.is-hidden) #exam-view-study:not(.is-hidden) {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    .exam-cards-layout {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
        gap: 16px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .exam-cards-layout.plan-collapsed {
        gap: 0 !important;
    }
    .exam-cards-layout.plan-collapsed .exam-cardnav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .study-mobile-outcome-picker {
        display: block;
        margin-bottom: 8px;
    }
    .study-plan-outcomes-list {
        display: none;
    }
    .study-plan-header {
        margin-bottom: 8px;
    }
    .exam-cardnav {
        padding: 14px 16px;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .exam-panel {
        padding: 20px 16px;
    }
    #exam-card-article {
        height: auto !important;
        overflow: visible !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .study-card-content-area {
        overflow: visible !important;
        height: auto !important;
        padding: 20px 16px 14px 16px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Mobil Tek Sütun Ders İçeriği Zırhı: Plan açık da olsa kapalı da olsa tek sütun */
    .exam-contentgrid,
    .exam-cards-layout.plan-collapsed .exam-contentgrid,
    #exam-view-study.fullscreen-study-active .exam-contentgrid,
    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed .exam-contentgrid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .study-text-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .exam-visualbox,
    .exam-cards-layout.plan-collapsed .exam-visualbox,
    #exam-view-study.fullscreen-study-active .exam-visualbox {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .exam-visualbox img,
    .exam-visualbox svg,
    .exam-cards-layout.plan-collapsed .exam-visualbox img,
    .exam-cards-layout.plan-collapsed .exam-visualbox svg,
    #exam-view-study.fullscreen-study-active .exam-visualbox img,
    #exam-view-study.fullscreen-study-active .exam-visualbox svg {
        max-width: 100% !important;
        max-height: 280px !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* Mobil Araç Çubuğu Ergonomisi */
    .exam-study-toolbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .study-toolbar-left,
    .study-toolbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .exam-study-toolbar button {
        min-height: 48px !important;
        padding: 8px 12px !important;
        font-size: 0.88rem !important;
        border-radius: 12px !important;
        touch-action: manipulation !important;
        box-sizing: border-box !important;
    }

    /* Mobil Tam Ekran / Odaklanmış Ders Modu Zırhı */
    #exam-view-study.fullscreen-study-active {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        background: #0b1120 !important;
        z-index: 2100 !important;
        overflow: hidden !important;
        padding: max(8px, env(safe-area-inset-top, 8px)) max(10px, env(safe-area-inset-right, 10px)) max(8px, env(safe-area-inset-bottom, 8px)) max(10px, env(safe-area-inset-left, 10px)) !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #exam-view-study.fullscreen-study-active .exam-study-toolbar {
        flex-shrink: 0 !important;
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
        gap: 6px !important;
    }

    #exam-view-study.fullscreen-study-active .study-toolbar-left,
    #exam-view-study.fullscreen-study-active .study-toolbar-right {
        gap: 6px !important;
        display: flex !important;
        align-items: center !important;
    }

    #exam-view-study.fullscreen-study-active .exam-study-toolbar button {
        min-height: 44px !important;
        padding: 6px 10px !important;
        font-size: 0.82rem !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0% !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        gap: 8px !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cardnav {
        display: block !important;
        flex-shrink: 0 !important;
        padding: 8px 12px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed .exam-cardnav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #exam-view-study.fullscreen-study-active .exam-cards-layout.plan-collapsed {
        gap: 0 !important;
    }

    #exam-view-study.fullscreen-study-active #exam-card-article {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0% !important;
        min-height: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #exam-view-study.fullscreen-study-active .study-card-content-area {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        padding: 14px 14px 10px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    #exam-view-study.fullscreen-study-active .exam-next-bar {
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        padding: 10px 14px !important;
        border-radius: 0 0 14px 14px !important;
        background: rgba(15, 23, 42, 0.98) !important;
        border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4) !important;
        z-index: 20 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .exam-next-bar {
        position: sticky;
        bottom: 0;
        z-index: 50;
        border-radius: 0 0 16px 16px;
        margin-top: 0;
        padding: 12px 16px;
        background: rgba(15, 23, 42, 0.98);
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    .exam-profiles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .exam-main-title {
        font-size: 1.4rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    .study-toolbar-left,
    .study-toolbar-right {
        gap: 6px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }
    .study-toolbar-left button,
    .study-toolbar-right button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        font-size: 0.82rem !important;
        justify-content: center !important;
    }
    .exam-next-bar {
        gap: 8px !important;
        padding: 10px 12px !important;
    }
    .exam-next-bar button {
        flex: 1 1 120px !important;
        min-height: 48px !important;
        padding: 8px 8px !important;
        font-size: 0.84rem !important;
        width: auto !important;
    }
    .exam-choice-cards-grid {
        grid-template-columns: 1fr;
    }
    /* Mobil Sade Soru Ekranı: Üstte Tek Kompakt Satır */
    .practice-top-bar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
        background: rgba(15, 23, 42, 0.85) !important;
        border: 1px solid rgba(148, 163, 184, 0.25) !important;
        border-radius: 14px !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .practice-top-left-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    #btn-practice-back-choice {
        min-height: 44px !important;
        padding: 6px 10px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        touch-action: manipulation !important;
    }

    .practice-status-info {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
    }

    .practice-q-picker-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 6px 10px !important;
        font-size: 0.88rem !important;
        min-height: 44px !important;
        white-space: nowrap !important;
    }

    .practice-pill-tag {
        display: none !important;
    }

    .practice-question-nav-strip {
        display: none !important;
    }

    .practice-top-actions {
        flex-shrink: 0 !important;
    }

    #btn-practice-preview-print {
        min-height: 44px !important;
        padding: 6px 10px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        touch-action: manipulation !important;
    }

    /* Mobil Soru Kartı Sadeliği */
    .practice-card {
        padding: 16px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 14px !important;
    }

    .practice-card .exam-qtitle {
        font-size: 1.12rem !important;
        line-height: 1.35 !important;
        margin: 8px 0 10px 0 !important;
    }

    .practice-card .exam-body-p {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
    }

    .practice-card .exam-textarea {
        min-height: 120px !important;
        font-size: 0.92rem !important;
        padding: 10px 12px !important;
    }

    /* Mobil Alt Gezinme Çubuğu: Tek Satır ve Erişilebilir */
    .practice-bottom-bar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        margin-top: 14px !important;
        position: sticky !important;
        bottom: 0 !important;
        background: rgba(15, 23, 42, 0.98) !important;
        border-top: 1px solid rgba(148, 163, 184, 0.25) !important;
        border-radius: 14px !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5) !important;
        z-index: 50 !important;
    }

    .practice-bottom-left,
    .practice-bottom-right {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .practice-bottom-bar button {
        min-height: 48px !important;
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        touch-action: manipulation !important;
        width: auto !important;
    }

    .practice-nav-middle {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    /* Mobil Sade Değerlendirme Ekranı */
    .exam-eval-header-bar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .eval-title-wrap {
        display: none !important;
    }

    .eval-question-nav-strip {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        padding: 2px 0 !important;
        -webkit-overflow-scrolling: touch;
        width: auto !important;
        justify-content: flex-start !important;
    }

    .eval-question-nav-strip .q-nav-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        font-size: 0.88rem !important;
    }

    .eval-card {
        padding: 16px 14px !important;
        border-radius: 16px !important;
    }

    .eval-bottom-bar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .eval-bottom-bar button {
        min-height: 48px !important;
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        touch-action: manipulation !important;
        width: auto !important;
    }
    .exam-criterion-item {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .criterion-text {
        font-size: 0.92rem !important;
    }
    .eval-score-live-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px 14px !important;
    }
    .summary-score-badge {
        padding: 20px 16px;
    }
    .summary-actions-toolbar button {
        width: 100%;
    }
}

/* 10. Soru Kâğıdı Baskı Önizlemesi Modalı (Ekran A4 Görünümü) */
#exam-print-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 2200 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#exam-print-preview-modal.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2200 !important;
}

#exam-print-preview-modal.is-hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.exam-modal-open,
body.exam-fullscreen-open {
    overflow: hidden !important;
    touch-action: none !important;
}

.print-preview-modal-dialog {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 94vh;
    max-height: 94dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.print-preview-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 24px;
    background: rgba(30, 41, 59, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.print-preview-title-group h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.print-preview-title-group p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* V8.5: Baskı Önizleme Mod Seçici (Soru Kâğıdı vs Cevap Anahtarı) */
.print-preview-mode-switch {
    display: inline-flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.print-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.print-mode-btn:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
}

.print-mode-btn.active {
    background: #1e293b;
    color: #38bdf8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.print-mode-btn.active#btn-print-mode-answers {
    color: #ef4444;
}

.print-preview-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.print-preview-actions button {
    min-height: 48px;
    min-width: 48px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    touch-action: manipulation;
    cursor: pointer;
}

.print-preview-hint-banner {
    background: rgba(56, 189, 248, 0.12);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    padding: 10px 24px;
    color: #bae6fd;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}

.print-preview-scroll-viewport {
    flex: 1;
    overflow-y: auto;
    background: #1e293b;
    padding: 28px 16px 80px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

#exam-print-sheet,
.print-sheet,
.exam-paper,
.print-preview-paper {
    height: auto !important;
    min-height: max-content !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

#exam-print-sheet {
    background: #ffffff !important;
    color: #0f172a !important;
    width: 100%;
    max-width: 800px;
    height: auto !important;
    min-height: max-content !important;
    overflow: visible !important;
    padding: 36px 44px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Times New Roman', Times, serif, system-ui;
    line-height: 1.45;
    box-sizing: border-box;
}

/* Modal İçi Sınav Kâğıdı Standart Stilleri (Ekran ve Baskı Tutarlılığı) */
.print-header {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.print-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.print-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.print-school-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.print-sub-title {
    font-size: 0.95rem;
    color: #475569;
    margin: 2px 0 0 0;
    font-weight: 600;
}

.print-student-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #1e293b;
    margin-top: 10px;
}

.print-info-item {
    font-weight: 500;
}

.print-instructions {
    background: #f1f5f9;
    border-left: 3px solid #64748b;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #475569;
    margin: 12px 0 16px 0;
    font-style: italic;
    line-height: 1.4;
}

.print-questions-flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.print-question-block {
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 16px;
}

.print-q-header {
    margin-bottom: 6px;
}

.print-q-num {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.print-q-stem {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.88rem;
}

.print-table th, .print-table td {
    border: 1px solid #cbd5e1;
    padding: 6px 10px;
    text-align: center;
}

.print-table th {
    background: #f1f5f9;
    font-weight: 700;
}

.print-qimage {
    text-align: center;
    margin: 10px 0;
}

.print-qimage img {
    max-width: 280px;
    max-height: 200px;
    object-fit: contain;
}

.print-answer-lines-container {
    margin-top: 10px;
}

/* V8.5: Kırmızı El Yazılı Örnek Çözüm & Çözüm Rehberi */
.print-q-points-bracket {
    display: none;
    font-size: 0.92rem;
    font-weight: 800;
    color: #dc2626;
    margin-left: 8px;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

.exam-print-container.is-answers-mode .print-q-points-bracket {
    display: inline-block;
}

.exam-print-handwritten-answer {
    display: none;
    font-family: 'Kalam', 'Caveat', cursive !important;
    font-weight: 500 !important;
    color: #dc2626 !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0.2px !important;
    background: transparent !important;
    border: none !important;
    padding: 6px 4px !important;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(226, 232, 240, 0.7) 32px) !important;
    background-size: 100% 32px !important;
    min-height: 96px;
    box-sizing: border-box;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.exam-print-container.is-answers-mode .exam-print-handwritten-answer {
    display: block !important;
}

.exam-print-container.is-answers-mode .print-blank-lines {
    display: none !important;
}

.exam-print-container:not(.is-answers-mode) .exam-print-handwritten-answer {
    display: none !important;
}

.exam-print-container:not(.is-answers-mode) .print-blank-lines {
    display: block !important;
}

/* V8.7: Sade Örnek Çözüm Rozeti */
.exam-print-answer-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #b91c1c !important;
    background: rgba(254, 226, 226, 0.75) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    margin-bottom: 6px !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.4 !important;
}

.exam-print-handwritten-answer .handwritten-title {
    display: none !important;
}

.exam-print-handwritten-answer .handwritten-text {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: #dc2626 !important;
    font-family: 'Kalam', 'Caveat', cursive !important;
    line-height: 1.8 !important;
    letter-spacing: 0.2px !important;
}

.exam-print-handwritten-answer .handwritten-text strong {
    font-weight: 600 !important;
    color: #dc2626 !important;
    text-decoration: none !important;
}

.exam-print-handwritten-answer .handwritten-alternatives {
    display: none !important;
}

.print-lines-label {
    font-size: 0.8rem;
    font-weight: 700;
    font-style: italic;
    color: #475569;
    display: block;
    margin-bottom: 4px;
}

.print-ruled-lines {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
}

.print-line {
    border-bottom: 1.5px solid #94a3b8;
    height: 26px;
    width: 100%;
    box-sizing: border-box;
}

.print-sheet-footer {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

/* Öz Değerlendirme Bilgilendirme Notu */
.summary-disclaimer-note {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 10px 0 0 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 768px) {
    #exam-print-preview-modal {
        padding: 8px;
    }
    .print-preview-modal-dialog {
        max-height: 96dvh;
        border-radius: 14px;
    }
    .print-preview-modal-header {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .print-preview-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .print-preview-actions button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
    .print-preview-hint-banner {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    .print-preview-scroll-viewport {
        padding: 14px 6px 80px 6px;
    }
    #exam-print-sheet {
        padding: 20px 14px;
    }
}

/* 11. Kural 7 Erişilebilirlik ve Baskı */
/* Çerez Bildirimi Zırhı: Ders ve Prova Ekranında Butonların Üzerini Kapatmayı Önleme (Kural 7) */
.cookie-banner {
    pointer-events: none !important;
}

.cookie-banner a,
.cookie-banner button {
    pointer-events: auto !important;
}

body:has(#scene-yazili:not(.is-hidden)) .cookie-banner,
body:has(#scene-yazili.study-active) .cookie-banner {
    bottom: 84px !important;
    left: 20px !important;
    right: auto !important;
    max-width: 380px !important;
    z-index: 40 !important;
}

@media (max-width: 820px) {
    body:has(#scene-yazili:not(.is-hidden)) .cookie-banner,
    body:has(#scene-yazili.study-active) .cookie-banner {
        bottom: 84px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        z-index: 40 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #scene-yazili *,
    #scene-yazili *::before,
    #scene-yazili *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* 12. YAZDIRILABİLİR SINAV KÂĞIDI (BASKI / PDF ZIRHI) */
@media print {
    @import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Kalam:wght@400;700&display=swap');

    @page {
        size: A4 portrait;
        margin: 12mm 15mm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    /* Ekrana ait tüm arayüzü gizle */
    body > *:not(#exam-print-preview-modal) {
        display: none !important;
    }

    #scene-home, #quiz-view, #lab-view, #scene-yazili, .top-header, .footer, #main-footer, #starfield {
        display: none !important;
    }

    #exam-print-preview-modal {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .print-preview-modal-dialog {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .print-preview-modal-header,
    .print-preview-hint-banner {
        display: none !important;
    }

    .print-preview-scroll-viewport {
        padding: 0 !important;
        background: transparent !important;
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    #exam-print-sheet {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        display: block !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
        font-family: 'Times New Roman', Times, serif, system-ui !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        visibility: visible !important;
    }

    #exam-print-sheet * {
        visibility: visible !important;
    }

    .print-header {
        border-bottom: 2px solid #000;
        padding-bottom: 12px;
        margin-bottom: 14px;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-brand-row {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 10px;
    }

    .print-logo {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

    .print-school-title {
        font-size: 15pt;
        font-weight: bold;
        margin: 0;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .print-sub-title {
        font-size: 11pt;
        font-weight: normal;
        margin: 2px 0 0 0;
        color: #222;
    }

    .print-student-info-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
        gap: 8px;
        font-size: 10pt;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px dashed #666;
    }

    .print-instructions {
        font-size: 9.5pt;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        padding: 8px 12px;
        border-radius: 4px;
        margin-bottom: 16px;
        color: #0f172a;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-questions-flow {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .print-question-block {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        border-bottom: 1px solid #cbd5e1;
        padding-bottom: 14px;
        margin-bottom: 6px;
    }

    .print-q-header {
        display: flex;
        justify-content: space-between;
        font-weight: bold;
        font-size: 11pt;
        margin-bottom: 6px;
        border-bottom: 1px solid #000;
        padding-bottom: 2px;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .print-q-num {
        font-size: 11pt;
    }

    .print-q-stem {
        font-size: 10.5pt;
        line-height: 1.45;
        margin: 6px 0;
        color: #000;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-table {
        width: 100%;
        border-collapse: collapse;
        margin: 8px 0;
        font-size: 9.5pt;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-table th,
    .print-table td {
        border: 1px solid #000;
        padding: 4px 8px;
        text-align: left;
    }

    .print-table caption {
        font-weight: bold;
        margin-bottom: 4px;
        text-align: left;
    }

    .print-qimage {
        text-align: center;
        margin: 8px 0;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-qimage img {
        max-height: 220px !important;
        max-width: 95% !important;
        object-fit: contain !important;
    }

    .print-answer-lines-container {
        margin-top: 10px;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-lines-label {
        font-size: 9pt;
        font-weight: bold;
        font-style: italic;
        color: #333;
        margin-bottom: 4px;
        display: block;
    }

    .print-ruled-lines {
        margin-top: 6px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .print-line {
        border-bottom: 1px dotted #888;
        height: 1px;
        width: 100%;
    }

    /* V8.5: Cevap Anahtarı Modu Baskı Çıktısı */
    .exam-print-container.is-answers-mode .print-q-points-bracket {
        display: inline-block !important;
        color: #dc2626 !important;
    }

    .exam-print-container.is-answers-mode .exam-print-handwritten-answer {
        display: block !important;
        font-family: 'Kalam', 'Caveat', cursive !important;
        font-weight: 500 !important;
        color: #dc2626 !important;
        font-size: 1.15rem !important;
        line-height: 1.8 !important;
        letter-spacing: 0.2px !important;
        background: transparent !important;
        border: none !important;
        padding: 6px 4px !important;
        background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(226, 232, 240, 0.7) 32px) !important;
        background-size: 100% 32px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .exam-print-answer-badge {
        display: inline-flex !important;
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        color: #b91c1c !important;
        background: #fee2e2 !important;
        border: 1px solid #f87171 !important;
        border-radius: 4px !important;
        padding: 2px 6px !important;
        margin-bottom: 4px !important;
        font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .exam-print-container.is-answers-mode .print-blank-lines {
        display: none !important;
    }

    .exam-print-container:not(.is-answers-mode) .exam-print-handwritten-answer {
        display: none !important;
    }

    .exam-print-container:not(.is-answers-mode) .print-blank-lines {
        display: block !important;
    }
}

/* Ekranlar arası geri dönüş, soru/kart gezinmesinden ayrıdır. */
.exam-back-navigation { width: 100%; margin-bottom: 12px; flex-shrink: 0; text-align: left; }
#btn-exam-step-back { min-width: 48px; min-height: 48px; touch-action: manipulation; }
#btn-exam-back-home,
#btn-choice-change-scope, #btn-practice-setup-back,
#btn-practice-back-choice, #btn-eval-back-choice {
    display: none !important; pointer-events: none !important;
}
#scene-yazili.study-active .exam-back-navigation {
    display: none !important; pointer-events: none !important;
}
#scene-yazili { min-width: 0; }
#scene-yazili .summary-analysis-card,
#scene-yazili .exam-summary-analysis-grid,
#scene-yazili .summary-return-cards-grid { min-width: 0; box-sizing: border-box; }
@media (max-width: 820px) {
    #scene-yazili:not(.is-hidden) {
        min-height: 0 !important;
        padding-bottom: 80px !important;
        margin-bottom: 0 !important;
    }
}

#scene-yazili:not(.is-hidden) { padding-top: 12px !important; min-height: 0 !important; }
@media (min-width: 821px) {
    #scene-yazili:not(.is-hidden) { margin-top: 96px !important; }
}
/* Dokunmatik hover benzetimi düğmeyi tıklama sırasında oynatmamalı. */
@media (hover: none) {
    #scene-yazili button:hover { transform: none !important; }
}
#scene-yazili:not(.is-hidden) { margin-bottom: 0 !important; }
/* Yalnız soru şemaları: açık çizgileri koyu öğrenci yüzeyinden ayır. */
#scene-yazili .exam-qimage-box { background: #eef2f6; border-radius: 12px; }
#scene-yazili .exam-qimage { object-fit: contain; height: auto; }
/* V2'nin kısa kartları: büyük metin tercihinde doğal iç kaydırma sürer. */
#scene-yazili.content-v2 .exam-card-title { margin-bottom: 10px; font-size: clamp(1.3rem, 2vw, 1.65rem); }
#scene-yazili.content-v2 .exam-contentgrid { gap: 16px; margin-bottom: 8px; }
#scene-yazili.content-v2 .exam-lead { font-size: 1rem; line-height: 1.4; margin-bottom: 8px; }
#scene-yazili.content-v2 .exam-body-p { line-height: 1.4; margin-bottom: 8px; }
#scene-yazili.content-v2 .exam-takeaway,
#scene-yazili.content-v2 .exam-warning { padding: 8px 10px; margin: 8px 0; line-height: 1.4; }
@media (min-width: 821px) {
    #scene-yazili.content-v2.study-active .study-card-content-area { padding: 12px 16px !important; }
    #scene-yazili.content-v2 .study-card-top-meta { margin-bottom: 6px; }
}
#scene-yazili.content-v2 .exam-card-notes summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; touch-action: manipulation; }
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v2.study-active:not(.is-hidden) { margin-top: 68px !important; height: calc(100dvh - 76px) !important; max-height: calc(100dvh - 76px) !important; padding: 6px 12px !important; }
    #scene-yazili.content-v2.study-active:not(.is-hidden) .exam-back-navigation { position: absolute; top: 6px; left: 12px; width: 160px; z-index: 30; }
    #scene-yazili.content-v2.study-active:not(.is-hidden) .exam-study-toolbar { padding: 0 0 4px 170px !important; margin: 0 0 4px !important; min-height: 48px; }
    #scene-yazili.content-v2 .exam-contentgrid { display: grid !important; grid-template-columns: minmax(0,1.25fr) minmax(0,0.75fr) !important; gap: 12px !important; }
    #scene-yazili.content-v2.study-active:not(.is-hidden) .study-card-content-area { padding: 8px 12px !important; }
    #scene-yazili.content-v2 .exam-visualbox { padding: 8px; }
    #scene-yazili.content-v2 .exam-caption { margin: 4px 0; }
    #scene-yazili.content-v2 .exam-card-title { margin-bottom: 6px; }
}
#scene-yazili.content-v2 #exam-start-practice:hover { transform: none !important; }

@media (min-width: 821px) {
    #scene-yazili.content-v2 .study-card-top-meta { flex-direction: row; justify-content: space-between; padding-bottom: 6px; gap: 6px; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v2 .study-card-top-meta { flex-direction: row !important; justify-content: space-between; margin: 0 0 4px !important; padding: 0 !important; gap: 4px; border: 0; }
    #scene-yazili.content-v2 .study-outcome-expandable { margin: 0 !important; }
    #scene-yazili.content-v2.study-active .exam-next-bar { padding: 0 8px !important; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v2 .exam-visualbox img { max-height: 140px !important; object-fit: contain; }
}

/* V3: özgün oranlar, kaynak bilgisi ve görsel yerine gelen kart tabloları. */
#scene-yazili.content-v3 .exam-visualbox,
#scene-yazili.content-v3 .exam-visual-credit,
#scene-yazili.content-v3 .exam-tablewrap { min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
#scene-yazili.content-v3 .exam-visualbox img { object-fit: contain; max-height: 220px; border-radius: 0; }
#scene-yazili.content-v3 .exam-visualbox { padding: 10px; }
#scene-yazili.content-v3 #exam-visual .exam-tablewrap { width: 100%; margin: 0; }
#scene-yazili.content-v3 #exam-visual .exam-table { table-layout: fixed; }
#scene-yazili.content-v3 #exam-visual .exam-table td,
#scene-yazili.content-v3 #exam-visual .exam-table th { padding: 4px 8px; }
#scene-yazili.content-v3 #exam-visual .exam-table caption { padding: 6px 8px; }
#scene-yazili.content-v3 .exam-visual-credit summary { min-width: 48px; min-height: 48px; display: flex; align-items: center; cursor: pointer; touch-action: manipulation; }
#scene-yazili.content-v3 .exam-visual-credit p { margin: 6px 0; }
#scene-yazili.content-v3 .exam-visual-credit a { color: #99f6e4; min-height: 48px; display: inline-flex; align-items: center; touch-action: manipulation; }
@media (max-width: 768px) {
    #scene-yazili.content-v3 .exam-visual-credit { width: 100%; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v3 .exam-visual-credit { width: auto; }
    #scene-yazili.content-v3 .exam-visualbox img { max-height: 140px !important; }
}

#scene-yazili.content-v3 .exam-contentgrid.exam-text-only { grid-template-columns: minmax(0,1fr) !important; }
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v3 .study-card-top-meta { flex-wrap: nowrap; }
    #scene-yazili.content-v3 .exam-contentgrid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) !important; }
}

/* ========================================================================= */
/* FENUP X — V6 İÇERİK, GALERİ VE SADELEŞTİRİLMİŞ ÇALIŞMA AKIŞI STİLLERİ     */
/* ========================================================================= */

/* 1. Tek Kompakt Kaldığın Yerden Devam Et Kartı ve Kaydı Kaldır */
.choice-saved-work-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 12px;
    box-sizing: border-box;
}

.choice-saved-work-card .saved-attempt-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 0%;
    min-width: 0;
}

.choice-saved-work-card .saved-attempt-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.choice-saved-work-card .saved-attempt-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-clear-saved-work {
    background: transparent !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    cursor: pointer;
    border-radius: 10px;
    font-size: 0.85rem !important;
    padding: 8px 14px !important;
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-clear-saved-work:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

@media (max-width: 640px) {
    .choice-saved-work-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }
    .choice-saved-work-card .saved-attempt-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }
    .choice-saved-work-card .saved-attempt-actions button {
        flex: 1 1 0%;
        justify-content: center;
    }
}

/* 2. Ders Araç Çubuğu Kompakt Sıralama ve Tek Satır Güvencesi */
.exam-study-toolbar .btn-icon-only,
#btn-study-fullscreen.btn-icon-only {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .exam-study-toolbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        width: 100% !important;
    }
    .study-toolbar-left,
    .study-toolbar-right {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }
    .exam-study-toolbar button {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-height: 48px !important;
        padding: 8px 12px !important;
        font-size: 0.88rem !important;
        touch-action: manipulation !important;
    }
    .exam-study-toolbar .btn-icon-only,
    #btn-study-fullscreen.btn-icon-only {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        touch-action: manipulation !important;
    }
}

.study-meta-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 8px;
    flex-wrap: wrap;
}
.outcome-pill-code {
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.3);
}
.study-counter-topic {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 3. V6 Konu Kartı Renderer Alanları (Topics, Facts, Chain, Wide-Table, Dark Theme) */
.topics {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: topics;
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 14px;
}

.topics li {
    counter-increment: topics;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.topics li:before {
    content: counter(topics, decimal-leading-zero);
    font-size: 0.88rem;
    color: #38bdf8;
    font-weight: 700;
    flex-shrink: 0;
}

.facts {
    margin: 14px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.facts div {
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    min-width: 0;
}

.facts dt {
    font-size: 0.82rem;
    color: #38bdf8;
    margin-bottom: 3px;
    font-weight: 700;
}

.facts dd {
    font-size: 0.98rem;
    line-height: 1.4;
    margin: 0;
    color: #f1f5f9;
}

.chain-note {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
}

.chain {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 18px;
    font-size: 1.05rem;
}

.chain b {
    font-weight: 700;
    padding: 6px 12px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
}

.chain span {
    color: #38bdf8;
    font-weight: bold;
}

#exam-card-article.wide-table .exam-contentgrid {
    grid-template-columns: minmax(0, 1fr) !important;
}

#exam-card-article.wide-table .exam-visualbox,
#exam-card-article.wide-table .exam-tablewrap {
    width: 100% !important;
    max-width: 100% !important;
}

.exam-visualbox.theme-dark,
.exam-visualbox .diagram.theme-dark,
.diagram.dark-theme {
    background: #08111e !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    border-radius: 12px;
    padding: 10px;
}

@media (max-width: 640px) {
    .topics,
    .facts {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }
}

/* 4. Soru Görsel Galerisi (İki Gerçek Fotoğraf Yan Yana) */
.exam-qgallery,
.print-qgallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.exam-qgallery figure,
.print-qgallery figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
    min-width: 0;
}

.exam-qgallery figure img,
.print-qgallery figure img {
    max-height: 180px;
    width: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.exam-qgallery figcaption,
.print-qgallery figcaption {
    font-size: 0.82rem;
    line-height: 1.3;
    color: #94a3b8;
    margin-top: 6px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 580px) {
    .exam-qgallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 5. V6 İçerik Zırhı ve Uyumluluğu */
#scene-yazili.content-v6 .exam-visualbox,
#scene-yazili.content-v6 .exam-visual-credit,
#scene-yazili.content-v6 .exam-tablewrap { min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
#scene-yazili.content-v6 .exam-visualbox img { object-fit: contain; max-height: 220px; border-radius: 0; }
#scene-yazili.content-v6 .exam-visualbox { padding: 10px; }
#scene-yazili.content-v6 #exam-visual .exam-tablewrap { width: 100%; margin: 0; }
#scene-yazili.content-v6 #exam-visual .exam-table { table-layout: fixed; }
#scene-yazili.content-v6 #exam-visual .exam-table td,
#scene-yazili.content-v6 #exam-visual .exam-table th { padding: 4px 8px; }
#scene-yazili.content-v6 #exam-visual .exam-table caption { padding: 6px 8px; }
#scene-yazili.content-v6 .exam-visual-credit summary { min-width: 48px; min-height: 48px; display: flex; align-items: center; cursor: pointer; touch-action: manipulation; }
#scene-yazili.content-v6 .exam-visual-credit p { margin: 6px 0; }
#scene-yazili.content-v6 .exam-visual-credit a { color: #99f6e4; min-height: 48px; display: inline-flex; align-items: center; touch-action: manipulation; }
@media (max-width: 768px) {
    #scene-yazili.content-v6 .exam-visual-credit { width: 100%; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
    #scene-yazili.content-v6 .exam-visual-credit { width: auto; }
    #scene-yazili.content-v6 .exam-visualbox img { max-height: 140px !important; }
    #scene-yazili.content-v6 .study-card-top-meta { flex-wrap: nowrap; }
    #scene-yazili.content-v6 .exam-contentgrid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) !important; }
}
#scene-yazili.content-v6 .exam-contentgrid.exam-text-only { grid-template-columns: minmax(0,1fr) !important; }

/* ==========================================================================
   AKILLI TAHTA VE BÜYÜK EKRAN (1920x1080+ / ETAP) ERGONOMİSİ
   ========================================================================== */
@media (min-width: 1400px), (min-width: 1200px) and (min-height: 850px) {
  .study-card-title, .exam-card-title {
    font-size: 2.2rem !important; /* ~35px */
    line-height: 1.25 !important;
  }
  .study-meta-left, .exam-card-eyebrow {
    font-size: 1.15rem !important;
    letter-spacing: 0.08em !important;
  }
  .study-card-body p, .exam-card-body p, .study-topics-list li, .exam-body-p, .topics li {
    font-size: 1.4rem !important; /* ~22px */
    line-height: 1.65 !important;
  }
  .study-card-visual, .exam-card-visual, .exam-visualbox, #scene-yazili.content-v6 .exam-visualbox {
    min-height: 320px !important;
    max-height: 480px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .study-card-visual svg, .study-card-visual img,
  .exam-card-visual svg, .exam-card-visual img,
  .exam-visualbox svg, .exam-visualbox img,
  #scene-yazili.content-v6 .exam-visualbox img,
  #scene-yazili.content-v6 .exam-visualbox svg {
    max-height: 440px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    width: auto !important;
    min-width: 65% !important;
  }
  .study-nav-btn, .exam-nav-btn, .exam-primary-btn,
  .exam-btn-primary, .exam-btn-secondary, .exam-cardnav-btn {
    min-height: 56px !important;
    min-width: 56px !important;
    font-size: 1.2rem !important;
    padding: 12px 24px !important;
  }
  .concept-chain-item, .study-topic-chip, .chain b {
    font-size: 1.1rem !important;
    padding: 8px 16px !important;
  }
  .question-stem, .exam-question-prompt, .exam-question-stem {
    font-size: 1.45rem !important;
    line-height: 1.6 !important;
  }
}

/* ==========================================================================
   KESİN GİZLEME SÖZLEŞMESİ: is-hidden EKLENDİĞİNDE SAHNE KESİNLİKLE YER KAPLAMAZ
   ========================================================================== */
#scene-yazili.is-hidden,
.scene.is-hidden,
.exam-step-view.is-hidden {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ==========================================================================
   V7.9: SORU KARTLARINDA GÖRSEL KAYNAKLARI ÇAKIŞMA ÖNLEME VE ALT HİZALAMA
   ========================================================================== */
#scene-yazili .exam-qimage-box .exam-visual-credit,
.exam-qimage-box .exam-visual-credit {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    clear: both !important;
    box-sizing: border-box !important;
    font-size: 0.78rem !important;
    color: #475569 !important;
}

#scene-yazili .exam-qimage-box .exam-visual-credit summary,
.exam-qimage-box .exam-visual-credit summary {
    min-height: 36px !important;
    min-width: 0 !important;
    font-size: 0.75rem !important;
    color: #0284c7 !important;
    cursor: pointer !important;
    justify-content: flex-start !important;
    padding: 2px 6px !important;
}

/* ==========================================================================
   V8.0: ÇALIŞMA PLANIN (SOL MENÜ) AKORDİYON (COLLAPSIBLE) ENTEGRASYONU
   ========================================================================== */
.exam-cardnav-group {
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.5);
    transition: all 0.25s ease;
}

.exam-cardnav-group.open,
.exam-cardnav-group.active {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(15, 23, 42, 0.75);
}

.exam-cardnav-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
    touch-action: manipulation;
}

.exam-cardnav-group-header:hover {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
}

.exam-cardnav-group-header .outcome-arrow {
    font-size: 1rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    display: inline-block;
}

.exam-cardnav-group.open .exam-cardnav-group-header .outcome-arrow,
.exam-cardnav-group.active .exam-cardnav-group-header .outcome-arrow {
    color: #2dd4bf;
}

.exam-cardnav-sublist {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exam-cardnav-group.open .exam-cardnav-sublist,
.exam-cardnav-group.active .exam-cardnav-sublist,
.exam-cardnav-sublist.open {
    max-height: 500px;
    opacity: 1;
    padding: 6px 8px 10px 8px;
    overflow-y: auto;
}

/* ==========================================================================
   V8.5: ÇOCUK DOSTU VE ADİL PUANLAMALI 3 SEVİYELİ ÖZ DEĞERLENDİRME
   ========================================================================== */
.eval-decision-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.eval-decision-header {
    margin-bottom: 14px;
}

.eval-decision-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eval-decision-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.eval-main-decision-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.eval-choice-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none;
    -webkit-user-select: none;
    border: 2px solid transparent !important;
    text-align: left !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-height: 60px;
}

.eval-choice-btn .choice-btn-icon {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eval-choice-btn .choice-btn-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eval-choice-btn .choice-btn-title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.25;
}

.eval-choice-btn .choice-btn-points {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

/* 1. Tam Doğru Yaptım (Yeşil) */
.btn-eval-full {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-color: #a7f3d0 !important;
}

.btn-eval-full .choice-btn-icon {
    color: #059669;
}

.btn-eval-full .choice-btn-points {
    color: #047857;
}

.btn-eval-full:hover {
    background: #d1fae5 !important;
    border-color: #34d399 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.btn-eval-full.active {
    background: #d1fae5 !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35) !important;
}

/* 2. Kısmen Yaptım (Sarı / Kehribar) */
.btn-eval-partial {
    background: #fffbeb !important;
    color: #92400e !important;
    border-color: #fde68a !important;
}

.btn-eval-partial .choice-btn-icon {
    color: #d97706;
}

.btn-eval-partial .choice-btn-points {
    color: #b45309;
}

.btn-eval-partial:hover {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.25);
}

.btn-eval-partial.active {
    background: #fef3c7 !important;
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35) !important;
}

/* 3. Yapamadım / Boş Bıraktım (Kırmızı) */
.btn-eval-zero,
.btn-eval-empty,
.btn-eval-incorrect {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-color: #fecaca !important;
}

.btn-eval-zero .choice-btn-icon {
    color: #dc2626;
}

.btn-eval-zero .choice-btn-points {
    color: #b91c1c;
}

.btn-eval-zero:hover,
.btn-eval-empty:hover,
.btn-eval-incorrect:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.25);
}

.btn-eval-zero.active,
.btn-eval-empty.active,
.btn-eval-incorrect.active {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35) !important;
}

/* "Kısmen Yaptım" Alt Seçim Paneli (Akordiyon / Mini Panel) */
.eval-partial-breakdown {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 14px;
    margin-bottom: 16px;
    animation: evalSlideDown 0.25s ease-out;
}

@keyframes evalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partial-breakdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.partial-breakdown-header i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.partial-breakdown-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fef3c7;
}

.partial-breakdown-hint {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-left: auto;
}

.partial-breakdown-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
}

.partial-live-sum {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.partial-live-sum strong {
    font-size: 1.25rem;
    color: #f59e0b;
    font-weight: 900;
}

.btn-confirm-partial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f59e0b;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.btn-confirm-partial:hover {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-confirm-partial:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .eval-main-decision-buttons {
        grid-template-columns: 1fr;
    }
    .partial-breakdown-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-confirm-partial {
        justify-content: center;
    }
}

.eval-quick-status-actions {
    display: flex;
    gap: 12px;
    margin: 14px 0 16px 0;
    flex-wrap: wrap;
}

.stat-pill.neutral {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.stat-pill.danger-subtle {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   V8.0: GÖRSEL BÜYÜTME (LIGHTBOX / BÜYÜTEÇ MODALI VE İPUCU)
   ========================================================================== */
.exam-zoom-hint {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.exam-lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    box-sizing: border-box;
}

.exam-lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 75vh;
    overflow: hidden;
}

.exam-lightbox-content img,
.exam-lightbox-content svg {
    max-width: 85vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 8px;
    box-sizing: border-box;
}

.exam-lightbox-content.lightbox-dark-bg img,
.exam-lightbox-content.lightbox-dark-bg svg {
    background: #0f172a;
}

#scene-yazili .exam-qimage-box.print-bg-white,
.exam-qimage-box.print-bg-white,
.print-qimage.print-bg-white,
.exam-qimage-box.print-bg-white img,
.print-qimage.print-bg-white img {
    background: #ffffff !important;
}

#scene-yazili .exam-qimage-box.print-bg-white figcaption.exam-caption {
    color: #334155;
}

.exam-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: background 0.2s, transform 0.15s;
    touch-action: manipulation;
    z-index: 10;
}

.exam-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.exam-lightbox-caption {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   V8.0: AKILLI TAHTA (ETAP 1920x1080) VE AKIŞKAN TİPOGRAFİ (min-width: 1440px)
   ========================================================================== */
@media (min-width: 1440px) {
  .exam-qtitle,
  .exam-hero-title,
  .exam-card-title,
  .study-card-title {
    font-size: clamp(1.8rem, 2vw, 2.4rem) !important;
    line-height: 1.3 !important;
  }
  .exam-body-p,
  .exam-qstem,
  .question-stem,
  .exam-question-prompt,
  .exam-question-stem,
  .q-subquestion,
  .exam-qgrid p,
  .study-card-body p,
  .exam-card-body p,
  .study-topics-list li,
  .topics li {
    font-size: clamp(1.15rem, 1.2vw, 1.35rem) !important;
    line-height: 1.65 !important;
  }
  .exam-takeaway,
  .exam-warning,
  .study-warning-box {
    font-size: clamp(1rem, 1.2vw, 1.25rem) !important;
    line-height: 1.5 !important;
  }
  .exam-btn-primary,
  .exam-btn-secondary,
  .exam-profile-btn,
  .btn-eval-zero,
  .btn-eval-empty,
  .btn-eval-incorrect {
    min-height: 56px !important;
    font-size: 1.1rem !important;
    padding: 12px 24px !important;
  }
  textarea.exam-textarea,
  .exam-textarea {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    min-height: 180px !important;
  }
}

/* ==========================================================================
   V8.1: KURUMSAL & YASAL BİLGİLENDİRME MODAL VE SEKMELERİ (ABOUT / PRIVACY / COOKIES / TERMS)
   ========================================================================== */
.legal-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100 !important;
    padding: 16px;
    box-sizing: border-box;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal-modal-backdrop.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.legal-modal-card {
    width: 100%;
    max-width: 880px;
    height: 85vh;
    max-height: 85vh;
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    color: #f1f5f9;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    flex-shrink: 0;
}

.legal-modal-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    letter-spacing: -0.01em;
}

.legal-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.legal-modal-close:hover,
.legal-modal-close:focus-visible {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    transform: rotate(90deg);
}

.legal-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
}

.legal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(30, 41, 59, 0.7);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.legal-tab-btn:hover {
    color: #e2e8f0;
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(56, 189, 248, 0.4);
}

.legal-tab-btn.is-active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(56, 189, 248, 0.15));
    color: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.legal-content-body {
    flex: 1 1 0px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 28px;
    box-sizing: border-box;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.legal-tab-pane {
    animation: legalFadeIn 0.2s ease;
}

@keyframes legalFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.legal-tab-pane h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #38bdf8;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding-bottom: 6px;
}

.legal-tab-pane h3:first-child {
    margin-top: 0;
}

.legal-tab-pane p {
    margin-bottom: 14px;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-tab-pane ul {
    margin: 12px 0 18px 20px;
    padding: 0;
    list-style-type: disc;
}

.legal-tab-pane li {
    margin-bottom: 10px;
    color: #cbd5e1;
    line-height: 1.6;
}

.legal-tab-pane strong {
    color: #f1f5f9;
}

.legal-tab-pane code {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
}

.legal-highlight-box {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-left: 4px solid #38bdf8;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 16px 0;
    color: #e2e8f0;
}

.legal-highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer butonları için temiz ve net tıklama alanı */
.policy-links .btn-legal-open {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    touch-action: manipulation;
}

.policy-links .btn-legal-open:hover,
.policy-links .btn-legal-open:focus-visible {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

@media (max-width: 640px) {
    .legal-modal-card {
        height: 90vh;
        max-height: 90vh;
        border-radius: 14px;
    }
    .legal-modal-header {
        padding: 14px 16px;
    }
    .legal-modal-title {
        font-size: 1.1rem;
    }
    .legal-tabs {
        padding: 8px 12px;
        gap: 6px;
    }
    .legal-tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .legal-content-body {
        padding: 16px;
        font-size: 0.92rem;
    }
    .legal-tab-pane h3 {
        font-size: 1.05rem;
        margin-top: 18px;
    }
}


/* Fullscreen root is portaled to body to escape transformed/glass ancestors. */
#exam-view-study.fullscreen-study-active:not(.is-hidden) {
    margin: 0 !important; max-width: none !important; max-height: none !important;
    transform: none !important; border-radius: 0 !important;
}

/* ============================================================================
   V8.9.42 — ÇİFT DERİNLİKLİ BİLGİ İSTASYONU (Hızlı Tekrar | Kapsamlı Hazırlık)
   4 Hedef Ekran (ETAP 1920, Masaüstü 1366, Tablet 768, Mobil 390) + A4 Print
   ============================================================================ */

.study-toolbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

.study-depth-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.exam-study-toolbar .study-depth-btn,
.study-depth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid transparent !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    opacity: 0.78;
    box-shadow: none !important;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.exam-study-toolbar .study-depth-btn:hover,
.study-depth-btn:hover {
    color: #f8fafc !important;
    opacity: 1;
    background: rgba(56, 189, 248, 0.16) !important;
}

.exam-study-toolbar .study-depth-btn.active,
.study-depth-btn.active {
    opacity: 1 !important;
    border: 2px solid #38bdf8 !important;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.38) 0%, rgba(2, 132, 199, 0.74) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.study-pdf-btn {
    min-height: 44px;
    white-space: nowrap;
}

/* Kapsamlı Hazırlık Düzeni — Serbest Yükseklikli Dijital Ders Rehberi */
#scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) {
    height: auto !important;
    max-height: none !important;
    min-height: calc(100dvh - 88px) !important;
    overflow: visible !important;
    padding-bottom: 48px !important;
    text-align: left !important;
}

#scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) #exam-view-study.comprehensive-active {
    flex: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

#scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) #exam-view-study.comprehensive-active .exam-cards-layout,
#exam-view-study.comprehensive-active .exam-cards-layout {
    flex: none !important;
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 24px !important;
    align-items: start !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
}

#scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) #exam-view-study.comprehensive-active .exam-cards-layout.plan-collapsed,
#exam-view-study.comprehensive-active .exam-cards-layout.plan-collapsed {
    grid-template-columns: minmax(0, 1fr) !important;
}

#exam-view-study.comprehensive-active .exam-cards-layout.plan-collapsed #exam-cardnav {
    display: none !important;
}

#exam-view-study.comprehensive-active #exam-cardnav {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-align: left;
}

.comp-mobile-sticky-picker {
    display: none;
}

.comp-outcome-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.comp-outcome-nav-btn {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(30, 41, 59, 0.65);
    color: #e2e8f0;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.comp-outcome-nav-btn:hover {
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(30, 41, 59, 0.92);
}

.comp-outcome-nav-btn.active {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.34), rgba(15, 23, 42, 0.95));
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.22);
}

.comp-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.comp-nav-min {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

.comp-nav-title {
    font-size: 0.95rem;
    line-height: 1.35;
    color: #f8fafc;
}

.comp-nav-unit {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Sağ Okuma Sütunu */
#exam-card-article.comprehensive-mode {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 28px 32px !important;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-align: left !important;
}

.comp-reading-container {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: left;
}

.comp-scenario-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #bae6fd;
    font-size: 0.9rem;
    font-weight: 600;
}

.comp-outcome-doc {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 1. Hero Bandı */
.comp-hero-band {
    padding: 24px 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.28) 0%, rgba(15, 23, 42, 0.94) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.comp-outcome-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.comp-unit-pill,
.comp-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
}

.comp-outcome-title {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.25;
    color: #ffffff;
    font-weight: 800;
}

.comp-outcome-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #7dd3fc;
    font-weight: 600;
}

.comp-hero-summary {
    margin: 2px 0 0;
    font-size: 1.04rem;
    line-height: 1.72;
    color: #e2e8f0;
}

.comp-concepts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.comp-concept-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.34);
    color: #e0f2fe;
    font-size: 0.84rem;
    font-weight: 600;
}

/* 2. Ayrıntılı Konu Bölümleri & Hibrit Görseller */
.comp-sections-stack {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.comp-section-block {
    padding: 24px 26px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comp-section-heading {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.32;
    color: #38bdf8;
    font-weight: 800;
}

.comp-section-lead {
    margin: 0;
    padding: 12px 16px;
    border-left: 4px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: rgba(14, 165, 233, 0.1);
    color: #f1f5f9;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.6;
}

.comp-section-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-section-paragraphs p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #e2e8f0;
}

.comp-section-visuals {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 6px;
}

.comp-figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.35);
    cursor: zoom-in;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.comp-figure:hover {
    border-color: rgba(56, 189, 248, 0.65);
}

.comp-figure-custom-svg {
    cursor: default;
    padding: 12px;
}

.comp-img-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-figure-illustration .comp-img-frame {
    aspect-ratio: 16 / 9;
}

.comp-figure-illustration .comp-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comp-figure:not(.comp-figure-illustration) .comp-img-frame img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    display: block;
}

.comp-figure-svg .comp-img-frame {
    background: #f8fafc;
    padding: 14px;
}

.comp-zoom-pill {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.comp-figure figcaption {
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.comp-gallery {
    display: grid;
    gap: 14px;
}

.comp-gallery.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comp-gallery.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comp-gallery.comp-gallery-photo .comp-figure .comp-img-frame {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
}

.comp-gallery.comp-gallery-photo .comp-figure .comp-img-frame img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

.comp-gallery .comp-figure img.crop-portrait-top,
.study-print-gallery .study-print-figure img.crop-portrait-top {
    object-fit: cover !important;
    object-position: center 18% !important;
}

.study-print-gallery.study-print-gallery-photo .study-print-img-wrap {
    aspect-ratio: 16 / 10;
    width: 100%;
    max-height: 145px;
    overflow: hidden;
}

.study-print-gallery.study-print-gallery-photo .study-print-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

.comp-gallery.comp-gallery-svg {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
}

.comp-gallery.comp-gallery-svg .comp-figure .comp-img-frame {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    padding: 14px 16px;
    background: #0f172a !important;
    overflow: visible;
}

.comp-gallery.comp-gallery-svg .comp-figure .comp-img-frame img,
.comp-figure-svg .comp-img-frame img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
}

.study-print-gallery.study-print-gallery-svg {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
}

.study-print-gallery.study-print-gallery-svg .study-print-img-wrap {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    padding: 8px 10px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: visible;
}

.study-print-gallery.study-print-gallery-svg .study-print-img-wrap img,
.study-print-figure.is-svg .study-print-img-wrap img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 155px !important;
    margin: 0 auto;
    object-fit: contain !important;
    display: block;
}

.comp-gallery.comp-gallery-diagram {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
}

.comp-gallery.comp-gallery-diagram .comp-figure .comp-img-frame {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    padding: 10px 12px;
    background: #0f172a;
    overflow: visible;
}

.comp-gallery.comp-gallery-diagram .comp-figure .comp-img-frame img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
}

.study-print-gallery.study-print-gallery-diagram {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
}

.study-print-gallery.study-print-gallery-diagram .study-print-img-wrap {
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    padding: 8px 10px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: visible;
}

.study-print-gallery.study-print-gallery-diagram .study-print-img-wrap img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 175px !important;
    margin: 0 auto;
    object-fit: contain !important;
    display: block;
}

/* Özel Eğitsel Vektörel SVG Diyagramlar + Hafif Mikro-Animasyon */
.comp-svg-box {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.comp-custom-svg {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes compOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes compSoftPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

.comp-svg-orbit {
    transform-box: fill-box;
    transform-origin: center;
    animation: compOrbitSpin 28s linear infinite;
}

.comp-svg-pulse {
    animation: compSoftPulse 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .comp-svg-orbit,
    .comp-svg-pulse {
        animation: none !important;
    }
}

/* 3. Karşılaştırma Tabloları */
.comp-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comp-block-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: #f8fafc;
    font-weight: 800;
}

.comp-block-title i {
    color: #38bdf8;
}

.comp-table-card {
    border-radius: 16px;
    padding: 18px 20px;
    background: rgba(30, 41, 59, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.comp-table-title {
    margin: 0 0 12px;
    font-size: 1.04rem;
    color: #e0f2fe;
    font-weight: 700;
}

.comp-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 0.94rem;
    color: #e2e8f0;
}

.comp-table thead th {
    background: rgba(2, 132, 199, 0.34);
    color: #ffffff;
    font-weight: 800;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

.comp-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    line-height: 1.5;
    vertical-align: top;
}

.comp-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.45);
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

/* 4. Günlük Yaşamdan Örnekler */
.comp-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.comp-example-card {
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.62);
    border: 1px solid rgba(56, 189, 248, 0.24);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comp-example-card h4 {
    margin: 0;
    font-size: 1.02rem;
    color: #7dd3fc;
    font-weight: 700;
}

.comp-example-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* 5. Yazılıda Dikkat! */
.comp-watchouts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-watchout-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.comp-watchout-trap,
.comp-watchout-truth {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-watchout-trap p,
.comp-watchout-truth p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #f1f5f9;
}

.comp-watchout-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comp-watchout-label.trap {
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

.comp-watchout-label.truth {
    background: rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.45);
}

.comp-watchout-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fbbf24;
}

/* 6. Kendini Hızlı Kontrol Et + Sanal Laboratuvar Köprüsü */
.comp-qchecks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comp-quick-check {
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.26);
    overflow: hidden;
}

.comp-quick-check[open] {
    border-color: rgba(16, 185, 129, 0.55);
}

.comp-qc-summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 13px 16px;
    cursor: pointer;
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.45;
}

.comp-qc-summary::-webkit-details-marker {
    display: none;
}

.comp-qc-num {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.22);
    color: #7dd3fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.comp-qc-q {
    flex: 1 1 auto;
}

.comp-qc-toggle {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.16);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
}

.comp-quick-check[open] .comp-qc-toggle {
    background: rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
}

.comp-qc-answer {
    padding: 12px 16px 15px 56px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: #a7f3d0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.comp-lab-bridge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(2, 132, 199, 0.22) 100%);
    border: 1px solid rgba(52, 211, 153, 0.45);
}

.comp-lab-bridge-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-lab-bridge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6ee7b7;
}

.comp-lab-bridge-info h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 800;
}

.comp-lab-bridge-info p {
    margin: 0;
    font-size: 0.94rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.comp-lab-bridge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    text-decoration: none !important;
    white-space: nowrap;
}

.comp-bottom-nav {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-top: 8px !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
}

/* ETAP Akıllı Tahta (>= 1600px, 1920x1080) */
@media (min-width: 1600px) {
    #scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) #exam-view-study.comprehensive-active .exam-cards-layout,
    #exam-view-study.comprehensive-active .exam-cards-layout {
        grid-template-columns: 280px minmax(0, 1fr) !important;
        gap: 28px !important;
    }

    .comp-reading-container {
        max-width: 1080px;
    }

    .comp-outcome-title {
        font-size: 2.05rem;
    }

    .comp-hero-summary,
    .comp-section-paragraphs p,
    .comp-section-lead,
    .comp-example-card p,
    .comp-watchout-trap p,
    .comp-watchout-truth p,
    .comp-qc-summary,
    .comp-qc-answer {
        font-size: 1.15rem; /* ~18.4px */
        line-height: 1.75;
    }

    .study-depth-btn,
    .study-pdf-btn,
    .comp-outcome-nav-btn,
    .comp-lab-bridge-btn,
    .comp-qc-summary {
        min-height: 50px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    #scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) #exam-view-study.comprehensive-active .exam-cards-layout,
    #exam-view-study.comprehensive-active .exam-cards-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    #scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden) .exam-cards-layout.plan-collapsed #exam-cardnav,
    #exam-view-study.comprehensive-active .exam-cards-layout.plan-collapsed #exam-cardnav {
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    #exam-view-study.comprehensive-active #exam-cardnav {
        position: static;
        max-height: none;
        padding: 14px 16px;
    }

    .comp-outcome-nav-list {
        display: none;
    }

    .comp-mobile-sticky-picker {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .comp-mobile-pills {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .comp-mobile-pill {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.3);
        background: rgba(30, 41, 59, 0.8);
        color: #cbd5e1;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
    }

    .comp-mobile-pill.active {
        background: #0284c7;
        border-color: #38bdf8;
        color: #ffffff;
    }

    #exam-card-article.comprehensive-mode {
        padding: 20px 22px !important;
    }

    .comp-gallery.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil (<= 767px, 390x844) */
@media (max-width: 767px) {
    .study-toolbar-center {
        width: 100%;
        order: 3;
    }

    .study-depth-switch {
        width: 100%;
    }

    .study-depth-btn {
        flex: 1 1 50%;
        min-height: 48px;
        padding: 8px 10px;
        font-size: 0.86rem;
    }

    .study-pdf-btn {
        min-height: 48px;
    }

    #exam-view-study.comprehensive-active #exam-cardnav {
        position: sticky;
        top: 6px;
        z-index: 25;
        backdrop-filter: blur(10px);
    }

    .comp-mobile-pill {
        min-height: 48px;
    }

    #exam-card-article.comprehensive-mode {
        padding: 16px 14px !important;
    }

    .comp-hero-band,
    .comp-section-block,
    .comp-table-card {
        padding: 16px 14px;
    }

    .comp-outcome-title {
        font-size: 1.38rem;
    }

    .comp-hero-summary,
    .comp-section-paragraphs p,
    .comp-section-lead {
        font-size: 1rem; /* >= 16px */
    }

    .comp-gallery.cols-2,
    .comp-gallery.cols-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .comp-watchout-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .comp-watchout-arrow {
        transform: rotate(90deg);
        font-size: 1.1rem;
    }

    .comp-qc-summary {
        min-height: 52px;
        padding: 12px;
    }

    .comp-qc-answer {
        padding: 12px 14px;
    }

    .comp-lab-bridge-btn {
        width: 100%;
        min-height: 48px;
    }
}

/* ============================================================================
   BİLGİ İSTASYONU SENARYOYA ÖZEL A4 YAZDIRMA / PDF ŞABLONU
   ============================================================================ */

#exam-print-sheet.study-print-mode {
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.5 !important;
}

.study-print-outcome {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #cbd5e1;
}

.study-print-outcome:last-child {
    border-bottom: none;
}

.study-print-hero {
    background: #f8fafc;
    border: 1.5px solid #94a3b8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.study-print-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.study-print-unit,
.study-print-meta-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #1e293b;
    font-size: 11px;
    font-weight: 600;
}

.study-print-outcome-title {
    margin: 4px 0;
    font-size: 18px;
    color: #0f172a;
    font-weight: 800;
}

.study-print-outcome-subtitle {
    margin: 0 0 6px;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}

.study-print-hero-summary {
    margin: 6px 0 8px;
    font-size: 13px;
    color: #0f172a;
}

.study-print-concepts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.study-print-concept-chip {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    font-size: 11px;
    color: #0f172a;
    background: #ffffff;
}

.study-print-section {
    margin-bottom: 14px;
}

.study-print-sec-heading,
.study-print-block-title {
    margin: 12px 0 6px;
    font-size: 15px;
    color: #0f172a;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 3px;
}

.study-print-sec-lead {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.study-print-sec-body p,
.study-print-card p {
    margin: 0 0 6px;
    font-size: 12.5px;
    color: #0f172a;
}

.study-print-gallery {
    display: grid;
    gap: 10px;
    margin: 8px 0;
}

.study-print-gallery.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-print-gallery.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.study-print-figure {
    margin: 8px 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-img-wrap img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 195px;
    object-fit: contain;
    margin: 0 auto;
}

.study-print-figure.is-illustration .study-print-img-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 195px;
    object-fit: contain;
    margin: 0 auto;
}

.study-print-figure.is-custom-svg .comp-custom-svg {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.study-print-figure figcaption {
    margin-top: 6px;
    font-size: 11.5px;
    color: #334155;
    text-align: center;
}

.study-print-table-wrap {
    margin: 8px 0 12px;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-table-title {
    margin: 0 0 5px;
    font-size: 13px;
    color: #0f172a;
}

.study-print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
    color: #0f172a;
}

.study-print-table th,
.study-print-table td {
    border: 1px solid #94a3b8;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

.study-print-table thead th {
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 800;
}

.study-print-examples-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.study-print-example-card,
.study-print-watchout,
.study-print-qc,
.study-print-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 11px;
    margin-bottom: 8px;
    background: #ffffff;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-example-card h4,
.study-print-card-title {
    margin: 0 0 4px;
    font-size: 13px;
    color: #0f172a;
}

.study-print-watchout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    border-color: #b45309;
    background: #fffbeb;
}

.study-print-watchout .comp-watchout-trap p,
.study-print-watchout .comp-watchout-truth p {
    color: #0f172a !important;
    font-size: 12px;
}

.study-print-watchout .comp-watchout-label.trap {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.study-print-watchout .comp-watchout-label.truth {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.study-print-qc .comp-qc-summary {
    color: #0f172a !important;
    min-height: auto;
    padding: 0 0 5px;
    font-size: 12.5px;
}

.study-print-qc .comp-qc-num {
    background: #e2e8f0;
    color: #0f172a;
}

.study-print-qc .comp-qc-answer {
    background: #f8fafc;
    color: #0f172a !important;
    padding: 6px 10px;
    border-top: 1px solid #cbd5e1;
    font-size: 12px;
}

.study-print-takeaway,
.study-print-misconception {
    margin-top: 6px;
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 12px;
    background: #f1f5f9;
    color: #0f172a;
}

/* Özel SVG'lerin Beyaz A4 PDF / Print Yüksek Kontrast Uyarlaması */
.comp-custom-svg-print .comp-svg-bg,
#exam-print-sheet.study-print-mode .comp-svg-bg {
    fill: #ffffff !important;
    stroke: #334155 !important;
}

.comp-custom-svg-print .comp-svg-card,
#exam-print-sheet.study-print-mode .comp-svg-card {
    fill: #f8fafc !important;
}

.comp-custom-svg-print .comp-svg-title,
.comp-custom-svg-print .comp-svg-text,
#exam-print-sheet.study-print-mode .comp-svg-title,
#exam-print-sheet.study-print-mode .comp-svg-text {
    fill: #0f172a !important;
}

.comp-custom-svg-print .comp-svg-muted,
#exam-print-sheet.study-print-mode .comp-svg-muted {
    fill: #334155 !important;
}

.comp-custom-svg-print .comp-svg-ring-outer,
#exam-print-sheet.study-print-mode .comp-svg-ring-outer {
    fill: #eef2ff !important;
    stroke: #4338ca !important;
}

.comp-custom-svg-print .comp-svg-ring-mid,
#exam-print-sheet.study-print-mode .comp-svg-ring-mid {
    fill: #e0f2fe !important;
    stroke: #0369a1 !important;
}

.comp-custom-svg-print .comp-svg-ring-inner,
#exam-print-sheet.study-print-mode .comp-svg-ring-inner {
    fill: #fef3c7 !important;
    stroke: #b45309 !important;
}

.comp-custom-svg-print .comp-svg-label-pill,
#exam-print-sheet.study-print-mode .comp-svg-label-pill {
    fill: #ffffff !important;
}

.comp-custom-svg-print .comp-svg-pill-title,
#exam-print-sheet.study-print-mode .comp-svg-pill-title {
    fill: #0f172a !important;
}

.comp-custom-svg-print .comp-svg-lane-top,
#exam-print-sheet.study-print-mode .comp-svg-lane-top {
    fill: #f0f9ff !important;
    fill-opacity: 1 !important;
    stroke: #0284c7 !important;
}

.comp-custom-svg-print .comp-svg-lane-bot,
#exam-print-sheet.study-print-mode .comp-svg-lane-bot {
    fill: #fff7ed !important;
    fill-opacity: 1 !important;
    stroke: #ea580c !important;
}

.comp-custom-svg-print .comp-svg-orbit,
.comp-custom-svg-print .comp-svg-pulse {
    animation: none !important;
}

@media print {
    .comp-svg-orbit,
    .comp-svg-pulse {
        animation: none !important;
    }

    #scene-yazili,
    #scene-yazili.study-active:not(.is-hidden),
    #scene-yazili.study-active.comprehensive-study-mode:not(.is-hidden),
    #floating-smartboard-btn,
    .floating-smartboard-btn {
        display: none !important;
    }

    #exam-print-sheet.study-print-mode {
        background: #ffffff !important;
        color: #0f172a !important;
    }

    .study-print-figure,
    .study-print-table-wrap,
    .study-print-watchout,
    .study-print-qc,
    .study-print-card,
    .study-print-hero {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* ============================================================================
   V8.9.43 — ÖN MOD SEÇİM EKRANI + YOL HARİTASI + BİLGİ KARTLARI + PANEL ALT YAZILARI
   ============================================================================ */

/* 1. Bilgi İstasyonu Ön Mod Seçim Ekranı (#study-mode-chooser) — Tam İzolasyon */
#scene-yazili.study-active #exam-view-study.chooser-active .exam-cards-layout,
#exam-view-study.chooser-active .exam-cards-layout,
#exam-view-study.chooser-active #study-depth-switch,
#exam-view-study.chooser-active #btn-study-pdf-download,
#exam-view-study.chooser-active #btn-study-toggle-plan,
#exam-view-study.chooser-active #btn-study-fullscreen {
    display: none !important;
    visibility: hidden !important;
}

.study-mode-chooser {
    width: 100%;
    max-width: 960px;
    margin: 18px auto 36px;
    padding: 30px 28px 34px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.28);
    text-align: left;
}

.study-chooser-header {
    text-align: center;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.study-chooser-scope-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #bae6fd;
    font-size: 0.88rem;
    font-weight: 700;
}

.study-chooser-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.study-chooser-sub {
    margin: 0;
    max-width: 680px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.study-chooser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.study-chooser-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 24px 22px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
    transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.study-chooser-card:hover {
    border-color: rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

.study-chooser-card.featured {
    background: linear-gradient(145deg, rgba(14, 116, 144, 0.3) 0%, rgba(15, 23, 42, 0.94) 100%);
    border: 2px solid #38bdf8;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.24);
}

.study-chooser-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.study-chooser-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.study-chooser-icon.quick {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.study-chooser-icon.deep {
    background: rgba(56, 189, 248, 0.22);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.5);
}

.study-chooser-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
}

.study-chooser-pill.featured-pill {
    background: rgba(14, 165, 233, 0.24);
    border-color: rgba(56, 189, 248, 0.55);
    color: #e0f2fe;
}

.study-chooser-card h3 {
    margin: 0;
    font-size: 1.38rem;
    font-weight: 800;
    color: #ffffff;
}

.study-chooser-card p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.58;
    color: #cbd5e1;
}

.study-chooser-list {
    list-style: none;
    margin: 2px 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.study-chooser-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.study-chooser-list li i {
    color: #38bdf8;
    margin-top: 4px;
    flex-shrink: 0;
}

.study-chooser-cta {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 800;
}

/* 2. Tıklanabilir Yol Haritası (.comp-roadmap) */
.comp-roadmap {
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.32);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-roadmap-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7dd3fc;
}

.comp-roadmap-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.comp-roadmap-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.38);
    background: rgba(30, 41, 59, 0.85);
    color: #f1f5f9;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.comp-roadmap-step:hover {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.25);
    transform: translateY(-1px);
}

.comp-roadmap-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}

.comp-roadmap-arrow {
    color: #38bdf8;
    font-weight: 800;
    font-size: 1rem;
    user-select: none;
}

/* 3. 2 Sütunlu Görsel Bilgi Kartları (.comp-info-cards-grid) */
.comp-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.comp-info-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.24);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comp-info-card-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-info-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.42);
    color: #7dd3fc;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.comp-info-card h4 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 800;
}

.comp-info-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.58;
    color: #cbd5e1;
}

/* 4. Ferah Tam Genişlik İllüstrasyon + Panel-Hizalı Alt Yazılar */
.comp-figure {
    cursor: default;
}

.comp-img-frame[data-lightbox-src] {
    cursor: zoom-in;
}

.comp-figure-illustration .comp-img-frame {
    width: 100%;
    aspect-ratio: auto;
}

.comp-figure-illustration .comp-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.comp-visual-caption-bar {
    padding: 14px 16px 16px !important;
    background: rgba(15, 23, 42, 0.96) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comp-visual-short-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.01em;
}

.comp-panel-captions {
    display: grid;
    gap: 10px;
    width: 100%;
}

.comp-panel-captions.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comp-panel-captions.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comp-panel-captions.rows-2 {
    grid-template-columns: minmax(0, 1fr);
}

.comp-panel-cap {
    padding: 11px 13px;
    border-radius: 11px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-left-width: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.comp-panel-cap.tone-positive {
    border-color: rgba(16, 185, 129, 0.4);
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.comp-panel-cap.tone-negative {
    border-color: rgba(239, 68, 68, 0.42);
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.comp-panel-cap.tone-info {
    border-color: rgba(56, 189, 248, 0.42);
    border-left-color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

.comp-panel-cap.tone-warn {
    border-color: rgba(245, 158, 11, 0.45);
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.comp-panel-cap-title {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 800;
}

.comp-panel-cap-detail {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.comp-caption-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.comp-caption-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.38);
    color: #e0f2fe;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

/* 4 Öğeli Fotoğraf Galerisi Desteği */
.comp-gallery.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1600px) {
    .comp-gallery.cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .comp-info-card p,
    .comp-panel-cap-detail {
        font-size: 1.02rem;
    }

    .comp-roadmap-step {
        min-height: 48px;
        font-size: 0.98rem;
    }
}

@media (max-width: 767px) {
    .study-mode-chooser {
        padding: 18px 14px 22px;
    }

    .study-chooser-title {
        font-size: 1.38rem;
    }

    .study-chooser-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .comp-info-cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .comp-gallery.cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .comp-roadmap-step {
        min-height: 48px;
    }

    .comp-panel-captions.cols-3,
    .comp-panel-captions.cols-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* V4 Print / PDF Stilleri (Yol Haritası, Bilgi Kartları ve Panel Alt Yazıları) */
.study-print-roadmap {
    margin: 0 0 12px;
    padding: 8px 11px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-roadmap-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 5px;
}

.study-print-roadmap-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #0f172a;
}

.study-print-roadmap-step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #94a3b8;
    background: #ffffff;
    font-weight: 600;
}

.study-print-info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 10px;
}

.study-print-info-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
    break-inside: avoid;
    page-break-inside: avoid;
}

.study-print-info-card .comp-info-badge {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
    font-size: 10px;
    padding: 1px 7px;
}

.study-print-info-card h4 {
    margin: 3px 0;
    font-size: 12.5px;
    color: #0f172a;
}

.study-print-info-card p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: #1e293b;
}

.study-print-caption-bar {
    margin-top: 8px;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.study-print-short-title {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
}

.study-print-panel-captions {
    display: grid;
    gap: 7px;
}

.study-print-panel-captions.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.study-print-panel-captions.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-print-panel-captions.rows-2 {
    grid-template-columns: minmax(0, 1fr);
}

.study-print-panel-cap {
    padding: 6px 8px;
    border: 1px solid #94a3b8;
    border-left-width: 3px;
    border-radius: 6px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.study-print-panel-cap.tone-positive { border-left-color: #059669; background: #ecfdf5; }
.study-print-panel-cap.tone-negative { border-left-color: #dc2626; background: #fef2f2; }
.study-print-panel-cap.tone-info { border-left-color: #0284c7; background: #f0f9ff; }
.study-print-panel-cap.tone-warn { border-left-color: #d97706; background: #fffbeb; }

.study-print-panel-cap .comp-panel-cap-title {
    color: #0f172a !important;
    font-size: 11px;
}

.study-print-panel-cap .comp-panel-cap-detail {
    color: #1e293b !important;
    font-size: 10.5px;
}

.study-print-caption-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.study-print-caption-tag {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
}

/* ==========================================================================
   V8.9.49 — HIZLI TEKRAR KONU KARTLARI 4 EKRAN DUYARLI GÖRSEL/TİPOGRAFİ ÖLÇEKLEME
   (Kapsamlı Hazırlık ve @media print düzenine dokunmadan yalnızca ekran görünümü)
   ========================================================================== */
@media screen {
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox {
        position: relative !important;
        cursor: zoom-in;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        box-sizing: border-box;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout.plan-collapsed,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study.plan-collapsed .exam-cards-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox img,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox svg {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
    }
}

/* 1. MASAÜSTÜ (1025px–1399px, 1366×768 hedefi) */
@media screen and (min-width: 1025px) and (max-width: 1399px) {
    #scene-yazili.study-active:not(.comprehensive-study-mode) {
        max-width: 1320px;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout:not(.plan-collapsed) {
        grid-template-columns: minmax(240px, 270px) minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout.plan-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr) !important;
        gap: 24px !important;
        align-items: start;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout.plan-collapsed #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.15fr) !important;
        gap: 32px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox {
        min-height: 280px !important;
        max-height: 390px !important;
        padding: 14px !important;
        width: 100% !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox img,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox svg {
        max-height: 340px !important;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-lead {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-body-p,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .topics li,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .facts dd,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-takeaway,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-warning {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* 2. ETAP AKILLI TAHTA / BÜYÜK EKRAN (>= 1400px, 1920×1080 hedefi) */
@media screen and (min-width: 1400px) {
    #scene-yazili.study-active:not(.comprehensive-study-mode) {
        max-width: 1480px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout:not(.plan-collapsed) {
        grid-template-columns: minmax(270px, 310px) minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout.plan-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.12fr) !important;
        gap: 28px !important;
        align-items: start;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cards-layout.plan-collapsed #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.76fr) minmax(620px, 1.18fr) !important;
        gap: 36px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox {
        min-height: 360px !important;
        max-height: 500px !important;
        padding: 18px !important;
        width: 100% !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox img,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox svg {
        max-height: 440px !important;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-lead {
        font-size: 21px !important;
        line-height: 1.55 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-body-p,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .topics li,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .facts dd,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-takeaway,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-warning {
        font-size: 19.5px !important;
        line-height: 1.65 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-study-toolbar button,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-next-bar button,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-cardnav-btn,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .study-plan-outcome-head {
        min-height: 48px !important;
        min-width: 48px !important;
    }
}

/* 3. TABLET (601px–1024px, 768×1024 iPad hedefi) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-contentgrid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox {
        width: 100% !important;
        min-height: 260px !important;
        max-height: 360px !important;
        padding: 14px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox img,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox svg {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 320px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-lead,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-body-p,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .topics li,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-takeaway,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-warning {
        font-size: 16px !important;
        line-height: 1.58 !important;
    }
}

/* 4. MOBİL (<= 600px, 390×844 iPhone hedefi) */
@media screen and (max-width: 600px) {
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox {
        width: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 10px !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox img,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-visualbox svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: contain !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-lead {
        font-size: 16.5px !important;
        line-height: 1.5 !important;
    }

    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-body-p,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .topics li,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .facts dd,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-takeaway,
    #scene-yazili.study-active:not(.comprehensive-study-mode) #exam-view-study:not(.comprehensive-active) .exam-warning {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
}

/* ==========================================================================
   V8.9.51 — HIZLI TEKRAR TAM EKRAN (FULLSCREEN) GÖRSEL & TİPOGRAFİ BÜYÜTME
   (#exam-view-study tam ekranda body'ye portal edildiğinden bağımsız hedeflenir)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-cards-layout.plan-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .study-card-content-area {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 10px 32px 8px 32px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .study-card-top-meta {
        margin-bottom: 4px !important;
        padding-bottom: 4px !important;
        gap: 6px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .study-outcome-expandable {
        margin: 2px 0 4px 0 !important;
        padding: 4px 10px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        cursor: zoom-in;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox img,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }
}

/* Masaüstü Tam Ekran (1025px–1399px, 1366×768 hedefi) */
@media screen and (min-width: 1025px) and (max-width: 1399px) {
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.05fr) !important;
        gap: 28px !important;
        align-items: center !important;
        margin-bottom: 8px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-card-title {
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-lead {
        font-size: 19px !important;
        line-height: 1.5 !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-body-p,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .topics li,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .facts dd,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-takeaway,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-warning {
        font-size: 18px !important;
        line-height: 1.48 !important;
        margin-bottom: 8px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-takeaway,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-warning {
        padding: 8px 12px !important;
        margin: 8px 0 !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox {
        min-height: 340px !important;
        max-height: 54vh !important;
        padding: 16px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox img,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox svg {
        max-height: calc(54vh - 68px) !important;
    }
}

/* ETAP Akıllı Tahta Tam Ekran (>= 1400px, 1920×1080 hedefi) */
@media screen and (min-width: 1400px) {
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) #exam-card-article:not(.wide-table) .exam-contentgrid:not(.exam-text-only) {
        grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.08fr) !important;
        gap: 36px !important;
        align-items: center !important;
        margin-bottom: 8px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-card-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-lead {
        font-size: 24px !important;
        line-height: 1.5 !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-body-p,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .topics li,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .facts dd,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-takeaway,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-warning {
        font-size: 22.5px !important;
        line-height: 1.58 !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox {
        min-height: 440px !important;
        max-height: 60vh !important;
        padding: 20px !important;
    }

    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox img,
    #exam-view-study#exam-view-study.fullscreen-study-active:not(.comprehensive-active) .exam-visualbox svg {
        max-height: calc(60vh - 80px) !important;
    }
}

/* ==========================================================================
   V8.9.52 — GÖRSEL YÜKLEME GEÇİŞİ (HAFİF SHIMMER / YUMUŞAK GÖRÜNÜRLÜK)
   ========================================================================== */
@keyframes examVisualShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media screen {
    .exam-visualbox.is-loading {
        background: linear-gradient(110deg, #0f172a 25%, rgba(56, 189, 248, 0.12) 50%, #0f172a 75%);
        background-size: 200% 100%;
        animation: examVisualShimmer 1.3s ease-in-out infinite;
    }

    .exam-visualbox.is-loading img.exam-visual-img {
        opacity: 0.01;
    }

    .exam-visualbox.is-loaded img.exam-visual-img,
    .exam-visualbox:not(.is-loading) img.exam-visual-img {
        opacity: 1;
        transition: opacity 0.18s ease-out;
    }
}

@media (prefers-reduced-motion: reduce) {
    .exam-visualbox.is-loading {
        animation: none;
    }
    .exam-visualbox.is-loaded img.exam-visual-img,
    .exam-visualbox:not(.is-loading) img.exam-visual-img {
        transition: none;
    }
}



