/* ESAC Learning Portal 2.5.1 — professional student dashboard */
.esac-student-shell{
  --esac-dash-navy:#092c45;
  --esac-dash-deep:#061d2e;
  --esac-dash-blue:#155b7d;
  --esac-dash-gold:#ddaF35;
  --esac-dash-gold-soft:#fff4d5;
  --esac-dash-ink:#15364b;
  --esac-dash-muted:#687e8d;
  --esac-dash-line:#dce6eb;
  --esac-dash-surface:#fff;
  --esac-dash-bg:#f3f7f9;
  background:var(--esac-dash-bg);
}
.esac-student-shell>main{max-width:1440px;padding-top:26px}
.esac-ui-icon{display:block;height:20px;width:20px}
.esac-student-header{background:linear-gradient(110deg,#061d2e,#0c3e5e);border-bottom:1px solid rgba(255,255,255,.08);min-height:72px}
.esac-student-header>a{transition:opacity .2s}
.esac-student-header>a:hover{opacity:.9}
.esac-student-header>div{flex-wrap:wrap}
.esac-student-header>div>span{font-size:12px;font-weight:700}
.esac-student-header button,.esac-student-language{transition:background .2s,border-color .2s}
.esac-student-header button:hover,.esac-student-language:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5)}

.esac-student-hero{background:radial-gradient(circle at 84% 18%,rgba(235,194,84,.25),transparent 25%),linear-gradient(120deg,#08283f,#155a7b);box-shadow:0 20px 45px rgba(6,35,54,.12);isolation:isolate;margin-bottom:24px;min-height:142px;padding:28px 30px;position:relative}
.esac-student-hero:after{border:1px solid rgba(255,255,255,.08);border-radius:50%;content:"";height:245px;inset-inline-end:-60px;position:absolute;top:-125px;width:245px;z-index:-1}
.esac-student-hero h1{font-size:clamp(25px,3vw,36px);letter-spacing:-.02em}
.esac-student-hero>div>span{display:inline-block;margin-bottom:2px}
.esac-student-hero>aside{backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}

#esacStudentApp{min-height:420px}
.esac-dashboard-layout{align-items:start;display:grid;gap:22px;grid-template-columns:278px minmax(0,1fr)}
.esac-dashboard-sidebar{background:linear-gradient(165deg,var(--esac-dash-deep),#0a3854 68%,#0e4868);border:1px solid rgba(255,255,255,.07);border-radius:20px;box-shadow:0 19px 44px rgba(7,38,57,.14);color:#fff;overflow:hidden;padding:20px;position:sticky;top:20px}
.esac-dashboard-profile{align-items:center;border-bottom:1px solid rgba(255,255,255,.12);display:grid;gap:12px;grid-template-columns:auto minmax(0,1fr);padding:2px 2px 18px}
.esac-dashboard-avatar{align-items:center;background:linear-gradient(145deg,#f0cf78,#c99419);border:3px solid rgba(255,255,255,.16);border-radius:16px;color:#09283f;display:flex;font-size:18px;font-weight:900;height:52px;justify-content:center;letter-spacing:.04em;width:52px}
.esac-dashboard-profile div{min-width:0}
.esac-dashboard-profile small{color:#e8bf56;display:block;font-size:9px;font-weight:800;letter-spacing:.12em;margin-bottom:4px;text-transform:uppercase}
.esac-dashboard-profile strong,.esac-dashboard-profile div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.esac-dashboard-profile strong{color:#fff;font-size:14px}
.esac-dashboard-profile div>span{color:#a9c1ce;font-size:10px;margin-top:3px}
.esac-dashboard-code{align-items:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:12px;display:flex;justify-content:space-between;margin:16px 0;padding:11px 12px}
.esac-dashboard-code small{color:#a9c1ce;display:block;font-size:9px;margin-bottom:3px}
.esac-dashboard-code strong{color:#f1c966;font-size:13px;letter-spacing:.05em}
.esac-dashboard-code button{align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#fff;cursor:pointer;display:flex;height:34px;justify-content:center;padding:0;transition:.2s;width:34px}
.esac-dashboard-code button:hover,.esac-dashboard-code button.is-copied{background:#d8aa34;color:#08283f}
.esac-dashboard-code .esac-ui-icon{height:16px;width:16px}

.esac-dashboard-sidebar .esac-student-tabs{background:transparent;border:0;border-radius:0;display:grid;gap:5px;margin:0;padding:0}
.esac-dashboard-sidebar .esac-student-tabs button{align-items:center;background:transparent;border:1px solid transparent;border-radius:10px;color:#c8d9e2;display:grid;font-size:12px;font-weight:700;gap:10px;grid-template-columns:28px minmax(0,1fr) auto;min-height:47px;padding:8px 10px;position:relative;text-align:start;transition:background .2s,border-color .2s,color .2s;width:100%}
.esac-dashboard-sidebar .esac-student-tabs button:hover{background:rgba(255,255,255,.06);color:#fff}
.esac-dashboard-sidebar .esac-student-tabs button.is-active{background:linear-gradient(105deg,rgba(221,175,53,.22),rgba(221,175,53,.08));border-color:rgba(236,197,92,.31);color:#fff}
.esac-dashboard-sidebar .esac-student-tabs button>i{align-items:center;color:#d9e5eb;display:flex;font-style:normal;justify-content:center}
.esac-dashboard-sidebar .esac-student-tabs button.is-active>i{color:#f0c85f}
.esac-dashboard-sidebar .esac-student-tabs .esac-tab-label{background:transparent;border-radius:0;color:inherit;font-size:inherit;padding:0}
.esac-dashboard-sidebar .esac-student-tabs button>b{align-items:center;background:rgba(255,255,255,.09);border-radius:999px;color:#d9e6ec;display:flex;font-size:9px;height:22px;justify-content:center;min-width:22px;padding:0 6px}
.esac-dashboard-sidebar .esac-student-tabs button.is-active>b{background:#d8aa34;color:#08283f}
.esac-dashboard-security{align-items:flex-start;border-top:1px solid rgba(255,255,255,.11);display:grid;gap:10px;grid-template-columns:auto 1fr;margin-top:17px;padding:17px 3px 1px}
.esac-dashboard-security>.esac-ui-icon{color:#e2b84e;height:22px;margin-top:2px;width:22px}
.esac-dashboard-security strong,.esac-dashboard-security span{display:block}
.esac-dashboard-security strong{color:#fff;font-size:11px;margin-bottom:4px}
.esac-dashboard-security span{color:#a8c0cd;font-size:9px;line-height:1.55}

.esac-dashboard-workspace{min-width:0}
.esac-dashboard-title{align-items:flex-end;display:flex;justify-content:space-between;margin:2px 0 17px;padding:0 2px}
.esac-dashboard-title>div>span,.esac-dashboard-section-head>div>span{color:#a47810;display:block;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:4px;text-transform:uppercase}
.esac-dashboard-title h2{color:var(--esac-dash-ink);font-size:27px;letter-spacing:-.02em;margin:0}
.esac-dashboard-title p{color:var(--esac-dash-muted);font-size:12px;margin:6px 0 0}
.esac-dashboard-metrics{display:grid;gap:11px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.esac-dashboard-metrics article{align-items:center;background:var(--esac-dash-surface);border:1px solid var(--esac-dash-line);border-radius:14px;box-shadow:0 8px 22px rgba(7,40,60,.04);display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);min-height:82px;padding:13px}
.esac-dashboard-metrics article>span{align-items:center;background:#eef5f7;border-radius:11px;color:#0c4a6c;display:flex;height:43px;justify-content:center;width:43px}
.esac-dashboard-metrics article:nth-child(2)>span{background:#fff4d8;color:#9a7110}
.esac-dashboard-metrics article:nth-child(3)>span{background:#eaf3ff;color:#2867a0}
.esac-dashboard-metrics article:nth-child(4)>span{background:#eaf7ef;color:#26734a}
.esac-dashboard-metrics small{color:var(--esac-dash-muted);display:block;font-size:9px;line-height:1.4}
.esac-dashboard-metrics strong{color:var(--esac-dash-ink);display:block;font-size:21px;margin-top:3px}

.esac-dashboard-content{background:rgba(255,255,255,.58);border:1px solid var(--esac-dash-line);border-radius:18px;box-shadow:0 15px 35px rgba(7,41,61,.04);padding:20px}
.esac-dashboard-section-head{align-items:flex-end;border-bottom:1px solid #e3eaee;display:flex;justify-content:space-between;margin-bottom:17px;padding-bottom:16px}
.esac-dashboard-section-head h2{color:var(--esac-dash-ink);font-size:22px;margin:0}
.esac-dashboard-section-head p{color:var(--esac-dash-muted);font-size:11px;line-height:1.6;margin:5px 0 0;max-width:660px}
#esacStudentView:focus{outline:none}

.esac-dashboard-content .esac-student-course-grid{gap:15px;grid-template-columns:repeat(auto-fit,minmax(255px,1fr))}
.esac-dashboard-content .esac-student-course{border-color:#d9e4e9;border-radius:16px;box-shadow:0 9px 22px rgba(8,42,62,.06);min-width:0}
.esac-dashboard-content .esac-student-course:hover{box-shadow:0 18px 38px rgba(8,42,62,.13);transform:translateY(-4px)}
.esac-dashboard-content .esac-student-course-cover{background-color:#103e5b;background-image:linear-gradient(145deg,#165a7c,#082b43);display:flex;flex-direction:column;justify-content:space-between;min-height:205px;padding:15px}
.esac-course-cover-meta{align-items:flex-start;display:flex;gap:6px;justify-content:space-between;width:100%}
.esac-student-course-cover .esac-course-cover-meta>span,.esac-student-course-cover .esac-course-cover-meta>b{align-self:auto;background:rgba(4,27,43,.75);border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#fff;font-size:8px;font-weight:800;letter-spacing:.04em;padding:6px 9px;width:auto}
.esac-student-course-cover .esac-course-cover-meta>b{background:rgba(222,176,55,.93);border-color:transparent;color:#08283f;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.esac-student-course-cover>div:last-child{align-self:auto;grid-column:auto;width:100%}
.esac-student-course-cover strong{font-size:17px;line-height:1.5;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.esac-student-course-cover small{color:#c8dce6;font-size:9px;line-height:1.5}
.esac-dashboard-content .esac-student-course-body{padding:16px}
.esac-course-statline{align-items:center;color:#718591;display:flex;font-size:9px;gap:13px;margin-bottom:15px}
.esac-course-statline>span{align-items:center;display:flex;gap:4px}
.esac-course-statline .esac-ui-icon{color:#9f7613;height:14px;width:14px}
.esac-course-statline b{color:#29495d}
.esac-course-progress-label{align-items:center;color:#6b808d;display:flex;font-size:9px;justify-content:space-between;margin-bottom:6px}
.esac-course-progress-label strong{color:#15394f}
.esac-dashboard-content .esac-student-progress{height:7px}
.esac-dashboard-content .esac-student-course-body>button{align-items:center;background:linear-gradient(135deg,#d8aa34,#efca67);box-shadow:0 8px 17px rgba(186,137,20,.16);display:flex;gap:8px;justify-content:space-between;padding:0 13px;transition:transform .2s,box-shadow .2s}
.esac-dashboard-content .esac-student-course-body>button:hover{box-shadow:0 11px 22px rgba(186,137,20,.23);transform:translateY(-1px)}
.esac-dashboard-content .esac-student-course-body>button .esac-ui-icon{height:17px;width:17px}
.esac-dashboard-content .esac-student-course.is-expired{border-color:#e4c9c5;box-shadow:0 9px 24px rgba(109,47,39,.08)}
.esac-dashboard-content .esac-student-course.is-expired:hover{box-shadow:0 16px 35px rgba(109,47,39,.13)}
.esac-dashboard-content .esac-student-course.is-expired .esac-student-course-cover{filter:saturate(.65)}
.esac-dashboard-content .esac-student-course.is-expired .esac-course-cover-meta>b{background:#f8e1dc;color:#7a3028}
.esac-course-expired-notice{align-items:flex-start;background:#fff7f5;border:1px solid #efd8d3;border-radius:12px;color:#6d3933;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);padding:13px}
.esac-course-expired-notice>.esac-ui-icon{background:#f8dfda;border-radius:9px;color:#983d33;height:18px;padding:7px;width:18px}
.esac-course-expired-notice strong{color:#71332c;display:block;font-size:12px}
.esac-course-expired-notice p{color:#79554f;font-size:9px;line-height:1.65;margin:4px 0}
.esac-course-expired-notice small{color:#9a6a63;display:block;font-size:8px}
.esac-dashboard-content .esac-student-course-body>.esac-course-renew{align-items:center;background:linear-gradient(135deg,#d8aa34,#efca67);border:0;border-radius:8px;box-sizing:border-box;color:#09273d;cursor:pointer;display:flex;font-size:11px;font-weight:800;gap:8px;justify-content:space-between;margin-top:12px;min-height:42px;padding:0 13px;text-decoration:none;width:100%}
.esac-dashboard-content .esac-student-course-body>.esac-course-renew:hover{box-shadow:0 11px 22px rgba(186,137,20,.23);transform:translateY(-1px)}
.esac-dashboard-content .esac-student-course-body>.esac-course-renew .esac-ui-icon{height:17px;width:17px}

.esac-dashboard-content .esac-student-exams{gap:14px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.esac-dashboard-content .esac-student-exams article{border-radius:16px;box-shadow:0 8px 23px rgba(7,40,61,.05);padding:17px;position:relative;transition:transform .2s,box-shadow .2s}
.esac-dashboard-content .esac-student-exams article:before{background:#55a878;border-radius:999px;content:"";height:54px;inset-inline-start:0;position:absolute;top:16px;width:3px}
.esac-dashboard-content .esac-student-exams article:hover{box-shadow:0 15px 32px rgba(7,40,61,.1);transform:translateY(-2px)}
.esac-dashboard-content .esac-student-exams header span{align-items:center;display:flex;gap:5px}
.esac-dashboard-content .esac-student-exams header span i{background:currentColor;border-radius:50%;display:block;height:5px;width:5px}
.esac-dashboard-content .esac-student-exams header>b{align-items:center;color:#6d818d;display:flex;font-size:9px;gap:5px}
.esac-dashboard-content .esac-student-exams header>b .esac-ui-icon{height:14px;width:14px}
.esac-exam-heading{align-items:flex-start;display:grid;gap:9px;grid-template-columns:auto minmax(0,1fr);margin-top:16px}
.esac-exam-heading>.esac-ui-icon{background:#eef4f7;border-radius:9px;color:#174f70;height:20px;padding:8px;width:20px}
.esac-dashboard-content .esac-student-exams h2{font-size:16px;line-height:1.5;margin:3px 0 0}
.esac-dashboard-content .esac-student-exams p{font-size:10px;line-height:1.65;margin:11px 0}
.esac-dashboard-content .esac-student-exams dl{gap:8px;margin:0 0 13px}
.esac-dashboard-content .esac-student-exams dl div{align-items:center;gap:10px}
.esac-dashboard-content .esac-student-exams dt{align-items:center;color:#6b808d;display:flex;gap:5px}
.esac-dashboard-content .esac-student-exams dt .esac-ui-icon{height:13px;width:13px}
.esac-dashboard-content .esac-student-exams dd{color:#173b52;text-align:end}
.esac-dashboard-content .esac-student-exams a{align-items:center;border:1px solid #c8a041;border-radius:8px;display:flex;gap:8px;justify-content:space-between;padding:10px 11px;transition:background .2s,color .2s}
.esac-dashboard-content .esac-student-exams a:hover{background:#fff5d9;color:#76570d}
.esac-dashboard-content .esac-student-exams a .esac-ui-icon{height:16px;width:16px}
.esac-dashboard-content .esac-student-exams .is-upcoming:before{background:#d3a02a}
.esac-dashboard-content .esac-student-exams .is-closed:before,.esac-dashboard-content .esac-student-exams .is-locked:before{background:#b86666}
.esac-dashboard-content .esac-student-exams .is-pending_review:before{background:#6a78b5}
.esac-dashboard-content .esac-student-exams .is-pending_review header span{background:#e9ebf8;color:#56639b}
.esac-dashboard-content .esac-student-exams .is-locked header span{background:#f4e2e2;color:#853434}

.esac-dashboard-content .esac-announcement-list{gap:11px}
.esac-dashboard-content .esac-announcement-list article{align-items:flex-start;box-shadow:0 7px 20px rgba(7,40,61,.04);display:grid;gap:14px;grid-template-columns:auto minmax(0,1fr);padding:17px}
.esac-announcement-icon{align-items:center;background:#fff3d1;border-radius:11px;color:#9a7110;display:flex;height:43px;justify-content:center;width:43px}
.esac-announcement-icon .esac-ui-icon{height:20px;width:20px}
.esac-dashboard-content .esac-announcement-list h2{font-size:17px;margin:5px 0 7px}
.esac-announcement-copy{color:#647987;font-size:11px;line-height:1.75}
.esac-announcement-copy>:first-child{margin-top:0}.esac-announcement-copy>:last-child{margin-bottom:0}

.esac-dashboard-content .esac-student-certificate-list{gap:10px}
.esac-dashboard-content .esac-student-certificate-list article{box-shadow:0 7px 20px rgba(7,40,61,.04);padding:16px}
.esac-dashboard-content .esac-student-certificate-list article>span{background:#e8f6ed;color:#267049;height:48px;width:48px}
.esac-dashboard-content .esac-student-certificate-list article>span .esac-ui-icon{height:22px;width:22px}
.esac-dashboard-content .esac-student-certificate-list h2{color:#173a51;font-size:16px;margin:4px 0 7px}
.esac-dashboard-content .esac-student-certificate-list small{color:#81919b;font-size:9px}
.esac-dashboard-content .esac-student-certificate-list p{align-items:center;display:flex;gap:8px;margin:0}
.esac-dashboard-content .esac-student-certificate-list code{background:#eef3f6;border-radius:5px;color:#1d465f;font-size:10px;padding:4px 6px}
.esac-dashboard-content .esac-student-certificate-list em{color:#3b7957;font-size:9px;font-style:normal;font-weight:800;text-transform:uppercase}
.esac-dashboard-content .esac-student-certificate-list a{align-items:center;display:flex;font-size:10px;gap:8px;justify-content:space-between;min-width:105px}
.esac-dashboard-content .esac-student-certificate-list a .esac-ui-icon{height:15px;width:15px}
.esac-dashboard-content .esac-certificate-card-actions{display:grid;gap:7px;min-width:310px}
.esac-dashboard-content .esac-certificate-card-actions a{background:#f5f8fa;border:1px solid #d9e3e8;color:#173a51;padding:8px 10px}
.esac-dashboard-content .esac-certificate-card-actions a:first-child{background:var(--esac-p-gold);border-color:var(--esac-p-gold)}
.esac-dashboard-content .esac-certificate-language-title{color:#667c89;font-size:9px;font-weight:800;letter-spacing:.08em;padding:0 2px;text-transform:uppercase}
.esac-dashboard-content .esac-certificate-language-row{align-items:center;background:#f7f9fa;border:1px solid #dce5ea;border-radius:9px;display:grid;gap:8px;grid-template-columns:68px minmax(0,1fr);padding:7px}
.esac-dashboard-content .esac-certificate-language-row>strong{color:#173a51;font-size:11px;padding:0 3px}
.esac-dashboard-content .esac-certificate-language-row>span{display:grid;gap:6px;grid-template-columns:minmax(70px,.8fr) minmax(108px,1.2fr)}
.esac-dashboard-content .esac-certificate-language-row a{background:#fff;border-color:#d6e0e5;justify-content:center;min-width:0;padding:7px 8px;text-align:center}
.esac-dashboard-content .esac-certificate-language-row a:first-child{background:#fff;border-color:#d6e0e5}
.esac-dashboard-content .esac-certificate-language-row a:last-child{background:var(--esac-p-gold);border-color:var(--esac-p-gold)}
.esac-dashboard-content .esac-certificate-language-row a b{font-size:9px;white-space:nowrap}
.esac-dashboard-content .esac-certificate-verify{background:transparent!important;border:0!important;color:#496777!important;justify-content:center!important;padding:5px 8px!important}
.esac-dashboard-content .esac-student-certificate-list em.is-expired,.esac-dashboard-content .esac-student-certificate-list em.is-revoked{color:#a63e3e}

.esac-dashboard-content .esac-student-empty{background:#fff;border-style:dashed;padding:54px 30px}
.esac-dashboard-content .esac-student-empty>span{align-items:center;background:#fff4d5;border-radius:18px;color:#9c7310;display:flex;height:66px;justify-content:center;margin:0 auto 15px;width:66px}
.esac-dashboard-content .esac-student-empty>span .esac-ui-icon{height:30px;width:30px}
.esac-dashboard-content .esac-student-empty h2{color:#16394f;font-size:19px;margin:0 0 7px}
.esac-dashboard-content .esac-student-empty p{color:#6c808d;font-size:11px;margin:0}
.esac-student-shell[dir="rtl"] .esac-icon--arrow{transform:scaleX(-1)}
.esac-student-shell :is(button,a):focus-visible{outline:3px solid rgba(218,171,51,.38);outline-offset:2px}

@media(max-width:1180px){
  .esac-dashboard-layout{grid-template-columns:245px minmax(0,1fr)}
  .esac-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .esac-dashboard-layout{grid-template-columns:1fr}
  .esac-dashboard-sidebar{position:static}
  .esac-dashboard-profile{border-bottom:0;padding-bottom:11px}
  .esac-dashboard-code{margin:5px 0 14px}
  .esac-dashboard-sidebar .esac-student-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .esac-dashboard-sidebar .esac-student-tabs button{display:flex;flex-direction:column;gap:6px;justify-content:center;min-height:77px;padding:9px 5px;text-align:center}
  .esac-dashboard-sidebar .esac-student-tabs button>b{height:19px;min-width:19px;position:absolute;transform:translate(20px,-20px)}
  .esac-dashboard-security{display:none}
}
@media(max-width:620px){
  .esac-student-header{align-items:flex-start;gap:11px;padding:12px 14px}
  .esac-student-header>a>img{height:42px;width:44px}
  .esac-student-header>a .esac-student-brand-copy strong{font-size:18px}
  .esac-student-header>div{gap:7px;justify-content:flex-end}
  .esac-student-language,.esac-student-header button{font-size:10px;padding:6px 8px}
  .esac-student-hero{border-radius:15px;margin-bottom:15px;padding:23px 20px}
  .esac-student-hero>aside{padding:13px 15px}
  .esac-dashboard-sidebar{border-radius:16px;padding:15px}
  .esac-dashboard-profile{grid-template-columns:auto minmax(0,1fr)}
  .esac-dashboard-avatar{border-radius:13px;height:45px;width:45px}
  .esac-dashboard-sidebar .esac-student-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .esac-dashboard-sidebar .esac-student-tabs button{min-height:68px}
  .esac-dashboard-title h2{font-size:23px}
  .esac-dashboard-title p{font-size:11px}
  .esac-dashboard-metrics{gap:8px}
  .esac-dashboard-metrics article{display:block;min-height:97px;padding:11px}
  .esac-dashboard-metrics article>span{height:34px;margin-bottom:8px;width:34px}
  .esac-dashboard-metrics article>span .esac-ui-icon{height:17px;width:17px}
  .esac-dashboard-metrics small{min-height:26px}
  .esac-dashboard-metrics strong{font-size:18px}
  .esac-dashboard-content{border-radius:15px;padding:13px}
  .esac-dashboard-section-head{padding:4px 2px 13px}
  .esac-dashboard-section-head h2{font-size:19px}
  .esac-dashboard-content .esac-student-course-grid,.esac-dashboard-content .esac-student-exams{grid-template-columns:1fr}
  .esac-dashboard-content .esac-student-certificate-list article{align-items:start;grid-template-columns:auto 1fr}
  .esac-dashboard-content .esac-certificate-card-actions{grid-column:1/-1;grid-template-columns:1fr;width:100%}
  .esac-dashboard-content .esac-student-certificate-list a{justify-content:center;width:auto}
}
@media(max-width:520px){
  .esac-dashboard-content .esac-certificate-card-actions{min-width:0}
  .esac-dashboard-content .esac-certificate-language-row{grid-template-columns:1fr}
  .esac-dashboard-content .esac-certificate-language-row>span{grid-template-columns:1fr 1.25fr}
}
@media(prefers-reduced-motion:reduce){
  .esac-student-course,.esac-student-exams article,.esac-student-course-body>button{transition:none!important}
}

/* Learning overview and its metrics are limited to the Home tab. */
.esac-dashboard-title[hidden], .esac-dashboard-metrics[hidden] { display: none !important; }
