/* The shared Test Maker styles own the shell; only AS exam bridges live here. */
.as-testmaker-page main{width:auto;margin:0 auto}
.as-testmaker-page .as-practice-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px}
.as-testmaker-page .as-practice-nav .tm-course-switch{flex:1 1 340px;margin:0}
.as-testmaker-page .as-database-link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;background:#fff;color:#040608;text-decoration:none;font:700 16px 'DM Sans',sans-serif}
.as-testmaker-page .as-database-link span{font-size:14px;font-weight:400}
.as-testmaker-page .as-database-link:hover{background:#e9fbdc}
.as-testmaker-page .as-database-link:focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media(max-width:600px){.as-testmaker-page .as-database-link{width:100%}}
.as-testmaker-page .tm-topic-group{border:0;padding:0;margin:0 0 20px;min-width:0}
.as-testmaker-page .tm-topic-group .chapgroup-title{float:none;width:100%;padding:0;margin:0 0 8px}
.as-testmaker-page .tm-availability{margin:-10px 0 22px}
.as-testmaker-page .practice-setup{margin:0}
.as-testmaker-page [hidden]{display:none!important}
.as-testmaker-page .practice-toolbar{align-items:center}
.as-testmaker-page .practice-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;z-index:18}
.as-testmaker-page .practice-actions .startbtn{width:auto;min-width:200px}
.as-testmaker-page .practice-actions a{font:700 14px 'DM Sans',sans-serif;text-decoration:none}
.as-testmaker-page .exam-question{padding:clamp(22px,4vw,48px)}
.as-testmaker-page .exam-reference{margin-bottom:24px}
.as-testmaker-page .self-mark{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-weight:700;margin:20px 0;padding:14px;background:#e9fbdc;border:1px solid #aacd8d;border-radius:8px}
.as-testmaker-page .self-mark input{width:90px;border:1px solid #64705d;border-radius:8px;padding:8px;background:#fff}
.as-testmaker-page .practice-result{scroll-margin-top:200px}
.as-testmaker-page .submitted .exam-content{opacity:1}
@media(max-width:600px){.as-testmaker-page .practice-actions .startbtn{width:100%;min-width:0}.as-testmaker-page .practice-result{scroll-margin-top:170px}}
