.reviewer-profile {
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 20px;
  color: #172033;
}

.reviewer-profile [hidden] {
  display: none !important;
}

.reviewer-profile__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.reviewer-profile__header h1,
.reviewer-profile__header p,
.reviewer-profile__section-head h2,
.reviewer-profile__section-head p {
  margin: 0;
}

.reviewer-profile__header h1 {
  color: #111827;
  font-size: 30px;
  line-height: 1.3;
}

.reviewer-profile__header h1 i {
  color: #3b82f6;
}

.reviewer-profile__header > div > p:last-child,
.reviewer-profile__section-head p {
  margin-top: 8px;
  color: #6b7280;
}

.reviewer-profile__eyebrow {
  margin-bottom: 6px !important;
  color: #3b82f6 !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .08em;
}

.reviewer-profile__form {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 25px;
}

.reviewer-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  align-items: stretch;
  gap: 20px;
  min-width: 0;
}

.reviewer-profile__layout > * {
  min-width: 0;
}

.reviewer-profile__section-head {
  margin: -25px -25px 24px;
  padding: 20px 25px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.reviewer-profile__section-head h2 {
  color: #111827;
  font-size: 19px;
}

.reviewer-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reviewer-profile__grid > *,
.reviewer-profile__social > * {
  min-width: 0;
}

.reviewer-profile__social {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 10px;
}

.reviewer-profile__social .btn {
  white-space: nowrap;
}

.reviewer-profile__genres,
.reviewer-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reviewer-profile__genre,
.reviewer-profile__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.reviewer-profile__genre input {
  width: auto;
  margin: 0;
}

.reviewer-profile__chips {
  margin-bottom: 8px;
}

.reviewer-profile__chip {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.reviewer-profile__chip button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.reviewer-profile__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.reviewer-profile__help {
  min-width: 0;
}

.reviewer-profile__help-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 22px;
}

.reviewer-profile__help-card:hover {
  transform: none;
}

.reviewer-profile__help-title {
  display: flex;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.reviewer-profile__help-title > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: #eff6ff;
  color: #3b82f6;
  font-size: 19px;
}

.reviewer-profile__help-title h2,
.reviewer-profile__help-title p,
.reviewer-profile__help-list h3,
.reviewer-profile__help-list p,
.reviewer-profile__impact p {
  margin: 0;
}

.reviewer-profile__help-title h2 {
  color: #111827;
  font-size: 17px;
}

.reviewer-profile__help-title p {
  margin-top: 5px;
  color: #6b7280;
  line-height: 1.5;
}

.reviewer-profile__help-list {
  display: grid;
  flex: 1;
}

.reviewer-profile__help-list article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f4;
}

.reviewer-profile__help-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reviewer-profile__help-list article > i {
  color: #3b82f6;
  font-size: 17px;
}

.reviewer-profile__help-list h3 {
  margin-bottom: 5px;
  color: #273247;
  font-size: 14px;
}

.reviewer-profile__help-list p {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.reviewer-profile__impact {
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
}

.reviewer-profile__impact strong {
  display: block;
  margin-bottom: 7px;
  color: #1d4ed8;
  font-size: 14px;
}

.reviewer-profile__impact p {
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .reviewer-profile__layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {
  .reviewer-profile__header {
    align-items: stretch;
    flex-direction: column;
  }

  .reviewer-profile__header h1 {
    font-size: 24px;
  }

  .reviewer-profile__grid,
  .reviewer-profile__social {
    grid-template-columns: 1fr;
  }

  .reviewer-profile__header .btn,
  .reviewer-profile__actions .btn {
    width: 100%;
  }

  .reviewer-profile__actions {
    flex-direction: column-reverse;
  }
}
