/* Account study surface. Scoped under .ez-account so the host app keeps its own styles. */
.ez-account {
  --ez-primary: #273449;
  --ez-background: #faf9f7;
  --ez-surface: #ffffff;
  --ez-text: #182238;
  --ez-muted: #64748b;
  --ez-accent: #147d73;
  --ez-danger: #b42318;
  --ez-radius: 12px;
  --ez-space: 16px;
  --ez-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ez-heading: var(--portal-font-heading);
  --ez-navy: #0f2b46;
  --ez-paper: #faf9f7;
  --ez-rule: #d4d4d0;
  --ez-soft-rule: #ebeae6;
  --ez-serif: var(--portal-font-heading);
  --ez-ok: #14532d;
  --ez-warn: #8a5a00;
  color: var(--ez-text);
  background: var(--ez-background);
  font-family: var(--ez-font);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

.ez-account *,
.ez-account *::before,
.ez-account *::after { box-sizing: border-box; }

.ez-account a { color: inherit; }
.ez-account a:focus-visible,
.ez-account button:focus-visible,
.ez-account select:focus-visible,
.ez-account input:focus-visible,
.ez-account summary:focus-visible {
  outline: 3px solid var(--ez-primary);
  outline-offset: 2px;
}

.ez-account .ez-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ez-surface);
  border: 2px solid var(--ez-primary);
  border-radius: 6px;
}
.ez-account .ez-skip:focus { left: 16px; }
.ez-account .ez-avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0e6ff;
  color: var(--ez-primary);
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: none;
  border: 1px solid #c7d0f6;
}
.ez-account .ez-demo-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ez-account .ez-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 32px 56px; }
.ez-account .ez-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ez-muted); margin-bottom: 18px; }
.ez-account .ez-crumbs a { text-decoration: none; font-weight: 600; }
.ez-account .ez-crumbs b { color: var(--ez-text); }
.ez-account h1, .ez-account h2, .ez-account h3 { font-family: var(--ez-heading); letter-spacing: -0.02em; }
.ez-account h1 { font-size: 34px; line-height: 1.12; margin: 0 0 10px; }
.ez-account h2 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.ez-account h3 { font-size: 16px; line-height: 1.3; margin: 0 0 4px; }
.ez-account .ez-lead { font-size: 16.5px; color: #3d465c; max-width: 720px; margin: 0; }
.ez-account .ez-muted { color: var(--ez-muted); }
.ez-account .ez-small { font-size: 12.5px; color: var(--ez-muted); }
.ez-account .ez-greet { display: flex; align-items: flex-end; gap: 24px; justify-content: space-between; margin-bottom: 22px; }
.ez-account .ez-greet > div { max-width: 760px; }

.ez-account .ez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d9dcea;
  border-radius: 8px;
  background: var(--ez-surface);
  color: var(--ez-text);
  font: 700 13.5px var(--ez-font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.ez-account .ez-btn:hover { border-color: #b9bed2; }
.ez-account .ez-btn--primary { background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.ez-account .ez-btn--primary:hover { background: var(--ezp-brand-strong); }
.ez-account .ez-btn--quiet { border-color: transparent; background: transparent; color: var(--ez-primary); }
.ez-account .ez-btn--danger { color: var(--ez-danger); }
.ez-account .ez-btn--sm { min-height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 6px; }
.ez-account .ez-btn[disabled], .ez-account .ez-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.ez-account .ez-btnrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.ez-account .ez-card {
  background: var(--ez-surface);
  border: 1px solid #e6e8f0;
  border-radius: var(--ez-radius);
  padding: 20px;
  box-shadow: 0 1px 2px rgb(24 34 56 / 0.04);
}
.ez-account .ez-card--flat { box-shadow: none; }
.ez-account .ez-card--dark { background: #1d2340; border-color: #1d2340; color: #fff; }
.ez-account .ez-card--dark .ez-muted { color: #c3c8dd; }
.ez-account .ez-card--dark .ez-btn { background: transparent; border-color: #6f78a8; color: #fff; }
.ez-account .ez-split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.ez-account .ez-stack { display: grid; gap: 18px; }
.ez-account .ez-rail { display: grid; gap: 16px; }
.ez-account .ez-row { display: flex; align-items: center; gap: 12px; }
.ez-account .ez-row--between { justify-content: space-between; }
.ez-account .ez-grid { display: grid; gap: 14px; }
.ez-account .ez-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ez-account .ez-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ez-account .ez-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ez-account .ez-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef0f8;
  color: #3d465c;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ez-account .ez-pill--purple { background: #e0e6ff; color: var(--ezp-brand-strong); }
.ez-account .ez-pill--teal { background: #e3f4f1; color: #0d5f57; }
.ez-account .ez-pill--amber { background: #fff4d6; color: #7a4b00; }
.ez-account .ez-pill--red { background: #fde8e6; color: #8f1d14; }
.ez-account .ez-pill--navy { background: var(--ez-navy); color: #fff; }

.ez-account .ez-resume {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #c7d0f6;
  border-radius: var(--ez-radius);
  background: linear-gradient(180deg, #fafbff, #f0f3ff);
}
.ez-account .ez-resume-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0e6ff;
  color: var(--ez-primary);
  font-size: 20px;
}
.ez-account .ez-resume h3 { margin: 6px 0 4px; font-size: 17px; }
.ez-account .ez-resume p { margin: 0; color: var(--ez-muted); font-size: 13.5px; }
.ez-account .ez-timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; color: var(--ez-text); }
.ez-account .ez-timer small { font-size: 11px; font-weight: 700; color: var(--ez-muted); }

.ez-account .ez-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ez-account .ez-q {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e6e8f0;
  border-radius: 10px;
  background: var(--ez-surface);
  text-decoration: none;
  color: var(--ez-text);
}
.ez-account .ez-q:hover { border-color: #b7c4f0; }
.ez-account .ez-q b { font-size: 14.5px; }
.ez-account .ez-q span { font-size: 12.5px; color: var(--ez-muted); line-height: 1.45; }
.ez-account .ez-q em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--ez-primary); margin-top: 4px; }

.ez-account .ez-courserow {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 190px 104px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #eef0f6;
}
.ez-account .ez-courserow:first-of-type { border-top: 0; }
.ez-account .ez-cico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0e6ff;
  color: var(--ez-primary);
  font-weight: 800;
  font-size: 18px;
}
.ez-account .ez-cico--rw { background: #e3f4f1; color: var(--ez-accent); }
.ez-account .ez-bar { height: 7px; border-radius: 999px; background: #eceef5; overflow: hidden; }
.ez-account .ez-bar > i { display: block; height: 100%; background: var(--ez-primary); border-radius: inherit; }
.ez-account .ez-bar--accent > i { background: var(--ez-accent); }
.ez-account .ez-bar--navy > i { background: var(--ez-navy); }

.ez-account .ez-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ez-account .ez-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-top: 1px solid #eef0f6;
  font-size: 13.5px;
}
.ez-account .ez-list li:first-child { border-top: 0; }
.ez-account .ez-list a { text-decoration: none; font-weight: 700; }
.ez-account .ez-list .ez-small { grid-column: 1 / -1; }
.ez-account .ez-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.ez-account .ez-statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ez-account .ez-stat { padding: 12px; border-radius: 10px; background: #f7f8fc; }
.ez-account .ez-stat b { display: block; font-size: 24px; line-height: 1; }
.ez-account .ez-stat span { display: block; margin-top: 5px; font-size: 12px; color: var(--ez-muted); }

.ez-account .ez-tabs { display: flex; gap: 6px; border: 1px solid #e2e4ee; border-radius: 8px; padding: 3px; background: var(--ez-surface); }
.ez-account .ez-tabs a { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ez-muted); }
.ez-account .ez-tabs a[aria-current="page"] { background: var(--ez-primary); color: #fff; }

.ez-account .ez-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ez-account .ez-topic { background: var(--ez-surface); border: 1px solid #e6e8f0; border-radius: var(--ez-radius); padding: 18px; }
.ez-account .ez-topic--active { border-color: #b7c4f0; box-shadow: 0 0 0 3px #eef1ff; }
.ez-account .ez-topic-h { display: flex; align-items: flex-start; gap: 12px; }
.ez-account .ez-tnum {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: #f0f1f8;
  color: var(--ez-muted);
  font-weight: 800;
  font-size: 12px;
}
.ez-account .ez-topic-h > div { min-width: 0; }
.ez-account .ez-topic-h .ez-btn { margin-left: auto; }
.ez-account .ez-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.ez-account .ez-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #e2e4ee;
  border-radius: 6px;
  background: #fbfbfe;
  color: #4a5368;
  font-size: 11.5px;
  font-weight: 600;
}
.ez-account .ez-chip--on { border-color: #b7c4f0; background: #eef1ff; color: var(--ezp-brand-strong); }
.ez-account .ez-chip--off { border-style: dashed; color: #9aa3b8; background: #f7f8fc; }
.ez-account .ez-topic-f { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ez-muted); }
.ez-account .ez-topic-f .ez-bar { flex: 1; }

.ez-account .ez-thero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid #e6e8f0;
  border-radius: var(--ez-radius);
  background: linear-gradient(135deg, #fafbff, #f0f3ff 60%, #eef7f5);
  margin-bottom: 20px;
}
.ez-account .ez-thero h1 { font-size: 38px; margin-bottom: 8px; }
.ez-account .ez-thero .ez-lead { font-size: 15.5px; }
.ez-account .ez-thero-stat { text-align: right; display: grid; gap: 6px; justify-items: end; }
.ez-account .ez-thero-stat b { font-size: 30px; letter-spacing: -0.02em; }
.ez-account .ez-thero-stat .ez-bar { width: 180px; }
/* Topic progress: three separately counted measures, each with its own unit. */
.ez-account .ez-thero { flex-wrap: wrap; }
.ez-account .ez-thero-stats { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; margin: 4px 0 0; }
.ez-account .ez-thero-stats > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ez-account .ez-thero-stats dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5a5a5a; }
.ez-account .ez-thero-stats dd { margin: 0; font-size: 13.5px; color: #3d3d3a; }
.ez-account .ez-thero-stats dd b { font-size: 24px; letter-spacing: -0.02em; color: #111; margin-right: 4px; }
.ez-account .ez-thero-stats small { font-size: 12.5px; color: #5a5a5a; }
.ez-account .ez-subtable .ez-prof { margin-top: 6px; }

.ez-account .ez-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ez-account .ez-scope a, .ez-account .ez-scope div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #e6e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ez-text);
  background: #fbfbfe;
}
.ez-account .ez-scope a:hover { border-color: #b7c4f0; }
.ez-account .ez-scope b { font-size: 14px; }
.ez-account .ez-scope span { font-size: 12.5px; color: var(--ez-muted); line-height: 1.45; }
.ez-account .ez-scope em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--ez-primary); }
.ez-account .ez-scope .ez-unavailable { opacity: 0.7; }
.ez-account .ez-scope .ez-unavailable em { color: var(--ez-muted); }

.ez-account .ez-subtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ez-account .ez-subtable th {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid #e2e4ee;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ez-muted);
}
.ez-account .ez-subtable td { padding: 12px 10px; border-top: 1px solid #eef0f6; vertical-align: middle; }
.ez-account .ez-subtable tr:first-child td { border-top: 0; }
.ez-account .ez-subtable .ez-act { display: flex; gap: 6px; justify-content: flex-end; }
.ez-account .ez-subtable tr.ez-unavail td { color: #9aa3b8; }
/* Each Easy/Medium/Hard pair: the visible label sits directly above its own square, in three equal columns. */
.ez-account .ez-prof { display: inline-grid; grid-template-columns: repeat(3, 48px); gap: 5px 4px; align-items: start; justify-items: center; }
.ez-account .ez-prof-cell { display: grid; gap: 4px; justify-items: center; min-width: 0; }
.ez-account .ez-prof-label { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--ez-muted); }
.ez-account .ez-prof .ez-cell { width: 28px; height: 28px; border-radius: 4px; }
.ez-account .ez-prof .ez-cell.mast { font-size: 14px; }
.ez-account .ez-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--ez-muted); }
.ez-account .ez-legend span { display: inline-flex; gap: 6px; align-items: center; }
.ez-account .ez-cell {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1.5px solid #c8c8c4;
  background: #fff;
  vertical-align: middle;
}
.ez-account .ez-cell.att { border-color: #a0a09a; background: #f0f0ee; }
.ez-account .ez-cell.fam { border-color: #707070; background: repeating-linear-gradient(135deg, #707070 0 3px, #d0d0cc 3px 6px); }
.ez-account .ez-cell.prof { border-color: #555; background: #555; }
.ez-account .ez-cell.mast { display: inline-grid; place-items: center; border-color: #111; background: #111; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.ez-account .ez-cell.ez-cell--unknown { display: inline-grid; place-items: center; border-style: dashed; border-color: var(--ez-danger, #b42318); color: var(--ez-danger, #b42318); font-size: 10px; font-weight: 800; line-height: 1; }
#ez-main:focus { outline: none; }

.ez-account .ez-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #e2e4ee;
  border-left: 3px solid var(--ez-primary);
  border-radius: 8px;
  background: var(--ez-surface);
  font-size: 13.5px;
}
.ez-account .ez-callout--warn { border-left-color: #b8860b; background: #fffaf0; }
.ez-account .ez-callout--err { border-left-color: var(--ez-danger); background: #fff6f5; }
.ez-account .ez-callout--ok { border-left-color: var(--ez-accent); background: #f2fbf9; }
.ez-account .ez-callout b { color: var(--ez-text); }

.ez-account .ez-skel {
  display: block;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef0f6, #f7f8fc, #eef0f6);
  background-size: 200% 100%;
  animation: ez-shimmer 1.4s ease-in-out infinite;
  margin: 8px 0;
}
@keyframes ez-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.ez-account .ez-loading { display: grid; gap: 10px; max-width: 720px; }
.ez-account .ez-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #e2e4ee;
  border-top-color: var(--ez-primary);
  border-radius: 50%;
  animation: ez-spin 0.8s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}
@keyframes ez-spin { to { transform: rotate(360deg); } }

.ez-account .ez-foot {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 32px;
  border-top: 1px solid #e6e8f0;
  color: var(--ez-muted);
  font-size: 12.5px;
}
.ez-account .ez-foot a { text-decoration: none; font-weight: 600; }
.ez-account .ez-foot span:first-child { font-weight: 800; color: var(--ez-text); }

/* Editorial variant used by the progress and history screens. */
.ez-account--editorial { background: var(--ez-paper); color: #111; }
.ez-account--editorial .ez-avatar { background: #efeee9; color: #111; border-color: var(--ez-rule); }
.ez-account--editorial .ez-wrap { max-width: 1120px; padding: 0 0 48px; }
.ez-account--editorial .ez-hero {
  border-bottom: 1px solid var(--ez-rule);
  padding: 44px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
}
.ez-account--editorial .ez-hero h1 {
  font-family: var(--ez-serif);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 14px 0;
  text-wrap: balance;
}
.ez-account--editorial .ez-hero .ez-lead { font-size: 17px; line-height: 1.6; color: #3d3d3a; max-width: 590px; }
.ez-account--editorial .ez-card { border-color: var(--ez-rule); border-radius: 4px; box-shadow: 0 2px 8px rgb(0 0 0 / 0.05); }
.ez-account--editorial h2, .ez-account--editorial h3 { font-family: var(--ez-serif); }
.ez-account--editorial .ez-btn { border-radius: 2px; border-color: var(--ez-rule); color: #111; font-weight: 700; }
.ez-account--editorial .ez-btn--primary { background: #111; border: 2px solid #111; color: #fff; }
.ez-account--editorial .ez-btn--quiet { color: var(--ez-navy); }
.ez-account--editorial .ez-pill { border-radius: 2px; }
.ez-account--editorial .ez-pill--navy { background: var(--ez-navy); }
.ez-account--editorial .ez-bar { background: var(--ez-soft-rule); border-radius: 1px; }
.ez-account--editorial .ez-bar > i { background: #111; border-radius: 1px; }
.ez-account--editorial .ez-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  background: #fff;
  border: 1px solid var(--ez-rule);
  border-radius: 4px;
}
.ez-account--editorial .ez-summary > div { padding: 18px 20px; }
.ez-account--editorial .ez-summary > div + div { border-left: 1px solid var(--ez-soft-rule); }
.ez-account--editorial .ez-summary dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a5a5a;
}
.ez-account--editorial .ez-summary dd { margin: 10px 0 0; font: 800 34px/1 var(--ez-serif); }
.ez-account--editorial .ez-summary dd small { display: block; margin-top: 8px; font: 500 12.5px/1.4 var(--ez-font); color: #5a5a5a; }
.ez-account--editorial .ez-account-card {
  background: #fff;
  border: 1px solid var(--ez-rule);
  border-radius: 4px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
}
.ez-account--editorial .ez-account-card .ez-avatar { width: 58px; height: 58px; font: 800 21px var(--ez-serif); background: #efeee9; color: #111; border-color: var(--ez-rule); }
.ez-account--editorial .ez-account-card p { margin: 0; }
.ez-account--editorial .ez-account-card .ez-name { font: 800 20px var(--ez-serif); }
.ez-account--editorial .ez-account-card .ez-email { margin: 2px 0 8px; color: #5a5a5a; font-size: 13px; }
.ez-account--editorial .ez-account-card .ez-tags { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 700; }
.ez-account--editorial .ez-account-card .ez-tags span { padding: 3px 8px; border: 1px solid var(--ez-rule); border-radius: 2px; }
.ez-account--editorial .ez-account-card .ez-tags .ez-tag-navy { background: var(--ez-navy); color: #fff; border-color: var(--ez-navy); }
.ez-account--editorial .ez-account-card .ez-tag-ok { background: #f0fdf4; color: var(--ez-ok); border-color: #bbf7d0; }
.ez-account--editorial .ez-account-card .ez-actions { grid-column: 1 / -1; display: flex; gap: 8px; border-top: 1px solid var(--ez-soft-rule); padding-top: 14px; }
.ez-account--editorial .ez-main { padding: 28px 0 0; }
.ez-account--editorial .ez-progress-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 24px; align-items: start; }
.ez-account--editorial .ez-section-head { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px 16px; border-bottom: 1px solid var(--ez-rule); }
.ez-account--editorial .ez-section-head h2 { font-size: 26px; margin: 0; }
.ez-account--editorial .ez-section-head span { font-size: 13.5px; color: #5a5a5a; }
.ez-account--editorial .ez-topic-block { padding: 4px 24px 6px; }
.ez-account--editorial .ez-topic-block + .ez-topic-block { border-top: 1px solid var(--ez-rule); }
.ez-account--editorial .ez-topic-head { display: flex; align-items: center; gap: 16px; padding: 18px 0 10px; }
.ez-account--editorial .ez-topic-head h3 { font-size: 22px; margin: 0; }
.ez-account--editorial .ez-topic-head .ez-topic-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; color: #5a5a5a; }
.ez-account--editorial .ez-topic-head .ez-topic-meta b { color: #111; }
.ez-account--editorial .ez-topic-head .ez-topic-meta .ez-bar { width: 110px; height: 6px; }
.ez-account--editorial .ez-subrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px 44px 28px 96px 164px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #f0efeb;
  font-size: 14px;
}
.ez-account--editorial .ez-subrow--head {
  padding: 2px 0 6px;
  border-top: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a5a5a;
}
.ez-account--editorial .ez-subrow > span:nth-child(n+2):nth-child(-n+4) { text-align: center; }
.ez-account--editorial .ez-subrow .ez-cell {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 2px solid #c8c8c4;
  background: #fff;
  vertical-align: middle;
}
.ez-account--editorial .ez-subrow .ez-cell.att { border-color: #a0a09a; background: #f0f0ee; }
.ez-account--editorial .ez-subrow .ez-cell.fam { border-color: #707070; background: repeating-linear-gradient(135deg, #707070 0 3px, #d0d0cc 3px 6px); }
.ez-account--editorial .ez-subrow .ez-cell.prof { border-color: #555; background: #555; }
.ez-account--editorial .ez-subrow .ez-cell.mast { display: inline-grid; place-items: center; border-color: #111; background: #111; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
.ez-account--editorial .ez-subrow .ez-unit {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #b8860b;
  background: rgb(184 134 11 / 0.1);
  text-decoration: none;
  font-size: 13px;
}
.ez-account--editorial .ez-subrow .ez-actions { display: flex; gap: 6px; justify-content: flex-end; }
.ez-account--editorial .ez-subrow .ez-actions a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--ez-rule);
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.ez-account--editorial .ez-topic-foot { display: flex; align-items: center; gap: 10px; padding: 10px 0 2px; border-top: 1px solid #f0efeb; font-size: 13px; color: #5a5a5a; }
.ez-account--editorial .ez-topic-foot .ez-actions { display: flex; gap: 6px; margin-left: auto; }
.ez-account--editorial .ez-topic-foot .ez-actions a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--ez-rule);
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.ez-account--editorial .ez-topic-foot .ez-actions a:first-child { background: #111; border: 2px solid #111; color: #fff; }
.ez-account--editorial .ez-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 18px 24px 22px;
  background: var(--ez-paper);
  border-top: 1px solid var(--ez-rule);
  font-size: 12.5px;
  line-height: 1.5;
  color: #3d3d3a;
}
.ez-account--editorial .ez-notes dt { font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #111; margin-bottom: 4px; }
.ez-account--editorial .ez-notes dd { margin: 0; }
.ez-account--editorial .ez-aside { display: grid; gap: 16px; }
.ez-account--editorial .ez-aside .ez-card { padding: 20px 22px; }
.ez-account--editorial .ez-aside h2 { font-size: 20px; margin: 0 0 8px; }
.ez-account--editorial .ez-aside .ez-card--next h2 { font-size: 20px; line-height: 1.25; }
.ez-account--editorial .ez-aside .ez-card--next p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #3d3d3a; }
.ez-account--editorial .ez-aside .ez-card--next .ez-actions { display: flex; gap: 8px; margin-top: 14px; }
.ez-account--editorial .ez-aside .ez-card--next .ez-actions a { flex: 1; }
.ez-account--editorial .ez-score-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ez-account--editorial .ez-score-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #f0efeb;
  font-size: 13.5px;
}
.ez-account--editorial .ez-score-list li:first-child { border-top: 0; }
.ez-account--editorial .ez-score-list .ez-bolt {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(184 134 11 / 0.1);
  color: #b8860b;
  font-size: 12px;
}
.ez-account--editorial .ez-score-list small { display: block; color: #5a5a5a; font-size: 12px; }
.ez-account--editorial .ez-score-list .ez-score-value { text-align: right; font-weight: 700; }
.ez-account--editorial .ez-score-list .ez-score-value small { display: flex; gap: 5px; align-items: center; justify-content: flex-end; font-size: 11.5px; font-weight: 600; color: #5a5a5a; margin-top: 3px; }
.ez-account--editorial .ez-sat-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ez-account--editorial .ez-sat-list li { padding: 10px 0; border-top: 1px solid #f0efeb; font-size: 13.5px; }
.ez-account--editorial .ez-sat-list li:first-child { border-top: 0; }
.ez-account--editorial .ez-sat-list b { display: block; }
.ez-account--editorial .ez-sat-list small { color: #5a5a5a; font-size: 12px; }
.ez-account--editorial .ez-sat-list a { color: var(--ez-navy); font-weight: 700; text-decoration: none; }

.ez-account--editorial .ez-history-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  background: #fff;
  border: 1px solid var(--ez-rule);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
}
.ez-account--editorial .ez-history-counts > div { padding: 16px 18px; }
.ez-account--editorial .ez-history-counts > div + div { border-left: 1px solid var(--ez-soft-rule); }
.ez-account--editorial .ez-history-counts dt { margin: 0; }
.ez-account--editorial .ez-history-counts dd { margin: 12px 0 0; font: 800 34px/1 var(--ez-serif); }
.ez-account--editorial .ez-history-counts dd small { display: block; margin-top: 6px; font: 500 13px var(--ez-font); color: #5a5a5a; }
.ez-account--editorial .ez-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 7px;
  border: 1px solid var(--ez-rule);
  border-radius: 2px;
  background: #fff;
  color: #3d3d3a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.ez-account--editorial .ez-mode-badge--targeted { border-color: #c9d3dc; background: #eef1f4; color: var(--ez-navy); }
.ez-account--editorial .ez-mode-badge--sat { border-color: var(--ez-navy); background: var(--ez-navy); color: #fff; }
.ez-account--editorial .ez-mode-badge--legacy { border-style: dashed; color: #5a5a5a; }
.ez-account--editorial .ez-history-card { background: #fff; border: 1px solid var(--ez-rule); border-radius: 4px; overflow: hidden; box-shadow: 0 2px 8px rgb(0 0 0 / 0.05); }
.ez-account--editorial .ez-history-toolbar { display: flex; align-items: center; gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
.ez-account--editorial .ez-history-toolbar h2 { font-size: 24px; margin: 0 6px 0 0; white-space: nowrap; }
.ez-account--editorial .ez-filter { display: flex; border: 1px solid var(--ez-rule); border-radius: 2px; overflow-x: auto; max-width: 100%; }
.ez-account--editorial .ez-filter button {
  border: 0;
  padding: 7px 12px;
  font: 700 12.5px var(--ez-font);
  background: #fff;
  color: #3d3d3a;
  cursor: pointer;
  white-space: nowrap;
}
.ez-account--editorial .ez-filter button + button { border-left: 1px solid var(--ez-rule); }
.ez-account--editorial .ez-filter button[aria-pressed="true"] { background: #111; color: #fff; }
.ez-account--editorial .ez-history-toolbar .ez-select { margin-left: auto; }

.ez-account--editorial .ez-history-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ez-account--editorial .ez-table-scroll { overflow-x: auto; max-width: 100%; }
.ez-account--editorial .ez-history-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a5a5a;
  border-top: 1px solid var(--ez-rule);
  border-bottom: 1px solid var(--ez-rule);
  background: var(--ez-paper);
}
.ez-account--editorial .ez-history-table th:first-child { padding-left: 20px; width: 150px; }
.ez-account--editorial .ez-history-table th:last-child { padding-right: 20px; width: 150px; }
.ez-account--editorial .ez-history-table td { padding: 14px 16px; border-top: 1px solid #f0efeb; line-height: 1.45; vertical-align: top; }
.ez-account--editorial .ez-history-table td:first-child { padding-left: 20px; }
.ez-account--editorial .ez-history-table td:last-child { padding-right: 20px; text-align: right; }
.ez-account--editorial .ez-history-table b { color: #111; }
.ez-account--editorial .ez-history-table .ez-result b { font-size: 15px; }
.ez-account--editorial .ez-history-table .ez-result small { color: #5a5a5a; font-size: 12px; }
.ez-account--editorial .ez-history-table .ez-result .ez-warn { color: var(--ez-warn); font-weight: 600; }
.ez-account--editorial .ez-history-foot { display: flex; align-items: center; padding: 14px 20px; border-top: 1px solid var(--ez-rule); background: var(--ez-paper); font-size: 13px; color: #5a5a5a; }
.ez-account--editorial .ez-history-foot .ez-btn { margin-left: auto; }
.ez-account--editorial .ez-history-lower { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: stretch; }
.ez-account--editorial .ez-history-lower .ez-card { padding: 20px 22px; }
.ez-account--editorial .ez-history-lower h2 { font-size: 20px; margin: 0 0 14px; }
.ez-account--editorial .ez-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ez-account--editorial .ez-mode-grid > div { border-top: 1px solid var(--ez-soft-rule); padding-top: 12px; }
.ez-account--editorial .ez-mode-grid p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: #3d3d3a; }
.ez-account--editorial .ez-active-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ez-rule);
  border-left: 3px solid var(--ez-navy);
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: #3d3d3a;
}
.ez-account--editorial .ez-active-banner .ez-active-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 2px;
  background: #eef1f4;
  color: var(--ez-navy);
}
.ez-account--editorial .ez-active-banner .ez-btn { margin-left: auto; }
.ez-account--editorial .ez-empty {
  padding: 28px 24px;
  text-align: center;
}
.ez-account--editorial .ez-empty h2 { font-size: 24px; margin-bottom: 8px; }
.ez-account--editorial .ez-empty p { color: #5a5a5a; margin: 0 0 16px; }
.ez-account--editorial .ez-empty .ez-btnrow { justify-content: center; }

@media (max-width: 980px) {
  .ez-account .ez-split,
  .ez-account--editorial .ez-progress-layout,
  .ez-account--editorial .ez-history-lower { grid-template-columns: 1fr; }
  .ez-account .ez-topics { grid-template-columns: 1fr; }
  .ez-account .ez-quick { grid-template-columns: 1fr; }
  .ez-account .ez-scope { grid-template-columns: 1fr; }
  .ez-account--editorial .ez-hero { grid-template-columns: 1fr; gap: 24px; }
  .ez-account--editorial .ez-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ez-account--editorial .ez-summary > div + div { border-left: 0; }
  .ez-account--editorial .ez-summary > div:nth-child(even) { border-left: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-summary > div:nth-child(n+3) { border-top: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-notes { grid-template-columns: 1fr; }
  .ez-account--editorial .ez-mode-grid { grid-template-columns: 1fr; }
  .ez-account--editorial .ez-history-counts { grid-template-columns: 1fr; }
  .ez-account--editorial .ez-history-counts > div + div { border-left: 0; border-top: 1px solid var(--ez-soft-rule); }
}

@media (max-width: 760px) {
  .ez-account .ez-wrap { padding: 20px 16px 40px; }
  .ez-account .ez-greet { flex-direction: column; align-items: flex-start; }
  .ez-account .ez-courserow { grid-template-columns: 44px minmax(0, 1fr); }
  .ez-account .ez-courserow > :nth-child(3),
  .ez-account .ez-courserow > :nth-child(4) { grid-column: 2; }
  .ez-account .ez-resume { grid-template-columns: 40px minmax(0, 1fr); }
  .ez-account .ez-resume > :last-child { grid-column: 2; justify-items: start; }
  .ez-account .ez-thero { flex-direction: column; align-items: flex-start; }
  .ez-account .ez-thero-stat { text-align: left; justify-items: start; }
  .ez-account .ez-subtable { display: block; overflow-x: auto; white-space: nowrap; }
  .ez-account--editorial .ez-wrap { padding: 0 16px 40px; }
  .ez-account--editorial .ez-hero { padding: 28px 0 24px; }
  .ez-account--editorial .ez-hero h1 { font-size: 34px; }
  .ez-account--editorial .ez-summary { grid-template-columns: 1fr; }
  .ez-account--editorial .ez-summary > div + div { border-left: 0; border-top: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-subrow { grid-template-columns: minmax(0, 1fr) 40px 40px 40px 28px; }
  .ez-account--editorial .ez-subrow > :nth-child(6),
  .ez-account--editorial .ez-subrow > :nth-child(7) { display: none; }
  .ez-account--editorial .ez-history-table { min-width: 900px; white-space: nowrap; }
  .ez-account--editorial .ez-history-toolbar { align-items: flex-start; }
  .ez-account--editorial .ez-history-toolbar h2 { width: 100%; }
  .ez-account--editorial .ez-history-toolbar .ez-select { width: 100%; margin-left: 0; }
  .ez-account--editorial .ez-history-card { overflow-x: hidden; }
  .ez-account--editorial .ez-active-banner { flex-wrap: wrap; }
  .ez-account--editorial .ez-active-banner .ez-btn { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ez-account .ez-skel, .ez-account .ez-spinner { animation: none; }
}

/* Keep table scroll and hidden header text inside the narrow history region. */
.ez-account .ez-table-scroll { position:relative; }
.ez-account .ez-history-table th { position:relative; }
.ez-account .ez-history-toolbar,.ez-account .ez-filter { min-width:0; }

/* UX remediation: readable unavailable states, unclipped Progress controls and phone layouts. */
.ez-account .ez-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ez-account .ez-btn[disabled], .ez-account .ez-btn[aria-disabled="true"] { opacity: 1; background: #eceef1; border-color: #d3d7dd; color: #4d5562; }
.ez-account .ez-chip--off { border-style: dashed; border-color: #b9bfcc; background: #f4f5f9; color: #4d5562; }
.ez-account .ez-na { margin: 0; font-size: 12.5px; font-weight: 600; color: #4d5562; }
.ez-account .ez-topic .ez-na { margin: -4px 0 12px; }
.ez-account .ez-scope .ez-unavailable { opacity: 1; background: #f4f5f9; border-style: dashed; border-color: #c4c9d4; }
.ez-account .ez-scope .ez-unavailable span, .ez-account .ez-scope .ez-unavailable em { color: #4d5562; }
.ez-account .ez-subtable tr.ez-unavail td { color: #4d5562; }
.ez-account .ez-mini {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 12px;
  border: 1px solid var(--ez-rule); border-radius: 2px; background: #fff; color: #111;
  font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal;
}
.ez-account .ez-mini:hover { border-color: #111; }
.ez-account .ez-mini--primary { background: #111; border: 2px solid #111; color: #fff; }
.ez-account .ez-mini--primary:hover { background: #2b2b2b; }
.ez-account--editorial .ez-topic-head { flex-wrap: wrap; row-gap: 6px; }
.ez-account--editorial .ez-topic-head .ez-topic-meta { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
.ez-account--editorial .ez-meta-sep { width: 1px; height: 16px; background: var(--ez-rule); }
.ez-account--editorial .ez-subrow { grid-template-columns: minmax(0, 1fr) 44px 44px 44px 36px 88px minmax(176px, auto); }
.ez-account--editorial .ez-subrow > .ez-level { text-align: center; }
.ez-account--editorial .ez-subname { font-weight: 600; }
.ez-account--editorial .ez-subacc small { color: #4d5562; }
.ez-account--editorial .ez-subrow .ez-actions { flex-wrap: wrap; }
.ez-account--editorial .ez-subrow .ez-actions a { height: auto; min-height: 34px; padding: 6px 12px; font-size: 13px; }
.ez-account--editorial .ez-subrow--off .ez-subname { color: #4d5562; }
.ez-account--editorial .ez-subrow .ez-unit--off { color: #8a8f99; background: #f0f1f3; }
.ez-account--editorial .ez-topic-foot { flex-wrap: wrap; row-gap: 8px; }
.ez-account--editorial .ez-topic-foot .ez-actions { flex-wrap: wrap; justify-content: flex-end; }
.ez-account--editorial .ez-topic-foot .ez-actions a { height: auto; min-height: 34px; padding: 6px 12px; font-size: 13px; }
.ez-account--editorial .ez-topic-foot .ez-actions a.ez-mini:not(.ez-mini--primary) { background: #fff; color: #111; border: 1px solid var(--ez-rule); }
@media (max-width: 760px) {
  .ez-account--editorial .ez-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ez-account--editorial .ez-summary > div + div { border-top: 0; border-left: 0; }
  .ez-account--editorial .ez-summary > div:nth-child(even) { border-left: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-summary > div:nth-child(n+3) { border-top: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-summary > div:last-child { grid-column: 1 / -1; border-left: 0; }
  .ez-account--editorial .ez-summary dd { font-size: 28px; }
  .ez-account--editorial .ez-section-head { flex-wrap: wrap; padding: 18px 16px 12px; }
  .ez-account--editorial .ez-topic-block { padding: 4px 16px 6px; }
  .ez-account--editorial .ez-topic-head { flex-direction: column; align-items: flex-start; }
  .ez-account--editorial .ez-topic-head .ez-topic-meta { margin-left: 0; justify-content: flex-start; }
  .ez-account--editorial .ez-subrow {
    grid-template-columns: 40px 40px 40px 32px minmax(0, 1fr);
    grid-template-areas: "name name name name name" "e m h u acc" "act act act act act";
    gap: 6px 8px; padding: 12px 0;
  }
  .ez-account--editorial .ez-subrow > :nth-child(1) { grid-area: name; }
  .ez-account--editorial .ez-subrow > :nth-child(2) { grid-area: e; }
  .ez-account--editorial .ez-subrow > :nth-child(3) { grid-area: m; }
  .ez-account--editorial .ez-subrow > :nth-child(4) { grid-area: h; }
  .ez-account--editorial .ez-subrow > :nth-child(5) { grid-area: u; justify-self: center; }
  .ez-account--editorial .ez-subrow > :nth-child(6) { grid-area: acc; display: block; }
  .ez-account--editorial .ez-subrow > :nth-child(7) { grid-area: act; display: flex; justify-content: flex-start; }
  .ez-account--editorial .ez-subrow--head { grid-template-areas: "e m h u acc"; padding-bottom: 2px; }
  .ez-account--editorial .ez-subrow--head > :nth-child(1), .ez-account--editorial .ez-subrow--head > :nth-child(7) { display: none; }
  .ez-account--editorial .ez-subrow .ez-actions a { flex: 1 1 0; }
  .ez-account--editorial .ez-topic-foot { flex-direction: column; align-items: stretch; }
  .ez-account--editorial .ez-topic-foot .ez-actions { margin-left: 0; justify-content: stretch; }
  .ez-account--editorial .ez-topic-foot .ez-actions a { flex: 1 1 0; }
  .ez-account--editorial .ez-account-card .ez-actions { flex-wrap: wrap; }
  .ez-account .ez-subtable { display: block; overflow: visible; white-space: normal; }
  .ez-account .ez-subtable thead { display: none; }
  .ez-account .ez-subtable tbody { display: block; }
  .ez-account .ez-subtable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 0; border-top: 1px solid #eef0f6; }
  .ez-account .ez-subtable tr:first-child { border-top: 0; }
  .ez-account .ez-subtable td { padding: 0; border: 0; }
  .ez-account .ez-subtable td:first-child { grid-column: 1 / -1; font-weight: 700; }
  .ez-account .ez-subtable td:nth-child(3) { grid-column: 1 / -1; }
  .ez-account .ez-subtable .ez-act { grid-column: 1 / -1; justify-content: flex-start; }
  .ez-account .ez-subtable .ez-act > * { flex: 1 1 0; }
}
@media (max-width: 760px) { .ez-account--editorial .ez-topic-block .ez-topic-block { padding-left: 0; padding-right: 0; } }

/* Shared native selects: portal type, comfortable height, one chevron and clear hover/focus/disabled states. */
.ez-account .ez-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  max-width: 100%;
  padding: 0 40px 0 14px;
  border: 1px solid #c9cdd4;
  border-radius: 8px;
  background: var(--ez-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23273449' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  color: var(--ez-text);
  font: 600 14.5px/1.3 var(--ez-font);
  text-overflow: ellipsis;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ez-account .ez-select:hover:not(:disabled) { border-color: #8b93a3; }
.ez-account .ez-select:focus-visible { outline: 3px solid var(--ez-primary); outline-offset: 2px; border-color: var(--ez-primary); }
.ez-account .ez-select:disabled {
  cursor: not-allowed;
  background-color: #f1f2f4;
  border-color: #d8dbe0;
  color: #4d5562;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa1ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ez-account .ez-select option { font-weight: 500; color: var(--ez-text); background: #fff; }
.ez-account .ez-select--compact { min-height: 38px; font-size: 13.5px; padding-left: 12px; }
.ez-account--editorial .ez-select { border-radius: 2px; border-color: var(--ez-rule); }
.ez-account .ez-scopebar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 18px; }
.ez-account .ez-field { display: grid; gap: 6px; min-width: 0; }
.ez-account .ez-field-label { font: 700 12px/1.2 var(--ez-font); letter-spacing: 0.04em; text-transform: uppercase; color: #4d5562; }
.ez-account .ez-field--section { flex: 0 1 220px; }
.ez-account .ez-field--topic { flex: 0 1 360px; }
.ez-account .ez-field .ez-select { width: 100%; }
.ez-account .ez-field-help { flex: 1 1 220px; margin: 0; min-height: 44px; display: flex; align-items: center; font-size: 13px; color: var(--ez-muted); }
@media (max-width: 760px) {
  .ez-account .ez-scopebar { flex-direction: column; align-items: stretch; gap: 12px; }
  .ez-account .ez-field--section, .ez-account .ez-field--topic, .ez-account .ez-field-help { flex: none; }
  .ez-account .ez-field-help { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .ez-account .ez-select { transition: none; } }

/* Course map subject switch: Math and Reading & Writing are separate views with their own URL. */
.ez-account .ez-subject-tabs { flex: none; }
.ez-account .ez-subject-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; font-size: 14px; }
.ez-account .ez-subject-tabs a:not([aria-current="page"]):hover { background: #f0f3ff; color: var(--ez-text); }
@media (max-width: 760px) {
  .ez-account .ez-subject-tabs { width: 100%; }
  .ez-account .ez-subject-tabs a { flex: 1 1 0; }
  .ez-account .ez-row--between:has(> .ez-btnrow) { flex-wrap: wrap; }
}
/* Math Course Challenge card: real entry, length preview and separate saved-attempt resume. */
.ez-account .ez-cc-tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.ez-account .ez-cc-lengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.ez-account .ez-cc-lengths span { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 8px; border: 1px solid var(--ez-soft-rule); border-radius: 999px; background: #fbfbf9; color: var(--ez-muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ez-account .ez-cc-lengths b { margin-right: 3px; color: var(--ez-text); font-size: 13.5px; }
.ez-account .ez-cc-saved hr { border: 0; border-top: 1px solid var(--ez-soft-rule); margin: 14px 0 0; }
.ez-account .ez-cc-saved .ez-btn { width: 100%; }
@media (max-width: 760px) { .ez-account .ez-cc-lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* App polish: one colourful palette (portal.css --ezp-*), clear primary actions, colour-coded study modes and a phone History list. */
.ez-account { --ez-primary: var(--ezp-brand); --ez-accent: var(--ezp-teal); --ez-navy: var(--ezp-ink); --ez-background: var(--ezp-bg); --ez-paper: var(--ezp-bg); --ez-rule: #dfe2ec; --ez-soft-rule: #eceef5; }
.ez-account .ez-btn--primary:hover { background: var(--ezp-brand-strong); border-color: var(--ezp-brand-strong); }
.ez-account .ez-btn { transition: border-color .15s, background-color .15s, box-shadow .15s; }
.ez-account .ez-btn:not(.ez-btn--primary):not(.ez-btn--quiet):not([disabled]):hover { border-color: var(--ezp-brand); color: var(--ezp-brand-strong); }
.ez-account .ez-card--dark { background: linear-gradient(135deg, var(--ezp-brand-deep), var(--ezp-brand-strong)); border-color: var(--ezp-brand-pressed); }
.ez-account .ez-card--dark .ez-btn { background: #fff; border-color: #fff; color: var(--ezp-brand-strong); }

.ez-account .ez-resume { border-left: 4px solid var(--ezp-brand); }
.ez-account .ez-q { transition: transform .15s, box-shadow .15s, border-color .15s; }


.ez-account .ez-q:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgb(24 34 56 / .08); }
.ez-account .ez-q--practice em { color: var(--ezp-teal); }
.ez-account .ez-q--sat em { color: var(--ezp-amber); }
.ez-account .ez-stat { background: var(--ezp-brand-soft); }
.ez-account .ez-stat b { color: var(--ezp-brand-strong); }
.ez-account .ez-stat--alt { background: var(--ezp-teal-soft); }
.ez-account .ez-stat--alt b { color: var(--ezp-teal); }
.ez-account .ez-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.ez-account .ez-kv dt { font-size: 12px; color: var(--ez-muted); }
.ez-account .ez-kv dd { margin: 2px 0 0; font-size: 12.5px; color: var(--ez-muted); }
.ez-account .ez-kv dd b { font-size: 18px; color: var(--ez-text); }
.ez-account .ez-tnum { background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); }
.ez-account .ez-howto { margin-top: 14px; border-top: 1px solid var(--ez-soft-rule); padding-top: 10px; }
.ez-account .ez-howto summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ezp-brand-strong); }
.ez-account .ez-howto p { margin: 8px 0 0; }
/* Editorial screens (History, Progress) share the same palette instead of black controls. */
.ez-account--editorial { color: var(--ezp-ink); }
.ez-account--editorial .ez-btn { border-radius: 8px; color: var(--ezp-ink); }
.ez-account--editorial .ez-btn--primary,
.ez-account .ez-mini--primary,
.ez-account--editorial .ez-topic-foot .ez-actions a:first-child { background: var(--ezp-brand); border: 1px solid var(--ezp-brand); color: #fff; border-radius: 8px; }
.ez-account--editorial .ez-btn--primary:hover, .ez-account .ez-mini--primary:hover { background: var(--ezp-brand-strong); }
.ez-account .ez-mini { border-radius: 8px; color: var(--ezp-ink); }
.ez-account .ez-mini:hover { border-color: var(--ezp-brand); }
.ez-account--editorial .ez-card, .ez-account--editorial .ez-history-card, .ez-account--editorial .ez-summary, .ez-account--editorial .ez-account-card { border-radius: 12px; border-color: #e3e6ef; }
.ez-account--editorial .ez-bar { border-radius: 999px; }
.ez-account--editorial .ez-bar > i { background: var(--ezp-brand); border-radius: inherit; }
.ez-account--editorial .ez-btn--quiet { color: var(--ezp-brand-strong); }
.ez-account--editorial .ez-filter { border-radius: 10px; border-color: #e3e6ef; }
.ez-account--editorial .ez-filter button[aria-pressed="true"] { background: var(--ezp-brand); color: #fff; }
.ez-account--editorial .ez-filter button:not([aria-pressed="true"]):hover { background: var(--ezp-brand-soft); }
.ez-account--editorial .ez-history-table th { background: #f8f9fc; }
.ez-account--editorial .ez-history-table tbody tr:hover td { background: #fafaff; }
.ez-account--editorial .ez-history-foot { background: #f8f9fc; }
.ez-account--editorial .ez-mode-badge { border-radius: 999px; border-color: transparent; background: var(--ezp-teal-soft); color: var(--ezp-teal); }
.ez-account--editorial .ez-mode-badge--targeted { background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); border-color: transparent; }
.ez-account--editorial .ez-mode-badge--sat { background: var(--ezp-amber-soft); color: var(--ezp-amber); border-color: transparent; }
.ez-account--editorial .ez-mode-badge--legacy { background: #f1f2f5; color: #4d5562; border: 1px dashed #b9bfcc; }
.ez-account--editorial .ez-active-banner { border-left-color: var(--ezp-brand); border-radius: 10px; }
.ez-account--editorial .ez-subrow .ez-cell.mast, .ez-account .ez-cell.mast, .ez-account .ez-prof i.mast { background: var(--ezp-teal); border-color: var(--ezp-teal); }
.ez-account .ez-btnrow [aria-current="page"].ez-btn { background: var(--ezp-brand-soft); border-color: var(--ezp-brand); color: var(--ezp-brand-strong); }
/* Phones: each attempt is one readable card; nothing is hidden behind a sideways scroll. */
@media (max-width: 760px) {
  .ez-account--editorial .ez-history-table { min-width: 0; white-space: normal; }
  .ez-account--editorial .ez-history-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ez-account--editorial .ez-history-table, .ez-account--editorial .ez-history-table tbody { display: block; }
  .ez-account--editorial .ez-history-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; border-top: 1px solid var(--ez-soft-rule); }
  .ez-account--editorial .ez-history-table td { display: block; padding: 0; border: 0; text-align: left; }
  .ez-account--editorial .ez-history-table td:first-child, .ez-account--editorial .ez-history-table td:nth-child(2) { grid-column: 1 / -1; padding: 0; }
  .ez-account--editorial .ez-history-table td:last-child { padding: 0; align-self: end; text-align: right; }
  .ez-account--editorial .ez-history-table td:nth-child(3) { grid-column: 1; font-size: 12.5px; color: var(--ez-muted); }
  .ez-account--editorial .ez-history-table td:nth-child(3) br { display: none; }
  .ez-account--editorial .ez-history-table td:nth-child(3) .ez-small::before { content: " · "; }
  .ez-account--editorial .ez-history-table td.ez-result { grid-column: 1; }
  .ez-account--editorial .ez-history-table td:last-child { grid-column: 2; grid-row: 3 / span 2; }
  .ez-account--editorial .ez-filter { width: 100%; }
}

/* Practice hub: one layout for Math and Reading & Writing. Subject colour only tints accents; the composition never changes. */
.ez-account .ez-hub { max-width: 1240px; --hub: var(--ezp-brand); --hub-strong: var(--ezp-brand-strong); --hub-soft: var(--ezp-brand-soft); }
.ez-account .ez-hub--rw { --hub: var(--ezp-teal); --hub-strong: #0b5c55; --hub-soft: var(--ezp-teal-soft); }
.ez-account .ez-hub .ez-crumbs { margin-bottom: 10px; }
.ez-account .ez-hub-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ez-account .ez-hub-head h1 { margin: 0; font-size: 32px; }
/* Summary rows: identity / session box + metric tiles (stretched to one height) / actions + help. Every box shares one padding and radius. */
.ez-account .ez-hub-summary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "id id" "session metrics" "actions help"; gap: 16px 24px; padding: 24px; background: var(--ez-surface); border: 1px solid #e3e6ef; border-radius: 14px; box-shadow: 0 6px 20px rgb(24 34 56 / .05); margin-bottom: 24px; }
.ez-account .ez-hub-id { grid-area: id; display: flex; align-items: center; gap: 12px; }
.ez-account .ez-hub-id h2 { margin: 0; font-size: 24px; }
.ez-account .ez-hub-label { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ezp-brand-strong); }
.ez-account .ez-hub-session { grid-area: session; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px; border-radius: 12px; background: var(--ezp-brand-soft); }
.ez-account .ez-hub-session b { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.ez-account .ez-hub-session--empty { background: #f3f4f8; }
.ez-account .ez-hub-session--empty .ez-hub-label { color: var(--ez-text); }
.ez-account .ez-hub-lead { margin: 0; color: var(--ez-muted); }
.ez-account .ez-hub-all-saved { align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 700; color: var(--ezp-brand-strong); }
.ez-account .ez-hub-actions { grid-area: actions; align-self: start; margin: 0; }
.ez-account .ez-hub-help { grid-area: help; align-self: start; margin: 0; padding: 0; border: 0; }
.ez-account .ez-hub-help > summary { line-height: 40px; }
.ez-account .ez-hub-help p { margin: 8px 0 0; }
.ez-account .ez-hub-summary > .ez-hub-metrics { grid-area: metrics; }
.ez-account .ez-hub-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ez-account .ez-metric { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: var(--ezp-brand-soft); min-width: 0; }
.ez-account .ez-metric dt { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ezp-brand-strong); }
.ez-account .ez-metric dd { margin: 0; display: grid; gap: 2px; }
.ez-account .ez-metric dd b { font-size: 24px; line-height: 1.15; color: var(--ez-text); overflow-wrap: anywhere; }
.ez-account .ez-metric dd span { font-size: 12.5px; color: var(--ez-muted); }
.ez-account .ez-metric .ez-bar, .ez-account .ez-metric-gap { margin-top: auto; }
.ez-account .ez-metric .ez-bar { background: rgb(255 255 255 / .8); }
.ez-account .ez-metric--cov { background: var(--ezp-teal-soft); }
.ez-account .ez-metric--cov dt { color: var(--ezp-teal); }
.ez-account .ez-metric--acc { background: var(--ezp-amber-soft); }
.ez-account .ez-metric--acc dt { color: var(--ezp-amber); }
.ez-account .ez-bar--amber > i { background: var(--ezp-amber-mid); }
.ez-account .ez-metric-gap { display: block; height: 7px; flex: none; }
.ez-account .ez-hub-metrics--compact { gap: 8px; }
.ez-account .ez-hub-metrics--compact .ez-metric { padding: 10px 12px; gap: 4px; border-radius: 10px; }
.ez-account .ez-hub-metrics--compact .ez-metric dt { font-size: 12px; }
.ez-account .ez-hub-metrics--compact .ez-metric dd b { font-size: 17px; }
.ez-account .ez-hub-metrics--compact .ez-metric dd span { font-size: 11.5px; }
.ez-account .ez-hub-metrics--compact .ez-bar { height: 5px; }
/* Topic cards share row tracks (subgrid) so header, metric tiles, Subtopic list and actions line up across each pair. */
.ez-account .ez-hub-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ez-account .ez-hub-topic { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--ez-surface); border: 1px solid #e3e6ef; border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
@supports (grid-template-rows: subgrid) {
  .ez-account .ez-hub-topics { row-gap: 0; }
  .ez-account .ez-hub-topic { display: grid; grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 14px; margin-bottom: 16px; }
}
.ez-account .ez-hub-topic-b { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ez-account .ez-hub-topic-b .ez-na { margin: 0; }
.ez-account .ez-hub-topic:hover, .ez-account .ez-hub-topic:focus-within { border-color: color-mix(in srgb, var(--hub) 45%, #e3e6ef); box-shadow: 0 6px 18px rgb(24 34 56 / .07); }
.ez-account .ez-hub-topic--saved { border-color: #b7c4f0; box-shadow: 0 0 0 3px var(--ezp-brand-soft); }
.ez-account .ez-hub-topic-h { display: flex; align-items: flex-start; gap: 12px; }
.ez-account .ez-hub-topic-h > div { min-width: 0; flex: 1; }
.ez-account .ez-hub-topic-h h3 { margin: 0 0 2px; font-size: 17px; }
.ez-account .ez-hub .ez-tnum { background: var(--hub-soft); color: var(--hub-strong); }
.ez-account .ez-hub-link { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--hub-strong); text-decoration: none; }
.ez-account .ez-hub-link:hover { background: var(--hub-soft); }
.ez-account .ez-hub-subs { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ez-soft-rule); border-radius: 10px; overflow: hidden; }
.ez-account .ez-hub-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 12px; font-size: 13.5px; }
.ez-account .ez-hub-sub + .ez-hub-sub { border-top: 1px solid var(--ez-soft-rule); }
.ez-account .ez-hub-sub:hover, .ez-account .ez-hub-sub:focus-within { background: #fafaff; }
.ez-account .ez-hub-sub-name { font-weight: 600; min-width: 0; }
.ez-account .ez-hub-sub--off .ez-hub-sub-name { color: #4d5562; font-weight: 500; }
.ez-account .ez-hub-sub-acts { display: flex; gap: 4px; }
.ez-account .ez-mini-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid #dfe2ec; border-radius: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--ezp-teal); background: #fff; }
.ez-account .ez-mini-link--timed { color: var(--ezp-brand-strong); }
.ez-account .ez-mini-link:hover { border-color: currentColor; background: var(--ezp-teal-soft); }
.ez-account .ez-mini-link--timed:hover { background: var(--ezp-brand-soft); }
.ez-account .ez-dots { display: inline-flex; gap: 3px; align-items: center; font-size: 12px; font-weight: 700; color: var(--ez-muted); }
.ez-account .ez-dots i { width: 8px; height: 8px; border-radius: 50%; background: #dfe2ec; }
.ez-account .ez-dots i.on { background: var(--ezp-brand); }
.ez-account .ez-dots--none { font-weight: 500; font-size: 11.5px; }
.ez-account .ez-hub-saved { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ez-account .ez-hub-topic-f { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; margin-top: auto; }
.ez-account .ez-hub-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ez-account .ez-hub-topic-f .ez-btn { min-height: 36px; }
.ez-account .ez-hub-more { margin-top: 30px; }
.ez-account .ez-hub-more > h2 { font-size: 20px; margin: 0 0 12px; }
.ez-account .ez-hub-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ez-account .ez-hub-more-grid .ez-card { display: grid; gap: 8px; align-content: start; justify-items: start; margin: 0; }
.ez-account .ez-hub-more-grid h3 { margin: 0; font-size: 18px; }
.ez-account .ez-hub-more-grid p { margin: 0; }
.ez-account .ez-hub-more-grid .ez-cc-lengths { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0; }
.ez-account .ez-hub-more-grid .ez-hub-ref { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; border-left: 4px solid var(--hub); }
.ez-account .ez-hub-ref > div { display: grid; gap: 4px; }
@media (max-width: 760px) { .ez-account .ez-hub-more-grid .ez-hub-ref { grid-template-columns: 1fr; } }
.ez-account .ez-cc-saved { margin: 0; }
@media (max-width: 1080px) {
  .ez-account .ez-hub-summary { grid-template-columns: 1fr; grid-template-areas: "id" "session" "metrics" "actions" "help"; }
  .ez-account .ez-hub-help { align-self: start; }
}
@media (max-width: 860px) {
  .ez-account .ez-hub-topics, .ez-account .ez-hub-more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ez-account .ez-hub-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .ez-account .ez-hub-head h1 { font-size: 28px; }
  .ez-account .ez-hub-summary { padding: 16px; }
  .ez-account .ez-hub-summary .ez-btnrow .ez-btn { flex: 1 1 auto; }
  .ez-account .ez-hub-metrics { gap: 6px; }
  .ez-account .ez-hub-session, .ez-account .ez-metric { padding: 12px; }
  .ez-account .ez-metric dt { font-size: 12px; }
  .ez-account .ez-metric dd b { font-size: 18px; }
  .ez-account .ez-hub-topic { padding: 14px; }
  .ez-account .ez-hub-more-grid .ez-cc-lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .ez-account .ez-hub-metrics--compact .ez-metric { padding: 8px 6px; }
  .ez-account .ez-hub-metrics--compact .ez-metric dd b { font-size: 15px; }
  .ez-account .ez-hub-sub { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding-left: 10px; }
  .ez-account .ez-hub-sub .ez-dots { grid-column: 1; grid-row: 2; }
  .ez-account .ez-hub-sub-acts { grid-column: 2; grid-row: 1 / span 2; }
  .ez-account .ez-mini-link { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .ez-account .ez-hub-topic { transition: none; } }
/* Dashboard refresh: an indigo hero with one unmistakable next action, colour-coded session cards. Scoped to .ez-dash so other screens keep their layout. */
.ez-account .ez-dash-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
  padding: 36px 36px 36px 40px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(20 125 115 / .55), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgb(127 227 212 / .16), transparent 60%),
    linear-gradient(135deg, var(--ezp-brand-deep) 0%, var(--ezp-brand-strong) 48%, var(--ezp-brand) 100%);
  box-shadow: 0 18px 40px -18px rgb(30 44 112 / .55);
}
.ez-account .ez-dash-art { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 62%; height: 100%; color: #fff; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.ez-account .ez-dash-intro { min-width: 0; }
.ez-account .ez-dash-greet { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--ezp-brand-on-dark); }
.ez-account .ez-dash-hero h1 { margin: 0; max-width: 560px; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.ez-account .ez-dash-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ez-account .ez-dash-chips li { padding: 6px 12px; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px; background: rgb(255 255 255 / .1); font-size: 13px; font-weight: 600; color: #fff; }
.ez-account .ez-dash-chips b { color: #a7f0e4; font-weight: 800; }

.ez-account .ez-dash-next {
  position: relative;
  min-width: 0;
  padding: 22px 22px 22px 26px;
  border-radius: 16px;
  background: var(--ez-surface);
  color: var(--ez-text);
  box-shadow: 0 20px 44px -20px rgb(10 16 48 / .6);
}
.ez-account .ez-dash-next::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; border-radius: 0 4px 4px 0; background: var(--ezp-teal); }
.ez-account .ez-dash-next--saved::before { background: var(--ezp-brand); }
.ez-account .ez-dash-next--warn::before { background: var(--ezp-amber-mid); }
.ez-account .ez-dash-next-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ez-account .ez-dash-tag { padding: 4px 10px; border-radius: 999px; background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); font-size: 12px; font-weight: 800; }
.ez-account .ez-dash-time { font-size: 12.5px; font-weight: 700; color: var(--ez-muted); }
.ez-account .ez-dash-time.ez-timer { font-size: 18px; font-weight: 800; color: var(--ez-text); }
.ez-account .ez-dash-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ezp-teal); }
.ez-account .ez-dash-next--saved .ez-dash-kicker { color: var(--ezp-brand-strong); }
.ez-account .ez-dash-next--warn .ez-dash-kicker { color: var(--ezp-amber); }
.ez-account .ez-dash-next h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.22; overflow-wrap: anywhere; }
.ez-account .ez-dash-detail { margin: 0 0 16px; font-size: 13.5px; color: #4a5468; }
.ez-account .ez-dash-cta { min-height: 46px; padding: 0 20px; border-radius: 10px; font-size: 14.5px; box-shadow: 0 8px 18px -8px rgb(51 70 184 / .7); }
.ez-account .ez-dash-next .ez-btnrow .ez-btn:not(.ez-dash-cta) { min-height: 46px; border-radius: 10px; }

.ez-account .ez-dash-h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.ez-account .ez-dash-h2 h2 { margin: 0; font-size: 24px; }
/* The Start a session heading takes the first row of the left column only, so Recent attempts
   starts on the second row with the session cards and their top edges line up. */
.ez-account .ez-dash-split { row-gap: 0; }
.ez-account .ez-dash-split > .ez-dash-h2 { grid-column: 1; grid-row: 1; }
.ez-account .ez-dash-split > .ez-stack { grid-column: 1; grid-row: 2; }
.ez-account .ez-dash-split > .ez-rail { grid-column: 2; grid-row: 2; }
.ez-account .ez-dash .ez-q { --q: var(--ezp-brand); --q-soft: var(--ezp-brand-soft); --q-ink: var(--ezp-brand-strong); position: relative; gap: 6px; padding: 20px 18px 18px; border-radius: 14px; border-top: 4px solid var(--q); align-content: start; }
.ez-account .ez-dash .ez-q--practice { --q: var(--ezp-teal); --q-soft: var(--ezp-teal-soft); --q-ink: var(--ezp-teal); }
.ez-account .ez-dash .ez-q--sat { --q: var(--ezp-amber-mid); --q-soft: var(--ezp-amber-soft); --q-ink: var(--ezp-amber); }
.ez-account .ez-dash .ez-q-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--q-soft); color: var(--q-ink); font-style: normal; font-size: 18px; font-weight: 800; }
.ez-account .ez-dash .ez-q b { font-size: 16px; line-height: 1.3; }
.ez-account .ez-dash .ez-q span { font-size: 13px; }
.ez-account .ez-dash .ez-q em { justify-self: start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--q-soft); color: var(--q-ink); font-size: 13px; }
.ez-account .ez-dash .ez-q:hover { border-color: #d5dbee; border-top-color: var(--q); box-shadow: 0 12px 26px -12px rgb(24 34 56 / .28); }
.ez-account .ez-dash .ez-q:hover em, .ez-account .ez-dash .ez-q:focus-visible em { background: var(--q-ink); color: #fff; }
/* Side-by-side cards share rows (icon, title, description, action) so a wrapped title in one card
   does not push its description and button below its neighbours; actions sit on one baseline. */
@media (min-width: 761px) {
  .ez-account .ez-dash .ez-quick { grid-template-rows: auto auto 1fr auto; }
  .ez-account .ez-dash .ez-q { grid-template-rows: auto auto 1fr auto; grid-row: span 4; }
  .ez-account .ez-dash .ez-q em { align-self: end; }
  @supports (grid-template-rows: subgrid) {
    .ez-account .ez-dash .ez-q { grid-template-rows: subgrid; row-gap: 6px; }
  }
}
.ez-account .ez-dash .ez-courserow { padding: 18px 0; }
.ez-account .ez-dash .ez-score--active { padding: 2px 8px; border-radius: 999px; background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); font-size: 12px; align-self: start; }

@media (max-width: 980px) {
  .ez-account .ez-dash-hero { grid-template-columns: 1fr; gap: 22px; }
  .ez-account .ez-dash-art { width: 100%; opacity: .4; }
  .ez-account .ez-dash .ez-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ez-account .ez-dash-split > .ez-dash-h2,
  .ez-account .ez-dash-split > .ez-stack,
  .ez-account .ez-dash-split > .ez-rail { grid-column: auto; grid-row: auto; }
  .ez-account .ez-dash-split > .ez-rail { margin-top: 22px; }
}
@media (max-width: 760px) {
  .ez-account .ez-dash-hero { padding: 24px 18px 18px; border-radius: 16px; }
  .ez-account .ez-dash-hero h1 { font-size: 31px; }
  .ez-account .ez-dash-next { padding: 18px 16px 18px 20px; }
  .ez-account .ez-dash-next .ez-btnrow .ez-btn { flex: 1 1 auto; }
  .ez-account .ez-dash .ez-quick { grid-template-columns: 1fr; }
  .ez-account .ez-dash .ez-q { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
  .ez-account .ez-dash .ez-q-ic { grid-row: 1 / span 3; margin: 0; }
  .ez-account .ez-dash .ez-q b, .ez-account .ez-dash .ez-q span, .ez-account .ez-dash .ez-q em { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .ez-account .ez-dash .ez-q { transition: none; } .ez-account .ez-dash .ez-q:hover { transform: none; } }
/* History refresh: matches the dashboard and SAT results (indigo brand, teal practice, amber SAT).
   One semantic table on desktop; each attempt becomes a card at tablet and phone widths. */
.ez-account--editorial .ez-hist { padding: 24px clamp(16px, 3vw, 32px) 48px; max-width: 1244px; }
.ez-account .ez-hist-head { margin: 0 0 14px; }
.ez-account .ez-hist-head h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ezp-ink); }
.ez-account .ez-hist .ez-callout--warn { margin: 0 0 12px; border-radius: 12px; border-left-width: 4px; border-left-color: var(--ezp-amber-mid); background: var(--ezp-amber-soft); color: #4a3200; }
.ez-account .ez-hist .ez-callout--warn .ez-btn { margin-left: 6px; background: #fff; }
.ez-account .ez-hist-tile { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); font-size: 16px; font-weight: 800; line-height: 1; }

/* In-progress summary */
.ez-account--editorial .ez-hist .ez-hist-live { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 10px 12px 10px 14px; border: 1px solid var(--ezp-brand-border, #c9d1f5); border-left: 5px solid var(--ezp-brand); border-radius: 14px; background: linear-gradient(90deg, var(--ezp-brand-soft), #fff 70%); }
.ez-account .ez-hist-live p { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.45; color: #3b4560; }
.ez-account .ez-hist-live .ez-hist-tile { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
.ez-account .ez-hist-live p b { color: var(--ezp-ink); }
.ez-account .ez-hist-live-latest { display: block; overflow: hidden; font-size: 13px; color: var(--ez-muted); text-overflow: ellipsis; white-space: nowrap; }
.ez-account .ez-hist-live-cta { flex: none; min-height: 38px; border-radius: 10px; }
.ez-account .ez-hist-btn::after, .ez-account .ez-hist-live-cta::after { content: "→"; content: "→" / ""; display: inline-block; margin-left: 6px; transition: transform .15s; }
.ez-account .ez-hist-btn:hover::after, .ez-account .ez-hist-live-cta:hover::after { transform: translateX(2px); }

/* Card and toolbar */
.ez-account--editorial .ez-hist .ez-history-card { border-radius: 16px; border-color: #e3e6ef; box-shadow: 0 10px 30px -18px rgb(24 34 56 / .28); }
.ez-account--editorial .ez-hist .ez-history-toolbar { gap: 12px 16px; padding: 16px 20px; border-bottom: 1px solid var(--ez-soft-rule); }
.ez-account--editorial .ez-hist .ez-filter { gap: 4px; padding: 4px; border: 0; border-radius: 12px; background: #eef0f6; }
.ez-account--editorial .ez-hist .ez-filter button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: #3b4560; font-size: 13.5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ez-account--editorial .ez-hist .ez-filter button + button { border-left: 0; }
.ez-account--editorial .ez-hist .ez-filter button:not([aria-pressed="true"]):hover { background: #fff; color: var(--ezp-brand-strong); }
.ez-account--editorial .ez-hist .ez-filter button[aria-pressed="true"] { background: var(--ezp-brand); color: #fff; box-shadow: 0 4px 10px -4px rgb(51 70 184 / .6); }
.ez-account--editorial .ez-hist .ez-filter button:focus-visible { outline: 3px solid var(--ezp-brand); outline-offset: 2px; position: relative; z-index: 1; }
.ez-account .ez-hist-selects { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.ez-account--editorial .ez-hist .ez-history-toolbar .ez-select { margin-left: 0; min-width: 180px; border-radius: 10px; }

/* Desktop table */
.ez-account--editorial .ez-hist .ez-history-table { font-size: 13.5px; table-layout: auto; }
.ez-account--editorial .ez-hist .ez-history-table th { padding: 10px 16px; background: #f8f9fc; color: var(--ez-muted); font-size: 11.5px; letter-spacing: .08em; }
.ez-account--editorial .ez-hist .ez-history-table th:first-child { width: 214px; padding-left: 24px; }
.ez-account--editorial .ez-hist .ez-history-table th:nth-child(3) { width: 140px; }
.ez-account--editorial .ez-hist .ez-history-table th:nth-child(4) { width: 300px; }
.ez-account--editorial .ez-hist .ez-history-table th:last-child { width: 170px; padding-right: 24px; }
.ez-account--editorial .ez-hist .ez-history-table td { padding: 18px 16px; border-top: 1px solid var(--ez-soft-rule); vertical-align: top; line-height: 1.45; }
.ez-account--editorial .ez-hist .ez-history-table tbody tr:first-child td { border-top: 0; }
.ez-account--editorial .ez-hist .ez-history-table td:first-child { position: relative; padding-left: 24px; }
.ez-account--editorial .ez-hist .ez-history-table td:first-child::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rail, var(--ezp-teal)); }
.ez-account--editorial .ez-hist .ez-history-table td:last-child { padding-right: 24px; text-align: right; vertical-align: top; }
.ez-account--editorial .ez-hist .ez-history-table tbody tr:hover td { background: #fafbff; }
.ez-account .ez-hist-c-mode--practice { --rail: var(--ezp-teal); --tile: var(--ezp-teal-soft); --tile-ink: var(--ezp-teal); }
.ez-account .ez-hist-c-mode--targeted { --rail: var(--ezp-brand); --tile: var(--ezp-brand-soft); --tile-ink: var(--ezp-brand-strong); }
.ez-account .ez-hist-c-mode--sat { --rail: var(--ezp-amber-mid); --tile: var(--ezp-amber-soft); --tile-ink: var(--ezp-amber); }

.ez-account--editorial .ez-hist .ez-mode-badge { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; white-space: normal; }
.ez-account .ez-hist .ez-mode-badge .ez-hist-tile { background: var(--tile); color: var(--tile-ink); }
.ez-account .ez-hist-mode { display: grid; gap: 1px; min-width: 0; }
.ez-account .ez-hist-mode b { font-size: 13.5px; line-height: 1.25; color: var(--ezp-ink); white-space: nowrap; }
.ez-account .ez-hist-mode small { font-size: 12px; font-weight: 600; color: var(--tile-ink); }

.ez-account .ez-hist-c-what b { display: block; font-size: 14.5px; line-height: 1.4; color: var(--ezp-ink); overflow-wrap: anywhere; }
.ez-account .ez-hist td .ez-small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ez-muted); }
.ez-account .ez-hist .ez-hist-note { color: var(--ezp-amber); font-weight: 600; }
.ez-account .ez-hist-c-date time { display: block; font-weight: 700; color: var(--ezp-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ez-account .ez-hist-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 2px 9px 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ez-account .ez-hist-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ez-account .ez-hist-status--live { background: var(--ezp-brand-soft); color: var(--ezp-brand-strong); }
.ez-account .ez-hist-status--done { background: var(--ezp-teal-soft); color: var(--ezp-teal); }
.ez-account .ez-hist-status--ended { background: var(--ezp-amber-soft); color: var(--ezp-amber); }
.ez-account .ez-hist-status--pending { background: #eef0f6; color: #3b4560; }

.ez-account--editorial .ez-hist .ez-history-table .ez-result b { display: block; font-size: 15px; line-height: 1.3; color: var(--ezp-ink); }
.ez-account--editorial .ez-hist .ez-history-table .ez-result .ez-hist-score { font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ez-account--editorial .ez-hist .ez-history-table .ez-result .ez-hist-score small { font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: var(--ez-muted); }
.ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-date:has(.ez-hist-status--live) + .ez-result b { color: var(--ezp-brand-strong); }
.ez-account .ez-hist td br { display: none; }
.ez-account .ez-hist-kicker { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ezp-amber); }
.ez-account .ez-hist-sections { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; }
.ez-account .ez-hist-sections > span:not([aria-hidden]) { padding: 2px 8px; border-radius: 6px; background: #f1f3f9; color: #3b4560; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ez-account .ez-hist-sections > span[aria-hidden] { display: none; }

.ez-account--editorial .ez-hist .ez-hist-btn { min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; white-space: nowrap; }
.ez-account--editorial .ez-hist .ez-hist-btn:not(.ez-btn--primary) { border-color: #d5dbee; color: var(--ezp-brand-strong); }
.ez-account--editorial .ez-hist .ez-hist-btn.ez-btn--primary { box-shadow: 0 6px 14px -8px rgb(51 70 184 / .8); }
.ez-account .ez-hist .ez-btn:focus-visible { outline: 3px solid var(--ezp-brand); outline-offset: 2px; }

.ez-account--editorial .ez-hist .ez-history-foot { flex-wrap: wrap; gap: 4px 16px; padding: 14px 24px; border-top: 1px solid var(--ez-soft-rule); font-size: 13px; color: var(--ez-muted); }
.ez-account .ez-hist .ez-history-foot b { color: var(--ezp-ink); }
.ez-account .ez-hist-foot-note { color: var(--ezp-amber); font-weight: 600; }

.ez-account .ez-hist-empty { display: grid; justify-items: center; gap: 6px; padding: 44px 24px 48px; text-align: center; }
.ez-account .ez-hist-empty .ez-hist-tile { width: 48px; height: 48px; margin-bottom: 6px; font-size: 20px; background: var(--ezp-teal-soft); color: var(--ezp-teal); }
.ez-account .ez-hist-empty--error .ez-hist-tile { background: var(--ezp-amber-soft); color: var(--ezp-amber); }
.ez-account .ez-hist-empty h2 { margin: 0; font-size: 20px; }
.ez-account .ez-hist-empty p { max-width: 460px; margin: 0 0 10px; color: var(--ez-muted); }
.ez-account .ez-hist-empty .ez-btnrow { justify-content: center; }

/* Tablet and phone: one card per attempt, no sideways scrolling. */
@media (max-width: 920px) {
  .ez-account--editorial .ez-hist .ez-table-scroll { overflow: visible; }
  .ez-account--editorial .ez-hist .ez-history-table { min-width: 0; white-space: normal; }
  .ez-account--editorial .ez-hist .ez-history-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ez-account--editorial .ez-hist .ez-history-table, .ez-account--editorial .ez-hist .ez-history-table tbody { display: block; }
  .ez-account--editorial .ez-hist .ez-history-table tr {
    position: relative; display: grid; gap: 10px 20px; padding: 18px 20px 18px 24px; border-top: 1px solid var(--ez-soft-rule);
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 1fr);
    grid-template-areas: "mode date" "what result" "what action";
  }
  .ez-account--editorial .ez-hist .ez-history-table tbody tr:first-child { border-top: 0; }
  .ez-account--editorial .ez-hist .ez-history-table tbody tr:hover td { background: none; }
  .ez-account--editorial .ez-hist .ez-history-table td { display: block; padding: 0; border: 0; text-align: left; }
  .ez-account--editorial .ez-hist .ez-history-table td:first-child { position: static; padding: 0; grid-area: mode; }
  .ez-account--editorial .ez-hist .ez-history-table td:first-child::before { top: 18px; bottom: 18px; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-what { grid-area: what; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-date { grid-area: date; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 10px; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-date .ez-hist-status { margin: 0; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-result { grid-area: result; }
  .ez-account--editorial .ez-hist .ez-history-table td.ez-hist-c-action { grid-area: action; padding: 0; text-align: left; align-self: end; }
  .ez-account--editorial .ez-hist .ez-hist-btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .ez-account--editorial .ez-hist { padding-top: 20px; }
  .ez-account .ez-hist-head h1 { font-size: 26px; }
  .ez-account--editorial .ez-hist .ez-hist-live { padding: 10px 10px 10px 12px; gap: 10px; }
  .ez-account .ez-hist-live .ez-hist-tile, .ez-account .ez-hist-live-latest { display: none; }
  .ez-account .ez-hist-live p { font-size: 13px; }
  .ez-account .ez-hist-live-cta { padding: 0 12px; font-size: 13px; }
  .ez-account--editorial .ez-hist .ez-history-toolbar { padding: 12px; }
  .ez-account--editorial .ez-hist .ez-filter { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .ez-account .ez-hist-selects { width: 100%; margin: 0; }
  .ez-account--editorial .ez-hist .ez-history-toolbar .ez-select { flex: 1 1 140px; width: auto; min-width: 0; }
  .ez-account--editorial .ez-hist .ez-history-table tr {
    gap: 10px 12px; padding: 16px 16px 16px 20px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "mode date" "what what" "result result" "action action";
  }
  .ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-date { flex-direction: column; align-items: flex-end; gap: 4px; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-hist-c-date time { font-size: 12.5px; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-result { padding: 10px 12px; border-radius: 10px; background: #f6f7fb; }
  .ez-account--editorial .ez-hist .ez-history-table .ez-result .ez-hist-score { font-size: 20px; }
  .ez-account .ez-hist .ez-mode-badge .ez-hist-tile { width: 34px; height: 34px; font-size: 15px; }
  .ez-account--editorial .ez-hist .ez-history-foot { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ez-account .ez-hist-btn::after, .ez-account .ez-hist-live-cta::after { transition: none; transform: none; } }