:root{--gold:#f6b600;--brown:#5b250e;--black:#111;--cream:#fff8e8;--green:#19a55a;--red:#c83b2b}*{box-sizing:border-box}body{margin:0;background:#17120d;color:#221;font-family:Arial,Helvetica,sans-serif}.top{background:#090909;color:#fff;border-bottom:4px solid var(--gold);display:flex;justify-content:space-between;align-items:center;padding:14px 22px}.brand{display:flex;gap:12px;align-items:center}.brand small{display:block;color:#e6c66b}.stag{border:2px solid var(--gold);color:var(--gold);padding:8px;border-radius:50%;font-weight:800}.top a{color:#fff;margin-left:14px}.wrap{max-width:1180px;margin:22px auto;padding:0 16px}.card{background:#fff;border-radius:14px;padding:22px;margin:16px 0;box-shadow:0 8px 24px #0005;border-top:5px solid var(--gold)}h1,h2,h3{margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.btn,button{background:var(--gold);border:0;color:#1b1200;padding:11px 15px;border-radius:8px;font-weight:800;text-decoration:none;display:inline-block;cursor:pointer}.btn.dark{background:#111;color:#fff}.btn.green{background:var(--green);color:#fff}.btn.red{background:var(--red);color:#fff}input,select,textarea{width:100%;padding:11px;border:1px solid #ccc;border-radius:8px;margin:5px 0 12px}.meta{color:#666}.pill{display:inline-block;padding:4px 9px;border-radius:20px;background:#eee;margin:2px}.progress{height:14px;background:#eee;border-radius:12px;overflow:hidden}.progress b{display:block;height:100%;background:var(--green)}table{width:100%;border-collapse:collapse;background:#fff}td,th{padding:9px;border-bottom:1px solid #ddd;text-align:left}.hero{background:linear-gradient(135deg,#130b05,#48200c);color:#fff;border:1px solid #8a5a13}.hero img.logo{max-width:190px;float:right}.lesson-img{max-width:100%;border:1px solid #ddd;border-radius:10px;margin:10px 0}.question{border:1px solid #ddd;padding:14px;border-radius:10px;margin:12px 0;background:#fffdf7}.correct{color:var(--green);font-weight:800}.wrong{color:var(--red);font-weight:800}.foot{text-align:center;color:#d7c18d;padding:30px}.certificate{background:#fff;border:12px solid var(--gold);padding:45px;text-align:center;max-width:900px;margin:20px auto}.cert-title{font-size:42px;font-weight:900}.small{font-size:12px;color:#666}@media print{.top,.foot,.no-print{display:none}.wrap{max-width:none}.certificate{box-shadow:none}}
