button.lam-help-button{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;flex:0 0 auto;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;margin:0 0 0 5px!important;padding:0!important;border:1px solid #9aaac9!important;border-radius:50%!important;background:#eaf0ff!important;color:#1e3a8a!important;font:600 15px/1 system-ui,sans-serif!important;box-shadow:none!important;cursor:pointer;letter-spacing:normal;text-transform:none;}
button.lam-help-button:hover{background:#dde7ff!important;border-color:#1e3a8a!important}button.lam-help-button:focus-visible,.lam-help-dismiss:focus-visible{outline:3px solid #3b82f6;outline-offset:3px}
dialog.lam-help-dialog{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:25px;border:1px solid #dde7ff;border-radius:20px;color:#14213d;background:#fff;box-shadow:0 16px 60px #14213d30;font:16px/1.6 system-ui,sans-serif}dialog.lam-help-dialog::backdrop{background:#14213d50}dialog.lam-help-dialog h2{margin:0 0 12px;font-size:21px;color:#1e3a8a;line-height:1.3}dialog.lam-help-dialog p{margin:0 0 20px}.lam-help-dismiss{border:0;border-radius:10px;background:#1e3a8a;color:#fff;padding:10px 20px;font:600 15px system-ui;cursor:pointer}
.lam-lesson-check{margin-top:28px}.lam-check-form{margin:18px 0;padding:18px;border:1px solid #dde7ff;border-radius:14px;background:#f8faff}.lam-check-form fieldset{margin:0 0 14px;padding:0;border:0;min-width:0}.lam-check-form legend{font-weight:600;font-size:15px;line-height:1.6;margin-bottom:12px}.lam-check-choice{display:flex;align-items:flex-start;gap:10px;margin:9px 0;padding:12px;border:1px solid #dde7ff;border-radius:10px;background:#fff;font-size:14px;line-height:1.6;cursor:pointer}.lam-check-choice input{flex:0 0 auto;width:auto!important;min-width:0!important;margin-top:5px}.lam-check-choice:has(input:checked){border-color:#3b82f6;background:#eaf0ff}.lam-check-feedback{overflow-wrap:anywhere}.lam-study-relation{margin:14px 0}.lam-study-relation p{margin:7px 0 0}
/* Keep contextual help anchored to its heading, including narrow mobile screens. */
.page-heading h1:has(> .lam-help-button),.page-head h1:has(> .lam-help-button),.reader h2:has(> .lam-help-button){position:relative;padding-inline-end:44px;overflow-wrap:break-word}
.page-heading h1 > button.lam-help-button,.page-head h1 > button.lam-help-button,.reader h2 > button.lam-help-button{position:absolute;inset-inline-end:0;top:.25em;margin:0!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
@media(max-width:560px){.filters{display:grid;grid-template-columns:1fr!important}.filters .field,.filters input,.filters select{min-width:0;max-width:100%}}
