:root{--blue:#255bff;--navy:#111c4b;--muted:#6a7897;--line:#e1eafb;--pale:#f3f7ff;--white:#fff;--shadow:0 12px 40px #376acb13}*{box-sizing:border-box}html{width:100%;min-height:100%;overflow-x:hidden;overflow-y:auto;-webkit-text-size-adjust:100%;scroll-behavior:auto}body{margin:0;width:100%;min-height:100vh;min-height:100dvh;font-family:Tahoma,Arial,sans-serif;color:var(--navy);background:linear-gradient(145deg,#edf5ff,#f8fbff 50%,#e5f2ff);font-size:14px;line-height:1.65;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #87acff;outline-offset:3px}a{color:inherit}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.5;letter-spacing:-.6px}h2{font-size:18px;line-height:1.5}p{color:var(--muted)}.hidden{display:none!important}.ambient{position:fixed;border-radius:50%;pointer-events:none;z-index:-1}.a1{width:340px;height:340px;background:radial-gradient(circle at 30% 30%,#91dcff80,#689fff10);left:-150px;bottom:-120px}.a2{width:500px;height:500px;background:radial-gradient(circle,#b4d4ff70,transparent 70%);top:-200px;right:-170px}.app-shell{width:100%;max-width:1050px;min-height:100vh;min-height:100dvh;margin:auto;background:#ffffff78;box-shadow:0 0 90px #3e79ce0c;overflow-x:hidden}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;background:linear-gradient(115deg,#2966ff,#78baff 85%);color:white;border-radius:0 0 28px 28px;box-shadow:0 10px 35px #3675e92b}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;direction:ltr;font-size:19px;font-weight:700}.logo{background:#fff;color:#194aca;display:grid;place-items:center;box-shadow:0 5px 15px #114ed826;border-radius:15px;width:47px;height:47px;font-size:19px}.icon-button{border:0;background:#ffffff33;width:38px;height:38px;border-radius:12px;font-size:24px;color:inherit;line-height:1}.topbar .icon-button{color:#fff}main{padding:30px 32px 40px}.hero{position:relative;overflow:hidden;min-height:278px;padding:35px;border:1px solid #fff;background:linear-gradient(115deg,#f2f8ff 30%,#d6edff);border-radius:28px;box-shadow:var(--shadow)}.hero-copy{position:relative;z-index:2;max-width:65%}.eyebrow{font-size:11px;letter-spacing:1px;color:var(--blue);font-weight:bold;direction:ltr;display:inline-block}.hero h1{margin:13px 0 12px;font-size:37px;line-height:1.35}.hero p{line-height:1.8;font-size:14px}.hero-art{position:absolute;left:0;top:8px;width:38%;height:100%;direction:ltr}.orb{width:160px;height:160px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#e3ffff,#81d0ff 45%,#3c82ff 75%,#b3daff);position:absolute;left:15%;top:30px;box-shadow:inset 0 0 10px #fff8,0 20px 35px #2b75e52b}.tile{position:absolute;width:108px;height:66px;left:25%;border-radius:12px;transform:rotate(-30deg) skew(20deg);border:1px solid #fff8;box-shadow:-12px 18px 22px #2b75e522;background:linear-gradient(120deg,#edffff,#5db6ff,#4969ff)}.t1{top:95px;z-index:3}.t2{top:141px;opacity:.8}.t3{top:187px;opacity:.5}.v-mark{position:absolute;top:66px;left:36%;font-size:72px;font-weight:900;color:#fff;z-index:4;line-height:1;text-shadow:0 4px 8px #397fe255}.welcome-card{max-width:560px;margin:24px auto 0;padding:25px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.section-heading p{font-size:12px;margin-top:4px}.mini-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e9f0ff;font-size:24px;color:var(--blue)}label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}input[type=text],input[type=url],input[name=code]{width:100%;border:1px solid #cbdcff;border-radius:14px;background:#fcfdff;color:var(--navy);height:51px;padding:12px 16px;outline:none}input:focus{border-color:var(--blue)}.primary{border:0;display:flex;align-items:center;justify-content:center;gap:16px;width:100%;padding:13px 18px;min-height:50px;border-radius:15px;background:linear-gradient(105deg,#3985ff,#244aff);color:white;font-weight:700;box-shadow:0 8px 19px #2661ff2b;margin-top:19px}.arrow{display:grid;place-items:center;background:#ffffff30;width:29px;height:29px;border-radius:50%;font-size:22px}.quiet-note{text-align:center;font-size:11px;margin-top:17px}.footer-note{font-size:11px;text-align:center;margin-top:23px}.app-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;direction:ltr;font-size:10px;color:#7c8eb0;padding:16px 32px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.profile-card{border:1px solid #fff;background:linear-gradient(155deg,#fff 55%,#dceeff);border-radius:26px;box-shadow:var(--shadow);padding:25px;display:grid;grid-template-columns:1fr 210px;gap:16px 30px}.identity{display:flex;gap:14px;align-items:center}.identity h2{font-size:17px;overflow-wrap:anywhere}.identity p{font-size:11px;margin-top:4px}.avatar{flex-shrink:0;width:56px;height:56px;border-radius:17px;display:grid;place-items:center;color:white;font-size:20px;background:linear-gradient(135deg,#3b8fff,#2145ff);box-shadow:0 8px 18px #2759ff28}.dot{color:#99b1d5;padding:0 5px}.details{grid-column:1;display:grid;gap:8px}.detail{display:flex;gap:8px;background:#f5f8ff;border:1px solid #e7eefb;border-radius:11px;padding:9px 12px;font-size:11px;overflow-wrap:anywhere}.detail strong{color:#3554a0;flex-shrink:0}.progress-wrap{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.progress-ring{--progress:0%;border-radius:50%;padding:10px;width:142px;height:142px;background:conic-gradient(from -90deg,#4a80ff var(--progress),#d6e3ff 0);transform:rotate(0)}.progress-ring>div{border-radius:50%;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f9fcff}.progress-ring strong{font-size:29px;direction:ltr;line-height:1.4}.progress-ring span{font-size:11px;color:var(--muted)}.progress-wrap p{font-size:11px}.team-summary{grid-column:1/-1;display:flex;gap:12px;justify-content:space-around;border-top:1px solid #dce8fa;padding-top:15px}.team-stat{text-align:center}.team-stat strong{font-size:20px;display:block}.team-stat span{font-size:11px;color:var(--muted)}.tasks-heading{display:flex;align-items:center;justify-content:space-between;margin:27px 0 15px}.tasks-heading p{font-size:11px}.soft-button{border:1px solid #dfe8fa;background:#f8fbff;border-radius:11px;padding:9px 12px;font-size:12px;color:#3158ad}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.task{display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 5px 20px #366cb509;min-height:212px}.task-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.task-symbol{width:41px;height:41px;display:grid;place-items:center;background:#edf3ff;border-radius:13px;font-size:16px;font-weight:700;color:var(--blue);direction:ltr}.badge{font-size:10px;padding:5px 10px;border-radius:20px;display:inline-block;background:#eaf1ff;color:#315eff;white-space:nowrap}.badge.muted{background:#eef0f4;color:#7c8799}.badge.done{background:#e6f8ef;color:#17744b}.task h3{font-size:15px;margin:0 0 7px}.task p{font-size:11px;margin-bottom:9px}.task .primary{margin-top:auto;min-height:42px;font-size:12px;padding:10px}.task.locked{background:linear-gradient(145deg,#fbfdff,#f2f6fd);box-shadow:none}.task .evidence{font-size:11px;color:#346be1;overflow-wrap:anywhere;margin-top:10px}.task .exam-score{color:#203e91;font-size:18px;font-weight:700}.ttt-card{margin-top:18px;padding:20px;border:1px solid #dae6fa;background:#fff;border-radius:20px}.ttt-stats{display:flex;justify-content:space-around;margin:15px 0}.ttt-stats div{text-align:center;font-size:11px;color:var(--muted)}.ttt-stats strong{display:block;color:var(--navy);font-size:21px}.exam-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.subtle{font-size:12px;line-height:1.8}.exam-progress{height:7px;border-radius:10px;background:#e3ecff;margin-top:20px;overflow:hidden}.exam-progress>div{height:100%;width:0;background:linear-gradient(90deg,#70b3ff,#345eff);transition:width .2s}.exam-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:8px 0 20px}.question{min-inline-size:0;min-width:0;width:100%;max-width:100%;box-sizing:border-box;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:16px;overflow-wrap:anywhere}.question legend{float:right;width:100%;font-size:15px;font-weight:700;margin-bottom:16px;white-space:pre-line}.question legend .question-number{font-size:11px;color:var(--blue);display:block;margin-bottom:7px}.options{clear:both;display:grid;gap:9px}.option{margin:0;min-width:0;max-width:100%;box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e4ecf9;border-radius:12px;font-size:13px;font-weight:400;cursor:pointer;background:#fafcff;overflow-wrap:anywhere;word-break:break-word}.option:has(input:checked){background:#edf3ff;border-color:#5e8bff}.option input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}.result-card{text-align:center;background:#fff;border:1px solid var(--line);border-radius:27px;max-width:520px;margin:35px auto;padding:35px}.result-icon{display:grid;place-items:center;width:67px;height:67px;border-radius:50%;background:#eaf2ff;color:var(--blue);font-size:33px;margin:0 auto 17px}.result-card h1{font-size:54px;color:var(--blue);margin:15px 0 0;direction:ltr}.result-card p{font-size:12px;margin-top:12px}dialog{border:1px solid #dce7fa;border-radius:24px;padding:25px;max-width:440px;width:calc(100% - 30px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;color:var(--navy);box-shadow:0 25px 80px #15345a30;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}dialog::backdrop{background:#13294c65;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.dialog-head .icon-button{background:#f2f6ff}.dialog-head h2{font-size:17px}dialog .subtle{margin-bottom:20px}.upload-zone{text-align:center;display:flex;align-items:center;flex-direction:column;padding:26px 10px;border:2px dashed #c6d9ff;background:#f7faff;border-radius:17px;cursor:pointer}.upload-zone small{font-size:10px;color:var(--muted);font-weight:400;margin-top:8px}.upload-icon{font-size:32px;color:var(--blue)}#attendance-photo{max-width:100%;font-size:11px}#photo-preview{max-height:160px;width:100%;object-fit:contain;margin-top:15px;border-radius:12px}.confirm-actions{display:flex;gap:10px;align-items:center;margin-top:20px}.confirm-actions .primary{margin:0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173166;color:#fff;max-width:calc(100% - 30px);width:max-content;border-radius:15px;padding:13px 20px;box-shadow:0 8px 30px #111c4b30;z-index:50;font-size:13px}.toast.error{background:#8d2940}.offline-banner{position:fixed;top:0;left:0;right:0;padding:10px 20px;text-align:center;background:#fff0cb;color:#634712;z-index:60;font-size:12px}.spinner{display:inline-block;width:17px;height:17px;border:2px solid #ffffff65;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:800px){#login-view{padding-top:15px}.hero{max-width:750px;margin:auto}.welcome-card{margin-top:-12px;position:relative;z-index:5}#exam-view{max-width:740px;margin:auto}}@media(max-width:760px){.app-shell{max-width:520px}.topbar{height:77px;padding:17px 20px;border-radius:0 0 23px 23px}.brand{font-size:16px}.logo{width:42px;height:42px;border-radius:13px;font-size:17px}main{padding:22px 17px 30px}.hero{padding:25px 20px;min-height:258px}.hero h1{font-size:29px}.hero-copy{max-width:68%}.hero p{font-size:12px}.hero-art{left:-24px;width:43%;transform:scale(.88)}.welcome-card{padding:22px 18px}.profile-card{grid-template-columns:1fr;padding:20px;gap:17px}.progress-wrap{grid-column:1;grid-row:auto}.progress-ring{width:132px;height:132px}.task-grid{grid-template-columns:1fr}.task{min-height:0;padding:20px}.task-top{margin-bottom:12px}.task .primary{margin-top:12px}.task h3{font-size:17px}.task p{font-size:12px}.app-footer{padding:16px 20px}.question{padding:19px 16px}.team-summary{gap:6px}.team-stat strong{font-size:19px}.team-stat span{font-size:10px}.eyebrow{font-size:9px}.ttt-stats strong{font-size:19px}}
.result-card{max-width:680px}.wrong-review{text-align:right;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.wrong-review>h3{margin:0 0 13px;font-size:17px}.wrong-answer{padding:16px;margin-top:11px;border:1px solid #ffd7df;border-radius:16px;background:#fff8fa}.wrong-answer h3{font-size:14px;white-space:pre-line;margin:7px 0 12px}.wrong-number{display:inline-block;font-size:10px;color:#a52b44;background:#ffe9ee;border-radius:20px;padding:3px 9px}.wrong-answer .wrong-selected{color:#a52b44;font-weight:700}.wrong-answer .correct-answer{color:#17744b;font-weight:700}.all-correct{text-align:center!important;color:#17744b!important;font-size:14px!important;font-weight:700;padding:16px;border-radius:14px;background:#eaf8f1}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}