.esu-dashboard,.esu-progress-widget{font-family:inherit;color:var(--esu-brand-text,#17212b);line-height:1.5;max-width:1100px;margin:20px auto}.esu-dashboard *,.esu-progress-widget *{box-sizing:border-box;min-width:0}.esu-dashboard-header{background:var(--esu-brand-text,#17212b);color:#fff;border-bottom:6px solid #e10024;border-radius:20px;padding:24px}.esu-dashboard-header h1{color:#fff;font-size:clamp(25px,4vw,38px);line-height:1.15;margin:12px 0}.esu-dashboard-header a{color:#fff}.esu-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.esu-dashboard-grid article,.esu-dashboard-card,.esu-dashboard-module,.esu-progress-widget{background:var(--esu-brand-surface,#fff);border:2px solid #e3e8ed;border-radius:16px;padding:18px}.esu-dashboard h2{font-size:22px;margin:0 0 14px}.esu-dashboard h2:not(:first-child){margin-top:18px}.esu-dashboard label{display:block;margin:12px 0}.esu-dashboard input{display:block;width:100%;font:inherit;padding:10px;border:1px solid #87929c;border-radius:8px}.esu-dashboard-button,.esu-dashboard button{display:inline-block;min-height:44px;padding:10px 16px;background:var(--esu-brand-primary,#d60023);color:white!important;border:0;border-radius:10px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.esu-dashboard button:disabled{opacity:.6}.esu-dashboard button{margin:8px 8px 8px 0}.esu-dashboard dt{font-weight:700}.esu-dashboard dd{margin:0 0 10px}.esu-dashboard small,.esu-dashboard-muted{font-size:13px;color:#52616d}.esu-dashboard-header small{color:#fff}.esu-dashboard-module{margin:12px 0}.esu-dashboard summary{font-weight:700;cursor:pointer;min-height:44px;padding:8px 0}.esu-dashboard-module ul,.esu-dashboard-attempts{padding:0;margin:8px 0;list-style:none}.esu-dashboard-module li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #dce2e8;padding:12px 0}.esu-dashboard-module li small{display:block}.esu-dashboard a:not(.esu-dashboard-button),.esu-dashboard-link{color:#b3001c;text-decoration:underline;font-weight:700;overflow-wrap:anywhere}.esu-dashboard-module li>div:last-child{text-align:right;flex-shrink:0}.esu-dashboard-attempts li{padding:10px 0;border-bottom:1px solid #dce2e8}.esu-progress-widget{margin:16px 0}.esu-progress-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.esu-progress-widget progress{display:block;width:100%;height:16px;accent-color:var(--esu-brand-primary,#d60023);margin:6px 0 14px}.esu-progress-widget label{font-weight:700;font-size:14px}.esu-progress-widget small{font-size:12px;color:#52616d}.esu-dashboard [role=alert]{background:#fff0ed;padding:12px;border-left:4px solid #c82414}.esu-dashboard :focus-visible,.esu-progress-widget :focus-visible{outline:3px solid #1976d2;outline-offset:3px}@media(max-width:600px){.esu-dashboard-grid{grid-template-columns:1fr}.esu-dashboard-module li{flex-direction:column;gap:6px}.esu-dashboard-module li>div:last-child{text-align:left}.esu-dashboard-header{padding:18px}.esu-dashboard{margin:12px 0}.esu-dashboard-card{overflow-wrap:anywhere}}

.esu-dashboard-attempts{max-height:320px;overflow:auto;padding-right:8px}.esu-dashboard-grid{align-items:start}

.esu-dashboard .esu-dashboard-header a:not(.esu-dashboard-button){color:#fff}

/* Compact reader header: shared width, progress in two columns, details on demand. */
.esu-v4-test .esu-beta-reader-header{width:100%;margin:0 0 12px;background:var(--esu-brand-surface,#fff);border:1px solid #dce2e8;border-radius:14px;overflow:hidden}
.esu-v4-test .esu-progress-widget--compact{max-width:none;width:100%;margin:0;padding:12px 16px 8px;border:0;border-radius:0;font-size:14px;line-height:1.4}
.esu-progress-widget--compact .esu-progress-top{align-items:center;gap:8px;margin-bottom:8px}
.esu-progress-widget--compact .esu-progress-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.esu-progress-widget--compact label{margin:0;font-size:13px}
.esu-progress-widget--compact progress{height:10px;margin:5px 0 4px}
.esu-progress-details summary{cursor:pointer;display:flex;align-items:center;min-height:44px;font-size:13px;color:#52616d}
.esu-progress-details summary::before{content:'▸';margin-right:6px}.esu-progress-details[open] summary::before{content:'▾'}
.esu-v4-test .esu-progress-details p{margin:4px 0 8px;padding:0;font-size:13px;line-height:1.4}
.esu-v4-test .esu-beta-account{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:8px 16px;margin:0;border:0;border-top:1px solid #e3e8ed;border-radius:0;background:#f8f9fb;font-size:12px;line-height:1.4}
.esu-v4-test .esu-beta-account p{margin:0;padding:0;font-size:12px;line-height:1.4}
.esu-beta-account-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.esu-beta-account-links a{color:#a9001b;display:inline-flex;align-items:center;min-height:44px}
.esu-v4-test .esu-v4-position{margin:0 0 10px;padding:0;font-size:13px;line-height:1.4;color:#52616d}
.esu-v4-test:has(.esu-beta-reader-header){margin:8px auto}
@media(max-width:600px){.esu-v4-test .esu-progress-widget--compact{padding:10px 12px 6px}.esu-progress-widget--compact .esu-progress-bars{gap:10px}.esu-progress-widget--compact .esu-progress-top{font-size:13px}.esu-v4-test .esu-beta-account{padding:6px 12px}.esu-beta-account-links{width:100%}}

/* Reduce Divi top spacing only in sections containing the Academy reader. */
.et_pb_section:has(.esu-v4-test){padding-top:16px!important}.et_pb_row:has(.esu-v4-test){padding-top:0!important}
