body {
    background: #f8f9fa;
}

.participant-admin-sidenav {
    width: 250px;
    z-index: 1035;
}

.participant-topbar {
    position: relative;
    z-index: 1040;
}

.participant-admin-sidenav .nav-link {
    color: #344767;
    margin: 0 .25rem;
    border-radius: .6rem;
    display: flex;
    align-items: center;
}

.participant-admin-sidenav .nav-link:hover {
    background: #f6f9fc;
}

.participant-admin-sidenav .nav-link.active {
    background: #fff;
    box-shadow: 0 8px 26px -4px rgba(20, 20, 20, .15), 0 8px 9px -5px rgba(20, 20, 20, .06);
    font-weight: 600;
}

.participant-admin-layout {
    width: auto;
    max-width: 100%;
    overflow-x: clip;
}

.participant-admin-main {
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.participant-offcanvas .nav-link {
    color: #344767;
    border-radius: .6rem;
    margin: .2rem 0;
}

.participant-offcanvas .nav-link.active {
    background: #f6f9fc;
    font-weight: 600;
}

@media (min-width: 992px) {
    .participant-admin-layout {
        margin-left: 17.125rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .participant-admin-layout {
        margin-left: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.test-card {
    min-height: 210px;
}

.question-card {
    border-left: 4px solid #0d6efd;
}

.timer-box {
    position: sticky;
    top: 12px;
    z-index: 10;
}

.test-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .6rem .8rem;
    margin-bottom: .75rem;
}

.test-main-content {
    padding-bottom: 80px;
}

.test-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: .5rem .75rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: .5rem;
}

.nav-bottom-btn {
    min-height: 42px;
}

.question-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    background: #fff;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border: 1px solid #dee2e6;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
    padding: .6rem .8rem .9rem;
    max-height: 68vh;
    overflow-y: auto;
    transform: translateY(105%);
    transition: transform .22s ease;
}

.question-sheet.open {
    transform: translateY(0);
}

.sheet-handle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: .4rem;
}

.sheet-handle {
    width: 44px;
    height: 4px;
    border-radius: 3px;
    background: #ced4da;
}

.question-nav-group {
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .55rem;
    background: #fff;
}

.question-nav-title {
    font-size: .75rem;
    font-weight: 700;
    color: #344767;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.question-nav-subtitle {
    font-size: .78rem;
    color: #6c757d;
}

.choice-item.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.choice-item.active .text-muted {
    color: #dbeafe !important;
}

.wysiwyg-content {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.wysiwyg-content p:last-child,
.wysiwyg-content ul:last-child,
.wysiwyg-content ol:last-child {
    margin-bottom: 0;
}

.wysiwyg-content img,
.wysiwyg-content video,
.wysiwyg-content iframe {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.wysiwyg-content figure {
    max-width: 100% !important;
    margin: 0 0 .75rem;
}

.wysiwyg-content figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.wysiwyg-content [style*="width"] img,
.wysiwyg-content img[style*="width"] {
    max-width: 100% !important;
}

.wysiwyg-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.wysiwyg-content th,
.wysiwyg-content td {
    border: 1px solid #dee2e6;
    padding: .45rem .5rem;
}

.choice-item {
    cursor: pointer;
}

.choice-item-content {
    vertical-align: top;
}

.choice-item.active .choice-item-content a,
.choice-item.active .choice-item-content {
    color: #fff;
}

.pauli-question-content {
    text-align: center;
}

.pauli-mobile-stage {
    background: #0f7f8d;
    border: 1px solid #0b6d79;
    border-radius: .45rem;
    overflow: hidden;
}

.pauli-mobile-stage.pauli-synthwave {
    background: radial-gradient(circle at 20% 0%, #0e243d 0%, #0c1b2f 45%, #081422 100%);
    border: 1px solid #1fd1b9;
    box-shadow: inset 0 0 0 1px rgba(31, 209, 185, .25), 0 12px 28px rgba(2, 11, 21, .35);
}

.pauli-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e8f7f9;
    font-weight: 700;
    font-size: 1.35rem;
    padding: .75rem .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.pauli-mobile-question {
    margin: .85rem;
    border: 2px solid rgba(255, 255, 255, .6);
    text-align: center;
    color: #f8fcfd;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: .03em;
    padding: .9rem .6rem;
}

.pauli-mobile-subtitle {
    text-align: center;
    color: #9cf5e9;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-top: .7rem;
}

.pauli-mobile-keypad {
    padding: 1rem .7rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.pauli-key {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .6rem;
    border: 2px solid rgba(255, 255, 255, .55);
    color: #ebfbff;
    background: rgba(15, 127, 141, .2);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.pauli-key:hover,
.pauli-key:focus {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, .16);
}

.pauli-key:active {
    transform: scale(.97);
}

.pauli-key.active {
    color: #073f46;
    background: #ffffff;
    border-color: #ffffff;
}

.pauli-key.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.pauli-key.pauli-zero {
    grid-column: 2 / 3;
}

.pauli-panel {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border-radius: .75rem;
    padding: .9rem;
}

.pauli-title {
    font-size: .82rem;
    color: #334155;
    font-weight: 600;
    margin-bottom: .45rem;
}

.pauli-expression {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .04em;
    text-align: center;
    margin-bottom: .4rem;
    color: #1e3a8a;
}

.pauli-answer-preview {
    text-align: center;
    color: #d5f3f6;
    margin: -.45rem 0 .9rem;
    font-size: 1.1rem;
}

.pauli-keypad {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .45rem;
}

.pauli-key {
    min-height: 42px;
    font-weight: 700;
}

.pauli-key.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.angka-panel {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: .75rem;
    padding: .9rem;
}

.angka-input {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.angka-keypad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
}

.angka-keypad .btn {
    min-height: 42px;
    font-weight: 700;
}

.angka-mobile-stage {
    max-width: 640px;
    margin: 0 auto;
}

.angka-panel-mockup {
    background: #ffffff;
    border: 1px solid #d7dee8;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    padding: 1rem;
}

.angka-instruction {
    text-align: center;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: .9rem;
}

.angka-board-wrap {
    border: 1px solid #d1d5db;
    background: #fff;
    margin-bottom: 1rem;
}

.angka-board-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #374151;
    padding: .85rem .5rem;
    border-bottom: 1px solid #d1d5db;
}

.angka-board-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.angka-board-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d1d5db;
}

.angka-board-cell:nth-child(5n) {
    border-right: 0;
}

.angka-board-number {
    min-height: 84px;
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    border-bottom: 1px solid #d1d5db;
}

.angka-board-label {
    min-height: 56px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #374151;
}

.angka-soal-title,
.angka-answer-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #374151;
    letter-spacing: .03em;
    margin-bottom: .55rem;
}

.angka-question-box {
    border: 1px solid #d1d5db;
    background: #fff;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: .32em;
    color: #1f2937;
    padding: 1.1rem .5rem;
    margin-bottom: 1rem;
}

.angka-selected-label {
    text-align: center;
    color: #6b7280;
    margin-bottom: .75rem;
}

.angka-choice-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .45rem;
}

.angka-choice-btn {
    min-height: 56px;
    font-size: 1.35rem;
    font-weight: 800;
    border-radius: .5rem;
    background: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
}

.angka-choice-btn:hover,
.angka-choice-btn:focus {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}

.angka-choice-btn.active {
    background: #0f5fb6;
    border-color: #0f5fb6;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}

@media (max-width: 575.98px) {
    .angka-panel-mockup {
        padding: .85rem;
    }

    .angka-board-title {
        font-size: 1.25rem;
    }

    .angka-board-number {
        min-height: 64px;
        font-size: 2.2rem;
    }

    .angka-board-label {
        min-height: 44px;
        font-size: 1rem;
    }

    .angka-question-box {
        font-size: 2.2rem;
        letter-spacing: .2em;
        padding: .85rem .4rem;
    }

    .angka-choice-btn {
        min-height: 48px;
        font-size: 1.15rem;
    }

    .pauli-mobile-top {
        font-size: 1.05rem;
    }

    .pauli-mobile-question {
        font-size: 2.2rem;
    }

    .pauli-key {
        min-height: 56px;
        font-size: 1.55rem;
    }
}

@media (min-width: 992px) {
    .exam-col-question {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .exam-col-answer {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .test-main-content {
        max-width: 860px;
    }
}

.kecermatan-report-card {
    border-color: #d8e4f7;
}

.kecermatan-indicator {
    border: 1px solid #d8e4f7;
    border-radius: .75rem;
    padding: .85rem 1rem;
    background: #f8fbff;
    text-align: center;
}

.kecermatan-indicator .small {
    color: #4b5563;
    letter-spacing: .08em;
    font-weight: 700;
}

.kecermatan-indicator .h4 {
    font-weight: 800;
}

.kecermatan-indicator.indicator-speed .h4 {
    color: #1d4ed8;
}

.kecermatan-indicator.indicator-accuracy .h4 {
    color: #0f766e;
}

.kecermatan-indicator.indicator-endurance .h4 {
    color: #7c3aed;
}

.kecermatan-curve-wrap {
    border: 1px solid #d8e4f7;
    border-radius: .75rem;
    padding: .5rem;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.kecermatan-curve-svg {
    width: 100%;
    height: 260px;
    display: block;
}

.curve-grid-line {
    stroke: #dbe6f8;
    stroke-width: 1;
}

.curve-axis-label {
    fill: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.curve-speed-line,
.curve-accuracy-line,
.curve-endurance-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.curve-speed-line {
    stroke: #2563eb;
}

.curve-accuracy-line {
    stroke: #0d9488;
}

.curve-endurance-line {
    stroke: #7c3aed;
}

.curve-speed-line-dot,
.curve-accuracy-line-dot,
.curve-endurance-line-dot {
    stroke-width: 1.5;
}

.curve-speed-line-dot {
    fill: #2563eb;
    stroke: #dbeafe;
}

.curve-accuracy-line-dot {
    fill: #0d9488;
    stroke: #ccfbf1;
}

.curve-endurance-line-dot {
    fill: #7c3aed;
    stroke: #ede9fe;
}

.kecermatan-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .9rem;
    color: #334155;
}

.kecermatan-legend .legend-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: .35rem;
}

.kecermatan-legend .dot-speed {
    background: #2563eb;
}

.kecermatan-legend .dot-accuracy {
    background: #0d9488;
}

.kecermatan-legend .dot-endurance {
    background: #7c3aed;
}

.kecermatan-interp {
    background: #f8fbff;
    border: 1px solid #d8e4f7;
    border-radius: .65rem;
    padding: .9rem 1rem;
}

.interp-block {
    background: #fff;
    border: 1px solid #e2eaf7;
    border-radius: .5rem;
    padding: .65rem .8rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    height: 100%;
}

.interp-block .small {
    color: #475569;
    line-height: 1.45;
}

.parameter-card {
    background: #fff;
    border: 1px solid #dbe6f8;
    border-radius: .55rem;
    padding: .65rem .75rem;
    height: 100%;
}

.parameter-card .param-name {
    font-size: .84rem;
    color: #334155;
    font-weight: 700;
}

.parameter-card .param-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e3a8a;
}

.parameter-card .param-note {
    font-size: .78rem;
    color: #64748b;
    line-height: 1.35;
}

.col-curve-panel {
    border: 1px solid #d8e4f7;
    border-radius: .65rem;
    overflow: hidden;
    background: #fbfdff;
}

.col-curve-header {
    display: flex;
    padding: .4rem .7rem;
    font-size: .82rem;
    font-weight: 600;
    color: #334155;
    background: #eef4ff;
    border-bottom: 1px solid #d8e4f7;
    gap: .5rem;
}

.col-curve-svg {
    width: 100%;
    height: 120px;
    display: block;
    padding: 4px;
}

.col-curve-line {
    fill: none;
    stroke: #2563eb;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.col-curve-dot-correct {
    fill: #0d9488;
    stroke: #ccfbf1;
    stroke-width: 1.2;
}

.col-curve-dot-wrong {
    fill: #dc2626;
    stroke: #fee2e2;
    stroke-width: 1.2;
}

@media (max-width: 576px) {
    .kecermatan-curve-svg {
        height: 220px;
    }
}

