.testset-manage{margin-top:16px}.testset-backdrop{position:fixed;inset:0;z-index:99990;background:rgba(8,22,40,.68);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:22px}.testset-modal{width:min(1460px,96vw);height:min(900px,94vh);background:#f7f9fc;border-radius:22px;box-shadow:0 30px 90px rgba(3,18,36,.32);display:flex;flex-direction:column;overflow:hidden}.testset-modal>header,.testset-modal>footer{background:#fff;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe6ef}.testset-modal>footer{border-top:1px solid #dfe6ef;border-bottom:0}.testset-modal>header h2{margin:4px 0 3px;font-size:28px;color:#10243d}.testset-modal>header p,.testset-modal>footer>span{margin:0;color:#6c7b91}.testset-close,.question-editor-card header button{border:0;background:#eef3f9;border-radius:12px;width:42px;height:42px;font-size:25px;cursor:pointer;color:#345}.testset-work{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr);gap:18px;flex:1;min-height:0;padding:18px}.testset-selected,.testset-bank{background:#fff;border:1px solid #dde5ef;border-radius:18px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.testset-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #e7edf5}.testset-section-head h3{margin:3px 0 0;font-size:20px;color:#122943}.testset-section-head small{font-weight:800;color:#5e789b;letter-spacing:.08em}.testset-selected-list,.testset-bank-list{overflow:auto;padding:12px}.testset-q{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid #e0e7f0;border-radius:14px;margin-bottom:9px}.testset-q b{display:block;color:#172a42;line-height:1.35}.testset-q small{display:block;margin-top:5px;color:#738199}.testset-order{width:32px;height:32px;border-radius:10px;background:#eaf2ff;color:#1262e7;display:grid;place-items:center;font-weight:800}.testset-actions{display:flex;gap:6px}.testset-actions button{border:1px solid #d6e0ec;background:#fff;border-radius:9px;padding:7px 9px;cursor:pointer;font-weight:700;color:#314964}.testset-actions button.danger{color:#b83b4e}.testset-actions button:disabled{opacity:.35;cursor:default}.testset-search{margin:12px;border:1px solid #cfd9e6;border-radius:12px;padding:12px 14px;font:inherit}.testset-bank-q{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;border:1px solid #e1e8f1;border-radius:12px;margin-bottom:8px}.testset-bank-q.picked{background:#eef5ff;border-color:#9fc5ff}.testset-bank-q.invalid{background:#fff8f7;border-color:#efc7c2}.testset-bank-q input{margin-top:4px}.testset-bank-q b{display:block;color:#1a2d45}.testset-bank-q small{display:block;margin-top:4px;color:#77859a}.testset-bank-q.invalid small{color:#ae534b}.testset-bank-q>button{border:1px solid #d4deea;background:#fff;border-radius:9px;padding:7px 9px;color:#31506f;font-weight:700;cursor:pointer}.testset-empty{padding:28px;text-align:center;color:#78879a}.testset-modal>footer>div{display:flex;gap:10px}.question-editor-layer{position:absolute;inset:0;background:rgba(9,25,44,.62);display:flex;align-items:center;justify-content:center;padding:24px;z-index:3}.question-editor-card{width:min(900px,92%);max-height:90%;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 25px 70px rgba(4,20,38,.28)}.question-editor-card header,.question-editor-card footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e2e9f2}.question-editor-card footer{border-top:1px solid #e2e9f2;border-bottom:0;justify-content:flex-end}.question-editor-card h3{margin:4px 0 0}.question-editor-body{padding:20px}.question-editor-body>label,.q-meta label{display:block;font-weight:700;color:#41546c;margin-bottom:14px}.question-editor-body textarea,.question-editor-body input[type=text],.question-editor-body select,.q-meta input,.q-meta select{width:100%;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:10px;padding:10px 12px;margin-top:6px;font:inherit}.q-options-editor{margin:8px 0 18px}.q-options-editor>div:first-child{display:flex;justify-content:space-between;color:#41546c;margin-bottom:8px}.q-option-edit{display:grid;grid-template-columns:32px minmax(0,1fr) 110px;gap:10px;align-items:center;margin-bottom:8px}.q-option-edit>span{width:30px;height:30px;border-radius:9px;background:#edf4ff;color:#1262e7;display:grid;place-items:center;font-weight:800}.q-option-edit label{font-size:13px;color:#596c84}.q-meta{display:grid;grid-template-columns:180px 1fr;gap:12px}.q-flags{display:flex;gap:24px;flex-wrap:wrap;color:#41546c;font-weight:600}.testing-course-grid .testset-manage{width:100%}@media(max-width:900px){.testset-work{grid-template-columns:1fr}.testset-bank{min-height:320px}.testset-modal{height:96vh}.testset-modal>footer{align-items:flex-start;flex-direction:column}.q-meta{grid-template-columns:1fr}.q-option-edit{grid-template-columns:30px 1fr}.q-option-edit label{grid-column:2}.testset-bank-q{grid-template-columns:22px 1fr}.testset-bank-q>button{grid-column:2;justify-self:start}}
