*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:#eef3f8;color:#14263b;font-family:'Segoe UI',Arial,sans-serif;line-height:1.45}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}input,select,textarea{width:100%;padding:.68rem .8rem;min-height:44px;background:white;border:1px solid #becdd9;border-radius:10px;color:#14263b}textarea{resize:vertical}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #83bafa;outline-offset:3px}input[type=checkbox],input[type=radio]{width:20px;min-height:20px;accent-color:#167969}a{color:#176e64}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;line-height:1.12;letter-spacing:-.035em;margin-bottom:.75rem}h2{font-size:1.45rem;letter-spacing:-.025em}h3{font-size:1.05rem}.hidden{display:none!important}.loading{padding:25vh;text-align:center}.brand{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:800;letter-spacing:-.035em;white-space:nowrap}.brand small{font-weight:500;opacity:.5;font-size:.8rem;margin-left:4px}.brand-mark{background:#d2f66d;color:#102537;width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-size:1.6rem}.top{padding:14px 28px;background:#fff;border-bottom:1px solid #dce5ee;display:flex;align-items:center;justify-content:space-between;gap:15px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:.65rem 1rem;border:1px solid transparent;border-radius:11px;background:#e8eff5;color:#142a40;font-weight:650;text-decoration:none}.btn.primary{background:#187b6c;color:white}.btn.dark{background:#13263c;color:#fff}.btn.danger{background:#fae3e1;color:#ab2930}.btn.ghost{background:transparent;border-color:#cbd8e3}.btn.sm{padding:.4rem .7rem;min-height:35px;font-size:.87rem}.btn.full{width:100%;margin-top:10px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions.vertical{align-items:stretch;flex-direction:column;margin:15px 0}.card{padding:22px;border:1px solid #dbe5ed;border-radius:20px;background:#fff;box-shadow:0 6px 24px #15304b08}.eyebrow{display:block;color:#5a7788;letter-spacing:.11em;font-size:.76rem;font-weight:750;margin-bottom:10px}.pill{display:inline-block;background:#e9f2ee;color:#2d675c;font-size:.82rem;padding:5px 10px;border-radius:9px}.small{font-size:.875rem}.muted{color:#657c8e}.mono{font-family:Consolas,monospace;font-size:.88rem}.field{display:block;margin-bottom:15px}.field>span{display:block;font-size:.88rem;font-weight:650;margin-bottom:5px}.error{padding:12px;border-radius:11px;background:#ffedeb;color:#a52a31}.notice{padding:13px;border-radius:12px;background:#e8f4ef;color:#316958;font-size:.9rem}.segmented{display:flex;gap:5px;background:#eff3f7;padding:5px;border-radius:12px;margin:12px 0 18px}.segmented button{flex:1;background:transparent;color:#4a6578;border:0;border-radius:9px;padding:10px;font-weight:650}.segmented button.active{background:#fff;box-shadow:0 2px 6px #1233;color:#176e64}.landing{min-height:100vh;background:radial-gradient(ellipse at 10% 70%,#174b4f80,transparent 55%),#101c2d;color:white}.landing header{display:flex;justify-content:space-between;align-items:center;padding:25px 4vw}.landing header a{color:#afc3d6;text-decoration:none;font-size:.9rem}.hero{max-width:1180px;padding:55px 25px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}.hero h1{font-size:clamp(2.8rem,5vw,4.5rem);line-height:1.06}.hero h1 em{font-style:normal;color:#d2f66d}.hero .eyebrow{color:#91b4b1}.lead{color:#b4cadb;font-size:1.12rem;max-width:490px}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:35px}.mode-cards>div{border:1px solid #466478;border-radius:14px;padding:15px}.mode-cards b{display:block;margin-bottom:5px}.mode-cards span{font-size:.86rem;color:#91acbf}.join-card{padding:28px;background:white;border-radius:24px;color:#14263b;box-shadow:0 20px 60px #0003}.join-card h2{margin-bottom:20px}#joinCode{text-transform:uppercase;letter-spacing:.2em;font-size:1.3rem;font-weight:800}.waiting,.result{max-width:820px;margin:7vh auto;padding:32px;text-align:center}.waiting-icon{font-size:3rem;color:#19836c;margin:15px}.waiting p{max-width:600px;margin:15px auto}.result-score{font-size:5rem;font-weight:850;letter-spacing:-.07em;color:#147967;margin:20px 0 0}.result details{text-align:left;margin:20px 0}.review{border-top:1px solid #dbe5ed;padding-top:15px;margin-top:15px}.review p{font-size:.9rem}.login{max-width:500px;margin:8vh auto}.exam-top{background:#101f31;color:#fff;position:sticky;top:0;z-index:10}.top-stat{display:flex;align-items:center;gap:18px}.score{color:#d2f66d;font-weight:700;font-size:.95rem}.timer{font-size:1.75rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.03em;white-space:nowrap}.student-meta{display:flex;justify-content:space-between;gap:12px;margin:12px auto 8px;max-width:1280px;padding:0 22px;color:#597286;font-size:.83rem}.visited{display:flex;justify-content:center;gap:5px;padding:0 16px 8px;flex-wrap:wrap}.visit{min-width:36px;border:1px solid #d0dce6;color:#648094;padding:5px 7px;border-radius:8px;background:transparent;font-size:.82rem}.visit.current{border-color:#1a8975;background:#e1f1ea;color:#176e61}.visit.answered{background:#dcece4;color:#246854}.visit.skipped{background:#f8e9de;color:#8e5938}.student-main{max-width:1280px;margin:0 auto 20px;padding:0 22px}.question-card{padding:18px 22px}.question-heading{display:flex;justify-content:space-between;gap:12px}.question-heading .eyebrow{margin-bottom:7px}.hint{font-size:.8rem;color:#78909e}.question-card h1{font-size:1.8rem;margin-bottom:8px}.q-text{font-size:.98rem;color:#4b6578;margin-bottom:12px}.question-body{display:grid;grid-template-columns:1fr;gap:14px}.question-body.has-figure{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center}.figure:empty{display:none}.figure.matching{grid-column:1/-1}.diagram{background:#fbfdff;border:1px solid #dfE8ef;border-radius:14px;overflow:hidden}.diagram svg{width:100%;display:block;max-height:265px;color:#234054}.cl{fill:white;stroke:#234054;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.diagram text{fill:#234054;font-family:'Segoe UI',Arial}.port{stroke:#3b9c8b;stroke-width:3;fill:#fff;cursor:pointer}.selected .port{fill:#d2f66d;stroke:#147b69;stroke-width:5}.wire{stroke:#23907d;stroke-width:3;fill:none}.wire-hit{stroke:transparent;stroke-width:17;fill:none;cursor:pointer}.photos{display:flex;gap:10px;justify-content:center}.photo{position:relative;display:flex;flex-direction:column;width:100%;max-width:480px;background:#fff;border:1px solid #dce6ed;border-radius:12px;overflow:hidden;padding:0;color:#315065}.photo>span{display:block;width:100%;text-align:left;background:#f0f5f8;padding:5px 10px;font-size:.8rem;font-weight:650}.photo img{width:100%;height:220px;object-fit:contain;background:white}.photo small{position:absolute;bottom:7px;right:7px;padding:3px 7px;border-radius:9px;background:#142b40ca;color:white;font-size:.7rem}.match-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.match-grid .photo img{height:170px}.match-grid select{margin-top:8px;font-size:.9rem}.part{margin:9px 0}.part-label{display:block;font-size:.91rem;font-weight:650;margin-bottom:6px;line-height:1.3}.part-label:empty{display:none}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{position:relative;display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #d3dfe8;background:#fff;border-radius:11px;cursor:pointer;min-height:52px;font-size:.92rem;line-height:1.25}.choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:1px}.choice b{flex-shrink:0;display:grid;place-items:center;background:#edf3f7;border-radius:7px;width:27px;height:27px;color:#5c7586;font-size:.82rem}.choice:has(input:checked){border-color:#248d78;background:#e9f5ee}.choice:has(input:checked) b{background:#1b806e;color:white}.choice:has(input:focus-visible){outline:3px solid #83bafa}.choice.correct{border:2px solid #178557;background:#e2f5df}.number-answer{display:flex;align-items:center;gap:10px}.number-answer input{max-width:200px;font-size:1.1rem}.number-answer>span{color:#607b8b}.wire-tools{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.wire-tools>span{width:100%;color:#678293;font-size:.8rem}.question-footer{margin-top:14px;padding-top:12px;border-top:1px solid #e1e9ef;display:flex;align-items:center;justify-content:space-between;gap:15px}.feedback{background:#e8f5e8;color:#2c7050;border-radius:10px;padding:10px 13px;margin-top:12px}.quiz-phone.question-card{max-width:900px;margin:auto}.quiz-phone .question-body{grid-template-columns:1fr}.quiz-phone .photo img{height:190px}.quiz-phone .diagram svg{max-height:200px}.quiz-phone h1{font-size:1.8rem}.quiz-phone .choices{grid-template-columns:1fr 1fr}.quiz-phone .choice{font-size:1.1rem;min-height:64px}.overview{text-align:center;padding:50px 20px}.modal{position:fixed;inset:0;background:#081727a8;display:flex;align-items:center;justify-content:center;padding:25px;z-index:50;backdrop-filter:blur(4px)}.modal-card{position:relative;background:#fff;border-radius:20px;padding:26px;width:min(560px,100%);max-height:92vh;overflow:auto;box-shadow:0 25px 90px #0004}.modal-card.wide{width:min(980px,100%)}.modal-close{position:absolute;right:15px;top:15px;border:0;background:#eef4f7;border-radius:50%;width:32px;height:32px;font-size:1.3rem}.modal-card h2{padding-right:30px}.zoom-image{width:100%;max-height:72vh;object-fit:contain}.pause-layer{position:fixed;inset:72px 0 0;z-index:40;background:#eef3f8ed;backdrop-filter:blur(5px);display:grid;place-items:center;text-align:center;padding:30px}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);background:#142c42;color:white;padding:13px 20px;border-radius:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;box-shadow:0 4px 20px #0003}#toast.show{opacity:1;transform:translate(-50%,0)}.calc-display{font-size:1.4rem;margin-bottom:12px;text-align:right}.calc-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;font-size:.92rem}.check input{flex-shrink:0;margin:1px 0}.check-settings{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin:18px 0 6px}.teacher-main{max-width:1500px;margin:auto;padding:20px 25px}.teacher-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px}.room-code{font-size:2.8rem;font-weight:850;letter-spacing:.15em;margin:12px 0;color:#176d62}.connection{background:#eff4f8;border-radius:10px;padding:10px;font-family:Consolas,monospace;font-size:.88rem;overflow-wrap:anywhere}.events-card{margin-top:16px}.event{padding:8px 0;border-bottom:1px solid #e2eaf0}.event b,.event span,.event small{display:block}.event b{font-size:.85rem}.event span,.event small{font-size:.75rem;color:#6b8190}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.section-heading h2,.section-heading h3{margin:0}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:.9rem}.table td,.table th{text-align:left;padding:10px 8px;border-bottom:1px solid #e0e8ee}.table th{font-size:.72rem;color:#6d8494;text-transform:uppercase;letter-spacing:.06em}.table td small{display:block;font-size:.75rem;color:#8092a1;margin-top:3px}.table-score{font-weight:750;color:#197362}.board{min-height:100vh;background:#101e30;color:#eef6ff;padding:22px 35px}.board-header{display:flex;align-items:center;gap:25px;justify-content:space-between;margin-bottom:16px}.board .timer{font-size:2.3rem;color:#d2f66d}.board-tools{display:flex;gap:7px;margin-left:auto}.board-tools .btn{background:#223c51;color:#deebf5}.board-grid{display:grid;grid-template-columns:minmax(0,3.8fr) minmax(230px,1fr);gap:30px}.board-grid.finished{grid-template-columns:1fr 1.5fr;align-items:start}.board-question h1{font-size:clamp(1.7rem,2.4vw,2.8rem);line-height:1.14;margin:12px 0 15px}.board-question>p{color:#b0c6d9;font-size:1.08rem;line-height:1.35;margin-bottom:18px}.board-q-meta{display:flex;justify-content:space-between;color:#91aebf;font-size:.88rem;gap:12px}.board-q-layout{display:grid;grid-template-columns:1fr;gap:20px}.board-q-layout:has(.board-figure){grid-template-columns:1fr 1.1fr;align-items:center}.board-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.board-q-layout:has(.board-figure) .board-options{grid-template-columns:1fr}.board-option{display:flex;align-items:center;gap:14px;background:#1a3045;border:1px solid #36526a;border-radius:15px;padding:16px;min-height:82px;font-size:clamp(1.1rem,1.6vw,1.65rem);font-weight:650;line-height:1.2}.board-option b{display:grid;place-items:center;background:#304b61;color:#b9d1e4;width:35px;height:35px;border-radius:9px;flex-shrink:0;font-size:1rem}.board-option.correct{background:#244d3b;border-color:#d2f66d;color:#e8ffc5}.board-option.correct b{background:#d2f66d;color:#16382b}.board .diagram svg{max-height:310px}.board .photo img{height:300px}.board-grid aside>h3{font-size:.8rem;color:#8ca9bd;text-transform:uppercase;letter-spacing:.12em}.rank-row{display:flex;align-items:center;gap:10px;padding:12px 8px;border-bottom:1px solid #dce5ed}.rank-row>span{flex:1;font-size:.9rem;line-height:1.2}.rank-row>span small{display:block;font-size:.73rem;color:#8ca3b3;margin-top:4px}.rank-row .place{color:#99b2c4;min-width:20px;text-align:center}.rank-row>strong{font-variant-numeric:tabular-nums}.board .rank-row{border-color:#2c445b}.board .rank-row>strong{color:#d2f66d;font-size:1.1rem}.board .rank-row:first-child .place{color:#d2f66d}.reveal-banner{margin-top:15px;padding:10px 15px;border-radius:12px;background:#d2f66d;color:#183522;font-weight:700}.board-wait{text-align:center;padding:50px 0}.board-wait h1{font-size:2.6rem}.board-wait p{color:#adc8da;font-size:1.2rem}.board-wait .room-code{font-size:4rem;color:#d2f66d}.board-wait .eyebrow{color:#85b2a1}.board-footer{display:flex;justify-content:space-between;font-size:.75rem;color:#7292a8;gap:16px;margin-top:18px}.board-paused{background:#d2f66d;color:#193b2e;border-radius:12px;text-align:center;padding:10px;font-weight:800;margin-bottom:18px}.empty{padding:25px;color:#6d879b;text-align:center}#quizPreview .board-question h1{font-size:1.5rem}#quizPreview .board-option{background:#eef4f8;color:#254255;font-size:1rem;min-height:55px;padding:10px}#quizPreview .board-option b{background:#dae6ef;color:#55778e}#quizPreview .board-option.correct{border-color:#279367;background:#e2f3e5}#quizPreview .board-question>p{color:#59768b;font-size:.9rem}#quizPreview .board-figure .photo img{height:200px}
@media(min-height:850px) and (min-width:1000px){.question-card{padding:26px}.diagram svg{max-height:320px}.photo img{height:280px}.match-grid .photo img{height:220px}.question-card h1{font-size:2.05rem}}
@media(max-width:1000px){.hero{gap:35px}.teacher-grid{grid-template-columns:270px minmax(0,1fr)}.board{padding:20px}.board-grid{gap:20px;grid-template-columns:minmax(0,3fr) minmax(190px,1fr)}.board-option{font-size:1.1rem;padding:12px}.board .photo img{height:240px}}
@media(max-width:720px){.top{padding:10px 14px;min-height:64px}.brand{font-size:1rem}.brand-mark{width:33px;height:33px}.brand small{display:none}.hero{grid-template-columns:1fr;padding:20px 18px;gap:25px}.hero h1{font-size:2.6rem}.hero .lead{font-size:.98rem}.mode-cards{margin-top:20px}.landing header{padding:15px 18px}.join-card{padding:21px}.hero>section:first-child{display:none}.landing{min-height:100dvh}.top-stat{gap:10px}.exam-top .brand>span:last-child{display:none}.timer{font-size:1.4rem}.score{font-size:.76rem;max-width:120px}.student-meta{padding:0 12px;font-size:.72rem;flex-wrap:wrap;gap:3px 10px;margin:8px auto}.student-meta [data-network]{display:none}.student-main{padding:0 10px;margin-bottom:12px}.question-card{padding:16px 14px;border-radius:15px}.question-card h1,.quiz-phone h1{font-size:1.35rem;line-height:1.18}.q-text{font-size:.86rem;margin-bottom:9px}.question-heading .eyebrow{font-size:.64rem}.hint{font-size:.64rem}.question-body.has-figure{grid-template-columns:1fr;gap:8px}.diagram svg,.quiz-phone .diagram svg{max-height:170px}.photo img,.quiz-phone .photo img{height:160px}.part{margin:6px 0}.part-label{font-size:.85rem;margin-bottom:5px}.choices,.quiz-phone .choices{gap:7px;grid-template-columns:1fr 1fr}.choice,.quiz-phone .choice{min-height:54px;font-size:.86rem;padding:9px;gap:6px}.choice b{width:22px;height:22px;font-size:.72rem}.question-footer{align-items:stretch;flex-direction:column;gap:8px;margin-top:11px;padding-top:10px}.question-footer>.actions{justify-content:stretch}.question-footer .actions .btn{flex:1;padding:.55rem .65rem;font-size:.85rem}.question-footer #saveState{font-size:.71rem}.quiz-phone .question-footer .btn{width:100%;min-height:48px}.quiz-phone .question-heading{display:none}.quiz-phone .part-label{font-size:.86rem}.quiz-phone .feedback{font-size:.87rem}.match-grid{grid-template-columns:1fr 1fr;gap:9px}.match-grid .photo img{height:105px}.match-grid select{font-size:.8rem;padding:7px}.waiting,.result{margin:5vh 12px;padding:25px 18px}.waiting h1,.result h1{font-size:1.7rem}.result-score{font-size:4rem}.visited{gap:4px;justify-content:flex-start;padding:0 11px 8px}.visit{min-width:29px;font-size:.7rem;padding:4px}.modal{padding:12px}.modal-card{padding:22px 18px}.settings-row,.check-settings{grid-template-columns:1fr;gap:0}.teacher-main{padding:12px}.teacher-grid{grid-template-columns:1fr;gap:15px}.teacher-main .card{padding:17px}.table{font-size:.8rem}.events-card{display:none}.login{margin:5vh 15px}.board-grid,.board-grid.finished{grid-template-columns:1fr}.board-q-layout:has(.board-figure){grid-template-columns:1fr}.board-option{font-size:1.05rem}.board-tools{flex-wrap:wrap;justify-content:flex-end}.board-header>.brand{display:none}.board .timer{font-size:1.6rem}.board-wait h1{font-size:2rem}.board .photo img{height:180px}.board-footer{flex-direction:column}.pause-layer{inset:64px 0 0}}

.result-item{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #dfe7ed;padding:9px 0;font-size:.9rem}.result-item b{white-space:nowrap}@media(max-width:720px){.quiz-phone .q-text{font-size:.95rem}.quiz-phone .choice{font-size:1rem}}

.release-badge{display:inline-block!important;font-size:.85rem!important;font-weight:800!important;opacity:1!important;letter-spacing:0;padding:4px 8px;border-radius:8px;background:#d2f66d;color:#14263b}.mode-launch{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px;margin-bottom:20px;align-items:stretch}.mode-launch h1{font-size:1.8rem;margin-bottom:6px}.mode-launch p{font-size:.9rem;margin-bottom:0}.mode-start{border:2px solid #228a74;border-radius:18px;background:#e8f4eb;color:#174e42;padding:20px;text-align:left;transition:background .15s}.mode-start:hover{background:#d7eedf}.mode-start b{display:block;font-size:1.5rem;margin-bottom:8px}.mode-start span{display:block;font-size:.86rem;line-height:1.4}.mode-start.exam{border-color:#45618b;background:#e8effa;color:#243f66}.mode-start.exam:hover{background:#dae6f7}@media(max-width:900px){.mode-launch{grid-template-columns:1fr 1fr}.mode-launch-title{grid-column:1/-1}}@media(max-width:560px){.mode-launch{grid-template-columns:1fr}.mode-launch-title{grid-column:auto}.mode-start{padding:16px}}
