#exam-prep{width:100%;min-width:0;padding:10px 5px 40px;color:#153f51}
#exam-prep[hidden]{display:none!important}
#exam-prep h2{font-size:24px;margin:6px 0}
#exam-prep h3{font-size:17px;margin:0 0 10px}
#exam-prep p{font-size:13px;line-height:1.65;color:#56727d}
#exam-prep .ael-panel{margin:12px 0;padding:16px;background:#fff;border:1px solid #c9dfe4;border-radius:12px}
#exam-prep label{display:grid;gap:6px;font-size:13px;font-weight:650}
#exam-prep select,#exam-prep input{min-height:44px;padding:10px;border-radius:8px;border:1px solid #9cbfc6;width:100%;color:#193f4e;background:#fff}
#exam-prep button{min-height:42px;cursor:pointer;border:1px solid #a2c5ca;border-radius:9px;padding:9px 13px;margin:5px 5px 5px 0;background:#eef8f9;color:#155367;font-weight:700}
#exam-prep button:disabled{opacity:.5;cursor:default}
#exam-prep .ael-pdf{padding:12px;margin:7px 0;border:1px solid #dde9ed;border-radius:9px;overflow-wrap:anywhere}
#exam-prep .ael-pdf strong{display:block;font-size:13px}
#exam-prep .ael-pdf small{display:block;color:#607985;margin-top:5px}
#exam-prep .ael-buttons{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}
#exam-prep .ael-buttons button{flex:1 1 110px}
#exam-prep .ael-history-row{border-bottom:1px solid #e2e8ea;padding:8px 0;font-size:13px}
#exam-prep #ael-source{padding:11px;background:#f3f8fa;border-radius:8px}
@media(max-width:540px){#exam-prep .ael-panel{padding:12px}}

#exam-prep #ael-vocab{margin-top:14px}
#exam-prep #ael-vocab h4{margin:10px 0;font-size:16px}
#exam-prep .ael-vocab-card{margin:12px 0;padding:14px;border:1px solid #b0d2d5;background:#f7fbfb;border-radius:13px}
#exam-prep .ael-vocab-card strong{display:block;font-size:15px}
#exam-prep .ael-vocab-prompt{font-size:clamp(21px,4vw,29px);font-weight:760;line-height:1.55;padding:14px 0;overflow-wrap:anywhere}
#exam-prep .ael-vocab-answer{font-size:17px;border-top:1px solid #c5dfe3;padding:12px 0;overflow-wrap:anywhere}
#exam-prep .ael-vocab-card button{min-width:98px}

#exam-prep .ael-flow{border-color:#aecbd3;padding:18px}
#exam-prep .ael-flow-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
#exam-prep .ael-flow-options button{margin:0;text-align:left;min-height:54px;white-space:normal;font-size:14px}
#exam-prep .ael-flow-options button[hidden],#exam-prep .ael-active[hidden],#exam-prep #ael-flow-vocab[hidden],#exam-prep #ael-pdf-container[hidden],#exam-prep .ael-flow .ael-panel[hidden]{display:none!important}
#exam-prep .ael-flow-progress{font-size:13px;padding:8px 0;font-weight:600}
#exam-prep .ael-references{margin:10px 0;border:1px solid #d2e1e5;border-radius:10px;background:#fff}
#exam-prep .ael-references>summary{cursor:pointer;font-size:14px;font-weight:700;padding:14px;color:#25495a}
#exam-prep .ael-references>.ael-panel{margin:8px;border:0;border-top:1px solid #e3eaee;border-radius:0}
#exam-prep .ael-active{padding:12px 0;border-top:1px solid #d8e5e9}
#exam-prep .ael-active h3{margin-top:12px}
#exam-prep .ael-flow .ael-panel{box-shadow:none}
#exam-prep .ael-document-frame{display:block;width:100%;min-height:570px;height:63dvh;border:1px solid #c8dce2;border-radius:9px;background:#fff}
#exam-prep .ael-open-pdf{display:inline-block;margin:10px 0;font-size:14px;font-weight:700;text-decoration:underline;color:#135a80}
@media(max-width:600px){#exam-prep .ael-flow-options{grid-template-columns:1fr}#exam-prep .ael-document-frame{min-height:400px;height:57dvh}}
