*{box-sizing:border-box}
body{margin:0;padding:12px;font:18px/1.4 "Segoe UI",system-ui,sans-serif;background:#f2f5f2;color:#0d2b2e}
header{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between;margin-bottom:10px}
header p{margin:0}
button{font:inherit;font-weight:700;background:#f4b73b;color:#0d2b2e;border:2px solid #f4b73b;border-radius:8px;padding:6px 14px;cursor:pointer}
button:hover{background:#0d2b2e;border-color:#0d2b2e;color:#f2f5f2}
button:focus-visible,canvas:focus-visible{outline:3px solid #0d2b2e;outline-offset:2px}
canvas{display:block;width:100%;max-width:360px;aspect-ratio:1;background:#fff;border:3px solid #0d2b2e;border-radius:8px}
.help{margin:8px 0;font-size:.9rem;color:#3a5558}
.pad{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-width:360px}
#msg{font-weight:700;color:#2b6656;min-height:1.4em}
