:root{font:16px/1.6 system-ui,sans-serif;color:#193247;background:#edf3f7}body{margin:0}main{max-width:48rem;margin:auto;padding:2rem 1rem}header{margin-bottom:1.5rem}header p:first-child{color:#28647a;font-weight:700}h1{font-size:clamp(1.8rem,5vw,2.6rem);line-height:1.2;margin:.3rem 0}h2{font-size:1.2rem;margin-top:0}section,details{background:white;border:1px solid #cbdae4;border-radius:.75rem;margin-bottom:1rem;padding:1.2rem}button,input,select{font:inherit}button{background:#235873;color:white;border:1px solid #235873;border-radius:.35rem;padding:.55rem .85rem;cursor:pointer}button:disabled{background:#e6eef3;color:#40596b;border-color:#ccdbe5;cursor:default}.actions{display:flex;gap:.6rem;flex-wrap:wrap}form{display:grid;gap:.45rem;margin-top:.8rem}input:not([type=radio]):not([type=checkbox]),select{box-sizing:border-box;width:100%;padding:.45rem;border:1px solid #8199ad;border-radius:.3rem}fieldset{border:1px solid #cbdae4;margin:.8rem 0;padding:.75rem}fieldset label{display:block;margin:.3rem 0}:focus-visible{outline:3px solid #99620b;outline-offset:2px}#notice{color:#245d75}summary{cursor:pointer;font-weight:700}

@media(max-width:40rem){main{padding:1rem .65rem}section,details{padding:.9rem}button{min-height:44px}.actions>*{flex:1 1 9rem}fieldset label{display:flex;align-items:center;gap:.55rem;min-height:44px}input:not([type=radio]):not([type=checkbox]),select{min-height:44px}pre{overflow-wrap:anywhere}}

fieldset input[type=radio],fieldset input[type=checkbox]{width:1.2rem;height:1.2rem;flex:none;accent-color:#235873}
#practice p,#practice label{white-space:pre-wrap;overflow-wrap:anywhere}

#practice img{display:block;width:100%;height:auto;margin-top:1rem}
#conditions select{margin-bottom:.6rem}
