:root{--navy:#041828;--ink:#182b3c;--muted:#657584;--gold:#f8c659;--purple:#2b2469;--bg:#f3f6f9;--line:#e1e7ec;--green:#26745c;--red:#af3939;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3vw,44px);line-height:1.14;letter-spacing:-1.4px}h2{font-size:25px;letter-spacing:-.65px}h3{font-size:17px;line-height:1.5}p{line-height:1.65}button{border:0}label{display:block}input:not([type=radio]):not([type=checkbox]),textarea{width:100%;border:1px solid #cdd7df;background:white;border-radius:9px;padding:13px 14px;color:var(--ink);transition:border-color .15s}input:focus,textarea:focus{border-color:#a87a18;outline:2px solid #f8c65950}textarea{resize:vertical;min-height:210px;line-height:1.65}input[type=checkbox],input[type=radio]{accent-color:var(--purple);width:18px;height:18px;flex-shrink:0}.loading{padding:100px;text-align:center}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:var(--muted);margin-bottom:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:14px 22px;background:var(--gold);color:var(--navy);font-weight:700;font-size:14px;text-decoration:none;min-height:46px;transition:transform .15s,background .15s}.button:hover{background:#efba41;transform:translateY(-1px)}.button.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.button.secondary:hover{background:var(--bg)}.button.dark{background:var(--navy);color:white}.button.compact{padding:10px 16px;min-height:40px}.text-button{background:none;color:var(--muted);padding:10px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.error{color:var(--red);background:#fff1f0;border-radius:8px;padding:12px;font-size:14px}.error:empty{display:none}.field{margin-bottom:22px}.field>span{display:block;font-size:13px;font-weight:650;margin-bottom:9px}.badge{display:inline-flex;align-items:center;gap:7px;background:#edf1f5;color:#526676;padding:7px 11px;border-radius:30px;font-size:11px;letter-spacing:.4px;font-weight:650;white-space:nowrap}.badge.green{color:var(--green);background:#e5f3ec}.badge.gold{color:#856018;background:#fff3d6}.badge.dark{color:#e4ebf1;background:#ffffff12;border:1px solid #ffffff25}.dot{width:6px;height:6px;background:currentColor;border-radius:100%}.logo{width:185px;height:auto;display:block}.topbar{height:91px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:20px}.brand-area{display:flex;align-items:center;gap:25px}.brand-divider{height:32px;width:1px;background:var(--line)}.brand-label{font-size:13px;color:var(--muted)}.user-area{display:flex;gap:13px;align-items:center}.avatar{background:#e9e6f3;color:var(--purple);width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}.footer{display:flex;justify-content:space-between;padding:26px 5%;font-size:12px;color:var(--muted);border-top:1px solid var(--line);gap:20px}.footer a{text-decoration:none}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:32px}.page{max-width:1230px;margin:0 auto;padding:48px 32px 64px;min-height:calc(100vh - 160px)}
/* Sign in */
.login-shell{display:grid;grid-template-columns:1.04fr 1fr;min-height:100vh;background:white}.login-story{position:relative;overflow:hidden;background:var(--navy);color:white;padding:58px 12% 40px;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.login-story::before{content:'';position:absolute;width:640px;height:640px;border:1px solid #ffffff0c;border-radius:50%;right:-310px;top:210px;box-shadow:0 0 0 80px #ffffff03,0 0 0 160px #ffffff02;pointer-events:none}.story-logo{background:white;border-radius:12px;padding:13px 19px;width:218px}.story-logo .logo{width:180px}.story-content{position:relative;max-width:470px}.story-content .eyebrow{color:var(--gold);margin-bottom:22px}.story-content h1{font-size:clamp(38px,4.3vw,62px);letter-spacing:-2.5px;line-height:1.08;margin-bottom:25px}.story-content h1 span{color:var(--gold)}.story-content>p{color:#abbac6;font-size:16px;max-width:370px}.story-stats{display:flex;border-top:1px solid #ffffff1b;margin-top:38px;padding-top:25px;gap:36px}.story-stat strong{display:block;font-size:27px;font-weight:550;color:white}.story-stat span{font-size:11px;color:#a6b7c5}.story-footer{position:relative;display:flex;justify-content:space-between;color:#8fa2b0;font-size:11px;gap:16px}.login-main{padding:45px 12%;display:flex;flex-direction:column;justify-content:center;position:relative}.portal-tabs{display:flex;background:var(--bg);padding:5px;border-radius:10px;gap:5px;margin-bottom:40px}.portal-tabs button{flex:1;padding:12px;border-radius:7px;background:none;font-size:13px;font-weight:600;color:var(--muted)}.portal-tabs button.active{background:white;color:var(--navy);box-shadow:0 2px 6px #0418280d}.login-main h2{font-size:31px;letter-spacing:-1px;margin-bottom:12px}.login-main .intro{color:var(--muted);font-size:14px;margin-bottom:30px}.password-wrap{position:relative}.password-wrap input{padding-right:65px!important}.password-toggle{position:absolute;right:10px;top:9px;background:none;padding:7px;color:var(--muted);font-size:12px}.login-button{width:100%;margin-top:8px}.login-note{display:flex;gap:10px;align-items:flex-start;border-top:1px solid var(--line);margin-top:28px;padding-top:22px;color:var(--muted);font-size:12px;line-height:1.6}.login-copyright{text-align:center;margin-top:42px;font-size:11px;color:#97a1a9}
/* Briefing */
.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:10px;margin-bottom:25px}.heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px}.heading-row p{margin-bottom:0}.intro-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:26px;align-items:start}.briefing{background:var(--navy);color:white;padding:38px;position:relative;overflow:hidden}.briefing .eyebrow{color:var(--gold)}.briefing h2{font-size:31px;max-width:420px}.briefing>p{color:#b0c0ce;font-size:14px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:25px 0;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;margin:26px 0}.facts strong{display:block;font-size:25px;font-weight:550}.facts span{font-size:11px;color:#acbecb}.rules{padding:0;list-style:none;margin:0}.rules li{display:flex;gap:15px;font-size:13px;line-height:1.65;margin:20px 0}.rule-number{font-size:11px;color:var(--gold);padding-top:3px}.rules strong{display:block;font-weight:600}.rules .description{color:#9cafbe}.source-note{margin-top:24px;border:1px solid #efdbb0;background:#fffbef;border-radius:12px;padding:17px 20px;font-size:12px;color:#7c622f;line-height:1.65}.source-note summary{font-weight:650;cursor:pointer}.source-note ul{padding-left:18px;margin-bottom:0}.details-form h2{margin-bottom:8px}.details-form .small{margin-bottom:28px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkline{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;color:var(--muted);margin:20px 0}.checkline input{margin:1px 0 0}.start-note{font-size:11px;color:var(--muted);text-align:center;margin:14px 0 0}
/* Examination */
.exam-page{max-width:1380px}.exam-heading{margin-bottom:25px;align-items:center}.exam-heading h1{font-size:29px;letter-spacing:-.9px;margin:0 0 8px}.exam-heading p{font-size:13px}.timer{display:flex;gap:15px;align-items:center;border:1px solid var(--line);border-radius:12px;background:white;padding:14px 20px;min-width:170px}.timer-icon{font-size:26px;color:#927029}.timer span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}.timer strong{font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:1px}.timer.urgent{background:#fff0eb;border-color:#f0b9a6;color:var(--red)}.exam-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:25px;align-items:start}.exam-sidebar{position:sticky;top:25px;padding:24px}.exam-sidebar h3{font-size:14px;margin-bottom:5px}.progress-track{height:5px;background:#e9edf1;border-radius:6px;overflow:hidden;margin:15px 0 23px}.progress-fill{background:var(--gold);height:100%;transition:width .2s}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:700;margin:22px 0 12px}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.question-grid button{border:1px solid var(--line);background:white;border-radius:6px;height:33px;font-size:11px;color:var(--muted)}.question-grid button.answered{background:#edf4ef;border-color:#cfe1d4;color:#39754c}.question-grid button.current{background:var(--navy);color:white;border-color:var(--navy)}.question-grid button.flagged{border-color:#dba637;box-shadow:inset 0 -3px 0 var(--gold)}.nav-legend{margin:20px 0;font-size:10px;color:var(--muted);display:flex;gap:13px}.legend-dot{width:8px;height:8px;border-radius:2px;display:inline-block;margin-right:4px;background:#edf4ef;border:1px solid #cfe1d4}.legend-dot.empty{background:white;border-color:var(--line)}.sidebar-bottom{border-top:1px solid var(--line);padding-top:17px;font-size:11px;line-height:1.6;color:var(--muted)}.sidebar-bottom a{display:block;margin-top:8px}.question-card{padding:36px}.question-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:10px}.section-tag{font-size:11px;color:var(--muted);letter-spacing:1px;font-weight:600}.flag-button{font-size:11px;color:var(--muted);padding:8px 10px;background:var(--bg);border-radius:6px}.flag-button.active{background:#fff1cc;color:#8b6213}.question-number{font-size:12px;font-weight:700;color:#9b792c;margin-bottom:14px}.question-card h2{font-size:22px;line-height:1.55;letter-spacing:-.35px;margin-bottom:10px}.question-hint{font-size:12px;color:var(--muted);margin-bottom:27px}.options{display:grid;gap:12px;margin:25px 0 30px}.option{display:flex;align-items:center;gap:15px;border:1px solid var(--line);padding:17px 19px;border-radius:10px;cursor:pointer;line-height:1.5;font-size:14px}.option:hover{background:#fafbfc}.option.selected{border-color:#e0b44d;background:#fffaf0;box-shadow:0 0 0 1px #e0b44d}.option-letter{font-size:12px;font-weight:600;width:27px;height:27px;border-radius:5px;background:var(--bg);display:grid;place-items:center;flex-shrink:0}.option.selected .option-letter{background:var(--gold);color:var(--navy)}.option input{margin-left:auto;order:3}.response-meta{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted);margin-top:8px}.question-footer{display:flex;justify-content:space-between;align-items:center;padding-top:25px;border-top:1px solid var(--line);margin-top:30px;gap:15px}.save-indicator{font-size:11px;color:var(--green)}.save-indicator.unsaved{color:#a66913}.exam-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:20px}.exam-bottom p{font-size:11px;color:var(--muted);margin:0}.mobile-progress{display:none}.review-list{display:grid;gap:8px;margin:20px 0}.review-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;text-align:left;width:100%;font-size:13px}.review-row .question-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.declaration-card{margin-top:25px;padding-top:25px;border-top:1px solid var(--line)}
/* Submission and reviewer */
.success-page{max-width:760px;margin:0 auto;text-align:center;padding:65px 28px}.success-icon{height:76px;width:76px;border-radius:50%;display:grid;place-items:center;margin:0 auto 25px;background:#e5f2e9;color:var(--green);font-size:34px}.receipt{margin:30px 0;text-align:left;display:grid;grid-template-columns:1fr 1fr;gap:25px}.receipt span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.receipt strong{font-size:14px}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stat-card{padding:24px}.stat-card .eyebrow{margin-bottom:10px}.stat-card strong{font-size:30px;letter-spacing:-1px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding:17px;border-bottom:1px solid var(--line);font-weight:600}td{padding:22px 17px;border-bottom:1px solid var(--line)}td strong,td small{display:block}td small{color:var(--muted);margin-top:6px;font-size:11px}tbody tr:last-child td{border-bottom:0}.table-card{padding:10px 16px}.review-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.review-score{padding:20px;background:var(--navy);color:white;border-radius:12px;margin:20px 0}.review-score strong{font-size:27px;color:var(--gold)}.review-score p{margin:7px 0 0;font-size:12px;color:#c4cfda}.grading-card{margin:20px 0}.grading-card h3{margin-bottom:17px}.candidate-response{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);border-radius:8px;padding:18px;font-size:14px;line-height:1.7;margin-bottom:18px}.marking-guide{background:#fff9e9;border:1px solid #f0deb2;padding:15px 18px;border-radius:8px;font-size:13px;line-height:1.7;margin-bottom:18px}.marking-guide summary{cursor:pointer;font-weight:650}.marking-guide p{margin:12px 0 0}.grade-fields{display:grid;grid-template-columns:140px 1fr;gap:20px}.grade-fields textarea{min-height:70px}.grading-sticky{position:sticky;bottom:15px;box-shadow:0 8px 30px #04182820;background:white;border:1px solid var(--line);border-radius:12px;padding:16px 22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;background:var(--navy);color:white;border-radius:9px;z-index:99;font-size:13px;max-width:90%;box-shadow:0 8px 30px #04182830}dialog{max-width:510px;width:calc(100% - 32px);padding:35px;border:0;border-radius:20px;box-shadow:0 20px 80px #04182840;color:var(--ink)}dialog::backdrop{background:#04182899;backdrop-filter:blur(3px)}dialog p{font-size:14px;color:var(--muted)}dialog .actions{margin-top:26px;justify-content:flex-end}.dialog-icon{font-size:30px;background:#fff4d8;color:#9c741c;width:55px;height:55px;border-radius:12px;display:grid;place-items:center;margin-bottom:22px}
@media(min-width:1500px){.login-main{padding-left:18%;padding-right:18%}.login-story{padding-left:15%;padding-right:15%}}
@media(max-width:1000px){.login-story{padding:45px 9%}.login-main{padding:40px 9%}.story-content h1{font-size:45px}.intro-grid{grid-template-columns:1fr 1fr}.briefing,.card{padding:25px}.exam-layout{grid-template-columns:205px 1fr;gap:18px}.exam-sidebar{padding:20px}.question-card{padding:27px}.page{padding:35px 24px}.question-grid{gap:5px}.grade-fields{grid-template-columns:110px 1fr}}
@media(max-width:720px){.login-shell{grid-template-columns:1fr}.login-story{min-height:260px;padding:28px;gap:25px}.story-logo{width:178px;padding:10px 14px}.story-logo .logo{width:150px}.story-content h1{font-size:35px;max-width:340px;margin-bottom:0}.story-content .eyebrow{font-size:9px;margin-bottom:12px}.story-content>p,.story-stats,.story-footer{display:none}.login-main{padding:32px 28px}.portal-tabs{margin-bottom:27px}.login-copyright{margin-top:25px}.topbar{height:75px;padding:0 20px}.logo{width:148px}.brand-divider,.brand-label,.user-area .avatar{display:none}.user-area{gap:4px;font-size:12px}.page{padding:28px 18px 45px}.heading-row h1{font-size:28px}.intro-grid{grid-template-columns:1fr}.briefing{padding:27px}.heading-row>.badge{display:none}.facts{margin:20px 0}.footer{font-size:10px;padding:20px;flex-wrap:wrap}.exam-heading h1{font-size:20px}.exam-heading p{font-size:11px}.timer{padding:10px 12px;min-width:118px;gap:8px}.timer-icon{font-size:18px}.timer strong{font-size:20px}.timer span{font-size:8px}.exam-layout{grid-template-columns:1fr}.exam-sidebar{position:static;padding:18px}.question-grid{grid-template-columns:repeat(10,1fr);gap:5px}.exam-sidebar .nav-label{margin:14px 0 10px}.exam-sidebar .sidebar-bottom,.nav-legend{display:none}.exam-sidebar .progress-track{margin:10px 0}.question-grid button{height:29px;font-size:10px}.question-card{padding:22px}.question-card h2{font-size:19px}.option{padding:14px 12px;gap:10px;font-size:13px}.question-footer{flex-wrap:wrap}.question-footer .actions{margin-left:auto}.question-footer .button{padding:12px;font-size:12px}.exam-bottom{align-items:flex-start}.exam-bottom .button{white-space:nowrap;padding:12px}.section-tag{font-size:9px}.stats-row{gap:10px}.stat-card{padding:17px}.stat-card .eyebrow{font-size:9px;letter-spacing:.7px}.stat-card strong{font-size:24px}.review-head{align-items:flex-start;flex-direction:column}.grade-fields{grid-template-columns:1fr}.grading-sticky{flex-wrap:wrap}.grading-sticky .button{width:100%}.two-fields{grid-template-columns:1fr}.receipt{gap:18px}.success-page{padding:30px 0}dialog{padding:25px}dialog .actions{flex-direction:column}dialog .button{width:100%}.heading-row{gap:12px}}
