.ki-exam-choice {
  border: 1px solid #d8dde6;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  margin: 24px 0;
  color: #182433;
}

.ki-exam-choice[data-phase="before_result"] {
  border-color: #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin: 28px 0;
  background: #fff;
}

.ki-exam-choice-hero {
  border: 1px solid #d8dde6;
  border-radius: 14px;
  background: #f7f8fb;
  padding: 18px;
  margin-bottom: 4px;
}

.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-hero {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
}

.ki-exam-choice-hero--inline {
  margin-bottom: 0;
}

.ki-exam-choice-eyebrow {
  margin: 0 0 4px;
  color: #17385c;
  font-size: 13px;
  font-weight: 700;
}

.ki-exam-choice h3,
.ki-exam-choice h4 {
  margin: 0 0 8px;
  letter-spacing: 0;
}

.ki-exam-choice h3 {
  font-size: 24px;
  line-height: 1.35;
  color: #102945;
}

.ki-exam-choice[data-phase="before_result"] h3 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.45;
}

.ki-exam-choice p {
  margin: 0 0 12px;
}

.ki-exam-choice-project-note {
  margin-bottom: 8px !important;
  color: #64748b;
  font-size: 12px;
}

.ki-exam-choice-meta {
  color: #17385c;
  font-size: 13px;
  font-weight: 700;
}

.ki-exam-choice-catch {
  color: #102945;
  font-size: 18px;
  font-weight: 800;
}

.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-catch {
  margin-bottom: 6px;
  font-size: 15px;
}

.ki-exam-choice-open {
  border: 1px solid #17385c;
  border-radius: 10px;
  background: #17385c;
  color: #fff;
  padding: 9px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ki-exam-choice-open:hover,
.ki-exam-choice-open:focus-visible {
  background: #102945;
}

.ki-exam-choice-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ki-exam-choice-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #fff;
  color: #17385c;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ki-exam-choice-form {
  display: grid;
  gap: 16px;
}

.ki-exam-choice-body {
  display: grid;
  gap: 16px;
}

.ki-exam-choice-body[hidden] {
  display: none !important;
}

.ki-exam-choice-field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.ki-exam-choice input[type="number"],
.ki-exam-choice select,
.ki-exam-choice textarea {
  width: 100%;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.ki-exam-choice fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin: 0;
}

.ki-exam-choice-step {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-primary-step {
  border-color: #b8c7d9;
  background: #f8fbff;
}

.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-primary-step legend,
.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-primary-step .ki-exam-choice-step__head strong {
  color: #102945;
  font-size: 16px;
}

.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-pair-step,
.ki-exam-choice[data-phase="before_result"] .ki-exam-choice-optional {
  background: #fff;
}

.ki-exam-choice-step__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.ki-exam-choice-step__head span,
.ki-exam-choice-step-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef4ff;
  color: #17385c;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ki-exam-choice-step__head strong {
  color: #102945;
  font-size: 15px;
}

.ki-exam-choice legend {
  padding: 0 6px;
  color: #17385c;
  font-weight: 700;
}

.ki-exam-choice-checkgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ki-exam-choice-checkgrid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  background: #f7f8fb;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: normal;
}

.ki-exam-choice-optional {
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #fff;
  padding: 0;
}

.ki-exam-choice-optional summary {
  cursor: pointer;
  color: #17385c;
  font-weight: 700;
  padding: 13px 14px;
  list-style-position: inside;
}

.ki-exam-choice-optional__body {
  display: grid;
  gap: 16px;
  border-top: 1px solid #e5e7eb;
  padding: 14px;
}

.ki-exam-choice-checkgrid input {
  flex: 0 0 auto;
}

.ki-exam-choice-checkgrid span {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.ki-exam-choice-pair-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ki-exam-choice-pair-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #f7f8fb;
  padding: 12px 14px;
  color: #102945;
  font-weight: 700;
  word-break: keep-all;
  cursor: pointer;
}

.ki-exam-choice-pair-options input {
  flex: 0 0 auto;
}

.ki-exam-choice-pair-options label:has(input:checked) {
  border-color: #17385c;
  background: #eef4ff;
}

.ki-exam-choice-inline-extra[hidden] {
  display: none !important;
}

.ki-exam-choice-checkgrid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ki-exam-choice-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ki-exam-choice-submit {
  justify-self: start;
  border: 0;
  border-radius: 10px;
  background: #17385c;
  color: #fff;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

.ki-exam-choice-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ki-exam-choice-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.ki-exam-choice-form-note,
.ki-exam-choice-note {
  color: #475569;
  font-size: 13px;
}

.ki-exam-choice-message {
  min-height: 1.5em;
  color: #17385c;
  font-weight: 700;
}

.ki-exam-choice-message.is-error {
  color: #b42318;
}

.ki-exam-choice-result {
  margin-top: 22px;
  border: 0;
  border-radius: 14px;
  background: #f6f8fb;
  padding: 22px;
}

.ki-exam-choice-result-slot[hidden],
.ki-exam-choice-form[hidden] {
  display: none !important;
}

.ki-exam-choice-result-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.ki-exam-choice-result-nav p {
  margin: 0;
}

.ki-exam-choice-edit {
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #fff;
  color: #17385c;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}

.ki-exam-choice-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.ki-exam-choice-highlight {
  display: grid;
  gap: 6px;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.ki-exam-choice-highlight small {
  color: #17385c;
  font-size: 12px;
  font-weight: 800;
}

.ki-exam-choice-highlight span {
  color: #102945;
  font-size: 14px;
  font-weight: 700;
  word-break: keep-all;
}

.ki-exam-choice-highlight strong {
  color: #102945;
  font-size: 28px;
  line-height: 1.1;
}

.ki-exam-choice-highlight em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.ki-exam-choice-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.ki-exam-choice-result-hero--single {
  grid-template-columns: 1fr;
}

.ki-exam-choice-summary-card {
  display: grid;
  gap: 18px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  margin: 0;
}

.ki-exam-choice-summary-card__title {
  display: grid;
  gap: 5px;
}

.ki-exam-choice-summary-card__title span {
  color: #17385c;
  font-size: 12px;
  font-weight: 800;
}

.ki-exam-choice-summary-card__title strong {
  color: #102945;
  font-size: 22px;
  line-height: 1.45;
}

.ki-exam-choice-summary-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.ki-exam-choice-summary-main > div:first-child {
  display: grid;
  gap: 4px;
}

.ki-exam-choice-summary-main span,
.ki-exam-choice-summary-main dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ki-exam-choice-summary-main strong {
  color: #102945;
  font-size: 28px;
  line-height: 1.2;
  word-break: keep-all;
}

.ki-exam-choice-summary-main em {
  color: #17385c;
  font-size: 42px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.ki-exam-choice-summary-main dl {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px;
  margin: 0;
}

.ki-exam-choice-summary-main dd {
  margin: 2px 0 0;
  color: #102945;
  font-size: 18px;
  font-weight: 900;
}

.ki-exam-choice-summary-breakdown {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-exam-choice-summary-breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid #edf1f5;
}

.ki-exam-choice-summary-breakdown span {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.ki-exam-choice-summary-breakdown strong {
  color: #17385c;
  font-size: 18px;
  font-weight: 900;
}

.ki-exam-choice-summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ki-exam-choice-summary-metrics div {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f7f8fb;
  padding: 10px;
}

.ki-exam-choice-summary-metrics div:first-child {
  grid-column: span 1;
}

.ki-exam-choice-summary-metrics dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.ki-exam-choice-summary-metrics dd {
  margin: 2px 0 0;
  color: #102945;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.ki-exam-choice-low-sample {
  border: 0;
  border-radius: 8px;
  background: #fff8e6;
  color: #6f4b00;
  padding: 10px 12px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
}

.ki-exam-choice-result-layout,
.ki-exam-choice-result__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.ki-exam-choice-result-panel,
.ki-exam-choice-result__grid section {
  border: 0;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.ki-exam-choice-result-panel h4,
.ki-exam-choice-result__grid section h4 {
  margin-bottom: 14px;
  color: #102945;
  font-size: 17px;
}

.ki-exam-choice-result-panel--main,
.ki-exam-choice-result__main {
  border-color: transparent !important;
}

.ki-exam-choice-subpanel {
  border-top: 1px solid #edf1f5;
  margin-top: 22px;
  padding-top: 18px;
}

.ki-exam-choice-ranking {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-exam-choice-ranking li {
  display: grid;
  gap: 6px;
}

.ki-exam-choice-ranking__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
}

.ki-exam-choice-ranking__label {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  color: #102945;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.ki-exam-choice-ranking__label em {
  display: inline-flex;
  justify-content: center;
  min-width: 1.6em;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.ki-exam-choice-ranking__value {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  white-space: nowrap;
}

.ki-exam-choice-ranking__value strong {
  color: #17385c;
}

.ki-exam-choice-ranking__value em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.ki-exam-choice-bar {
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.ki-exam-choice-bar span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, #17385c 0%, #2f6fa3 100%);
}

.ki-exam-choice-bar--highlight {
  height: 8px;
  margin-top: 2px;
}

.ki-exam-choice-more {
  border-top: 1px solid #eef1f5;
  margin-top: 10px;
  padding-top: 10px;
}

.ki-exam-choice-more summary {
  cursor: pointer;
  color: #17385c;
  font-size: 13px;
  font-weight: 800;
}

.ki-exam-choice-more .ki-exam-choice-ranking {
  margin-top: 10px;
}

.ki-exam-choice-empty {
  color: #64748b;
  font-size: 13px;
}

.ki-exam-choice-donut-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
}

.ki-exam-choice-donut {
  display: grid;
  place-items: center;
  width: min(220px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--ki-donut));
}

.ki-exam-choice-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.ki-exam-choice-donut > div {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  gap: 3px;
  justify-items: center;
  max-width: 118px;
  text-align: center;
}

.ki-exam-choice-donut span,
.ki-exam-choice-donut em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.ki-exam-choice-donut strong {
  color: #102945;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.ki-exam-choice-donut-legend {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-exam-choice-donut-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 13px;
}

.ki-exam-choice-donut-legend span {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ki-donut-color);
}

.ki-exam-choice-donut-legend strong {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ki-exam-choice-donut-legend em {
  color: #17385c;
  font-style: normal;
  font-weight: 900;
}

.ki-exam-choice-result-note {
  margin-top: 18px;
  color: #475569;
  font-size: 13px;
}

.ki-exam-choice-result-note summary {
  cursor: pointer;
  color: #17385c;
  font-weight: 800;
}

.ki-exam-choice-result-note p {
  margin: 8px 0 0;
}

@media (max-width: 760px) {
  .ki-exam-choice {
    padding: 16px;
  }

  .ki-exam-choice-two,
  .ki-exam-choice-highlights,
  .ki-exam-choice-summary-metrics,
  .ki-exam-choice-summary-main,
  .ki-exam-choice-result-hero,
  .ki-exam-choice-result-layout,
  .ki-exam-choice-result__grid {
    grid-template-columns: 1fr;
  }

  .ki-exam-choice-result {
    padding: 16px;
  }

  .ki-exam-choice-summary-card,
  .ki-exam-choice-donut-card,
  .ki-exam-choice-result-panel {
    padding: 16px;
  }

  .ki-exam-choice-summary-main strong {
    font-size: 23px;
  }

  .ki-exam-choice-summary-main em {
    font-size: 36px;
  }

  .ki-exam-choice-summary-metrics div:first-child {
    grid-column: auto;
  }

  .ki-exam-choice-checkgrid {
    grid-template-columns: 1fr;
  }

  .ki-exam-choice-pair-options,
  .ki-exam-choice-checkgrid--compact {
    grid-template-columns: 1fr;
  }
}
