.ef-monthly-exams {
  --ef-ink: #15213a;
  --ef-muted: #64738c;
  --ef-line: #dce5f3;
  --ef-soft: #f4f7fd;
  --ef-violet: #6457ed;
  --ef-blue: #1689df;
  --ef-amber: #e88a16;
  color: var(--ef-ink);
  font-family: inherit;
  margin: 34px auto;
  max-width: 1180px;
}

.ef-monthly-exams,
.ef-monthly-exams * {
  box-sizing: border-box;
}

.ef-monthly-exams__intro {
  align-items: center;
  background: linear-gradient(132deg, #17264a 0%, #293f7b 56%, #6257e9 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(37, 55, 98, .16);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  isolation: isolate;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.ef-monthly-exams__intro::after {
  background: radial-gradient(circle, rgba(255, 255, 255, .19), transparent 68%);
  content: "";
  height: 290px;
  pointer-events: none;
  position: absolute;
  right: -90px;
  top: -150px;
  width: 290px;
  z-index: -1;
}

.ef-monthly-exams__intro::before {
  animation: ef-monthly-intro-shine 6.2s ease-in-out infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .08) 28%, rgba(255, 255, 255, .34) 50%, rgba(255, 255, 255, .08) 72%, transparent 100%);
  content: "";
  height: 210%;
  left: -52%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -55%;
  transform: translateX(0) skewX(-18deg);
  width: 32%;
  z-index: 0;
}

.ef-monthly-exams__intro > div {
  position: relative;
  z-index: 1;
}

.ef-monthly-exams__intro > div:first-child {
  min-width: 0;
}

@keyframes ef-monthly-intro-shine {
  0%, 52% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }
  58% {
    opacity: .72;
  }
  78% {
    opacity: .2;
    transform: translateX(510%) skewX(-18deg);
  }
  79%, 100% {
    opacity: 0;
    transform: translateX(510%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-monthly-exams__intro::before {
    animation: none;
  }
}

.ef-monthly-exams__intro h2,
.ef-monthly-exams__intro h3,
.ef-monthly-exams__intro h4 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 7px 0 10px;
}

.ef-monthly-exams__intro p {
  color: #e7edff;
  font-size: 15px;
  line-height: 1.58;
  margin: 0;
  max-width: 680px;
}

.ef-monthly-exams__kicker {
  color: #9cecff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.ef-monthly-exams__date {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  padding: 17px 18px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.ef-monthly-exams__date small {
  color: #bfeeff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ef-monthly-exams__date strong {
  font-size: 21px;
  line-height: 1.2;
  margin: 5px 0 4px;
}

.ef-monthly-exams__date span {
  color: #e4eaff;
  font-size: 12px;
  line-height: 1.4;
}

.ef-monthly-schedule {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 15px 0;
}

.ef-monthly-schedule__item {
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(54, 75, 118, .07);
  min-width: 0;
  padding: 16px;
  position: relative;
}

.ef-monthly-schedule__item::before {
  background: var(--ef-violet);
  border-radius: 7px;
  content: "";
  height: 5px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: -1px;
}

.ef-monthly-schedule__item--blue::before {
  background: var(--ef-blue);
}

.ef-monthly-schedule__item--amber::before {
  background: var(--ef-amber);
}

.ef-monthly-schedule__item > span {
  color: var(--ef-muted);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 3px 0 8px;
}

.ef-monthly-schedule__item > div {
  align-items: baseline;
  display: flex;
  gap: 9px;
}

.ef-monthly-schedule__item strong {
  color: var(--ef-ink);
  font-size: 24px;
  line-height: 1;
}

.ef-monthly-schedule__item small {
  color: var(--ef-muted);
  font-size: 11px;
  font-weight: 700;
}

.ef-monthly-schedule__item p {
  color: var(--ef-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 7px 0 0;
}

.ef-monthly-schedule__action {
  color: #4e46ce;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-top: 10px;
  text-decoration: none;
}

.ef-monthly-schedule__action:hover {
  text-decoration: underline;
}

.ef-monthly-schedule__action:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(22, 133, 230, .25);
  outline-offset: 3px;
}

.ef-exam-tabs {
  background: #edf2fb;
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  display: inline-flex;
  gap: 4px;
  margin: 10px 0;
  padding: 4px;
}

.ef-exam-tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #53617a;
  cursor: pointer;
  font: 800 13px/1 inherit;
  min-width: 78px;
  padding: 10px 16px;
  transition: background .2s, color .2s, box-shadow .2s;
}

.ef-exam-tabs button:hover {
  color: var(--ef-ink);
}

.ef-exam-tabs button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 4px 13px rgba(50, 69, 107, .11);
  color: #4d46cb;
}

.ef-exam-tabs button:focus-visible {
  outline: 3px solid rgba(22, 133, 230, .28);
  outline-offset: 2px;
}

.ef-monthly-exams__results {
  min-width: 0;
}

.ef-rank-panel {
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(52, 73, 116, .09);
  min-width: 0;
  overflow: hidden;
}

.ef-rank-panel[hidden] {
  display: none;
}

.ef-own-rank {
  align-items: center;
  background: linear-gradient(120deg, #6558ed, #188ee8);
  color: #fff;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(170px, .7fr) minmax(300px, 1fr);
  padding: 21px 24px;
}

.ef-own-rank__identity {
  display: flex;
  flex-direction: column;
}

.ef-own-rank__identity > span {
  color: #d7f3ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.ef-own-rank__identity strong {
  font-size: 22px;
  margin: 4px 0;
}

.ef-own-rank__identity small {
  color: #edf3ff;
  font-size: 12px;
}

.ef-own-rank__position {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ef-own-rank__position > span {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  padding: 11px 13px;
}

.ef-own-rank__position b {
  font-size: 26px;
  grid-row: 1 / 3;
  margin-right: 10px;
}

.ef-own-rank__position small {
  align-self: end;
  font-size: 11px;
  font-weight: 900;
}

.ef-own-rank__position em {
  color: #e0ebff;
  font-size: 10px;
  font-style: normal;
}

.ef-leaderboard__head {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 24px 13px;
}

.ef-leaderboard__head span {
  color: #6258d8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ef-leaderboard__head h3 {
  color: var(--ef-ink);
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -.55px;
  line-height: 1.15;
  margin: 4px 0 0;
}

.ef-leaderboard__head p {
  color: var(--ef-muted);
  flex: 0 0 auto;
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
}

.ef-leaderboard__head p b {
  color: var(--ef-ink);
  font-size: 18px;
}

.ef-leaderboard__table-wrap {
  overflow-x: auto;
  padding: 0 13px;
}

.ef-leaderboard__table {
  border-collapse: collapse;
  min-width: 580px;
  width: 100%;
}

.ef-leaderboard__table th {
  border-bottom: 1px solid var(--ef-line);
  color: #77849a;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}

.ef-leaderboard__table th:first-child,
.ef-leaderboard__table td:first-child {
  width: 74px;
}

.ef-leaderboard__table th:last-child,
.ef-leaderboard__table td:last-child {
  text-align: right;
}

.ef-leaderboard__table td {
  border-bottom: 1px solid #edf1f7;
  color: #53617a;
  font-size: 13px;
  padding: 11px 12px;
}

.ef-leaderboard__table tbody tr:last-child td {
  border-bottom: 0;
}

.ef-leaderboard__table tbody tr:hover {
  background: #f8faff;
}

.ef-leaderboard__table tr.is-podium {
  background: linear-gradient(90deg, #fffdf3, #fff);
}

.ef-leaderboard__table td strong,
.ef-leaderboard__table td b {
  color: var(--ef-ink);
}

.ef-rank-number {
  align-items: center;
  background: #eff3fa;
  border-radius: 9px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 31px;
  justify-content: center;
  min-width: 37px;
  padding: 0 7px;
}

.ef-rank-number--1,
.ef-rank-number--2,
.ef-rank-number--3 {
  background: #fff4cb;
  font-size: 17px;
}

.ef-score-note {
  background: #f7f9fd;
  border-top: 1px solid var(--ef-line);
  color: #728096;
  font-size: 10px;
  line-height: 1.5;
  margin: 12px 0 0;
  padding: 11px 24px;
}

.ef-participant-status{font-size:14px!important;line-height:1.25!important;color:#fff!important;white-space:normal}.ef-leaderboard__waiting{display:grid;gap:6px;margin:8px 14px 14px;padding:18px;border:1px dashed #cbd7eb;border-radius:16px;background:linear-gradient(135deg,#f7f9ff,#fff9f1);color:#60708b;text-align:center}.ef-leaderboard__waiting strong{color:#152443;font-size:15px}.ef-leaderboard__waiting span{font-size:11px;line-height:1.55}.ef-monthly-exams--rail .ef-leaderboard__waiting{margin:6px 12px 12px;padding:14px}

/* Ana sayfa: program ve ilk üç sonuç tek, kısa bir vitrin halinde görünür. */
.ef-monthly-exams--home {
  display: grid;
  gap: 12px 18px;
  grid-template-areas:
    "intro intro"
    "schedule tabs"
    "schedule results";
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  margin-bottom: 26px;
  margin-top: 24px;
}

.ef-monthly-exams--home .ef-monthly-exams__intro {
  border-radius: 21px;
  box-shadow: 0 14px 36px rgba(37, 55, 98, .14);
  gap: 18px;
  grid-area: intro;
  grid-template-columns: minmax(0, 1fr) 215px;
  padding: 18px 21px;
}

.ef-monthly-exams--home .ef-monthly-exams__intro h2,
.ef-monthly-exams--home .ef-monthly-exams__intro h3,
.ef-monthly-exams--home .ef-monthly-exams__intro h4 {
  font-size: clamp(25px, 2.65vw, 33px);
  letter-spacing: -.8px;
  margin: 5px 0 6px;
}

.ef-monthly-exams--home .ef-monthly-exams__intro p {
  font-size: 13px;
  line-height: 1.45;
}

.ef-monthly-exams--home .ef-monthly-exams__date {
  border-radius: 14px;
  padding: 12px 14px;
}

.ef-monthly-exams--home .ef-monthly-exams__date strong {
  font-size: 18px;
  margin: 3px 0;
}

.ef-monthly-exams--home .ef-monthly-exams__date span {
  font-size: 10px;
}

.ef-monthly-exams--home .ef-monthly-schedule {
  align-self: stretch;
  grid-area: schedule;
  grid-template-columns: 1fr;
  margin: 0;
}

.ef-monthly-exams--home .ef-monthly-schedule__item {
  border-radius: 15px;
  box-shadow: 0 7px 20px rgba(54, 75, 118, .06);
  padding: 13px 14px;
}

.ef-monthly-exams--home .ef-monthly-schedule__item::before {
  height: 4px;
  left: 14px;
  right: 14px;
}

.ef-monthly-exams--home .ef-monthly-schedule__item > span {
  font-size: 10px;
  margin-bottom: 5px;
}

.ef-monthly-exams--home .ef-monthly-schedule__item strong {
  font-size: 21px;
}

.ef-monthly-exams--home .ef-monthly-schedule__item p {
  display: -webkit-box;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 5px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.ef-monthly-exams--home .ef-monthly-schedule__action {
  font-size: 11px;
  margin-top: 7px;
}

.ef-monthly-exams--home .ef-exam-tabs {
  align-self: end;
  grid-area: tabs;
  justify-self: start;
  margin: 0;
}

.ef-monthly-exams--home .ef-monthly-exams__results {
  grid-area: results;
}

.ef-monthly-exams--home .ef-rank-panel {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(52, 73, 116, .08);
}

.ef-monthly-exams--home .ef-own-rank {
  gap: 12px;
  padding: 14px 17px;
}

.ef-monthly-exams--home .ef-leaderboard__head {
  padding: 15px 17px 8px;
}

.ef-monthly-exams--home .ef-leaderboard__head h3 {
  font-size: 20px;
}

.ef-monthly-exams--home .ef-leaderboard__table-wrap {
  padding: 0 9px;
}

.ef-monthly-exams--home .ef-leaderboard__table th {
  padding: 7px 9px;
}

.ef-monthly-exams--home .ef-leaderboard__table td {
  padding: 8px 9px;
}

.ef-monthly-exams--home .ef-leaderboard__table tbody tr:nth-child(n + 4) {
  display: none;
}

.ef-monthly-exams--home .ef-leaderboard__table-wrap::after {
  color: #6b7890;
  content: "İlk 3 öğrenci gösteriliyor · Tam sıralama sınav sayfasında";
  display: block;
  font-size: 10px;
  font-weight: 750;
  padding: 8px 9px 4px;
}

.ef-monthly-exams--home .ef-score-note {
  font-size: 9px;
  line-height: 1.4;
  margin-top: 7px;
  padding: 8px 17px;
}

/* Eğitim ve sınav sayfaları: program solda, sonuçlar sağda okunaklı bir paneldir. */
.ef-monthly-exams--education {
  align-items: start;
  display: grid;
  gap: 16px 18px;
  grid-template-areas:
    "intro intro"
    "schedule results";
  grid-template-columns: minmax(245px, .38fr) minmax(0, 1fr);
}

.ef-monthly-exams--education .ef-monthly-exams__intro {
  grid-area: intro;
  padding: 23px 25px;
}

.ef-monthly-exams--education .ef-monthly-exams__intro h2,
.ef-monthly-exams--education .ef-monthly-exams__intro h3,
.ef-monthly-exams--education .ef-monthly-exams__intro h4 {
  font-size: clamp(27px, 3vw, 38px);
}

.ef-monthly-exams--education .ef-monthly-schedule {
  grid-area: schedule;
  grid-template-columns: 1fr;
  margin: 0;
  position: sticky;
  top: 18px;
}

.ef-monthly-exams--education .ef-monthly-schedule__item {
  background: linear-gradient(145deg, #fff 0%, #f7f9ff 100%);
  border-radius: 20px;
  padding: 19px;
}

.ef-monthly-exams--education .ef-monthly-schedule__item strong {
  font-size: 28px;
}

.ef-monthly-exams--education .ef-monthly-schedule__item p {
  font-size: 13px;
}

.ef-monthly-exams--education .ef-monthly-schedule__action {
  align-items: center;
  background: #eceaff;
  border-radius: 10px;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 12px;
  width: 100%;
}

.ef-monthly-exams--education .ef-monthly-exams__results {
  grid-area: results;
}

.ef-monthly-exams--education .ef-rank-panel {
  border-radius: 22px;
}

/* Öğrenci profili daha sakin ve hesap odaklı kalır. */
.ef-monthly-exams--profile .ef-monthly-exams__intro {
  grid-template-columns: 1fr auto;
  padding: 22px 24px;
}

.ef-monthly-exams--profile .ef-monthly-exams__intro h2,
.ef-monthly-exams--profile .ef-monthly-exams__intro h3,
.ef-monthly-exams--profile .ef-monthly-exams__intro h4 {
  font-size: 32px;
}

/* Dar sağ sütun: kaydırma olmadan LGS, YKS ve KPSS alt alta görünür. */
.ef-monthly-exams--rail{display:block;margin:0;max-width:none}.ef-monthly-exams--rail .ef-monthly-exams__results{display:grid;gap:14px;min-width:0}.ef-monthly-exams--rail .ef-monthly-exams__intro{grid-template-columns:1fr;gap:14px;padding:22px;border-radius:25px}.ef-monthly-exams--rail .ef-monthly-exams__intro h2,.ef-monthly-exams--rail .ef-monthly-exams__intro h3,.ef-monthly-exams--rail .ef-monthly-exams__intro h4{font-size:27px;line-height:1.06;letter-spacing:-.7px}.ef-monthly-exams--rail .ef-monthly-exams__intro p{font-size:12px;line-height:1.55}.ef-monthly-exams--rail .ef-monthly-exams__date{padding:13px 14px;border-radius:16px}.ef-monthly-exams--rail .ef-monthly-exams__date strong{font-size:19px}.ef-monthly-exams--rail .ef-monthly-schedule{grid-template-columns:1fr;gap:10px;margin:12px 0}.ef-monthly-exams--rail .ef-monthly-schedule__item{padding:16px;border-radius:18px}.ef-monthly-exams--rail .ef-monthly-schedule__item>div{flex-wrap:wrap}.ef-monthly-exams--rail .ef-monthly-schedule__item strong{font-size:22px}.ef-monthly-exams--rail .ef-monthly-schedule__item p{font-size:11px}.ef-monthly-exams--rail .ef-monthly-schedule__action{display:flex;width:100%;min-height:40px;align-items:center;justify-content:center;margin-top:10px;padding:9px 11px;border-radius:11px;background:linear-gradient(120deg,#3f35cf,#6255ed,#13acd8);color:#fff;text-decoration:none;box-shadow:0 10px 23px rgba(74,63,206,.24)}.ef-monthly-exams--rail .ef-leaderboard__head{display:block;padding:18px 16px 9px}.ef-monthly-exams--rail .ef-leaderboard__head h3{font-size:21px}.ef-monthly-exams--rail .ef-leaderboard__head p{margin-top:6px;white-space:normal}.ef-monthly-exams--rail .ef-leaderboard__table-wrap{overflow:visible;padding:0 8px}.ef-monthly-exams--rail .ef-leaderboard__table{min-width:0}.ef-monthly-exams--rail .ef-leaderboard__table thead{display:none}.ef-monthly-exams--rail .ef-leaderboard__table tr{display:grid;grid-template-columns:42px minmax(0,1fr) auto;border-bottom:1px solid #edf1f7;padding:7px 0}.ef-monthly-exams--rail .ef-leaderboard__table td{border:0;padding:4px 5px;font-size:11px}.ef-monthly-exams--rail .ef-leaderboard__table td:first-child{grid-row:1/3;width:auto}.ef-monthly-exams--rail .ef-leaderboard__table td:nth-child(2){grid-column:2}.ef-monthly-exams--rail .ef-leaderboard__table td:nth-child(3){grid-column:2;color:#7b879b}.ef-monthly-exams--rail .ef-leaderboard__table td:last-child{align-self:center;grid-column:3;grid-row:1/3}.ef-monthly-exams--rail .ef-rank-number{height:31px;min-width:34px}.ef-monthly-exams--rail .ef-score-note{margin-top:8px;padding:10px 14px;font-size:9px}.ef-monthly-exams--rail .ef-own-rank{grid-template-columns:1fr;gap:12px;padding:17px}.ef-monthly-exams--rail .ef-own-rank__position{grid-template-columns:1fr 1fr}

.ef-monthly-exams--rail .ef-monthly-schedule__item {
  border-radius: 19px;
  box-shadow: 0 10px 25px rgba(37, 55, 98, .08);
  overflow: hidden;
  padding: 16px 15px 14px 18px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__item::before {
  border-radius: 0 5px 5px 0;
  bottom: 14px;
  height: auto;
  left: 0;
  right: auto;
  top: 14px;
  width: 4px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__title {
  color: var(--ef-ink);
  font-size: 13px;
  letter-spacing: .015em;
  line-height: 1.25;
  margin: 0 0 9px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__time {
  align-items: center;
  background: #f4f7fd;
  border: 1px solid #e6ecf7;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__time small {
  color: #78859c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ef-monthly-exams--rail .ef-monthly-schedule__time strong {
  font-size: 19px;
  letter-spacing: -.3px;
  line-height: 1;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts > span {
  background: #f8faff;
  border: 1px solid #e9eef8;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 9px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts b {
  color: var(--ef-ink);
  font-size: 15px;
  line-height: 1.1;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts small {
  color: #75839a;
  font-size: 9px;
  font-weight: 700;
  margin-top: 3px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions > span {
  align-items: center;
  background: #f8f7ff;
  border-radius: 9px;
  display: grid;
  gap: 6px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 7px 8px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions b {
  color: #4e46ce;
  font-size: 12px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions em {
  color: #34425c;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions small {
  color: #748098;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.ef-monthly-exams--rail .ef-monthly-schedule__summary {
  color: #65738c;
  line-height: 1.45;
  margin: 8px 2px 0;
}

.ef-monthly-exams--rail .ef-monthly-schedule__action {
  gap: 7px;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ef-monthly-exams--rail .ef-monthly-schedule__action:hover {
  box-shadow: 0 13px 27px rgba(74, 63, 206, .3);
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ef-monthly-exams--home,
  .ef-monthly-exams--education {
    display: block;
  }

  .ef-monthly-exams--home .ef-monthly-schedule {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0;
  }

  .ef-monthly-exams--home .ef-exam-tabs {
    margin: 0 0 10px;
  }

  .ef-monthly-exams--education .ef-monthly-schedule {
    margin: 14px 0;
    position: static;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .ef-monthly-exams--education .ef-monthly-schedule__item {
    align-items: center;
    display: grid;
    gap: 12px 18px;
    grid-template-columns: minmax(90px, .5fr) auto minmax(190px, 1fr) auto;
  }

  .ef-monthly-exams--education .ef-monthly-schedule__item > span,
  .ef-monthly-exams--education .ef-monthly-schedule__item p,
  .ef-monthly-exams--education .ef-monthly-schedule__action {
    margin: 0;
  }

  .ef-monthly-exams--education .ef-monthly-schedule__action {
    width: auto;
  }
}

@media (max-width: 800px) {
  .ef-monthly-exams__intro,
  .ef-monthly-exams--home .ef-monthly-exams__intro,
  .ef-monthly-exams--profile .ef-monthly-exams__intro,
  .ef-own-rank {
    grid-template-columns: 1fr;
  }

  .ef-monthly-exams__date {
    max-width: none;
  }

  .ef-monthly-schedule {
    grid-template-columns: 1fr;
  }

  .ef-own-rank__position {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ef-monthly-exams--home .ef-monthly-schedule {
    grid-template-columns: 1fr;
  }

  .ef-monthly-exams--home .ef-monthly-schedule__item p {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 560px) {
  .ef-monthly-exams {
    margin: 24px auto;
  }

  .ef-monthly-exams__intro,
  .ef-monthly-exams--home .ef-monthly-exams__intro,
  .ef-monthly-exams--education .ef-monthly-exams__intro {
    border-radius: 20px;
    padding: 19px;
  }

  .ef-monthly-exams__intro h2,
  .ef-monthly-exams__intro h3,
  .ef-monthly-exams__intro h4,
  .ef-monthly-exams--home .ef-monthly-exams__intro h2,
  .ef-monthly-exams--home .ef-monthly-exams__intro h3,
  .ef-monthly-exams--home .ef-monthly-exams__intro h4 {
    font-size: 25px;
  }

  .ef-monthly-exams__date {
    padding: 13px 14px;
  }

  .ef-exam-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .ef-exam-tabs button {
    min-width: 0;
    padding: 10px 7px;
  }

  .ef-own-rank {
    padding: 17px;
  }

  .ef-own-rank__position {
    grid-template-columns: 1fr;
  }

  .ef-leaderboard__head,
  .ef-monthly-exams--home .ef-leaderboard__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 18px 17px 10px;
  }

  .ef-leaderboard__table {
    min-width: 0;
  }

  .ef-leaderboard__table thead {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .ef-leaderboard__table tr {
    border-bottom: 1px solid var(--ef-line);
    display: grid;
    grid-template-columns: 54px 1fr auto;
    padding: 9px 3px;
  }

  .ef-leaderboard__table tr:last-child {
    border-bottom: 0;
  }

  .ef-leaderboard__table td {
    border: 0;
    padding: 4px 7px;
  }

  .ef-leaderboard__table td:first-child {
    grid-row: 1 / 3;
    width: auto;
  }

  .ef-leaderboard__table td:nth-child(2) {
    grid-column: 2;
  }

  .ef-leaderboard__table td:nth-child(3) {
    font-size: 11px;
    grid-column: 2;
  }

  .ef-leaderboard__table td:last-child {
    align-self: center;
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .ef-score-note {
    padding: 11px 17px;
  }

  .ef-monthly-exams--home .ef-leaderboard__table-wrap::after {
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-exam-tabs button {
    transition: none;
  }
}

.student-exam-history {
  margin-top: 22px;
}

.student-exam-history__empty {
  background: #f5f8ff;
  border: 1px dashed #ccd9ef;
  border-radius: 16px;
  color: #65738b;
  font-size: 14px;
  padding: 18px;
}

.student-exam-history__table-wrap {
  overflow-x: auto;
}

.student-exam-history table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.student-exam-history th,
.student-exam-history td {
  border-bottom: 1px solid #e7edf7;
  padding: 13px 12px;
  text-align: left;
}

.student-exam-history th {
  color: #76839a;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.student-exam-history td {
  color: #34445f;
  font-size: 13px;
  font-weight: 750;
}

.student-exam-history tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 620px) {
  .student-exam-history table {
    min-width: 0;
  }

  .student-exam-history thead {
    display: none;
  }

  .student-exam-history tr {
    border-bottom: 1px solid #e7edf7;
    display: grid;
    gap: 7px;
    padding: 12px 0;
  }

  .student-exam-history td {
    border: 0;
    display: flex;
    justify-content: space-between;
    padding: 2px 4px;
  }

  .student-exam-history td::before {
    color: #7a879e;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
}

/* 2026-09 corporate refinement: schedule and ranking cards use one visual language. */
.ef-leaderboard__head p {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-leaderboard__head p small {
  color: #8490a4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ef-rank-number {
  border: 1px solid #dfe6f2;
  border-radius: 50%;
  height: 34px;
  min-width: 34px;
  padding: 0;
}

.ef-rank-number--1 {
  background: linear-gradient(145deg, #fff8dc, #efd06a);
  border-color: #e6c451;
  color: #755411;
}

.ef-rank-number--2 {
  background: linear-gradient(145deg, #fbfdff, #cbd5e2);
  border-color: #c0cad8;
  color: #4b586b;
}

.ef-rank-number--3 {
  background: linear-gradient(145deg, #fff3e6, #d59a65);
  border-color: #cb8c56;
  color: #6f3b18;
}

.ef-monthly-exams--rail .ef-monthly-exams__program,
.ef-monthly-exams--rail .ef-monthly-exams__rankings {
  min-width: 0;
}

.ef-monthly-exams--rail .ef-monthly-exams__program {
  background: rgba(255, 255, 255, .22);
  border-radius: 25px;
}

.ef-monthly-exams--rail .ef-monthly-exams__intro {
  gap: 11px;
  padding: 19px;
}

.ef-monthly-exams--rail .ef-monthly-exams__intro h2,
.ef-monthly-exams--rail .ef-monthly-exams__intro h3,
.ef-monthly-exams--rail .ef-monthly-exams__intro h4 {
  font-size: 25px;
  letter-spacing: -.55px;
  margin: 6px 0 8px;
}

.ef-monthly-exams--rail .ef-monthly-exams__intro p {
  font-size: 11px;
  line-height: 1.48;
}

.ef-monthly-exams--rail .ef-monthly-exams__date {
  padding: 11px 13px;
}

.ef-monthly-exams--rail .ef-monthly-schedule {
  gap: 8px;
  margin: 10px 0 0;
}

.ef-monthly-exams--rail .ef-monthly-schedule__item {
  border-color: #dbe4f1;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 12px 16px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__title {
  font-size: 12px;
  letter-spacing: .025em;
  min-height: 30px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__time {
  background: linear-gradient(145deg, #f5f8fd, #edf2fa);
  min-height: 34px;
  padding: 7px 9px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__summary {
  display: none;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts {
  gap: 6px;
  margin-top: 6px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__facts > span {
  padding: 6px 8px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions {
  gap: 4px;
  margin-top: 6px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__sessions > span {
  padding: 5px 7px;
}

.ef-monthly-exams--rail .ef-monthly-schedule__action {
  margin-top: auto;
  min-height: 35px;
  padding: 7px 10px;
}

.ef-monthly-exams--rail .ef-rank-panel {
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border-color: #dbe4f1;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(38, 57, 98, .1);
  display: flex;
  flex-direction: column;
}

.ef-monthly-exams--rail .ef-leaderboard__head {
  background: linear-gradient(145deg, #fbfcff, #f4f7fc);
  border-bottom: 1px solid #e5ebf4;
  padding: 18px 17px 14px;
}

.ef-monthly-exams--rail .ef-leaderboard__head span {
  color: #5d66c9;
  letter-spacing: .09em;
}

.ef-monthly-exams--rail .ef-leaderboard__head h3 {
  font-size: 19px;
  letter-spacing: -.35px;
  line-height: 1.2;
  margin-top: 6px;
}

.ef-monthly-exams--rail .ef-leaderboard__head p {
  align-items: flex-start;
  border-left: 3px solid #5c59df;
  margin-top: 10px;
  padding-left: 9px;
}

.ef-monthly-exams--rail .ef-leaderboard__table-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px 0;
}

.ef-monthly-exams--rail .ef-leaderboard__table tr {
  align-items: center;
  min-height: 65px;
  padding: 8px 0;
}

.ef-monthly-exams--rail .ef-leaderboard__table td strong {
  font-size: 11px;
  letter-spacing: -.05px;
}

.ef-monthly-exams--rail .ef-rank-number {
  height: 34px;
  min-width: 34px;
}

@media (max-width: 1320px) {
  .ef-monthly-exams--rail .ef-monthly-exams__program,
  .ef-monthly-exams--rail .ef-monthly-exams__rankings {
    display: block;
  }
}

/* Ana sayfa sağ sütunu: sade ve okunaklı sonuç özeti. */
.ef-monthly-exams--rail .ef-rank-panel {
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(25, 38, 64, .08);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.ef-monthly-exams--rail .ef-leaderboard__head {
  align-items: end;
  background: #fbfaf8;
  border-bottom: 1px solid #e7e9ee;
  color: #172033;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 17px 17px 15px;
}

.ef-monthly-exams--rail .ef-leaderboard__head > div {
  min-width: 0;
}

.ef-monthly-exams--rail .ef-leaderboard__head::after {
  content: none;
}

.ef-monthly-exams--rail .ef-leaderboard__head span {
  color: #667085;
  display: block;
  font-size: 9px;
  letter-spacing: .11em;
  line-height: 1.4;
}

.ef-monthly-exams--rail .ef-leaderboard__head h3 {
  color: #172033;
  font-size: 18px;
  letter-spacing: -.3px;
  line-height: 1.2;
  margin: 5px 0 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ef-monthly-exams--rail .ef-leaderboard__description {
  color: #758198;
  display: -webkit-box;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
  margin-top: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ef-monthly-exams--rail .ef-leaderboard__head p {
  align-items: flex-end;
  background: #fff;
  border: 1px solid #e2e6ec;
  border-left: 1px solid #e2e6ec;
  border-radius: 10px;
  color: #667085;
  display: flex;
  flex-direction: column;
  font-size: 9px;
  line-height: 1.2;
  margin: 0;
  padding: 7px 9px;
  white-space: nowrap;
}

.ef-monthly-exams--rail .ef-leaderboard__head p small {
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ef-monthly-exams--rail .ef-leaderboard__head p b {
  color: #172033;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin-top: 3px;
}

.ef-monthly-exams--rail .ef-leaderboard__table-wrap {
  background: #fff;
  padding: 0 15px;
}

.ef-monthly-exams--rail .ef-leaderboard__table {
  table-layout: fixed;
  width: 100%;
}

.ef-monthly-exams--rail .ef-leaderboard__table tr {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eceef2;
  border-radius: 0;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  margin: 0;
  min-height: 58px;
  padding: 7px 0;
  transition: background-color .18s ease;
}

.ef-monthly-exams--rail .ef-leaderboard__table tbody tr:nth-child(1),
.ef-monthly-exams--rail .ef-leaderboard__table tbody tr:nth-child(2),
.ef-monthly-exams--rail .ef-leaderboard__table tbody tr:nth-child(3) {
  background: transparent;
  border-color: #eceef2;
}

.ef-monthly-exams--rail .ef-leaderboard__table tbody tr:hover {
  background: #fafbfc;
  box-shadow: none;
  transform: none;
}

.ef-monthly-exams--rail .ef-leaderboard__table td {
  color: #727c8f;
  min-width: 0;
  padding: 3px 5px;
}

.ef-monthly-exams--rail .ef-leaderboard__table td:nth-child(2) {
  overflow: hidden;
}

.ef-monthly-exams--rail .ef-leaderboard__table td strong {
  color: #20293b;
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ef-monthly-exams--rail .ef-leaderboard__table td:nth-child(3) {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ef-monthly-exams--rail .ef-leaderboard__table td:last-child {
  background: #f5f6f8;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: none;
  color: #273247;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  justify-self: end;
  max-width: 86px;
  overflow: hidden;
  padding: 5px 7px;
  text-overflow: ellipsis;
}

.ef-monthly-exams--rail .ef-rank-number {
  background: #f4f5f7;
  border: 1px solid #e1e4e9;
  border-radius: 50%;
  box-shadow: none;
  color: #465064;
  font-size: 11px;
  font-weight: 900;
  height: 27px;
  min-width: 27px;
  padding: 0;
}

.ef-monthly-exams--rail .ef-rank-number--1 {
  background: #fff7da;
  border-color: #dfc469;
  color: #7a5b00;
}

.ef-monthly-exams--rail .ef-rank-number--2 {
  background: #f3f5f7;
  border-color: #c5ccd6;
  color: #526071;
}

.ef-monthly-exams--rail .ef-rank-number--3 {
  background: #fbefe7;
  border-color: #d4a17d;
  color: #805032;
}

.ef-monthly-exams--rail .ef-leaderboard__table-wrap::after {
  background: #fafafa;
  border-top: 1px solid #e7e9ee;
  color: #7a8393;
  line-height: 1.45;
  margin: 0 -15px;
  padding: 8px 14px;
  text-align: center;
}

@media (max-width: 380px) {
  .ef-monthly-exams--rail .ef-leaderboard__head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .ef-monthly-exams--rail .ef-leaderboard__head p {
    align-items: center;
    flex-direction: row;
    gap: 6px;
    justify-self: start;
  }

  .ef-monthly-exams--rail .ef-leaderboard__head p b {
    margin-top: 0;
  }

  .ef-monthly-exams--rail .ef-leaderboard__table-wrap {
    padding-left: 11px;
    padding-right: 11px;
  }

  .ef-monthly-exams--rail .ef-leaderboard__table-wrap::after {
    margin-left: -11px;
    margin-right: -11px;
  }
}
