/* Public pro profile. Black and white, mobile first, Houzz-like sections. */
.profile { background: #fff; }
.profile .site-header { height: auto; }
.profile .site-header .wrap { height: auto; min-height: var(--header); flex-wrap: wrap; padding-block: 8px; }
.identity h1, .about-copy, .card h3 { overflow-wrap: anywhere; }
.cover {
  height: 168px;
  background: #111;
  display: grid;
  place-items: center;
  color: #fff;
}
.cover img { width: 100%; height: 168px; object-fit: cover; }
.cover span { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.identity {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0 8px;
}
.mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  font-family: Heebo, Arial, sans-serif;
}
.where { margin-top: 4px; font-weight: 600; }
.serves { color: var(--muted); margin-top: 2px; }
.identity h1 { font-size: 28px; line-height: 36px; }
.meta { color: var(--muted); margin-top: 6px; }
.jumps {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  position: sticky;
  top: var(--header);
  background: #fff;
  z-index: 5;
}
.jumps a { text-decoration: none; font-weight: 600; white-space: nowrap; padding: 8px 0; }
.block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  border: 1px solid #111;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 20px;
  background: #fff;
}
.areas { columns: 1; margin: 12px 0 0; padding: 0; list-style: none; }
.areas li { break-inside: avoid; padding: 4px 0; }
.grid { display: grid; gap: 16px; margin-top: 16px; }
.card {
  border: 1px solid var(--line);
  background: #fff;
  text-align: start;
  padding: 0;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.card img { width: 100%; height: 220px; object-fit: cover; background: #f7f7f7; }
.card div { padding: 12px; }
.card h3 { font-size: 18px; line-height: 24px; margin: 0; }
.ph {
  height: 160px;
  display: grid;
  place-items: center;
  background: #f7f7f7;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.empty-box {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #f7f7f7;
  padding: 20px;
}
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.stars { letter-spacing: 0; }
.star-row { display: inline-flex; gap: 1px; vertical-align: -2px; }
.star-row .star { width: 16px; height: 16px; }
.star-row .star path { fill: none; stroke: #111; stroke-width: 1.2; }
.star-row .star.on path { fill: #111; }
.creds { display: grid; gap: 10px; margin: 12px 0 0; }
.creds div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.creds dt { color: var(--muted); }
.quote-form { display: grid; gap: 12px; margin-top: 12px; }
.langs { display: flex; gap: 10px; margin-inline-start: auto; font-size: 14px; }
.langs a { text-decoration: none; }
.langs a[aria-current="true"] { font-weight: 700; text-decoration: underline; }
.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ba { position: relative; height: 220px; overflow: hidden; background: #111; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.ba-range { position: absolute; inset-inline: 0; bottom: 8px; width: calc(100% - 16px); margin-inline: 8px; accent-color: #111; }
.ba-label { position: absolute; top: 8px; background: #fff; color: #111; border: 1px solid #111; padding: 2px 6px; font-size: 12px; font-weight: 700; }
.ba-label.before { inset-inline-start: 8px; }
.ba-label.after { inset-inline-end: 8px; }
.stars-pick { border: 0; margin: 0; padding: 0; }
.star-input { display: inline-flex; gap: 2px; }
.star-choice { position: relative; cursor: pointer; line-height: 0; }
.star-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.star-choice .star { width: 28px; height: 28px; display: block; }
.star-choice .star path { fill: none; stroke: #111; stroke-width: 1.2; }
.star-choice:has(input:checked) .star path,
.star-choice:has(~ .star-choice input:checked) .star path { fill: #111; }
.star-input:hover .star path { fill: none; }
.star-input:hover .star-choice:hover .star path,
.star-input:hover .star-choice:has(~ .star-choice:hover) .star path { fill: #111; }
.star-choice input:focus-visible + .star { outline: 2px solid #111; outline-offset: 2px; }
dialog.gallery, dialog.sheet {
  border: 0;
  padding: 0;
  width: min(960px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  background: #fff;
  color: #111;
}
dialog.gallery::backdrop, dialog.sheet::backdrop { background: rgba(0, 0, 0, 0.72); }
.gallery-body { padding: 16px; }
.gallery-body img { width: 100%; max-height: 70vh; object-fit: contain; background: #111; }
.gallery-body figure { margin: 0 0 16px; }
.gallery-body .story { margin: 0 0 16px; white-space: pre-wrap; }
.about-copy p { margin: 12px 0 0; white-space: pre-wrap; }
.badge { display: inline-block; margin-top: 8px; border: 1px solid #111; padding: 4px 8px; font-size: 13px; font-weight: 600; }
.chip { cursor: pointer; background: #fff; }
.chip.on { background: #111; color: #fff; }
.bar { display: grid; grid-template-columns: 16px 1fr 24px; gap: 8px; align-items: center; margin: 4px 0; }
.bar i { display: block; height: 8px; background: #111; }
.score { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; }
.score .big { font-size: 40px; font-weight: 700; line-height: 1; }
.tag { display: inline-block; border: 1px solid #111; padding: 2px 6px; font-size: 12px; font-weight: 700; }
#area-map { height: 280px; margin-top: 12px; background: #f7f7f7; }
.sheet { width: min(560px, calc(100% - 24px)); padding: 16px; }
#load-more { margin-top: 16px; }
.gallery-body figcaption { padding: 8px 0; font-weight: 600; }
.head-actions { display: flex; flex-wrap: nowrap; gap: 0; margin-top: 10px; }
.icon-act {
  width: 68px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.icon-act svg { width: 22px; height: 22px; }
.icon-act span { max-width: 68px; }
.icon-act[aria-pressed="true"] svg path { fill: currentColor; }
.stars a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 719px) {
  .creds div { grid-template-columns: 1fr; }
  .jumps { gap: 12px; }
  .identity h1 { font-size: 24px; line-height: 30px; }
}
@media (min-width: 720px) {
  .cover, .cover img { height: 280px; }
  .identity { grid-template-columns: 96px 1fr; align-items: center; }
  .mark { width: 96px; height: 96px; font-size: 16px; }
  .areas { columns: 3; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
