
.exam-guidelines {
  --eg-ink: #172033;
  --eg-text: #526078;
  --eg-muted: #77839a;
  --eg-border: #e2e8f0;
  --eg-purple: #5145ff;
  --eg-blue: #3478ff;
  --eg-green: #22c55e;

  width: min(100% - 40px, 1180px);
  margin: 30px auto 48px;
  padding: 0 24px;
  color: var(--eg-ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.eg-header {
  margin-bottom: 32px;
  text-align: center;
}

.eg-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 25px);
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -.04em;
}

.eg-header h2 span {
  color: #047857;
}

.eg-agency {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 13px;
  border-radius: 30px;
  background: #eef2ff;
  color: var(--eg-purple);
  font-size: 11px;
  align-items: center;
    gap: 7px;
    border: 1px solid #a7f3d0;
    color: #047857;
    background: #d1fae5;
    letter-spacing: .035em;
}

.eg-notice {
  margin-bottom: 2px;
  padding: 12px 14px;
  border: 1px solid #dbe4ff;
  border-radius: 11px;
  background: #fff;
  color: #43516a;
  font-size: 11px;
  line-height: 1.7;
}

.eg-notice p {
  margin: 0;
}

.eg-notice p + p {
  margin-top: 5px;
}

.eg-card {
  --eg-top: #047857;

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 26px;
  margin-bottom: 20px;
  padding: 25px 22px 23px;
  overflow: hidden;
  border: 1px solid var(--eg-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.eg-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--eg-top);
  content: "";
}

.eg-signature {
  --eg-top: #293344;
}

.eg-settings,
.eg-guidance {
  min-width: 0;
}

.eg-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eg-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #d1fae5;
  color: #047857;
  font-size: 20px;
}

.eg-sign-icon {
  border-color: #dce5f0;
  background: #f1f5f9;
  color: #34445e;
}

.eg-section-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.eg-section-title p {
  margin: 2px 0 0;
  color: var(--eg-muted);
  font-size: 10px;
}

.eg-target {
  margin: 14px 0 12px;
  color: var(--eg-text);
  font-size: 10px;
  line-height: 1.6;
}

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

.eg-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 56px;
  padding: 10px;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: #f8fafc;
}

.eg-metric-label {
  margin-bottom: 5px;
  color: #4b5870;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.eg-metric strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.eg-format {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  min-height: 39px;
}

.eg-format .eg-metric-label {
  margin: 0;
}

.eg-format-badge {
  padding: 4px 7px;
  border: 1px solid #dfe5ed;
  border-radius: 4px;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
}

.eg-guidance {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 26px;
  border-left: 1px solid #e7ebf2;
}

.eg-guidance h4 {
  margin: 1px 0 7px;
  font-size: 11px;
  font-weight: 750;
}

.eg-info {
  color: var(--eg-green);
}

.eg-check {
  color: var(--eg-green);
}

.eg-guidance-box {
  border: 1px solid #e1edff;
  border-radius: 11px;
  padding: 12px 11px;
  background: #f8fbff;
  color: #4b5a73;
  font-size: 11px;
  line-height: 1.7;
}

.eg-manual {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-color: #e8edf5;
  background: #fcfcfd;
}

.eg-manual p {
  margin: 0;
}

.eg-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--eg-green);
}

.eg-error {
  color: #b91c1c;
  font-size: 13px;
}

@media (max-width: 760px) {
  .exam-guidelines {
    width: calc(100% - 28px);
    margin-top: 24px;
  }

  .eg-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 23px 18px 19px;
  }

  .eg-guidance {
    padding: 20px 0 0;
    border-top: 1px solid #e7ebf2;
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .exam-guidelines {
    width: calc(100% - 20px);
  }

  .eg-card {
    padding: 20px 13px 15px;
  }

  .eg-metrics {
    gap: 8px;
  }

  .eg-metric {
    padding: 9px 8px;
  }
}
