#pr-profile {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  background: var(--panel);
  color: var(--ink);
  width: min(1180px, 96vw);
  max-width: none;
  max-height: 92dvh;
  margin: auto auto 0;
  overflow: auto;
  overscroll-behavior: contain;
  font:
    16px/1.55 Karla,
    sans-serif;
}
#pr-profile::backdrop {
  background: #20372b80;
}
#pr-profile h1,
#pr-profile h2,
#pr-profile h3 {
  font-family: Fraunces, serif;
  line-height: 1.2;
}
#pr-profile h1 {
  font-size: 34px;
  margin: 0 0 10px;
}
#pr-profile h2 {
  font-size: 25px;
  margin: 0 0 16px;
}
#pr-profile h3 {
  font-size: 19px;
}
#pr-profile p {
  margin: 8px 0 16px;
}
#pr-profile button,
#pr-profile input,
#pr-profile select {
  font: inherit;
  color: inherit;
}
#pr-profile button {
  cursor: pointer;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--panel);
}
#pr-profile button:disabled {
  opacity: 0.5;
  cursor: wait;
}
#pr-profile a {
  color: var(--euca-deep);
}
#pr-profile button:hover {
  border-color: var(--euca);
}
#pr-profile :focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}
#pr-profile [hidden] {
  display: none !important;
}
.pr-top {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--panel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
}
.pr-identity {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 30px 36px;
}
.pr-avatar {
  width: 92px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font: 32px Fraunces;
}
.pr-reputation {
  margin: 0 36px 24px;
  padding: 18px 22px;
  background: #edf0e7;
  border-radius: 12px;
}
.pr-reputation p,
.pr-note {
  font-size: 14px;
  color: var(--ink-soft);
}
.pr-tabs {
  display: flex;
  gap: 22px;
  overflow: auto;
  position: sticky;
  top: 74px;
  z-index: 3;
  padding: 10px 36px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
#pr-profile .pr-tabs button {
  border: 0;
  white-space: nowrap;
}
.pr-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  padding: 28px 36px;
}
.pr-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}
.pr-bio,
.pr-review-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.pr-service {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.pr-service button {
  align-self: center;
  flex-shrink: 0;
}
.pr-calendar {
  position: sticky;
  top: 150px;
  align-self: start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  scroll-margin-top: 150px;
  max-height: calc(92dvh - 160px);
  overflow: auto;
}
#pr-profile label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
}
#pr-profile input,
#pr-profile select {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
  min-width: 0;
  background: var(--panel);
}
#pr-dates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
#pr-dates button {
  grid-column: span 2;
}
.pr-review {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.pr-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#pr-profile .pr-link {
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pr-primary {
  display: block;
  background: var(--euca-deep);
  padding: 12px;
  border-radius: 10px;
  color: white !important;
  text-align: center;
}
#pr-choice {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.pr-mobile {
  display: none;
}
.pr-name-button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.pr-name-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pr-photo-button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 12px;
  align-self: start;
}
.pr-photo-button .card-media {
  display: block;
}
.pr-photo-button:focus-visible,
.pr-name-button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}
@media (max-width: 800px) {
  #pr-profile {
    width: 100%;
    max-height: 95dvh;
  }
  .pr-top {
    padding: 12px 16px;
  }
  .pr-top .wordmark {
    font-size: 20px;
  }
  .pr-identity {
    padding: 24px 20px;
    gap: 16px;
  }
  #pr-profile h1 {
    font-size: 27px;
  }
  .pr-avatar {
    width: 64px;
    height: 80px;
    font-size: 25px;
  }
  .pr-reputation {
    margin: 0 20px 20px;
  }
  .pr-tabs {
    top: 70px;
    padding: 8px 20px;
    gap: 12px;
  }
  .pr-columns {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    gap: 12px;
  }
  .pr-calendar {
    position: static;
    max-height: none;
    width: 100%;
  }
  .pr-mobile {
    display: block;
    position: sticky;
    bottom: 0;
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding: 12px 20px;
  }
  #pr-profile .pr-mobile button {
    width: 100%;
    background: var(--euca-deep);
    color: white;
  }
  .pr-service {
    flex-wrap: wrap;
  }
}

#pr-dates label {
  min-width: 0;
}
#pr-dates input {
  max-width: 100%;
  box-sizing: border-box;
}
.pr-day-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 18px;
}
.pr-date-heading {
  font-weight: 600;
  margin-top: 20px !important;
}
