*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f6f8fc;color:#172033}a{text-decoration:none;color:inherit}.topbar{height:70px;background:#fff;border-bottom:1px solid #e8ecf3;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:20}.brand{font-size:20px;font-weight:800;display:flex;align-items:center;gap:10px}.brand span,.logo-big{display:grid;place-items:center;background:linear-gradient(135deg,#5f35f2,#8f5cff);color:#fff;border-radius:12px}.brand span{width:36px;height:36px}.topbar nav{display:flex;gap:24px;font-weight:600;color:#586174}.shell{max-width:1180px;margin:0 auto;padding:42px 22px 70px}footer{text-align:center;padding:25px;color:#7e8798}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;min-height:650px}.hero h1{font-size:58px;line-height:1.03;margin:14px 0 22px;letter-spacing:-2px}.hero h1 em{font-style:normal;color:#6840ef}.hero p{font-size:19px;line-height:1.7;color:#687186;max-width:590px}.eyebrow{font-size:12px;letter-spacing:2px;color:#6b42ee;font-weight:800}.hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;color:#344057;font-weight:600}.card{background:#fff;border:1px solid #e8ecf3;border-radius:20px;padding:28px;box-shadow:0 18px 50px rgba(29,39,70,.07)}.start-card{padding:36px}.card h2,.card h3{margin-top:0}.muted{color:#778094;line-height:1.55}label{display:block;margin:17px 0 7px;font-size:13px;font-weight:700;color:#424c60}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #d9dfeb;border-radius:10px;background:#fff;font:inherit;color:#263145;outline:none}input:focus,select:focus,textarea:focus{border-color:#7450ef;box-shadow:0 0 0 3px #7450ef18}textarea{min-height:90px;resize:vertical}.grid2,.grid3{display:grid;gap:14px}.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:repeat(3,1fr)}button,.button{border:0;cursor:pointer;font:inherit;font-weight:750;border-radius:10px;padding:13px 18px;display:inline-block}.primary{background:linear-gradient(135deg,#6238ed,#8058f5);color:#fff}.secondary{background:#f0edff;color:#6240df}.danger{background:#eb445a;color:#fff}.wide{width:100%;margin-top:20px}.error{color:#b42338}.success{color:#087443}.alert{padding:13px 16px;border-radius:10px;margin:15px 0;background:#f2f5fa}.test-head,.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.test-head h2,.admin-head h1{margin:7px 0}.timer{font-size:25px;font-weight:850;color:#fff;background:#1d2740;padding:14px 23px;border-radius:13px;font-variant-numeric:tabular-nums}.test-layout{display:grid;grid-template-columns:1fr 290px;gap:22px}.test-question{display:none}.test-question.active{display:block}.qmeta{color:#7450ef;font-size:13px;font-weight:800;margin-bottom:16px}.test-question h3{font-size:21px;line-height:1.55}.choice{display:flex;align-items:center;gap:13px;border:1px solid #e2e7f0;padding:14px;border-radius:11px;margin:10px 0;cursor:pointer;font-weight:500}.choice:hover,.choice.selected{border-color:#7450ef;background:#f6f3ff}.choice input{display:none}.letter{width:31px;height:31px;display:grid;place-items:center;background:#eef1f7;border-radius:8px;font-weight:800}.test-actions{display:flex;justify-content:space-between;margin-top:27px}.palette{height:max-content;position:sticky;top:92px}.palette #palette{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.palette #palette button{padding:9px 0;background:#eef1f6;color:#39445a;border-radius:8px}.palette #palette button.current{outline:2px solid #7650ef}.palette #palette button.answered{background:#2baa72;color:#fff}.legend{font-size:12px;color:#657086;display:flex;gap:13px;margin-top:16px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;background:#e7ebf1;margin-right:5px}.legend i.done{background:#2baa72}.result-hero{display:flex;align-items:center;justify-content:center;gap:30px;padding:28px}.score-ring{width:140px;height:140px;border:12px solid #7250ed;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff}.score-ring strong{font-size:35px}.score-ring small{color:#778094}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.stats>div{background:#fff;border:1px solid #e7ebf2;border-radius:15px;padding:20px;text-align:center}.stats b{display:block;font-size:27px}.stats span{font-size:13px;color:#7a8495}.stats .green b{color:#15945d}.stats .red b{color:#df3e52}.section-title{margin-top:38px}.review{margin:14px 0;border-left:5px solid #cbd3df}.review.correct{border-left-color:#25a66a}.review.wrong{border-left-color:#e0475b}.review-title{display:flex;gap:12px}.review-title>span{font-weight:800;color:#7550eb}.review-title h3{font-size:17px}.explain{background:#f5f7fb;padding:13px;border-radius:9px;line-height:1.55}.login-wrap{min-height:620px;display:grid;place-items:center}.login-card{width:min(420px,100%);text-align:center}.logo-big{width:58px;height:58px;margin:0 auto 16px;font-size:27px;font-weight:900}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.pdf-card{background:linear-gradient(180deg,#fff,#faf8ff)}.notice{padding:13px;background:#fff6dc;border-radius:10px;margin-top:20px;color:#765d14;font-size:13px}.count-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.count-list>div{display:flex;justify-content:space-between;background:#f5f7fb;padding:12px;border-radius:9px}@media(max-width:850px){.hero,.test-layout,.admin-grid{grid-template-columns:1fr}.hero{gap:25px;min-height:auto}.hero h1{font-size:42px}.palette{position:static}.stats{grid-template-columns:repeat(2,1fr)}.count-list{grid-template-columns:1fr 1fr}}@media(max-width:560px){.shell{padding:25px 14px 55px}.topbar{padding:0 14px}.topbar nav{gap:12px;font-size:13px}.grid2,.grid3{grid-template-columns:1fr}.hero h1{font-size:36px}.start-card,.card{padding:20px}.test-head,.admin-head{align-items:flex-start;gap:14px}.timer{font-size:20px}.result-hero{flex-direction:column;text-align:center}.stats{grid-template-columns:1fr 1fr}.count-list{grid-template-columns:1fr}}
.bilingual-text{white-space:pre-line;line-height:1.65}
.choice span:last-child,.answer-option,.bilingual-option{white-space:pre-line}
