/* Minification failed. Returning unminified contents.
(365,28): run-time error CSS1039: Token not allowed after unary operator: '-border-light'
(374,22): run-time error CSS1039: Token not allowed after unary operator: '-gold'
(387,17): run-time error CSS1039: Token not allowed after unary operator: '-moss'
(393,23): run-time error CSS1039: Token not allowed after unary operator: '-font-display'
(395,17): run-time error CSS1039: Token not allowed after unary operator: '-pine-deeper'
(403,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
 */
/* Quiz modal */
.quiz-overlay {
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(15,30,10,0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .quiz-overlay.open {
        display: flex;
    }

.quiz-modal {
    background: #EAF0EC;
    width: min(560px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(26,48,34,0.12);
    position: relative;
}

.quiz-head {
    padding: 1.4rem 1.5rem 1rem;
    border-bottom: 1px solid #E5EAE2;
    position: sticky;
    top: 0;
    background: #EAF0EC;
    z-index: 1;
}

    .quiz-head h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        color: #1A3022;
        padding-right: 2rem;
    }

    .quiz-head p {
        font-size: 0.82rem;
        color: #6D7A6B;
        margin-top: 0.2rem;
    }

.quiz-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(26,48,34,0.08);
    color: #1A3022;
    font-size: 1rem;
    cursor: pointer;
}

    .quiz-close:hover {
        background: rgba(26,48,34,0.16);
    }

.quiz-body {
    padding: 1.25rem 1.5rem 0;
}

.quiz-q {
    margin-bottom: 1.4rem;
}

.quiz-q-text {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1A3022;
    margin-bottom: 0.7rem;
}

    .quiz-q-text .qnum {
        color: #C9973A;
        margin-right: 0.3rem;
    }

.quiz-opt {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1.5px solid #E5EAE2;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.86rem;
    color: #2E3A2C;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
}

    .quiz-opt:hover {
        border-color: #4A7C35;
        background: #F4F8F5;
    }

    .quiz-opt.correct {
        border-color: #4A7C35;
        background: #E5EAE2;
        color: #1A3022;
        font-weight: 600;
    }

    .quiz-opt.wrong {
        border-color: #c0563a;
        background: #f7e4de;
        color: #8a3a23;
    }

    .quiz-opt.disabled {
        pointer-events: none;
        opacity: 0.75;
    }

.quiz-feed {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding-left: 0.2rem;
    display: none;
}

    .quiz-feed.show {
        display: block;
    }

    .quiz-feed.ok {
        color: #4A7C35;
    }

    .quiz-feed.no {
        color: #b04a2c;
    }

.quiz-result {
    text-align: center;
    padding: 0.5rem 0 0.4rem;
}

.quiz-score {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1A3022;
    font-weight: 700;
}

.quiz-grade {
    font-family: 'Playfair Display', serif;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    background: #F3E9C9;
    border: 1px solid #E3D199;
    color: #7A5E12;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
}

.quiz-score-label {
    font-size: 0.85rem;
    color: #6D7A6B;
    margin-bottom: 1rem;
}

.quiz-score-result {
    margin-top: 24px;
    background: #FFFFFF;
    border: 1px solid #DCE3DC;
    border-radius: 12px;
    padding: 16px 18px;
    text-align: left;
}
/* Quiz — progress bar */
.quiz-progress-wrap {
    margin-top: 0.9rem;
}

.quiz-progress-bar {
    height: 6px;
    background: #E5EAE2;
    border-radius: 10px;
    overflow: hidden;
}

    .quiz-progress-bar span {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, #4A7C35, #7AAB5E);
        border-radius: 10px;
        transition: width 0.3s ease;
    }

.quiz-progress-text {
    font-size: 0.74rem;
    color: #6D7A6B;
    margin-top: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Quiz — selected (not-yet-graded) option */
.quiz-opt.selected {
    border-color: #4A7C35;
    background: #F4F8F5;
    color: #1A3022;
    font-weight: 600;
}

/* Quiz — inline hint (e.g. unanswered) */
.quiz-hint {
    color: #b04a2c;
    font-size: 0.8rem;
    padding: 0 1.5rem;
}

    .quiz-hint:not(:empty) {
        padding-bottom: 0.5rem;
    }

/* Quiz — footer nav */
.quiz-foot {
    display: none;
    gap: 0.6rem;
    padding: 1rem 1.5rem 1.4rem;
    border-top: 1px solid #E5EAE2;
    position: sticky;
    bottom: 0;
    background: #EAF0EC;
}

.quiz-btn {
    flex: 1;
    padding: 0.72rem 1rem;
    border-radius: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}

    .quiz-btn.solid {
        background: #2C4A1E;
        color: #fff;
    }

        .quiz-btn.solid:hover {
            background: #4A7C35;
        }

    .quiz-btn.ghost {
        background: #fff;
        color: #1A3022;
        border-color: #E5EAE2;
    }

        .quiz-btn.ghost:hover {
            border-color: #4A7C35;
        }

    .quiz-btn:disabled {
        opacity: 0.4;
        cursor: default;
        pointer-events: none;
    }

/* Quiz — close confirmation */
.quiz-confirm {
    position: fixed;
    inset: 0;
    z-index: 1025;
    background: rgba(15,30,10,0.5);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

    .quiz-confirm.show {
        display: flex;
    }

.quiz-confirm-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.4rem 1.2rem;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(26,48,34,0.12);
    text-align: center;
}

.quiz-confirm-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #1A3022;
    margin-bottom: 0.45rem;
}

.quiz-confirm-text {
    font-size: 0.84rem;
    color: #6D7A6B;
    margin-bottom: 1.2rem;
    line-height: 1.55;
}

.quiz-confirm-actions {
    display: flex;
    gap: 0.6rem;
}

.qc-btn {
    flex: 1;
    padding: 0.65rem 0.8rem;
    border-radius: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}

.qc-cancel {
    background: #fff;
    border-color: #E5EAE2;
    color: #1A3022;
}

    .qc-cancel:hover {
        border-color: #4A7C35;
    }

.qc-leave {
    background: #c0563a;
    color: #fff;
}

    .qc-leave:hover {
        background: #a8472d;
    }

.skala-result-box {
    display: flex;
    gap: 16px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(26,48,34,0.04);
}

.srb-accent {
    width: 3px;
    border-radius: 0;
    background: var(--gold);
    flex-shrink: 0;
}

.srb-content {
    flex: 1;
}

.srb-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 6px;
    text-align: left;
}

.srb-title {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--pine-deeper);
    margin-bottom: 4px;
    text-align: left;
}

.srb-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    text-align: left;
}

