*{box-sizing:border-box}body{margin:0;background:#f7f6f0;color:#233c35;font:16px/1.65 system-ui,sans-serif}header,main,footer{max-width:1000px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}a{color:#246b59}header a{text-decoration:none;font-weight:800}h1{font-size:clamp(30px,5vw,54px);line-height:1.15;margin:12px 0}h2{line-height:1.3}.hero{background:#dcece1;padding:36px;border-radius:24px}.tag{font-size:12px;letter-spacing:2px;font-weight:bold}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:24px 0}.card,section.panel{background:white;border:1px solid #dce3dc;border-radius:16px;padding:22px}.card a{font-weight:bold}button,select,input{font:inherit;padding:10px;border-radius:8px;border:1px solid #a9b9ae}button{background:#245e4d;color:white;cursor:pointer}label{display:inline-block;margin:8px}#paper{background:white;color:#111;padding:24px;margin-top:20px}svg{display:block;width:100%;max-height:155mm;margin:auto} .problems{display:grid;grid-template-columns:1fr 1fr;gap:18px}.problem{min-height:44px;border-bottom:1px solid #ddd}.answer{break-before:page;margin-top:30px}footer{font-size:14px} @page{size:A4;margin:12mm}@media print{body{background:white}header,footer,.no-print{display:none!important}main,#paper{padding:0;margin:0;max-width:none}#paper{font-size:13pt}.answer{page-break-before:always}.problem{break-inside:avoid}svg{max-height:175mm}}