*{box-sizing:border-box}body{margin:0;background:#f8f4e9;color:#203b4f;font-family:system-ui,sans-serif;line-height:1.55}main{max-width:1080px;margin:auto;padding:20px}header{display:flex;align-items:center;gap:14px;border-bottom:3px solid #b78a42;padding:0 0 12px}h1{font-size:clamp(1.7rem,5vw,2.4rem);line-height:1.15;margin:8px 0}h2{font-size:1.25rem;margin:0 0 12px}a{color:#204e82}nav{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}button,select,input{font:inherit;color:#203b4f;border:1px solid #70859a;border-radius:9px;padding:10px;min-height:44px;background:white;max-width:100%}button{cursor:pointer;background:#315b8c;color:white;border-color:#315b8c;font-weight:650}button.secondary{color:#315b8c;background:white}button:disabled{opacity:.5;cursor:default}input[type=checkbox]{min-height:22px;width:22px;accent-color:#315b8c;flex-shrink:0}label{display:flex;flex-direction:column;gap:5px;font-weight:600}fieldset{border:1px solid #d5c9ad;border-radius:10px;margin:0;padding:12px;min-width:0}legend{font-weight:750;padding:0 5px}fieldset label{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:400;padding:4px 0}section.panel,article.panel{background:white;border:1px solid #d5c9ad;border-radius:15px;padding:18px;margin:16px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:14px}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.row>*{min-width:0}.row button{flex:1 1 155px}.muted{color:#506275;font-size:.95rem}.summary{background:#edf3f7;border-radius:10px;padding:12px}.question{border-bottom:1px solid #ded9cc;padding:12px 0;break-inside:avoid}.question h3{margin:0 0 8px;font-size:1.05rem}.choices{display:flex;gap:10px 24px;flex-wrap:wrap}.visual{font-size:1.35rem;letter-spacing:2px;white-space:pre-wrap;overflow-wrap:anywhere}.swatch{width:64px;height:40px;border:1px solid #555;border-radius:5px}.chips{display:flex;flex-wrap:wrap;gap:5px}.chips span{width:28px;height:28px;border:1px solid #777;border-radius:4px}.line{height:27px;border-bottom:1px solid #aeb8bf;max-width:100%}.drawing{height:130px;border:1px solid #b4bec6;border-radius:4px}.drawing svg{max-width:100%;height:100%}.key{break-before:page}.keyonly{break-before:auto}.award-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.award-grid article{border:1px solid #d5c9ad;border-radius:12px;padding:14px;background:white;display:flex;flex-direction:column;gap:8px}.award-grid h3{margin:0}.award-grid button{margin-top:auto}.award-icon{font-size:2rem;color:#ae843c}.certificate{border:6px double #a17b36;outline:1px solid #a17b36;background:#fffdf6;padding:28px 20px;text-align:center;min-height:390px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:14px;overflow-wrap:anywhere}.certificate h1{font-size:2.1rem}.certificate p{margin:0}.certificate .recipient{font-size:1.5rem;font-weight:750;min-height:38px;max-width:100%}.certificate .rule{height:3px;width:100px;background:#a17b36}.certificate .signatures{display:flex;justify-content:space-between;gap:30px;width:100%;margin-top:24px;font-size:.85rem}.certificate .signatures span{border-top:1px solid #203b4f;flex:1;padding-top:5px}footer{margin-top:24px;font-size:.9rem;color:#506275}[hidden]{display:none!important}:focus-visible{outline:3px solid #b78a42;outline-offset:3px}#paper{display:none}.brand{font-weight:750;letter-spacing:.08em;color:#315b8c}.printhead{border-bottom:2px solid #a17b36;padding-bottom:8px;margin-bottom:12px}.printhead h1{font-size:22pt}.printhead p{margin:4px 0}.printhead img{float:right;width:48px;height:48px}.printhead .muted{font-size:10pt}@page{size:A4;margin:13mm}@media print{body{background:white;color:#111;print-color-adjust:exact;-webkit-print-color-adjust:exact;font-size:11pt}body.printing main{display:none}body.printing #paper{display:block}#paper .question{padding:9px 0}#paper .certificate{min-height:240mm;break-inside:avoid;margin:0;outline:none;padding:22mm 10mm}#paper .certificate h1{font-size:32pt}#paper .certificate .recipient{font-size:24pt}#paper .drawing{height:110px}.key{break-before:page}.keyonly{break-before:auto}#paper footer{font-size:9pt}}@media(max-width:480px){main{padding:14px}section.panel{padding:13px}.certificate{padding:18px 12px}.certificate h1{font-size:1.7rem}}

.certificate img{width:72px;height:72px;object-fit:contain}nav label{font-size:.9rem;max-width:180px}
@media print{#paper .key .question,#paper .keyonly .question{padding:5px 0}#paper .key .question p,#paper .keyonly .question p{margin:3px 0}#paper .question .muted{margin:3px 0;font-size:9pt}#paper .key h3,#paper .keyonly h3{margin:3px 0;font-size:11pt}}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}}

fieldset label{min-height:44px}nav a{min-height:44px;display:inline-flex;align-items:center}header div{min-width:0;overflow-wrap:anywhere}

.vp-color-code{display:grid!important;place-items:center;color:#111!important;font-weight:800;font-size:1rem;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff;line-height:1}
