.problem-finder {
  margin: 28px auto 30px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(20, 184, 202, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 202, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eefcff 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.problem-finder__head {
  max-width: 780px;
}

.problem-finder__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #dff9fb;
  color: #008ca1;
  font-weight: 800;
  font-size: 14px;
}

.problem-finder h2 {
  margin: 0 0 12px;
  color: #101827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.problem-finder p {
  margin: 0;
  color: #415371;
  font-size: 18px;
  line-height: 1.65;
}

.problem-finder__search {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.problem-finder__search input {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(20, 184, 202, 0.38);
  border-radius: 18px;
  background: #fff;
  color: #101827;
  font: inherit;
  font-size: 17px;
  padding: 0 18px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.problem-finder__search input:focus {
  border-color: #12b8c6;
  box-shadow: 0 0 0 4px rgba(20, 184, 202, 0.15);
}

.problem-finder__search button,
.problem-finder__chip {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.problem-finder__search button {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
  background: #12b8c6;
  color: #fff;
}

.problem-finder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.problem-finder__chip {
  padding: 10px 14px;
  border: 1px solid rgba(20, 184, 202, 0.26);
  border-radius: 999px;
  background: #fff;
  color: #0f4154;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.problem-finder__chip:hover,
.problem-finder__chip:focus {
  background: #e8fbfd;
  color: #008ca1;
}

.problem-finder__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.problem-finder-result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(20, 184, 202, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.problem-finder-result:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 202, 0.5);
}

.problem-finder-result span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dff9fb;
  color: #008ca1;
  font-weight: 800;
  font-size: 13px;
}

.problem-finder-result b {
  color: #101827;
  font-size: 18px;
  line-height: 1.25;
}

.problem-finder-result small {
  color: #52627b;
  font-size: 15px;
  line-height: 1.5;
}

.problem-finder__empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed rgba(20, 184, 202, 0.45);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: #415371;
}

.problem-look-guide {
  margin: 0 auto 30px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(20, 184, 202, 0.22);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.problem-look-guide__head {
  max-width: 760px;
  margin-bottom: 20px;
}

.problem-look-guide h2 {
  margin: 0 0 10px;
  color: #101827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.problem-look-guide p {
  margin: 0;
  color: #415371;
  font-size: 17px;
  line-height: 1.6;
}

.problem-look-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.problem-look-guide__group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  min-width: 0;
  gap: 0;
  padding: 0 14px 10px;
  border: 1px solid rgba(20, 184, 202, 0.2);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.problem-look-guide__group h3 {
  grid-column: 1 / -1;
  margin: 0 -14px 4px;
  padding: 14px;
  border-bottom: 1px solid rgba(20, 184, 202, 0.18);
  background: #effbfe;
  color: #101827;
  font-size: 17px;
  line-height: 1.22;
  letter-spacing: 0;
}

.problem-look-guide__group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 8px;
  border-bottom: 1px solid #e5f2f6;
  background: #fff;
  color: #21354f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.problem-look-guide__group a::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-top: 2px solid #12b8c6;
  border-right: 2px solid #12b8c6;
  transform: rotate(45deg);
}

.problem-look-guide__group a:hover,
.problem-look-guide__group a:focus {
  background: #e8fbfd;
  color: #008ca1;
}

.problem-look-guide__group:last-child {
  grid-column: 1 / -1;
}

.diagnostic-index-page .diagnostic-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 30px;
}

.diagnostic-index-page .diagnostic-index-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  border: 1px solid #d6edf3;
  border-radius: 10px;
  background: #fff;
  color: #21354f;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.diagnostic-index-page .diagnostic-index-card span,
.diagnostic-index-page .diagnostic-index-card b,
.diagnostic-index-page .diagnostic-index-card small {
  display: block;
}

.diagnostic-index-page .diagnostic-index-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e0f8fb;
  color: #008ca1;
  font-size: 12px;
  font-weight: 800;
}

.diagnostic-index-page .diagnostic-index-card b {
  color: #101827;
  font-size: 17px;
  line-height: 1.3;
}

.diagnostic-index-page .diagnostic-index-card small {
  color: #52627b;
  font-size: 14px;
  line-height: 1.45;
}

.diagnostic-index-page .diagnostic-index-card:hover,
.diagnostic-index-page .diagnostic-index-card:focus-visible {
  border-color: #12b8c6;
  background: #f5fdff;
  outline: none;
}

@media (max-width: 820px) {
  .problem-finder__results {
    grid-template-columns: 1fr;
  }

  .problem-look-guide__grid {
    grid-template-columns: 1fr;
  }

  .problem-look-guide__group:last-child {
    grid-column: auto;
  }

  .diagnostic-index-page .diagnostic-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .problem-finder {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .problem-finder p {
    font-size: 16px;
  }

  .problem-finder__search {
    grid-template-columns: 1fr;
  }

  .problem-finder__search button {
    width: 100%;
  }

  .problem-look-guide {
    border-radius: 14px;
    padding: 20px 16px;
  }

  .problem-look-guide__grid {
    grid-template-columns: 1fr;
  }

  .problem-look-guide__group {
    grid-template-columns: 1fr;
  }

  .problem-look-guide__group a {
    min-height: 44px;
    padding: 9px 8px;
  }

  .diagnostic-index-page .diagnostic-index-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .diagnostic-index-page .diagnostic-index-card {
    padding: 14px;
  }

  .problem-look-guide p {
    font-size: 16px;
  }
}
