*{box-sizing:border-box}body{margin:0;background:#f4f6fa;color:#18324e;font:15px/1.5 Arial,sans-serif}header{background:white;border-bottom:1px solid #dbe2ec;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}header img{width:135px}main{max-width:1200px;margin:auto;padding:20px}h1{font-size:25px}h2{font-size:19px}h3{font-size:16px}a{color:#155c91}button,.button{font:inherit;padding:9px 14px;border:1px solid #bdcadb;border-radius:6px;background:white;color:#163b62;cursor:pointer;text-decoration:none;display:inline-block}button.primary{background:#174e7d;color:white}button:disabled{opacity:.55;cursor:wait}.card{background:white;border:1px solid #d6e0ec;border-radius:9px;padding:18px;margin-bottom:16px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:5px;margin:8px 0}input,textarea,select{font:inherit;color:inherit;padding:9px;border:1px solid #afc0d4;border-radius:5px;width:100%}textarea{min-height:80px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0}.muted,small{color:#566a80}#notice{position:sticky;top:0;z-index:6;background:#fff2cf;padding:10px 20px;display:none;white-space:pre-wrap}.bar{position:sticky;top:0;background:#fff;border:1px solid #d6e0ec;padding:12px;z-index:4;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.options label{display:block;border:1px solid #d8e0ea;padding:9px;margin:6px 0;border-radius:5px}.options input{width:auto;margin-right:9px}.options label:has(input:checked){background:#eaf5f0;border-color:#3d8c65}.stats{display:flex;gap:12px;flex-wrap:wrap}.stats>div{background:#edf3fa;padding:10px 14px;border-radius:6px}.stats b{display:block;font-size:23px}.table{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{border:1px solid #d5dfea;padding:8px;text-align:left;white-space:nowrap}.paper-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.paper-layout iframe{width:100%;height:75vh;border:1px solid #cbd7e5}.correct{color:#17734a}.wrong{color:#ac2834}.question{scroll-margin-top:90px}.pagination{display:flex;gap:5px;flex-wrap:wrap}.pagination button.answered{background:#e0f2e6}.danger{color:#a62936}@media(max-width:720px){main{padding:10px}.grid,.paper-layout{grid-template-columns:1fr}.paper-layout iframe{height:55vh}.card{padding:13px}header{padding:10px}h1{font-size:22px}}

.pagination{align-items:center;justify-content:space-between;flex-wrap:nowrap;margin:12px 0}.pagination label{display:flex;align-items:center;gap:6px}.pagination select{width:auto}.taking-test header #identity,.taking-test header #logout,.taking-test header a{display:none}.taking-test header{padding:7px 12px}.taking-test header img{width:105px}.taking-test h1{font-size:19px;margin:12px 0}.taking-test .bar{align-items:center;flex-wrap:nowrap;gap:6px;padding:8px}.taking-test #save-state{font-size:12px}.taking-test .question{margin-bottom:10px}.options label{min-height:46px;display:flex;align-items:center;gap:8px}.options input{flex:none;width:18px;height:18px}.question h3{margin:0 0 10px}.question p{margin:10px 0}@media(max-width:600px){header #identity{font-size:12px;overflow-wrap:anywhere}header img{width:110px}header{gap:8px}header button{padding:6px 9px}main{padding:10px}.pagination button{padding:9px}.bar button{font-size:13px;padding:10px}.bar b{font-size:14px}.question{font-size:16px}input,select{font-size:16px}.taking-test h1{font-size:17px}.pagination label{font-size:12px}}

/* V247 · OPEN SPECIAL TEST EXAM EXPERIENCE */
body.student-test-page{min-height:100vh;background:radial-gradient(circle at 10% 10%,#e9f2fb 0,transparent 34%),linear-gradient(160deg,#f7f9fc 0,#edf2f7 100%);color:#102f50;font-family:Inter,Arial,sans-serif}
.student-test-page>header{min-height:68px;padding:11px max(18px,calc((100vw - 1420px)/2));background:#fff;border-bottom:1px solid #dbe4ed;box-shadow:0 4px 18px #0d315410;flex-wrap:nowrap}
.student-test-page>header .brand{display:flex;align-items:center}.student-test-page>header img{width:142px}.student-test-page>header>b{margin-right:auto;padding-left:16px;border-left:1px solid #d8e1ea;color:#173c62;font-size:16px}.student-test-page>header>a:last-child{padding:9px 13px;border:1px solid #cbd8e4;border-radius:8px;color:#184e7c;font-size:12px;font-weight:800;text-decoration:none}
.student-test-page main{width:100%;max-width:1440px;padding:30px 24px 45px}.student-test-page #notice{position:fixed;top:74px;left:50%;z-index:50;max-width:min(92vw,760px);transform:translateX(-50%);border:1px solid #e3c36c;border-radius:9px;box-shadow:0 10px 30px #1c334433;background:#fff7dc;color:#694f0c;font-size:13px;font-weight:700}
.loading-screen{display:grid;place-items:center;gap:13px;min-height:65vh;color:#536b82}.loading-screen span{width:42px;height:42px;border:4px solid #d5e2ee;border-top-color:#9a1e3f;border-radius:50%;animation:test-spin .8s linear infinite}@keyframes test-spin{to{transform:rotate(360deg)}}
.launch-shell{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(360px,.72fr);min-height:650px;overflow:hidden;border:1px solid #d7e1ea;border-radius:20px;background:#fff;box-shadow:0 24px 70px #1638581c}
.launch-intro{position:relative;padding:58px 60px;color:#fff;background:linear-gradient(145deg,#082a4f 0,#124e7d 64%,#1a6b91 100%)}.launch-intro:after{position:absolute;right:-90px;bottom:-130px;width:360px;height:360px;border:55px solid #ffffff0c;border-radius:50%;content:""}.exam-label,.catalog-heading>span,.result-heading>span{display:inline-flex;padding:6px 10px;border:1px solid #f3cc6b66;border-radius:999px;color:#f5d778;background:#f5cf6914;font-size:10px;font-weight:900;letter-spacing:1.3px}.launch-intro h1{max-width:750px;margin:18px 0 10px;color:#fff;font-size:clamp(29px,3.2vw,48px);line-height:1.12}.launch-subtitle{margin:0;color:#dceaf5;font-size:15px}.test-facts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:35px 0 20px}.test-facts>div{min-height:92px;padding:17px;border:1px solid #ffffff22;border-radius:13px;background:#ffffff10;backdrop-filter:blur(7px)}.test-facts span,.test-facts strong{display:block}.test-facts span{color:#bdd3e5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.test-facts strong{margin-top:7px;color:#fff;font-size:18px}.availability,.instruction-note{position:relative;z-index:1;padding:16px 18px;border-radius:12px}.availability{display:flex;gap:13px;align-items:flex-start;background:#071d36aa}.availability b{color:#f3d270}.availability span{font-size:12px}.instruction-note{margin-top:14px;border-left:4px solid #f0c85c;background:#ffffff12}.instruction-note b{color:#f5d778}.instruction-note p{margin:5px 0 0;color:#dceaf5;font-size:12px}
.candidate-panel{display:flex;flex-direction:column;justify-content:center;padding:45px 42px;background:#fff}.panel-heading>span{color:#9a1e3f;font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.panel-heading h2{margin:7px 0 3px;color:#153b60;font-size:29px}.panel-heading p{margin:0 0 18px;color:#698096;font-size:12px}.candidate-form{display:grid;gap:14px}.candidate-form label{display:grid;gap:6px}.candidate-form label span{color:#536b82;font-size:11px;font-weight:800}.candidate-form input{height:48px;padding:11px 13px;border:1px solid #bccdde;border-radius:9px;background:#fbfcfe;font-size:15px}.candidate-form input:focus{outline:3px solid #1c69a31c;border-color:#256e9f;background:#fff}.start-button{width:100%;min-height:50px;margin-top:6px;border:0!important;border-radius:9px!important;background:linear-gradient(100deg,#8d1739,#a82b4b)!important;box-shadow:0 9px 22px #911c3d2b;color:#fff!important;font-weight:900}.start-button span{float:right}.status-message{padding:12px;margin-bottom:13px;border:1px solid #e6bd68;border-radius:8px;background:#fff8e5;color:#74540b;font-size:12px}.saved-candidate{display:grid;gap:4px;padding:18px;margin:5px 0 12px;border:1px solid #d4e1eb;border-radius:11px;background:#f5f9fc}.saved-candidate span,.candidate-mini span{color:#73869a;font-size:9px;font-weight:900;text-transform:uppercase}.saved-candidate strong{color:#153b60;font-size:18px}.saved-candidate small{color:#62788d}.text-button,.refresh-button{border:0;background:transparent;color:#2b668f;text-decoration:underline}.refresh-button{margin-top:10px;font-size:11px}
.catalog-shell{padding-bottom:30px}.catalog-heading{padding:28px 30px;border-radius:17px;color:#fff;background:linear-gradient(120deg,#092e55,#195f8e)}.catalog-heading h1{margin:11px 0 4px;color:#fff;font-size:34px}.catalog-heading p{margin:0;color:#d7e7f3}.test-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}.test-card{display:flex;flex-direction:column;min-height:245px;padding:20px;border:1px solid #d8e2eb;border-top:4px solid #941f40;border-radius:13px;background:#fff;box-shadow:0 8px 24px #18385612}.test-card h2{margin:13px 0 10px;color:#153b60;font-size:19px}.test-type{color:#941f40;font-size:9px;font-weight:900;letter-spacing:1px}.card-facts{display:flex;gap:7px;flex-wrap:wrap}.card-facts span{padding:5px 8px;border-radius:999px;background:#eaf2f8;color:#275776;font-size:10px;font-weight:800}.test-card small{margin:12px 0 auto;color:#6d7f91}.test-card .button{margin-top:18px;text-align:center}.button.primary{border-color:#174e7d;background:#174e7d;color:#fff}.catalog-actions{display:flex;gap:9px;margin-top:15px}.empty-tests{padding:40px;border:1px dashed #bfcfdd;border-radius:13px;background:#fff;text-align:center}
.taking-test.student-test-page{background:#e9eef4}.taking-test.student-test-page>header{min-height:50px;padding-top:7px;padding-bottom:7px}.taking-test.student-test-page>header img{width:106px}.taking-test.student-test-page>header>b{font-size:13px}.taking-test.student-test-page main{max-width:1540px;padding:14px 18px 28px}.exam-shell{overflow:hidden;border:1px solid #cfdbe6;border-radius:14px;background:#fff;box-shadow:0 12px 35px #17385518}.exam-toolbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 16px;color:#fff;background:#0b3157}.exam-title{display:grid;gap:2px;min-width:0}.exam-title span{color:#f2cf70;font-size:8px;font-weight:900;letter-spacing:1px}.exam-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.exam-status{display:flex;gap:8px;align-items:stretch}.timer-box,.save-box{display:grid;min-width:105px;padding:6px 10px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff0d}.timer-box small,.save-box small{color:#a9c4da;font-size:8px;text-transform:uppercase}.timer-box b{color:#ffe083;font-size:18px;letter-spacing:.5px}.save-box b{color:#e5f1f8;font-size:11px}.submit-button{border:0!important;background:#a22043!important;color:#fff!important;font-weight:900}.progress-row{display:grid;grid-template-columns:auto minmax(150px,1fr) auto;gap:12px;align-items:center;padding:9px 16px;border-bottom:1px solid #dde5ec;background:#f7f9fb;color:#536a7e;font-size:11px}.progress-row>div{height:6px;overflow:hidden;border-radius:999px;background:#dce5ed}.progress-row i{display:block;height:100%;border-radius:999px;background:#2a8b72}.paper-actions{display:flex;gap:10px;padding:10px 16px;border-bottom:1px solid #dce5ec;background:#fff8e8}.paper-actions a{align-self:center;font-size:11px}#pdf{padding:0 16px}#pdf iframe{width:100%;height:62vh;border:1px solid #cbd8e3}
.exam-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:570px}.question-panel{padding:28px 32px;border-right:1px solid #dce4eb}.question-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.question-meta span{color:#153f66;font-size:12px;font-weight:900}.question-meta b{padding:5px 9px;border-radius:999px;background:#e8f1f8;color:#2c6084;font-size:9px}.question-panel h2{margin:20px 0;color:#142f4c;font-size:18px;font-weight:700;line-height:1.55;white-space:pre-wrap}.response-guidance{padding:10px 12px;border-left:4px solid #d5a62d;background:#fff9e8;color:#695319}.response-guidance p{margin:4px 0 0;font-size:12px}.exam-options{display:grid;gap:9px;margin-top:20px}.option-row{display:flex;gap:12px;align-items:center;min-height:53px;padding:10px 13px;border:1px solid #cfdae4;border-radius:10px;background:#fff;cursor:pointer;transition:.15s ease}.option-row:hover{border-color:#7aa2bf;background:#f7fbfe}.option-row:has(input:checked){border-color:#277a65;background:#eaf7f2;box-shadow:0 0 0 2px #277a6514}.option-row input{position:absolute;opacity:0;pointer-events:none}.option-letter{display:grid;place-items:center;flex:0 0 31px;height:31px;border:1px solid #c6d4e0;border-radius:8px;background:#f1f5f8;color:#355b78;font-size:12px;font-weight:900}.option-row:has(input:checked) .option-letter{border-color:#277a65;background:#277a65;color:#fff}.question-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:25px;padding-top:16px;border-top:1px solid #e1e7ed}.question-actions>div{display:flex;gap:8px}.clear-button{border-color:#e1bdc7;color:#92213e;background:#fff7f9}.question-navigator{padding:22px 18px;background:#f7f9fb}.question-navigator h3{margin:0 0 12px;color:#173d61}.legend{display:flex;gap:12px;margin-bottom:15px;color:#63778a;font-size:9px}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:10px;height:10px;border-radius:3px}.answered-dot{background:#277a65}.current-dot{background:#174e7d}.question-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.question-palette button{display:grid;place-items:center;aspect-ratio:1;padding:0;border-radius:7px;background:#fff;font-size:11px}.question-palette button.answered{border-color:#277a65;background:#e3f3ed;color:#14604d}.question-palette button.current{outline:2px solid #174e7d;border-color:#174e7d;background:#174e7d;color:#fff}.candidate-mini{display:grid;gap:3px;margin-top:22px;padding:12px;border:1px solid #d8e2ea;border-radius:9px;background:#fff}.candidate-mini b{color:#183c5f;font-size:12px}.candidate-mini small{color:#6a7f92}.result-shell{max-width:1100px;margin:auto}.result-heading{padding:25px;border-radius:14px;color:#fff;background:linear-gradient(120deg,#0c345d,#1d6893)}.result-heading h1{margin:10px 0 4px;color:#fff}.result-heading p{margin:0;color:#d7e6f1}
@media(max-width:980px){.launch-shell{grid-template-columns:1fr}.launch-intro{padding:38px}.candidate-panel{padding:35px}.test-catalog{grid-template-columns:repeat(2,1fr)}.exam-workspace{grid-template-columns:1fr}.question-panel{border-right:0}.question-navigator{border-top:1px solid #dce4eb}.question-palette{grid-template-columns:repeat(10,1fr)}}
@media(max-width:650px){.student-test-page>header{min-height:56px;padding:8px 12px}.student-test-page>header img{width:110px}.student-test-page>header>b{font-size:12px}.student-test-page>header>a:last-child{padding:7px;font-size:10px}.student-test-page main{padding:12px}.launch-shell{border-radius:12px}.launch-intro{padding:28px 21px}.launch-intro h1{font-size:28px}.test-facts{grid-template-columns:1fr;margin-top:23px}.test-facts>div{min-height:68px}.candidate-panel{padding:28px 20px}.test-catalog{grid-template-columns:1fr}.catalog-heading{padding:22px}.catalog-heading h1{font-size:27px}.taking-test.student-test-page main{padding:6px}.exam-shell{border-radius:8px}.exam-toolbar{align-items:flex-start;padding:9px;flex-direction:column}.exam-status{width:100%;display:grid;grid-template-columns:1fr 1fr auto}.timer-box,.save-box{min-width:0}.submit-button{padding:8px}.progress-row{padding:8px 10px}.question-panel{padding:20px 13px}.question-panel h2{font-size:16px}.question-actions{align-items:stretch;flex-direction:column-reverse}.question-actions>div{display:grid;grid-template-columns:1fr 1fr}.question-actions button{width:100%}.question-navigator{padding:17px 12px}.question-palette{grid-template-columns:repeat(7,1fr);gap:5px}.taking-test.student-test-page>header>b{display:none}.taking-test.student-test-page>header>a:last-child{margin-left:auto}.option-row{font-size:15px}.student-test-page #notice{top:60px}}

/* V277 · STRUCTURED SCORED SPECIAL TEST */
.workspace-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 24px;margin-bottom:16px;border-radius:14px;color:#fff;background:linear-gradient(115deg,#0b3158,#17688b)}.workspace-head span{color:#f4d474;font-size:9px;font-weight:900;letter-spacing:1.2px}.workspace-head h1{margin:5px 0;color:#fff}.workspace-head p{margin:0;color:#d8e8f3}.test-list{display:grid;gap:10px}.test-list-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 18px;border:1px solid #d5e0e9;border-radius:11px;background:#fff}.test-list-row h2{margin:6px 0 4px}.test-list-row p{margin:0;color:#64798c}.status-pill{padding:4px 8px;border-radius:999px;background:#e9f3f8;color:#1b6087;font-size:9px;font-weight:900;text-transform:uppercase}.compact-field{max-width:420px}.setup-card{border-top:4px solid #9b1d40}.subject-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.subject-config-card{display:grid;gap:9px;padding:13px;border:1px solid #cbd9e5;border-radius:9px;background:#f7fafc}.subject-config-card>b{color:#174f79}.subject-config-card label{display:grid;gap:4px;color:#536a80;font-size:11px;font-weight:800}.validation-strip{display:flex;gap:15px;align-items:center;padding:11px 13px;border:1px solid #b9d9cb;border-radius:8px;background:#edf8f3}.validation-strip button{margin-left:auto}.bulk-key{padding:14px;margin-bottom:14px;border:1px solid #e4cb82;border-radius:9px;background:#fff9e9}.bulk-key textarea{min-height:64px}.response-key-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.key-row{display:grid;grid-template-columns:auto 1fr 105px;gap:8px;align-items:center;padding:8px;border:1px solid #d5dfe8;border-radius:8px;background:#f8fafc}.key-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.sticky-actions{position:sticky;bottom:0;z-index:5;display:flex;gap:9px;align-items:center;padding:12px 16px;border:1px solid #cad8e4;border-radius:10px;background:#fffffff2;box-shadow:0 -8px 24px #12304a18}.campaign-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.campaign-summary div{display:grid;gap:5px}.campaign-summary span{color:#6b7f91;font-size:10px;font-weight:900;text-transform:uppercase}.section-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.slot-editor{display:grid;grid-template-columns:minmax(150px,1fr) minmax(210px,1.25fr) minmax(150px,.8fr) minmax(180px,1fr) auto;gap:10px;align-items:end;padding:12px;margin:9px 0;border:1px solid #d4dfe8;border-radius:9px;background:#f8fafc}.slot-editor label{display:grid;gap:5px;font-size:11px;font-weight:800}.slot-code-field strong{display:flex;align-items:center;min-height:42px;padding:9px 12px;border:1px solid #b9d6c7;border-radius:7px;background:#edf8f2;color:#0e6647;font-size:18px;letter-spacing:3px}.slot-editor>span{align-self:center;color:#536a80;font-size:12px}.rank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:12px 0}.rank-grid>div{display:grid;gap:3px;padding:13px;border:1px solid #c9dce8;border-radius:9px;background:#f2f8fb}.rank-grid span{font-size:10px;font-weight:900;text-transform:uppercase}.rank-grid b{font-size:23px;color:#174e7d}.rank-grid small{white-space:normal}.release-pending{border-left:4px solid #d5a62d;background:#fff9e8}.section-status{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;margin-top:12px;border-left:4px solid #d4a62c;background:#fff8e4;color:#6b5315;font-size:11px}.section-locked{opacity:.35!important}.candidate-form select{height:48px;padding:11px 13px;border:1px solid #bccdde;border-radius:9px;background:#fbfcfe;font-size:14px}.table td small{display:block;margin-top:3px}
.waiting-shell{max-width:780px;margin:34px auto;padding:38px;border:1px solid #cbdbe7;border-radius:18px;background:#fff;box-shadow:0 18px 45px #12355317;text-align:center}.waiting-shell h1{margin:10px 0;color:#123e67;font-size:34px}.waiting-lead{max-width:610px;margin:0 auto;color:#526f87;font-size:16px}.waiting-countdown{display:grid;gap:5px;max-width:250px;margin:26px auto;padding:17px;border-radius:13px;background:linear-gradient(120deg,#0c3b66,#176b8c);color:#fff}.waiting-countdown small{font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.waiting-countdown strong{font-size:38px}.waiting-details{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.waiting-details>div{display:grid;gap:5px;padding:13px;border:1px solid #d5e1ea;border-radius:10px;background:#f7fafc;text-align:left}.waiting-details span{color:#6b8092;font-size:9px;font-weight:900;text-transform:uppercase}.waiting-details b{color:#173f62;font-size:13px}.waiting-shell .actions{justify-content:center}
@media(max-width:900px){.subject-config-grid{grid-template-columns:repeat(2,1fr)}.response-key-grid{grid-template-columns:repeat(2,1fr)}.slot-editor{grid-template-columns:1fr 1fr}.campaign-summary{grid-template-columns:1fr}.workspace-head,.test-list-row{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.subject-config-grid,.response-key-grid,.rank-grid,.waiting-details{grid-template-columns:1fr}.slot-editor{grid-template-columns:1fr}.section-status{flex-direction:column}.sticky-actions{flex-wrap:wrap}.waiting-shell{margin:12px auto;padding:24px 17px}.waiting-shell h1{font-size:27px}}
.subject-modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#061a2fb8;backdrop-filter:blur(4px)}.subject-modal{width:min(500px,100%);padding:24px;border:1px solid #cad8e4;border-radius:15px;background:#fff;box-shadow:0 24px 70px #061a2f55}.subject-modal>span{color:#9b1d40;font-size:9px;font-weight:900;letter-spacing:1.1px}.subject-modal h2{margin:7px 0}.subject-modal p{margin:0 0 18px;color:#64798c}.subject-modal .actions{justify-content:flex-end;margin-top:18px}

/* V278 · ADMIN-CONTROLLED BRANCH PUBLICATION */
.branch-allocation{border-top:4px solid #17688b}.branch-allocation .section-title h2{margin:0}.branch-allocation .section-title p{margin:4px 0 0;color:#64798c}.branch-allocation .section-title>b{padding:6px 10px;border-radius:999px;background:#e8f4f8;color:#176184;font-size:11px;white-space:nowrap}.branch-allocation-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px;margin:15px 0 11px}.branch-allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto;padding:4px}.branch-allocation-grid>label{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #d5e0e9;border-radius:8px;background:#f8fafc;cursor:pointer}.branch-allocation-grid>label:has(input:checked){border-color:#31806c;background:#ecf8f3}.branch-allocation-grid input{flex:0 0 auto;width:17px;height:17px;margin:2px 0 0}.branch-allocation-grid span{display:grid;min-width:0;color:#5b7084;font-size:11px}.branch-allocation-grid span b{overflow:hidden;color:#173f62;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.branch-allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.branch-allocation-tools,.branch-allocation-grid{grid-template-columns:1fr}}

/* V281 · SPECIAL TEST INSIDE THE ASSESSMENT PORTAL */
.special-management-page{min-height:100vh;background:#edf2f7;color:#173550;font-family:Inter,Segoe UI,Arial,sans-serif}
.special-management-page #notice{position:fixed;top:68px;left:50%;z-index:80;width:min(760px,92vw);transform:translateX(-50%);border:1px solid #e0be69;border-radius:9px;background:#fff6d9;box-shadow:0 14px 34px #0d2f4d2b;color:#674d09;font-size:12px;font-weight:750}
.special-management-page>#app{min-height:100vh}.special-portal{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.special-sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:13px 10px;background:linear-gradient(180deg,#082f56 0,#0b3e6c 70%,#082b4d 100%);color:#fff}.portal-brand{display:flex;gap:10px;align-items:center;padding:7px 7px 16px;border-bottom:1px solid #ffffff17}.portal-brand img{width:112px;height:39px;object-fit:contain;padding:6px;border-radius:7px;background:#fff}.portal-brand div{display:grid;gap:1px}.portal-brand strong{font-size:10px;letter-spacing:.08em}.portal-brand span{color:#aac7dc;font-size:8px}.portal-nav-label{margin:18px 10px 6px;color:#7fa7c5;font-size:8px;font-weight:900;letter-spacing:.13em}.portal-nav-link{display:flex;gap:9px;align-items:center;width:100%;min-height:40px;margin:2px 0;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#d9e9f5;text-align:left;font-size:11px;font-weight:700}.portal-nav-link span{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#ffffff12;color:#f2d16b;font-weight:900}.portal-nav-link:hover,.portal-nav-link.active{background:#ffffff16;color:#fff}.portal-nav-link.active{box-shadow:inset 3px 0 #f3cf67}.portal-profile{display:grid;gap:3px;margin-top:auto;padding:11px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff0b;overflow-wrap:anywhere}.portal-profile strong{font-size:10px}.portal-profile span{color:#a9c5d9;font-size:8px}.special-main{min-width:0}.portal-topbar{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:62px;padding:9px 20px;border-bottom:1px solid #d5e0e9;background:#fff;box-shadow:0 4px 14px #1736500c}.portal-topbar>div{display:flex;gap:11px;align-items:center}.portal-topbar>div:first-child{display:grid;gap:1px}.portal-topbar small{color:#708398;font-size:9px}.portal-topbar strong{color:#173e63;font-size:15px}.portal-live{padding:5px 8px;border-radius:999px;background:#eaf7f2;color:#147052;font-size:9px;font-weight:850}.portal-topbar button{min-height:32px;padding:6px 10px;font-size:10px}.special-content{width:100%;max-width:1580px;margin:auto;padding:17px 20px 34px}.portal-page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:116px;padding:20px 23px;margin-bottom:12px;border-radius:14px;background:linear-gradient(115deg,#0a345e,#17648e);box-shadow:0 11px 28px #143d601c;color:#fff}.portal-page-head>div>span,.detail-kicker{color:#f3d16c;font-size:8px;font-weight:900;letter-spacing:.13em}.portal-page-head h1{margin:6px 0 4px;color:#fff;font-size:25px}.portal-page-head p{max-width:820px;margin:0;color:#d7e7f3;font-size:12px}.portal-page-head button{border-color:#ffffff42;background:#ffffff13;color:#fff;font-weight:800}.portal-page-head button.primary{background:#fff;color:#174f7c}.portal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.portal-metrics>button,.portal-metrics>div{display:grid;gap:2px;min-height:87px;padding:13px 15px;border:1px solid #cad8e4;border-radius:11px;background:#fff;text-align:left;box-shadow:0 5px 16px #153b5d0b}.portal-metrics>button:hover{border-color:#4b86ad;transform:translateY(-1px)}.portal-metrics span{color:#687c90;font-size:9px;font-weight:850;text-transform:uppercase}.portal-metrics b{color:#153f65;font-size:24px}.portal-metrics small{font-size:9px}.directory-card{padding:15px;border-radius:12px;box-shadow:0 5px 18px #153b5e0d}.directory-head{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:11px}.directory-head h2{margin:0;color:#153f64;font-size:17px}.directory-head p{margin:3px 0 0;color:#63788b;font-size:11px}.directory-branch,.result-branch-select{display:grid;gap:4px;min-width:270px;color:#60758a;font-size:9px;font-weight:850;text-transform:uppercase}.directory-branch select,.result-branch-select select{min-height:37px;background:#fff;font-size:11px;text-transform:none}.directory-tools{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:11px;align-items:center;padding:10px;margin-bottom:10px;border:1px solid #cfdae4;border-radius:9px;background:#f7fafc}.directory-tools input{min-height:38px;background:#fff}.filter-pills{display:flex;gap:5px;flex-wrap:wrap}.filter-pills button{min-height:31px;padding:6px 10px;border-radius:999px;font-size:9px;font-weight:800}.filter-pills button.active{border-color:#164f7d;background:#164f7d;color:#fff}.professional-test-list{display:grid;gap:7px}.professional-test-row{display:grid;grid-template-columns:105px minmax(260px,1fr) auto;gap:13px;align-items:center;padding:12px 13px;border:1px solid #ccd9e4;border-radius:9px;background:#fff}.professional-test-row:hover{border-color:#8fafc8;background:#fbfdff}.test-status-column{display:grid;gap:6px;justify-items:start}.test-status-column small{font-size:9px}.test-main-column{min-width:0}.test-main-column h3{overflow:hidden;margin:0;color:#123c63;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.test-main-column p{margin:3px 0;color:#5d7388;font-size:10px}.test-main-column small{font-size:9px}.test-row-actions{display:flex;gap:6px;align-items:center}.test-row-actions button,.test-row-actions .button{min-height:33px;padding:7px 10px;font-size:10px}.status-pill.status-live{background:#e3f5ed;color:#0c7654}.status-pill.status-upcoming{background:#e9f2fc;color:#155d91}.status-pill.status-over{background:#edf0f3;color:#5c6b79}.status-pill.status-draft{background:#fff3d8;color:#805a00}.status-pill.status-paused{background:#fbe6ea;color:#91203d}.result-register-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.result-register-list article{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px;border:1px solid #cedae5;border-radius:9px;background:#fdfefe}.result-register-list h3{margin:6px 0 3px;color:#143f65;font-size:14px}.result-register-list p{margin:0;color:#61768a;font-size:10px}.result-register-list button{flex:none;font-size:10px}.result-workspace-head{align-items:end}.result-metrics>div{min-height:82px}.result-register{padding:14px}.result-register .directory-head input{max-width:350px;min-height:38px}.result-table table{font-size:11px}.result-table th{position:sticky;top:0;z-index:2;padding:9px 7px;background:#eaf1f7;color:#31536f;font-size:8px;letter-spacing:.03em;text-transform:uppercase}.result-table td{padding:8px 7px;vertical-align:top}.result-table td>strong{color:#153f63}.subject-breakdown-cell{min-width:390px;white-space:normal}.subject-result-list{display:grid;min-width:370px;overflow:hidden;border:1px solid #d2dde6;border-radius:7px}.subject-result-head,.subject-result-list>div{display:grid;grid-template-columns:minmax(130px,1fr) 65px 55px 60px;gap:6px;align-items:center;padding:5px 7px}.subject-result-head{background:#edf4f9;color:#62788a;font-size:7px;font-weight:900;text-transform:uppercase}.subject-result-list>div:not(.subject-result-head){border-top:1px solid #e2e8ed;background:#fff}.subject-result-list strong{overflow:hidden;color:#173f62;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.subject-result-list span{font-size:9px;text-align:center}.result-pending{color:#7a6a43;font-size:9px}.rank-cell{color:#185f8c;font-weight:900}.rank-cell.overall{color:#901f40}.result-pagination{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:12px}.result-pagination span{color:#5f7385;font-size:10px;font-weight:800}.result-detail-drawer{scroll-margin-top:20px;padding:17px;margin-top:12px;border:1px solid #b8cad8;border-top:4px solid #9b1f42;border-radius:11px;background:#fff;box-shadow:0 10px 28px #13375515}.result-detail-drawer>.section-title{margin-bottom:12px}.result-detail-drawer h2{margin:4px 0 2px}.result-detail-drawer p{margin:0;color:#61768a}.management-login{display:grid;justify-items:center;max-width:500px;margin:9vh auto;padding:37px;border:1px solid #cedae5;border-radius:18px;background:#fff;box-shadow:0 24px 70px #15395822;text-align:center}.management-login img{width:155px}.management-login>span{margin-top:24px;color:#9a1e40;font-size:9px;font-weight:900;letter-spacing:.14em}.management-login h1{margin:7px 0}.management-login p{max-width:380px;color:#62788b}.management-login button{min-width:220px;margin:10px 0}.management-login a{font-size:11px}
@media(max-width:1100px){.special-portal{grid-template-columns:1fr}.special-sidebar{position:static;display:block;height:auto;white-space:nowrap;overflow:auto}.portal-brand{display:inline-flex;border:0;vertical-align:middle}.portal-nav-label,.portal-profile{display:none}.portal-nav-link{display:inline-flex;width:auto;vertical-align:middle}.professional-test-row{grid-template-columns:90px minmax(220px,1fr)}.test-row-actions{grid-column:1/-1;justify-content:flex-end}.result-register-list{grid-template-columns:1fr}}
@media(max-width:760px){.special-content{padding:10px}.portal-topbar{padding:8px 11px}.portal-live{display:none}.portal-page-head{align-items:flex-start;min-height:0;padding:16px;flex-direction:column}.portal-page-head h1{font-size:21px}.portal-metrics{grid-template-columns:1fr 1fr}.directory-head{align-items:stretch;flex-direction:column}.directory-branch,.result-branch-select{min-width:0}.directory-tools{grid-template-columns:1fr}.professional-test-row{grid-template-columns:1fr}.test-row-actions{justify-content:flex-start;flex-wrap:wrap}.result-register-list article{align-items:flex-start;flex-direction:column}.result-table{margin:0 -4px}.subject-breakdown-cell{min-width:330px}.subject-result-list{min-width:310px}.subject-result-head,.subject-result-list>div{grid-template-columns:minmax(100px,1fr) 58px 50px 50px}.grid{grid-template-columns:1fr}.portal-brand img{width:95px}}

/* V282 · unified Test Portal typography and configured-subject result register. */
html,body,button,input,select,textarea,table{font-family:"Arial Narrow",Arial,sans-serif!important}
.result-table table{min-width:max-content}
.result-table th{text-align:center}
.result-table .subject-group{min-width:180px;border-left:2px solid #9fb7ca;border-right:1px solid #c4d3df;background:#dceaf4;color:#173f62;font-size:9px}
.result-table .subject-group small{display:block;margin-top:3px;color:#5e7488}
.result-table .subject-metric-head th{top:35px;min-width:60px;background:#f1f6fa}
.result-table .subject-metric{text-align:center;background:#fbfdff}
.result-table .subject-metric.score{font-weight:900;color:#153f63}
/* Survey entry: keep conditional roll field hidden until Mahendras = Yes. */
#survey-roll-label[hidden]{display:none}.candidate-form select[name="mahendrasStudent"]{height:48px;padding:11px 13px;border:1px solid #bccdde;border-radius:9px;background:#fbfcfe;font-size:15px}
