:root{--navy:#10294b;--blue:#2459a6;--blue2:#3476c7;--ink:#182b45;--muted:#697b92;--line:#dfe7f1;--bg:#f4f7fb;--white:#fff;--green:#167a59;--red:#b43b45;--gold:#946a19;--shadow:0 12px 35px rgba(21,47,83,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(1180px,calc(100% - 36px));margin:0 auto}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1180px)/2));gap:20px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px}.brand strong{display:block;font-size:14px;letter-spacing:-.02em}.brand strong i{color:var(--blue2);font-style:normal}.brand small{display:block;color:var(--muted);font-size:11px}.nav{display:flex;align-items:center;gap:20px;font-size:13px;font-weight:700;color:#52657d}.nav a:hover,.text-link:hover{color:var(--blue2)}.user-chip{padding:7px 11px;border-radius:99px;background:#eef3fa;color:#284b78}.nav form{margin:0}.link-button{border:0;background:none;color:#52657d;font-weight:750;cursor:pointer;padding:5px}.link-button:hover{color:var(--red)}.footer{width:min(1180px,calc(100% - 36px));margin:50px auto 24px;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:#8190a3;font-size:11px}
.auth-wrap{min-height:calc(100vh - 160px);display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding:54px 0}.auth-intro{padding:15px 0}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;color:var(--blue2);text-transform:uppercase}.auth-intro h1{font-size:clamp(32px,4.2vw,54px);line-height:1.08;letter-spacing:-.045em;color:var(--navy);margin:14px 0}.auth-intro h1 span{color:var(--blue2)}.auth-intro p{max-width:520px;color:#63758d;font-size:16px}.auth-stats{display:flex;gap:32px;margin-top:35px}.auth-stats div{display:grid}.auth-stats strong{font-size:28px;color:var(--navy)}.auth-stats small{font-size:11px;color:var(--muted)}.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow);max-width:470px;width:100%;justify-self:end}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5fa;padding:4px;border-radius:10px;margin-bottom:23px}.auth-tab{border:0;background:transparent;color:#65758b;padding:10px;border-radius:8px;font-weight:800;font-size:13px;cursor:pointer}.auth-tab.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px #152f5310}.auth-form h2{font-size:23px;margin:0 0 3px;color:var(--navy)}.muted{color:var(--muted);font-size:13px;margin:0 0 18px}.auth-form label{display:block;margin:14px 0;color:#334a68;font-size:12px;font-weight:800}.auth-form input{display:block;width:100%;margin-top:6px;border:1px solid #d8e1ed;border-radius:9px;padding:12px 13px;background:#fbfcfe;outline:none;color:var(--ink)}.auth-form input:focus{border-color:#6c9bd6;box-shadow:0 0 0 3px #3476c71a}.auth-note{font-size:11px;color:#8795a7;margin:17px 0 0;text-align:center}.hidden{display:none!important}.alert{padding:11px 13px;border-radius:9px;font-size:12px;margin-bottom:15px}.alert.error{background:#fff0f0;color:#9b3138;border:1px solid #f2c9cb}.alert.info{background:#edf5ff;color:#2b5b91;border:1px solid #d5e6fb}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-weight:800;font-size:13px;cursor:pointer;transition:.15s}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 5px 14px #2459a626}.btn.primary:hover{background:#1c4b91;transform:translateY(-1px)}.btn.outline{background:#fff;border-color:#d5dfeb;color:#365578}.btn.outline:hover{border-color:#91b0d8;color:var(--blue)}.btn.full{width:100%;margin-top:9px;padding:13px}
.page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:38px 0 22px}.page-heading h1{font-size:34px;letter-spacing:-.04em;margin:6px 0 3px;color:var(--navy)}.page-heading p{margin:0;color:var(--muted);font-size:13px}.heading-tag{background:#e9f1fc;color:#2c5e9d;border:1px solid #d8e6f8;border-radius:8px;padding:9px 12px;font-size:10px;letter-spacing:.1em;font-weight:900}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:10px 0 17px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 19px}.stat-card span{display:block;color:var(--muted);font-size:11px;font-weight:700}.stat-card strong{display:block;font-size:25px;color:var(--navy);margin-top:3px}.info-strip{display:flex;gap:12px;padding:15px 18px;background:#edf4fd;border:1px solid #dce9f9;border-radius:11px}.info-strip div{flex:1;display:grid;gap:2px}.info-strip strong{font-size:12px;color:#244c80}.info-strip span{font-size:11px;color:#627894}.section-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:31px 0 15px}.section-title h2{font-size:22px;letter-spacing:-.025em;color:var(--navy);margin:0}.section-title p{font-size:12px;color:var(--muted);margin:3px 0 0}.text-link{font-size:12px;font-weight:850;color:var(--blue)}.exam-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.exam-tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;min-height:148px;transition:.15s}.exam-tile:hover{border-color:#9ab7df;box-shadow:var(--shadow);transform:translateY(-2px)}.tile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.tile-number{width:31px;height:31px;border-radius:9px;background:#eaf1fb;color:#2a5c9b;display:grid;place-items:center;font-size:12px;font-weight:900}.tile-state{font-size:9px;color:#73849a;background:#f2f5f9;border-radius:99px;padding:4px 7px;font-weight:800}.tile-state.done{background:#e7f6ef;color:var(--green)}.exam-tile>strong{font-size:14px;color:var(--navy)}.exam-tile>span{font-size:11px;color:#667990;margin-top:2px}.exam-tile>small{font-size:10px;color:#8795a7;margin-top:6px}.tile-arrow{font-size:11px;font-weight:850;color:var(--blue);margin-top:auto;padding-top:10px}.distribution-card{margin-top:23px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px}.distribution-card h3{margin:0 0 13px;color:var(--navy);font-size:15px}.distribution-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.distribution-grid div{padding:11px;background:#f5f8fc;border-radius:9px;text-align:center;display:grid}.distribution-grid b{font-size:21px;color:var(--blue)}.distribution-grid span{font-size:10px;color:var(--muted)}.distribution-card p{font-size:11px;color:var(--muted);margin:12px 0 0}
.exam-heading{padding:25px 0 20px}.back-link{display:inline-block;color:var(--blue);font-size:12px;font-weight:800;margin-bottom:22px}.back-link.light{color:#d8e7fa}.exam-heading h1{font-size:32px;color:var(--navy);letter-spacing:-.04em;margin:5px 0}.exam-heading p{color:var(--muted);font-size:13px;margin:4px 0 18px}.exam-progress{max-width:500px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 13px}.progress-label{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:8px}.progress-label strong{color:#34577f}.progress-track{height:6px;background:#e8eef6;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#2b8b70;border-radius:99px;transition:width .2s}.discipline-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 9px;padding:11px 14px;background:#eaf1fb;border:1px solid #d9e6f7;border-radius:9px;color:#234d81;font-weight:900;font-size:13px}.discipline-heading small{font-size:10px;color:#6781a1}.question-card{background:#fff;border:1px solid var(--line);border-radius:12px;margin:10px 0;padding:17px 18px;box-shadow:0 3px 12px #152f5305}.question-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;font-weight:850;color:#58708e}.question-meta span:first-child{color:var(--blue)}.question-meta span:nth-child(2){background:#f0f4f9;padding:3px 7px;border-radius:5px}.question-statement{font-size:14px;font-weight:650;line-height:1.6;white-space:normal;margin:13px 0 14px;color:#203650}.answer-options{display:grid;gap:7px}.answer-option{display:flex;align-items:flex-start;gap:10px;border:1px solid #e1e8f1;border-radius:8px;padding:10px 11px;background:#fbfcfe;font-size:12px;line-height:1.5;cursor:pointer;transition:.12s}.answer-option:hover{border-color:#9bb9df;background:#f4f8fe}.answer-option:has(input:checked){border-color:#4e83c3;background:#edf5ff}.answer-option input{margin:3px 0 0;accent-color:var(--blue)}.option-letter{flex:none;width:21px;height:21px;border-radius:6px;display:grid;place-items:center;background:#eaf0f7;color:#395b82;font-size:10px;font-weight:900}.submit-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px;margin:24px 0}.submit-panel div{display:grid}.submit-panel strong{font-size:14px;color:var(--navy)}.submit-panel span{font-size:11px;color:var(--muted)}
.result-hero{background:linear-gradient(115deg,#10294b,#1e4b80);color:#fff;border-radius:16px;padding:27px 30px;margin:28px 0 24px}.result-hero .eyebrow{color:#9ec8f5}.result-hero h1{margin:0}.result-score{display:flex;align-items:baseline;gap:8px;margin-top:5px}.result-score strong{font-size:58px;line-height:1;letter-spacing:-.05em}.result-score span{color:#d0def0;font-size:14px}.result-hero>p{color:#d2e0f2;font-size:13px;margin:7px 0 12px}.result-status{display:inline-block;padding:7px 10px;border-radius:7px;font-size:11px;font-weight:850;margin-bottom:10px}.status-ok{background:#d8f4e7;color:#176746}.status-review{background:#fff0d7;color:#805915}.result-hero>small{display:block;color:#c0d1e6;font-size:10px}.subject-results{background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 17px}.subject-result{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f6;font-size:12px}.subject-result:last-child{border:0}.subject-result div{display:grid}.subject-result strong{color:#304b6b}.subject-result span{font-size:10px;color:var(--muted)}.subject-result>b{color:var(--blue)}.review-title{margin-top:30px}.review-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin:10px 0}.review-meta{display:flex;justify-content:space-between;gap:10px;color:#647a94;font-size:10px;font-weight:850}.review-mark{padding:4px 8px;border-radius:99px}.mark-ok{background:#e5f7ee;color:#17734e}.mark-bad{background:#fff0f0;color:#a53c43}.mark-empty{background:#f1f3f6;color:#68788d}.review-card h3{font-size:14px;color:var(--navy);margin:12px 0 5px}.review-statement{font-size:12px;line-height:1.6;white-space:normal;color:#30455f}.review-card>p{font-size:11px;color:#586c84;margin:7px 0}.explanation{background:#eff6ff;border-left:3px solid #4b7fba;border-radius:0 7px 7px 0;padding:11px 13px;margin-top:12px}.explanation strong{font-size:10px;color:#2b578e;text-transform:uppercase;letter-spacing:.08em}.explanation p{font-size:11px;color:#425b79;margin:5px 0 0;line-height:1.6}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px}.history-table{width:100%;border-collapse:collapse;font-size:12px}.history-table th,.history-table td{padding:13px 15px;border-bottom:1px solid #edf1f6;text-align:left;white-space:nowrap}.history-table th{font-size:10px;color:#6d8097;background:#f7f9fc}.history-table td{color:#465d78}.empty-state{text-align:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:50px 20px;margin-top:10px}.empty-icon{font-size:32px;color:#6e94c4}.empty-state h2{font-size:19px;color:var(--navy);margin:10px 0 4px}.empty-state p{font-size:12px;color:var(--muted);margin:0 0 18px}
@media(max-width:900px){.exam-grid{grid-template-columns:repeat(3,1fr)}.auth-wrap{gap:28px}.nav{gap:12px}}@media(max-width:650px){.container{width:calc(100% - 24px)}.topbar{height:auto;min-height:66px;padding:10px 12px;align-items:flex-start}.brand-mark{width:36px;height:36px}.brand strong{font-size:12px}.nav{gap:8px;flex-wrap:wrap;justify-content:flex-end;font-size:11px}.nav a:nth-child(2){display:none}.user-chip{display:none}.footer{width:calc(100% - 24px);flex-direction:column}.auth-wrap{grid-template-columns:1fr;gap:22px;padding:35px 0}.auth-intro{padding:0}.auth-intro h1{font-size:35px}.auth-intro p{font-size:13px}.auth-stats{gap:22px;margin-top:20px}.auth-stats strong{font-size:23px}.auth-card{justify-self:stretch;max-width:none;padding:21px}.page-heading{align-items:flex-start;flex-direction:column;padding:28px 0 17px}.page-heading h1{font-size:29px}.stat-grid{gap:7px}.stat-card{padding:12px}.stat-card span{font-size:9px}.stat-card strong{font-size:19px}.info-strip{flex-direction:column;gap:10px}.exam-grid{grid-template-columns:repeat(2,1fr);gap:8px}.exam-tile{padding:12px;min-height:140px}.distribution-grid{grid-template-columns:repeat(3,1fr)}.section-title{align-items:flex-start}.section-title h2{font-size:19px}.exam-heading h1{font-size:28px}.question-card{padding:14px 12px}.question-statement{font-size:13px}.answer-option{font-size:11px;padding:9px}.submit-panel{align-items:stretch;flex-direction:column}.submit-panel .btn{width:100%}.result-hero{padding:22px 18px}.result-score strong{font-size:49px}.subject-result{font-size:11px}.review-card{padding:14px}.heading-tag{font-size:9px}}
