:root{font-family:Tahoma,Arial,sans-serif;color:#183a31;background:#f4f6ef;line-height:1.65;--dark:#12372e;--green:#dcead4;--light:#f4f6ef;--white:#fff;--line:#d5e0d5;--muted:#4c655c;--gold:#ffe39a;--red:#9a303d;--blue:#dce8fa}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}a{color:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}:focus-visible{outline:3px solid #b55520;outline-offset:3px}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.top{background:var(--white);border-bottom:1px solid var(--line)}.top-inner,.footer,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.top-inner{justify-content:space-between;min-height:76px;padding:8px 0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:bold;line-height:1.4}.brand small{display:block;color:var(--muted);font-size:.82rem;font-weight:normal;margin-top:3px}.brand-icon{display:grid;place-items:center;border-radius:12px;background:var(--dark);color:var(--gold);width:42px;height:42px;font-size:1.4rem}.footer{justify-content:space-between;border-top:1px solid var(--line);margin-top:34px;padding:17px 0 25px;color:var(--muted);font-size:.9rem}main{min-height:70vh;padding-top:25px}.hero{background:var(--dark);color:#fff;border-radius:28px;padding:clamp(24px,5vw,55px);display:grid;grid-template-columns:1.45fr .55fr;align-items:center;gap:18px;overflow:hidden}.hero h1{margin:3px 0 10px}.hero p{color:#e4eee4;max-width:39rem}.tag,.status{display:inline-flex;border-radius:100px;padding:3px 10px;font-size:.88rem;font-weight:bold;background:var(--green);color:var(--dark)}.hero .tag{background:#294d3e;color:#fff1bd}.hero-art{display:grid;place-items:center;min-height:170px;position:relative}.orb{width:min(185px,90%);aspect-ratio:1;display:grid;place-items:center;background:radial-gradient(circle at 40% 35%,#fff3c5,#e8b956);color:var(--dark);border-radius:50%;font-size:82px;box-shadow:0 0 0 10px #ffffff13,0 0 0 22px #ffffff0b;transform:rotate(-10deg)}.hero-art b{position:absolute;color:var(--gold);font-size:1.6rem}.hero-art b:first-child{top:1%;right:5%}.hero-art b:last-child{bottom:1%;left:5%}.hero .primary{background:var(--gold);color:var(--dark)}h1,h2,h3,p{margin:0 0 12px}h1{font-size:clamp(1.75rem,4vw,3rem);line-height:1.35}h2{font-size:clamp(1.25rem,3vw,1.65rem);line-height:1.4}h3{font-size:1.08rem;line-height:1.5}.muted{color:var(--muted)}.section{margin-top:24px}.section-title{margin:26px 0 12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:14px}.subjects,.forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel,.tile{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:19px;min-width:0}.tile:has(a:hover){border-color:#6c8c72}.tile h3,.tile p{margin-bottom:8px}.subject{min-height:135px;background:#e1ecda;border-color:#d0dfc9}.subject.math{background:#e2eaf9;border-color:#d1dcf1}.subject h2{margin-bottom:3px}.panel.narrow{max-width:560px;margin:0 auto}.panel.quiz{max-width:800px;margin:0 auto}.icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;font-weight:bold;background:var(--green);font-size:1.25rem;margin-bottom:10px}.subject.math .icon{background:#cbdafa}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-align:center;background:#e4eee1;border:1px solid #ccdacc;color:var(--dark);border-radius:11px;padding:8px 14px;text-decoration:none;font-weight:bold;cursor:pointer}.btn:hover{filter:brightness(.95)}.btn:disabled{opacity:.6;cursor:default}.btn.primary{color:#fff;background:var(--dark);border-color:transparent}.btn.plain{background:#fff}.btn.warn{color:var(--red);background:#fff3f3}.spread{justify-content:space-between}.inline{display:inline}.stack{display:grid;gap:10px}.right{margin-inline-start:auto}.field{display:block;font-weight:bold;margin-bottom:12px}.field small{display:block;font-weight:normal;color:var(--muted);margin-top:3px}.field input,.field select,.field textarea{background:#fff;margin-top:4px;width:100%;border:1px solid #849b8c;border-radius:9px;padding:8px 11px;min-height:42px;color:var(--dark)}textarea{resize:vertical;min-height:86px}.field input[type=file]{padding:6px}.field input[type=password],.code{direction:ltr;text-align:left}.code{font-family:Consolas,monospace;overflow-wrap:anywhere}.status{background:#edf0ef}.status.good{background:var(--green)}.status.wait{background:#fff0c6}.status.lock{background:#f0f0f0;color:#525b56}progress{display:block;width:100%;height:13px;margin:10px 0;accent-color:#28744e}.passage{font-size:1.1rem;line-height:2.05;background:#f3f7ee;padding:17px;border-radius:15px;margin:13px 0 18px}.question{font-size:1.1rem}.option{display:flex;gap:10px;align-items:center;border:1px solid #a9b9ac;border-radius:10px;min-height:46px;padding:8px 12px;cursor:pointer}.option:has(:checked){background:#e3efe4;border-color:#4b815d}.option input{width:19px;height:19px;accent-color:#236542}.options{margin-bottom:14px}.feedback{padding:11px 14px;border-radius:10px;margin:12px 0;background:#e5f1e2}.feedback.bad{background:#fff0d9}.feedback.error{background:#ffeded;color:#812733}.stars{color:#925700;font-size:2rem;letter-spacing:6px;animation:shine .35s ease-out}@keyframes shine{from{transform:scale(.85)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.stars{animation:none}}.table-wrap{overflow:auto;margin:10px 0}.table-wrap table{width:100%;border-collapse:collapse;text-align:start;font-size:.95rem;white-space:nowrap}.table-wrap th,.table-wrap td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:start}.table-wrap th{background:#edf3ea}.gain{font-weight:bold;color:#1c6444}.loss{font-weight:bold;color:#932e40}.metric strong{font-size:1.45rem;display:block}.metric small{color:var(--muted)}details{margin-top:12px}summary{cursor:pointer;font-weight:bold}.editor-question{margin:10px 0;border:1px solid var(--line);border-radius:10px;padding:10px}.editor-question fieldset{border:0;padding:10px 0 0;margin:0}.certificate{border:3px double #b2842e;text-align:center;padding:40px;background:#fffdf7}.certificate .seal{font-size:2rem;color:#9c662a}.certificate p{margin-bottom:8px}.certificate strong{font-size:1.35rem}#notice:not(:empty){position:fixed;z-index:10;bottom:15px;inset-inline-start:15px;max-width:calc(100% - 30px);color:#fff;background:var(--dark);border-radius:10px;padding:9px 15px;box-shadow:0 3px 15px #0003}#notice:empty{display:none}.hidden{display:none!important}.section:first-child{margin-top:0}@media(max-width:630px){.hero{grid-template-columns:1fr}.hero-art{display:none}.forms{grid-template-columns:1fr}.subject{padding:12px}.subjects{gap:9px}.footer{gap:3px}.panel,.tile{padding:14px}}@media print{.top,.footer,.no-print,#notice{display:none!important}body,main{background:#fff}main.wrap{width:100%;padding:0}.panel{border:0}.table-wrap{overflow:visible}.certificate{break-inside:avoid}thead{display:table-header-group}tr{break-inside:avoid}}
