/* Independent Reading / Listening workbook activities */
.eg-separated-activity{width:100%;min-width:0}
.sep-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px 26px;border:1px solid var(--border);border-radius:24px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.sep-hero h1{margin:4px 0 8px;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.04em;color:#0f172a}.sep-hero p{margin:0;color:var(--muted);max-width:68ch}.sep-status{display:grid;gap:5px;text-align:right;white-space:nowrap;color:var(--muted);font-size:.82rem}.sep-status strong{color:#0f172a;font-size:1rem}
.sep-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:22px;margin-top:22px;align-items:start}.sep-source,.sep-audio-source,.sep-question-panel{border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 7px 24px rgba(15,23,42,.045)}
.sep-source{overflow:hidden}.sep-source summary{cursor:pointer;padding:16px 20px;font-weight:900;color:#17369f;background:#f8fafc;border-bottom:1px solid var(--border);list-style:none}.sep-source summary::-webkit-details-marker{display:none}.sep-reading-text{padding:22px;font-size:1.03rem;line-height:1.85;color:#24364b;max-height:68vh;overflow:auto;overscroll-behavior:contain}
.sep-audio-source{padding:22px;display:grid;gap:18px}.sep-audio-source h2{margin:4px 0 6px;letter-spacing:-.025em}.sep-audio-source p{margin:0;color:var(--muted)}
.sep-question-panel{padding:20px}.sep-question-track{height:7px;background:#edf2f7;border-radius:999px;overflow:hidden;margin-bottom:20px}.sep-question-track>span{display:block;height:100%;width:0;background:var(--navy);border-radius:inherit;transition:width .2s ease}.sep-question{display:block}.sep-question[hidden]{display:none!important}.sep-question-meta span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.sep-question h3{margin:14px 0 18px;font-size:1.16rem;line-height:1.5;color:#0f172a}.sep-short-answer{min-height:110px;resize:vertical;line-height:1.55}
.sep-choice-list{display:grid;gap:10px}.sep-choice{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:13px 14px;border:1px solid #dbe4ee;border-radius:14px;background:#fff;cursor:pointer;font-weight:700;transition:.16s ease}.sep-choice:hover{border-color:#93c5fd;background:#f8fbff}.sep-choice:has(input:checked){border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.07)}.sep-choice input{width:auto;margin:0}.sep-choice-index{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f1f5f9;color:#475569;font-weight:900}.sep-question-feedback{margin-top:14px}.sep-nav{display:flex;justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.sep-nav button{min-width:120px}.sep-nav .primary-btn{margin-left:auto}
.eg-stage-list [role="tablist"]{display:grid;gap:7px}.eg-stage[role="tab"]{cursor:pointer}.eg-stage.is-done:not(.is-current)>span{background:#dcfce7!important;color:#15803d!important}.eg-stage.is-done:not(.is-current)>strong{color:#166534}
@media(max-width:980px){.sep-layout{grid-template-columns:1fr}.sep-reading-text{max-height:none}.eg-stage-list [role="tablist"]{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.eg-stage[role="tab"]{min-width:132px;flex:0 0 auto}}
@media(max-width:640px){.sep-hero{padding:18px;border-radius:19px;display:grid}.sep-status{text-align:left;display:flex;justify-content:space-between}.sep-layout{gap:14px;margin-top:14px}.sep-source,.sep-audio-source,.sep-question-panel{border-radius:18px}.sep-reading-text,.sep-audio-source,.sep-question-panel{padding:16px}.sep-question h3{font-size:1.06rem}.sep-nav{position:sticky;bottom:0;background:rgba(255,255,255,.98);padding:12px 0 calc(4px + env(safe-area-inset-bottom));z-index:3}.sep-nav button{min-height:48px;min-width:0;flex:1}.sep-choice{min-height:54px;padding:12px}.sep-reading-text{font-size:1rem;line-height:1.75}}
