*{box-sizing:border-box}
:root{--blue:#155bd7;--dark:#172238;--muted:#718096;--line:#dce4ef;--green:#087a43;--red:#c6283b}
body{margin:0;background:#f3f7fb;color:var(--dark);font-family:Arial,Helvetica,sans-serif}
header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line);padding:12px max(14px,calc((100% - 1160px)/2));display:flex;justify-content:space-between;align-items:center}.brand{font-size:22px;font-weight:900;color:var(--blue);text-decoration:none}.brand span{color:#111}.tag{font-size:9px;font-weight:900;color:#7a8798;letter-spacing:1px}
main{max-width:1160px;margin:auto}.hero{text-align:center;padding:34px 15px 18px}.eyebrow{font-size:9px;font-weight:900;color:var(--blue);letter-spacing:2px}.hero h1{font-size:clamp(30px,5vw,50px);margin:9px 0}.hero p{max-width:850px;margin:auto;color:var(--muted);line-height:1.8;font-size:14px}
.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;margin:10px 0;box-shadow:0 10px 28px #12345a0b}.settings{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.settings label{font-size:9px;font-weight:900}.settings select{display:block;width:100%;height:42px;margin-top:5px;padding:8px;border:1px solid #ccd7e5;border-radius:8px;background:#fff;font-weight:700}.buttons{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:14px}.buttons button,.finish,.pdf,.check,.show{border:0;border-radius:9px;padding:12px 9px;font-weight:900;font-size:9px;cursor:pointer;background:var(--blue);color:#fff}.dark{background:#334155!important}.light{background:#fff!important;color:#334155!important;border:1px solid #ccd7e5!important}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center}.stats div{padding:11px;border:1px solid #e1e7ef;border-radius:10px}.stats small{display:block;font-size:8px;color:#7a8798}.stats strong{display:block;font-size:18px;color:var(--blue);margin-top:4px}
.progress-title{display:flex;justify-content:space-between;font-size:10px;margin-bottom:8px}.progress-title span{color:var(--blue);font-weight:900}.track{height:14px;background:#e8edf4;border-radius:20px;overflow:hidden}.track i{display:block;height:100%;width:0;background:var(--blue);transition:.3s}
.worksheet-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf1;padding-bottom:12px;gap:10px}.worksheet-head h2{margin:0 0 4px;font-size:20px}.worksheet-head small{color:var(--muted);font-size:9px}.pdf{background:var(--green)!important}#notice{margin:12px 0;padding:13px;background:#fff6da;border:1px solid #efd58b;border-radius:10px;color:#715a00;font-size:10px}
.clock-graphics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.clock-graphics>div{background:#f7faff;border:1px solid #dce6f4;border-radius:13px;text-align:center;padding:14px;min-height:118px}.clock-graphics span{display:block;font-size:40px;height:52px}.clock-graphics b{display:block;font-size:12px}.clock-graphics small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.time-strip{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;background:#f8fbff;padding:10px;border-radius:10px;margin-bottom:7px}.time-strip span{font-size:9px;background:#edf4ff;color:#174f9f;padding:7px 9px;border-radius:8px}
.question{padding:20px 4px;border-bottom:1px solid #e5eaf1}.qline{display:flex;gap:11px;align-items:flex-start}.num{min-width:30px;font-size:16px;font-weight:900;color:var(--blue)}.prompt{font-size:17px;font-weight:800;line-height:1.6;width:100%}.time-display{margin-top:10px;background:#f8fbff;border:1px solid #dbe5f2;border-radius:10px;padding:15px;text-align:center;font-size:25px;font-weight:900}.clock-face{width:145px;height:145px;border:7px solid #26354d;border-radius:50%;margin:12px auto;position:relative;background:#fff;box-shadow:0 4px 15px #12345a18}.clock-face .tick{position:absolute;left:50%;top:5px;transform:translateX(-50%);font-size:13px;font-weight:900}.hand{position:absolute;left:50%;bottom:50%;transform-origin:50% 100%;background:#172238;border-radius:5px;transform:translateX(-50%) rotate(0deg)}.hour-hand{width:7px;height:39px}.minute-hand{width:5px;height:55px}.center-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:#155bd7;left:50%;top:50%;transform:translate(-50%,-50%)}.hint{margin:7px 0 0 41px;font-size:9px;color:#8995a7}.answer-row{display:flex;gap:8px;margin:12px 0 0 41px;max-width:800px;flex-wrap:wrap}.answer{height:45px;min-width:180px;flex:1;border:2px solid #cbd6e4;border-radius:8px;padding:8px 12px;font-size:17px;font-weight:900;outline:none}.answer:focus{border-color:var(--blue)}.answer.correct{border-color:var(--green);background:#eaf8f0;color:var(--green)}.answer.wrong{border-color:var(--red);background:#fff0f2;color:var(--red)}.show{background:#eef4ff!important;color:#174f9f!important}.feedback{margin:7px 0 0 41px;min-height:14px;font-size:9px;font-weight:900}.good{color:var(--green)}.bad{color:var(--red)}.reveal{margin:8px 0 0 41px;padding:10px;background:#eef5ff;border:1px solid #cfe0fb;border-radius:8px;font-size:10px;color:#174f9f}.reveal strong{font-size:15px}.hidden{display:none!important}.pop{animation:pop .45s}.shake{animation:shake .42s}@keyframes pop{45%{transform:scale(1.08)}}@keyframes shake{20%{transform:translateX(-7px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
.complete{text-align:center;padding:18px 0}.finish{background:#7b3fb2!important;padding:14px 18px}.final{max-width:560px;margin:14px auto 0;padding:18px;background:#edf9f1;border:1px solid #bfe2cd;border-radius:12px}.final strong{display:block;font-size:31px;color:var(--green)}.final span{font-size:10px;color:#64748b}.answers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.answers>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:9px;font-size:9px;line-height:1.5}.answers span{display:block;color:var(--green);margin-top:4px}.seo h3{font-size:15px;margin-top:24px}.seo p,.seo li{font-size:11px;color:#637085;line-height:1.9}footer{max-width:1160px;margin:auto;padding:22px 15px 40px;color:#788497;font-size:9px;display:flex;justify-content:space-between}
@media(max-width:900px){.settings{grid-template-columns:repeat(2,1fr)}.clock-graphics{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){header{padding:10px 12px}.brand{font-size:18px}.tag{font-size:6px}.hero{padding:26px 10px}.hero h1{font-size:31px}.hero p{font-size:12px}.panel{padding:13px;margin:7px}.settings,.buttons{grid-template-columns:1fr}.worksheet-head{flex-direction:column;align-items:stretch}.pdf{width:100%}.prompt{font-size:16px}.time-display{font-size:22px}.answer-row,.hint,.feedback,.reveal{margin-left:38px}.answer,.check,.show{width:100%}.answers{grid-template-columns:1fr}footer{display:block;text-align:center}footer span{display:block;margin-top:6px}}
