/* Student-owned CBT, Viva, Steeplechase and Theory workspace */
.ep-page{font-family:Inter,system-ui,sans-serif;max-width:1100px;margin:0 auto;padding:22px 12px 56px;color:#211635;min-width:0;box-sizing:border-box}
.ep-page *{box-sizing:border-box}
.ep-head{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 20px}
.ep-head small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:750;color:#7934d3}
.ep-head h1{font-size:clamp(23px,3vw,34px);line-height:1.2;margin:5px 0;color:#251243}
.ep-head p{font-size:13px;color:#766a87;margin:0;line-height:1.5}
.ep-head button{border:1px solid #daceed;border-radius:11px;background:white;color:#6425b5;padding:11px 15px;font-weight:750;cursor:pointer}
.ep-content{display:grid;gap:18px;min-width:0}
.ep-card{background:white;border:1px solid #e8e2f2;border-radius:18px;box-shadow:0 6px 25px #41126e0d;padding:clamp(16px,2.2vw,26px);min-width:0}
.ep-card h2{font-size:19px;color:#29184d;margin:0 0 16px}
.ep-card h3{font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.ep-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-format-grid button{border:1px solid #ddd0f4;border-radius:14px;background:linear-gradient(150deg,#fbf9ff,#f1eaff);padding:19px;text-align:left;cursor:pointer;min-height:100px;color:#5f219d}
.ep-format-grid strong,.ep-format-grid span{display:block}
.ep-format-grid strong{font-size:15px;line-height:1.4}
.ep-format-grid span{font-size:12px;color:#786d8b;margin-top:7px}
.ep-note,.ep-empty{font-size:12px;color:#796d88;line-height:1.55}
.ep-list{display:grid;gap:8px}.ep-list button{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px;padding:15px;border:1px solid #ebe6f5;border-radius:12px;background:#fdfcff;cursor:pointer;color:#31194e}
.ep-list strong,.ep-list small{display:block;overflow-wrap:anywhere}.ep-list small{font-size:12px;color:#776f86;margin-top:5px}.ep-list b{font-size:12px;color:#6922bc;white-space:nowrap}
.ep-card label{display:grid;gap:7px;font-weight:700;font-size:13px;color:#4e336b;margin-bottom:15px}
.ep-card input:not([type=radio]),.ep-card select,.ep-card textarea{width:100%;min-width:0;max-width:100%;padding:12px 13px;border:1px solid #ddd3ee;border-radius:11px;background:#fff;color:#231536;font:inherit;font-weight:400;line-height:1.5}
.ep-card textarea{resize:vertical;min-height:145px}
.ep-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.ep-primary{border:0;border-radius:11px;padding:13px 21px;min-height:45px;background:#772ae6;color:white;font:750 14px Inter,system-ui,sans-serif;cursor:pointer}
.ep-primary:disabled{opacity:.5;cursor:not-allowed}
.ep-card fieldset{border:0;padding:0;margin:10px 0}.ep-card legend{font-size:13px;font-weight:700;margin-bottom:12px}
.ep-card .ep-choice{display:flex;align-items:center;gap:12px;padding:14px;margin:7px 0;border:1px solid #e3d8f3;border-radius:12px;background:#fdfbff;cursor:pointer;font-weight:500}
.ep-choice input{flex:none;width:18px;height:18px;accent-color:#7426e7}
.ep-question-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#6632aa;font-size:12px;font-weight:750}
.ep-question-top strong{margin-left:auto;font-size:17px;font-variant-numeric:tabular-nums}
.ep-station{border-left:4px solid #8748da;padding:12px;background:#f7f0ff;color:#4f326e}
.ep-score{font-size:64px;font-weight:800;color:#6c22cc;margin:10px 0}
.ep-review{border:1px solid #e9e0f4;border-radius:12px;padding:13px;margin:9px 0;overflow-wrap:anywhere}
.ep-review summary{cursor:pointer;font-weight:700}
.ep-review p{font-size:13px;line-height:1.6}
.ep-card [data-ep-images] img{display:block;width:auto;max-width:100%;max-height:340px;object-fit:contain;margin:0 auto}
.ep-card [data-ep-images] figure{margin:12px 0;padding:10px;background:#f6f1fc;border-radius:12px;text-align:center}
.ep-card [data-ep-images] figcaption{font-size:11px;color:#7a6d87}
.ep-page [data-ep-status]{font-size:13px;color:#713c9c;line-height:1.5}
.ep-page button:focus-visible,.ep-page input:focus-visible,.ep-page textarea:focus-visible,.ep-page select:focus-visible{outline:3px solid #b399ed;outline-offset:2px}
@media(max-width:700px){.ep-page{padding:14px 2px 70px}.ep-format-grid,.ep-two{grid-template-columns:minmax(0,1fr)}.ep-card{padding:15px}.ep-format-grid button{min-height:78px}.ep-list button{align-items:flex-start}.ep-list b{white-space:normal}}


/* Personal exam source selection, including iPad Split View. */
.ep-source-chooser{display:grid;gap:4px;margin-bottom:16px;padding:15px;border:1px solid #d9c7f6;border-radius:14px;background:#fbf8ff;min-width:0}
.ep-source-chooser label{margin:0 0 6px}
.ep-source-chooser .ep-note{margin:3px 0 6px}
.ep-card [hidden]{display:none!important}
.ep-source-chooser select{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.ep-source-chooser{padding:12px}}

/* Direct Set Exam web workspace, including narrow iPad Split View. */
#educationBody .ep-set-config{max-width:1100px;margin:0 auto}
#educationBody .ep-setup-head{padding:4px 0 16px}
#educationBody .ep-setup-head small{font-size:11px;font-weight:800;letter-spacing:.1em;color:#782bd9}
#educationBody .ep-setup-head h2{font-size:clamp(22px,3vw,31px);line-height:1.24;letter-spacing:-.025em;margin:8px 0 10px;color:#201738;overflow-wrap:anywhere}
#educationBody .ep-setup-head p{font-size:14px;line-height:1.5;color:#796f89;margin:0}
#educationBody .ep-mode-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 22px}
#educationBody .ep-mode-nav button{border:1px solid #e1d6f2;border-radius:12px;padding:12px 8px;min-width:0;min-height:46px;background:#faf8ff;color:#6947a4;font:750 13px Inter,system-ui,sans-serif;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#educationBody .ep-mode-nav button[aria-pressed="true"]{border-color:#8941ef;background:#eee4ff;color:#6421b8;box-shadow:inset 0 0 0 1px #8941ef}
#educationBody .ep-mode-nav button:focus-visible{outline:3px solid #c3a4f3;outline-offset:2px}
#educationBody .ep-page:has([data-set-exam-creation]){max-width:1400px}
#educationBody .ep-page:has([data-set-exam-creation]) .ep-head{margin-bottom:12px}
#educationBody .ep-page:has([data-set-exam-creation]) .kcpg-dashboard{width:100%;max-width:100%;padding:4px 0 26px}
#educationBody .ep-page:has([data-set-exam-creation]) .kcpg-columns{min-width:0}
#educationBody .ep-page:has([data-set-exam-creation]) .kcpg-main{min-width:0}
@media(max-width:720px){
 #educationBody .ep-mode-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #educationBody .ep-set-config{padding:14px}
 #educationBody .ep-page:has([data-set-exam-creation]){padding:12px 0 60px}
 #educationBody .ep-page:has([data-set-exam-creation]) .kcpg-step-state{max-width:66px}
}
