:root{--navy:#193674;--purple:#7a249b;--pink:#ed326b;--yellow:#ffc933;--chocolate:#693c2f;--cream:#fffaf5;--light:#f5eaf6;--border:#ead9e9;--green:#187e50;--red:#b43343}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fdfbf9;color:var(--chocolate);font:13px 'Century Gothic','CenturyGothic','URW Gothic L','Trebuchet MS',sans-serif;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3{line-height:1.22;color:var(--navy)}h1{font-size:clamp(36px,5.5vw,68px);font-weight:900;margin:18px 0}h1 small{display:block;font-size:.39em;color:var(--purple);margin-top:8px}h2{font-size:clamp(25px,3vw,34px);margin:0;font-weight:900}h3{font-size:20px;margin:16px 0 12px}p{margin:8px 0 14px}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px clamp(14px,4vw,52px);background:white;border-bottom:5px solid var(--navy);position:relative}.brand{font-weight:900;font-size:17px;color:var(--navy);letter-spacing:.4px}.brand strong{color:var(--pink)}.mark{display:inline-grid;place-items:center;background:var(--yellow);height:32px;width:32px;border-radius:50%;margin-right:8px}.eyebrow{font-weight:800;color:var(--purple)}.quiet{border:1px solid var(--purple);background:white;color:var(--purple);border-radius:30px;padding:8px 14px}.shell{max-width:1150px;margin:auto;padding:22px 16px 70px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center;padding:25px;border-radius:22px;background:linear-gradient(125deg,#fff 45%,#fff1d6);border:2px solid #f2e6ce}.hero img{width:100%;height:340px;object-fit:cover;border-radius:30px;border:6px solid white;box-shadow:0 8px 28px #55333328}.hero p{font-size:17px;max-width:450px}.label,.smalltag{display:inline-block;background:var(--navy);color:white;border-radius:30px;padding:8px 13px;font-weight:800;letter-spacing:.5px}.label.red{background:var(--pink)}.brush-yellow{background:linear-gradient(0deg,transparent 11%,var(--yellow) 11%,var(--yellow) 85%,transparent 85%);padding:0 10px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips span{background:#f3dcff;color:#602678;padding:6px 11px;border-radius:40px;font-weight:800}.section{background:white;margin:24px 0;border:2px solid var(--border);border-radius:20px;padding:26px;box-shadow:0 5px 20px #4320540c;scroll-margin-top:80px}.sectionhead{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.sectionhead p{margin:5px 0 0;font-size:14px}.num{background:var(--yellow);color:var(--navy);display:grid;place-items:center;border:3px solid white;outline:2px solid #f5cf67;border-radius:50%;width:54px;height:54px;flex:none;font-size:25px;font-weight:900}.time{margin-left:auto;border-radius:50px;background:var(--light);padding:7px 14px;color:var(--purple);font-weight:800;white-space:nowrap}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:760px}label{display:block;font-weight:800;margin-bottom:12px}input:not([type=radio]),textarea,select{width:100%;border-radius:10px;border:2px solid #ddd1e1;background:white;padding:11px;color:var(--chocolate);outline-offset:2px;margin-top:5px}textarea{resize:vertical;min-height:125px}input:focus,textarea:focus,select:focus{border-color:var(--purple)}.primary{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:white!important;text-decoration:none;border:0;border-radius:11px;padding:12px 20px;font-weight:900;margin-top:10px;box-shadow:0 4px 0 #0a1f4d}.primary:hover{background:var(--purple)}.large{font-size:16px;padding:16px 22px}.hint{color:#81717b}.sticky-progress{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;background:#fffdf9f5;border:1px solid #e5d6e0;padding:10px 16px;border-radius:12px;margin-top:20px;backdrop-filter:blur(8px)}.meter{height:8px;max-width:250px;flex:1;background:#e7e0e7;border-radius:20px;overflow:hidden}.meter i{display:block;background:var(--green);height:100%;width:0;transition:width .3s}.instruction{background:#f6eaf8;border-left:6px solid var(--purple);border-radius:9px;padding:12px 15px;margin:14px 0 20px}.note{background:#fff5db;border-left:5px solid #ebad21;border-radius:8px;padding:12px;margin:13px 0}.vocabgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.vocabcard{border:1px solid #eee1df;border-radius:15px;padding:10px;position:relative;background:#fffdfa}.vocabcard img{width:100%;height:130px;object-fit:cover;border-radius:10px}.vocabcard .number{background:var(--yellow);display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;color:var(--navy);font-weight:900;font-size:18px;position:absolute;left:4px;top:4px;border:2px solid white}.vocabcard label{font-size:12px;margin:8px 0 0}.vocabcard select{margin:3px 0}.item-result{font-weight:800;font-size:12px;min-height:19px}.ok{color:var(--green)}.wrong{color:var(--red)}.pronounceGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.pronounceCard{border:1px solid #e8d7e8;background:var(--cream);border-radius:14px;padding:12px;display:grid;grid-template-columns:92px 1fr;gap:12px}.pronounceCard img{width:92px;height:100px;object-fit:cover;border-radius:10px}.pronounceCard h3{margin:0 0 4px;font-size:18px}.miniBtn{border:1px solid var(--purple);color:var(--purple);background:white;border-radius:20px;padding:6px 10px;margin:3px 5px 3px 0;font-weight:800}.miniBtn.recording{background:var(--pink);color:white}.recordstatus{font-size:11px;color:var(--chocolate)}.pronounceCard input{padding:8px}.questionlist{display:grid;gap:12px}.qrow{background:#fffcf8;border:1px solid #eadfe7;border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:1fr minmax(190px,.55fr);gap:12px;align-items:center}.qrow strong{color:var(--navy)}.qrow input{margin:0}.radioOptions{display:flex;flex-wrap:wrap;gap:12px}.radioOptions label{margin:0;display:flex;align-items:center;gap:5px}.radioOptions input{accent-color:var(--purple)}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:18px}.feedback{font-weight:800;display:block;white-space:pre-wrap}.feedback.good{color:var(--green)}.feedback.bad{color:var(--red)}.wordbank{background:#fff2c8;padding:10px 14px;border-radius:10px;margin-bottom:14px;font-weight:800}.readingwrap{display:grid;grid-template-columns:2.4fr 1fr;gap:16px;margin-bottom:22px}.readingwrap img{width:100%;height:100%;max-height:350px;object-fit:cover;border-radius:14px}.readingpaper{background:#fffdf7;border-radius:12px;padding:20px;border:2px solid #efe4d7;font-size:15px}.readingpaper h3{margin-top:0}.grammarintro{display:flex;gap:18px;align-items:center}.grammarintro img{width:180px;height:125px;object-fit:cover;border-radius:12px}.grammargrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:18px}.gramcard{background:var(--cream);border:2px solid #e6d5e5;border-radius:15px;padding:17px}.gramcard h3{margin:7px 0}.gramcard p{font-size:15px}.gramcard small{color:var(--purple);font-weight:700}.smalltag{background:var(--purple);font-size:11px}.rule{background:#fff1c9;border-radius:8px;padding:13px;font-size:15px;margin:17px 0}.external{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center}.external img{width:190px;height:190px;object-fit:cover;border-radius:15px}.external label{margin-top:16px}.writingcols{display:grid;grid-template-columns:2fr 1fr;gap:20px}.writingphoto{width:100%;max-height:270px;object-fit:cover;border-radius:16px}.checks{line-height:2.2;background:var(--light);padding:14px;border-radius:12px}.counter{text-align:right;color:var(--purple);font-weight:800}.scores{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.scorecard{background:#f7eef8;padding:14px;border-radius:12px;border:1px solid #dbc9e4}.scorecard b{font-size:27px;color:var(--navy)}.finish{border-color:var(--yellow)}.modalBackdrop{position:fixed;inset:0;background:#0a1842c9;z-index:90;display:grid;place-items:center;padding:14px}.modalBackdrop[hidden], [hidden]{display:none!important}.teacherpanel{background:white;width:min(980px,100%);max-height:92vh;overflow:auto;border-radius:17px;padding:24px;position:relative}.close{float:right;background:var(--pink);color:white;border:0;border-radius:50%;height:30px;width:30px;font-size:21px}.adminrows{display:grid;gap:10px;margin-top:20px}.studentrecord{border:1px solid #e4d4e4;padding:16px;border-radius:13px}.studentrecord details{margin:8px 0}.studentrecord audio{width:min(100%,360px);display:block;margin:5px 0}.adminGrade{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.adminGrade label{max-width:180px}.muted{color:#826e7a}.activity-result{margin-top:6px;font-size:12px;font-weight:800}.checkerror{outline:2px solid #f3b0bb}hr{border:0;border-top:1px solid #e4d4e4}@media(max-width:760px){.eyebrow{display:none}.hero{grid-template-columns:1fr}.hero img{height:210px}.section{padding:16px}.vocabgrid{grid-template-columns:repeat(2,1fr)}.pronounceGrid,.grammargrid,.writingcols,.readingwrap,.formgrid{grid-template-columns:1fr}.qrow{grid-template-columns:1fr}.scores{grid-template-columns:repeat(2,1fr)}.sectionhead{gap:10px}.time{display:none}.external{grid-template-columns:1fr}.external img{width:100%;height:180px}.grammarintro img{width:110px;height:105px}.sticky-progress{flex-wrap:wrap}.pronounceCard{grid-template-columns:70px 1fr}.pronounceCard img{width:70px;height:90px}}
