/* Terbatas pada modul CAT; tidak mengubah foto, akun, dan halaman unggah. */
.pmb-cat .cat-panel {
    background: #fff;
    border: 1px solid #dae3ec;
    border-radius: 16px;
    padding: 28px
}

.pmb-cat .cat-intro {
    max-width: 1000px
}

.pmb-cat .cat-intro h2 {
    font-weight: 750;
    margin: 18px 0 14px;
    color: #142f49
}

.pmb-cat .cat-intro>p {
    line-height: 1.8;
    color: #52667b
}

.pmb-cat .cat-pill {
    background: #eef3f8;
    color: #254763;
    border: 1px solid #d7e2eb;
    padding: 6px 11px;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .07em
}

.pmb-cat .cat-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0
}

.pmb-cat .cat-metrics>div {
    padding: 18px;
    background: #f5f7fa;
    border: 1px solid #e1e7ee;
    border-radius: 11px
}

.pmb-cat .cat-metrics span {
    display: block;
    font-size: .78rem;
    color: #52667b;
    margin-bottom: 9px
}

.pmb-cat .cat-metrics strong {
    display: block;
    font-size: 1.6rem;
    color: #142f49
}

.pmb-cat .cat-note {
    padding: 18px 21px;
    background: #fff9ec;
    border: 1px solid #e6d6b3;
    border-radius: 12px;
    line-height: 1.7;
    font-size: .9rem;
    color: #5f533a
}

.pmb-cat .cat-times>div {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 8px 0
}

.pmb-cat .cat-times dt {
    font-size: .86rem
}

.pmb-cat .cat-times dd {
    font-size: .86rem;
    margin: 0
}

.pmb-cat .cat-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start
}

.pmb-cat .cat-question-area {
    min-width: 0
}

.pmb-cat .cat-question {
    min-width: 0;
    margin-bottom: 16px
}

.pmb-cat [hidden] {
    display: none !important
}

.pmb-cat .cat-question-title {
    float: none;
    width: auto;
    font-size: 1.15rem;
    font-weight: 750;
    padding: 0 4px;
    margin: 0 0 20px;
    color: #142f49
}

.pmb-cat .cat-question-title small {
    font-weight: 400;
    font-size: .8rem;
    color: #65798d;
    margin-left: 7px
}

.pmb-cat .cat-reading {
    border: 1px solid #dce4ec;
    background: #f4f7fa;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 23px;
    line-height: 1.85;
    font-size: .93rem
}

.pmb-cat .cat-reading strong {
    display: block;
    margin-bottom: 10px;
    font-size: .76rem;
    letter-spacing: .05em;
    text-transform: uppercase
}

.pmb-cat .cat-reading div,
.pmb-cat .cat-prompt,
.pmb-cat .cat-option-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.pmb-cat .cat-prompt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #183b57;
    margin: 0 0 23px
}

.pmb-cat .cat-options {
    display: grid;
    gap: 12px
}

.pmb-cat .cat-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #d9e2ea;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    line-height: 1.65;
    min-width: 0
}

.pmb-cat .cat-option input {
    margin-top: 7px;
    flex-shrink: 0;
    accent-color: #214d70
}

.pmb-cat .cat-option:has(input:checked) {
    border-color: #326382;
    background: #edf5fb
}

.pmb-cat .cat-letter {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f1f4f8;
    font-weight: 700;
    font-size: .85rem
}

.pmb-cat .cat-option-text {
    font-size: .93rem;
    flex: 1;
    min-width: 0
}

.pmb-cat .cat-clear {
    background: none;
    border: 0;
    color: #6a7280;
    font-size: .8rem;
    margin-top: 18px;
    text-decoration: underline;
    text-underline-offset: 3px
}

.pmb-cat .cat-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.pmb-cat #cat-position {
    font-size: .82rem;
    color: #607489
}

.pmb-cat .cat-sidebar {
    position: sticky;
    top: 120px
}

.pmb-cat .cat-timer-panel {
    padding: 24px
}

.pmb-cat .cat-eyebrow {
    font-size: .65rem;
    letter-spacing: .13em;
    font-weight: 750;
    color: #657489
}

.pmb-cat .cat-timer {
    font-size: 3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
    color: #142f49;
    line-height: 1.3
}

.pmb-cat .cat-timer.is-low {
    color: #b12c36
}

.pmb-cat .cat-deadline {
    font-size: .72rem;
    color: #5f7486;
    line-height: 1.6
}

.pmb-cat .cat-save-status {
    padding: 10px 12px;
    background: #f1f5f8;
    border: 1px solid #dce5eb;
    border-radius: 8px;
    font-size: .78rem;
    line-height: 1.65;
    margin: 16px 0;
    color: #435d71
}

.pmb-cat .cat-count {
    font-size: .83rem;
    margin: 8px 0;
    color: #496075
}

.pmb-cat .cat-count strong {
    font-size: 1.35rem;
    color: #173850
}

.pmb-cat .cat-navigation {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    max-height: 330px;
    overflow: auto;
    padding: 4px
}

.pmb-cat .cat-navigation button {
    border: 1px solid #d6e0e9;
    border-radius: 7px;
    min-height: 37px;
    color: #345269;
    background: white;
    font-size: .8rem;
    font-weight: 650
}

.pmb-cat .cat-navigation button.is-answered {
    background: #244e6b;
    color: #fff;
    border-color: #244e6b
}

.pmb-cat .cat-navigation button[aria-current=true] {
    outline: 3px solid #dfb855;
    outline-offset: 1px
}

.pmb-cat .cat-legend {
    font-size: .65rem;
    display: grid;
    gap: 4px;
    color: #6b7b8b;
    margin-top: 12px
}

.pmb-cat .cat-small {
    font-size: .72rem;
    color: #6b7b8b;
    line-height: 1.7
}

.pmb-cat button:focus-visible,
.pmb-cat input:focus-visible {
    outline: 3px solid #d4b66a;
    outline-offset: 3px
}

@media(max-width:991.98px) {
    .pmb-cat .cat-workspace {
        grid-template-columns: minmax(0, 1fr)
    }

    .pmb-cat .cat-sidebar {
        position: static;
        grid-row: 1
    }

    .pmb-cat .cat-navigation {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        max-height: 145px
    }

    .pmb-cat .cat-timer-panel {
        padding: 18px
    }

    .pmb-cat .cat-timer {
        font-size: 2.5rem
    }
}

@media(max-width:575.98px) {
    .pmb-cat .cat-panel {
        padding: 19px
    }

    .pmb-cat .cat-metrics {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .pmb-cat .cat-metrics>div {
        padding: 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px
    }

    .pmb-cat .cat-metrics span {
        margin: 0
    }

    .pmb-cat .cat-metrics strong {
        font-size: 1.25rem
    }

    .pmb-cat .cat-navigation {
        grid-template-columns: repeat(7, minmax(0, 1fr))
    }

    .pmb-cat .cat-option {
        padding: 12px;
        gap: 8px
    }

    .pmb-cat .cat-reading {
        padding: 14px
    }

    .pmb-cat .cat-actions .btn {
        font-size: .8rem
    }
}

/* Keterangan jenis soal: tampil sebelum bacaan dan pertanyaan. */
.pmb-cat .cat-question-type {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid #e6d6b3;
    border-left: 4px solid #d4ad51;
    border-radius: 10px;
    background: #fff9ec;
}

.pmb-cat .cat-question-type-label {
    display: block;
    margin-bottom: 5px;
    color: #75603a;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pmb-cat .cat-question-type strong {
    display: block;
    color: #142f49;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}