@font-face{font-family:Vazir;src:url(Vazir.woff2) format("woff2");font-display:swap}*{box-sizing:border-box}body{margin:0;font-family:Vazir,Tahoma,sans-serif;background:#fff7f8;color:#321b25;line-height:1.9}button,input,select{font:inherit}button{cursor:pointer}a{color:#b71538}header{max-width:1120px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center}.brand{font-weight:bold;color:#bc183c}.shell{max-width:1120px;margin:0 auto;padding:12px 24px 45px}.layout{display:grid;grid-template-columns:1fr 330px;gap:28px}.panel{background:white;border:1px solid #f0dbe1;border-radius:28px;padding:32px;box-shadow:0 14px 50px #7c173914}h1{font-size:clamp(26px,4vw,42px);line-height:1.5;margin:12px 0}h2{font-size:24px;line-height:1.8}.muted{color:#65748b}.badge{display:inline-block;border-radius:30px;padding:5px 14px;background:#ffebef;color:#b01739;font-size:13px}.portrait{width:150px;height:150px;object-fit:cover;border-radius:50%;border:6px solid #fff;box-shadow:0 8px 25px #92234122}.bio{text-align:center}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label.field{display:block;font-size:14px}input[type=text],input[type=tel],select{width:100%;background:#f7fafc;border:1px solid #d7e2ed;border-radius:12px;padding:12px;margin-top:5px;color:#321b25}input:focus,select:focus{outline:3px solid #ffc0cf;border-color:#d42a4e}.entry{width:170px;height:170px;border:9px solid #ffe0e8;border-radius:50%;background:linear-gradient(135deg,#b91035,#f23c58);color:white;font-weight:bold;font-size:20px;display:block;margin:28px auto 0;box-shadow:0 12px 25px #d722482e}.entry:hover{transform:translateY(-2px)}.btn{border:0;border-radius:14px;padding:13px 23px;background:#cf2044;color:white}.btn.secondary{background:#eaf0f5;color:#6f3041}.btn:disabled{opacity:.5;cursor:not-allowed}.actions{display:flex;gap:12px;justify-content:space-between;margin-top:25px}.option{display:flex;align-items:start;gap:12px;padding:16px 18px;margin:12px 0;background:#f8fafc;border:2px solid #e4ebf3;border-radius:16px;cursor:pointer;color:#321b25}.option:has(input:checked){background:#fff0f3;border-color:#d9284e}.option input{margin-top:8px;accent-color:#d32249;width:19px;height:19px;flex-shrink:0}.meta{display:flex;justify-content:space-between;gap:10px;color:#60728a;font-size:14px}progress{width:100%;height:10px;accent-color:#db2850;margin:15px 0}.dots{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:20px}.dot{border:1px solid #dbe5ee;background:#f5f8fb;border-radius:10px;padding:6px;color:#587084}.dot.done{background:#ffe5ec;color:#a41437}.dot.active{border:2px solid #d32249;background:#fff0f4}.score{width:180px;height:180px;margin:20px auto;border-radius:50%;background:conic-gradient(#d72349 calc(var(--score)*1%),#e8eff5 0);padding:12px}.score div{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;border-radius:50%}.score strong{font-size:50px;line-height:1.2}.bar{display:grid;grid-template-columns:1fr auto;gap:10px;margin:15px 0}.bar progress{grid-column:1/-1;margin:0}.error{color:#ae3040}.notice{border-radius:14px;background:#fff5df;padding:15px;color:#755916}.review{border:1px solid #e3ebf2;border-radius:15px;padding:18px;margin:14px 0}.review.ok{border-right:5px solid #c51d42}.review.bad{border-right:5px solid #df8a3c}footer{font-size:12px;text-align:center;color:#718096;padding:20px}.privacy{font-size:13px;margin-top:20px}body:focus{outline:none}@media(max-width:800px){.layout{grid-template-columns:1fr}.panel{padding:22px}.grid{grid-template-columns:1fr}.bio{display:none}.shell{padding:8px 14px}.entry{width:145px;height:145px}header{padding:15px}.meta{flex-wrap:wrap}}@media print{header,.actions,footer,.no-print,.dots{display:none!important}body{background:white}.shell{max-width:none;padding:0}.panel{box-shadow:none;border:none}.review{break-inside:avoid}.layout{display:block}}
/* Crimson cyber theme: light surfaces, circuit grid and strong red actions. */
body{background-color:#fff7f8;background-image:radial-gradient(ellipse at 90% 0%,#ffdce780,transparent 55%),linear-gradient(#d9274910 1px,transparent 1px),linear-gradient(90deg,#d9274910 1px,transparent 1px);background-size:auto,36px 36px,36px 36px}
header{border-bottom:1px solid #edccd5;margin-bottom:16px}.brand{letter-spacing:.2px}
.panel{position:relative;border-color:#efd6dd;background:linear-gradient(145deg,#fff,#fffafb);box-shadow:0 16px 48px #941b3510}
.panel::before{content:"";position:absolute;top:0;right:28px;width:72px;height:4px;background:linear-gradient(90deg,#ff6b7d,#bd143a);border-radius:0 0 5px 5px}
.entry{background:linear-gradient(135deg,#b70b32,#f13d59);color:#fff;border-color:#ffe1e8;box-shadow:0 0 0 1px #f4b1c2,0 16px 32px #cf204432;outline-offset:5px;transition:transform .2s,box-shadow .2s}
.entry:hover{box-shadow:0 0 0 5px #fbd3dd,0 18px 38px #cf204445}.entry:focus-visible,.btn:focus-visible{outline:3px solid #9e1436}
.btn:not(.secondary){background:linear-gradient(135deg,#bd153c,#e63351);color:#fff;box-shadow:0 6px 16px #ce224527}.btn:not(.secondary):hover{background:#b71338}
.btn.secondary{background:#fff0f3;color:#8d2440;border:1px solid #efcbd5}.dot{background:#fff8fa;border-color:#eddae0;color:#814156}.option:hover{border-color:#ed98ae}.option:focus-within{outline:2px solid #d92b50;outline-offset:2px}.option input{accent-color:#d32249}
progress{accent-color:#d72349}.score{background:conic-gradient(#d72349 calc(var(--score)*1%),#f5e6ec 0)}.portrait{border-color:#fff2f5}.badge{border:1px solid #f4cfda}
@media print{body{background:white}.panel::before{display:none}}

/* Soft crimson studio background, persistent identity and exam clock. */
body{background:#fff8fa;background-image:radial-gradient(ellipse at 8% 15%,#f8bccc65,transparent 42%),radial-gradient(ellipse at 95% 80%,#e7dfef88,transparent 42%),linear-gradient(160deg,#fffcfd,#f8f3f8);background-size:auto;background-attachment:fixed}
header{position:sticky;top:0;z-index:20;max-width:none;padding:14px max(24px,calc((100vw - 1072px)/2));background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid #f0dce3;box-shadow:0 5px 30px #80234108;gap:20px}
.brand-lockup{display:flex;align-items:center;gap:13px}.brand-logo{width:58px;height:58px;object-fit:cover;border-radius:18px;box-shadow:0 4px 14px #9c204020;border:2px solid white}.brand small{display:block;font-weight:normal;font-size:12px;color:#805c6a}.timer-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #f5d0db;border-radius:16px;background:#fff3f6;padding:7px 16px}.timer-box[hidden]{display:none}.timer-box b{font-size:25px;color:#bd1740;font-variant-numeric:tabular-nums}.timer-box small{font-size:12px;color:#85495b}#saveState{font-size:11px;color:#68526b;flex-basis:100%;line-height:1.2}.urgent{background:#ffe3ea;border-color:#db274c}.panel{background:#fffefef5;border:1px solid #ecdde4;box-shadow:0 18px 65px #6932460d}.panel::before{width:100px;background:linear-gradient(90deg,#ffa5b6,#c51d42);height:3px}.portrait{box-shadow:0 8px 40px #b52f4825}.brand-logo{display:block}
@media(max-width:800px){header{padding:9px 14px;gap:8px;flex-wrap:wrap}.brand-logo{width:44px;height:44px;border-radius:13px}header>a{font-size:11px}.timer-box{order:3;width:100%;justify-content:space-between;padding:5px 12px}.timer-box b{font-size:23px}.timer-box #saveState{flex-basis:auto;max-width:55%}.brand{font-size:13px}.brand small{font-size:10px}}
@media print{header{display:none}}
