:root {
    --blue:#1456a0;
    --blue2:#0d3f78;
    --bg:#f3f5f8;
    --line:#dce2ea;
    --text:#202733;
    --muted:#687385;
    --green:#198754;
    --orange:#f0ad00;
    --red:#d64545}

    * {
        box-sizing:border-box}

        body {
            margin:0;
            font-family:Arial,Helvetica,sans-serif;
            background:var(--bg);
            color:var(--text)}

            a {
                text-decoration:none;
                color:inherit}

                .topbar {
                    height:64px;
                    background:#fff;
                    border-bottom:1px solid var(--line);
                    display:flex;
                    align-items:center;
                    justify-content:space-between;
                    padding:0 28px;
                    position:sticky;
                    top:0;
                    z-index:10}

                    .brand-small {
                        font-weight:800;
                        color:var(--blue);
                        letter-spacing:.5px}

                        .userbox {
                            font-size:14px}

                            .layout {
                                display:flex;
                                min-height:calc(100vh - 64px)}

                                .sidebar {
                                    width:235px;
                                    background:#fff;
                                    border-right:1px solid var(--line);
                                    padding:20px}

                                    .sidebar a {
                                        display:block;
                                        padding:11px 13px;
                                        border-radius:8px;
                                        margin-bottom:5px}

                                        .sidebar a:hover,.sidebar a.active {
                                            background:#edf4fc;
                                            color:var(--blue);
                                            font-weight:700}

                                            .content {
                                                flex:1;
                                                padding:28px;
                                                max-width:1400px}

                                                .grid {
                                                    display:grid;
                                                    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
                                                    gap:18px}

                                                    .card {
                                                        background:#fff;
                                                        border:1px solid var(--line);
                                                        border-radius:12px;
                                                        padding:20px;
                                                        box-shadow:0 2px 8px #00000006}

                                                        .stat {
                                                            font-size:30px;
                                                            font-weight:800;
                                                            margin-top:8px}

                                                            .muted {
                                                                color:var(--muted)}

                                                                .btn {
                                                                    display:inline-block;
                                                                    border:0;
                                                                    border-radius:8px;
                                                                    padding:10px 15px;
                                                                    cursor:pointer;
                                                                    font-weight:700}

                                                                    .primary {
                                                                        background:var(--blue);
                                                                        color:#fff}

                                                                        .secondary {
                                                                            background:#eef2f6;
                                                                            color:#243244}

                                                                            .danger {
                                                                                background:#d64545;
                                                                                color:#fff}

                                                                                .success {
                                                                                    background:#198754;
                                                                                    color:#fff}

                                                                                    .warning {
                                                                                        background:#f4b000;
                                                                                        color:#222}

                                                                                        .wide {
                                                                                            width:100%}

                                                                                            .alert {
                                                                                                padding:12px 14px;
                                                                                                border-radius:8px;
                                                                                                margin:12px 0;
                                                                                                background:#eaf3ff}

                                                                                                .alert.danger {
                                                                                                    background:#ffecec;
                                                                                                    color:#8b1c1c}

                                                                                                    .alert.success {
                                                                                                        background:#eaf8f0;
                                                                                                        color:#17663c}

                                                                                                        .table-wrap {
                                                                                                            overflow:auto;
                                                                                                            background:#fff;
                                                                                                            border:1px solid var(--line);
                                                                                                            border-radius:10px}

                                                                                                            .table {
                                                                                                                width:100%;
                                                                                                                border-collapse:collapse}

                                                                                                                .table th,.table td {
                                                                                                                    padding:11px 13px;
                                                                                                                    border-bottom:1px solid var(--line);
                                                                                                                    text-align:left;
                                                                                                                    vertical-align:top}

                                                                                                                    .table th {
                                                                                                                        background:#f7f9fb;
                                                                                                                        font-size:13px}

                                                                                                                        .form-grid {
                                                                                                                            display:grid;
                                                                                                                            grid-template-columns:repeat(2,minmax(0,1fr));
                                                                                                                            gap:15px}

                                                                                                                            .form-grid .full {
                                                                                                                                grid-column:1/-1}

                                                                                                                                label {
                                                                                                                                    display:block;
                                                                                                                                    font-weight:700;
                                                                                                                                    font-size:14px}

                                                                                                                                    input,select,textarea {
                                                                                                                                        width:100%;
                                                                                                                                        margin-top:6px;
                                                                                                                                        padding:11px;
                                                                                                                                        border:1px solid #cbd3dd;
                                                                                                                                        border-radius:7px;
                                                                                                                                        background:#fff;
                                                                                                                                        font:inherit}

                                                                                                                                        textarea {
                                                                                                                                            min-height:120px;
                                                                                                                                            resize:vertical}

                                                                                                                                            .actions {
                                                                                                                                                display:flex;
                                                                                                                                                gap:8px;
                                                                                                                                                flex-wrap:wrap}

                                                                                                                                                .login-page {
                                                                                                                                                    min-height:100vh;
                                                                                                                                                    display:grid;
                                                                                                                                                    place-items:center;
                                                                                                                                                    background:linear-gradient(135deg,#eef5fd,#f7f9fb)}

                                                                                                                                                    .login-card {
                                                                                                                                                        width:min(420px,92vw);
                                                                                                                                                        background:#fff;
                                                                                                                                                        padding:32px;
                                                                                                                                                        border-radius:16px;
                                                                                                                                                        box-shadow:0 12px 50px #12345a18}

                                                                                                                                                        .brand {
                                                                                                                                                            text-align:center;
                                                                                                                                                            color:var(--blue);
                                                                                                                                                            font-weight:900;
                                                                                                                                                            letter-spacing:2px;
                                                                                                                                                            font-size:20px;
                                                                                                                                                            margin-bottom:25px}

                                                                                                                                                            .login-card h1 {
                                                                                                                                                                text-align:center}

                                                                                                                                                                .login-card label {
                                                                                                                                                                    margin:15px 0}

                                                                                                                                                                    .exam-head {
                                                                                                                                                                        background:#fff;
                                                                                                                                                                        border-bottom:1px solid var(--line);
                                                                                                                                                                        padding:12px 20px;
                                                                                                                                                                        display:flex;
                                                                                                                                                                        justify-content:space-between;
                                                                                                                                                                        align-items:center;
                                                                                                                                                                        position:sticky;
                                                                                                                                                                        top:0;
                                                                                                                                                                        z-index:20}

                                                                                                                                                                        .timer {
                                                                                                                                                                            font-size:20px;
                                                                                                                                                                            font-weight:900;
                                                                                                                                                                            color:var(--blue)}

                                                                                                                                                                            .exam-layout {
                                                                                                                                                                                display:grid;
                                                                                                                                                                                grid-template-columns:minmax(0,1fr) 280px;
                                                                                                                                                                                gap:18px;
                                                                                                                                                                                max-width:1250px;
                                                                                                                                                                                margin:18px auto;
                                                                                                                                                                                padding:0 18px}

                                                                                                                                                                                .question-card {
                                                                                                                                                                                    background:#fff;
                                                                                                                                                                                    border:1px solid var(--line);
                                                                                                                                                                                    border-radius:12px;
                                                                                                                                                                                    padding:26px;
                                                                                                                                                                                    min-height:500px}

                                                                                                                                                                                    .qno {
                                                                                                                                                                                        font-weight:800;
                                                                                                                                                                                        color:var(--blue);
                                                                                                                                                                                        margin-bottom:18px}

                                                                                                                                                                                        .qtext {
                                                                                                                                                                                            font-size:18px;
                                                                                                                                                                                            line-height:1.65}

                                                                                                                                                                                            .qimg {
                                                                                                                                                                                                max-width:100%;
                                                                                                                                                                                                max-height:350px;
                                                                                                                                                                                                display:block;
                                                                                                                                                                                                margin:15px auto}

                                                                                                                                                                                                .option {
                                                                                                                                                                                                    display:block;
                                                                                                                                                                                                    border:1px solid var(--line);
                                                                                                                                                                                                    padding:13px 15px;
                                                                                                                                                                                                    margin:10px 0;
                                                                                                                                                                                                    border-radius:9px;
                                                                                                                                                                                                    cursor:pointer}

                                                                                                                                                                                                    .option:hover {
                                                                                                                                                                                                        border-color:#8db2db;
                                                                                                                                                                                                        background:#f5f9fe}

                                                                                                                                                                                                        .option.selected {
                                                                                                                                                                                                            border-color:var(--blue);
                                                                                                                                                                                                            background:#eaf3ff}

                                                                                                                                                                                                            .option input {
                                                                                                                                                                                                                width:auto;
                                                                                                                                                                                                                margin:0 10px 0 0}

                                                                                                                                                                                                                .nav-grid {
                                                                                                                                                                                                                    display:grid;
                                                                                                                                                                                                                    grid-template-columns:repeat(5,1fr);
                                                                                                                                                                                                                    gap:7px}

                                                                                                                                                                                                                    .num {
                                                                                                                                                                                                                        border:1px solid var(--line);
                                                                                                                                                                                                                        padding:9px 0;
                                                                                                                                                                                                                        text-align:center;
                                                                                                                                                                                                                        border-radius:6px;
                                                                                                                                                                                                                        font-weight:700;
                                                                                                                                                                                                                        cursor:pointer;
                                                                                                                                                                                                                        background:#fff}

                                                                                                                                                                                                                        .num.answered {
                                                                                                                                                                                                                            background:#dff3e7;
                                                                                                                                                                                                                            border-color:#a8d5ba}

                                                                                                                                                                                                                            .num.flagged {
                                                                                                                                                                                                                                box-shadow:inset 0 -3px #f0ad00}

                                                                                                                                                                                                                                .num.current {
                                                                                                                                                                                                                                    outline:2px solid var(--blue)}

                                                                                                                                                                                                                                    .side-card {
                                                                                                                                                                                                                                        background:#fff;
                                                                                                                                                                                                                                        border:1px solid var(--line);
                                                                                                                                                                                                                                        border-radius:12px;
                                                                                                                                                                                                                                        padding:16px;
                                                                                                                                                                                                                                        height:max-content;
                                                                                                                                                                                                                                        position:sticky;
                                                                                                                                                                                                                                        top:82px}

                                                                                                                                                                                                                                        .exam-actions {
                                                                                                                                                                                                                                            display:flex;
                                                                                                                                                                                                                                            justify-content:space-between;
                                                                                                                                                                                                                                            gap:10px;
                                                                                                                                                                                                                                            margin-top:22px}

                                                                                                                                                                                                                                            .pill {
                                                                                                                                                                                                                                                display:inline-block;
                                                                                                                                                                                                                                                padding:4px 8px;
                                                                                                                                                                                                                                                border-radius:20px;
                                                                                                                                                                                                                                                background:#edf1f5;
                                                                                                                                                                                                                                                font-size:12px}

                                                                                                                                                                                                                                                .page-title {
                                                                                                                                                                                                                                                    display:flex;
                                                                                                                                                                                                                                                    align-items:center;
                                                                                                                                                                                                                                                    justify-content:space-between;
                                                                                                                                                                                                                                                    gap:15px;
                                                                                                                                                                                                                                                    margin-bottom:20px}

                                                                                                                                                                                                                                                    .modal {
                                                                                                                                                                                                                                                        background:#fff;
                                                                                                                                                                                                                                                        border:1px solid var(--line);
                                                                                                                                                                                                                                                        padding:25px;
                                                                                                                                                                                                                                                        border-radius:12px}

                                                                                                                                                                                                                                                        .result {
                                                                                                                                                                                                                                                            text-align:center;
                                                                                                                                                                                                                                                            padding:40px}

                                                                                                                                                                                                                                                            .score {
                                                                                                                                                                                                                                                                font-size:56px;
                                                                                                                                                                                                                                                                font-weight:900;
                                                                                                                                                                                                                                                                color:var(--blue)}

                                                                                                                                                                                                                                                                @media(max-width:800px) {
                                                                                                                                                                                                                                                                    .content {
                                                                                                                                                                                                                                                                            padding:15px}

                                                                                                                                                                                                                                                                            .form-grid {
                                                                                                                                                                                                                                                                                grid-template-columns:1fr}

                                                                                                                                                                                                                                                                                .exam-layout {
                                                                                                                                                                                                                                                                                    grid-template-columns:1fr}

                                                                                                                                                                                                                                                                                    .side-card {
                                                                                                                                                                                                                                                                                        position:static}

                                                                                                                                                                                                                                                                                        .exam-head {
                                                                                                                                                                                                                                                                                            padding:10px}

                                                                                                                                                                                                                                                                                            .qtext {
                                                                                                                                                                                                                                                                                                font-size:16px}

                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            .qimg-preview {
                                                                                                                                                                                                                                                                                                max-width:500px;
                                                                                                                                                                                                                                                                                                max-height:320px;
                                                                                                                                                                                                                                                                                                object-fit:contain;
                                                                                                                                                                                                                                                                                                border:1px solid #ddd;
                                                                                                                                                                                                                                                                                                border-radius:8px;
                                                                                                                                                                                                                                                                                                margin-top:8px}

                                                                                                                                                                                                                                                                                                .account-menu {
                                                                                                                                                                                                                                                                                                    position:relative;
                                                                                                                                                                                                                                                                                                    display:inline-block;
                                                                                                                                                                                                                                                                                                    font-size:14px}

                                                                                                                                                                                                                                                                                                    .account-trigger {
                                                                                                                                                                                                                                                                                                        display:inline-block;
                                                                                                                                                                                                                                                                                                        padding:10px 8px;
                                                                                                                                                                                                                                                                                                        cursor:pointer;
                                                                                                                                                                                                                                                                                                        font-weight:700}

                                                                                                                                                                                                                                                                                                        .account-dropdown {
                                                                                                                                                                                                                                                                                                            display:none;
                                                                                                                                                                                                                                                                                                            position:absolute;
                                                                                                                                                                                                                                                                                                            right:0;
                                                                                                                                                                                                                                                                                                            top:100%;
                                                                                                                                                                                                                                                                                                            min-width:180px;
                                                                                                                                                                                                                                                                                                            background:#fff;
                                                                                                                                                                                                                                                                                                            border:1px solid var(--line);
                                                                                                                                                                                                                                                                                                            border-radius:8px;
                                                                                                                                                                                                                                                                                                            box-shadow:0 10px 28px #0002;
                                                                                                                                                                                                                                                                                                            overflow:hidden;
                                                                                                                                                                                                                                                                                                            z-index:100}

                                                                                                                                                                                                                                                                                                            .account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown,.account-menu.open .account-dropdown {
                                                                                                                                                                                                                                                                                                                display:block}

                                                                                                                                                                                                                                                                                                                .account-dropdown a {
                                                                                                                                                                                                                                                                                                                    display:block;
                                                                                                                                                                                                                                                                                                                    padding:11px 14px;
                                                                                                                                                                                                                                                                                                                    white-space:nowrap}

                                                                                                                                                                                                                                                                                                                    .account-dropdown a:hover {
                                                                                                                                                                                                                                                                                                                        background:#edf4fc;
                                                                                                                                                                                                                                                                                                                        color:var(--blue)}

                                                                                                                                                                                                                                                                                                                        small.muted {
                                                                                                                                                                                                                                                                                                                            font-weight:400}

                                                                                                                                                                                                                                                                                                                            .mips-login {
                                                                                                                                                                                                                                                                                                                                min-height:100vh;
                                                                                                                                                                                                                                                                                                                                background:#fff}

                                                                                                                                                                                                                                                                                                                                .mips-header {
                                                                                                                                                                                                                                                                                                                                    height:145px;
                                                                                                                                                                                                                                                                                                                                    background:linear-gradient(150deg,#1976b8 0%,#2d6594 55%,#326b9c 100%);
                                                                                                                                                                                                                                                                                                                                    position:relative;
                                                                                                                                                                                                                                                                                                                                    overflow:hidden}

                                                                                                                                                                                                                                                                                                                                    .mips-header:after {
                                                                                                                                                                                                                                                                                                                                        content:"";
                                                                                                                                                                                                                                                                                                                                        position:absolute;
                                                                                                                                                                                                                                                                                                                                        right:-100px;
                                                                                                                                                                                                                                                                                                                                        top:-100px;
                                                                                                                                                                                                                                                                                                                                        width:500px;
                                                                                                                                                                                                                                                                                                                                        height:260px;
                                                                                                                                                                                                                                                                                                                                        background:#ffffff12;
                                                                                                                                                                                                                                                                                                                                        transform:rotate(-20deg);
                                                                                                                                                                                                                                                                                                                                        border-radius:40px}

                                                                                                                                                                                                                                                                                                                                        .mips-brand {
                                                                                                                                                                                                                                                                                                                                            position:absolute;
                                                                                                                                                                                                                                                                                                                                            left:18px;
                                                                                                                                                                                                                                                                                                                                            top:22px;
                                                                                                                                                                                                                                                                                                                                            display:flex;
                                                                                                                                                                                                                                                                                                                                            align-items:center;
                                                                                                                                                                                                                                                                                                                                            gap:12px;
                                                                                                                                                                                                                                                                                                                                            color:#fff;
                                                                                                                                                                                                                                                                                                                                            z-index:1}

                                                                                                                                                                                                                                                                                                                                            .mips-logo {
                                                                                                                                                                                                                                                                                                                                                width:62px;
                                                                                                                                                                                                                                                                                                                                                height:62px;
                                                                                                                                                                                                                                                                                                                                                border:2px solid #fff;
                                                                                                                                                                                                                                                                                                                                                border-radius:50%;
                                                                                                                                                                                                                                                                                                                                                display:grid;
                                                                                                                                                                                                                                                                                                                                                place-items:center;
                                                                                                                                                                                                                                                                                                                                                font-size:20px;
                                                                                                                                                                                                                                                                                                                                                font-weight:900;
                                                                                                                                                                                                                                                                                                                                                letter-spacing:1px}

                                                                                                                                                                                                                                                                                                                                                .mips-brand b {
                                                                                                                                                                                                                                                                                                                                                    display:block;
                                                                                                                                                                                                                                                                                                                                                    font-size:19px}

                                                                                                                                                                                                                                                                                                                                                    .mips-brand span {
                                                                                                                                                                                                                                                                                                                                                        display:block;
                                                                                                                                                                                                                                                                                                                                                        font-size:11px;
                                                                                                                                                                                                                                                                                                                                                        letter-spacing:.5px;
                                                                                                                                                                                                                                                                                                                                                        margin-top:5px}

                                                                                                                                                                                                                                                                                                                                                        .login-stage {
                                                                                                                                                                                                                                                                                                                                                            min-height:calc(100vh - 200px);
                                                                                                                                                                                                                                                                                                                                                            display:flex;
                                                                                                                                                                                                                                                                                                                                                            justify-content:center;
                                                                                                                                                                                                                                                                                                                                                            align-items:flex-start;
                                                                                                                                                                                                                                                                                                                                                            padding-top:0;
                                                                                                                                                                                                                                                                                                                                                            background:linear-gradient(#fff 0%,#fff 40%,#fafafa 100%)}

                                                                                                                                                                                                                                                                                                                                                            .mips-card {
                                                                                                                                                                                                                                                                                                                                                                margin-top:-24px;
                                                                                                                                                                                                                                                                                                                                                                position:relative;
                                                                                                                                                                                                                                                                                                                                                                z-index:5;
                                                                                                                                                                                                                                                                                                                                                                width:360px;
                                                                                                                                                                                                                                                                                                                                                                border-radius:9px;
                                                                                                                                                                                                                                                                                                                                                                padding:38px 38px 32px;
                                                                                                                                                                                                                                                                                                                                                                box-shadow:0 18px 45px #00000020}

                                                                                                                                                                                                                                                                                                                                                                .welcome h1 {
                                                                                                                                                                                                                                                                                                                                                                    font-size:17px;
                                                                                                                                                                                                                                                                                                                                                                    margin:0 0 8px}

                                                                                                                                                                                                                                                                                                                                                                    .welcome p {
                                                                                                                                                                                                                                                                                                                                                                        font-size:12px;
                                                                                                                                                                                                                                                                                                                                                                        line-height:1.8;
                                                                                                                                                                                                                                                                                                                                                                        margin:0 0 24px}

                                                                                                                                                                                                                                                                                                                                                                        .mips-card label {
                                                                                                                                                                                                                                                                                                                                                                            font-size:12px;
                                                                                                                                                                                                                                                                                                                                                                            font-weight:500;
                                                                                                                                                                                                                                                                                                                                                                            color:#333;
                                                                                                                                                                                                                                                                                                                                                                            margin:14px 0}

                                                                                                                                                                                                                                                                                                                                                                            .mips-card label small {
                                                                                                                                                                                                                                                                                                                                                                                color:#888}

                                                                                                                                                                                                                                                                                                                                                                                .input-icon {
                                                                                                                                                                                                                                                                                                                                                                                    position:relative;
                                                                                                                                                                                                                                                                                                                                                                                    display:flex;
                                                                                                                                                                                                                                                                                                                                                                                    align-items:center}

                                                                                                                                                                                                                                                                                                                                                                                    .input-icon>span {
                                                                                                                                                                                                                                                                                                                                                                                        position:absolute;
                                                                                                                                                                                                                                                                                                                                                                                        left:5px;
                                                                                                                                                                                                                                                                                                                                                                                        color:#777;
                                                                                                                                                                                                                                                                                                                                                                                        font-size:10px}

                                                                                                                                                                                                                                                                                                                                                                                        .input-icon input {
                                                                                                                                                                                                                                                                                                                                                                                            padding-left:27px;
                                                                                                                                                                                                                                                                                                                                                                                            padding-right:34px;
                                                                                                                                                                                                                                                                                                                                                                                            border:0;
                                                                                                                                                                                                                                                                                                                                                                                            border-bottom:1px solid #ddd;
                                                                                                                                                                                                                                                                                                                                                                                            border-radius:0}

                                                                                                                                                                                                                                                                                                                                                                                            .mips-card input {
                                                                                                                                                                                                                                                                                                                                                                                                font-size:14px}

                                                                                                                                                                                                                                                                                                                                                                                                .eye {
                                                                                                                                                                                                                                                                                                                                                                                                    position:absolute;
                                                                                                                                                                                                                                                                                                                                                                                                    right:0;
                                                                                                                                                                                                                                                                                                                                                                                                    border:0;
                                                                                                                                                                                                                                                                                                                                                                                                    background:none;
                                                                                                                                                                                                                                                                                                                                                                                                    color:#777;
                                                                                                                                                                                                                                                                                                                                                                                                    cursor:pointer}

                                                                                                                                                                                                                                                                                                                                                                                                    .mips-card>form>label>input:not(.input-icon input) {
                                                                                                                                                                                                                                                                                                                                                                                                        border:0;
                                                                                                                                                                                                                                                                                                                                                                                                        border-bottom:1px solid #ddd;
                                                                                                                                                                                                                                                                                                                                                                                                        border-radius:0}

                                                                                                                                                                                                                                                                                                                                                                                                        .login-btn {
                                                                                                                                                                                                                                                                                                                                                                                                            width:100%;
                                                                                                                                                                                                                                                                                                                                                                                                            margin-top:8px;
                                                                                                                                                                                                                                                                                                                                                                                                            border:0;
                                                                                                                                                                                                                                                                                                                                                                                                            border-radius:22px;
                                                                                                                                                                                                                                                                                                                                                                                                            padding:11px;
                                                                                                                                                                                                                                                                                                                                                                                                            background:#1687f3;
                                                                                                                                                                                                                                                                                                                                                                                                            color:#fff;
                                                                                                                                                                                                                                                                                                                                                                                                            font-size:14px;
                                                                                                                                                                                                                                                                                                                                                                                                            cursor:pointer}

                                                                                                                                                                                                                                                                                                                                                                                                            .mips-login footer {
                                                                                                                                                                                                                                                                                                                                                                                                                text-align:center;
                                                                                                                                                                                                                                                                                                                                                                                                                font-size:11px;
                                                                                                                                                                                                                                                                                                                                                                                                                color:#777;
                                                                                                                                                                                                                                                                                                                                                                                                                padding:12px}

                                                                                                                                                                                                                                                                                                                                                                                                                .mips-login footer a {
                                                                                                                                                                                                                                                                                                                                                                                                                    color:#1687f3}

                                                                                                                                                                                                                                                                                                                                                                                                                    .token-panel {
                                                                                                                                                                                                                                                                                                                                                                                                                        background:#fff;
                                                                                                                                                                                                                                                                                                                                                                                                                        border:1px solid var(--line);
                                                                                                                                                                                                                                                                                                                                                                                                                        border-radius:12px;
                                                                                                                                                                                                                                                                                                                                                                                                                        padding:18px 22px;
                                                                                                                                                                                                                                                                                                                                                                                                                        margin-bottom:20px;
                                                                                                                                                                                                                                                                                                                                                                                                                        display:flex;
                                                                                                                                                                                                                                                                                                                                                                                                                        align-items:center;
                                                                                                                                                                                                                                                                                                                                                                                                                        justify-content:space-between;
                                                                                                                                                                                                                                                                                                                                                                                                                        box-shadow:0 2px 8px #00000006}

                                                                                                                                                                                                                                                                                                                                                                                                                        .token-value {
                                                                                                                                                                                                                                                                                                                                                                                                                            font-size:30px;
                                                                                                                                                                                                                                                                                                                                                                                                                            font-weight:900;
                                                                                                                                                                                                                                                                                                                                                                                                                            letter-spacing:5px;
                                                                                                                                                                                                                                                                                                                                                                                                                            color:var(--blue);
                                                                                                                                                                                                                                                                                                                                                                                                                            margin:3px 0}

                                                                                                                                                                                                                                                                                                                                                                                                                            .inline-form {
                                                                                                                                                                                                                                                                                                                                                                                                                                display:flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                gap:6px;
                                                                                                                                                                                                                                                                                                                                                                                                                                align-items:center}

                                                                                                                                                                                                                                                                                                                                                                                                                                .inline-form input {
                                                                                                                                                                                                                                                                                                                                                                                                                                    min-width:160px;
                                                                                                                                                                                                                                                                                                                                                                                                                                    margin:0}

                                                                                                                                                                                                                                                                                                                                                                                                                                    .table .actions {
                                                                                                                                                                                                                                                                                                                                                                                                                                        align-items:center}

                                                                                                                                                                                                                                                                                                                                                                                                                                        @media(max-width:600px) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            .mips-card {
                                                                                                                                                                                                                                                                                                                                                                                                                                                width:calc(100% - 30px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                padding:28px}

                                                                                                                                                                                                                                                                                                                                                                                                                                                .mips-header {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    height:120px}

                                                                                                                                                                                                                                                                                                                                                                                                                                                    .token-panel {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        align-items:flex-start;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        gap:10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-direction:column}

                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

/* ===== v7: halaman login ===== */
.mips-login { background:#f4f7fb}
.mips-header { height:170px; background:linear-gradient(135deg,#1b78bd 0%,#2a6296 60%,#27527f 100%)}
.mips-header:before { content:""; position:absolute; left:-80px; bottom:-120px; width:420px; height:240px; background:#ffffff0d; transform:rotate(18deg); border-radius:50px}
.mips-brand { left:0; right:0; top:0; padding:26px 28px; max-width:1200px; margin:0 auto; gap:16px}
.mips-logo-img { height:72px; width:auto; max-width:140px; object-fit:contain; display:block; filter:drop-shadow(0 2px 4px #0003)}
.mips-brand b { font-size:22px; letter-spacing:.5px}
.mips-brand span { font-size:11px; letter-spacing:1.2px; opacity:.9}
.login-stage { background:linear-gradient(#f4f7fb 0%,#fff 100%); min-height:calc(100vh - 230px); padding-bottom:30px}
.mips-card { margin-top:-44px; width:400px; max-width:calc(100% - 32px); border-radius:14px; padding:36px 36px 30px; background:#fff; box-shadow:0 18px 50px #0d3f7829}
.welcome h1 { font-size:20px; color:#16324f}
.welcome p { font-size:13px; color:#5b6878}
.mips-card label { font-size:13px; font-weight:600; color:#2b3a4d; margin:16px 0}
.input-icon { border-bottom:1px solid #cfd8e3; transition:border-color .15s}
.input-icon:focus-within { border-bottom-color:#1687f3}
.input-icon .ico { position:absolute; left:2px; width:17px; height:17px; fill:none; stroke:#7b8797; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.input-icon input { padding:12px 34px 10px 30px; border:0; border-radius:0; margin-top:0; outline:0; font-size:15px; background:transparent}
.eye { display:grid; place-items:center; width:30px; height:30px}
.eye svg { width:18px; height:18px; fill:none; stroke:#7b8797; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.login-btn { margin-top:14px; padding:13px; border-radius:26px; font-size:15px; font-weight:700; background:linear-gradient(90deg,#1687f3,#1a6fd6); box-shadow:0 6px 16px #1687f340}
.login-btn:hover { filter:brightness(1.06)}
.mips-login footer { background:transparent}

/* ===== v7: tampilan HP / tablet ===== */
.topbar>div:last-child:not(.account-menu):not(.brand-small) { text-align:right; line-height:1.5}
@media(max-width:800px) {
    .topbar { height:auto; min-height:56px; padding:6px 12px; gap:8px}
    .brand-small { font-size:13px}
    .topbar>div:last-child:not(.account-menu):not(.brand-small) { font-size:12px}
    .account-trigger { max-width:48vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
    .layout { display:block; min-height:0}
    .sidebar { display:flex; width:auto; gap:6px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding:8px 10px; border-right:0; border-bottom:1px solid var(--line); position:sticky; top:56px; z-index:9}
    .sidebar a { flex:0 0 auto; white-space:nowrap; margin:0; padding:9px 14px; border-radius:999px; background:#f1f5f9; font-size:14px}
    .sidebar a:hover,.sidebar a.active { background:var(--blue); color:#fff}
    .content { padding:14px}
    .page-title { flex-wrap:wrap; margin-bottom:14px}
    .page-title h2 { margin:0; font-size:20px}
    .card { padding:16px}
    .table-wrap .table { min-width:640px}
    .table th,.table td { padding:9px 10px; font-size:14px}
    input,select,textarea { font-size:16px}
    .btn { padding:11px 14px}
    .actions { gap:8px}
    .inline-form { flex-wrap:wrap}
    .inline-form input { min-width:0; flex:1 1 140px}
    .token-value { font-size:26px; letter-spacing:4px}
    .exam-head { gap:10px}
    .exam-head b { font-size:15px}
    .timer { font-size:18px; white-space:nowrap}
    .exam-layout { margin:10px auto; padding:0 10px; gap:12px}
    .question-card { padding:16px; min-height:0}
    .option { padding:14px; font-size:15px}
    .exam-actions { gap:8px}
    .exam-actions .btn { flex:1 1 0; min-width:0; padding:13px 6px; font-size:13px; text-align:center}
    .nav-grid { grid-template-columns:repeat(6,1fr)}
    .num { padding:11px 0}
    .score { font-size:44px}
    .result { padding:26px 16px}
}
@media(max-width:600px) {
    .mips-header { height:130px}
    .mips-brand { padding:18px 16px; gap:12px}
    .mips-logo-img { height:56px}
    .mips-brand b { font-size:19px}
    .mips-card { margin-top:-30px; padding:28px 22px 24px}
    .login-stage { min-height:calc(100vh - 170px)}
}
@media(max-width:380px) {
    .nav-grid { grid-template-columns:repeat(5,1fr)}
}
.welcome h1 { text-align:left}
.input-icon input { font-weight:400; color:#1f2937}
.input-icon input::placeholder { font-weight:400; color:#9aa5b4}

/* ===== v8: halaman Konfirmasi Data Peserta ===== */
.cf-page { background:#fff; min-height:100vh}
.cf-header { position:relative; height:120px; background:linear-gradient(135deg,#1b78bd 0%,#2a6296 60%,#27527f 100%); color:#fff; display:flex; justify-content:space-between; align-items:flex-start; padding:16px 28px; overflow:hidden}
.cf-header:after { content:""; position:absolute; right:-90px; top:-110px; width:480px; height:240px; background:#ffffff12; transform:rotate(-20deg); border-radius:40px; pointer-events:none}
.cf-brand { display:flex; align-items:center; gap:12px; position:relative; z-index:1}
.cf-brand .mips-logo-img { height:52px}
.cf-brand .mips-logo { width:52px; height:52px; border:2px solid #fff; border-radius:50%; display:grid; place-items:center; font-size:15px; font-weight:900}
.cf-brand b { display:block; font-size:16px}
.cf-brand span { display:block; font-size:10px; letter-spacing:1px; margin-top:3px; opacity:.9}
.cf-user { position:relative; z-index:1; font-size:13px; text-align:right; padding-top:6px}
.cf-user a { display:inline-block; margin-left:12px; padding:4px 10px; border:1px solid #ffffff80; border-radius:6px; font-size:12px}
.cf-user a:hover { background:#ffffff22}
.cf-wrap { display:grid; grid-template-columns:minmax(0,1fr) 520px; gap:24px; align-items:start; padding:0 24px 40px; margin-top:-48px; position:relative; z-index:2; max-width:1500px; margin-left:auto; margin-right:auto}
.cf-card { background:#fff; border-radius:12px; padding:26px 32px; box-shadow:0 14px 40px #0d3f7829; position:relative; overflow:hidden}
.cf-info h3 { margin:0 0 12px; font-size:17px; color:#16324f}
.cf-info ol { margin:0 0 14px; padding-left:20px; line-height:1.9; font-size:14px; color:#3b4858}
.cf-form h2 { margin:0 0 14px; font-size:24px; font-weight:400; color:#1f2937}
.cf-field { margin:14px 0 0}
.cf-field label { display:block; font-size:11px; font-weight:700; color:#222; margin:0}
.cf-value { padding:7px 0 6px; font-size:16px; border-bottom:1px solid #e3e7ec; min-height:32px}
.cf-field input,.cf-field select { width:100%; margin:0; padding:7px 0 6px; border:0; border-bottom:1px solid #d5dbe3; border-radius:0; font-size:16px; background:transparent; outline:0}
.cf-field select:disabled { color:#222; opacity:1; -webkit-appearance:menulist; background:transparent}
.cf-field input:focus,.cf-field select:focus { border-bottom-color:#087bf5}
.cf-field input::placeholder { color:#8c96a3}
.cf-dob { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:6px}
.cf-dob select { background:#eceef0; border:0; padding:12px 10px; border-radius:2px; font-size:15px}
.cf-token label { color:#087bf5}
.cf-submit { display:block; width:100%; margin-top:30px; padding:13px; border:0; border-radius:4px; background:#087bf5; color:#fff; font-size:16px; cursor:pointer}
.cf-submit:hover { background:#0668d1}
@media(max-width:900px) {
    .cf-wrap { grid-template-columns:1fr; padding:0 12px 30px; gap:14px}
    .cf-form { order:-1}
    .cf-card { padding:22px 18px}
    .cf-header { padding:12px 14px; height:110px}
    .cf-user { font-size:12px}
    .cf-user span { display:block; max-width:48vw; margin-left:auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
    .cf-user a { margin:6px 0 0}
}
@media(max-width:900px) {
    .cf-brand span { display:none}
    .cf-brand .mips-logo-img { height:44px}
    .cf-brand b { font-size:17px}
}

/* ===== v9: saklar token ===== */
.token-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.switch { display:inline-flex; align-items:center; gap:8px; cursor:pointer; font-size:13px; font-weight:600; color:#2b3a4d}
.switch input { position:absolute; opacity:0; width:0; height:0}
.switch-ui { position:relative; width:42px; height:24px; background:#c3cbd6; border-radius:24px; transition:background .15s; flex:0 0 auto}
.switch-ui:after { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50%; transition:transform .15s; box-shadow:0 1px 3px #0003}
.switch input:checked+.switch-ui { background:#1a8f4c}
.switch input:checked+.switch-ui:after { transform:translateX(18px)}
.switch input:focus-visible+.switch-ui { outline:2px solid #1687f3; outline-offset:2px}

/* ===== v9: jenis soal, stimulus grup, form soal ===== */
.stimulus { background:#f6f9fd; border:1px solid #d9e4f2; border-left:4px solid #1a6fd6; border-radius:8px; padding:14px 16px; margin:0 0 16px}
.stimulus-title { font-weight:700; color:#16324f; margin-bottom:8px}
.stimulus-text { line-height:1.7; font-size:15px}
.qhint { margin:4px 0 10px; font-size:13px}
.cat-table { width:100%; border-collapse:collapse; background:#fff}
.cat-table th,.cat-table td { border:1px solid #d5dce6; padding:10px 12px; text-align:left; vertical-align:middle}
.cat-table th { background:#f1f5f9; font-size:13px}
.cat-table th:nth-child(n+2),.cat-table td.cat-pick { text-align:center; width:90px}
.cat-pick label { display:block; padding:4px; cursor:pointer}
.cat-pick input { width:20px; height:20px; margin:0; cursor:pointer}
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.option input[type=checkbox] { margin-right:8px}
.check-row { display:flex; gap:18px; flex-wrap:wrap; margin-top:8px}
.check { display:inline-flex; align-items:center; gap:6px; font-weight:600}
.check input { width:auto; margin:0}
.item-row { display:grid; grid-template-columns:1fr 180px; gap:10px; margin:8px 0; align-items:start}
.item-row textarea { min-height:52px}
#secKategori .preset { padding:6px 10px; margin-right:4px}
@media(max-width:800px) {
    .item-row { grid-template-columns:1fr}
    .cat-table th,.cat-table td { padding:9px 8px; font-size:14px}
    .cat-table th:nth-child(n+2),.cat-table td.cat-pick { width:68px}
}

/* ===== v10: pecahan, gambar pilihan, kategori 2-5, toolbar matematika ===== */
.frac { display:inline-flex; flex-direction:column; align-items:center; vertical-align:middle; margin:0 3px; line-height:1.15; font-size:.95em}
.frac .fn { border-bottom:1.5px solid currentColor; padding:0 4px}
.frac .fd { padding:0 4px}
.option .opt-body { display:inline-block; vertical-align:top; max-width:calc(100% - 40px)}
.option .opt-img { display:block; max-width:100%; max-height:240px; margin-top:6px; border-radius:6px; border:1px solid #e1e6ee; background:#fff}
.option.img-only { display:flex; align-items:flex-start; gap:6px}
.mathbar { background:#f6f9fd; border:1px solid #d9e4f2; border-radius:8px; padding:8px 10px; margin:8px 0 14px; display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.mathbar-title { font-size:12px; font-weight:700; color:#16324f; margin-right:4px}
.mb { min-width:34px; padding:5px 8px; border:1px solid #cfd8e3; background:#fff; border-radius:6px; font-size:16px; cursor:pointer; line-height:1.2}
.mb:hover { background:#eaf3ff; border-color:#1a6fd6}
.mb-wide { font-size:13px; font-weight:600}
.mb-sep { width:1px; height:22px; background:#cfd8e3; margin:0 4px}
.mb-help { flex:1 0 100%; font-size:12px; margin-top:2px}
.opt-edit { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:12px; margin:10px 0; padding:10px; border:1px solid #e3e8ef; border-radius:8px; align-items:start}
.opt-edit textarea { min-height:56px}
.opt-img-box .small { font-size:12px}
.opt-img-box .qimg-preview { max-width:100%; max-height:110px; display:block; margin:6px 0}
.cat-inputs { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; margin:8px 0}
.qpreview { background:#fff; border:1px dashed #b9c6d8; border-radius:8px; padding:12px 14px; margin-top:14px}
.qpreview h5 { margin:0 0 8px; font-size:12px; color:#5b6878; text-transform:uppercase; letter-spacing:.5px}
.qpreview .pv-opt { margin:4px 0; padding:6px 10px; border:1px solid #e1e6ee; border-radius:6px}
@media(max-width:800px) {
    .opt-edit { grid-template-columns:1fr}
    .cat-table th:nth-child(n+2),.cat-table td.cat-pick { width:auto; min-width:64px}
}

/* ===== v10.3: gambar lebih besar, gambar di dalam teks, perbesar (lightbox) ===== */
.qimg { max-width:100%; max-height:none; height:auto; cursor:zoom-in}
.option .opt-img { max-width:100%; max-height:none; height:auto}
.inline-img { display:block; max-width:100%; height:auto; margin:10px 0; border-radius:6px; cursor:zoom-in}
.stimulus img { max-width:100%; height:auto; cursor:zoom-in}
.qtext .inline-img,.stimulus-text .inline-img { margin:12px auto}
.zoom-btn { display:inline-block; margin-top:6px; padding:5px 10px; font-size:12px; border:1px solid #b9c6d8; background:#fff; border-radius:6px; cursor:pointer; color:#16324f}
.zoom-btn:hover { background:#eaf3ff}
.lightbox { position:fixed; inset:0; background:#0b1220f0; z-index:2000; display:none; flex-direction:column}
.lightbox.open { display:flex}
.lb-bar { display:flex; gap:8px; justify-content:flex-end; padding:10px 12px; flex:0 0 auto}
.lb-btn { min-width:44px; padding:9px 14px; font-size:15px; border:1px solid #ffffff55; background:#ffffff18; color:#fff; border-radius:8px; cursor:pointer}
.lb-btn:hover { background:#ffffff30}
.lb-close { background:#b3261e; border-color:#b3261e}
.lb-stage { flex:1 1 auto; overflow:auto; display:flex; -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y pinch-zoom}
.lb-stage img { margin:auto; max-width:none; background:#fff; cursor:zoom-in}
.opt-img-box .qimg-preview { max-height:140px}

/* ===== v10.5: format teks ===== */
.mb-fmt { min-width:38px; font-size:15px}
.qtext strong,.option strong,.cat-table strong,.stimulus-text strong { font-weight:800}

/* ===== v10.6: preview soal ===== */
.pv-card { margin:18px 0; min-height:0; scroll-margin-top:70px}
.pv-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:6px}
.pv-meta { color:#5b6878; font-weight:400; font-size:12px; letter-spacing:0}
.pv-nav { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px}
.pv-nav a { min-width:36px; padding:6px 8px; text-align:center; border:1px solid #cfd8e3; border-radius:6px; background:#fff; font-size:13px; font-weight:600}
.pv-nav a:hover { background:#eaf3ff; border-color:#1a6fd6}
.pv-card input:disabled { cursor:default}
.option.key-correct { border-color:#1a8f4c; background:#eaf8f0}
.cat-table td.cat-correct { background:#eaf8f0}
.pv-keytext { display:none; margin-top:14px; padding:9px 12px; background:#eaf8f0; border:1px solid #bfe3cd; border-radius:8px; color:#17663c; font-size:14px}
body.show-key .pv-keytext { display:block}

/* ===== v10.9: status koneksi & sinkronisasi (siswa) ===== */
.sync-box { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:flex-end; padding:6px 14px; background:#f6f9fd; border-bottom:1px solid #d9e4f2; font-size:12.5px}
.sync-box.ok { background:#f1faf4; border-bottom-color:#cfe9d9}
.sync-box.warn { background:#fff8e6; border-bottom-color:#f1dfae}
.sync-box.bad { background:#fdeeee; border-bottom-color:#f1c4c1}
.sync-pill { display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; background:#fff; border:1px solid #d5dce6; font-weight:600; color:#334155; line-height:1.3}
.sync-pill .dot { width:9px; height:9px; border-radius:50%; background:#94a3b8; display:inline-block; flex:0 0 auto}
.sync-pill.ok { color:#14653a; border-color:#bfe3cd} .sync-pill.ok .dot { background:#1a8f4c}
.sync-pill.warn { color:#8a5a00; border-color:#f1dfae} .sync-pill.warn .dot { background:#e0a100; animation:pulseDot 1.2s infinite}
.sync-pill.bad { color:#a3231b; border-color:#f1c4c1} .sync-pill.bad .dot { background:#c8372d}
@keyframes pulseDot { 50% { opacity:.35 } }
.net-banner { padding:10px 14px; font-size:14px; font-weight:600; text-align:center}
.net-banner[hidden],.exam-toast[hidden] { display:none}
.net-banner.bad { background:#b3261e; color:#fff}
.net-banner.warn { background:#e0a100; color:#2b1d00}
.exam-toast { position:fixed; left:50%; bottom:18px; transform:translateX(-50%); max-width:min(92vw,560px); background:#16324f; color:#fff; padding:11px 16px; border-radius:10px; font-size:14px; z-index:1500; box-shadow:0 6px 22px #0004}
@media(max-width:800px) { .sync-box { justify-content:flex-start; padding:6px 10px} .sync-pill { font-size:12px} }

/* ===== v10.9: halaman monitoring guru ===== */
.mon-live { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; padding:5px 12px; border-radius:999px; background:#fff; border:1px solid #d5dce6; color:#334155}
.mon-live .dot { width:9px; height:9px; border-radius:50%; background:#94a3b8}
.mon-live.ok { color:#14653a; border-color:#bfe3cd} .mon-live.ok .dot { background:#1a8f4c; animation:pulseDot 1.6s infinite}
.mon-live.bad { color:#a3231b; border-color:#f1c4c1} .mon-live.bad .dot { background:#c8372d}
.mon-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-bottom:14px}
.mon-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; margin-bottom:14px}
.mon-card { background:#fff; border:1px solid #d9e4f2; border-radius:10px; padding:10px 12px; display:flex; flex-direction:column; gap:2px}
.mon-card b { font-size:24px; color:#16324f; line-height:1.1}
.mon-card span { font-size:12px; color:#5b6878}
.mon-card.alert { background:#fdeeee; border-color:#f1c4c1} .mon-card.alert b { color:#a3231b}
.mon-table td { vertical-align:top}
.mon-table td .sync-pill { white-space:nowrap}
.mon-table td .muted { font-size:12px}
.mon-problem { background:#fff6f5}
.mon-extitle { max-width:220px; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mon-barrow { display:flex; align-items:center; gap:8px; margin:3px 0}
.mon-bar { flex:1 1 90px; min-width:90px; height:9px; background:#e5ebf3; border-radius:99px; overflow:hidden}
.mon-bar i { display:block; height:100%; background:#1a6fd6; border-radius:99px}
.mon-qno { display:inline-block; padding:4px 10px; border-radius:8px; background:#eaf3ff; color:#0f4f9c; font-weight:800; font-size:15px; white-space:nowrap}
.mon-qno small { font-weight:500; color:#5b6878}
.mon-events { max-height:260px; overflow:auto; margin-top:8px; font-size:13px}
.mon-ev { padding:4px 0; border-bottom:1px solid #eef2f7}
.mon-ev.ev-gagal b,.mon-ev.ev-sesi_direset b { color:#a3231b}
@media(max-width:800px) { .mon-table { min-width:1100px} }

/* ===== v10.9: editor visual, paragraf, resize gambar, status draf ===== */
.mb-row { flex:1 0 100%; display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.mb.on { background:#dbeafe; border-color:#1a6fd6; color:#0f4f9c}
.mb-sel { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:#16324f}
.mb-sel select { padding:4px 6px; font-size:13px; border:1px solid #cfd8e3; border-radius:6px; background:#fff; width:auto}
.ed-wrap { position:relative; width:100%}
.ed-root { min-height:2.6em; padding:9px 11px; border:1px solid #cfd8e3; border-radius:8px; background:#fff; font:inherit; line-height:1.55; overflow:auto; resize:vertical; outline:none; word-wrap:break-word}
.ed-root:focus { border-color:#1a6fd6; box-shadow:0 0 0 3px #1a6fd622}
.ed-root > div,.ed-root > ul,.ed-root > ol { margin:0}
.ed-root ul,.ed-root ol { padding-left:26px}
.ed-root img { display:block; max-width:100%; height:auto; margin:10px auto; cursor:pointer; border-radius:4px}
.ed-root img.ed-on { outline:2px solid #1a6fd6; outline-offset:1px}
.ed-sel { position:absolute; pointer-events:none; z-index:20; border:2px solid #1a6fd6; box-sizing:border-box}
.ed-sel[hidden],.ed-imgbar[hidden] { display:none}
.ed-h { position:absolute; width:14px; height:14px; background:#fff; border:2px solid #1a6fd6; border-radius:3px; pointer-events:auto; touch-action:none; box-sizing:border-box}
.ed-h-nw { left:-8px; top:-8px; cursor:nwse-resize} .ed-h-ne { right:-8px; top:-8px; cursor:nesw-resize}
.ed-h-sw { left:-8px; bottom:-8px; cursor:nesw-resize} .ed-h-se { right:-8px; bottom:-8px; cursor:nwse-resize}
.ed-size { position:absolute; right:4px; bottom:4px; background:#16324fcc; color:#fff; font-size:11px; padding:1px 6px; border-radius:4px}
.ed-imgbar { position:absolute; z-index:25; display:flex; flex-wrap:wrap; gap:5px; align-items:center; padding:5px 7px; background:#fff; border:1px solid #1a6fd6; border-radius:8px; box-shadow:0 4px 14px #0002; font-size:12px}
.ed-imgbar label { display:flex; align-items:center; gap:4px; font-weight:700}
.ed-imgbar .ed-w { width:70px; padding:3px 5px; font-size:13px}
.ed-imgbar button { padding:3px 8px; font-size:12px; border:1px solid #cfd8e3; background:#fff; border-radius:6px; cursor:pointer}
.ed-imgbar button:hover { background:#eaf3ff}
.ed-imgbar button.danger { color:#a3231b; border-color:#f1c4c1}
.pblk { margin:0}
.autosave-status { font-size:13px; margin-left:10px; font-weight:600}
.autosave-status.ok { color:#14653a} .autosave-status.warn { color:#8a5a00} .autosave-status.bad { color:#a3231b}
.draft-bar { display:flex; gap:12px; align-items:center; flex-wrap:wrap; padding:8px 12px; margin-bottom:12px; background:#fff8e6; border:1px solid #f1dfae; border-radius:8px; font-size:14px}
.draft-bar[hidden] { display:none}

/* ===== v10.9.1: pindah kelas, analisis soal, peringkat ===== */
.cls-cur { white-space:nowrap}
.cls-form select,.table select { min-width:130px; width:auto}
.cls-form { flex-wrap:nowrap}
.bulk-bar { display:flex; flex-direction:column; gap:10px; padding:10px 12px; margin:6px 0 12px; background:#f6f9fd; border:1px solid #d9e4f2; border-radius:8px}
.bulk-bar .inline-form { flex-wrap:wrap; align-items:center; gap:8px}
.bulk-bar select { min-width:170px; width:auto}
.an-top { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:14px; margin:14px 0}
.an-list { margin:8px 0 0; padding-left:20px}
.an-list li { margin:6px 0}
.an-table td { vertical-align:top; font-size:13.5px}
.an-q { min-width:200px; max-width:320px}
.an-lv { display:inline-block; padding:2px 9px; border-radius:999px; font-size:12px; font-weight:700}
.an-mudah { background:#e3f6ea; color:#14653a} .an-sedang { background:#fff3d6; color:#8a5a00} .an-sulit { background:#fde4e2; color:#a3231b}
.print-head { display:none}
@media print {
    .topbar,.sidebar,.no-print,.actions,.account-menu { display:none !important}
    .layout { display:block} .content { padding:0; max-width:none}
    .print-head { display:block; margin-bottom:10px}
    .card,.mon-card { box-shadow:none; break-inside:avoid}
    .table-wrap { overflow:visible} .table,.an-table { min-width:0 !important; font-size:11px}
    .mon-bar i,.an-lv { -webkit-print-color-adjust:exact; print-color-adjust:exact}
    body { background:#fff}
}
.list-filter { display:flex; align-items:center; gap:12px; margin:6px 0 10px}
.list-filter label { display:flex; align-items:center; gap:8px; font-weight:700}
.list-filter select { width:auto; min-width:150px}
