:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#17304c;background:#f3f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.header{display:flex;justify-content:space-between;align-items:center;padding:16px max(20px,calc((100vw - 1180px)/2));background:white;border-bottom:1px solid #dae5f3;gap:16px}.brand{color:#0753a2;font-size:21px;font-weight:850;letter-spacing:-.5px}.brand span{color:#367bba;font-weight:450}.muted{color:#75869c}.small{font-size:13px}.micro{font-size:12px;line-height:1.6}.userbox{display:flex;gap:12px;align-items:center;min-width:0}.userbox span{overflow:hidden;text-overflow:ellipsis}.card{background:white;border:1px solid #dfebf5;border-radius:18px;box-shadow:0 8px 32px #25486a0b}.authwrap{max-width:510px;margin:6vh auto 5vh;padding:0 16px}.authcard{padding:35px}.authcard h1{font-size:31px;letter-spacing:-.7px;line-height:1.25;margin:18px 0}.tag{font-size:11px;font-weight:800;color:#2067a9;background:#eaf4ff;padding:9px 12px;border-radius:30px}.authcard p{line-height:1.7}.authcard input{width:100%;padding:13px 14px;border:1px solid #cdddee;border-radius:10px;margin:7px 0 14px}.authcard label,.sidebar label{display:block;font-weight:700;font-size:13px;margin:17px 0 8px}.primary{background:#1367bf;color:white;border:1px solid #1367bf;padding:12px 17px;border-radius:11px;font-weight:750}.primary:hover{background:#0957a7}.ghost{background:white;border:1px solid #d0ddec;color:#31516c;border-radius:10px;padding:10px 14px}.ghost:hover{background:#f5f9ff}.linkbtn{border:none;background:none;color:#1465bd;font-weight:650;padding:10px 0}.authActions{display:flex;justify-content:space-between;gap:12px}.status{font-size:13px;margin-top:12px;line-height:1.6}.status.error{color:#b62f43}.notice{padding:12px;border-radius:12px;background:#fff5e7;color:#76511f;font-size:13px;line-height:1.6;margin:18px 0}.wide{width:100%;margin-top:10px}.layout{max-width:1180px;margin:26px auto;padding:0 16px;display:grid;grid-template-columns:265px minmax(0,1fr);gap:20px}.sidebar{padding:22px;align-self:start}.sidebar h2{font-size:17px;margin:2px 0 20px}.sidebar select,.sidebar input[type=number]{border:1px solid #d1deea;border-radius:10px;padding:11px;width:100%;background:white;color:#17304c}.sidebar .check{display:flex;align-items:center;gap:9px;font-weight:450;margin:17px 0}.seg{display:flex;background:#edf4fb;padding:4px;border-radius:11px}.seg button{width:50%;border:0;background:transparent;border-radius:8px;padding:9px 3px;color:#49627d}.seg button.active{background:white;color:#0b5cac;font-weight:750;box-shadow:0 2px 5px #234c7518}.sidebar hr{border:0;border-top:1px solid #e5edf5;margin:20px 0}.content{min-height:620px;padding:30px}.content h1{font-size:27px;margin:0 0 9px}.content p{line-height:1.7}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:21px 0}.stat{background:#f2f7fe;border-radius:14px;padding:19px 15px}.stat b{display:block;color:#155fae;font-size:25px;margin-bottom:5px}.stat span{font-size:12px;color:#647f9a}.pill{border-radius:25px;background:#eaf4ff;color:#185fa8;font-weight:750;font-size:12px;padding:8px 11px}.topline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.progress{height:8px;background:#e6eef8;border-radius:20px;overflow:hidden;margin:15px 0}.progress>div{background:#3484d6;height:100%}.question{font-size:22px;line-height:1.55;font-weight:750;margin:27px 0}.scenario{padding:17px;border-left:4px solid #3682d5;background:#eff6ff;border-radius:9px;white-space:pre-line;line-height:1.7;margin-top:20px}.option{display:flex;width:100%;gap:12px;align-items:flex-start;background:white;padding:15px 13px;border:1px solid #d7e3f1;border-radius:12px;margin:10px 0;color:#233e58;text-align:left;line-height:1.6}.option.selected{border-color:#2d82d5;background:#edf6ff}.option.good{border-color:#269d70;background:#ecfaf3}.option.bad{border-color:#e15f69;background:#fff0f1}.letter{background:#eef3fa;min-width:29px;height:29px;border-radius:8px;font-size:13px;font-weight:800;display:grid;place-items:center}.feedback{margin-top:18px;border-radius:13px;padding:17px;background:#f1f7ff;line-height:1.65}.feedback.good{background:#ebf9f2}.feedback.bad{background:#fff0f2}.actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}.navgrid{display:grid;grid-template-columns:repeat(10,1fr);gap:7px;margin:14px 0}.navgrid button{border:1px solid #d4e0ed;border-radius:7px;padding:8px 0;background:white;color:#45617d}.navgrid button.done{background:#e7f6f0;border-color:#91ccae}.navgrid button.current{background:#1768bb;color:white}.results{padding:24px;border-radius:16px;text-align:center;background:#f2f8ff;margin:24px 0}.results strong{font-size:45px;color:#155fac;display:block}.review{border-bottom:1px solid #e3ecf5;padding:14px 0}.review small{color:#647f99;display:block;margin-top:6px;line-height:1.6}.hidden{display:none!important}footer{text-align:center;color:#8191a5;padding:25px;font-size:12px}@media(max-width:790px){.layout{grid-template-columns:1fr;margin:12px auto;padding:0 10px}.sidebar{position:static}.content{padding:19px;min-height:400px}.question{font-size:19px}.authcard{padding:24px}.stats{gap:7px}.stat{padding:12px}.navgrid{grid-template-columns:repeat(8,1fr)}.header{padding:14px 12px}.userbox{max-width:48%}}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.content{min-width:0;overflow-wrap:anywhere}
.option>span:last-child{min-width:0}
.option:disabled.good,.option:disabled.bad{opacity:1}
.userbox button{flex-shrink:0}
@media(max-width:790px){.authcard h1{font-size:clamp(25px,7.5vw,31px)}.navgrid button{min-height:42px}.authActions button,.actions button{min-height:44px}}
@media(max-width:360px){.navgrid{grid-template-columns:repeat(6,1fr)}.header{gap:8px}.header .ghost{padding:10px 6px}}
