.grid-shell{max-width:1100px;margin:auto;padding:clamp(16px,4vw,40px);overflow-wrap:anywhere}.grid-shell h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.15}.grid-card{background:#fffaf0;border:1px solid #c3d4c7;border-radius:18px;padding:clamp(16px,3vw,24px);margin:22px 0}.grid-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:18px}.grid-shell label{display:block;font-weight:700;margin:10px 0}.grid-shell input:not([type=checkbox]),.grid-shell select{display:block;width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #507563;border-radius:8px;background:white;color:#163b35}.grid-shell button{min-height:44px;padding:12px 16px;margin:4px 6px 4px 0;border:1px solid #2d6a4f;border-radius:9px;background:#2d6a4f;color:white;cursor:pointer}.grid-shell :focus-visible{outline:3px solid #a54e17;outline-offset:3px}.grid-shell #preview svg{display:block;width:100%;height:auto}.grid-shell #practice{display:grid;gap:3px}.grid-shell #practice button{padding:3px;margin:0;min-width:0;font-size:clamp(.65rem,2vw,1rem);min-height:36px}.grid-shell [hidden]{display:none!important}.grid-shell #error{color:#a02020}.grid-shell #selection{min-height:1.8em}@media print{body>header,body>nav,body>footer,.grid-shell button,#grid-form,.grid-practice,.grid-copy{display:none!important}.grid-shell{padding:0;max-width:none}.grid-shell #preview{break-inside:avoid}.grid-card{border:0;padding:0;margin:0}.grid-shell h1{font-size:18pt}}@media(prefers-reduced-motion:reduce){.grid-shell *{animation:none!important;transition:none!important}}
