@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');
:root{--ink:#17363d;--muted:#586d72;--teal:#176b63;--gold:#e5ab44;--line:#dfe9e6;--bg:#f5f8f6;--red:#ac303d}*{box-sizing:border-box}body{margin:0;font:15px/1.9 Cairo,Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--teal)}header{background:#fff;border-bottom:1px solid var(--line);padding:16px max(24px,calc((100% - 1160px)/2));display:flex;align-items:center;gap:24px}header a{text-decoration:none}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);font-weight:800;font-size:23px;white-space:nowrap}.brand small{display:block;font-size:10px;font-weight:600;color:var(--muted);margin-top:-6px}.mark{width:44px;height:44px;display:grid;place-items:center;background:var(--ink);color:#f9cb6a;border-radius:14px;font-size:30px}nav{display:flex;gap:8px;flex:1;justify-content:center}.nav{background:transparent;border:0;padding:9px 15px;color:var(--muted);border-radius:8px}.nav.active{background:#e9f3ee;color:var(--teal);font-weight:700}.release,.badge{font-size:11px;background:#fff3d9;color:#76521c;border-radius:20px;padding:4px 12px;display:inline-block}main{max-width:1160px;margin:0 auto;padding:34px 24px 60px}h1{font-size:36px;line-height:1.5;letter-spacing:-1px;margin:10px 0}h2{font-size:22px;line-height:1.6;margin:0 0 14px}h3{font-size:17px;margin:0 0 10px}p{margin:0 0 12px}.muted,small{color:var(--muted)}.eyebrow{color:var(--teal);font-size:12px;font-weight:800;letter-spacing:1px}.hero{display:grid;grid-template-columns:1fr 300px;align-items:center;gap:36px;margin-bottom:28px}.hero p{max-width:640px;color:var(--muted);font-size:16px}.hero-visual{height:176px;position:relative;display:flex;align-items:center;justify-content:center;background:#dcebe3;border-radius:28px;overflow:hidden}.paper{transform:rotate(-8deg);background:#fff;width:132px;height:142px;border-radius:8px;padding:22px;box-shadow:10px 10px 0 #adcbbf}.paper b{color:var(--teal);font-size:32px;line-height:1}.paper i{display:block;height:5px;background:#dcebe3;margin:12px 0;width:85px}.sun{position:absolute;top:15px;left:30px;width:35px;height:35px;background:#e8b752;border-radius:50%}.notice{border:1px solid #eadbbe;background:#fff9ee;padding:13px 18px;border-radius:12px;margin-bottom:24px;font-size:13px}.notice strong{color:#76521c}.layout{display:grid;grid-template-columns:1fr 310px;gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.steps{display:flex;gap:12px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:16px}.steps b{display:inline-grid;place-items:center;background:var(--teal);color:#fff;border-radius:50%;width:25px;height:25px;font-size:12px;margin-left:6px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}label{font-weight:700;font-size:13px}input,select{width:100%;min-height:46px;border:1px solid #c8d9d2;border-radius:8px;background:#fff;color:var(--ink);padding:9px 12px}select{max-width:100%;text-overflow:ellipsis}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:16px}.seg{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.seg button{flex:1;padding:9px;border:1px solid var(--line);background:#fff;border-radius:8px;min-height:44px}.seg button.on{background:#e8f3ed;color:var(--teal);border-color:var(--teal);font-weight:700}.btn{background:var(--teal);color:white;border:1px solid var(--teal);border-radius:8px;padding:11px 22px;min-height:46px;font-weight:700}.btn.secondary{background:#fff;color:var(--teal)}.btn.danger{border-color:var(--red);color:var(--red);background:#fff}.wide{width:100%}.summary{background:#183e44;color:#fff;border:0}.summary .muted{color:#bdd4cf}.summary h3{color:#f4ca7c}.metric{font-size:40px;line-height:1.3;font-weight:800}.statrow{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff22;padding:12px 0}.hint{font-size:12px;color:var(--muted);margin-top:8px}.mini{font-size:12px}.subjects{display:grid;grid-template-columns:1fr 1fr;gap:10px}.subject-row{border-bottom:1px solid var(--line);padding:10px 0}.tag{background:#edf4ef;color:var(--teal);font-size:11px;padding:2px 8px;border-radius:5px}.progress{height:7px;background:#e4ece7;border-radius:5px;overflow:hidden;margin:16px 0}.progress span{display:block;background:var(--teal);height:100%}.exam-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.exam-layout{display:grid;grid-template-columns:1fr 220px;gap:24px}.qtext{font-size:23px;line-height:1.9;margin:16px 0 24px;white-space:pre-wrap;overflow-wrap:anywhere}.options{display:grid;gap:12px}.option{display:flex;gap:14px;align-items:center;width:100%;text-align:start;background:#fff;border:1.5px solid #d9e4de;border-radius:10px;padding:14px 18px;min-height:62px;color:var(--ink)}.option span:first-child{border:1px solid #d9e4de;border-radius:7px;min-width:30px;height:30px;display:grid;place-items:center;font-size:12px}.option.selected{border-color:var(--teal);background:#edf7f1}.option.good{border-color:var(--teal);background:#e8f5ec}.option.bad{border-color:var(--red);background:#fff0f1}.actions{display:flex;gap:12px;justify-content:space-between;margin-top:26px;flex-wrap:wrap}.qnums{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.qnums button{min-height:37px;border:1px solid var(--line);background:#fff;border-radius:6px;color:var(--ink)}.qnums button.done{background:#dceee4}.qnums button.current{border:2px solid var(--teal);font-weight:800}.qnums{max-height:370px;overflow:auto;padding:3px}.result{text-align:center}.score-ring{border:8px solid #dceee4;width:150px;height:150px;border-radius:50%;display:grid;place-items:center;margin:20px auto}.score-ring b{font-size:35px}.review-q{border-top:1px solid var(--line);padding:20px 0}.review-q p{white-space:pre-wrap;overflow-wrap:anywhere}.good-text{color:var(--teal)}.bad-text{color:var(--red)}.history-item{border-top:1px solid var(--line);padding:16px 0;display:grid;grid-template-columns:1fr auto;gap:15px}.history-item b{display:block}.empty{text-align:center;padding:35px}.table-wrap{display:grid;gap:10px}.coverage-row{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:16px;padding:12px;border-radius:8px;background:var(--bg)}.coverage-row>*{min-width:0}.links a{overflow-wrap:anywhere}footer{text-align:center;font-size:11px;color:var(--muted);padding:20px;border-top:1px solid var(--line)}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:12px 20px;display:none;max-width:90%;z-index:9}details{margin:16px 0}summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:700}dialog{border:1px solid var(--line);border-radius:18px;max-width:420px;width:calc(100% - 32px);color:var(--ink);padding:28px}dialog::backdrop{background:#17363d77}dialog h2{font-size:22px}dialog .actions{justify-content:flex-start}.print-only{display:none}@media(max-width:900px){header{flex-wrap:wrap;gap:10px;padding:12px 20px}nav{order:3;flex-basis:100%;justify-content:flex-start}.release{margin-right:auto}.hero{grid-template-columns:1fr 180px;gap:20px}.layout{grid-template-columns:1fr 260px}.exam-layout{grid-template-columns:1fr 190px}}@media(max-width:700px){main{padding:22px 16px 40px}.hero{display:block}.hero-visual{display:none}h1{font-size:29px}.hero p{font-size:14px}.layout,.exam-layout{display:block}.card{padding:20px}.layout aside{display:flex;flex-direction:column}.twocol{grid-template-columns:1fr;gap:0}.nav{padding:8px;font-size:12px}.brand{font-size:21px}.release{font-size:9px;padding:3px 8px}.steps{font-size:12px}.qtext{font-size:19px}.exam-header{align-items:start}.exam-header h1{font-size:23px}.exam-layout aside .qnums{grid-template-columns:repeat(8,1fr);max-height:160px}.option{padding:12px;line-height:1.7}.coverage-row{grid-template-columns:1.2fr .8fr .8fr;font-size:12px;gap:8px}.history-item{grid-template-columns:1fr}.actions .btn{flex:1;padding:9px 12px}.subjects{grid-template-columns:1fr}.notice{padding:12px;font-size:12px}}@media print{header,footer,.actions,nav,.notice{display:none!important}body{background:#fff}.card{border:0;padding:0}.print-only{display:block}.review-q{break-inside:avoid}main{max-width:none}}
#account-panel{max-width:760px}#auth-form{max-width:480px}#auth-form input[type=checkbox],#account-panel input[type=checkbox]{flex:0 0 20px}header>[data-page=account]{font-size:11px;padding:7px;white-space:nowrap}@media(max-width:700px){header>[data-page=account]{margin-right:auto}.release{display:none}nav{justify-content:space-between;gap:2px}header{gap:6px}}
#account-panel h2{overflow-wrap:anywhere}#account-panel .actions .btn{min-width:0}.coverage-row bdi{unicode-bidi:isolate}.steps>span{flex:1;display:flex;align-items:center;gap:3px}.steps b{flex:0 0 25px;margin-left:0}@media(max-width:420px){#account-panel .actions{flex-direction:column}#account-panel .actions .btn{width:100%}}
textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;font:inherit;line-height:1.8;padding:14px;border:1px solid #bccfc5;border-radius:10px;resize:vertical;background:#fff;color:#172f28;margin:10px 0}.response-text{white-space:pre-wrap;background:#f4f7f4;border-radius:10px;padding:14px;overflow-wrap:anywhere}.check-row{display:flex;gap:12px;align-items:flex-start;margin:14px 0;font-weight:400}.check-row input{width:22px;min-height:22px;flex:0 0 22px}.open-review details{margin:16px 0}.open-review summary{padding:12px 0;cursor:pointer}.open-review a{overflow-wrap:anywhere}

.question-figure{margin:16px auto;text-align:center}.question-figure img{max-width:100%;width:340px;height:auto;border-radius:10px}.qtext{white-space:pre-line}
