.xlnl-result {
  --xlnl-primary: #3b82f6;
  --xlnl-secondary: #06b6d4;
  --xlnl-soft: #eff6ff;
  --xlnl-line: #bfdbfe;
  max-width: 450px;
  margin: auto;
  padding: 2px 2px 18px;
  color: var(--test-ink);
}

.xlnl-result * {
  box-sizing: border-box;
}

.xlnl-age,
.xlnl-section,
.xlnl-panel,
.xlnl-advice {
  border: 1px solid #e4e8f4;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(91, 110, 225, 0.08);
}

.xlnl-age {
  padding: 14px;
}

.xlnl-age__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.xlnl-age__card {
  position: relative;
  min-height: 92px;
  padding: 14px 8px 11px;
  border: 1px solid #e4e8f4;
  border-radius: 11px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.xlnl-age__card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #cbd5e1;
}

.xlnl-age__card--psych {
  border-color: var(--xlnl-line);
}

.xlnl-age__card--psych::before {
  background: var(--xlnl-primary);
}

.xlnl-age__label {
  display: block;
  color: #687089;
  font-size: 11px;
  font-weight: 800;
}

.xlnl-age__number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 8px;
}

.xlnl-age__number {
  color: var(--xlnl-primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.xlnl-age__number--actual {
  color: #3b4258;
}

.xlnl-age__unit {
  margin-left: 3px;
  color: #687089;
  font-size: 12px;
  font-weight: 800;
}

.xlnl-age__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #687089;
  text-align: center;
}

.xlnl-age__state-icon {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.xlnl-age__state-text {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
}

.xlnl-age__state--older {
  color: #5b6ee1;
}

.xlnl-age__state--younger {
  color: #e15b8c;
}

.xlnl-age__diff {
  margin: 12px auto 0;
  padding: 7px 12px;
  border-radius: 99px;
  background: #f1f4fc;
  color: #3b4258;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.xlnl-age__diff--older {
  background: #eef2ff;
  color: #4338ca;
}

.xlnl-age__diff--younger {
  background: #fdf2f8;
  color: #be185d;
}

.xlnl-banner {
  margin-top: 11px;
  padding: 19px 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--xlnl-primary), var(--xlnl-secondary));
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--xlnl-primary) 24%, transparent);
}

.xlnl-banner__title {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.xlnl-banner__range {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.xlnl-section,
.xlnl-panel,
.xlnl-advice {
  margin-top: 11px;
  padding: 14px;
}

.xlnl-section--profile {
  border-color: var(--xlnl-line);
}

.xlnl-section__heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.xlnl-section__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--xlnl-soft);
  color: var(--xlnl-primary);
  font-size: 13px;
  font-weight: 900;
  flex: none;
}

.xlnl-section__title,
.xlnl-panel__title {
  margin: 0;
  color: var(--test-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.28;
}

.xlnl-paragraph {
  margin: 10px 0 0;
  color: #3c4257;
  font-size: 13px;
  line-height: 1.8;
}

.xlnl-paragraph--small {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.72;
}

.xlnl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.xlnl-tag {
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--xlnl-soft);
  color: var(--xlnl-primary);
  font-size: 11px;
  font-weight: 800;
}

.xlnl-chart {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.xlnl-chart__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
}

.xlnl-chart__label {
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 800;
}

.xlnl-chart__track {
  height: 7px;
  border-radius: 99px;
  background: #edf0f7;
  overflow: hidden;
}

.xlnl-chart__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--xlnl-primary), var(--xlnl-secondary));
}

.xlnl-chart__value {
  color: var(--test-ink);
  font-size: 11.5px;
  font-weight: 800;
  text-align: right;
}

.xlnl-grid {
  display: grid;
  gap: 10px;
}

.xlnl-panel__title--green {
  color: #059669;
}

.xlnl-panel__title--amber {
  color: #d97706;
}

.xlnl-list-row {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.xlnl-list-dot {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #10b981;
  flex: none;
}

.xlnl-list-dot--amber {
  background: #f59e0b;
}

.xlnl-list-text {
  flex: 1;
  min-width: 0;
  color: #3c4257;
  font-size: 12.5px;
  line-height: 1.62;
}

.xlnl-match-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.xlnl-match {
  padding: 11px;
  border-radius: 10px;
}

.xlnl-match--violet {
  background: #f5f3ff;
}

.xlnl-match--rose {
  background: #fdf2f8;
}

.xlnl-match--slate {
  background: #f1f5f9;
}

.xlnl-match__label {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.xlnl-match__title {
  display: block;
  margin-top: 3px;
  color: var(--test-ink);
  font-size: 15px;
  font-weight: 900;
}

.xlnl-match__desc {
  margin: 4px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.58;
}

.xlnl-advice__title {
  margin: 0;
  color: var(--xlnl-primary);
  font-size: 15px;
  font-weight: 900;
}

.xlnl-advice__body {
  margin: 8px 0 0;
  color: #3c4257;
  font-size: 12.5px;
  line-height: 1.76;
}

.xlnl-score {
  margin-top: 12px;
  color: #687089;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.xlnl-score__number {
  color: var(--xlnl-primary);
  font-size: 17px;
}
