.ki-exam-fact-report {
  margin: 2rem 0;
  color: #182433;
}

.ki-exam-fact-head {
  margin-bottom: 1.25rem;
}

.ki-exam-fact-eyebrow {
  margin: 0 0 0.35rem;
  color: #17385c;
  font-size: 0.86rem;
  font-weight: 700;
}

.ki-exam-fact-head h2 {
  margin: 0 0 0.55rem;
  color: #102945;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.ki-exam-fact-head p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.ki-exam-fact-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.ki-exam-fact-metrics > div {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.ki-exam-fact-metrics span,
.ki-exam-fact-metrics em {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.5;
}

.ki-exam-fact-metrics strong {
  display: block;
  margin: 0.18rem 0 0.12rem;
  color: #102945;
  font-size: 1.32rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ki-exam-fact-metrics-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 540px;
}

.ki-exam-fact-report .iaa-summary-analysis-box {
  margin: 1.2rem 0 1.4rem;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.ki-exam-fact-report .iaa-summary-analysis-box .iaa-related-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #102945;
  font-size: 0.96rem !important;
  font-weight: 800;
  line-height: 1.4 !important;
}

.ki-exam-fact-report .iaa-summary-analysis-box .iaa-related-title i,
.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark {
  display: inline-flex;
  width: 24px !important;
  height: 24px !important;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 0.75rem !important;
}

.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark {
  position: relative;
  flex: 0 0 24px;
}

.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark::before,
.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark::after {
  content: "";
  position: absolute;
  display: block;
}

.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-2px, -2px);
}

.ki-exam-fact-report .iaa-summary-analysis-box .ki-exam-fact-title-mark::after {
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(5px, 6px) rotate(45deg);
}

.ki-exam-fact-report .iaa-analysis-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.ki-exam-fact-report .iaa-summary-analysis-box .iaa-analysis-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.ki-exam-fact-report .iaa-analysis-label {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.ki-exam-fact-report .iaa-analysis-item p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ki-exam-fact-report .iaa-analysis-item strong {
  color: #1e293b;
  font-size: 1rem;
}

.ki-exam-fact-section {
  margin: 1.65rem 0;
}

.ki-exam-fact-section h3 {
  margin: 0 0 0.75rem;
  padding: 0 0 0 0.75rem;
  border-bottom: 0;
  border-left: 5px solid #17385c;
  color: #102945;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.ki-exam-fact-section--dashboard {
  overflow: hidden;
  padding: 1.05rem;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 41, 69, 0.05);
}

.ki-exam-fact-section--dashboard > h3 {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0;
  border-left: 0;
  font-size: 1.38rem;
}

.ki-exam-fact-section-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #17385c;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.ki-exam-fact-section--dashboard > h3::after {
  content: "";
  width: 1.5rem;
  height: 3px;
  flex: 0 0 1.5rem;
  border-radius: 999px;
  background: #f0b429;
}

.ki-exam-fact-chart-block {
  margin-top: 0.95rem;
}

.ki-exam-fact-chart-block h4 {
  margin: 0 0 0.55rem;
  padding-left: 0.62rem;
  border-left: 4px solid #f0b429;
  color: #102945;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
}

.ki-exam-fact-section--points .ki-exam-fact-metrics-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: 0.85rem 0 0.8rem;
}

.ki-exam-fact-subtitle {
  margin-top: 1.35rem !important;
}

.ki-exam-fact-lead {
  margin: 0 0 0.35rem;
  color: #17233a;
  line-height: 1.75;
}

.ki-exam-fact-note {
  margin: 0.5rem 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid #f0b429;
  background: #fffaf0;
  color: #475569;
  line-height: 1.7;
}

.ki-exam-fact-note--person-grade {
  margin: 0.75rem 0 0.25rem;
  border-color: #d8a11f;
  color: #3f3218;
  font-size: 0.9rem;
  font-weight: 700;
}

.ki-exam-fact-chart {
  height: 300px;
  margin: 0 0 0.75rem;
  padding: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ki-exam-fact-flow-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 0.9rem;
}

.ki-exam-fact-flow-summary-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 41, 69, 0.08);
}

.ki-exam-fact-flow-summary-icon {
  display: inline-flex !important;
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e3f0;
  border-radius: 50%;
  background: #edf4fb;
  color: #17385c;
  font-size: 1.55rem !important;
}

.ki-exam-fact-flow-summary-card--application .ki-exam-fact-flow-summary-icon {
  border-color: #ead394;
  background: #fff6df;
  color: #d79a0b;
}

.ki-exam-fact-flow-summary-card--exam .ki-exam-fact-flow-summary-icon {
  border-color: #b8dec5;
  background: #e7f6ec;
  color: #2f7d59;
}

.ki-exam-fact-flow-summary-card > span:not(.ki-exam-fact-flow-summary-icon),
.ki-exam-fact-flow-step em span {
  display: block;
  color: #102945;
  font-size: 0.82rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1.45;
}

.ki-exam-fact-flow-summary-card strong {
  display: block;
  color: #102945;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ki-exam-fact-flow {
  margin: 0.95rem 0 1rem;
}

.ki-exam-fact-flow-steps {
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 41, 69, 0.06);
}

.ki-exam-fact-flow-step {
  display: grid;
  grid-template-columns: 34px minmax(7.5rem, 1.05fr) minmax(12rem, 2.25fr) minmax(6.5rem, 0.85fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  padding: 0.45rem 0.9rem;
}

.ki-exam-fact-flow-step + .ki-exam-fact-flow-step {
  margin-top: 0;
  padding-top: 0.45rem;
  border-top: 1px solid #edf1f6;
}

.ki-exam-fact-flow-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #17385c;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.ki-exam-fact-flow-label {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
  color: #102945;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.ki-exam-fact-flow-label .dashicons {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef4fb;
  color: #17385c;
  font-size: 1rem;
}

.ki-exam-fact-flow-funnel {
  display: flex;
  width: var(--ki-flow-width);
  min-width: 46%;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  clip-path: polygon(6% 0, 94% 0, 82% 100%, 18% 100%);
  background: linear-gradient(135deg, #0e2b4d, #17385c);
  color: #fff;
}

.ki-exam-fact-flow-step--exam .ki-exam-fact-flow-funnel,
.ki-exam-fact-flow-step--exam2 .ki-exam-fact-flow-funnel {
  background: linear-gradient(135deg, #24517d, #3b78a9);
}

.ki-exam-fact-flow-step--pass1 .ki-exam-fact-flow-funnel {
  background: linear-gradient(135deg, #3c8c61, #70b985);
}

.ki-exam-fact-flow-step--final .ki-exam-fact-flow-funnel {
  background: linear-gradient(135deg, #e0a416, #f0b429);
}

.ki-exam-fact-flow-funnel strong {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.ki-exam-fact-flow-step em {
  display: grid;
  min-width: 0;
  padding: 0.38rem 0.48rem;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  color: #102945;
  font-style: normal;
  line-height: 1.25;
  text-align: center;
}

.ki-exam-fact-flow-step em strong {
  display: block;
  color: #102945;
  font-size: 1.08rem;
  font-weight: 900;
}

.ki-exam-fact-table-wrap {
  overflow-x: auto;
  margin: 0.85rem 0 1.25rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fff;
}

.ki-exam-fact-table-wrap--compare {
  overflow: hidden;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 41, 69, 0.07);
}

.ki-exam-fact-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ki-exam-fact-table th,
.ki-exam-fact-table td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid #eef2f7;
  text-align: right;
  white-space: nowrap;
}

.ki-exam-fact-table th:first-child,
.ki-exam-fact-table td:first-child {
  text-align: left;
}

.ki-exam-fact-table th {
  background: #fff;
  color: #475569;
  font-weight: 700;
}

.ki-exam-fact-table tbody tr:hover {
  background: #fbfcfe;
}

.ki-exam-fact-table tr:last-child td {
  border-bottom: 0;
}

.ki-exam-fact-table--compare {
  table-layout: fixed;
  color: #102945;
}

.ki-exam-fact-table--compare th,
.ki-exam-fact-table--compare td {
  padding: 0.72rem 0.62rem;
  border-bottom-color: #e6ebf2;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}

.ki-exam-fact-table--compare th:first-child,
.ki-exam-fact-table--compare td:first-child {
  width: 26%;
  text-align: left;
}

.ki-exam-fact-table--compare th:first-child {
  color: transparent;
}

.ki-exam-fact-table--compare th:nth-child(2),
.ki-exam-fact-table--compare th:nth-child(3),
.ki-exam-fact-table--compare td:nth-child(2),
.ki-exam-fact-table--compare td:nth-child(3) {
  width: 18%;
}

.ki-exam-fact-table--compare th:nth-child(4),
.ki-exam-fact-table--compare th:nth-child(5),
.ki-exam-fact-table--compare td:nth-child(4),
.ki-exam-fact-table--compare td:nth-child(5) {
  width: 19%;
}

.ki-exam-fact-table--compare th {
  color: #102945;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.ki-exam-fact-table-badge {
  display: inline-flex;
  margin-left: 0.25rem;
  padding: 0.1rem 0.28rem;
  border-radius: 4px;
  background: #edf1f6;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.1;
  vertical-align: 0.08em;
}

.ki-exam-fact-compare-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  color: #102945;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.ki-exam-fact-compare-icon {
  display: inline-flex !important;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef4fb;
  color: #17385c;
  font-size: 1.22rem !important;
}

.ki-exam-fact-table--compare td:nth-child(2),
.ki-exam-fact-table--compare td:nth-child(3) {
  color: #102945;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.15;
}

.ki-exam-fact-table--compare td:nth-child(3) {
  position: relative;
}

.ki-exam-fact-table--compare td:nth-child(3)::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -0.72rem;
  transform: translateY(-50%);
  color: #93a4ba;
  font-size: 1.05rem;
  font-weight: 900;
}

.ki-exam-fact-compare-delta {
  --ki-delta-color: #64748b;
  --ki-delta-border: #e5e7eb;
  --ki-delta-bg: #f8fafc;
  color: #64748b;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.1;
}

.ki-exam-fact-compare-delta span {
  display: inline-flex;
  min-width: 4.6em;
  min-height: 2.05em;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--ki-delta-border);
  border-radius: 7px;
  background: var(--ki-delta-bg);
}

.ki-exam-fact-compare-delta--up {
  --ki-delta-color: #d91f2a;
  --ki-delta-border: #ffd3d8;
  --ki-delta-bg: #fff8f8;
}

.ki-exam-fact-compare-delta--down {
  --ki-delta-color: #2563a7;
  --ki-delta-border: #cfe1f8;
  --ki-delta-bg: #f5f9ff;
}

.ki-exam-fact-compare-delta--flat {
  --ki-delta-color: #64748b;
  --ki-delta-border: #e5e7eb;
  --ki-delta-bg: #f8fafc;
}

.ki-exam-fact-compare-delta {
  color: var(--ki-delta-color);
}

.ki-exam-fact-subject-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.9rem 0 1rem;
}

.ki-exam-fact-subject-card,
.ki-exam-fact-grade-card {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.ki-exam-fact-subject-card {
  padding: 1rem;
  border-color: #d8dde6;
}

.ki-exam-fact-subject-card-head,
.ki-exam-fact-grade-card-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.ki-exam-fact-subject-card-head strong,
.ki-exam-fact-grade-card-head strong {
  min-width: 0;
  color: #102945;
  font-size: 0.96rem;
  line-height: 1.45;
}

.ki-exam-fact-subject-card-head span,
.ki-exam-fact-grade-card-head span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.ki-exam-fact-subject-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.ki-exam-fact-subject-card dl div {
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfcfe;
}

.ki-exam-fact-subject-card dt {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.ki-exam-fact-subject-card dd {
  margin: 0.15rem 0 0;
  color: #102945;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ki-exam-fact-subject-meter {
  position: relative;
  height: 8px;
  margin-top: 0.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.ki-exam-fact-subject-meter-average {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: #17385c;
}

.ki-exam-fact-subject-meter-standard {
  position: absolute;
  top: -2px;
  bottom: -2px;
  z-index: 1;
  width: 2px;
  background: #f0b429;
}

.ki-exam-fact-grade-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.9rem 0 0.65rem;
}

.ki-exam-fact-grade-card {
  display: grid;
  grid-template-columns: minmax(8rem, 0.9fr) minmax(0, 3fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
}

.ki-exam-fact-grade-card-head {
  display: grid;
  gap: 0.16rem;
  margin: 0;
}

.ki-exam-fact-grade-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background: #fff;
}

.ki-exam-fact-grade-row {
  display: grid;
  grid-template-columns: minmax(1.1rem, auto) minmax(0, 1fr);
  gap: 0.28rem 0.48rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
}

.ki-exam-fact-grade-row + .ki-exam-fact-grade-row {
  border-left: 1px solid #edf1f6;
}

.ki-exam-fact-grade-label {
  color: #102945;
  font-size: 0.82rem;
  font-weight: 800;
}

.ki-exam-fact-grade-track {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.ki-exam-fact-grade-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f7d59;
}

.ki-exam-fact-grade-value {
  color: #102945;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.ki-exam-fact-subject-trends,
.ki-exam-fact-person-trends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.9rem 0 1.2rem;
}

.ki-exam-fact-subject-trend,
.ki-exam-fact-person-trend {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.ki-exam-fact-subject-trend h4,
.ki-exam-fact-person-trend h4 {
  margin: 0 0 0.7rem;
  color: #102945;
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.ki-exam-fact-subject-trend .ki-exam-fact-chart,
.ki-exam-fact-person-trend .ki-exam-fact-chart {
  height: 230px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.ki-exam-fact-source-box {
  margin: 1.8rem 0 0;
  padding: 1rem 1.1rem;
  border-top: 1px solid #d8dde6;
  border-bottom: 1px solid #d8dde6;
  background: #fbfcfe;
}

.ki-exam-fact-source-box h3 {
  margin: 0 0 0.55rem;
  color: #102945;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.ki-exam-fact-source-box p {
  margin: 0.45rem 0 0;
  color: #475569;
  line-height: 1.8;
}

.ki-exam-fact-faq {
  margin: 1.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid #d8dde6;
}

.ki-exam-fact-faq h3 {
  margin: 0 0 0.75rem;
  color: #102945;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.ki-exam-fact-faq details {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.ki-exam-fact-faq summary {
  cursor: pointer;
  padding: 0.9rem 0;
  color: #102945;
  font-weight: 800;
  line-height: 1.55;
}

.ki-exam-fact-faq summary::marker {
  color: #17385c;
}

.ki-exam-fact-faq p {
  margin: 0;
  padding: 0 0 0.95rem;
  color: #475569;
  line-height: 1.8;
}

.ki-exam-fact-next {
  margin: 1.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid #d8dde6;
}

.ki-exam-fact-next h3 {
  margin: 0 0 0.75rem;
  color: #102945;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.ki-exam-fact-next-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ki-exam-fact-next-card {
  display: flex;
  min-width: 0;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.ki-exam-fact-next-card:hover,
.ki-exam-fact-next-card:focus-visible {
  border-color: #b9c4d3;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.ki-exam-fact-next-icon {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #f1f5f9;
  color: #17385c;
  font-size: 0.82rem;
}

.ki-exam-fact-next-text {
  display: block;
  min-width: 0;
}

.ki-exam-fact-next-text strong,
.ki-exam-fact-next-text em {
  display: block;
}

.ki-exam-fact-next-text strong {
  color: #102945;
  font-size: 0.94rem;
  line-height: 1.45;
}

.ki-exam-fact-next-text em {
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .ki-exam-fact-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ki-exam-fact-subject-grid,
  .ki-exam-fact-subject-trends,
  .ki-exam-fact-person-trends,
  .ki-exam-fact-grade-bars {
    grid-template-columns: 1fr;
  }

  .ki-exam-fact-flow-summary {
    grid-template-columns: 1fr;
  }

  .ki-exam-fact-next-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ki-exam-fact-report {
    margin: 1.35rem 0;
  }

  .ki-exam-fact-metrics,
  .ki-exam-fact-metrics-compact {
    grid-template-columns: 1fr;
  }

  .ki-exam-fact-next-list {
    grid-template-columns: 1fr;
  }

  .ki-exam-fact-report .iaa-summary-analysis-box .iaa-analysis-item {
    flex-direction: column;
    gap: 6px;
  }

  .ki-exam-fact-chart {
    height: 280px;
  }

  .ki-exam-fact-table-wrap {
    margin: 0.75rem 0 1.1rem;
  }

  .ki-exam-fact-table-wrap--trend {
    position: relative;
    overflow-x: auto;
    border-color: #e5e7eb;
    border-radius: 8px;
    background: linear-gradient(90deg, #fff 0, #fff 74%, rgba(255, 255, 255, 0));
    -webkit-overflow-scrolling: touch;
  }

  .ki-exam-fact-table--trend {
    min-width: 620px;
    font-size: 0.82rem;
  }

  .ki-exam-fact-table--trend th,
  .ki-exam-fact-table--trend td {
    padding: 0.52rem 0.58rem;
  }

  .ki-exam-fact-table--trend th:first-child,
  .ki-exam-fact-table--trend td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 0 #eef2f7;
    font-weight: 800;
  }

  .ki-exam-fact-table--trend th:first-child {
    z-index: 2;
  }

  .ki-exam-fact-table-wrap--score-trend {
    overflow-x: visible;
    border-color: #e5e7eb;
    border-radius: 8px;
    background: #fff;
  }

  .ki-exam-fact-table--score-trend {
    width: 100%;
    table-layout: fixed;
    font-size: 0.82rem;
  }

  .ki-exam-fact-table--score-trend th,
  .ki-exam-fact-table--score-trend td {
    width: 34%;
    padding: 0.55rem 0.42rem;
    white-space: normal;
  }

  .ki-exam-fact-table--score-trend th:first-child,
  .ki-exam-fact-table--score-trend td:first-child {
    width: 28%;
    font-weight: 800;
    text-align: left;
  }

  .ki-exam-fact-table--score-trend th:not(:first-child),
  .ki-exam-fact-table--score-trend td:not(:first-child) {
    text-align: center;
  }

  .ki-exam-fact-table-wrap:not(.ki-exam-fact-table-wrap--trend):not(.ki-exam-fact-table-wrap--score-trend) {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare),
  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) thead,
  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) tbody,
  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) tr,
  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) th,
  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) td {
    display: block;
    width: 100%;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) thead,
  .ki-exam-fact-table--kv thead,
  .ki-exam-fact-table--compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) tbody {
    display: grid;
    gap: 0.65rem;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) tr {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) td {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
    padding: 0.58rem 0.72rem;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    white-space: normal;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 10rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) td:first-child {
    background: #fbfcfe;
    color: #102945;
    font-weight: 800;
    text-align: right;
  }

  .ki-exam-fact-table:not(.ki-exam-fact-table--trend):not(.ki-exam-fact-table--score-trend):not(.ki-exam-fact-table--kv):not(.ki-exam-fact-table--compare) td:last-child {
    border-bottom: 0;
  }

  .ki-exam-fact-table--kv {
    display: block;
    width: 100%;
  }

  .ki-exam-fact-table--kv tbody {
    display: block;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
  }

  .ki-exam-fact-table--kv tr {
    display: grid !important;
    grid-template-columns: minmax(8.4rem, 42%) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    border: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    border-radius: 0 !important;
  }

  .ki-exam-fact-table--kv tr:last-child {
    border-bottom: 0 !important;
  }

  .ki-exam-fact-table--kv td {
    display: block !important;
    width: auto !important;
    min-width: 0;
    padding: 0.66rem 0.75rem !important;
    border: 0 !important;
  }

  .ki-exam-fact-table--kv td::before {
    display: none;
  }

  .ki-exam-fact-table--kv td:first-child {
    background: transparent !important;
    color: #475569 !important;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
  }

  .ki-exam-fact-table--kv td:last-child {
    color: #102945;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .ki-exam-fact-table--compare {
    display: block;
    width: 100%;
  }

  .ki-exam-fact-table--compare tbody {
    display: grid;
    gap: 0.15rem;
    border-top: 0;
  }

  .ki-exam-fact-table--compare tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 1.8rem minmax(0, 1fr);
    gap: 0.18rem 0.5rem;
    padding: 1.05rem 0 1rem;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .ki-exam-fact-table--compare tr::after {
    content: "→";
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: center;
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
  }

  .ki-exam-fact-table--compare td:first-child {
    display: block !important;
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 0 !important;
    border: 0 !important;
    color: #23384f;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
  }

  .ki-exam-fact-table--compare td:first-child::before {
    display: none;
  }

  .ki-exam-fact-table--compare td:not(:first-child) {
    display: block !important;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .ki-exam-fact-table--compare td:not(:first-child)::before {
    display: block;
    max-width: none;
    margin-bottom: 0.06rem;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
  }

  .ki-exam-fact-table--compare td:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
    color: #64748b;
    font-size: 1.14rem;
    font-weight: 800;
    line-height: 1.18;
  }

  .ki-exam-fact-table--compare td:nth-child(3) {
    grid-column: 3;
    grid-row: 3;
    color: #102945;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.12;
  }

  .ki-exam-fact-table--compare td:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 0.12rem;
    padding: 0.1rem 0 0.45rem !important;
    border-top: 0 !important;
    border-radius: 0;
    background: transparent;
    color: #102945;
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1.15;
  }

  .ki-exam-fact-table--compare td:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    padding-bottom: 0.48rem !important;
    color: #102945;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
  }

  .ki-exam-fact-table--compare .ki-exam-fact-table__row--cells-4 td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .ki-exam-fact-subject-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ki-exam-fact-subject-card,
  .ki-exam-fact-grade-card,
  .ki-exam-fact-subject-trend,
  .ki-exam-fact-person-trend {
    padding: 0.8rem;
  }
}

@media (max-width: 720px) {
  .ki-exam-fact-section {
    margin: 1.45rem 0;
  }

  .ki-exam-fact-section--dashboard {
    margin: 1rem 0;
    padding: 0.9rem 0.65rem;
    border-radius: 12px;
  }

  .ki-exam-fact-section h3 {
    margin-bottom: 0.62rem;
    padding-left: 0.62rem;
    font-size: 1.22rem;
  }

  .ki-exam-fact-section--dashboard > h3 {
    gap: 0.55rem;
    padding-left: 0;
    font-size: 1.18rem;
    line-height: 1.35;
  }

  .ki-exam-fact-section-index {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 0.92rem;
  }

  .ki-exam-fact-section--dashboard > h3::after {
    width: 1rem;
    flex-basis: 1rem;
  }

  .ki-exam-fact-lead {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .ki-exam-fact-chart {
    height: 230px;
    padding: 0.45rem;
  }

  .ki-exam-fact-chart-block {
    margin-top: 0.78rem;
  }

  .ki-exam-fact-chart-block h4 {
    margin-bottom: 0.42rem;
    font-size: 0.92rem;
  }

  .ki-exam-fact-section--points .ki-exam-fact-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .ki-exam-fact-section--points .ki-exam-fact-metrics > div {
    padding: 0.65rem 0.45rem;
    text-align: center;
  }

  .ki-exam-fact-section--points .ki-exam-fact-metrics strong {
    font-size: 1.28rem;
  }

  .ki-exam-fact-table-wrap--compare {
    overflow: hidden !important;
    border: 1px solid #d8dde6 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(16, 41, 69, 0.08);
  }

  .ki-exam-fact-table--compare {
    display: table !important;
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.78rem;
  }

  .ki-exam-fact-table--compare thead {
    position: static !important;
    display: table-header-group !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }

  .ki-exam-fact-table--compare tbody {
    display: table-row-group !important;
    gap: 0 !important;
  }

  .ki-exam-fact-table--compare tr {
    display: table-row !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }

  .ki-exam-fact-table--compare tr::after {
    content: none !important;
  }

  .ki-exam-fact-table--compare th,
  .ki-exam-fact-table--compare td,
  .ki-exam-fact-table--compare td:not(:first-child),
  .ki-exam-fact-table--compare td:first-child {
    display: table-cell !important;
    width: auto !important;
    min-width: 0;
    padding: 0.48rem 0.32rem !important;
    border: 0 !important;
    border-bottom: 1px solid #e6ebf2 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
  }

  .ki-exam-fact-table--compare tr:last-child td {
    border-bottom: 0 !important;
  }

  .ki-exam-fact-table--compare th:first-child,
  .ki-exam-fact-table--compare td:first-child {
    width: 29% !important;
    text-align: left;
  }

  .ki-exam-fact-table--compare th:nth-child(2),
  .ki-exam-fact-table--compare th:nth-child(3),
  .ki-exam-fact-table--compare td:nth-child(2),
  .ki-exam-fact-table--compare td:nth-child(3) {
    width: 17% !important;
  }

  .ki-exam-fact-table--compare th:nth-child(4),
  .ki-exam-fact-table--compare th:nth-child(5),
  .ki-exam-fact-table--compare td:nth-child(4),
  .ki-exam-fact-table--compare td:nth-child(5) {
    width: 18.5% !important;
  }

  .ki-exam-fact-table--compare th {
    color: #102945;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.22;
  }

  .ki-exam-fact-table--compare td::before,
  .ki-exam-fact-table--compare td:not(:first-child)::before,
  .ki-exam-fact-table--compare td:first-child::before {
    display: none !important;
    content: none !important;
  }

  .ki-exam-fact-table-badge {
    margin-left: 0.12rem;
    padding: 0.08rem 0.18rem;
    font-size: 0.56rem;
  }

  .ki-exam-fact-compare-item {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.35rem;
    align-items: center;
    color: #102945 !important;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
  }

  .ki-exam-fact-compare-icon {
    width: 30px;
    height: 30px;
    font-size: 0.96rem !important;
  }

  .ki-exam-fact-table--compare td:nth-child(2),
  .ki-exam-fact-table--compare td:nth-child(3) {
    color: #102945 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
  }

  .ki-exam-fact-table--compare td:nth-child(3) {
    position: relative;
  }

  .ki-exam-fact-table--compare td:nth-child(3)::before {
    display: block !important;
    content: "→" !important;
    position: absolute;
    top: 50%;
    left: -0.38rem;
    transform: translateY(-50%);
    color: #93a4ba;
    font-size: 0.9rem;
    font-weight: 900;
  }

  .ki-exam-fact-compare-delta {
    color: var(--ki-delta-color) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  .ki-exam-fact-compare-delta span {
    min-width: 0;
    min-height: 1.85em;
    padding: 0.28rem 0.32rem;
    border-color: var(--ki-delta-border);
    background: var(--ki-delta-bg);
  }

  .ki-exam-fact-flow-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.48rem;
    margin: 1rem 0 1rem;
  }

  .ki-exam-fact-flow-summary-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.28rem;
    justify-items: center;
    padding: 0.65rem 0.28rem;
    border-radius: 10px;
    text-align: center;
  }

  .ki-exam-fact-flow-summary-icon {
    grid-row: auto;
    width: 42px;
    height: 42px;
    font-size: 1.2rem !important;
  }

  .ki-exam-fact-flow-summary-card > span:not(.ki-exam-fact-flow-summary-icon) {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .ki-exam-fact-flow-summary-card strong {
    font-size: 1.16rem;
    line-height: 1.05;
  }

  .ki-exam-fact-flow-steps {
    padding: 0;
    border-radius: 12px;
  }

  .ki-exam-fact-flow-step {
    grid-template-columns: 28px minmax(6.2rem, 1fr) minmax(7.8rem, 1.35fr) minmax(4.6rem, 0.82fr);
    gap: 0.32rem;
    padding: 0.36rem 0.42rem;
  }

  .ki-exam-fact-flow-step + .ki-exam-fact-flow-step {
    padding-top: 0.36rem;
  }

  .ki-exam-fact-flow-index {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .ki-exam-fact-flow-label {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.32rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .ki-exam-fact-flow-label .dashicons {
    width: 22px;
    height: 22px;
    font-size: 0.82rem;
  }

  .ki-exam-fact-flow-funnel {
    width: max(var(--ki-flow-width), 5.8rem);
    min-width: 5.8rem;
    min-height: 42px;
    clip-path: polygon(8% 0, 92% 0, 81% 100%, 19% 100%);
  }

  .ki-exam-fact-flow-funnel strong {
    font-size: 1rem;
  }

  .ki-exam-fact-flow-step em {
    padding: 0.32rem 0.26rem;
    border-radius: 7px;
  }

  .ki-exam-fact-flow-step em span {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .ki-exam-fact-flow-step em strong {
    font-size: 0.9rem;
  }

  .ki-exam-fact-grade-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.65rem;
  }

  .ki-exam-fact-grade-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .ki-exam-fact-grade-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ki-exam-fact-grade-row {
    padding: 0.45rem 0.35rem;
  }

  .ki-exam-fact-grade-label {
    font-size: 0.72rem;
  }

  .ki-exam-fact-grade-value {
    font-size: 0.76rem;
  }

  .ki-exam-fact-subject-trends,
  .ki-exam-fact-person-trends {
    gap: 0.65rem;
  }

  .ki-exam-fact-subject-trend,
  .ki-exam-fact-person-trend {
    padding: 0.65rem;
  }
}
