@font-face{font-family:PlaypenWorksheets;src:url('playpen.ttf') format('truetype');font-display:swap}:root{--ink:#1d3558;--navy:#203965;--lime:#8cc63f;--pale:#f2f7eb}*{box-sizing:border-box}body{margin:0;background:#eef3f5;color:#21324a;font:17px/1.7 Arial,sans-serif}a{color:#174873}header{background:linear-gradient(120deg,#1e3c72,#376583);color:#fff;padding:28px max(20px,calc((100vw - 1050px)/2));}header a{color:#fff}h1{font-size:clamp(26px,4vw,43px);line-height:1.2;margin:10px 0}h2{font-size:24px;color:#203965}h3{color:#254773}p{margin:.55em 0 1em}.wrap{width:min(1050px,calc(100% - 30px));margin:24px auto 80px}.panel{background:white;border-radius:16px;padding:24px;margin:18px 0;box-shadow:0 2px 14px #1c365216}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.card{border:2px solid #dce7eb;background:#fff;border-radius:14px;padding:17px}.card a{font-weight:bold}.tag{display:inline-block;padding:4px 11px;background:#e5f3cc;color:#234500;border-radius:99px;font-size:14px}.comic{display:flex;gap:12px;align-items:center;background:#eff7e7;border-radius:16px;padding:12px;margin:20px 0}.comic img{width:82px;max-height:100px;object-fit:contain}.comic q{display:block;padding:12px;background:white;border-radius:12px;flex:1}.example{border-right:6px solid #8cc63f;background:#f0f7e7;padding:13px 17px;border-radius:12px}.notice{border-right:5px solid #e6a945;background:#fff7e8;padding:12px}.steps{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:8px}.step{background:#e8f0f9;border-radius:10px;padding:8px;text-align:center}.gridtbl{border-collapse:collapse;width:100%;max-width:550px}.gridtbl td,.gridtbl th{border:1px solid #b9c8d6;padding:5px 9px;text-align:center}.bar{display:inline-block;background:#8cc63f;color:#182b0a;border-radius:4px;padding:4px 8px}.exercise{border-bottom:1px solid #dce4eb;padding:12px 0}.exercise:last-child{border:0}.level{font-size:14px;font-weight:bold;color:#285a7c}.answer{width:100%;padding:9px;min-height:55px;resize:vertical;border:1px solid #b4cbd4;border-radius:8px;font:inherit}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.report-grid label{display:block;font-weight:600}.report-grid textarea,.report-grid input{display:block;width:100%;font:inherit;padding:8px;border:1px solid #bdc9d2;border-radius:7px;background:white}.report-grid textarea{min-height:70px}.puzzle td{width:32px;height:32px;padding:0;text-align:center;border:1px solid #778da2;font-weight:bold}.puzzle{border-collapse:collapse;direction:ltr}.cross td{width:31px;height:31px;border:1px solid #a4b2c0;text-align:center}.cross .void{background:#edf0f3;border:0}.stage{border-top:4px solid var(--lime)}.stage small{color:#5b6572}.media{font-size:14px;background:#eef3f6;border:1px dashed #a5b3bd;border-radius:8px;padding:8px}.links a{display:inline-block;margin:4px 0 4px 12px}.print-head{display:none}.worksheet{background:#fff}.worksheet h2{break-after:avoid}.worksheet p,.worksheet .task,.worksheet small{overflow-wrap:anywhere;word-break:break-word}.worksheet .line{border-bottom:1px solid #a6b9c9;height:26px;margin:6px 0}.worksheet .writebox{min-height:85px;border:1px solid #b4c4d2;border-radius:6px;margin:8px 0}.worksheet .workarea{min-height:115px;border:1px dashed #a5b4c2;border-radius:7px}.worksheet .task{margin:10px 0;padding:9px;border:1px solid #d9e2e9;border-radius:9px;break-inside:avoid}.worksheet .task p{margin:4px}.page{background:white;padding:15px 22px;break-after:page;page-break-after:always}.page:last-child{break-after:auto;page-break-after:auto}.worksheet footer,footer{font-size:12px;text-align:center;color:#53647a;margin:20px}.btn{display:inline-block;background:#1f3a73;color:white;border:0;border-radius:8px;padding:10px 18px;font:inherit;cursor:pointer}.bargraph{display:flex;align-items:end;height:130px;gap:18px;border-bottom:2px solid #879bab;padding:10px 8px}.bargraph div{min-width:72px;background:#a7d45a;text-align:center}.legend{font-size:13px}.worksheet, .worksheet p,.worksheet li,.worksheet td,.worksheet h1,.worksheet h2,.worksheet h3,.worksheet label,.worksheet .task,.worksheet footer{font-family:PlaypenWorksheets,Arial,sans-serif!important}@media(max-width:650px){.steps{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1fr}.comic img{width:55px}.wrap{width:calc(100% - 22px)}.panel{padding:15px}.page{padding:14px}}@media print{@page{size:A4;margin:14mm}body{background:white;font-size:12px;line-height:1.45}header,.wrap>nav,.screen-only,.btn{display:none!important}.wrap{width:100%;margin:0}.panel{box-shadow:none;break-inside:avoid;border:1px solid #e6e6e6}.page{height:auto;min-height:255mm}.print-head{display:block}.worksheet .page{padding:0}.worksheet~footer{display:none!important}.worksheet .task{padding:6px}.worksheet h1{font-size:22px}.worksheet h2{font-size:18px}.worksheet .writebox{min-height:62px}.worksheet .workarea{min-height:92px}.comic img{width:55px}}