.dele-sim {
  --tce-ink: #16202f;
  --tce-muted: #647184;
  --tce-line: #dce5ef;
  --tce-blue: #0b5fa5;
  --tce-red: #b42318;
  --tce-gold: #c88a19;
  --tce-green: #168464;
  --tce-bg: #f4f7fb;
  color: var(--tce-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dele-sim * {
  box-sizing: border-box;
}

.dele-sim h2,
.dele-sim h3,
.dele-sim p {
  margin-top: 0;
}

.dele-sim__landing {
  background: linear-gradient(135deg, #0b315a 0%, #0b5fa5 52%, #168464 100%);
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  padding: 28px;
}

.dele-sim__intro {
  max-width: 760px;
  padding: 10px 0 24px;
}

.dele-sim__intro h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.dele-sim__intro p {
  color: rgba(255,255,255,.86);
  font-size: 17px;
}

.dele-sim__eyebrow {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.dele-sim__level-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dele-sim__level-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 8px;
  color: var(--tce-ink);
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  box-shadow: 0 18px 38px rgba(7, 26, 47, .18);
}

.dele-sim__level-head span {
  align-items: center;
  background: #eaf4ff;
  border: 1px solid #c8e0f8;
  border-radius: 999px;
  color: var(--tce-blue);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 12px;
  width: 48px;
}

.dele-sim__level-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 0;
}

.dele-sim__level-card p {
  color: var(--tce-muted);
  font-size: 14px;
  line-height: 1.45;
}

.dele-sim__time-list {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dele-sim__time-list li {
  align-items: center;
  border-bottom: 1px solid var(--tce-line);
  display: flex;
  font-size: 13px;
  gap: 8px;
  justify-content: space-between;
  padding-bottom: 7px;
}

.dele-sim__time-list li:last-child {
  border-bottom: 0;
}

.dele-sim__button {
  background: var(--tce-blue);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 12px 15px;
  text-align: center;
}

.dele-sim__button:hover {
  filter: brightness(.96);
}

.dele-sim__button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.dele-sim__button--ghost,
.dele-sim__back {
  background: #eef3f8;
  color: var(--tce-ink);
}

.dele-sim__button--wide {
  width: 100%;
}

.dele-sim__exam-intro,
.dele-sim__task-screen,
.dele-sim__submit,
.dele-sim__result,
.dele-sim__timeout,
.dele-sim__loading {
  background: #fff;
  border: 1px solid var(--tce-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(22, 32, 47, .08);
  padding: 24px;
}

.dele-sim__exam-intro h2,
.dele-sim__task-screen h2,
.dele-sim__submit h2 {
  font-size: 28px;
  line-height: 1.15;
}

.dele-sim__back {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 10px 12px;
}

.dele-sim__exam-map {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.dele-sim__exam-map article,
.dele-sim__score-grid article {
  background: var(--tce-bg);
  border: 1px solid var(--tce-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.dele-sim__exam-map strong {
  color: var(--tce-blue);
}

.dele-sim__exam-map span {
  color: var(--tce-muted);
  font-size: 14px;
}

.dele-sim__notice {
  background: #fff8eb;
  border: 1px solid #f2d49a;
  border-left: 5px solid var(--tce-gold);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 14px;
}

.dele-sim__exam-bar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.dele-sim__timer {
  background: #fff4f2;
  border: 1px solid #ffd6d1;
  border-radius: 8px;
  min-width: 160px;
  padding: 12px;
  text-align: center;
}

.dele-sim__timer span {
  color: var(--tce-red);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dele-sim__timer strong {
  color: var(--tce-red);
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-top: 4px;
}

.dele-sim__progress {
  background: #e8edf4;
  border-radius: 999px;
  height: 10px;
  margin: 18px 0 10px;
  overflow: hidden;
}

.dele-sim__progress span {
  background: linear-gradient(90deg, var(--tce-blue), var(--tce-green));
  display: block;
  height: 100%;
}

.dele-sim__task-count {
  color: var(--tce-muted);
  font-weight: 800;
}

.dele-sim__paper {
  background: #fbfdff;
  border: 1px solid var(--tce-line);
  border-radius: 8px;
  padding: 18px;
}

.dele-sim__prompt {
  font-size: 17px;
  line-height: 1.62;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.dele-sim audio {
  margin: 6px 0 14px;
  width: 100%;
}

.dele-sim__options {
  display: grid;
  gap: 10px;
}

.dele-sim__option {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--tce-line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.dele-sim__option:hover {
  border-color: #9ac2e6;
}

.dele-sim input,
.dele-sim textarea {
  border: 1px solid var(--tce-line);
  border-radius: 8px;
  color: var(--tce-ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

.dele-sim__option input {
  margin-top: 4px;
  width: auto;
}

.dele-sim textarea {
  min-height: 260px;
  resize: vertical;
}

.dele-sim__counter {
  color: var(--tce-muted);
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
}

.dele-sim__counter.is-warning {
  color: var(--tce-red);
}

.dele-sim__recorder {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dele-sim__task-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 18px;
}

.dele-sim__identity {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.dele-sim__identity label {
  color: var(--tce-muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
}

.dele-sim__pre-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.dele-sim__pre-summary span {
  background: #edf7f4;
  border: 1px solid #cde8df;
  border-radius: 999px;
  color: #0f684f;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.dele-sim__result {
  margin-top: 16px;
}

.dele-sim__score-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.dele-sim__score-grid span {
  color: var(--tce-muted);
  font-size: 13px;
  font-weight: 800;
}

.dele-sim__score-grid strong {
  color: var(--tce-blue);
  font-size: 22px;
}

@media (max-width: 1100px) {
  .dele-sim__level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dele-sim__landing,
  .dele-sim__exam-intro,
  .dele-sim__task-screen,
  .dele-sim__submit,
  .dele-sim__result,
  .dele-sim__timeout {
    padding: 18px;
  }

  .dele-sim__intro h2 {
    font-size: 28px;
  }

  .dele-sim__level-grid,
  .dele-sim__exam-map,
  .dele-sim__identity,
  .dele-sim__score-grid {
    grid-template-columns: 1fr;
  }

  .dele-sim__exam-bar {
    align-items: stretch;
    display: grid;
  }

  .dele-sim__task-actions {
    display: grid;
  }
}
