:root {
  --blue: #1261f1;
  --blue-dark: #071736;
  --text: #0b1430;
  --muted: #7b849a;
  --line: #e8edf6;
  --line-strong: #dbe3f1;
  --shadow: 0 14px 36px rgba(12, 36, 78, 0.08);
  --menu-shadow: 0 20px 40px rgba(12, 36, 78, 0.12);
  --topbar-height: 76px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at center, rgba(18, 97, 241, 0.03), transparent 38%),
    #fff;
}

.topbar {
  height: var(--topbar-height);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

@media (min-width: 721px) {
  .topbar.client-shared-topbar {
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 34px;
}

.brand-name {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-actions:has(.client-account-link) {
  gap: 30px;
  margin-right: 24px;
}

.login-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.signup-wrap {
  position: relative;
}

.signup-button {
  min-width: 112px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
  cursor: pointer;
}

.signup-menu[hidden] {
  display: none !important;
}

.signup-button-mobile-label,
.signup-option-mobile {
  display: none;
}

.signup-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--menu-shadow);
  display: grid;
  gap: 6px;
  z-index: 20;
}

.login-choice-menu {
  width: 252px;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(18, 32, 56, 0.14);
}

.signup-option {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background-color 0.15s ease;
}

.signup-option:hover {
  background: #f5f8fe;
}

.signup-option strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.signup-option small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 20px 24px 28px;
}

.search-area {
  width: min(100%, 940px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-46px);
}

.hero-lockup {
  width: min(100%, 382px);
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.search-box {
  width: min(100%, 780px);
  height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.search-input {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.search-input svg {
  width: 21px;
  height: 21px;
  color: #77839a;
  flex: 0 0 auto;
}

.search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.search-input input::placeholder {
  color: #81889b;
}

.search-box button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.category-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 900px);
}

.category-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.category-pill span {
  overflow-wrap: anywhere;
}

.pill-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}

.pill-icon svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 720px) {
  .topbar {
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    padding: 0 18px;
  }

  .brand-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-name { font-size: 18px; }
  .nav-actions { gap: 14px; }
  .signup-button { min-width: 102px; height: 42px; }

  .signup-menu {
    width: 220px;
    right: 0;
  }

  .login-choice-menu {
    width: min(76vw, 252px);
  }

  .hero {
    padding: 24px 18px 40px;
    place-items: center;
  }

  .search-area {
    transform: none;
  }

  .hero-lockup {
    width: min(100%, 320px);
    margin-bottom: 24px;
  }

  .search-box {
    height: auto;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .search-input {
    height: 54px;
    padding: 0 18px;
  }

  .search-input input {
    font-size: 16px;
  }

  .search-box button {
    height: 48px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .category-row {
    margin-top: 14px;
    gap: 8px;
  }

  .category-pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}


.results-page {
  background: #fff;
}

.results-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.results-card {
  width: min(100%, 760px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 34px;
}

.results-card h1 {
  margin: 14px 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.results-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.back-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.results-page {
  background: #fff;
}

.results-main {
  flex: 1;
  width: 100%;
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 34px 24px 56px;
}

.results-search-wrap {
  width: min(100%, 1180px);
  margin: 0 auto 38px;
  display: flex;
  justify-content: center;
}

.results-search {
  width: min(100%, 780px);
  height: 52px;
  grid-template-columns: 1fr 118px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(12, 36, 78, 0.05);
}

.results-search .search-input {
  gap: 12px;
  padding: 0 18px;
}

.results-search .search-input svg {
  width: 20px;
  height: 20px;
}

.results-search .search-input input {
  font-size: 14px;
}

.results-search button {
  font-size: 14px;
}

.results-container {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.results-heading > div {
  width: 100%;
}

.results-heading h1 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--text);
}

.results-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.buscar-location-chip-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  min-width: 0;
}

.results-location-chip {
  width: auto;
  max-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: #F4F6F8;
  color: #374151;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none;
}

.results-location-chip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #6B7280;
}

.results-neighborhood-chip {
  min-width: 0;
  max-width: min(240px, 42vw);
}

.results-neighborhood-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-seo-intro {
  max-width: 920px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.results-subline {
  width: 100%;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.results-pagination a,
.results-pagination span {
  min-width: 32px;
  height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}

.results-pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.results-pagination .active {
  border-color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.results-pagination .disabled {
  opacity: 0.42;
}

.results-pagination-bottom {
  width: 100%;
  justify-content: center;
  margin: 26px 0 0;
}

.back-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.professional-card {
  position: relative;
  min-height: 292px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.profissional-distancia-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 28px);
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #F4F6F8;
  color: #374151;
  border: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none;
}

.profissional-distancia-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #6B7280;
}

.professional-card:hover,
.professional-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(12, 36, 78, 0.08);
}

.professional-card:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.professional-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.professional-photo,
.professional-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
}

.professional-photo {
  display: block;
  object-fit: cover;
  object-position: center;
}

.professional-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-weight: 800;
  font-size: 20px;
}

.professional-card h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
}

.results-page .professional-card h2 {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.professional-role {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.professional-city {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.professional-rating {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.professional-rating strong {
  color: var(--text);
  font-size: 15px;
}

.star {
  color: #374151;
  font-size: 18px;
  line-height: 1;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.professional-description {
  margin: 0 0 14px;
  min-height: 42px;
  color: #4f5f7b;
  font-size: 14px;
  line-height: 1.45;
}

.professional-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.professional-tags span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.professional-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.outline-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--blue);
  border-radius: 11px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-button {
  gap: 8px;
  color: #fff;
  border-color: #10a84f;
  background: #10a84f;
  box-shadow: none;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.whatsapp-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  transform: translateY(0.25px);
}

.whatsapp-button:hover {
  background: #0e9847;
  border-color: #0e9847;
  color: #fff;
}

.whatsapp-button:active,
.primary-whatsapp:active,
.service-interested-whatsapp-button:active {
  transform: scale(0.98);
  box-shadow: 0 5px 13px rgba(18, 185, 87, 0.2);
}

.results-page .whatsapp-button:active {
  box-shadow: none;
}

.results-page .professional-card:has(.whatsapp-button:active) {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
  opacity: 1;
  filter: none;
}

.professional-actions,
.professional-actions .whatsapp-button {
  position: relative;
  z-index: 2;
}

@media (hover: none), (pointer: coarse) {
  .results-page .professional-card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
    opacity: 1;
    filter: none;
  }

  .results-page .professional-card:has(.js-whatsapp-link:active) {
    transform: none;
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
    opacity: 1;
    filter: none;
  }
}

.empty-results {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
}

.empty-results h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.empty-results p {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .professionals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .results-main {
    padding: 24px 18px 42px;
  }

  .results-seo-intro {
    margin: 10px 0 16px;
    font-size: 12px;
    line-height: 1.4;
  }

  .results-search {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
  }

  .results-heading {
    display: block;
  }

  .professionals-grid {
    grid-template-columns: 1fr;
  }

  .professional-card {
    min-height: auto;
  }
}

.profile-page {
  background: #fff;
}

.profile-main {
  flex: 1;
  width: 100%;
  padding: 34px 24px 58px;
}

.profile-container {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.profile-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
  align-items: stretch;
}

.profile-hero-card {
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(12, 36, 78, 0.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.profile-hero-left {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.profile-photo,
.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-photo-link {
  width: 104px;
  height: 104px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  cursor: zoom-in;
}

.profile-photo {
  display: block;
  object-fit: cover;
  object-position: center;
}

.profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
}

.profile-hero-card h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.3vw, 36px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.profile-role {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
}

.profile-city {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.profile-rating-link {
  width: fit-content;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.profile-rating-link:hover {
  color: var(--blue);
  background: #f3f7ff;
  box-shadow: 0 0 0 6px #f3f7ff;
}

.profile-rating strong {
  color: var(--text);
  font-size: 16px;
}

.profile-rating-link:hover strong {
  color: var(--blue);
}

.profile-hero-actions {
  width: 230px;
  display: grid;
  gap: 10px;
  flex: 0 0 230px;
}

.primary-whatsapp {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #15b957;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(21, 185, 87, 0.16);
}

.profile-secondary {
  width: 100%;
}

.profile-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-panel {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
}

.profile-grid .profile-panel {
  margin-top: 0;
}

.profile-top-grid .profile-hero-card,
.profile-top-grid .profile-about {
  height: auto;
}

.profile-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.profile-panel p {
  margin: 0;
  color: #4f5f7b;
  font-size: 15px;
  line-height: 1.55;
}

.profile-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title-row p {
  font-size: 14px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.work-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.work-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
}

.work-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.work-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.review-list {
  display: grid;
  gap: 0;
}

.review-card {
  padding: 13px 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.review-card + .review-card {
  border-top: 1px solid #edf1f8;
}

.empty-reviews {
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.review-head {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 8px;
}

.review-head span {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.review-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.48;
  font-weight: 400;
  text-align: left;
}

.review-head .review-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  white-space: nowrap;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-head .review-meta .review-rating-star {
  color: #f5b301;
}

.review-head .review-meta .review-rating-star.is-empty {
  color: #d1d5db;
}

.review-rating strong {
  color: #374151;
  font-weight: 800;
}

.review-stars-public {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  letter-spacing: 0;
  font-size: 17px;
  line-height: 1;
}

.review-stars-public .filled {
  color: var(--blue);
}

.review-stars-public .empty {
  color: #cbd5e1;
}

.review-separator {
  color: #c2cad8;
  font-size: 13px;
  font-weight: 800;
}

.review-head .review-date {
  color: #7d8aa3;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.empty-reviews {
  color: var(--muted);
  font-size: 14px;
}

.profile-footer-actions {
  margin-top: 18px;
  text-align: right;
}

.report-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(4px);
}

.report-modal[hidden] {
  display: none;
}

.report-modal-card {
  width: min(448px, 100%);
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.report-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.report-modal-head h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.report-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid #e1e8f4;
  border-radius: 999px;
  background: #f8fbff;
  color: #506079;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.report-modal-close:hover {
  border-color: #d5e2f6;
  background: #eef5ff;
  color: var(--blue);
}

.report-form {
  display: grid;
  gap: 15px;
}

.report-form .field {
  display: grid;
  gap: 8px;
}

.report-form .field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.report-form .field small {
  color: var(--muted);
  font-weight: 700;
}

.report-form select,
.report-form textarea {
  width: 100%;
  border: 1px solid #d8e2f2;
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.report-form select:focus,
.report-form textarea:focus {
  border-color: #9dbbff;
  box-shadow: 0 0 0 4px rgba(17, 99, 255, 0.1);
}

.report-form select {
  min-height: 46px;
  padding: 0 42px 0 13px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.report-form select option {
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.report-form select option:checked {
  background: #edf4ff;
  color: var(--blue);
}

.report-form textarea {
  min-height: 108px;
  padding: 12px 13px;
  background: #fff;
  line-height: 1.45;
  resize: vertical;
}

.report-form textarea::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.report-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.report-submit-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue) !important;
  border-radius: 14px;
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(18, 97, 241, 0.2);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.report-submit-button:hover {
  border-color: #0f55d8 !important;
  background: #0f55d8 !important;
  box-shadow: 0 16px 32px rgba(18, 97, 241, 0.24);
  transform: translateY(-1px);
}

.report-modal-actions .compact-outline {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}

.report-modal-actions .compact-outline:hover {
  border-color: #bcd3ff;
  background: #f3f7ff;
  color: var(--blue);
}

@media (max-width: 860px) {
  .profile-top-grid {
    grid-template-columns: 1fr;
  }

  .profile-hero-card {
    display: block;
  }

  .profile-hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .profile-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .report-modal {
    align-items: center;
    padding: 14px;
  }

  .report-modal-card {
    width: 100%;
    padding: 18px;
    border-radius: 18px;
  }

  .report-modal-head h2 {
    font-size: 20px;
  }

  .report-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .report-modal-actions .compact-outline,
  .report-submit-button {
    width: 100%;
  }

  .profile-main {
    padding: 24px 18px 42px;
  }

  .profile-hero-card,
  .profile-panel {
    padding: 20px;
  }

  .profile-hero-left {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .profile-photo,
  .profile-avatar,
  .profile-photo-link {
    width: 78px;
    height: 78px;
  }

  .profile-avatar {
    font-size: 22px;
  }
}

.form-main {
  flex: 1;
  padding: 36px 24px 58px;
}

.form-shell {
  width: min(100%, 860px);
  margin: 0 auto;
}

.form-card {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(12, 36, 78, 0.06);
  padding: 30px;
}

.form-head {
  margin-bottom: 24px;
}

.form-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.form-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.professional-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.professional-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.professional-form input,
.professional-form select,
.professional-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 600;
}

.professional-form textarea {
  resize: vertical;
}

.professional-form input:focus,
.professional-form select:focus,
.professional-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}


.field-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.field-help {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.specialties-field {
  display: grid;
  gap: 0;
}

.specialty-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.professional-signup-specialties,
.dashboard-edit-form .specialty-options {
  flex-wrap: wrap;
  overflow: visible;
  gap: 7px;
}

.specialty-chip {
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s ease;
}

.professional-signup-specialties .specialty-chip,
.dashboard-edit-form .specialty-options .specialty-chip {
  flex: 0 1 auto;
  white-space: normal;
}

.specialty-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.specialty-chip.selected {
  border-color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.selected-specialties {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}


.photo-upload-field {
  display: grid;
  gap: 8px;
}

.field-title span {
  color: var(--muted);
  font-weight: 700;
}

.image-upload-button {
  width: fit-content;
  min-width: 108px;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 14px !important;
  border: 1.5px dashed #9b66ff !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #5b35c8 !important;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}

.image-upload-button:hover {
  background: rgba(91, 53, 200, 0.045) !important;
  border-color: #6d43e6 !important;
}

.image-upload-button span {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.image-upload-button small {
  display: block;
  color: #744cff;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.profile-photo-file {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-photo-file.has-file {
  color: var(--blue);
}

.description-textarea::placeholder {
  font-family: Calibri, Arial, sans-serif;
  font-weight: 400;
  color: #8992a6;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.form-actions button {
  height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

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

@media (max-width: 720px) {
  .form-card {
    padding: 22px;
  }
  .form-grid,
  .form-grid-four {
    grid-template-columns: 1fr;
  }
  .form-head h1 {
    font-size: 25px;
  }
  .form-actions button {
    width: 100%;
  }
}

.form-note {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 97, 241, 0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.client-shell {
  max-width: 720px;
}

.client-card {
  max-width: 720px;
}

/* Cadastro cliente compacto em 2 linhas */
.client-shell {
  max-width: 960px;
}

.client-card {
  max-width: 960px;
}

.client-form-compact {
  gap: 14px;
}

.client-row {
  display: grid;
  gap: 14px;
  align-items: end;
}

.client-row-top {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.client-row-bottom {
  grid-template-columns: 1fr 190px;
}

.client-form-compact input {
  height: 46px;
}

.client-save-button {
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.client-row-single {
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr 170px;
}

.client-panel-form .client-save-button {
  align-self: end;
}

.client-panel-form .client-row-single label {
  margin: 0;
}

.client-panel-form {
  gap: 14px;
}

.client-note {
  margin-top: 2px;
}

@media (max-width: 820px) {
  .client-row-top,
  .client-row-bottom,
  .client-row-single {
    grid-template-columns: 1fr;
  }

  .client-save-button {
    width: 100%;
  }
}


/* Login e painéis */
.login-shell {
  width: min(100%, 520px);
}

.login-card {
  max-width: 520px;
}

.login-card .form-head {
  display: none;
}

.login-form {
  gap: 14px;
}

.login-form input {
  height: 48px;
}

.login-submit {
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.form-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
}

.login-create-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-create-row a {
  color: var(--blue);
  font-weight: 800;
}

.login-create-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.login-page .form-page {
  place-items: start center;
  padding: clamp(20px, 3vh, 30px) 24px 24px;
}

.login-page .login-card {
  margin-top: 14px;
}

@media (min-width: 721px) and (max-height: 820px) {
  .login-page .form-page {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .login-page .login-card {
    margin-top: 12px;
    padding: 24px 30px 22px;
    border-radius: 22px;
  }

  .login-page .form-head {
    margin-bottom: 18px;
  }

  .login-page .form-kicker {
    margin-bottom: 6px;
  }

  .login-page .form-head h1 {
    font-size: 31px;
    margin-bottom: 6px;
  }

  .login-page .form-head p {
    font-size: 14px;
    line-height: 1.35;
  }

  .login-page .login-form {
    gap: 12px;
  }

  .login-page .professional-form label {
    gap: 6px;
  }

  .login-page .login-form input {
    height: 46px;
  }

  .login-page .login-submit {
    height: 48px;
  }

  .login-page .login-create-row {
    margin-top: 12px;
  }
}

@media (max-width: 720px) {
  .login-page .form-page {
    place-items: start center;
    padding: 24px 18px 38px;
  }

  .login-create-row {
    flex-direction: column;
    gap: 8px;
  }

  .login-create-actions {
    justify-content: center;
  }
}

.dashboard-main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px;
}

.dashboard-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard-card h1 {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.dashboard-card p {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.dashboard-info-grid {
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-info-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 97, 241, 0.035);
}

.dashboard-info-grid strong,
.dashboard-info-grid span {
  display: block;
}

.dashboard-info-grid strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-info-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 760px) {
  .dashboard-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Painel profissional editável */
.dashboard-edit-main {
  padding-top: 32px;
}

.dashboard-edit-shell {
  width: min(100%, 980px);
}

.dashboard-edit-card {
  padding: 28px;
}

.dashboard-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.dashboard-edit-head h1 {
  margin-bottom: 8px;
}

.dashboard-mini-preview {
  min-width: 178px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  text-align: center;
}

.dashboard-mini-preview img,
.dashboard-mini-preview span {
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  border-radius: 50%;
}

.dashboard-mini-preview img {
  display: block;
  object-fit: cover;
}

.dashboard-mini-preview span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-mini-preview strong,
.dashboard-mini-preview small {
  display: block;
}

.dashboard-mini-preview strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.dashboard-mini-preview small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.success-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 185, 87, 0.2);
  border-radius: 14px;
  background: rgba(21, 185, 87, 0.07);
  color: #0f8d43;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-edit-grid {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
}

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: end;
  gap: 16px;
}

.optional-label {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.dashboard-form-actions button {
  height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.dashboard-view-link {
  height: 46px;
  padding: 0 18px;
}

@media (max-width: 920px) {
  .dashboard-edit-head {
    display: block;
  }

  .dashboard-mini-preview {
    margin-top: 18px;
    min-width: 0;
    width: 100%;
  }

  .dashboard-edit-grid,
  .dashboard-lower-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-edit-grid,
  .dashboard-lower-grid,
  .dashboard-form-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-form-actions {
    display: grid;
  }

  .dashboard-view-link,
  .dashboard-form-actions button {
    width: 100%;
  }
}

/* Painel do cliente editável */
.client-panel-shell {
  width: min(100%, 980px);
}

.client-panel-card {
  padding: 28px;
}

.client-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.client-mini-preview span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.client-panel-form {
  gap: 14px;
}

.client-panel-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.client-panel-shortcuts a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .client-panel-head {
    display: block;
  }

  .client-mini-preview {
    margin-top: 18px;
    width: 100%;
  }
}

/* Admin */
.page-simple {
  background: #fff;
}

.form-page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 36px 24px 58px;
}

.form-card-small {
  width: min(100%, 460px);
  margin: 0;
}

.form-title {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.form-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-alert {
  margin: 0 0 16px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.form-alert-error {
  color: #9b1c1c;
  background: #fff0f0;
  border: 1px solid #ffd4d4;
}

.form-alert-success {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.one-column {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 600;
}

.primary-action {
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.admin-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-title {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.admin-toggle-card {
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.05);
}

.admin-toggle-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-toggle-card strong {
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.admin-grid-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-grid-summary article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.04);
}

.admin-grid-summary strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.admin-grid-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}

.admin-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.04);
  margin-top: 18px;
  overflow: hidden;
}

.admin-section-head {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.admin-section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.admin-section-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-section-head-with-actions {
  gap: 14px;
}

.admin-section-head-with-actions > div:first-child {
  min-width: 0;
}

.admin-section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-pending-pill,
.admin-soft-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.admin-pending-pill {
  padding: 0 12px;
  border: 1px solid #cfe0ff;
  background: #eef5ff;
  color: var(--blue);
}

.admin-soft-link {
  padding: 0 6px;
  color: var(--muted);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-weight: 900;
  background: #fbfcff;
}

.admin-table td strong {
  display: block;
  font-size: 14px;
}

.admin-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.admin-services-table {
  min-width: 940px;
}

.admin-service-main-cell strong,
.admin-last-event-cell strong {
  color: var(--text);
}

.admin-service-mini-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 7px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.admin-last-event-cell strong {
  font-size: 13px !important;
}

.admin-actions-compact {
  align-items: center;
  gap: 7px;
}

.admin-row-actions-menu {
  position: relative;
}

.admin-row-actions-menu summary {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.admin-row-actions-menu summary::-webkit-details-marker {
  display: none;
}

.admin-row-actions-dropdown {
  position: static;
  min-width: 190px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(12, 36, 78, 0.14);
  padding: 7px;
}

.admin-row-actions-dropdown form {
  margin: 0;
}

.admin-row-actions-dropdown button {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 0 10px;
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.admin-row-actions-dropdown button:hover {
  background: #f2f7ff;
  color: var(--blue);
}

.admin-row-actions-dropdown button.danger {
  color: #b42318;
}

.admin-row-actions-dropdown button.danger:hover {
  background: #fff7f6;
  color: #b42318;
}

.admin-service-details {
  position: relative;
}

.admin-service-details summary {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.admin-service-details summary::-webkit-details-marker {
  display: none;
}

.admin-service-details-panel {
  position: fixed;
  right: 28px;
  top: 112px;
  width: min(760px, calc(100vw - 320px));
  max-height: 68vh;
  overflow: auto;
  z-index: 30;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(12, 36, 78, 0.16);
  padding: 18px;
}

.admin-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.admin-details-grid section {
  min-width: 0;
  border: 1px solid #edf2fb;
  border-radius: 14px;
  background: #fbfdff;
  padding: 14px;
}

.admin-details-grid h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.admin-details-grid p {
  margin: 6px 0;
  color: #53617d;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.admin-details-grid p strong {
  display: inline;
  font-size: inherit;
  color: var(--text);
}

.admin-detail-proposal,
.admin-detail-history {
  display: grid;
  gap: 8px;
}

.admin-detail-proposal {
  padding: 10px;
  border: 1px solid #e4ebf7;
  border-radius: 12px;
  background: #fff;
}

.admin-detail-proposal strong {
  font-size: 13px !important;
}

.admin-detail-proposal span,
.admin-detail-proposal small,
.admin-detail-muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-detail-proposal form {
  margin: 2px 0 0;
}

.admin-detail-history div {
  padding-bottom: 9px;
  border-bottom: 1px solid #edf2fb;
}

.admin-detail-history div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-detail-history strong {
  display: block;
  font-size: 12px !important;
  color: var(--text);
}

.admin-detail-history span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.admin-detail-history p {
  margin: 5px 0 0;
}

.admin-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ok {
  color: #14613a;
  background: #eaf8f0;
}

.status-pill.off {
  color: #8a3a12;
  background: #fff3e8;
}

.status-pill.done {
  color: #22507a;
  background: #edf6ff;
}

.status-pill.expired {
  color: #52637a;
  background: #eef3f8;
}

.service-card-with-actions {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.service-card-with-actions form {
  margin: 0;
}

.actions-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.actions-cell form {
  margin: 0;
}

.small-button,
.small-link {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.small-button.danger {
  color: #b42318;
  border-color: #ffd5d0;
  background: #fff7f6;
}

.inline-action-form {
  display: inline-flex;
  margin: 0;
}

.empty-cell {
  color: var(--muted);
  text-align: center !important;
  padding: 24px !important;
}

@media (max-width: 760px) {
  .admin-page {
    width: min(100%, calc(100% - 32px));
    padding: 24px 0 40px;
  }
  .admin-hero,
  .admin-grid-summary {
    grid-template-columns: 1fr;
    display: grid;
  }
  .admin-toggle-card {
    width: 100%;
  }
}

.review-form {
  margin: 14px 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 12px 13px;
  font-size: 14px;
  font-weight: 600;
  resize: vertical;
}

.review-form button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.review-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.success-message {
  border: 1px solid #bfe8cf;
  background: #eefaf3;
  color: #14613a;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.compact-success {
  margin: 12px 0;
}

.small-empty a {
  color: var(--blue);
  font-weight: 900;
}

.real-review-list {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .review-form-row {
    grid-template-columns: 1fr;
  }
  .review-form button {
    width: 100%;
  }
}

.service-form-shell {
  width: min(100%, 980px);
}

.service-form-card {
  padding-bottom: 28px;
}

.service-row {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.service-row-top {
  grid-template-columns: 1.05fr .95fr .95fr;
}

.service-row-middle {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.service-photo-field {
  margin: 0;
}

.panel-subsection {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.professional-publications-page .panel-subsection {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.panel-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-subsection-head strong {
  font-size: 15px;
  font-weight: 900;
}

.panel-subsection-head a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.mini-service-list {
  display: grid;
  gap: 10px;
}

.mini-service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fbfcff;
  border-radius: 14px;
  padding: 12px;
}

.mini-service-card strong,
.service-card h2 {
  display: block;
  color: var(--text);
  font-weight: 900;
}

.mini-service-card small,
.service-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}


.services-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 60px;
}

.results-head {
  margin: 0 0 18px;
}

.results-head h1 {
  margin: 0 0 8px;
}

.results-head p {
  margin: 0;
}

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

.service-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(12, 36, 78, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.service-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.service-card-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-card h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.service-whatsapp {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.full-empty {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .service-row-top,
  .service-row-middle,
  .service-grid {
    grid-template-columns: 1fr;
  }
}


.professional-name-block {
  min-width: 0;
}

.professional-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.results-page .professional-name-line {
  min-width: 0;
  flex-wrap: nowrap;
}

.results-page .professional-name-line h2 {
  flex: 1 1 auto;
}

.results-page .professional-card:has(.profissional-distancia-badge) .professional-name-block {
  padding-right: 92px;
}

.highlight-badge {
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #cfe0ff;
  background: #eef5ff;
  color: #0f4fb8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.status-pill.highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #ffd86a;
  background: #fff7cf;
  color: #6f5200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.professional-card:has(.highlight-badge) {
  border-color: var(--line);
  border-top: 4px solid rgba(18, 97, 241, 0.78);
  box-shadow: 0 12px 32px rgba(12, 36, 78, 0.045);
}

.proposals-panel .panel-subsection-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.proposal-service-list {
  display: grid;
  gap: 18px;
}

.proposal-service-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 33, 70, 0.04);
}

.proposal-service-group.has-new-proposal {
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(16, 33, 70, 0.04);
}

.proposal-service-context {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 0;
  background: transparent;
}

.proposal-service-photo {
  width: 92px;
  height: 74px;
  flex: 0 0 92px;
  border: 1px solid var(--line);
  border-radius: 13px;
  object-fit: cover;
  background: #fff;
}

.proposal-service-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.proposal-service-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proposal-service-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.proposal-service-location,
.proposal-service-summary {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.proposal-service-summary {
  color: var(--text);
  font-weight: 600;
}

.proposal-service-date {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.proposal-service-status {
  flex: 0 0 auto;
}

.proposal-service-interested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 18px;
  padding: 16px 0 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.proposal-service-interested-head span {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 11px;
}

.proposal-service-group > .proposal-list {
  padding: 0 18px 16px;
}

.proposal-list {
  display: grid;
  gap: 0;
}

.proposal-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.proposal-card.is-new-proposal {
  margin: 4px 0;
  padding: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
}

.proposal-card.is-new-proposal + .proposal-card {
  border-top: 0;
}

.proposal-card + .proposal-card {
  border-top: 1px solid rgba(226, 232, 240, 0.82);
}

.proposal-main {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  min-width: 0;
}

.proposal-main strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.proposal-professional-name {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.proposal-profession-inline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.proposal-new-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.proposal-new-dot.is-pulsing::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(239, 68, 68, 0.38);
  border-radius: inherit;
  animation: chamaNotificationPulse 1.6s ease-out infinite;
}

@keyframes chamaNotificationPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.72);
  }

  70% {
    opacity: 0;
    transform: scale(1.55);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proposal-new-dot.is-pulsing::after {
    animation: none;
    opacity: 0;
  }
}

.proposal-new-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  padding: 4px 7px;
  text-transform: uppercase;
}

.proposal-main small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.proposal-main p {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.proposal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.proposal-whatsapp-button {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.16);
}

.proposal-whatsapp-button:hover {
  border-color: #128c3f;
  background: #128c3f;
  color: #fff;
}

.review-status-button {
  background: #eefaf3;
  color: #14613a;
  border: 1px solid #bfe8cf;
  cursor: default;
}

.review-open-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.review-modal[hidden] {
  display: none;
}

body.review-modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.review-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.review-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.review-modal-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.review-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.review-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.review-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-stars label {
  color: #d7deea;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
}

.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label {
  color: #f3b400;
}

.review-stars label:hover {
  transform: translateY(-1px);
}

.review-modal-comment {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.review-modal-comment span {
  color: var(--muted);
  font-weight: 700;
}

.review-modal-comment textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  outline: none;
}

.review-submit-button {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.proposal-form {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.proposal-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.proposal-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.proposal-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 9px 10px;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.proposal-form input:focus {
  border-color: rgba(18, 97, 241, 0.42);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.08);
}

.proposal-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.proposal-info-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f4fb;
  color: #463958;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}

.admin-proposals-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-notice-status {
  color: #59708f !important;
}

.admin-proposal-notice-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.admin-proposal-notice {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d9e6fb;
  border-radius: 14px;
  background: #f8fbff;
}

.admin-proposal-notice strong {
  font-size: 12px !important;
}

.admin-proposal-notice form {
  margin: 0;
}

.admin-inline-notice-form {
  margin: 8px 0 0;
}

.admin-whatsapp-notice-button {
  min-height: 32px;
  width: auto;
  border: 1px solid #16a34a;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.14);
}

.admin-whatsapp-notice-button:hover {
  background: #12843d;
  border-color: #12843d;
}

.admin-whatsapp-notice-button.is-notified {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(18, 97, 241, 0.14);
}

.admin-whatsapp-notice-button.is-notified:hover {
  border-color: #0f4fd0;
  background: #0f4fd0;
}

.admin-proposal-inline-menu {
  position: relative;
  margin-top: 8px;
}

.admin-proposal-inline-menu summary {
  list-style: none;
}

.admin-proposal-inline-menu summary::-webkit-details-marker {
  display: none;
}

.admin-proposal-inline-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  z-index: 35;
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(12, 36, 78, 0.14);
}

.admin-proposal-inline-dropdown form {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-proposal-inline-dropdown span {
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.proposal-form textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 12px;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.proposal-form textarea:focus {
  border-color: rgba(18, 97, 241, 0.42);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.08);
}

.services-success {
  margin-top: 12px;
}

@media (max-width: 720px) {
  .proposal-service-context {
    flex-wrap: wrap;
    padding: 15px 15px 12px;
  }

  .proposal-service-photo {
    width: 78px;
    height: 64px;
    flex-basis: 78px;
  }

  .proposal-service-copy h2 {
    font-size: 17px;
  }

  .proposal-service-status {
    margin-left: auto;
  }

  .proposal-service-interested-head {
    margin: 0 15px;
    padding: 12px 0 8px;
  }

  .proposal-service-group > .proposal-list {
    padding: 0 15px 14px;
  }

  .proposal-card {
    flex-direction: column;
    padding: 12px 0;
  }

  .proposal-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .proposal-details-grid {
    grid-template-columns: 1fr;
  }
}

.service-history-line {
  color: #7c6f93;
  font-weight: 700;
}

.history-cell small {
  display: block;
  color: #665b78;
  line-height: 1.45;
  margin-bottom: 7px;
  max-width: 240px;
}

.history-cell small strong {
  color: #4d2f73;
}

.service-filters {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.service-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.service-filters input,
.service-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  padding: 0 12px;
}

.service-filters input:focus,
.service-filters select:focus {
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.08);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  min-height: 42px;
}

.panel-filters,
.admin-service-filters {
  margin-bottom: 10px;
}

.filter-result-note,
.service-filter-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-service-filters {
  grid-template-columns: 1.2fr .7fr .8fr .8fr auto;
}

@media (max-width: 920px) {
  .service-filters,
  .admin-service-filters {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    justify-content: flex-start;
  }
}

.alert-summary-card {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(109, 40, 217, 0.14);
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.98), rgba(255, 255, 255, 0.98));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(76, 29, 149, 0.06);
}

.alert-summary-card strong {
  display: block;
  color: #2f174f;
  font-size: 0.96rem;
}

.alert-summary-card small {
  display: block;
  margin-top: 3px;
  color: #7c708d;
  font-size: 0.78rem;
}

.alert-summary-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.alert-summary-items span,
.attention-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f7d85a;
  color: #1f1a08;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  border: 0;
}

.panel-subsection-head .attention-badge {
  margin-left: 8px;
  min-width: 24px;
  padding: 4px 8px;
}

@media (max-width: 680px) {
  .alert-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .alert-summary-items {
    justify-content: flex-start;
  }
}

.mark-alerts-button {
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffffff;
  color: #3b255e;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.18);
}

.mark-alerts-button:hover {
  background: #faf7ff;
}

.not-found-main {
  min-height: calc(100vh - var(--topbar-height));
  display: grid;
  place-items: center;
  padding: 42px 18px;
}

.not-found-card {
  width: min(680px, 100%);
  background: #fff;
  border: 1px solid rgba(99, 102, 241, .12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  padding: 38px;
  text-align: center;
}

.not-found-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  color: #111827;
}

.not-found-card p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: #6b7280;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.not-found-card small {
  color: #9ca3af;
}

/* Ajustes CHAMA - placeholders, upload, avatares e publicar serviço */
input::placeholder,
textarea::placeholder {
  font-family: inherit;
  font-size: clamp(12px, 0.95em, 14px);
  font-weight: 400;
  color: #7d8497;
  opacity: 1;
}

.photo-avatar-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.image-upload-button.image-upload-square {
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  padding: 8px !important;
  border-radius: 16px !important;
  flex-direction: column;
  gap: 3px;
}

.image-upload-square svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.image-upload-square span,
.image-upload-square small {
  font-size: 10px;
  line-height: 1.05;
}

.avatar-select-field {
  min-width: 0;
}

.avatar-options {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar-option {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.15s ease;
}

.avatar-option.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.10);
}

.avatar-azul {
  background: #eef4ff !important;
  color: #1261f1 !important;
}

.avatar-verde {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

.avatar-roxo {
  background: #f3e8ff !important;
  color: #7c3aed !important;
}

.avatar-laranja {
  background: #fff7ed !important;
  color: #ea580c !important;
}

.avatar-cinza {
  background: #f4f6fb !important;
  color: #64748b !important;
}

.professional-avatar.avatar-azul,
.professional-avatar.avatar-verde,
.professional-avatar.avatar-roxo,
.professional-avatar.avatar-laranja,
.professional-avatar.avatar-cinza,
.profile-avatar.avatar-azul,
.profile-avatar.avatar-verde,
.profile-avatar.avatar-roxo,
.profile-avatar.avatar-laranja,
.profile-avatar.avatar-cinza {
  border: 1px solid var(--line-strong);
}

.publish-main {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 20px 24px 44px;
}

.publish-hero {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-32px);
}

.publish-page .publish-hero > .hero-logo-link {
  visibility: hidden;
}

body.home-page.publish-direct-page .home-publish-area > .hero-logo-link,
body.home-page.publish-direct-page .home-publish-area > .home-hero-subtitle {
  visibility: hidden;
}

.publish-search-box {
  width: min(100%, 760px);
  min-height: 58px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
}

.publish-search-box .publish-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 58px;
  height: auto;
}

.publish-search-box input[type="text"] {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.publish-neighborhood {
  position: relative;
  flex: 0 0 176px;
  width: 176px;
  min-width: 176px;
  min-height: 58px;
  height: auto;
  border-left: 1px solid var(--line-strong);
  text-align: left;
  background: #fff;
  z-index: 10;
}

.publish-neighborhood-toggle {
  width: 100%;
  min-height: 58px;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-rows: 16px 20px;
  align-content: center;
  column-gap: 8px;
  row-gap: 1px;
  text-align: left;
}

.publish-neighborhood-toggle span {
  grid-column: 1 / 2;
  color: #81889b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.publish-neighborhood-toggle strong {
  grid-column: 1 / 2;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publish-neighborhood-toggle svg {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 18px;
  height: 18px;
  color: var(--text);
}

.publish-neighborhood-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  max-height: 156px;
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  padding: 4px;
  z-index: 40;
}

.publish-neighborhood-menu[hidden] {
  display: none;
}

.publish-neighborhood-menu button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.publish-neighborhood-menu button:hover,
.publish-neighborhood-menu button.selected {
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.publish-search-box > button {
  flex: 0 0 138px;
  width: 138px;
  min-width: 138px;
  min-height: 58px;
  height: auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 18px 18px 0;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.publish-category-row .category-pill.selected {
  background: rgba(18, 97, 241, 0.08);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}

@media (max-width: 760px) {
  .photo-avatar-row {
    grid-template-columns: 1fr;
  }

  .publish-search-box {
    width: min(100%, 680px);
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .publish-neighborhood {
    width: 100%;
    min-width: 0;
    flex: none;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .publish-search-box > button {
    width: 100%;
    min-width: 0;
    flex: none;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
  }
}


/* Ajuste CHAMA - placeholder maior no search principal */
.search-box .search-input input::placeholder,
.publish-search-box .publish-input input::placeholder {
  font-size: clamp(14px, 1.02em, 16px);
  font-weight: 500;
  color: #7b8397;
}


/* Ajuste CHAMA - search principal ajustável e categorias extras */
.results-category-row {
  margin-top: 14px;
}

.search-box,
.publish-search-box {
  max-width: calc(100vw - 32px);
}

.publish-search-box .publish-input input {
  min-width: 0;
}


/* Ajuste CHAMA - resultados em uma linha, publicar menor e título Outros correto */
.results-search-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.results-search {
  width: min(100%, 760px);
  flex: 0 1 760px;
  height: auto;
  grid-template-columns: 1fr 104px 118px;
  align-items: stretch;
  overflow: visible;
}

.results-category-row {
  width: auto;
  margin-top: 0;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
}

.results-category-row .category-pill {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.publish-search-box {
  width: min(100%, 760px);
}

@media (max-width: 1120px) {
  .results-search-wrap {
    flex-direction: column;
    gap: 14px;
  }

  .results-search {
    width: min(100%, 680px);
    flex: none;
  }

  .results-category-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Ajuste CHAMA - página de complemento/edição do serviço */
.service-edit-page {
  align-items: flex-start;
  padding-top: 34px;
}

.service-edit-shell {
  width: min(100%, 860px);
}

.service-edit-card {
  width: 100%;
}

.service-edit-head {
  display: grid;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.status-badge-published {
  background: #18b45b;
  color: #fff;
}

.service-edit-form textarea,
.service-edit-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
}

.service-edit-form textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

.service-edit-form select {
  height: 48px;
  padding: 0 42px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23101A43' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.service-edit-form textarea:focus,
.service-edit-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.10);
}

.service-edit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-photo-field {
  display: grid;
  gap: 10px;
}

.service-photo-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.service-photo-upload {
  width: fit-content;
  min-width: 138px;
  min-height: 96px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 16px;
  border: 1.5px dashed #9b66ff;
  border-radius: 14px;
  background: #fff;
  color: #5b35c8;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}

.service-photo-upload:hover {
  background: rgba(91, 53, 200, 0.045);
  border-color: #6d43e6;
}

.service-photo-camera {
  border-style: solid;
  border-color: var(--line-strong);
  color: var(--blue);
}

.service-photo-camera small {
  color: var(--muted);
}

.service-photo-camera-icon {
  width: 22px;
  height: 18px;
  display: block;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-photo-camera-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.service-photo-camera-icon::after {
  content: '';
  width: 8px;
  height: 4px;
  position: absolute;
  left: 2px;
  top: -5px;
  background: currentColor;
  border-radius: 3px 3px 0 0;
}

.service-photo-upload-icon {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.service-photo-upload span {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-upload small {
  color: #744cff;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-input {
  display: none;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-photo-item {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f8faff;
}

.service-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-edit-actions {
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 980px) {
  .service-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-edit-grid {
    grid-template-columns: 1fr;
  }
  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Ajuste CHAMA - caminho alternativo discreto */
.alt-path-link {
  width: min(100%, 760px);
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.alt-path-link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #74809a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.alt-path-link a span {
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-0.5px);
}

.alt-path-link a:hover {
  color: var(--blue);
}

.results-alt-path-link {
  width: min(100%, 1180px);
  margin: -24px auto 32px;
}

@media (max-width: 760px) {
  .alt-path-link {
    justify-content: center;
    margin-top: 14px;
  }

  .results-alt-path-link {
    margin: -18px auto 28px;
  }
}


.service-edit-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.service-edit-head {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 2px;
}

.service-photo-field-head {
  min-width: 0;
  justify-self: end;
}

.service-photo-tools-head {
  flex-wrap: nowrap;
  gap: 14px;
}

.service-photo-upload {
  width: 164px;
  min-width: 164px;
  height: 108px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #cfd9ef;
  border-radius: 18px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
  box-sizing: border-box;
}

.service-photo-upload:hover {
  background: #f8fbff;
  border-color: #afc5ff;
}

.service-photo-camera {
  border-color: #cfd9ef;
  color: #101a43;
}

.service-photo-upload small,
.service-photo-camera small {
  color: var(--blue);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-upload-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.service-photo-upload span {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-grid-head {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

@media (max-width: 980px) {
  .service-edit-top {
    grid-template-columns: 1fr;
  }

  .service-photo-field-head {
    justify-self: start;
  }

  .service-photo-tools-head {
    flex-wrap: wrap;
  }
}


/* Ajuste CHAMA - ícones dos botões de foto */
.service-photo-upload-icon {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1;
}

.service-photo-camera-icon {
  width: 28px;
  height: 22px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

.service-photo-camera-icon::before {
  width: 8px;
  height: 8px;
}

.service-photo-camera-icon::after {
  left: 3px;
  top: -5px;
}


/* Ajuste CHAMA - ícone de upload mais robusto */
.service-photo-upload-tray-icon {
  width: 34px;
  height: 30px;
  position: relative;
  display: block;
  margin: 0 auto;
  font-size: 0;
}

.service-photo-upload-tray-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1px;
  width: 12px;
  height: 14px;
  transform: translateX(-50%);
  border-left: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  border-radius: 10px 10px 0 0;
}

.service-photo-upload-tray-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 22px;
  height: 11px;
  transform: translateX(-50%);
  border: 2.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 4px 0 0 #ffffff;
}

.service-photo-upload-tray-icon {
  background:
    linear-gradient(currentColor, currentColor) center 14px / 2.5px 10px no-repeat,
    linear-gradient(45deg, transparent 47%, currentColor 48%, currentColor 58%, transparent 59%) calc(50% - 4px) 10px / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 47%, currentColor 48%, currentColor 58%, transparent 59%) calc(50% + 4px) 10px / 8px 8px no-repeat;
}


/* Ajuste CHAMA - ícone de upload limpo */
.service-photo-upload-clean-icon {
  width: 32px;
  height: 30px;
  position: relative;
  display: block;
  margin: 0 auto;
  font-size: 0;
}

.service-photo-upload-clean-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 3px;
  width: 15px;
  height: 15px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  border-radius: 2px 0 0 0;
}

.service-photo-upload-clean-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 26px;
  height: 14px;
  transform: translateX(-50%);
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 8px 8px;
}

.service-photo-upload-clean-icon {
  background: linear-gradient(currentColor, currentColor) center 9px / 3px 16px no-repeat;
}

/* Anula o ícone anterior, caso ainda exista em cache de CSS */
.service-photo-upload-tray-icon {
  display: none;
}


/* Ajuste CHAMA - ícones SVG reais dos botões de foto */
.service-photo-svg-icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-photo-upload-clean-icon,
.service-photo-upload-tray-icon,
.service-photo-camera-icon {
  display: none !important;
}


/* Ajuste CHAMA - 1 botão para fotos com opções */
.service-photo-picker {
  position: relative;
  min-width: 230px;
}

.service-photo-picker[open] {
  z-index: 20;
}

.service-photo-picker summary {
  list-style: none;
}

.service-photo-picker summary::-webkit-details-marker {
  display: none;
}

.service-photo-picker-trigger {
  width: 230px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #cfd9ef;
  border-radius: 18px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transition: 0.15s ease;
}

.service-photo-picker-trigger:hover,
.service-photo-picker[open] .service-photo-picker-trigger {
  background: #f8fbff;
  border-color: #afc5ff;
}

.service-photo-picker-trigger span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-picker-trigger small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 230px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 26, 67, 0.14);
}

.service-photo-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #dde6f7;
  border-radius: 12px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  transition: 0.15s ease;
}

.service-photo-option:hover {
  border-color: #afc5ff;
  background: #f8fbff;
}

.service-photo-option .service-photo-svg-icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

.service-photo-option strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-option small {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-field-head {
  min-width: 230px;
}

@media (max-width: 980px) {
  .service-photo-picker,
  .service-photo-picker-trigger,
  .service-photo-picker-menu,
  .service-photo-field-head {
    width: min(100%, 230px);
  }
}


.service-edit-actions {
  gap: 14px;
}

.service-edit-skip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 4px;
}

.service-edit-skip-link:hover {
  color: var(--blue);
}

@media (max-width: 720px) {
  .service-edit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-edit-skip-link {
    min-height: 42px;
  }
}


/* Ajuste CHAMA - linha inferior com campos e ações */
.service-edit-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.service-edit-bottom-row > label {
  margin: 0;
}

.service-edit-actions-inline {
  justify-content: flex-start;
  align-items: end;
  gap: 14px;
  align-self: end;
  flex-wrap: nowrap;
  margin: 0;
}

.service-edit-actions-inline button {
  min-width: 120px;
}

@media (max-width: 1080px) {
  .service-edit-bottom-row,
  .service-edit-bottom-row.has-service-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-edit-actions-inline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .service-edit-bottom-row {
    grid-template-columns: 1fr;
  }

  .service-edit-actions-inline {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }
}


/* Ajuste CHAMA - remover vão grande entre subtítulo e detalhes */
.service-edit-top {
  display: block;
  position: relative;
  min-height: 112px;
  margin-bottom: 16px;
  padding-right: 270px;
}

.service-edit-head {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.service-photo-field-head {
  position: absolute;
  top: 0;
  right: 0;
  width: 230px;
  min-width: 230px;
  justify-self: auto;
}

.service-photo-picker,
.service-photo-picker-trigger,
.service-photo-picker-menu {
  width: 230px;
}

@media (max-width: 980px) {
  .service-edit-top {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-right: 0;
    gap: 16px;
    margin-bottom: 16px;
  }

  .service-photo-field-head {
    position: static;
    width: min(100%, 230px);
    min-width: 0;
    justify-self: start;
  }

  .service-photo-picker,
  .service-photo-picker-trigger,
  .service-photo-picker-menu {
    width: min(100%, 230px);
  }
}


/* Ajuste CHAMA - avatares de trabalhadores da construção */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.avatar-option {
  position: relative;
  overflow: hidden;
  font-size: 0;
  color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.professional-avatar.avatar-azul,
.professional-avatar.avatar-verde,
.professional-avatar.avatar-roxo,
.professional-avatar.avatar-laranja,
.professional-avatar.avatar-cinza,
.professional-avatar.avatar-diarista,
.profile-avatar.avatar-azul,
.profile-avatar.avatar-verde,
.profile-avatar.avatar-roxo,
.profile-avatar.avatar-laranja,
.profile-avatar.avatar-cinza,
.profile-avatar.avatar-diarista,
.dashboard-mini-preview span.avatar-azul,
.dashboard-mini-preview span.avatar-verde,
.dashboard-mini-preview span.avatar-roxo,
.dashboard-mini-preview span.avatar-laranja,
.dashboard-mini-preview span.avatar-cinza,
.dashboard-mini-preview span.avatar-diarista {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  overflow: hidden;
}

.avatar-azul { background-image: url('/static/img/avatar-worker-1.svg') !important; }
.avatar-verde { background-image: url('/static/img/avatar-worker-2.svg') !important; }
.avatar-roxo { background-image: url('/static/img/avatar-worker-3.svg') !important; }
.avatar-laranja { background-image: url('/static/img/avatar-worker-4.svg') !important; }
.avatar-cinza { background-image: url('/static/img/avatar-worker-5.svg') !important; }

.dashboard-mini-preview span.avatar-azul,
.dashboard-mini-preview span.avatar-verde,
.dashboard-mini-preview span.avatar-roxo,
.dashboard-mini-preview span.avatar-laranja,
.dashboard-mini-preview span.avatar-cinza {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

/* Ajuste CHAMA - detalhes adicionais */
.service-edit-form > label,
.service-edit-bottom-row > label {
  font-size: 13px;
  font-weight: 800;
}

.service-edit-form textarea::placeholder {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #848da2;
}


/* Ajuste CHAMA - avatares 3D do site */
.avatar-option {
  position: relative;
  overflow: hidden;
  font-size: 0;
  color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.professional-avatar.avatar-azul,
.professional-avatar.avatar-verde,
.professional-avatar.avatar-roxo,
.professional-avatar.avatar-laranja,
.professional-avatar.avatar-cinza,
.profile-avatar.avatar-azul,
.profile-avatar.avatar-verde,
.profile-avatar.avatar-roxo,
.profile-avatar.avatar-laranja,
.profile-avatar.avatar-cinza,
.dashboard-mini-preview span.avatar-azul,
.dashboard-mini-preview span.avatar-verde,
.dashboard-mini-preview span.avatar-roxo,
.dashboard-mini-preview span.avatar-laranja,
.dashboard-mini-preview span.avatar-cinza {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  overflow: hidden;
}

.avatar-azul { background-image: url('/static/img/avatar-pedreiro-3d.webp') !important; }
.avatar-verde { background-image: url('/static/img/avatar-pintor-3d.webp') !important; }
.avatar-roxo { background-image: url('/static/img/avatar-eletricista-3d.webp') !important; }
.avatar-laranja,
.avatar-cinza { background-image: url('/static/img/avatar-servicos-gerais-3d.webp') !important; }
.avatar-diarista { background-image: url('/static/img/avatars/diarista.png') !important; }

.dashboard-mini-preview span.avatar-azul,
.dashboard-mini-preview span.avatar-verde,
.dashboard-mini-preview span.avatar-roxo,
.dashboard-mini-preview span.avatar-laranja,
.dashboard-mini-preview span.avatar-cinza,
.dashboard-mini-preview span.avatar-diarista {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}


/* Ajuste CHAMA - área de avatar 3D alinhada */
.dashboard-lower-grid {
  grid-template-columns: minmax(430px, max-content) 1fr;
  align-items: end;
}

.photo-avatar-row {
  grid-template-columns: auto minmax(240px, max-content);
  width: max-content;
  max-width: 100%;
  align-items: start;
}

.avatar-select-field {
  min-width: 240px;
}

.avatar-options {
  flex-wrap: nowrap;
}

.avatar-option {
  width: 52px;
  height: 52px;
}

.avatar-select-field .profile-photo-file {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

  .photo-avatar-row {
    width: 100%;
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 560px) {
  .photo-avatar-row {
    grid-template-columns: 1fr;
  }

  .avatar-options {
    flex-wrap: wrap;
  }

  .avatar-select-field .profile-photo-file {
    white-space: normal;
  }
}


/* Ajuste CHAMA - avatar alinhado com nova senha */
.dashboard-lower-grid {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.photo-avatar-row {
  grid-template-columns: auto auto;
  width: auto;
  max-width: none;
  align-items: start;
  column-gap: 18px;
}

.avatar-select-field {
  display: grid;
  align-content: start;
  min-width: 250px;
}

.avatar-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.avatar-option {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.dashboard-lower-grid > label {
  align-self: start;
  margin-top: 0;
}

.avatar-select-field .profile-photo-file {
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

  .photo-avatar-row {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .photo-avatar-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .avatar-options {
    flex-wrap: wrap;
  }

  .avatar-select-field .profile-photo-file {
    white-space: normal;
  }
}


/* Ajuste CHAMA - nova senha com opcional na mesma linha */
.password-inline-label {
  display: block !important;
}

.password-inline-label .label-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.password-inline-label .optional-label {
  display: inline;
  margin: 0;
  white-space: nowrap;
}


/* Ajuste CHAMA - navegação separada do cliente */
.client-nav {
  gap: 18px;
}

.client-nav .login-link.active {
  color: var(--blue);
}

.client-proposals-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.client-notification-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.client-section-head {
  margin-bottom: 18px;
}

.client-section-head h1 {
  margin-bottom: 8px;
}


/* Ajuste CHAMA - home com publicação como caminho principal */
.home-publish-hero {
  align-items: center;
}

.home-publish-area {
  width: min(100%, 980px);
}

.home-publish-copy {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  text-align: center;
}

.home-publish-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.home-publish-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.home-publish-box {
  width: min(100%, 760px);
}

.home-publish-categories {
  margin-top: 14px;
}

.home-secondary-path {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.home-secondary-path a {
  color: var(--blue);
  text-decoration: none;
}

.home-secondary-path a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .home-secondary-path {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
  }
}


/* Ajuste CHAMA - home mais leve sem título competindo com a logo */
.home-publish-copy-light {
  margin-bottom: 14px;
}

.home-publish-copy-light p {
  font-size: 16px;
  font-weight: 700;
}


/* Ajuste CHAMA - fotos simplificadas no editar serviço */
.service-photo-single-trigger {
  width: 230px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #cfd9ef;
  border-radius: 18px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transition: 0.15s ease;
}

.service-photo-single-trigger:hover {
  background: #f8fbff;
  border-color: #afc5ff;
}

.service-photo-single-trigger span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-single-trigger small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-feedback {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.service-photo-item {
  position: relative;
}

.service-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 26, 67, 0.78);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-photo-remove:hover {
  background: rgba(16, 26, 67, 0.95);
}

.service-photo-item.is-removed {
  display: none !important;
}

.service-photo-grid:empty::after {
  content: 'Nenhuma foto adicionada ainda.';
  grid-column: 1 / -1;
  min-height: 42px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .service-photo-single-trigger,
  .service-photo-field-head {
    width: min(100%, 230px);
  }
}


/* Ajuste CHAMA - corrigir layout do bloco de fotos no editar serviço */
.service-edit-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 230px !important;
  align-items: start !important;
  gap: 22px !important;
  min-height: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 18px !important;
}

.service-photo-field-head {
  position: static !important;
  width: 230px !important;
  min-width: 230px !important;
  justify-self: end !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.service-photo-grid-head {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px;
  margin-top: 0 !important;
}

.service-photo-item {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.service-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.service-photo-feedback {
  width: 100%;
}

@media (max-width: 980px) {
  .service-edit-top {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .service-photo-field-head {
    width: min(100%, 230px) !important;
    min-width: 0 !important;
    justify-self: start !important;
  }
}


/* Ajuste CHAMA - reduzir vão entre subtítulo e detalhes */
.service-edit-top {
  margin-bottom: 10px !important;
}

.service-photo-field-head {
  gap: 6px !important;
}

.service-photo-feedback {
  font-size: 11px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.service-photo-grid-head {
  gap: 8px !important;
}

.service-photo-grid:empty {
  display: none !important;
}

.service-photo-grid:empty::after {
  content: none !important;
  display: none !important;
  min-height: 0 !important;
}


/* Ajuste CHAMA - publicações do cliente mais visuais e limpas */
.client-publications-link,
.client-proposals-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.client-attention-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.publication-attention-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2f1;
  color: #b42318;
  font-size: 11px;
  font-weight: 900;
}

.publication-attention-chip span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.publication-card-list {
  display: grid;
  gap: 10px;
}

.publication-card-clean {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 33, 70, 0.04);
}

.publication-card-media {
  position: relative;
  width: 88px;
}

.publication-card-photo {
  width: 88px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.publication-card-photo-placeholder {
  width: 88px;
  height: 70px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.publication-card-photo-placeholder img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.publication-card-photo-placeholder span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.publication-status-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  min-height: 22px;
  padding: 4px 8px;
  font-size: 10px;
}

.publication-card-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.publication-card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.publication-card-topline h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.publication-card-location {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.publication-card-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #40506b;
  font-size: 12px;
  font-weight: 800;
}

.publication-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.publication-card-quick-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.publication-open-button {
  min-width: 78px;
  justify-content: center;
  white-space: nowrap;
}

.publication-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-card-meta span,
.publication-soft-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f7fd;
  color: #40506b;
  font-size: 11px;
  font-weight: 800;
}

.publication-card-description {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.publication-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-card-actions form {
  margin: 0;
}

@media (max-width: 860px) {
  .publication-card-clean {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
  }

  .publication-card-media,
  .publication-card-photo,
  .publication-card-photo-placeholder {
    width: 78px;
    height: 66px;
  }

  .publication-card-quick-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .publication-card-clean {
    padding: 10px;
  }

  .publication-card-topline h2 {
    font-size: 16px;
  }

  .publication-card-summary {
    gap: 6px;
  }

}



/* Ajuste CHAMA - cards de serviços simplificados */
.service-grid-simple {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: start;
}

.service-flat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 36, 78, 0.05);
  padding: 22px;
  display: grid;
  gap: 18px;
}

.service-flat-top {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.service-flat-media {
  min-width: 0;
}

.service-flat-photo-link {
  position: relative;
  display: block;
}

.service-flat-photo {
  width: 100%;
  height: 108px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.service-flat-photo-hint {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(78, 89, 115, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-flat-placeholder,
.service-flat-photo,
.service-flat-photo-link {
  width: 100%;
}

.service-flat-placeholder {
  height: 108px;
}
.service-flat-placeholder {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.service-flat-placeholder img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.95;
}

.service-flat-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}


.service-flat-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.service-flat-main h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.service-flat-meta {
  display: grid;
  gap: 10px;
}

.service-flat-meta-item {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.service-flat-meta-primary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 2px;
}

.service-flat-meta-separator {
  color: var(--muted);
  font-weight: 800;
}

.service-flat-meta-item strong {
  font-weight: 800;
}

.service-flat-summary {
  display: grid;
  gap: 10px;
}

.service-flat-summary strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-flat-summary-box {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.service-flat-form {
  margin: 0;
}

.service-flat-helper {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.service-send-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(18, 97, 241, 0.16);
}

.service-send-button:hover {
  filter: brightness(0.98);
}

.service-send-button.is-sent,
.service-send-button[disabled] {
  background: #eaf2ff;
  color: var(--blue);
  box-shadow: none;
  cursor: default;
  opacity: 1;
}

@media (max-width: 1400px) {
  .service-grid-simple {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  .service-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .service-grid-simple {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .service-flat-card {
    padding: 18px;
    gap: 16px;
  }

  .service-flat-top {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .service-flat-photo,
  .service-flat-placeholder {
    height: 96px;
  }

  .service-flat-main h2 {
    font-size: 22px;
  }

  .service-flat-meta-item {
    font-size: 14px;
  }

  .service-flat-summary strong {
    font-size: 16px;
  }
}

/* Ajuste CHAMA - feedback ao salvar serviço */
.service-edit-actions button.is-saved,
.service-edit-actions button:disabled.is-saved {
  background: #18b45b;
  opacity: 1;
  cursor: default;
}

/* Fluxo simples de publicação na home */
.home-wizard {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
}

.home-wizard-viewport {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-wizard-track {
  width: 600%;
  display: flex;
  transition: transform 0.34s ease;
}

.home-wizard-step {
  width: 16.6667%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 34px 28px;
}

.home-wizard-step h1,
.home-wizard-step h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.home-wizard-step h1 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(25px, 3vw, 34px);
}

.home-wizard-step h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.home-wizard-step p {
  max-width: 520px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.home-wizard-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.home-wizard-primary,
.home-wizard-secondary,
.home-wizard-skip {
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-wizard-primary {
  min-width: 124px;
  border: 0;
  padding: 0 24px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.home-wizard-secondary,
.home-wizard-skip {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
}

.home-wizard-actions {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-wizard-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-professional-options {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.home-professional-chip {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s ease;
}

.home-professional-chip:hover,
.home-professional-chip.selected {
  border-color: var(--blue);
  color: var(--blue);
}

.home-professional-chip.selected {
  background: rgba(18, 97, 241, 0.08);
}

.home-wizard-neighborhood {
  width: min(100%, 420px);
}

.home-wizard-textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  outline: 0;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.home-wizard-textarea::placeholder {
  color: #81889b;
}

.home-wizard-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}

.home-wizard-value-field {
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
  margin: 0 auto 12px;
  text-align: left;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.home-wizard-value-field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 15px;
  color: var(--text);
  outline: 0;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.home-wizard-value-field input::placeholder {
  color: #81889b;
}

.home-wizard-value-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}

.home-wizard-upload {
  width: min(100%, 420px);
  min-height: 84px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.home-wizard-upload strong {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.home-wizard-upload span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.home-wizard-summary {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
  text-align: left;
}

.home-wizard-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.home-wizard-summary strong {
  color: var(--text);
}

.home-wizard-summary em {
  font-style: normal;
}

.home-wizard-dots {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.home-wizard-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: 0.2s ease;
}

.home-wizard-dots span.active {
  width: 22px;
  background: var(--blue);
}


body.home-page.home-step-compact .home-publish-area {
  justify-content: flex-start;
  padding-top: 4px;
}

body.home-page.home-step-compact .home-publish-area .hero-lockup {
  width: clamp(190px, 19vw, 245px);
  margin-bottom: 4px;
}

body.home-page.home-step-compact .home-hero-subtitle {
  margin-bottom: 10px;
  font-size: clamp(13px, 1.15vw, 16px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-viewport {
  width: min(100%, 690px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 238px;
  padding: 18px 24px 16px;
}

body.home-page.home-step-compact .home-wizard-step h2 {
  font-size: clamp(20px, 1.75vw, 24px);
}

body.home-page.home-step-compact .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 12px;
}

body.home-page.home-step-compact .home-professional-options {
  margin: 4px 0 14px;
  gap: 7px;
}

body.home-page.home-step-compact .home-professional-chip {
  min-height: 34px;
  padding: 0 12px;
}

body.home-page.home-step-compact .home-wizard-actions {
  margin-top: 14px;
}

body.home-page.home-step-compact .home-wizard-dots {
  margin-top: 4px;
}

body.home-page.home-step-compact .home-secondary-path {
  margin-top: 14px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.home-step-compact .home-publish-area {
    padding-top: 4px;
  }

  body.home-page.home-step-compact .home-publish-area .hero-lockup {
    width: clamp(176px, 18vw, 228px);
    margin-bottom: 2px;
  }

  body.home-page.home-step-compact .home-hero-subtitle {
    margin-bottom: 8px;
    font-size: 13px;
  }

  body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 222px;
    padding: 16px 22px 14px;
  }

  body.home-page.home-step-compact .home-professional-options {
    margin-bottom: 12px;
  }

  body.home-page.home-step-compact .home-secondary-path {
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  .home-wizard-step {
    min-height: 340px;
    padding: 24px 18px 22px;
  }

  .home-wizard-actions {
    gap: 10px;
  }

  .home-wizard-primary {
    min-width: 112px;
  }
}

/* Correção CHAMA - fluxo da home mais compacto, sem bairro e sem título pesado */
.home-publish-area {
  transform: none;
  padding-top: 22px;
}

.home-publish-area .hero-lockup {
  width: min(82vw, 330px);
  margin: 0 0 22px;
}

.home-wizard {
  width: min(100%, 640px);
}

.home-wizard-viewport {
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(16, 28, 62, 0.08);
}

.home-wizard-step {
  min-height: 232px;
  padding: 24px 28px 22px;
}

.home-wizard-start {
  min-height: 164px;
  gap: 16px;
  padding: 24px 24px 26px;
}

.home-wizard-step h1 {
  display: none;
}

.home-wizard-subtitle {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.home-wizard-step h2 {
  font-size: clamp(21px, 2.1vw, 26px);
}

.home-wizard-step p:not(.home-wizard-subtitle) {
  margin-bottom: 18px;
}

.home-professional-options {
  margin: 2px 0 18px;
  gap: 8px;
}

.home-professional-chip {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.home-wizard-actions {
  margin-top: 18px;
}

.home-wizard-textarea {
  min-height: 92px;
}

.home-wizard-upload {
  min-height: 78px;
}

.home-wizard-summary {
  width: min(100%, 520px);
  gap: 8px;
  padding: 14px 16px;
}

.home-wizard-dots {
  margin-top: 10px;
}


body.home-page.home-step-compact .home-publish-area {
  justify-content: flex-start;
  padding-top: 4px;
}

body.home-page.home-step-compact .home-publish-area .hero-lockup {
  width: clamp(190px, 19vw, 245px);
  margin-bottom: 4px;
}

body.home-page.home-step-compact .home-hero-subtitle {
  margin-bottom: 10px;
  font-size: clamp(13px, 1.15vw, 16px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-viewport {
  width: min(100%, 690px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 238px;
  padding: 18px 24px 16px;
}

body.home-page.home-step-compact .home-wizard-step h2 {
  font-size: clamp(20px, 1.75vw, 24px);
}

body.home-page.home-step-compact .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 12px;
}

body.home-page.home-step-compact .home-professional-options {
  margin: 4px 0 14px;
  gap: 7px;
}

body.home-page.home-step-compact .home-professional-chip {
  min-height: 34px;
  padding: 0 12px;
}

body.home-page.home-step-compact .home-wizard-actions {
  margin-top: 14px;
}

body.home-page.home-step-compact .home-wizard-dots {
  margin-top: 4px;
}

body.home-page.home-step-compact .home-secondary-path {
  margin-top: 14px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.home-step-compact .home-publish-area {
    padding-top: 4px;
  }

  body.home-page.home-step-compact .home-publish-area .hero-lockup {
    width: clamp(176px, 18vw, 228px);
    margin-bottom: 2px;
  }

  body.home-page.home-step-compact .home-hero-subtitle {
    margin-bottom: 8px;
    font-size: 13px;
  }

  body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 222px;
    padding: 16px 22px 14px;
  }

  body.home-page.home-step-compact .home-professional-options {
    margin-bottom: 12px;
  }

  body.home-page.home-step-compact .home-secondary-path {
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  .home-publish-area {
    padding-top: 14px;
  }

  .home-publish-area .hero-lockup {
    width: min(78vw, 285px);
    margin-bottom: 18px;
  }

  .home-wizard-step {
    min-height: 250px;
    padding: 22px 16px 20px;
  }

  .home-wizard-start {
    min-height: 158px;
  }
}

/* Correção CHAMA - home em uma tela, sem blocos extras e etapa 2 em linha única */
body.home-page {
  overflow: hidden;
}

.home-page .page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.home-page .topbar:not(.client-shared-topbar) {
  height: var(--topbar-height);
  padding: 0 44px;
}

@media (min-width: 721px) {
  body.client-dashboard-home .topbar,
  body.professional-dashboard-home .topbar {
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center;
  }
}

.home-page .hero {
  height: calc(100vh - var(--topbar-height));
  min-height: 0;
  padding: 18px 24px 24px;
  align-items: stretch;
}

.home-page .home-publish-area {
  width: min(100%, 980px);
  height: 100%;
  padding-top: 0;
  transform: translateY(-18px);
  justify-content: center;
  gap: 0;
}

.home-page .home-publish-area .hero-lockup {
  width: clamp(290px, 29vw, 380px);
  margin: 0 0 10px;
}

.home-hero-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.home-page .home-wizard {
  width: min(100%, 760px);
}

.home-page .home-wizard-viewport {
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(16, 28, 62, 0.07);
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-viewport {
  width: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-track {
  width: 100%;
  display: block;
  transform: none !important;
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-step {
  display: none;
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-start {
  width: 100%;
  min-height: 0;
  display: flex;
  padding: 0;
  justify-content: center;
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-primary {
  min-width: 138px;
  min-height: 54px;
  border-radius: 15px;
  font-size: 15px;
}

.home-page .home-wizard[data-current-step="1"] .home-wizard-dots {
  display: none;
}

.home-page .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 292px;
  padding: 24px 30px 22px;
}

.home-page .home-wizard:not([data-current-step="1"]) .home-wizard-viewport {
  width: min(100%, 720px);
}

.home-page .home-wizard-step h2 {
  font-size: clamp(22px, 2vw, 27px);
}

.home-page .home-professional-options {
  flex-wrap: nowrap;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 6px 0 22px;
  white-space: nowrap;
}

.home-page .home-professional-chip {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-color: #cfdaed;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(16, 28, 62, 0.03);
}

.home-page .home-professional-chip:hover,
.home-page .home-professional-chip.selected {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
}

.home-step-error {
  margin: -10px 0 18px;
  color: #d14343;
  font-size: 13px;
  font-weight: 700;
}

.home-wizard-step-error {
  border-color: rgba(209, 67, 67, 0.35);
  box-shadow: 0 16px 40px rgba(209, 67, 67, 0.10);
}

.home-wizard-step-shake {
  animation: homeWizardShake 0.34s ease-in-out;
}

@keyframes homeWizardShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.home-page .home-wizard-dots {
  margin-top: 8px;
}

.home-wizard-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: 0.2s ease;
}

.home-wizard-dots button.active {
  width: 22px;
  background: var(--blue);
}

.home-page .home-secondary-path {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-page .home-secondary-path::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: .75;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-page .home-secondary-path a {
  color: var(--blue);
  font-weight: 800;
}

.home-tour-modal[hidden] {
  display: none;
}

.home-tour-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.home-tour-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(18, 97, 241, .055), transparent 48%),
    rgba(255, 255, 255, .94);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.home-tour-card {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 36px);
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: hidden;
  border: 1px solid #dbe7ff;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 31, 68, .13);
  color: var(--text);
}

.home-tour-top,
.home-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-tour-back-button,
.home-tour-start,
.home-tour-arrow {
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  background: #f7faff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.home-tour-back-button {
  min-height: 38px;
  padding: 0 14px;
}

.home-tour-start {
  min-height: 40px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 97, 241, .14);
}

.home-tour-arrow {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
}

.home-tour-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-tour-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d6e0f2;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.home-tour-dots button.active {
  width: 24px;
  background: var(--blue);
}

.home-tour-viewport {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #edf2fb;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  touch-action: pan-y;
}

.home-tour-track {
  height: 100%;
  display: flex;
  transition: transform .32s ease;
  will-change: transform;
}

.home-tour-slide {
  min-width: 100%;
  padding: clamp(14px, 2vw, 22px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  user-select: none;
}

.home-tour-slide-head {
  text-align: center;
}

.home-tour-kicker {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.home-tour-slide h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.08;
  color: #07145f;
}

.home-tour-slide p {
  margin: 6px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.home-tour-image-shell {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-tour-image-shell img {
  width: 100%;
  max-height: min(58vh, 620px);
  display: block;
  object-fit: contain;
  border-radius: 14px;
  pointer-events: none;
}

@media (max-height: 760px) and (min-width: 760px) {
  .home-tour-card {
    max-height: calc(100vh - 24px);
    padding: 14px;
    gap: 10px;
  }

  .home-tour-slide {
    padding: 12px 18px;
    gap: 8px;
  }

  .home-tour-slide h2 {
    font-size: clamp(28px, 4vw, 44px);
  }

  .home-tour-slide p {
    margin-top: 4px;
    font-size: 13px;
  }

  .home-tour-image-shell img {
    max-height: 52vh;
  }
}

@media (max-width: 620px) {
  .home-page .home-secondary-path {
    flex-wrap: wrap;
    row-gap: 6px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .home-tour-modal {
    padding: 10px;
  }

  .home-tour-card {
    max-height: calc(100vh - 20px);
    padding: 12px;
    border-radius: 18px;
  }

  .home-tour-top {
    align-items: center;
  }

  .home-tour-back-button {
    min-height: 36px;
    padding: 0 12px;
  }

  .home-tour-slide {
    padding: 14px 10px;
  }

  .home-tour-slide h2 {
    font-size: 32px;
  }

  .home-tour-slide p {
    font-size: 12px;
  }

  .home-tour-image-shell {
    align-items: start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .home-tour-image-shell img {
    width: auto;
    min-width: 760px;
    max-width: none;
    max-height: 56vh;
  }

  .home-tour-footer {
    gap: 8px;
  }

  .home-tour-start {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-tour-track,
  .home-tour-dots button {
    transition: none;
  }
}

/* legacy tour cards removed in favor of the slider tour */
/* keep the selector unavailable for older cached markup */
.home-tour-steps {
  display: grid;
  gap: 10px;
}

/* Tour da home como tela lateral estilo app */
.home-page .home-publish-hero {
  position: relative;
  overflow: hidden;
}

.home-page .home-publish-area,
.home-tour-screen {
  transition: transform .34s ease, opacity .24s ease;
  will-change: transform;
}

.home-tour-screen[hidden] {
  display: none;
}

.home-tour-screen {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 6px 16px 10px;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  background: #fff;
  transform: translateX(100%);
  opacity: 0;
}

body.home-page.home-tour-open .home-publish-area {
  transform: translate(-105%, -18px);
  opacity: .2;
}

body.home-page.home-tour-open .home-tour-screen {
  transform: translateX(0);
  opacity: 1;
}

.home-tour-screen .home-tour-viewport {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  touch-action: pan-y;
}

.home-tour-screen .home-tour-track {
  height: 100%;
  display: flex;
  transition: transform .34s ease;
  will-change: transform;
}

.home-tour-screen .home-tour-slide {
  min-width: 100%;
  height: 100%;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  user-select: none;
}

.home-tour-screen .home-tour-top {
  min-height: 42px;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 12px;
}

.home-tour-screen .home-tour-back-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  justify-self: start;
  font-size: 14px;
  font-weight: 800;
}

.home-tour-screen .home-tour-top h2 {
  margin: 0;
  color: #07145f;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-align: center;
  letter-spacing: -0.04em;
}

.home-tour-screen .home-tour-dots {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-tour-screen .home-tour-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d6e0f2;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.home-tour-screen .home-tour-dots button.active {
  width: 22px;
  background: var(--blue);
}

.home-tour-screen .home-tour-image-shell {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.home-tour-image-button {
  position: relative;
  width: min(100%, 1680px);
  max-height: calc(100vh - var(--topbar-height) - 20px);
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
}

.home-tour-screen .home-tour-image-shell img {
  width: min(100%, 1680px);
  height: auto;
  max-height: calc(100vh - var(--topbar-height) - 20px);
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  pointer-events: none;
}

.home-tour-image-title {
  position: absolute;
  top: clamp(8px, 2.2vh, 22px);
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: #07145f;
  font-size: clamp(24px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
  pointer-events: none;
}

.home-tour-floating-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(18, 97, 241, .18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.home-tour-floating-arrow:hover {
  filter: brightness(.98);
  box-shadow: 0 16px 34px rgba(18, 97, 241, .22);
}

.home-tour-floating-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 2px;
}

.home-tour-floating-arrow-prev {
  left: clamp(8px, 2vw, 26px);
}

.home-tour-floating-arrow-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.home-tour-floating-arrow-next {
  right: clamp(8px, 2vw, 26px);
}

.home-tour-floating-arrow-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.home-tour-floating-arrow-next.is-close-action::before,
.home-tour-floating-arrow-next.is-close-action::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.home-tour-floating-arrow-next.is-close-action::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.home-tour-floating-arrow-next.is-close-action::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.home-tour-lightbox[hidden] {
  display: none;
}

.home-tour-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fff;
}

.home-tour-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: #fff;
  cursor: zoom-out;
}

.home-tour-lightbox-close {
  position: absolute;
  top: 18px;
  left: 24px;
  z-index: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-tour-lightbox img {
  position: relative;
  z-index: 1;
  width: min(100%, 1680px);
  max-height: calc(100vh - 42px);
  object-fit: contain;
  background: #fff;
  cursor: zoom-out;
}

.home-tour-screen .home-tour-footer {
  display: flex;
  justify-content: center;
}

.home-tour-screen .home-tour-start {
  min-width: 136px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(18, 97, 241, .18);
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(18, 97, 241, .14);
  cursor: pointer;
}

@media (max-height: 760px) and (min-width: 760px) {
  .home-tour-screen {
    padding: 4px 14px 8px;
    gap: 0;
  }

  .home-tour-screen .home-tour-image-shell img {
    width: min(100%, 1680px);
    max-height: calc(100vh - var(--topbar-height) - 14px);
  }

  .home-tour-image-button {
    width: min(100%, 1680px);
    max-height: calc(100vh - var(--topbar-height) - 14px);
  }
}

@media (max-width: 720px) {
  .home-tour-screen {
    padding: 8px 10px 12px;
  }

  .home-tour-screen .home-tour-image-shell {
    justify-content: center;
    overflow: hidden;
  }

  .home-tour-screen .home-tour-image-shell img {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
  }

  .home-tour-image-button {
    width: 100%;
    max-width: calc(100vw - 20px);
    height: clamp(340px, 58vh, 520px);
    max-height: calc(100vh - var(--topbar-height) - 24px);
    overflow: hidden;
  }

  .home-tour-slide:first-child .home-tour-image-shell img {
    object-position: center top;
  }

  .home-tour-slide:nth-child(2) .home-tour-image-shell img {
    object-position: center top;
  }

  .home-tour-image-title {
    top: 8px;
    font-size: 26px;
  }

  .home-tour-floating-arrow {
    width: 34px;
    height: 34px;
  }

  .home-tour-lightbox {
    padding: 12px;
    overflow: auto;
    justify-content: start;
  }

  .home-tour-lightbox img {
    width: auto;
    min-width: 980px;
    max-width: none;
    max-height: calc(100vh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-publish-area,
  .home-tour-screen,
  .home-tour-screen .home-tour-track {
    transition: none;
  }
}

@media (max-height: 760px) and (min-width: 760px) {
  .home-page .topbar:not(.client-shared-topbar) { height: var(--topbar-height); }
  .home-page .hero { height: calc(100vh - var(--topbar-height)); padding: 10px 24px 18px; }
  .home-page .home-publish-area .hero-lockup { width: clamp(255px, 26vw, 330px); margin-bottom: 8px; }
  .home-hero-subtitle { margin-bottom: 16px; font-size: 14px; }
  .home-page .home-wizard[data-current-step="1"] .home-wizard-primary { min-height: 48px; }
  .home-page .home-secondary-path { margin-top: 20px; }
  .home-page .home-wizard:not([data-current-step="1"]) .home-wizard-step { min-height: 258px; padding: 20px 26px; }
}

@media (max-width: 620px) {
  .home-page .home-secondary-path {
    flex-wrap: wrap;
    row-gap: 6px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}


body.home-page.home-step-compact .home-publish-area {
  justify-content: flex-start;
  padding-top: 4px;
}

body.home-page.home-step-compact .home-publish-area .hero-lockup {
  width: clamp(190px, 19vw, 245px);
  margin-bottom: 4px;
}

body.home-page.home-step-compact .home-hero-subtitle {
  margin-bottom: 10px;
  font-size: clamp(13px, 1.15vw, 16px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-viewport {
  width: min(100%, 690px);
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 238px;
  padding: 18px 24px 16px;
}

body.home-page.home-step-compact .home-wizard-step h2 {
  font-size: clamp(20px, 1.75vw, 24px);
}

body.home-page.home-step-compact .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 12px;
}

body.home-page.home-step-compact .home-professional-options {
  margin: 4px 0 14px;
  gap: 7px;
}

body.home-page.home-step-compact .home-professional-chip {
  min-height: 34px;
  padding: 0 12px;
}

body.home-page.home-step-compact .home-wizard-actions {
  margin-top: 14px;
}

body.home-page.home-step-compact .home-wizard-dots {
  margin-top: 4px;
}

body.home-page.home-step-compact .home-secondary-path {
  margin-top: 14px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.home-step-compact .home-publish-area {
    padding-top: 4px;
  }

  body.home-page.home-step-compact .home-publish-area .hero-lockup {
    width: clamp(176px, 18vw, 228px);
    margin-bottom: 2px;
  }

  body.home-page.home-step-compact .home-hero-subtitle {
    margin-bottom: 8px;
    font-size: 13px;
  }

  body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 222px;
    padding: 16px 22px 14px;
  }

  body.home-page.home-step-compact .home-professional-options {
    margin-bottom: 12px;
  }

  body.home-page.home-step-compact .home-secondary-path {
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  body.home-page,
  .home-page .page {
    overflow: auto;
    height: auto;
    min-height: 100vh;
  }

  .home-page .hero {
    height: auto;
    padding: 18px 18px 26px;
  }

  .home-page .home-secondary-path {
    display: grid;
    gap: 6px;
    margin-top: 30px;
  }

  .home-page .home-professional-options {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }
}

/* Publicação pendente após login/cadastro */
.pending-publication-shell {
  min-height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.pending-publication-card {
  max-width: 560px;
  width: min(560px, 100%);
}

.pending-publication-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid #dbe7ff;
  border-radius: 18px;
  background: #f8fbff;
  color: #5f6f92;
  font-size: 14px;
  line-height: 1.45;
}

.pending-publication-summary strong {
  color: #07142f;
}

.pending-publication-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pending-back-link {
  text-decoration: none;
}

@media (max-width: 640px) {
  .pending-publication-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .pending-publication-actions .home-wizard-primary,
  .pending-publication-actions .home-wizard-secondary {
    width: 100%;
  }
}


.results-published-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(21, 185, 87, 0.2);
  border-radius: 16px;
  background: rgba(21, 185, 87, 0.07);
  color: #0f8d43;
}

.results-published-note strong {
  font-size: 14px;
  font-weight: 800;
}

.results-published-note span {
  font-size: 13px;
  font-weight: 700;
}


@media (max-width: 760px) {
  .results-subline {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-pagination {
    margin-left: 0;
    flex-wrap: wrap;
  }
}


/* CHAMA - cadastro profissional mais compacto e automático */
.form-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.photo-description-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.description-inline-field {
  display: grid;
  gap: 8px;
}

.description-inline-field .description-textarea {
  min-height: 92px;
  resize: vertical;
}

.photo-description-row .photo-upload-field {
  align-content: start;
}

@media (max-width: 1280px) {
  .form-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .form-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-description-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .form-grid-five {
    grid-template-columns: 1fr;
  }

  .photo-description-row {
    grid-template-columns: 1fr;
  }
}


/* CHAMA - cadastro profissional compacto com foto ao lado */
.form-head-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.form-head-actions {
  flex: 0 0 auto;
}

.form-save-top {
  height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.specialties-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 18px;
  align-items: start;
}

.photo-upload-side {
  justify-items: start;
  align-content: start;
}

.photo-upload-side .field-title {
  margin-bottom: 10px;
}

.photo-upload-side .image-upload-square {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
}

@media (max-width: 1100px) {
  .form-head-split {
    flex-direction: column;
    align-items: stretch;
  }

  .form-head-actions {
    align-self: flex-end;
  }
}

@media (max-width: 780px) {
  .specialties-photo-row {
    grid-template-columns: 1fr;
  }

  .photo-upload-side {
    justify-items: start;
  }

  .form-head-actions {
    align-self: stretch;
  }

  .form-save-top {
    width: 100%;
  }
}


/* CHAMA - topo do cadastro profissional com foto alinhada */
.form-grid-professional-top {
  grid-template-columns: 84px repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.photo-inline-field {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 0;
  padding-bottom: 0;
}

.photo-inline-field .image-upload-square {
  width: 60px;
  height: 60px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 18px !important;
}

.professional-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23111c4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.professional-form select::-ms-expand {
  display: none;
}

@media (max-width: 1320px) {
  .form-grid-professional-top {
    grid-template-columns: 84px repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .form-grid-professional-top {
    grid-template-columns: 84px repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .form-grid-professional-top {
    grid-template-columns: 1fr;
  }

  .photo-inline-field {
    justify-content: flex-start;
  }
}


/* CHAMA - ajuste do topo na página de cadastro profissional */
.professional-signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.professional-signup-page .topbar {
  width: 100%;
  padding: 0 42px;
}

.professional-signup-page .brand {
  flex: 0 0 auto;
}

.professional-signup-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.professional-signup-nav .login-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .professional-signup-page .topbar {
    padding: 0 18px;
  }

  .professional-signup-nav {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  body.professional-signup-form-page .professional-signup-page > .topbar {
    display: none !important;
  }
}


/* CHAMA - ajustes da página Serviços disponíveis */
.service-filters select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230b1430' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding: 0 40px 0 12px;
  line-height: 42px;
}

.service-filters select::-ms-expand {
  display: none;
}

.service-filters select.search-select-native,
.results-filter-panel select.search-select-native {
  display: none;
}

.search-select {
  position: relative;
  width: 100%;
}

.search-select-field {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-select-field:focus-within,
.search-select.is-open .search-select-field {
  border-color: rgba(18, 97, 241, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}

.search-select-input {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  padding: 0 0 0 12px;
}

.service-filters .search-select-input,
.service-filters .search-select-input:focus {
  min-height: 40px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 0 0 12px;
}

.search-select-button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #07142f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-select-button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.search-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 230px;
  overflow-y: auto;
  display: none;
  padding: 6px;
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(12, 36, 78, 0.14);
}

.search-select.is-open .search-select-list {
  display: grid;
  gap: 2px;
}

.search-select-option {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #07142f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 0 10px;
}

.search-select-option:hover,
.search-select-option.is-active {
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.search-select-empty {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.results-search.search-box .results-filter-panel .search-select {
  width: 100%;
}

.results-search.search-box .results-filter-panel .search-select-field {
  min-height: 40px;
  border-radius: 10px;
  border-color: var(--line);
  background: #fff;
}

.results-search.search-box .results-filter-panel .search-select-input {
  min-height: 38px;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.results-search.search-box .results-filter-panel .search-select-button {
  height: 38px;
  min-width: 36px;
  width: 36px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: #536179;
  box-shadow: none;
}

.results-search.search-box .results-filter-panel .search-select-list {
  z-index: 90;
  border-color: #dbe7ff;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(12, 36, 78, 0.16);
}

.results-search.search-box .results-filter-panel .search-select-option {
  min-height: 34px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  white-space: normal;
}

.results-search.search-box .results-filter-panel .search-select-option:hover,
.results-search.search-box .results-filter-panel .search-select-option.is-active {
  background: #eef4ff;
  color: var(--blue);
}

.search-select.is-disabled .search-select-field {
  background: #f5f7f9;
  color: #9aa6b2;
}

.search-select.is-disabled .search-select-input,
.search-select.is-disabled .search-select-button {
  color: #9aa6b2;
  cursor: not-allowed;
}

/* CHAMA - trava final do enquadramento das imagens automáticas dos serviços */
.service-grid-simple .service-flat-card .service-flat-media,
.service-grid-simple .service-flat-card .service-flat-photo-link {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.service-grid-simple .service-flat-card .service-flat-photo,
.service-grid-simple .service-flat-card .service-flat-placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f7faff !important;
  border-radius: 16px !important;
}

.service-flat-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.service-flat-title small {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #64759a;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.proposal-form-clean textarea,
.proposal-form-clean textarea::placeholder {
  font-family: inherit;
  font-size: clamp(12px, 0.95em, 14px);
  font-weight: 400;
  color: #7d8497;
  letter-spacing: 0;
  opacity: 1;
}

.proposal-form-clean textarea {
  color: var(--text);
  font-weight: 600;
}

.service-proposal-panel > p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* Ajuste CHAMA - navegação profissional e fotos de serviço */
.professional-nav {
  gap: 22px;
}

.professional-nav .nav-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.professional-nav .nav-pill.active {
  color: var(--text);
  border: 0;
  background: transparent;
}

.service-publication-photo-link {
  display: block;
  min-width: 0;
}

.service-publication-photo-link.is-hidden,
.service-gallery-photo.is-hidden {
  display: none;
}

.service-publication-gallery .service-summary-photo-placeholder {
  min-height: 112px;
}



/* CHAMA - menu compacto do profissional */
.professional-top-actions {
  gap: 14px;
  align-items: center;
  overflow: visible;
}

.professional-top-actions > .call-professional-menu {
  display: none;
}

.professional-top-actions > .professional-panel-menu {
  margin: 0;
  align-self: center;
}

.professional-top-actions .client-logout-link {
  margin-left: 4px;
  padding-left: 22px;
}

.professional-panel-menu {
  position: relative;
}

.professional-panel-menu summary {
  list-style: none;
  cursor: pointer;
}

.professional-panel-menu summary::-webkit-details-marker {
  display: none;
}

.professional-panel-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.professional-panel-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .65;
}

.professional-panel-menu[open] .professional-panel-trigger::after {
  transform: rotate(225deg) translateY(-2px);
}

.professional-panel-gear {
  width: 34px;
  height: 34px;
  min-height: 34px;
  justify-content: center;
  gap: 0;
  border-radius: 999px;
  color: #0f172a;
  background: transparent !important;
}

.professional-panel-menu[open] .professional-panel-gear {
  color: var(--blue);
  background: transparent !important;
}

.professional-panel-gear svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: transparent;
}

.professional-panel-gear::after {
  display: none;
}

.client-settings-menu .client-account-link::after {
  display: none;
  content: none;
}

.professional-panel-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: 220px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid #e5eaf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(18, 32, 73, .13);
}

.professional-panel-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: #111b3f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.professional-panel-link:hover,
.professional-panel-link.active {
  background: #f3f6ff;
  color: #115df5;
}

.settings-whatsapp-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #21a65b;
  border-radius: 11px;
  background: #fff;
  color: #18884a !important;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
}

.settings-whatsapp-link:hover {
  border-color: #18884a;
  background: #f2fbf6;
  color: #14713e !important;
}

.settings-whatsapp-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
}

.settings-whatsapp-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.call-professional-menu {
  position: relative;
}

.call-professional-menu summary {
  list-style: none;
  cursor: pointer;
}

.call-professional-menu summary::-webkit-details-marker {
  display: none;
}

.nav-actions .call-professional-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #0f172a;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger) {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #0f172a;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger)::before,
.nav-actions .call-professional-trigger::before {
  content: "";
  position: absolute;
  inset: -2px -14px;
  border-radius: 11px;
  background: transparent;
  z-index: -1;
  transition: background .18s ease;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger):hover,
.nav-actions .call-professional-trigger:hover {
  color: #0f172a;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger):hover::before,
.nav-actions .call-professional-trigger:hover::before {
  background: #f7f9fc;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger).active,
.call-professional-trigger.active,
.call-professional-menu[open] .call-professional-trigger {
  color: var(--blue);
  font-weight: 800;
}

.professional-top-actions > .login-link:not(.client-logout-link):not(.client-account-link):not(.professional-panel-trigger).active::before,
.call-professional-trigger.active::before,
.call-professional-menu[open] .call-professional-trigger::before {
  background: #eef4ff;
}

.call-professional-dropdown {
  position: absolute;
  top: calc(100% + 24px);
  right: 0;
  z-index: 24;
  width: 220px;
  padding: 8px;
  border: 1px solid #e5eaf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(18, 32, 73, .13);
}

.call-professional-menu:not([open]) .call-professional-dropdown {
  display: none;
}

.call-professional-menu:hover .call-professional-dropdown,
.call-professional-menu:focus-within .call-professional-dropdown {
  display: block;
}

.call-professional-menu:hover .call-professional-trigger,
.call-professional-menu:focus-within .call-professional-trigger {
  color: var(--blue);
  font-weight: 800;
}

.call-professional-menu:hover .call-professional-trigger::before,
.call-professional-menu:focus-within .call-professional-trigger::before {
  background: #eef4ff;
}

.call-professional-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #111b3f;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.call-professional-link:hover {
  background: #f3f6ff;
  color: #115df5;
}

.professional-work-page {
  max-width: 980px;
}

.professional-work-list {
  display: grid;
  gap: 14px;
}

.professional-work-card {
  border: 1px solid #e6ebf5;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(23, 38, 84, .06);
}

.professional-work-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.professional-work-head h2 {
  margin: 10px 0 4px;
  font-size: 1.15rem;
}

.professional-work-head p,
.professional-work-head small,
.professional-work-message {
  color: #67708d;
}

.professional-work-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.professional-work-body span {
  background: #f6f8fd;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .86rem;
  color: #222d50;
}

.professional-work-message {
  margin: 14px 0 0;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .professional-panel-dropdown {
    right: -20px;
    width: min(245px, calc(100vw - 32px));
  }

  .call-professional-dropdown {
    right: -20px;
    width: min(220px, calc(100vw - 32px));
  }

  .professional-work-head {
    flex-direction: column;
  }
}

/* Portfolio do profissional */
.professional-portfolio-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 22px 56px;
}

.professional-portfolio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.compact-outline {
  padding: 11px 16px;
  white-space: nowrap;
}

.portfolio-editor-card,
.portfolio-section,
.professional-proposals-history {
  background: #fff;
  border: 1px solid #e5ebf5;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(20, 33, 61, 0.06);
  padding: 20px;
  margin-top: 18px;
}

.portfolio-form {
  display: grid;
  gap: 14px;
}

.portfolio-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portfolio-form label {
  display: grid;
  gap: 8px;
  color: #07143a;
  font-size: .9rem;
  font-weight: 800;
}

.portfolio-form input,
.portfolio-form textarea {
  width: 100%;
  border: 1px solid #e1e8f3;
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #07143a;
  background: #f9fbff;
  outline: none;
}

.portfolio-form textarea {
  resize: vertical;
  min-height: 112px;
}

.portfolio-form input:focus,
.portfolio-form textarea:focus {
  border-color: #1f65f3;
  box-shadow: 0 0 0 4px rgba(31, 101, 243, .10);
  background: #fff;
}

.portfolio-form-actions {
  display: flex;
  justify-content: flex-end;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.portfolio-card {
  border: 1px solid #e6ecf6;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 33, 61, .05);
}

.portfolio-thumb-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: #f4f7fc;
  color: #6b7590;
  text-decoration: none;
  overflow: hidden;
}

.portfolio-thumb-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.portfolio-no-photo {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #7a849b;
  background: #f4f7fc;
}

.portfolio-thumb-wrap:not([href]) .portfolio-no-photo,
.portfolio-thumb-wrap.is-missing .portfolio-no-photo {
  display: flex;
}

.portfolio-card-body {
  display: grid;
  gap: 8px;
  padding: 15px 16px 12px;
}

.portfolio-card-body strong {
  color: #07143a;
  font-size: 1rem;
}

.portfolio-card-body p {
  margin: 0;
  color: #66708a;
  line-height: 1.5;
  font-size: .92rem;
}

.portfolio-card-body small {
  color: #8b94aa;
  font-weight: 700;
}

.portfolio-delete-form {
  display: flex;
  justify-content: flex-end;
  padding: 0 14px 14px;
}

.portfolio-delete-form button {
  border: 0;
  background: #f4f7fc;
  color: #66708a;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.portfolio-delete-form button:hover {
  background: #eef3fb;
  color: #07143a;
}

.compact-section-title {
  margin-bottom: 14px;
}

.compact-section-title h2 {
  margin: 0 0 4px;
  color: #07143a;
}

.compact-section-title p {
  margin: 0;
  color: #6b7590;
}

.public-portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.public-portfolio-card .portfolio-delete-form {
  display: none;
}

@media (max-width: 760px) {
  .professional-portfolio-head,
  .portfolio-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-form-grid {
    grid-template-columns: 1fr;
  }
}


.publish-start-select {
  min-width: 190px;
  height: 54px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 6px 12px;
  background: #fff;
}

.publish-start-select span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.publish-start-select select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.home-start-options {
  max-width: 560px;
}

.service-interest-panel {
  align-content: center;
}

.service-interest-button {
  min-height: 52px;
}


/* Ajuste CHAMA - botão Chama com microanimação de chama */
.chama-button {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.chama-button:not([disabled]):hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 16px 32px rgba(18, 97, 241, 0.22);
}

.chama-flame {
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  transform-origin: 50% 80%;
}

.chama-flame svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.chama-button:not([disabled]):hover .chama-flame {
  animation: chamaFlicker .78s ease-in-out infinite;
}

.chama-sparks {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.chama-sparks i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
}

.chama-sparks i:nth-child(1) { left: -46px; top: -17px; }
.chama-sparks i:nth-child(2) { left: 42px; top: -20px; }
.chama-sparks i:nth-child(3) { left: 28px; top: 10px; }

.chama-button:not([disabled]):hover .chama-sparks i:nth-child(1) { animation: chamaSparkLeft .9s ease-out infinite; }
.chama-button:not([disabled]):hover .chama-sparks i:nth-child(2) { animation: chamaSparkRight 1s ease-out infinite .08s; }
.chama-button:not([disabled]):hover .chama-sparks i:nth-child(3) { animation: chamaSparkSmall .95s ease-out infinite .16s; }

@keyframes chamaFlicker {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  25% { transform: translateY(-1px) rotate(-4deg) scale(1.05); opacity: .96; }
  52% { transform: translateY(0) rotate(3deg) scale(.98); opacity: 1; }
  74% { transform: translateY(-1px) rotate(-2deg) scale(1.04); opacity: .98; }
}

@keyframes chamaSparkLeft {
  0% { transform: translate(0, 0) scale(.4); opacity: 0; }
  30% { opacity: .65; }
  100% { transform: translate(-7px, -10px) scale(0); opacity: 0; }
}

@keyframes chamaSparkRight {
  0% { transform: translate(0, 0) scale(.4); opacity: 0; }
  32% { opacity: .55; }
  100% { transform: translate(8px, -12px) scale(0); opacity: 0; }
}

@keyframes chamaSparkSmall {
  0% { transform: translate(0, 0) scale(.35); opacity: 0; }
  35% { opacity: .45; }
  100% { transform: translate(5px, -7px) scale(0); opacity: 0; }
}


/* Ajuste CHAMA - cards iniciais da home */
.home-choice-cards {
  width: min(790px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-choice-card {
  width: 100%;
  min-height: 208px;
  border: 1px solid #d8e1ef;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 24px 22px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(12, 36, 78, 0.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  font: inherit;
  text-decoration: none;
}

.home-choice-card-client {
  border-color: #d6dfed;
  border-top: 4px solid var(--blue);
}

.home-choice-card-pro {
  border-color: #dde5f2;
}

.home-choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(12, 36, 78, 0.08);
  border-color: #ccd8ea;
}

.home-choice-card-client:hover {
  border-top-color: var(--blue);
}

.home-choice-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #f4f7fd;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-choice-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

.home-choice-avatar-pro {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.home-choice-text {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.home-choice-text strong {
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.home-choice-text small {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.32;
  max-width: 240px;
}

.home-choice-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid #d8e1ef;
  color: var(--blue);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 900px) {
  .home-choice-cards {
    grid-template-columns: 1fr;
    max-width: 372px;
  }

  .home-choice-card {
    min-height: 188px;
    padding: 20px 18px 18px;
    border-radius: 20px;
  }

  .home-choice-text strong {
    font-size: 20px;
  }

  .home-choice-text small {
    font-size: 14px;
  }
}




/* Ajuste solicitado - home: logo reduzida e afastada da linha do topo */
.home-page .home-publish-area .hero-lockup {
  width: clamp(210px, 21.5vw, 275px);
  margin-bottom: 8px;
}

.home-page .home-secondary-path {
  margin-top: 22px;
}

@media (max-height: 760px) and (min-width: 760px) {
  .home-page .home-publish-area .hero-lockup {
    width: clamp(195px, 19vw, 252px);
  }

  .home-choice-cards {
    width: min(760px, 100%);
  }

  .home-choice-card {
    min-height: 198px;
    padding: 21px 20px 18px;
    gap: 11px;
  }

  .home-choice-icon {
    width: 70px;
    height: 70px;
  }

  .home-choice-avatar-pro {
    width: 48px;
    height: 48px;
  }

  .home-page .home-secondary-path {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .home-page .home-publish-area .hero-lockup {
    width: min(70vw, 275px);
  }
}

/* Ajuste CHAMA - cadastro profissional em etapas estilo publicação */
.professional-signup-wizard-page {
  min-height: 100vh;
}

.professional-signup-main {
  min-height: 0;
  padding: 20px 24px 44px;
}

.professional-signup-hero {
  position: relative;
  gap: 0;
  padding-top: 0;
  transform: translateY(-32px);
}

.professional-signup-hero .hero-lockup {
  width: clamp(185px, 18vw, 235px);
  margin-bottom: 4px;
}

.professional-signup-back {
  position: absolute;
  top: 8px;
  left: 0;
}

.professional-signup-wizard {
  width: min(100%, 690px);
}

.professional-signup-track {
  width: 300%;
}

.professional-signup-step {
  width: 33.3333%;
  min-height: 292px;
  padding: 24px 30px 22px;
}

.professional-signup-step h2 {
  font-size: clamp(22px, 2vw, 27px);
}

.professional-signup-options {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100%, 620px);
  margin: 6px 0 18px;
}

.professional-signup-options .home-professional-chip {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 14px;
  border-color: #cfdaed;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(16, 28, 62, 0.03);
}

.professional-signup-options .home-professional-chip:hover,
.professional-signup-options .home-professional-chip.selected {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
}

.professional-signup-step .home-wizard-actions {
  max-width: 520px;
}

.professional-signup-access-grid {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
  text-align: left;
}

.professional-signup-access-grid label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.professional-signup-access-grid label:last-child {
  grid-column: 1 / -1;
}

.professional-signup-access-grid input {
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.professional-signup-access-grid input:focus {
  border-color: rgba(18, 97, 241, .65);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, .10);
}

.professional-signup-city-note {
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.professional-signup-dots {
  margin-top: 8px;
}

.professional-signup-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: 0.2s ease;
}

.professional-signup-dots button.active {
  width: 22px;
  background: var(--blue);
}

@media (max-height: 760px) and (min-width: 760px) {
  .professional-signup-hero {
    transform: translateY(-38px);
  }

  .professional-signup-hero .hero-lockup {
    width: clamp(170px, 16vw, 215px);
    margin-bottom: 2px;
  }

  .professional-signup-step {
    min-height: 268px;
    padding: 22px 28px 20px;
  }

  .professional-signup-options {
    margin-bottom: 12px;
  }
}

@media (max-width: 700px) {
  .professional-signup-main {
    padding: 14px 14px 34px;
  }

  .professional-signup-hero {
    padding-top: 0;
    transform: none;
  }

  .professional-signup-back {
    position: static;
    align-self: flex-start;
    margin-bottom: 8px;
  }

  .professional-signup-hero .hero-lockup {
    width: min(72vw, 245px);
  }

  .professional-signup-step {
    min-height: 320px;
    padding: 22px 16px 20px;
  }

  .professional-signup-options {
    max-height: 136px;
    overflow-y: auto;
    justify-content: center;
  }

  .professional-signup-access-grid {
    grid-template-columns: 1fr;
  }
}

/* Ajuste definitivo CHAMA - cadastro profissional usando a MESMA base visual da publicação */
body.home-page .professional-signup-page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

body.home-page .professional-signup-main {
  height: calc(100vh - var(--topbar-height));
  min-height: 0;
  padding: 18px 24px 24px;
  align-items: stretch;
}

body.home-page .professional-signup-hero {
  width: min(100%, 980px);
  height: 100%;
  padding-top: 0;
  transform: translateY(-18px);
  justify-content: center;
  gap: 0;
}

body.home-page.home-step-compact .professional-signup-hero .hero-lockup,
body.home-page .professional-signup-hero .hero-lockup {
  width: clamp(190px, 19vw, 245px);
  margin: 0 0 4px;
}

body.home-page .professional-signup-hero .home-hero-subtitle {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

body.home-page .professional-signup-wizard {
  width: min(100%, 690px);
  display: grid;
  justify-items: center;
}

body.home-page .professional-signup-wizard .home-wizard-viewport,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-viewport {
  width: min(100%, 690px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 28, 62, 0.07);
}

body.home-page .professional-signup-wizard .home-wizard-track,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-track {
  width: 300%;
  display: flex;
  transition: transform 0.34s ease;
}

body.home-page .professional-signup-wizard .home-wizard-step,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step,
body.home-page.home-step-compact .professional-signup-wizard .home-wizard-step {
  width: 33.3333%;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 24px 16px;
}

body.home-page .professional-signup-wizard .home-wizard-step h2,
body.home-page.home-step-compact .professional-signup-wizard .home-wizard-step h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(20px, 1.75vw, 24px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

body.home-page .professional-signup-wizard .home-wizard-step p:not(.home-step-error),
body.home-page.home-step-compact .professional-signup-wizard .home-wizard-step p:not(.home-step-error) {
  max-width: 520px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.home-page .professional-signup-options,
body.home-page.home-step-compact .professional-signup-options {
  width: auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 7px;
  margin: 4px 0 14px;
  white-space: nowrap;
}

body.home-page .professional-signup-options .home-professional-chip,
body.home-page.home-step-compact .professional-signup-options .home-professional-chip {
  min-height: 34px;
  flex: 0 0 auto;
  border: 1px solid #cfdaed;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 28, 62, 0.03);
  cursor: pointer;
  transition: 0.15s ease;
}

body.home-page .professional-signup-options .home-professional-chip:hover,
body.home-page .professional-signup-options .home-professional-chip.selected,
body.home-page.home-step-compact .professional-signup-options .home-professional-chip:hover,
body.home-page.home-step-compact .professional-signup-options .home-professional-chip.selected {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
}

body.home-page .professional-signup-wizard .home-wizard-actions,
body.home-page.home-step-compact .professional-signup-wizard .home-wizard-actions {
  width: 100%;
  max-width: none;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.home-page .professional-signup-wizard .home-wizard-actions .home-wizard-primary:only-child {
  margin-left: auto;
}

body.home-page .professional-signup-dots,
body.home-page.home-step-compact .professional-signup-dots {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

body.home-page .professional-signup-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: 0.2s ease;
}

body.home-page .professional-signup-dots button.active {
  width: 22px;
  background: var(--blue);
}

body.home-page .professional-signup-access-grid {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 4px 0 0;
  text-align: left;
}

body.home-page .professional-signup-access-grid label,
body.home-page .professional-signup-access-grid label:last-child {
  display: grid;
  grid-column: auto;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

body.home-page .professional-signup-access-grid input {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

body.home-page .professional-signup-city-note {
  margin: 10px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page .professional-signup-main {
    height: calc(100vh - var(--topbar-height));
    padding: 10px 24px 18px;
  }

  body.home-page .professional-signup-hero {
    transform: translateY(-18px);
  }

  body.home-page.home-step-compact .professional-signup-hero .hero-lockup,
  body.home-page .professional-signup-hero .hero-lockup {
    width: clamp(176px, 18vw, 228px);
    margin-bottom: 2px;
  }

  body.home-page .professional-signup-hero .home-hero-subtitle {
    margin-bottom: 8px;
    font-size: 13px;
  }

  body.home-page .professional-signup-wizard .home-wizard-step,
  body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step,
  body.home-page.home-step-compact .professional-signup-wizard .home-wizard-step {
    min-height: 222px;
    padding: 16px 22px 14px;
  }

  body.home-page .professional-signup-options {
    margin-bottom: 12px;
  }
}

@media (max-width: 700px) {
  body.home-page {
    overflow: auto;
  }

  body.home-page .professional-signup-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  body.home-page .professional-signup-main {
    height: auto;
    min-height: calc(100vh - var(--topbar-height));
    padding: 14px 14px 34px;
  }

  body.home-page .professional-signup-hero {
    height: auto;
    transform: none;
  }

  body.home-page .professional-signup-wizard .home-wizard-step,
  body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step {
    min-height: 320px;
    padding: 22px 16px 20px;
  }

  body.home-page .professional-signup-options {
    flex-wrap: wrap;
    white-space: normal;
  }

  body.home-page .professional-signup-access-grid {
    grid-template-columns: 1fr;
  }
}

body.home-page .professional-signup-wizard[data-current-step="1"] .professional-signup-dots {
  display: flex;
}


/* Correção fina CHAMA - cadastro profissional idêntico ao publicar serviço */
body.home-page .professional-signup-page {
  min-height: 100vh;
  overflow: hidden;
}

body.home-page .professional-signup-main {
  min-height: calc(100vh - var(--topbar-height));
  padding: 20px 24px 28px;
}

body.home-page .professional-signup-hero {
  width: min(100%, 980px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding-top: 0;
  transform: translateY(-18px);
}

body.home-page .professional-signup-hero .hero-lockup {
  width: clamp(290px, 29vw, 380px);
  margin: 0 0 10px;
}

body.home-page .professional-signup-hero .home-hero-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

body.home-page .professional-signup-wizard {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
}

body.home-page .professional-signup-wizard .home-wizard-viewport,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-viewport {
  width: min(100%, 720px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

body.home-page .professional-signup-wizard .home-wizard-track,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-track {
  width: 300%;
  display: flex;
  transform: translateX(0);
  transition: transform 0.34s ease;
}

body.home-page .professional-signup-wizard .home-wizard-step,
body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step {
  width: 33.3333%;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 30px 22px;
}

body.home-page .professional-signup-wizard .home-wizard-step h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

body.home-page .professional-signup-wizard .home-wizard-step p:not(.home-step-error) {
  max-width: 520px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.home-page .professional-signup-options {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  white-space: normal;
}

body.home-page .professional-signup-options .home-professional-chip {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-color: #cfdaed;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(16, 28, 62, 0.03);
}

body.home-page .professional-signup-options .home-professional-chip:hover,
body.home-page .professional-signup-options .home-professional-chip.selected {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
}

body.home-page .professional-signup-wizard .home-wizard-actions {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.home-page .professional-signup-wizard .home-wizard-actions .home-wizard-primary:only-child {
  margin-left: auto;
}

body.home-page .professional-signup-dots {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

body.home-page .professional-signup-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: 0.2s ease;
}

body.home-page .professional-signup-dots button.active {
  width: 22px;
  background: var(--blue);
}

body.home-page .professional-signup-access-grid {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  text-align: left;
}

body.home-page .professional-signup-access-grid label,
body.home-page .professional-signup-access-grid label:last-child {
  display: grid;
  grid-column: auto;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

body.home-page .professional-signup-access-grid input {
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

body.home-page .professional-signup-access-grid input:focus {
  border-color: rgba(18, 97, 241, .65);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, .10);
}

body.home-page .professional-signup-wizard[data-current-step="1"] .professional-signup-dots {
  display: flex;
}

@media (min-width: 701px) {
  body.home-page .professional-signup-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  body.home-page .professional-signup-main {
    height: auto;
    min-height: calc(100vh - var(--topbar-height));
    padding-bottom: 64px;
  }

  body.home-page .professional-signup-hero {
    height: auto;
    min-height: 0;
  }

  body.home-page .professional-signup-wizard .home-wizard-step,
  body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step {
    height: auto;
  }
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page .professional-signup-main {
    min-height: calc(100vh - var(--topbar-height));
    padding: 10px 24px 18px;
  }

  body.home-page .professional-signup-hero {
    transform: translateY(-18px);
  }

  body.home-page .professional-signup-hero .hero-lockup {
    width: clamp(255px, 26vw, 330px);
    margin-bottom: 8px;
  }

  body.home-page .professional-signup-hero .home-hero-subtitle {
    margin-bottom: 16px;
    font-size: 14px;
  }

  body.home-page .professional-signup-wizard .home-wizard-step,
  body.home-page .professional-signup-wizard[data-current-step="1"] .home-wizard-step {
    min-height: 258px;
    padding: 20px 26px;
  }
}

@media (max-width: 700px) {
  body.home-page,
  body.home-page .professional-signup-page {
    overflow: auto;
    height: auto;
    min-height: 100vh;
  }

  body.home-page .professional-signup-main {
    min-height: calc(100vh - var(--topbar-height));
    height: auto;
    padding: 18px 18px 26px;
  }

  body.home-page .professional-signup-hero {
    height: auto;
    transform: none;
  }

  body.home-page .professional-signup-hero .hero-lockup {
    width: min(70vw, 275px);
  }

  body.home-page .professional-signup-access-grid {
    grid-template-columns: 1fr;
  }
}


/* Ajuste fino solicitado - cadastro profissional */
body.home-page .professional-signup-hero .hero-lockup {
  width: clamp(250px, 25vw, 330px);
  margin: 0 0 8px;
}

body.home-page .professional-signup-hero .home-hero-subtitle {
  margin: 0 0 16px;
}

body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] {
  min-height: 274px;
}

body.home-page .professional-signup-access-grid {
  width: min(100%, 620px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

body.home-page .professional-signup-access-grid label,
body.home-page .professional-signup-access-grid label:last-child {
  gap: 6px;
  font-size: 12px;
}

body.home-page .professional-signup-access-grid input {
  height: 40px;
  border-radius: 16px;
  padding: 0 12px;
  font-size: 13px;
}

body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .home-wizard-actions {
  margin-top: 16px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page .professional-signup-hero .hero-lockup {
    width: clamp(230px, 23vw, 300px);
    margin-bottom: 6px;
  }

  body.home-page .professional-signup-access-grid input {
    height: 38px;
  }
}

@media (max-width: 700px) {
  body.home-page .professional-signup-hero .hero-lockup {
    width: min(64vw, 240px);
  }
}


/* Ajuste solicitado - mais distância entre topo e logo no cadastro profissional */
body.home-page .professional-signup-main {
  padding-top: 34px;
}

body.home-page .professional-signup-hero {
  transform: translateY(0);
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page .professional-signup-main {
    padding-top: 24px;
  }

  body.home-page .professional-signup-hero {
    transform: translateY(-2px);
  }
}

@media (max-width: 700px) {
  body.home-page .professional-signup-main {
    padding-top: 26px;
  }
}


/* Ajuste solicitado - publicação de serviço */
body.home-page.home-step-compact .home-publish-area {
  padding-top: 18px;
}

body.home-page.home-step-compact .home-publish-area .hero-lockup {
  margin-top: 8px;
  margin-bottom: 6px;
}

body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 206px;
  padding: 14px 22px 12px;
}

body.home-page.home-step-compact .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 10px;
}

body.home-page.home-step-compact .home-professional-options {
  margin: 4px 0 10px;
}

body.home-page.home-step-compact .home-wizard-actions {
  margin-top: 10px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.home-step-compact .home-publish-area {
    padding-top: 16px;
  }

  body.home-page.home-step-compact .home-publish-area .hero-lockup {
    margin-top: 10px;
    margin-bottom: 4px;
  }

  body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 196px;
    padding: 12px 20px 10px;
  }

  body.home-page.home-step-compact .home-wizard-actions {
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  body.home-page.home-step-compact .home-publish-area {
    padding-top: 12px;
  }

  body.home-page.home-step-compact .home-publish-area .hero-lockup {
    margin-top: 8px;
  }
}


/* Ajuste solicitado - diminuir um pouco a altura da publicação de serviço */
body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 188px;
  padding: 12px 20px 10px;
}

body.home-page.home-step-compact .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 8px;
}

body.home-page.home-step-compact .home-professional-options {
  margin: 2px 0 8px;
}

body.home-page.home-step-compact .home-wizard-actions {
  margin-top: 6px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 182px;
    padding: 10px 18px 8px;
  }

  body.home-page.home-step-compact .home-wizard-actions {
    margin-top: 4px;
  }
}


/* Ajuste solicitado - card de serviços */
.service-flat-top {
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.service-flat-photo,
.service-flat-placeholder {
  height: 132px;
}

.service-flat-main {
  min-height: 132px;
  align-content: center;
}

@media (max-width: 760px) {
  .service-flat-top {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
  }

  .service-flat-photo,
  .service-flat-placeholder,
  .service-flat-main {
    min-height: 116px;
    height: 116px;
  }

  .service-flat-main {
    align-content: center;
  }
}


/* Ajuste solicitado - card de serviços: título 20px, menos distância e foto menor */
.service-flat-top {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
}

.service-flat-photo,
.service-flat-placeholder {
  height: 112px;
}

.service-flat-main {
  min-height: 112px;
  gap: 8px;
  align-content: center;
}

.service-flat-main h2 {
  font-size: 20px;
  line-height: 1.04;
}

.service-flat-meta {
  gap: 6px;
}

.service-flat-meta-item {
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .service-flat-top {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .service-flat-photo,
  .service-flat-placeholder,
  .service-flat-main {
    min-height: 100px;
    height: 100px;
  }

  .service-flat-main h2 {
    font-size: 20px;
  }
}


/* Ajuste CHAMA - resumo expansível no card de serviços */
.service-flat-card {
  gap: 14px;
}

.service-flat-summary-collapsible {
  gap: 8px;
}

.service-flat-summary-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.service-flat-summary-toggle strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-flat-summary-toggle-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-flat-summary-caret {
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}

.service-flat-summary-preview {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .18s ease, max-height .18s ease, margin .18s ease, padding .18s ease;
}

.service-flat-summary-box {
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fbfcff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .22s ease, opacity .18s ease, transform .18s ease, padding .18s ease, margin .18s ease, border-color .18s ease;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-preview,
.service-flat-summary-collapsible:hover .service-flat-summary-preview,
.service-flat-summary-collapsible:focus-within .service-flat-summary-preview {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box,
.service-flat-summary-collapsible:hover .service-flat-summary-box,
.service-flat-summary-collapsible:focus-within .service-flat-summary-box {
  max-height: 180px;
  padding: 14px 16px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.service-flat-summary-collapsible.is-open .service-flat-summary-caret,
.service-flat-summary-collapsible:hover .service-flat-summary-caret,
.service-flat-summary-collapsible:focus-within .service-flat-summary-caret {
  transform: rotate(180deg);
}

.service-flat-summary-collapsible.is-open .service-flat-summary-action,
.service-flat-summary-collapsible:hover .service-flat-summary-action,
.service-flat-summary-collapsible:focus-within .service-flat-summary-action {
  color: var(--blue);
}

.service-flat-helper {
  margin-top: -2px;
  font-size: 12.5px;
}

@media (hover: none) {
  .service-flat-summary-collapsible:hover .service-flat-summary-preview {
    opacity: 1;
    max-height: 120px;
    padding: 13px 16px;
    border-width: 1px;
  }

  .service-flat-summary-collapsible:hover .service-flat-summary-box {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    opacity: 0;
  }
}


/* Ajuste solicitado - resumo sem título e botão Chama 17px */
.service-flat-summary-toggle {
  justify-content: flex-start;
}

.service-flat-summary-toggle-main {
  justify-content: flex-start;
  gap: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.service-flat-summary-action {
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.service-flat-summary-caret {
  color: var(--muted);
  font-size: 11px;
  transform-origin: 50% 50%;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-toggle-main,
.service-flat-summary-collapsible:hover .service-flat-summary-toggle-main,
.service-flat-summary-collapsible:focus-within .service-flat-summary-toggle-main {
  color: var(--blue);
}

.service-send-button {
  font-size: 17px;
}

.chama-button:not([disabled]):hover .chama-flame {
  animation: chamaFlicker 1s ease-in-out infinite;
}

.chama-button:not([disabled]):hover .chama-sparks i:nth-child(1) { animation: chamaSparkLeft 1s ease-out infinite; }
.chama-button:not([disabled]):hover .chama-sparks i:nth-child(2) { animation: chamaSparkRight 1s ease-out infinite .08s; }
.chama-button:not([disabled]):hover .chama-sparks i:nth-child(3) { animation: chamaSparkSmall 1s ease-out infinite .16s; }


/* CHAMA - logomarca central clicável para voltar à home */
.hero-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.hero-logo-link .hero-lockup {
  margin-left: auto;
  margin-right: auto;
}


/* CHAMA - foto quebrada volta para Sem foto sem quebrar layout */
.service-summary-media .service-flat-placeholder {
  cursor: default;
}


/* CHAMA - remover balão da foto e abrir foto em modal */
.service-flat-photo-hint {
  display: none !important;
}

/* Resumo: só abre por hover/click exatamente no controle Ver resumo */
.service-flat-summary-collapsible:hover .service-flat-summary-preview,
.service-flat-summary-collapsible:hover .service-flat-summary-box,
.service-flat-summary-collapsible:hover .service-flat-summary-caret,
.service-flat-summary-collapsible:hover .service-flat-summary-action,
.service-flat-summary-collapsible:hover .service-flat-summary-toggle-main {
  /* neutraliza regras antigas de hover no card inteiro */
}

.service-flat-summary-collapsible:hover:not(.is-summary-control-hover) .service-flat-summary-preview {
  opacity: 1;
  max-height: 120px;
  margin: 0;
  padding: 13px 16px;
  border-width: 1px;
}

.service-flat-summary-collapsible:hover:not(.is-summary-control-hover) .service-flat-summary-box {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(-6px);
}

.service-flat-summary-collapsible:hover:not(.is-summary-control-hover) .service-flat-summary-caret {
  transform: rotate(0deg);
}

.service-flat-summary-collapsible:hover:not(.is-summary-control-hover) .service-flat-summary-action,
.service-flat-summary-collapsible:hover:not(.is-summary-control-hover) .service-flat-summary-toggle-main {
  color: var(--text);
}

.service-flat-summary-collapsible.is-summary-control-hover .service-flat-summary-preview,
.service-flat-summary-collapsible.is-open .service-flat-summary-preview,
.service-flat-summary-collapsible:focus-within .service-flat-summary-preview {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.service-flat-summary-collapsible.is-summary-control-hover .service-flat-summary-box,
.service-flat-summary-collapsible.is-open .service-flat-summary-box,
.service-flat-summary-collapsible:focus-within .service-flat-summary-box {
  max-height: 180px;
  padding: 14px 16px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.service-flat-summary-collapsible.is-summary-control-hover .service-flat-summary-caret,
.service-flat-summary-collapsible.is-open .service-flat-summary-caret,
.service-flat-summary-collapsible:focus-within .service-flat-summary-caret {
  transform: rotate(180deg);
}

.service-flat-summary-collapsible.is-summary-control-hover .service-flat-summary-action,
.service-flat-summary-collapsible.is-summary-control-hover .service-flat-summary-toggle-main,
.service-flat-summary-collapsible.is-open .service-flat-summary-action,
.service-flat-summary-collapsible.is-open .service-flat-summary-toggle-main,
.service-flat-summary-collapsible:focus-within .service-flat-summary-action,
.service-flat-summary-collapsible:focus-within .service-flat-summary-toggle-main {
  color: var(--blue);
}

.service-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 20, 48, 0.58);
  backdrop-filter: blur(2px);
}

.service-photo-modal.is-open {
  display: flex;
}

.service-photo-modal-content {
  max-width: min(92vw, 980px);
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 20, 48, 0.28);
}

.service-photo-modal-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
}

.service-photo-missing-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10000;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid #d7e4f7;
  border-radius: 999px;
  background: #ffffff;
  color: #17345f;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(20, 35, 65, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-photo-missing-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 700px) {
  .service-photo-modal {
    padding: 16px;
  }

  .service-photo-modal-content {
    border-radius: 18px;
  }
}


/* Ajuste CHAMA - layout resumo abaixo da foto e toggle abaixo do bairro */
.service-flat-card {
  gap: 12px;
}

.service-flat-main {
  align-content: start;
}

.service-flat-summary-toggle {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 4px;
}

.service-flat-summary-toggle-main {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.service-flat-summary-action {
  color: inherit;
}

.service-flat-summary-collapsible {
  gap: 0;
}

.service-flat-summary-preview {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  white-space: normal;
  overflow: hidden;
  text-overflow: initial;
}

.service-flat-summary-box {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fbfcff;
  opacity: 0;
  transform: translateY(-6px);
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  max-height: 220px;
  margin-top: 8px;
  padding: 14px 16px;
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.service-flat-summary-collapsible.is-open .service-flat-summary-toggle-main,
.service-flat-summary-toggle[aria-expanded="true"] .service-flat-summary-toggle-main {
  color: var(--blue);
}

.service-flat-summary-collapsible.is-open + .service-flat-form {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .service-flat-summary-toggle {
    margin-top: 2px;
  }
}


/* CHAMA - card de serviço mais quadrado */
.service-grid-simple {
  align-items: start;
}

.service-flat-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 20px;
  gap: 12px;
  align-content: start;
}

.service-flat-top {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.service-flat-photo,
.service-flat-placeholder,
.service-flat-main {
  width: 112px;
  height: 112px;
  min-height: 112px;
}

.service-flat-main {
  width: auto;
  gap: 6px;
  align-content: start;
  padding-top: 2px;
}

.service-flat-main h2 {
  font-size: 20px;
  line-height: 1.02;
}

.service-flat-meta {
  gap: 5px;
}

.service-flat-meta-item {
  font-size: 13px;
  line-height: 1.25;
}

.service-flat-summary-toggle {
  margin-top: 3px;
}

.service-flat-summary-action {
  font-size: 14px;
}

.service-flat-summary-preview {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.35;
}

.service-send-button {
  min-height: 52px;
  border-radius: 14px;
}

.service-flat-helper {
  margin-top: -2px;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .service-flat-card {
    aspect-ratio: auto;
    padding: 18px;
  }

  .service-flat-top {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .service-flat-photo,
  .service-flat-placeholder,
  .service-flat-main {
    width: 100px;
    height: 100px;
    min-height: 100px;
  }

  .service-flat-main {
    width: auto;
  }
}


/* CHAMA - 4 cards por linha, quadrado perfeito e conteúdo proporcional */
.service-grid-simple {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start;
}

.service-flat-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  padding: 16px;
  gap: 9px;
  align-content: start;
  overflow: hidden;
}

.service-flat-top {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.service-flat-photo,
.service-flat-placeholder {
  width: 88px;
  height: 88px;
  min-height: 88px;
  border-radius: 16px;
}

.service-flat-placeholder img {
  width: 26px;
  height: 26px;
}

.service-flat-placeholder span {
  font-size: 11px;
}

.service-flat-main {
  width: auto;
  min-height: 88px;
  height: auto;
  gap: 5px;
  align-content: start;
  padding-top: 0;
}

.service-flat-main h2 {
  font-size: 18px;
  line-height: 1.02;
}

.service-flat-meta {
  gap: 4px;
}

.service-flat-meta-item {
  font-size: 12.5px;
  line-height: 1.22;
}

.service-flat-summary-toggle {
  margin-top: 2px;
}

.service-flat-summary-action {
  font-size: 13px;
}

.service-flat-summary-caret {
  font-size: 10px;
}

.service-flat-summary-preview {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.32;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  max-height: 120px;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.35;
}

.service-send-button {
  min-height: 44px;
  border-radius: 13px;
  font-size: 15px;
}

.chama-flame,
.chama-flame svg {
  width: 18px;
  height: 18px;
}

.service-flat-helper {
  margin-top: -3px;
  font-size: 11px;
  line-height: 1.25;
}

@media (max-width: 1200px) {
  .service-grid-simple {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .service-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .service-grid-simple {
    grid-template-columns: 1fr !important;
  }

  .service-flat-card {
    aspect-ratio: auto;
  }
}


/* Ajuste CHAMA - resumo aberto com o mesmo espaçamento do fechado */
.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  margin-top: 0;
}


/* Correção definitiva - remover espaço residual do preview quando resumo abre */
.service-flat-summary-collapsible.is-open .service-flat-summary-preview {
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  margin-top: 0 !important;
  transform: none !important;
}


/* CHAMA - resumo fechado sempre com somente 1 linha */
.service-flat-summary-preview {
  display: block !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 10px 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 20px !important;
}

.service-flat-summary-collapsible:not(.is-open) .service-flat-summary-box {
  display: none !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-preview {
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  display: block !important;
}


/* CHAMA - 3 cards por linha */
.service-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start;
}

@media (max-width: 1000px) {
  .service-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .service-grid-simple {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - 3 cards por linha com conteúdo proporcionalmente maior */
.service-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start;
}

.service-flat-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  padding: 18px;
  gap: 12px;
  align-content: start;
  overflow: hidden;
}

.service-flat-top {
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.service-flat-photo,
.service-flat-placeholder {
  width: 102px;
  height: 102px;
  min-height: 102px;
  border-radius: 18px;
}

.service-flat-placeholder img {
  width: 30px;
  height: 30px;
}

.service-flat-placeholder span {
  font-size: 12px;
}

.service-flat-main {
  width: auto;
  min-height: 102px;
  height: auto;
  gap: 6px;
  align-content: start;
  padding-top: 1px;
}

.service-flat-main h2 {
  font-size: 20px;
  line-height: 1.04;
}

.service-flat-meta {
  gap: 5px;
}

.service-flat-meta-item {
  font-size: 14px;
  line-height: 1.26;
}

.service-flat-summary-toggle {
  margin-top: 3px;
}

.service-flat-summary-action {
  font-size: 14px;
}

.service-flat-summary-caret {
  font-size: 10px;
}

.service-flat-summary-preview {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 11px 14px !important;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 22px !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  max-height: 140px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.4;
}

.service-send-button {
  min-height: 48px;
  border-radius: 14px;
  font-size: 17px;
}

.chama-flame,
.chama-flame svg {
  width: 20px;
  height: 20px;
}

.service-flat-helper {
  margin-top: -1px;
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .service-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .service-grid-simple {
    grid-template-columns: 1fr !important;
  }

  .service-flat-card {
    aspect-ratio: auto;
  }
}


/* CHAMA - Ver resumo abaixo do bloco superior */
.service-flat-summary {
  margin-top: 0;
}

.service-flat-summary .service-flat-summary-toggle {
  justify-content: flex-start;
  width: fit-content;
  margin: 0 0 8px 0;
}

.service-flat-main > .service-flat-summary-toggle {
  display: none !important;
}


/* CHAMA - remover título e subtítulo da página de serviços */
.results-head-compact {
  margin-bottom: 12px;
  padding-bottom: 0;
}

.results-head-compact:empty {
  display: none;
}

.results-head-compact h1,
.results-head-compact p {
  display: none !important;
}


/* CHAMA - layout com imagem grande por profissão */
.service-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start;
}

.service-flat-card {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  padding: 20px !important;
  gap: 14px !important;
  border-radius: 22px;
  overflow: hidden;
}

.service-flat-top {
  display: block !important;
}

.service-flat-media {
  width: 100%;
  margin: 0 0 14px;
}

.service-flat-photo-link {
  width: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.service-flat-photo,
.service-flat-placeholder {
  width: 100% !important;
  height: 172px !important;
  min-height: 172px !important;
  border-radius: 16px !important;
  object-fit: cover;
}

.service-flat-main {
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 0;
}

.service-flat-main h2 {
  font-size: 22px !important;
  line-height: 1.05;
  margin: 0;
}

.service-flat-meta {
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.service-flat-meta-item {
  font-size: 13.5px !important;
  line-height: 1.35;
}

.service-flat-summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.service-flat-summary-preview {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text);
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  font-weight: 700;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.service-flat-summary .service-flat-summary-toggle,
.service-flat-summary-toggle {
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  justify-content: flex-end;
}

.service-flat-summary-action {
  font-size: 13.5px !important;
  color: var(--blue);
  font-weight: 900;
}

.service-flat-summary-caret {
  color: var(--blue);
  font-size: 15px;
}

.service-flat-summary-box {
  max-height: 0;
  margin-top: 0;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: #fbfcff;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  max-height: 150px;
  margin-top: 10px;
  padding: 12px 14px;
  border-color: var(--line);
  opacity: 1;
  transform: none;
  font-size: 13px;
  line-height: 1.4;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-preview {
  display: none !important;
}

.service-send-button {
  min-height: 48px !important;
  border-radius: 13px;
  font-size: 17px !important;
}

.chama-flame,
.chama-flame svg {
  width: 19px;
  height: 19px;
}

.service-flat-helper {
  margin: -2px 0 0;
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .service-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .service-grid-simple {
    grid-template-columns: 1fr !important;
  }

  .service-flat-photo,
  .service-flat-placeholder {
    height: 160px !important;
    min-height: 160px !important;
  }
}

/* CHAMA - trava o enquadramento das imagens automáticas dos serviços */
.service-grid-simple .service-flat-card .service-flat-media,
.service-grid-simple .service-flat-card .service-flat-photo-link {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.service-grid-simple .service-flat-card .service-flat-photo,
.service-grid-simple .service-flat-card .service-flat-placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px !important;
}


/* CHAMA - correção Ver resumo: não sumir conteúdo ao abrir */
.service-flat-summary-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

.service-flat-summary-preview {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: none !important;
  color: var(--text) !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.service-flat-summary-box {
  display: none !important;
  max-height: none !important;
  margin-top: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 15px !important;
  background: #fbfcff !important;
  opacity: 1 !important;
  transform: none !important;
  color: var(--text) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-preview {
  display: none !important;
}

.service-flat-summary-collapsible.is-open .service-flat-summary-box {
  display: block !important;
}

.service-flat-summary-toggle {
  cursor: pointer !important;
}

.service-flat-summary-toggle[aria-expanded="true"] .service-flat-summary-action,
.service-flat-summary-collapsible.is-open .service-flat-summary-action {
  color: var(--blue) !important;
}

/* CHAMA - resumo abre somente pelo clique no "Ver resumo" */
.service-flat-summary-collapsible:not(.is-open):hover .service-flat-summary-preview,
.service-flat-summary-collapsible:not(.is-open):focus-within .service-flat-summary-preview {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
}

.service-flat-summary-collapsible:not(.is-open):hover .service-flat-summary-box,
.service-flat-summary-collapsible:not(.is-open):focus-within .service-flat-summary-box {
  display: none !important;
}

.service-flat-summary-collapsible:not(.is-open):hover .service-flat-summary-caret,
.service-flat-summary-collapsible:not(.is-open):focus-within .service-flat-summary-caret {
  transform: none !important;
}

.service-flat-summary-collapsible:not(.is-open):hover .service-flat-summary-action,
.service-flat-summary-collapsible:not(.is-open):hover .service-flat-summary-toggle-main,
.service-flat-summary-collapsible:not(.is-open):focus-within .service-flat-summary-action,
.service-flat-summary-collapsible:not(.is-open):focus-within .service-flat-summary-toggle-main {
  color: var(--text) !important;
}

/* CHAMA - Admin estruturado com menu lateral */
.admin-shell-body {
  min-height: 100vh;
  margin: 0;
  background: #f7faff;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-shell-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 20;
}

.admin-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  color: var(--text);
  text-decoration: none;
}

.admin-shell-brand img {
  width: 30px;
  height: 30px;
  display: block;
}

.admin-shell-brand span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.admin-shell-nav {
  display: grid;
  gap: 5px;
}

.admin-shell-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-radius: 12px;
  color: #617089;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.admin-shell-nav a:hover {
  background: #f2f7ff;
  color: var(--blue);
}

.admin-shell-nav a.active {
  background: #eaf2ff;
  color: var(--blue);
}

.admin-menu-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.admin-shell-footer {
  margin-top: auto;
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-shell-footer a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #6d7890;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.admin-shell-footer a:hover {
  background: #f4f7fb;
  color: var(--text);
}

.admin-shell-main {
  margin-left: 244px;
  padding: 32px 34px 56px;
}

.admin-shell-head {
  margin: 0 0 22px;
}

.admin-shell-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.admin-shell-head h1 {
  margin: 12px 0 6px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.admin-shell-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-shell-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-shell-stats article,
.admin-shell-modules a,
.admin-card-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.admin-shell-stats article {
  padding: 18px;
}

.admin-shell-stats strong {
  display: block;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-shell-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-activity {
  margin: 0 0 18px;
}

.admin-activity h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.admin-activity-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-activity-cards article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.admin-activity-cards span,
.admin-activity-cards strong,
.admin-activity-cards small {
  display: block;
}

.admin-activity-cards span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-activity-cards strong {
  margin-top: 8px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-activity-cards small {
  margin-top: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.admin-pending-summary {
  margin: -2px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.admin-pending-summary a {
  color: var(--blue);
  text-decoration: none;
  font-size: 12px;
}

.admin-shell-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-shell-modules a {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-shell-modules a:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 97, 241, 0.30);
  box-shadow: 0 16px 34px rgba(18, 97, 241, 0.08);
}

.admin-shell-modules strong {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.admin-shell-modules span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.admin-card-panel {
  padding: 18px;
  margin-bottom: 16px;
}

.admin-card-panel h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.admin-card-panel .admin-toggle-card {
  max-width: 360px;
  margin: 0;
}

.admin-inline-form,
.admin-row-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.admin-inline-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.admin-inline-form input,
.admin-row-form input {
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 11px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-inline-form button,
.admin-row-form button {
  height: 38px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-info-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
}

.admin-info-grid strong,
.admin-info-grid span {
  display: block;
}

.admin-info-grid strong {
  font-size: 13px;
}

.admin-info-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-shell-main .admin-section {
  margin: 0 0 16px;
}

.admin-shell-main .admin-section-head h2 {
  font-size: 18px;
}

@media (max-width: 1100px) {
  .admin-shell-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-shell-sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-shell-main {
    margin-left: 0;
    padding: 24px 18px 44px;
  }

  .admin-shell-stats,
  .admin-shell-modules,
  .admin-activity-cards {
    grid-template-columns: 1fr;
  }

  .admin-section-head-with-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-section-actions {
    justify-content: flex-start;
  }

  .admin-service-details {
    position: static;
  }

  .admin-service-details-panel {
    position: fixed;
    inset: 88px 14px 18px;
    width: auto;
    max-height: none;
  }

  .admin-details-grid {
    grid-template-columns: 1fr;
  }
}


/* CHAMA - /publicar-servico usa fluxo em etapas, sem modelo antigo */
body.home-page.publish-direct-page .hero {
  height: auto;
  min-height: calc(100vh - var(--topbar-height));
  padding-bottom: 52px;
}

body.home-page.publish-direct-page .home-publish-area {
  width: min(100%, 980px);
  height: auto;
  min-height: 100%;
  justify-content: flex-start;
  padding-top: 18px;
  padding-bottom: 28px;
  transform: none;
  gap: 0;
}

body.home-page.publish-direct-page .home-publish-area .hero-lockup {
  width: clamp(168px, 16vw, 218px);
  margin: 0 0 8px;
}

body.home-page.publish-direct-page .home-hero-subtitle {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.35;
}

body.home-page.publish-direct-page .home-wizard {
  width: min(100%, 690px);
  margin-top: 0;
}

body.home-page.publish-direct-page .home-wizard-viewport {
  width: 100%;
  border: 1px solid #dbe5f4;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(16, 28, 62, 0.04);
}

.publish-direct-page .home-wizard-start {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

.publish-direct-page .home-wizard-track {
  width: 600% !important;
}

.publish-direct-page .home-wizard-step[data-step="2"] {
  display: flex !important;
}

.publish-direct-page .home-wizard-secondary[hidden] {
  visibility: hidden !important;
  display: inline-flex !important;
}

body.home-page.publish-direct-page .home-wizard-step {
  min-height: 258px;
  padding: 30px 28px 24px;
}

body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
  min-height: 258px;
  padding: 30px 28px 24px;
}

body.home-page.publish-direct-page .home-wizard-step:not(.active) {
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

body.home-page.publish-direct-page .home-wizard-kicker {
  margin-bottom: 8px;
}

body.home-page.publish-direct-page .home-wizard-step h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 25px);
}

body.home-page.publish-direct-page .home-wizard-step p:not(.home-step-error) {
  margin-bottom: 10px;
}

body.home-page.publish-direct-page .home-professional-options {
  margin: 0 0 2px;
}

body.home-page.publish-direct-page .home-wizard-actions {
  margin-top: 6px;
}

body.home-page.publish-direct-page .home-wizard-primary {
  min-width: 124px;
  min-height: 48px;
  border-radius: 14px;
}

body.home-page.publish-direct-page .home-step-error {
  display: none !important;
}

body.home-page.publish-direct-page .home-wizard-dots {
  margin-top: 6px;
}

body.home-page.publish-direct-page .home-secondary-path {
  margin-top: 6px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] {
  min-height: 226px;
  padding: 20px 32px 24px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] h2 {
  margin-bottom: 6px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] p {
  margin-bottom: 10px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
  width: min(100%, 468px);
  gap: 5px;
  padding: 10px 12px;
  border-radius: 14px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary span {
  line-height: 1.35;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-summary-local-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-summary-local-row > span {
  min-width: 0;
  display: block;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-actions {
  margin-top: 6px;
}

body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
  min-height: 226px;
  padding: 20px 32px 24px;
}

.publish-direct-page .home-wizard-dots [hidden] {
  display: none !important;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.publish-direct-page .hero {
    padding-bottom: 44px;
  }

  body.home-page.publish-direct-page .home-publish-area {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  body.home-page.publish-direct-page .home-publish-area .hero-lockup {
    width: clamp(150px, 14vw, 190px);
    margin-bottom: 6px;
  }

  body.home-page.publish-direct-page .home-hero-subtitle {
    margin-bottom: 18px;
  }

  body.home-page.publish-direct-page .home-wizard-step {
    min-height: 260px;
    padding: 30px 26px 28px;
  }

  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 260px;
    padding: 30px 26px 28px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] {
    min-height: 214px;
    padding: 18px 28px 22px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
    gap: 5px;
    padding: 9px 12px;
  }

  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
    min-height: 214px;
    padding: 18px 28px 22px;
  }
}

@media (max-width: 700px) {
  body.home-page.publish-direct-page .hero {
    padding-bottom: 40px;
  }

  body.home-page.publish-direct-page .home-publish-area {
    padding: 18px 0 28px;
  }

  body.home-page.publish-direct-page .home-publish-area .hero-lockup {
    width: min(68vw, 184px);
  }

  body.home-page.publish-direct-page .home-hero-subtitle {
    margin-bottom: 18px;
    font-size: 13px;
  }

  body.home-page.publish-direct-page .home-wizard {
    width: min(100%, 360px);
  }

  body.home-page.publish-direct-page .home-wizard-step {
    min-height: 300px;
    padding: 22px 18px 22px;
  }

  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 300px;
    padding: 22px 18px 22px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] {
    min-height: 300px;
    padding: 22px 18px 22px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
    width: 100%;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-summary-local-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.home-page.publish-direct-page .topbar {
    gap: 10px;
  }

  body.home-page.publish-direct-page .brand {
    gap: 8px;
  }

  body.home-page.publish-direct-page .brand-name {
    font-size: 16px;
  }

  body.home-page.publish-direct-page .nav-actions {
    gap: 8px;
  }

  .publish-direct-page .home-professional-options {
    gap: 7px;
  }

  body.home-page.publish-direct-page .home-wizard-dots {
    margin-top: 8px;
  }

  body.home-page.publish-direct-page .home-secondary-path {
    margin-top: 8px;
  }
}


/* CHAMA - profissões editáveis com Mais profissões */
.home-professional-options-compact {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-more-professions-toggle {
  border-style: dashed !important;
  background: #f8fbff !important;
}

.home-more-professions {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.home-more-professions[hidden] {
  display: none !important;
}

.admin-check-label {
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-check-label input {
  width: 15px;
  height: 15px;
  padding: 0;
}

.admin-check-label.small {
  min-height: 34px;
}

@media (max-width: 760px) {
  .home-professional-options-compact {
    max-width: 100%;
  }

  .home-more-professions {
    justify-content: center;
  }
}


/* CHAMA - botão + Profissões editável pelo Admin */
.home-professional-options-compact {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.home-more-professions-toggle {
  border-style: dashed !important;
  background: #f8fbff !important;
  color: var(--blue) !important;
}

.home-more-professions {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.home-more-professions[hidden] {
  display: none !important;
}


/* CHAMA - profissões extras deslizando, sem quebrar embaixo */
.home-profession-slider {
  width: min(100%, 680px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.home-profession-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.home-profession-slider-track {
  display: flex;
  width: 200%;
  transform: translateX(0);
  transition: transform 280ms ease;
  will-change: transform;
}

.home-profession-slider.is-showing-more .home-profession-slider-track {
  transform: translateX(-50%);
}

.home-profession-slide {
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-height: 44px;
  padding: 0 4px;
}

.home-profession-slide-extra {
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: thin;
  padding-bottom: 3px;
}

.home-profession-slide-extra::-webkit-scrollbar {
  height: 4px;
}

.home-profession-slide-extra::-webkit-scrollbar-thumb {
  background: rgba(18, 97, 241, .25);
  border-radius: 999px;
}

.home-profession-slider .home-professional-chip {
  flex: 0 0 auto;
  white-space: nowrap;
}

.home-more-professions-toggle,
.home-more-professions-back {
  border-style: dashed !important;
  background: #f8fbff !important;
  color: var(--blue) !important;
}

.home-more-professions {
  display: none !important;
}

@media (max-width: 700px) {
  .home-profession-slider {
    width: 100%;
    max-width: 100%;
  }

  .home-profession-slide {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }
}


/* CHAMA - profissões compactas dentro da etapa */
.home-profession-window {
  width: min(100%, 560px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  display: flex !important;
  justify-content: center;
  align-items: center;
  column-gap: 7px;
  row-gap: 8px;
  flex-wrap: wrap !important;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.home-profession-window .home-professional-chip {
  flex: 0 0 calc((100% - 28px) / 5);
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  min-height: 34px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  justify-content: center;
}

.professional-signup-professions {
  width: min(100%, 660px);
  max-width: 660px;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.professional-signup-professions .home-professional-chip {
  width: 100%;
  white-space: normal;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.home-profession-window [data-profession-window-item].is-window-hidden {
  display: inline-flex !important;
}

.home-profession-window .home-more-professions-toggle {
  border-style: dashed !important;
  background: #f8fbff !important;
  color: var(--blue) !important;
}

.home-profession-window.is-moving [data-profession-window-item],
.home-profession-window.is-moving .home-more-professions-toggle {
  animation: professionWindowSlide 190ms ease both;
}

@keyframes professionWindowSlide {
  from {
    opacity: .35;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-profession-slider,
.home-profession-slider-viewport,
.home-profession-slider-track,
.home-profession-slide,
.home-profession-slide-extra {
  all: unset;
}

@media (max-width: 700px) {
  .home-profession-window {
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .professional-signup-professions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .professional-signup-professions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CHAMA - Admin cidades e bairros */
.admin-locality-card {
  display: grid;
  gap: 16px;
}

.admin-locality-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-locality-head h2 {
  margin: 0 0 4px !important;
}

.admin-locality-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-city-form {
  padding-bottom: 4px;
}

.admin-locality-actions {
  margin-top: -4px;
}

.admin-neighborhood-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.admin-neighborhood-box h3 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: -0.03em;
}

@media (max-width: 760px) {
  .admin-locality-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* CHAMA - cidade em linha única no Admin */
.admin-city-one-line {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

.admin-city-one-line .admin-city-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) 90px 110px auto;
  gap: 10px;
  align-items: end;
  flex: 1 1 auto;
  min-width: 0;
}

.admin-city-one-line form {
  margin: 0;
}

.admin-city-one-line .small-button,
.admin-city-one-line .admin-city-form button {
  height: 38px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .admin-city-one-line {
    flex-wrap: wrap;
  }

  .admin-city-one-line .admin-city-form {
    grid-template-columns: 1fr 80px 100px auto;
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .admin-city-one-line .admin-city-form {
    grid-template-columns: 1fr;
  }
}


/* CHAMA - campos de cidade compactos */
.admin-city-one-line {
  gap: 8px !important;
  align-items: end !important;
}

.admin-city-one-line .admin-city-form {
  display: grid !important;
  grid-template-columns: minmax(220px, 360px) 86px 78px 104px !important;
  gap: 8px !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.admin-city-one-line .admin-city-form label,
.admin-city-one-line .admin-city-form input {
  min-width: 0 !important;
}

.admin-city-one-line .admin-city-form input {
  width: 100% !important;
}

.admin-city-one-line .admin-city-form button,
.admin-city-one-line .small-button {
  width: auto !important;
  min-width: 104px !important;
  height: 38px !important;
  padding: 0 14px !important;
  white-space: nowrap !important;
}

.admin-city-one-line form:not(.admin-city-form) {
  flex: 0 0 auto !important;
}

@media (max-width: 1120px) {
  .admin-city-one-line {
    flex-wrap: wrap !important;
  }

  .admin-city-one-line .admin-city-form {
    grid-template-columns: minmax(220px, 1fr) 80px 80px 96px !important;
    flex: 1 1 100% !important;
  }

  .admin-city-one-line .admin-city-form button,
  .admin-city-one-line .small-button {
    min-width: 96px !important;
  }
}

@media (max-width: 640px) {
  .admin-city-one-line .admin-city-form {
    grid-template-columns: 1fr !important;
  }
}

/* CHAMA - Localidades separadas no menu */
.admin-nav-group {
  display: grid;
  gap: 4px;
  margin: 6px 0;
  padding: 8px 8px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
}

.admin-nav-group > span {
  color: #75809a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 4px 2px;
}

.admin-shell-nav .admin-sub-link {
  min-height: 32px;
  padding-left: 12px;
  font-size: 12px;
  border-radius: 10px;
}

.admin-city-list {
  display: grid;
  gap: 10px;
}

.admin-city-separated-row {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}


/* CHAMA - Cidades refinado separado de bairros */
.admin-cities-clean-panel {
  padding: 18px !important;
}

.admin-cities-clean-list {
  display: grid;
  gap: 10px;
}

.admin-city-clean-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  align-items: end;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-city-edit-line {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 86px auto;
  align-items: end;
  gap: 10px;
  min-width: 0;
}

.admin-city-edit-line label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  min-width: 0;
}

.admin-city-edit-line input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-order-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.order-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.order-arrow:hover {
  background: #eef4ff;
}

.admin-status-form {
  margin: 0;
}

.status-click {
  border: 0;
  cursor: pointer;
}

.status-pill.off,
.status-click.danger-status {
  background: #fff1f1 !important;
  color: #d33b3b !important;
}

.small-button.edit {
  background: #eef4ff !important;
  color: var(--blue) !important;
}

.admin-nav-collapsible {
  padding: 6px 8px !important;
}

.admin-nav-collapsible summary {
  list-style: none;
  cursor: pointer;
  color: #75809a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px;
  border-radius: 8px;
}

.admin-nav-collapsible summary::-webkit-details-marker {
  display: none;
}

.admin-nav-collapsible:not([open]) .admin-sub-link {
  display: none !important;
}

.admin-nav-collapsible[open] summary {
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .admin-city-clean-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-city-edit-line {
    grid-template-columns: 1fr 80px auto;
  }
}

@media (max-width: 640px) {
  .admin-city-edit-line {
    grid-template-columns: 1fr;
  }
}


/* CHAMA - ajustes Localidades menu e Cidades */
.admin-nav-localidades {
  display: grid;
  gap: 4px;
}

.admin-nav-localidades > a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  color: #53607a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.admin-nav-localidades > a:hover {
  background: #f1f6ff;
  color: var(--blue);
}

.admin-nav-localidades > a.active {
  background: #eaf2ff;
  color: var(--blue);
}

.admin-nav-sub-links {
  display: grid;
  gap: 4px;
  padding-left: 10px;
  margin-top: 2px;
}

.admin-shell-nav .admin-nav-sub-links .admin-sub-link {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}

.admin-nav-group,
.admin-nav-collapsible {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.admin-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-add-button {
  min-height: 40px;
  border: 0;
  border-radius: 13px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 97, 241, .14);
}

.admin-add-city-panel[hidden] {
  display: none !important;
}

.admin-city-clean-row {
  grid-template-columns: minmax(260px, 1fr) auto auto auto !important;
}

.admin-city-edit-line {
  grid-template-columns: minmax(240px, 420px) 86px !important;
}

.admin-edit-save-button {
  width: 82px !important;
  min-width: 82px !important;
  display: none !important;
}

.admin-delete-button {
  width: 82px !important;
  min-width: 82px !important;
}

.admin-city-clean-row:hover .admin-edit-save-button,
.admin-city-edit-line:focus-within .admin-edit-save-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.admin-city-clean-row:has(.admin-city-edit-line:focus-within) {
  grid-template-columns: minmax(260px, 1fr) auto auto auto auto !important;
}

@supports not selector(:has(*)) {
  .admin-edit-save-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .admin-city-edit-line {
    grid-template-columns: minmax(240px, 420px) 86px 82px !important;
  }
}

@media (max-width: 980px) {
  .admin-head-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-add-button {
    width: max-content;
  }

  .admin-city-clean-row,
  .admin-city-clean-row:has(.admin-city-edit-line:focus-within) {
    grid-template-columns: 1fr !important;
  }

  .admin-city-edit-line {
    grid-template-columns: 1fr 80px 82px !important;
  }

  .admin-edit-save-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .admin-city-edit-line {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - posição correta Adicionar e Editar em Cidades */
.admin-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel-title-row h2 {
  margin: 0 !important;
}

.admin-add-button-inline {
  min-height: 38px !important;
  padding: 0 16px !important;
  box-shadow: 0 8px 18px rgba(18, 97, 241, .12) !important;
}

.admin-city-clean-row {
  grid-template-columns: minmax(360px, 1fr) auto auto auto auto !important;
  align-items: end !important;
}

.admin-city-edit-line {
  display: grid !important;
  grid-template-columns: minmax(260px, 420px) 86px !important;
  gap: 10px !important;
  align-items: end !important;
  min-width: 0 !important;
}

.admin-city-edit-line label {
  min-width: 0 !important;
}

.admin-city-edit-line input {
  width: 100% !important;
  min-width: 0 !important;
}

.admin-edit-save-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 82px !important;
  min-width: 82px !important;
  height: 38px !important;
}

.admin-delete-button {
  width: 82px !important;
  min-width: 82px !important;
  height: 38px !important;
}

@media (max-width: 980px) {
  .admin-city-clean-row {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .admin-city-edit-line {
    grid-template-columns: 1fr 80px !important;
  }

  .admin-panel-title-row {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .admin-panel-title-row {
    flex-direction: column;
  }

  .admin-add-button-inline {
    width: max-content;
  }

  .admin-city-edit-line {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - garantir painel adicionar cidade */
.admin-add-city-panel[hidden] {
  display: none !important;
}

.admin-add-city-panel:not([hidden]) {
  display: block !important;
}


/* CHAMA - Bairros estruturado por cidade */
.admin-bairros-title-row {
  align-items: end;
}

.admin-bairros-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
}

.admin-city-picker-form {
  margin: 0;
}

.admin-city-picker-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.admin-city-picker-form select {
  min-width: 220px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 11px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-current-city-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.admin-add-bairro-panel[hidden] {
  display: none !important;
}

.admin-add-bairro-panel:not([hidden]) {
  display: block !important;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .admin-bairros-toolbar {
    width: 100%;
    flex-wrap: wrap;
  }
}


/* CHAMA - linhas de cidades e bairros sem rótulos repetidos */
.admin-clean-list-header {
  display: grid;
  align-items: end;
  gap: 10px;
  margin: 8px 0 7px;
  padding: 0 0 0 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.admin-city-list-header {
  grid-template-columns: minmax(260px, 1fr) auto auto auto 82px 82px;
}

.admin-bairro-list-header {
  grid-template-columns: minmax(260px, 1fr) 140px auto auto 82px 82px;
}

.admin-clean-list-header span:nth-child(3) {
  min-width: 66px;
}

.admin-city-clean-row-aligned,
.admin-bairro-clean-row-aligned {
  grid-template-columns: minmax(260px, 1fr) auto auto 82px 82px !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 8px;
}

.admin-city-edit-line-flat,
.admin-bairro-edit-line-flat {
  display: grid !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
}

.admin-city-edit-line-flat {
  grid-template-columns: minmax(260px, 1fr) 86px !important;
}

.admin-bairro-edit-line-flat {
  grid-template-columns: minmax(260px, 1fr) 140px !important;
}

.admin-city-edit-line-flat input,
.admin-bairro-edit-line-flat input {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  padding: 0 11px !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.admin-bairro-edit-line-flat input[disabled] {
  background: #f8fbff !important;
  color: var(--muted) !important;
}

.admin-city-clean-row-aligned .admin-order-buttons,
.admin-bairro-clean-row-aligned .admin-order-buttons,
.admin-city-clean-row-aligned .admin-status-form,
.admin-bairro-clean-row-aligned .admin-status-form {
  align-self: center !important;
}

.admin-edit-save-button,
.admin-delete-button {
  width: 82px !important;
  min-width: 82px !important;
  height: 38px !important;
}

@media (max-width: 980px) {
  .admin-clean-list-header {
    display: none !important;
  }

  .admin-city-clean-row-aligned,
  .admin-bairro-clean-row-aligned {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .admin-city-edit-line-flat,
  .admin-bairro-edit-line-flat {
    grid-template-columns: 1fr 90px !important;
  }

  .admin-bairro-edit-line-flat {
    grid-template-columns: 1fr 140px !important;
  }
}

@media (max-width: 640px) {
  .admin-city-edit-line-flat,
  .admin-bairro-edit-line-flat {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - bairros com Bairro/Cidade metade-metade */
.admin-bairro-list-header {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto auto 82px 82px !important;
}

.admin-bairro-edit-line-flat {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) !important;
}

.admin-bairro-clean-row-aligned {
  grid-template-columns: minmax(320px, 1fr) auto auto 82px 82px !important;
}

@media (max-width: 980px) {
  .admin-bairro-edit-line-flat {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .admin-bairro-edit-line-flat {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - seleção de profissão no cadastro profissional */
#professionalSignupForm .home-professional-chip.selected,
#professionalSignupForm .home-professional-chip[aria-pressed="true"] {
  border-color: var(--blue) !important;
  background: #eef4ff !important;
  color: var(--blue) !important;
}

/* CHAMA - cadastro profissional em formulário único */
body.home-page .professional-signup-form {
  width: min(100%, 760px);
  margin: 0 auto;
}

body.home-page .professional-signup-card {
  width: 100%;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

body.home-page .professional-signup-head {
  margin-bottom: 24px;
  text-align: center;
}

body.home-page .professional-signup-head h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

body.home-page .professional-signup-head p,
body.home-page .professional-signup-section p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

body.home-page .professional-signup-section {
  padding: 20px 0;
  border-top: 1px solid #edf2fb;
}

body.home-page .professional-signup-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

body.home-page .professional-signup-section h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.home-page .professional-signup-form .professional-signup-options {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin: 14px 0 0;
  white-space: normal;
}

body.home-page .professional-signup-form .home-professional-chip {
  min-height: 38px;
  padding: 0 14px;
  border-color: #cfdaed;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(16, 28, 62, 0.03);
}

body.home-page .professional-signup-form .home-professional-chip:hover,
body.home-page .professional-signup-form .home-professional-chip.selected,
body.home-page .professional-signup-form .home-professional-chip[aria-pressed="true"] {
  border-color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

body.home-page .professional-signup-form .professional-signup-access-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.home-page .professional-signup-form .professional-signup-access-grid label {
  display: grid;
  gap: 7px;
  grid-column: auto;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

body.home-page .professional-signup-form .professional-signup-access-grid label:last-child {
  grid-column: auto;
}

body.home-page .professional-signup-form .professional-signup-access-grid input {
  width: 100%;
  height: 48px;
  border: 1px solid #d6e0f1;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.home-page .professional-signup-form .professional-signup-access-grid input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.12);
}

body.home-page .professional-signup-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

body.home-page .professional-signup-actions .home-wizard-primary {
  min-width: 210px;
}

/* CHAMA - refino visual leve do cadastro profissional curto */
body.home-page .professional-signup-form .professional-signup-head {
  margin-bottom: 14px;
}

body.home-page .professional-signup-form .professional-signup-head h1 {
  margin-bottom: 0;
}

body.home-page .professional-signup-form .professional-signup-section {
  padding: 15px 0;
}

body.home-page .professional-signup-form .professional-signup-section h2 {
  margin-bottom: 10px;
}

body.home-page .professional-signup-form .professional-signup-options {
  margin-top: 0;
  gap: 7px;
}

body.home-page .professional-signup-form .home-professional-chip {
  min-height: 34px;
  padding-inline: 12px;
}

body.home-page .professional-signup-form .professional-signup-access-grid {
  margin-top: 0;
}

body.home-page .professional-signup-form .professional-signup-actions {
  margin-top: 16px;
}

/* CHAMA - ajuste compacto do cadastro profissional único */
@media (min-width: 721px) {
  body.home-page .professional-signup-page {
    overflow-y: auto;
  }

  body.home-page .professional-signup-main {
    min-height: calc(100vh - var(--topbar-height));
    padding: 10px 24px 18px;
  }

  body.home-page .professional-signup-hero {
    width: min(100%, 900px);
    justify-content: flex-start;
    transform: none;
    padding-top: 6px;
  }

  body.home-page .professional-signup-hero .hero-lockup {
    width: clamp(190px, 18vw, 245px);
    margin: 0 0 2px;
  }

  body.home-page .professional-signup-hero .home-hero-subtitle {
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 1.25;
  }

  body.home-page .professional-signup-form {
    width: min(100%, 720px);
  }

  body.home-page .professional-signup-card {
    padding: 18px 22px 20px;
    border-radius: 20px;
  }

  body.home-page .professional-signup-head {
    margin-bottom: 10px;
  }

  body.home-page .professional-signup-head h1 {
    margin-bottom: 4px;
    font-size: clamp(24px, 2.3vw, 30px);
  }

  body.home-page .professional-signup-head p,
  body.home-page .professional-signup-section p {
    font-size: 12.5px;
    line-height: 1.3;
  }

  body.home-page .professional-signup-section {
    padding: 10px 0;
  }

  body.home-page .professional-signup-section h2 {
    margin-bottom: 8px;
    font-size: 0.98rem;
  }

  body.home-page .professional-signup-form .professional-signup-options {
    gap: 6px;
    margin-top: 0;
  }

  body.home-page .professional-signup-form .home-professional-chip {
    min-height: 30px;
    padding: 0 9px;
    font-size: 12px;
    line-height: 1.1;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid {
    gap: 10px;
    margin-top: 0;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid label {
    gap: 5px;
    font-size: 12.5px;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid input {
    height: 40px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.home-page .professional-signup-actions {
    margin-top: 12px;
  }

  body.home-page .professional-signup-actions .home-wizard-primary {
    min-width: 180px;
    min-height: 42px;
    padding: 0 22px;
  }
}

@media (min-width: 721px) and (max-height: 760px) {
  body.home-page .professional-signup-main {
    padding-top: 6px;
    padding-bottom: 8px;
  }

  body.home-page .professional-signup-hero .hero-lockup {
    width: clamp(145px, 14vw, 190px);
  }

  body.home-page .professional-signup-hero .home-hero-subtitle {
    margin-bottom: 10px;
    font-size: 12px;
  }

  body.home-page .professional-signup-card {
    padding: 12px 18px 14px;
  }

  body.home-page .professional-signup-head {
    margin-bottom: 5px;
  }

  body.home-page .professional-signup-head h1 {
    margin-bottom: 3px;
    font-size: clamp(22px, 2vw, 27px);
  }

  body.home-page .professional-signup-head p,
  body.home-page .professional-signup-section p {
    font-size: 11.5px;
    line-height: 1.2;
  }

  body.home-page .professional-signup-section {
    padding: 6px 0;
  }

  body.home-page .professional-signup-section h2 {
    margin-bottom: 6px;
    font-size: 0.92rem;
  }

  body.home-page .professional-signup-form .professional-signup-options {
    gap: 5px;
    margin-top: 0;
  }

  body.home-page .professional-signup-form .home-professional-chip {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid input {
    height: 34px;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid {
    gap: 8px;
    margin-top: 0;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid label {
    gap: 3px;
    font-size: 11.5px;
  }

  body.home-page .professional-signup-actions {
    margin-top: 7px;
  }

  body.home-page .professional-signup-actions .home-wizard-primary {
    min-height: 38px;
  }
}

@media (max-width: 720px) {
  body.home-page .professional-signup-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.home-page .professional-signup-main {
    min-height: calc(100vh - var(--topbar-height));
    padding: 12px 14px 22px;
  }

  body.home-page .professional-signup-hero {
    justify-content: flex-start;
    padding-top: 8px;
    transform: none;
  }

  body.home-page .professional-signup-hero .hero-logo-link,
  body.home-page .professional-signup-hero .hero-lockup {
    display: none;
  }

  body.home-page .professional-signup-hero .home-hero-subtitle {
    display: none;
  }

  body.home-page .professional-signup-form {
    width: 100%;
  }

  body.home-page .professional-signup-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  body.home-page .professional-signup-head {
    margin-bottom: 14px;
  }

  body.home-page .professional-signup-head h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  body.home-page .professional-signup-section {
    padding: 14px 0;
  }

  body.home-page .professional-signup-form .professional-signup-section h2 {
    margin-bottom: 10px;
  }

  body.home-page .professional-signup-form .professional-signup-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  body.home-page .professional-signup-form .home-professional-chip {
    width: 100%;
    min-height: 38px;
    padding: 0 11px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  body.home-page .professional-signup-form .professional-signup-access-grid input {
    height: 46px;
  }

  body.home-page .professional-signup-actions {
    margin-top: 15px;
  }

  body.home-page .professional-signup-actions .home-wizard-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .home-professional-chip:hover:not(.selected):not([aria-pressed="true"]),
  .home-page .home-professional-chip:hover:not(.selected):not([aria-pressed="true"]),
  .professional-signup-options .home-professional-chip:hover:not(.selected):not([aria-pressed="true"]),
  body.home-page .professional-signup-options .home-professional-chip:hover:not(.selected):not([aria-pressed="true"]),
  body.home-page.home-step-compact .professional-signup-options .home-professional-chip:hover:not(.selected):not([aria-pressed="true"]) {
    border-color: #cfdaed;
    background: #fff;
    color: var(--text);
  }

  .specialty-chip:hover:not(.selected) {
    border-color: var(--line-strong);
    background: #fff;
    color: var(--text);
  }
}


/* CHAMA - Profissões e Especialidades no Admin */
.admin-add-generic-panel[hidden] {
  display: none !important;
}

.admin-add-generic-panel:not([hidden]) {
  display: block !important;
}

.admin-profissao-list-header {
  grid-template-columns: minmax(260px, 1fr) auto auto 82px 82px;
}

.admin-profissao-clean-row-aligned {
  grid-template-columns: minmax(260px, 1fr) auto auto 82px 82px !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 8px;
}

.admin-profissao-edit-line-flat {
  display: grid !important;
  grid-template-columns: minmax(260px, 420px) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
}

.admin-profissao-edit-line-flat input {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  padding: 0 11px !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 980px) {
  .admin-profissao-list-header {
    display: none !important;
  }

  .admin-profissao-clean-row-aligned {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .admin-profissao-edit-line-flat {
    grid-template-columns: 1fr !important;
  }
}


/* CHAMA - garantir painéis adicionar profissões/especialidades */
.admin-add-generic-panel[hidden],
[data-add-profissao-panel][hidden],
[data-add-especialidade-panel][hidden] {
  display: none !important;
}

.admin-add-generic-panel:not([hidden]),
[data-add-profissao-panel]:not([hidden]),
[data-add-especialidade-panel]:not([hidden]) {
  display: block !important;
}


/* CHAMA - importar CSV de bairros */
.admin-import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 0 16px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.admin-import-button:hover {
  background: #eef4ff;
}

.admin-import-bairro-panel[hidden] {
  display: none !important;
}

.admin-import-bairro-panel:not([hidden]) {
  display: block !important;
  margin-bottom: 14px;
}

.admin-import-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-bairros-toolbar {
  flex-wrap: wrap;
}


/* CHAMA - excluir todos os bairros */
.admin-delete-all-form {
  margin: 0;
}

.admin-delete-all-button {
  min-height: 38px;
  border: 1px solid #ffd1d1;
  border-radius: 13px;
  padding: 0 16px;
  background: #fff5f5;
  color: #d33b3b;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.admin-delete-all-button:hover {
  background: #ffecec;
}


/* CHAMA - cadastro cliente com cidade/bairro */
.client-form-compact .client-row {
  display: grid;
  gap: 14px;
  align-items: end;
}

.client-form-compact .client-row-top {
  grid-template-columns: 1fr 1fr 1fr;
}

.client-form-compact .client-row-location {
  grid-template-columns: 1fr 1fr 190px;
}

.client-form-compact .client-save-button {
  height: 46px;
  align-self: end;
}

@media (max-width: 820px) {
  .client-form-compact .client-row-top,
  .client-form-compact .client-row-location {
    grid-template-columns: 1fr;
  }

  .client-form-compact .client-save-button {
    width: 100%;
  }
}


/* CHAMA - cidade travada no cadastro do cliente */
.client-city-locked {
  background: #f4f7fb !important;
  color: #53607a !important;
  cursor: not-allowed !important;
}


/* CHAMA - texto simples no cadastro do cliente */
.client-simple-note {
  margin: 4px 0 0;
  color: #6f7893;
  font-size: 13px;
  font-weight: 700;
}


/* CHAMA - busca de cidade ativa no cadastro cliente */
.client-city-search-wrap {
  position: relative;
}

.client-city-search-wrap::after {
  content: "▾";
  position: absolute;
  right: 15px;
  top: 12px;
  color: var(--text);
  font-size: 13px;
  pointer-events: none;
}

.client-city-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 70;
  max-height: 150px;
  overflow: auto;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(12, 36, 78, .14);
  scrollbar-width: thin;
}

.client-city-suggestions[hidden] {
  display: none !important;
}

.client-city-suggestions button {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}

.client-city-suggestions button:hover {
  background: #eef4ff;
  color: var(--blue);
}

.client-city-suggestions button[hidden] {
  display: none !important;
}


/* CHAMA - evitar sugestões do navegador em bairro */
#clientNeighborhoodVisible {
  -webkit-text-security: none;
}


/* CHAMA - minha conta cliente reorganizada */
.client-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.client-account-grid label {
  min-width: 0;
}

.client-account-grid .client-save-button {
  height: 46px;
  align-self: end;
}

@media (max-width: 900px) {
  .client-account-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .client-account-grid {
    grid-template-columns: 1fr;
  }

  .client-account-grid .client-save-button {
    width: 100%;
  }
}


/* CHAMA - alterar local no resumo final */
.home-summary-local-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-summary-change-local {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f7faff;
  cursor: pointer;
}

.home-summary-change-local:hover {
  background: #eef4ff;
}

.home-summary-neighborhood {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-summary-neighborhood[hidden] {
  display: none !important;
}

.bairro-field {
  display: grid;
  gap: 8px;
}

.bairro-field > label,
.bairro-manual-field > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bairro-autocomplete {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
}

.bairro-autocomplete-input,
.bairro-manual-field input {
  width: 100%;
  border: 1px solid #d8e2f3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
}

.bairro-autocomplete-input:focus,
.bairro-manual-field input:focus {
  border-color: #9dbdff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.bairro-autocomplete-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #d8e2f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  padding: 6px;
}

.bairro-autocomplete-list[hidden],
.bairro-autocomplete-list [hidden],
.bairro-manual-field[hidden] {
  display: none !important;
}

.bairro-autocomplete-list button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  text-align: left;
}

.bairro-autocomplete-list button:hover,
.bairro-autocomplete-list button:focus {
  background: #eef4ff;
  color: var(--blue);
  outline: none;
}

.bairro-autocomplete-empty {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
}

.bairro-manual-field {
  display: grid;
  gap: 6px;
}

@media (max-width: 640px) {
  .home-summary-local-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bairro-autocomplete-list button {
    padding: 12px;
  }
}


/* CHAMA - ajuste de espaçamento e título na página de resultados */
.search-results-page,
.results-page,
.search-page,
.professionals-page {
  padding-top: 18px;
}

.search-hero,
.results-hero,
.professionals-search,
.search-panel {
  margin-bottom: 18px;
}

.search-results-header,
.results-header,
.professionals-header,
.listing-header {
  margin-top: 14px !important;
  margin-bottom: 18px !important;
}

.search-results-header .back-link,
.results-header .back-link,
.professionals-header .back-link,
.listing-header .back-link {
  display: inline-flex;
  margin-bottom: 8px !important;
}

.search-results-header h1,
.results-header h1,
.professionals-header h1,
.listing-header h1,
.search-title,
.results-title {
  font-size: clamp(28px, 3vw, 34px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.search-results-header p,
.results-header p,
.professionals-header p,
.listing-header p,
.search-count,
.results-count {
  margin-top: 0 !important;
  font-size: 15px !important;
}

@media (max-width: 760px) {
  .search-results-header h1,
  .results-header h1,
  .professionals-header h1,
  .listing-header h1,
  .search-title,
  .results-title {
    font-size: 27px !important;
  }

  .search-results-header,
  .results-header,
  .professionals-header,
  .listing-header {
    margin-top: 10px !important;
  }
}


/* CHAMA - remover seta/linha residual dos resultados */
.results-quick-link:empty,
.search-quick-link:empty,
.results-publish-row:empty,
.search-publish-row:empty,
.buscar-publish-row:empty,
.results-secondary-action:empty,
.search-secondary-action:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

.results-publish-link {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}


/* CHAMA - resultados mais compactos */
.search-results-header,
.results-header,
.professionals-header,
.listing-header {
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

.results-publish-link {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.search-results-header h1,
.results-header h1,
.professionals-header h1,
.listing-header h1,
.search-title,
.results-title {
  font-size: clamp(24px, 2.5vw, 30px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.05em !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.search-results-header p,
.results-header p,
.professionals-header p,
.listing-header p,
.search-count,
.results-count {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

.search-hero,
.results-hero,
.professionals-search,
.search-panel {
  margin-bottom: 10px !important;
}

@media (max-width: 760px) {
  .search-results-header h1,
  .results-header h1,
  .professionals-header h1,
  .listing-header h1,
  .search-title,
  .results-title {
    font-size: 25px !important;
  }
}


/* CHAMA - publicar serviço na linha do título */
.results-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
}

.results-title-row h1 {
  margin: 0 !important;
}

.results-title-publish-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.results-title-publish-link:hover {
  text-decoration: underline;
}

.results-publish-link {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.search-results-header,
.results-header,
.professionals-header,
.listing-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.search-hero,
.results-hero,
.professionals-search,
.search-panel {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 640px) {
  .results-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .results-title-publish-link {
    font-size: 13px;
  }
}


/* CHAMA - título dos resultados 6px menor */
.search-results-header h1,
.results-header h1,
.professionals-header h1,
.listing-header h1,
.search-title,
.results-title,
.results-title-row h1 {
  font-size: clamp(18px, 2.1vw, 24px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
}


/* CHAMA - reduzir 4px da distância vertical dos resultados */
.search-results-header,
.results-header,
.professionals-header,
.listing-header {
  margin-top: 2px !important;
}

.results-title-row {
  margin-top: -4px !important;
  margin-bottom: 4px !important;
}

.search-results-header p,
.results-header p,
.professionals-header p,
.listing-header p,
.search-count,
.results-count {
  margin-top: -2px !important;
}

/* CHAMA - corrigir topo da página de busca para ficar igual ao topo de Serviços */
.page.results-page {
  padding-top: 0 !important;
}

.page.results-page > .topbar {
  height: var(--topbar-height);
  padding: 0 42px;
}

.page.results-page > .topbar .brand-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.page.results-page > .topbar .brand-name {
  font-size: 21px;
  line-height: 1;
}

.page.results-page > .topbar .nav-actions {
  align-items: center;
}

@media (max-width: 720px) {
  .page.results-page > .topbar {
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    padding: 0 18px;
  }

  .page.results-page > .topbar .brand-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .page.results-page > .topbar .brand-name {
    font-size: 18px;
  }
}


/* CHAMA - navegação superior cliente opção 1 */
.nav-actions .client-publications-link,
.nav-actions .client-proposals-link,
.nav-actions .client-search-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #0f172a;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  transition: color .18s ease;
}

.nav-actions .client-publications-link::before,
.nav-actions .client-proposals-link::before,
.nav-actions .client-search-link::before {
  content: "";
  position: absolute;
  inset: -2px -14px;
  border-radius: 11px;
  background: transparent;
  z-index: -1;
  transition: background .18s ease;
}

.nav-actions .client-publications-link:hover,
.nav-actions .client-proposals-link:hover,
.nav-actions .client-search-link:hover {
  color: #0f172a;
}

.nav-actions .client-publications-link:hover::before,
.nav-actions .client-proposals-link:hover::before,
.nav-actions .client-search-link:hover::before {
  background: #f7f9fc;
}

.nav-actions .client-publications-link.active,
.nav-actions .client-proposals-link.active,
.nav-actions .client-search-link.active {
  color: var(--blue);
  font-weight: 800;
}

.nav-actions .client-publications-link.active::before,
.nav-actions .client-proposals-link.active::before,
.nav-actions .client-search-link.active::before {
  background: #eef4ff;
}

.nav-actions:not(.professional-nav) > .client-proposals-link .client-notification-badge {
  position: absolute;
  top: -7px;
  right: -18px;
  z-index: 2;
  overflow: visible;
}

.nav-actions:not(.professional-nav) > .client-proposals-link .client-notification-badge::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(229, 57, 53, 0.38);
  border-radius: inherit;
  animation: chamaNotificationPulse 1.6s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nav-actions:not(.professional-nav) > .client-proposals-link .client-notification-badge::after {
    animation: none;
    opacity: 0;
  }
}

.nav-actions .client-search-link {
  color: var(--blue);
}

.nav-actions .client-search-link:hover {
  color: var(--blue);
}

.client-account-link {
  width: auto;
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0f172a;
  background: transparent;
  font-size: 0;
  font-weight: 600;
  transition: color .18s ease, background .18s ease;
}

.client-account-link span {
  display: none;
}

.client-account-link:hover,
.client-account-link.active {
  color: var(--blue);
  background: transparent;
}

.client-account-icon {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-account-icon,
.professional-panel-gear > svg {
  color: #64748b;
}

.client-nav-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d3dae8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin: 0 -6px 0 2px;
  user-select: none;
}

@media (min-width: 721px) {
  .client-shared-topbar .client-nav,
  .professional-top-actions {
    display: flex;
    align-items: center;
    column-gap: 25px;
  }

  .client-shared-topbar .client-nav > .client-proposals-link,
  .client-shared-topbar .client-nav > .client-nav-separator,
  .client-shared-topbar .client-nav > .client-settings-menu,
  .professional-top-actions > .login-link,
  .professional-top-actions > .client-nav-separator,
  .professional-top-actions > .professional-panel-menu {
    margin-left: 0;
    margin-right: 0;
  }

  .client-shared-topbar .client-settings-menu:not([open]) > .client-account-link:not(:hover),
  .professional-top-actions > .professional-panel-menu:not([open]) > .professional-panel-gear:not(:hover) {
    color: #64748b;
  }

  body.client-dashboard-home .client-shared-topbar .client-nav > .client-nav-separator {
    transform: translateX(-7px);
  }

  body.client-dashboard-home .client-settings-menu:not([open]) > .client-account-link:not(:hover) > .client-account-icon {
    color: #64748b;
  }
}

.client-settings-menu {
  position: relative;
}

.client-settings-menu summary {
  list-style: none;
  cursor: pointer;
}

.client-settings-menu summary::-webkit-details-marker {
  display: none;
}

.client-settings-menu[open] .client-account-link,
.client-settings-menu .client-account-link:hover,
.client-settings-menu .client-account-link.active {
  color: var(--blue);
}

.client-settings-dropdown {
  right: 0;
  width: 218px;
  padding: 8px;
}

.client-settings-logout {
  color: #64748b;
}

.client-settings-logout:hover {
  color: #115df5;
}

.client-mobile-menu,
.client-mobile-fab {
  display: none;
}

.client-mobile-menu summary,
.client-mobile-fab summary {
  list-style: none;
  cursor: pointer;
}

.client-mobile-menu summary::-webkit-details-marker,
.client-mobile-fab summary::-webkit-details-marker {
  display: none;
}

.client-logout-link {
  position: relative;
  color: #8b95a7;
  font-size: 13px;
  font-weight: 600;
  padding-left: 16px;
}

.client-logout-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: #d8deea;
  transform: translateY(-50%);
}

.client-logout-link:hover {
  color: #334155;
}

@media (max-width: 720px) {
  .topbar:has(.client-mobile-menu) {
    position: relative;
    z-index: 260;
  }

  .nav-actions:has(.client-mobile-menu) {
    gap: 0;
    margin-right: 0;
    position: relative;
    z-index: 270;
  }

  .nav-actions:has(.client-mobile-menu) > .login-link,
  .nav-actions:has(.client-mobile-menu) > .client-publications-menu,
  .nav-actions:has(.client-mobile-menu) > .client-publications-link,
  .nav-actions:has(.client-mobile-menu) > .call-professional-menu,
  .nav-actions:has(.client-mobile-menu) > .client-proposals-link,
  .nav-actions:has(.client-mobile-menu) > .client-search-link,
  .nav-actions:has(.client-mobile-menu) > .client-nav-separator,
  .nav-actions:has(.client-mobile-menu) > .client-settings-menu,
  .nav-actions:has(.client-mobile-menu) > .professional-panel-menu {
    display: none;
  }

  .client-mobile-menu {
    display: block;
    position: relative;
  }

  .client-mobile-menu-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #e4ebf7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(18, 32, 73, .08);
  }

  .client-mobile-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
  }

  .client-mobile-menu[open] .client-mobile-menu-button {
    border-color: #dbe7ff;
    background: #eef4ff;
  }

  .client-mobile-menu[open] .client-mobile-menu-button span {
    background: var(--blue);
  }

  .client-mobile-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 280;
    width: min(220px, calc(100vw - 34px));
    padding: 8px;
    border: 1px solid #e5eaf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(18, 32, 73, .14);
  }

  .client-mobile-menu-dropdown a,
  .client-mobile-fab-menu a {
    display: block;
    padding: 12px 13px;
    border-radius: 12px;
    color: #111b3f;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .client-mobile-menu-dropdown a:hover,
  .client-mobile-fab-menu a:hover {
    background: #f3f6ff;
    color: #115df5;
  }

  .client-mobile-menu-dropdown .settings-whatsapp-link,
  .client-mobile-menu-dropdown .settings-whatsapp-link:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #18884a !important;
  }

  .client-mobile-menu-dropdown .settings-whatsapp-link:hover {
    background: #f2fbf6;
    color: #14713e !important;
  }

  .client-mobile-fab {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 50;
  }

  .client-mobile-fab-button {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 18px 36px rgba(18, 97, 241, .28);
  }

  .client-mobile-fab-button span {
    position: absolute;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
  }

  .client-mobile-fab-button span:nth-child(2) {
    transform: rotate(90deg);
  }

  .client-mobile-fab[open] .client-mobile-fab-button span:nth-child(1) {
    transform: rotate(45deg);
  }

  .client-mobile-fab[open] .client-mobile-fab-button span:nth-child(2) {
    transform: rotate(135deg);
  }

  .client-mobile-fab-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(230px, calc(100vw - 40px));
    padding: 8px;
    border: 1px solid #e5eaf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(18, 32, 73, .14);
  }

  .nav-actions .client-publications-link,
  .nav-actions .client-proposals-link,
  .nav-actions .call-professional-trigger {
    min-height: 38px;
    padding: 0;
    border-radius: 9px;
  }

  .nav-actions .client-publications-link::before,
  .nav-actions .client-proposals-link::before,
  .nav-actions .call-professional-trigger::before {
    inset: -2px -12px;
    border-radius: 9px;
  }

  .professional-top-actions {
    gap: 14px;
  }

  .professional-top-actions .client-logout-link {
    margin-left: 0;
    padding-left: 12px;
  }

  .client-account-link {
    height: 34px;
    min-height: 34px;
    padding: 0;
  }

  .client-settings-dropdown {
    right: -12px;
    width: min(218px, calc(100vw - 32px));
  }

  .client-nav-separator {
    margin: 0 -4px;
  }

  .client-logout-link {
    padding-left: 10px;
  }
}


/* CHAMA - manter topo do cliente com a mesma altura da home */
.topbar:has(.client-publications-link) {
  height: var(--topbar-height) !important;
  min-height: var(--topbar-height);
  padding: 0 44px !important;
}

@media (max-width: 720px) {
  .topbar:has(.client-publications-link) {
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height);
    padding: 0 18px !important;
  }
}


/* Home logada do cliente - layout premium */
.client-dashboard-home .client-dashboard-hero {
  min-height: calc(100vh - var(--topbar-height));
  display: flex;
  justify-content: center;
  padding: 22px 24px 34px;
  background: #fff;
  transition: opacity .24s ease, transform .24s ease;
  will-change: opacity, transform;
}

.client-dashboard-home .client-dashboard-hero.is-sliding-next {
  opacity: 0;
  transform: translateX(44px);
}

.client-dashboard-shell {
  width: min(100%, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.client-dashboard-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.client-dashboard-heading h1 {
  margin: 0;
  color: #071f57;
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-align: center;
}

.client-dashboard-heading-line {
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: #2563ff;
}

.client-dashboard-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 20px;
}

.client-dashboard-card {
  min-height: 356px;
  padding: 24px 26px 22px;
  border: 1px solid #dce6f5;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.client-dashboard-card:first-child {
  border-top-color: #2563ff;
  border-top-width: 3px;
}

.client-dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(20, 40, 90, 0.075);
  border-color: #d2dff2;
}

.client-dashboard-card:first-child:hover {
  border-top-color: #2563ff;
}

.client-dashboard-card:focus-visible {
  outline: 3px solid rgba(37, 99, 255, 0.28);
  outline-offset: 4px;
}

.client-dashboard-icon-wrap {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.client-dashboard-icon {
  display: block;
  object-fit: contain;
}

.client-dashboard-icon-megaphone {
  width: 116px;
  height: 116px;
}

.client-dashboard-icon-worker {
  width: 154px;
  height: 154px;
  transform: translateY(9px);
}

.client-dashboard-card h2 {
  margin: 0 0 9px;
  color: #071f57;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.client-dashboard-card p {
  margin: 0;
  max-width: 305px;
  min-height: 44px;
  color: #64759a;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 600;
}

.client-dashboard-button {
  margin-top: auto;
  min-width: 228px;
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1.5px solid #2563ff;
  border-radius: 12px;
  background: #fff;
  color: #2563ff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.client-dashboard-card:hover .client-dashboard-button,
.client-dashboard-button:hover,
.client-dashboard-button:focus-visible {
  background: #2563ff;
  color: #fff;
}

@media (max-width: 980px) {
  .client-dashboard-home .client-dashboard-hero {
    padding: 22px 18px 30px;
  }

  .client-dashboard-shell {
    gap: 20px;
  }

  .client-dashboard-cards {
    grid-template-columns: 1fr;
    max-width: 390px;
    gap: 18px;
  }

  .client-dashboard-card {
    min-height: 342px;
    padding: 22px 20px 20px;
  }
}



/* Home logada do profissional */
.professional-dashboard-home .client-dashboard-hero {
  min-height: calc(100vh - var(--topbar-height));
  display: flex;
  justify-content: center;
  padding: 22px 24px 34px;
  background: #fff;
}

.professional-dashboard-shell {
  width: min(100%, 800px);
  gap: 0;
  overflow: hidden;
}

.professional-dashboard-viewport {
  width: 100%;
  overflow: hidden;
}

.professional-dashboard-track {
  width: 200%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  transition: transform .26s ease;
  will-change: transform;
}

.professional-dashboard-shell.is-help-open .professional-dashboard-track {
  transform: translate3d(-50%, 0, 0) !important;
}

.professional-dashboard-panel {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 1px;
}

.professional-dashboard-help-panel {
  position: relative;
}

.professional-dashboard-heading p {
  margin: -3px 0 0;
  color: #7181a3;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}

.professional-dashboard-back {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #2563ff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.professional-dashboard-cards {
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 18px;
}

.professional-dashboard-card {
  min-height: 320px;
  width: 100%;
  padding: 20px 22px 18px;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(18, 32, 56, 0.055);
  font: inherit;
}

button.professional-dashboard-card {
  appearance: none;
  border: 1px solid #dce6f5;
  color: inherit;
}

.professional-dashboard-card:first-child {
  border-top-color: #2563ff;
  border-top-width: 3px;
}

.professional-dashboard-avatar-slot {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #eef4ff;
  display: block;
  margin: 0 auto 14px;
  flex: 0 0 auto;
}

.professional-dashboard-avatar-slot-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  clip-path: circle(50% at 50% 50%);
}

.professional-dashboard-avatar-slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
}

.professional-dashboard-avatar-slot-contain img {
  object-fit: contain;
  padding: 12px;
}

.professional-dashboard-card h2 {
  margin: 0 0 9px;
}

.professional-dashboard-card p {
  min-height: 44px;
  max-width: 305px;
}

.professional-dashboard-button {
  margin-top: auto;
}

.professional-dashboard-help-panel {
  gap: 12px;
}

.professional-dashboard-help-panel .professional-dashboard-heading {
  margin-bottom: 0;
}

.professional-dashboard-help-cards {
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}

.professional-dashboard-compact-card {
  position: relative;
  min-height: 124px;
  max-width: 420px;
  padding: 18px 50px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  border: 1px solid #dce6f5;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 32, 56, 0.045);
}

.professional-dashboard-compact-card:first-child {
  border-top-color: #dce6f5;
  border-top-width: 1px;
}

.professional-dashboard-compact-card:hover {
  border-color: #bdd2ff;
  box-shadow: 0 16px 34px rgba(18, 32, 56, 0.075);
  transform: translateY(-2px);
}

.professional-dashboard-compact-card .professional-dashboard-avatar-slot {
  display: none;
}

.professional-dashboard-mini-illustration {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  margin-top: 0;
  border-radius: 14px;
  background: #f3f7ff;
  border: 1px solid #e0e9fb;
  overflow: hidden;
  display: block;
  contain: paint;
}

a.professional-dashboard-compact-card .professional-dashboard-mini-illustration > img.professional-dashboard-card-image {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.professional-dashboard-compact-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.professional-dashboard-compact-card h2 {
  margin: 0;
  padding-right: 14px;
  font-size: 18px;
  line-height: 1.2;
}

.professional-dashboard-compact-card p {
  min-height: 0;
  max-width: 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.professional-dashboard-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #2563ff;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.service-flat-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.service-origin-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf8f0;
  color: #16734a;
  border: 1px solid #c7ead6;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.service-origin-professional {
  background: #f1f3f5;
  color: #475569;
  border-color: #d8dee6;
}

.service-expiration-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7dc;
  color: #7a5a12;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  .professional-dashboard-track {
    transition: none;
  }
}

@media (max-width: 980px) {
  .professional-dashboard-home .client-dashboard-hero {
    padding: 22px 18px 30px;
  }

  .professional-dashboard-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 14px;
  }

  .professional-dashboard-card {
    min-height: 310px;
    padding: 20px 20px 18px;
  }

  .professional-dashboard-help-cards {
    grid-template-columns: 1fr;
    max-width: 430px;
    gap: 12px;
  }

  .professional-dashboard-compact-card {
    min-height: 122px;
    max-width: none;
    padding: 18px 44px 18px 18px;
    gap: 12px;
  }

  .professional-dashboard-mini-illustration {
    flex-basis: 48px;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
  }

  a.professional-dashboard-compact-card .professional-dashboard-mini-illustration > img.professional-dashboard-card-image {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  .professional-dashboard-compact-card h2 {
    font-size: 17px;
  }

  .professional-dashboard-compact-card p {
    max-width: none;
    font-size: 13px;
  }

  .professional-dashboard-back {
    margin-left: max(0px, calc((100% - 390px) / 2));
  }

  .service-flat-title-row {
    align-items: flex-start;
  }
}

/* CHAMA - filtros discretos na busca de profissionais */
.results-filter-toggle {
  position: relative;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.results-filter-toggle:hover,
.results-filter-toggle.active {
  background: #f7fbf9;
  color: var(--green);
}

.results-filter-toggle strong {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.results-filter-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfc 0%, #fff 100%);
}

.results-filter-panel[hidden] {
  display: none;
}

.results-filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.results-filter-panel select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
}

.results-filter-panel select:disabled {
  color: #9aa6b2;
  background: #f5f7f9;
}

.results-filter-checks {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.results-filter-checks label {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0;
}

.results-filter-checks input {
  accent-color: var(--green);
}

.results-filter-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.results-filter-actions a,
.results-filter-actions button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.results-filter-actions a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
}

.results-filter-actions button {
  width: auto;
}

@media (max-width: 860px) {
  .results-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .results-search {
    grid-template-columns: 1fr;
  }

  .results-filter-toggle {
    min-height: 46px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .results-filter-toggle strong {
    top: 18px;
    right: calc(50% - 42px);
  }

  .results-filter-panel {
    grid-template-columns: 1fr;
  }
}

.results-search-wrap {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.results-category-row {
  justify-content: center;
  flex-wrap: wrap;
}

/* Correção CHAMA - busca não pode esticar verticalmente */
.results-search.search-box {
  width: min(100%, 720px);
  flex: 0 0 auto;
  min-height: 44px;
  height: auto;
  grid-template-columns: minmax(0, 1fr) 86px 96px;
  grid-auto-rows: auto;
  align-items: stretch;
  border-radius: 12px;
  overflow: visible;
}

.results-search.search-box > .search-input,
.results-search.search-box > .results-filter-toggle,
.results-search.search-box > button[type="submit"] {
  height: 44px;
  min-height: 44px;
  align-self: stretch;
}

.results-search.search-box > .search-input {
  position: relative;
  border-radius: 12px 0 0 12px;
}

.results-search.search-box > .results-filter-toggle {
  border-radius: 0;
}

.results-search.search-box > button[type="submit"] {
  border-radius: 0 12px 12px 0;
}

.results-search.search-box > .search-input {
  grid-column: 1;
  grid-row: 1;
}

.results-search.search-box > .results-filter-toggle {
  grid-column: 2;
  grid-row: 1;
}

.results-search.search-box > button[type="submit"] {
  grid-column: 3;
  grid-row: 1;
}

.results-search.search-box > .results-filter-panel {
  grid-row: 2;
  border-radius: 0 0 12px 12px;
}

.results-search.search-box .search-input input {
  font-size: 13px;
}

.results-search.search-box > .results-filter-toggle,
.results-search.search-box > button[type="submit"] {
  font-size: 13px;
}

.main-search-suggestions {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  z-index: 95;
  display: grid;
  gap: 3px;
  max-height: 260px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(12, 36, 78, 0.16);
}

.main-search-suggestions[hidden] {
  display: none;
}

.results-search.search-box .main-search-suggestion {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  padding: 0 10px;
  box-shadow: none;
}

.results-search.search-box .main-search-suggestion:hover,
.results-search.search-box .main-search-suggestion:focus {
  background: #eef4ff;
  color: var(--blue);
  outline: none;
}

@media (max-width: 720px) {
  .results-search.search-box > .search-input,
  .results-search.search-box > .results-filter-toggle,
  .results-search.search-box > button[type="submit"],
  .results-search.search-box > .results-filter-panel {
    grid-column: 1;
  }

  .results-search.search-box > .search-input {
    grid-row: 1;
    border-radius: 12px 12px 0 0;
  }

  .results-search.search-box > .results-filter-toggle {
    grid-row: 2;
  }

  .results-search.search-box > button[type="submit"] {
    grid-row: 3;
    border-radius: 0;
  }

  .results-search.search-box > .results-filter-panel {
    grid-row: 4;
  }
}

/* Correção CHAMA - filtros da busca alinhados e compactos */
.results-search.search-box > .results-filter-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.results-search.search-box > .results-filter-panel[hidden] {
  display: none;
}

.results-search.search-box .results-filter-panel > label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #6f7890;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.results-search.search-box .results-filter-panel select {
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
}

.results-search.search-box .results-filter-checks {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  flex-wrap: wrap;
}

.results-search.search-box .results-filter-checks label {
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.results-search.search-box .results-filter-checks input {
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 auto;
}

.results-search.search-box .results-filter-actions {
  grid-column: 4 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.results-search.search-box .results-filter-actions a,
.results-search.search-box .results-filter-actions button {
  height: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.results-search.search-box .results-filter-actions button {
  min-width: 128px;
}

@media (max-width: 860px) {
  .results-search.search-box > .results-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-search.search-box .results-filter-checks,
  .results-search.search-box .results-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .results-search.search-box > .results-filter-panel {
    grid-template-columns: 1fr;
  }

  .results-search.search-box .results-filter-checks,
  .results-search.search-box .results-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .results-search.search-box .results-filter-checks label,
  .results-search.search-box .results-filter-actions a,
  .results-search.search-box .results-filter-actions button {
    width: 100%;
  }
}

/* CHAMA - busca integrada ao topo da listagem de profissionais */
.page.results-page > .topbar {
  display: grid;
  grid-template-columns: minmax(max-content, 220px) minmax(300px, 600px) max-content;
  column-gap: 28px;
  align-items: center;
  height: var(--topbar-height);
  padding: 0 42px;
}

.page.results-page > .topbar .brand {
  min-width: 0;
}

.page.results-page > .topbar .nav-actions {
  justify-self: end;
  gap: 34px;
  white-space: nowrap;
}

.page.results-page .header-search {
  justify-self: center;
  width: 100%;
  max-width: 600px;
  min-height: 42px;
  height: 42px;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  border-color: #d9e6fb;
  border-radius: 14px;
  box-shadow: none;
}

.page.results-page .header-search > .search-input,
.page.results-page .header-search > .results-filter-toggle,
.page.results-page .header-search > button[type="submit"] {
  height: 42px;
  min-height: 42px;
}

.page.results-page .header-search > .search-input {
  border-radius: 14px;
  padding: 0 15px;
}

.page.results-page .header-search .search-input svg {
  width: 18px;
  height: 18px;
}

.page.results-page .header-search .search-input input {
  font-size: 13px;
  font-weight: 600;
}

.page.results-page .header-search > .results-filter-toggle {
  border-left: 1px solid #d9e6fb;
  background: #f5f9ff;
  color: #164078;
  font-weight: 800;
}

.page.results-page .header-search > button[type="submit"] {
  border-left: 1px solid #cfe0fb;
  border-radius: 0 14px 14px 0;
  background: #eaf3ff;
  color: #123a72;
  font-weight: 900;
}

.page.results-page .header-search > .results-filter-toggle:hover,
.page.results-page .header-search > .results-filter-toggle.active,
.page.results-page .header-search > button[type="submit"]:hover {
  background: #dfeeff;
  color: #0f3670;
}

.page.results-page .header-search > .results-filter-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  right: auto;
  width: min(840px, calc(100vw - 48px));
  transform: translateX(-50%);
  z-index: 120;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(12, 36, 78, 0.16);
}

.page.results-page .header-search .main-search-suggestions {
  z-index: 130;
  left: 8px;
  right: 8px;
}

.page.results-page .results-main {
  padding-top: 24px;
}

@media (max-width: 1040px) {
  .page.results-page > .topbar {
    grid-template-columns: max-content minmax(260px, 1fr) max-content;
    column-gap: 20px;
    padding: 0 24px;
  }

  .page.results-page .header-search {
    grid-template-columns: minmax(0, 1fr);
    max-width: 540px;
  }
}

@media (max-width: 820px) {
  .page.results-page > .topbar {
    grid-template-columns: minmax(0, 1fr) max-content;
    row-gap: 12px;
    height: auto;
    min-height: var(--topbar-height);
    padding: 14px 18px;
  }

  .page.results-page > .topbar .nav-actions {
    grid-column: 2;
    gap: 14px;
  }

  .page.results-page .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  .page.results-page .header-search .main-search-suggestions {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .page.results-page > .topbar {
    grid-template-columns: 1fr;
  }

  .page.results-page > .topbar .brand,
  .page.results-page > .topbar .nav-actions,
  .page.results-page .header-search {
    grid-column: 1;
  }

  .page.results-page > .topbar .nav-actions {
    justify-self: start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .page.results-page .header-search {
    height: 42px;
    min-height: 42px;
    grid-template-columns: 1fr;
  }

  .page.results-page .header-search > .search-input {
    grid-column: 1;
    border-radius: 14px;
  }

  .page.results-page .header-search .main-search-suggestions {
    right: 8px;
  }

  .page.results-page .header-search > .results-filter-panel {
    width: 100%;
  }

  .page.results-page .results-main {
    padding-top: 20px;
  }
}

/* Ajuste CHAMA - home publica mais compacta no mobile */
@media (max-width: 700px) {
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .topbar {
    padding: 0 14px;
    position: relative;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .brand {
    gap: 10px;
    min-width: 0;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .brand-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .brand-name {
    display: none;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .nav-actions {
    gap: 8px;
    margin-left: auto;
    position: static;
    transform: none;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-button {
    min-width: 72px;
    height: 36px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 13.5px;
    box-shadow: 0 8px 18px rgba(18, 97, 241, 0.15);
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-wrap {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 220;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .hero {
    padding: 10px 14px 16px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-publish-area {
    transform: translateY(-26px);
    justify-content: center;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-publish-area .hero-lockup {
    width: clamp(198px, 58vw, 232px);
    margin-bottom: 4px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-hero-subtitle {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.3;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-wizard {
    width: min(100%, 360px);
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-cards {
    gap: 10px;
    max-width: 346px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-card {
    min-height: clamp(142px, 19vh, 164px);
    padding: 15px 17px 14px;
    gap: 9px;
    border-radius: 18px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-icon {
    width: clamp(60px, 8.2vh, 70px);
    height: clamp(60px, 8.2vh, 70px);
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-icon svg {
    width: 28px;
    height: 28px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-avatar-pro {
    width: 46px;
    height: 46px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-text {
    gap: 5px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-text strong {
    font-size: 20px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-text small {
    max-width: 260px;
    font-size: 12.8px;
    line-height: 1.25;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-arrow {
    width: 34px;
    height: 34px;
    font-size: 25px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-secondary-path {
    margin-top: 10px;
  }
}

@media (max-width: 390px) {
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .brand-name {
    display: none;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-button {
    min-width: 70px;
    height: 35px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-publish-area .hero-lockup {
    width: clamp(186px, 56vw, 210px);
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-choice-card {
    min-height: clamp(136px, 18.5vh, 156px);
    padding-top: 14px;
    padding-bottom: 13px;
  }
}

/* Auditoria mobile CHAMA - ajustes finais de compacidade e navegação */
@media (max-width: 720px) {
  :root {
    --topbar-height: 64px;
  }

  .topbar,
  .topbar:has(.client-publications-link) {
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    padding: 0 14px !important;
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .brand-name {
    font-size: 17px;
  }

  .signup-button {
    min-width: 70px;
    height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(18, 97, 241, 0.14);
  }

  .login-choice-menu {
    right: 0;
    width: min(238px, calc(100vw - 28px));
  }

  .client-mobile-menu {
    position: relative;
    z-index: 160;
  }

  .client-mobile-menu-button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(18, 32, 73, .07);
  }

  .client-mobile-menu-dropdown {
    top: calc(100% + 10px);
    z-index: 320;
  }

  .client-mobile-fab {
    display: none !important;
  }

  body.client-fab-page .client-mobile-fab,
  body.client-dashboard-home .client-mobile-fab {
    display: block !important;
  }

  .client-mobile-fab {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .client-mobile-fab-button {
    width: 54px;
    height: 54px;
  }

  .client-mobile-fab-menu {
    right: 0;
    bottom: calc(100% + 10px);
  }
}

/* CHAMA - navegação mobile logada limpa para cliente e profissional */
@media (max-width: 720px) {
  .topbar:has(.client-mobile-menu) {
    position: relative;
    z-index: 300;
  }

  .nav-actions:has(.client-mobile-menu) {
    position: relative;
    z-index: 310;
    margin-left: auto;
  }

  .nav-actions:has(.client-mobile-menu) > .login-link,
  .nav-actions:has(.client-mobile-menu) > .client-publications-menu,
  .nav-actions:has(.client-mobile-menu) > .client-publications-link,
  .nav-actions:has(.client-mobile-menu) > .client-proposals-link,
  .nav-actions:has(.client-mobile-menu) > .client-search-link,
  .nav-actions:has(.client-mobile-menu) > .call-professional-menu,
  .nav-actions:has(.client-mobile-menu) > .client-nav-separator,
  .nav-actions:has(.client-mobile-menu) > .client-settings-menu,
  .nav-actions:has(.client-mobile-menu) > .professional-panel-menu {
    display: none !important;
  }

  .nav-actions:has(.client-mobile-menu) > .client-mobile-menu {
    display: block !important;
  }

  .client-mobile-menu-dropdown {
    z-index: 360 !important;
    right: 0;
    max-height: min(420px, calc(100vh - var(--topbar-height) - 24px));
    overflow-y: auto;
  }

  .professional-mobile-menu-dropdown {
    width: min(252px, calc(100vw - 28px));
  }
}

@media (max-width: 700px) {
  body.home-page.publish-direct-page .brand-name {
    display: none;
  }

  body.home-page.publish-direct-page .hero {
    padding: 10px 14px 24px;
  }

  body.home-page.publish-direct-page .home-publish-area {
    padding: 8px 0 18px;
  }

  body.home-page.publish-direct-page .home-publish-area .hero-lockup {
    width: min(54vw, 160px);
    margin-bottom: 4px;
  }

  body.home-page.publish-direct-page .home-hero-subtitle {
    margin-bottom: 10px;
    font-size: 12.5px;
  }

  body.home-page.publish-direct-page .home-wizard {
    width: min(100%, 360px);
  }

  body.home-page.publish-direct-page .home-wizard-viewport {
    border-radius: 17px;
  }

  body.home-page.publish-direct-page .home-wizard-step,
  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step {
    min-height: 244px;
    padding: 16px 14px 14px;
  }

  body.home-page.publish-direct-page .home-wizard-kicker {
    margin-bottom: 5px;
    font-size: 12px;
  }

  body.home-page.publish-direct-page .home-wizard-step h2 {
    margin-bottom: 5px;
    font-size: 22px;
    line-height: 1.08;
  }

  body.home-page.publish-direct-page .home-wizard-step p:not(.home-step-error) {
    margin-bottom: 9px;
    font-size: 13px;
  }

  body.home-page.publish-direct-page .home-profession-window {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 7px;
  }

  body.home-page.publish-direct-page .home-profession-window .home-professional-chip,
  body.home-page.publish-direct-page .home-professional-options-compact .home-professional-chip {
    flex: 1 1 calc(50% - 7px);
    max-width: calc(50% - 4px);
    min-height: 32px;
    padding: 0 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11.5px;
    line-height: 1.08;
  }

  body.home-page.publish-direct-page .home-start-options {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.home-page.publish-direct-page .home-start-options .home-professional-chip {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 0 9px;
    white-space: normal;
    font-size: 12px;
  }

  body.home-page.publish-direct-page .home-wizard-neighborhood,
  body.home-page.publish-direct-page .home-wizard-value-field {
    width: 100%;
  }

  body.home-page.publish-direct-page .home-wizard-textarea {
    min-height: 86px;
    padding: 12px 13px;
    border-radius: 14px;
    font-size: 13px;
  }

  body.home-page.publish-direct-page .home-wizard-upload {
    min-height: 70px;
    border-radius: 14px;
  }

  body.home-page.publish-direct-page .home-wizard-value-field {
    gap: 6px;
    margin-bottom: 9px;
    font-size: 12px;
  }

  body.home-page.publish-direct-page .home-wizard-value-field input {
    height: 44px;
    border-radius: 13px;
  }

  body.home-page.publish-direct-page .home-wizard-actions {
    margin-top: 8px;
    gap: 10px;
  }

  body.home-page.publish-direct-page .home-wizard-primary,
  body.home-page.publish-direct-page .home-wizard-secondary {
    min-height: 44px;
    border-radius: 13px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"],
  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
    min-height: 248px;
    padding: 16px 14px 14px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
    gap: 5px;
    padding: 9px 10px;
    font-size: 12px;
  }

  body.home-page.publish-direct-page .home-secondary-path {
    margin-top: 6px;
    font-size: 12px;
  }

  .client-dashboard-home .client-dashboard-hero,
  .professional-dashboard-home .client-dashboard-hero {
    min-height: calc(100vh - var(--topbar-height));
    padding: 14px 14px 24px;
  }

  .client-dashboard-shell,
  .professional-dashboard-shell {
    gap: 14px;
  }

  .client-dashboard-heading {
    gap: 8px;
  }

  .client-dashboard-heading h1 {
    font-size: 24px;
  }

  .client-dashboard-heading-line {
    width: 54px;
    height: 3px;
  }

  .client-dashboard-cards {
    max-width: 348px;
    gap: 12px;
  }

  .client-dashboard-card {
    min-height: 236px;
    padding: 14px 16px;
    gap: 8px;
    border-radius: 18px;
  }

  .client-dashboard-icon-wrap {
    width: 94px;
    height: 94px;
    margin-bottom: 6px;
  }

  .client-dashboard-icon-megaphone {
    width: 78px;
    height: 78px;
  }

  .client-dashboard-icon-worker {
    width: 112px;
    height: 112px;
    transform: translateY(7px);
  }

  .client-dashboard-card h2 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .client-dashboard-card p {
    min-height: 0;
    font-size: 13px;
    line-height: 1.32;
  }

  .client-dashboard-button {
    min-width: 0;
    width: min(100%, 228px);
    height: 40px;
    margin-top: 8px;
  }

  .client-shell .form-card,
  .client-card {
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .page.results-page > .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    row-gap: 10px;
    height: auto !important;
    min-height: var(--topbar-height) !important;
    padding: 10px 14px 12px !important;
  }

  .page.results-page > .topbar .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .page.results-page > .topbar .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .page.results-page .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 40px;
    min-height: 40px;
  }

  .page.results-page .results-main {
    padding-top: 14px;
  }

  .results-published-note {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
  }
}

/* CHAMA - header publico mobile padronizado */
@media (max-width: 768px) {
  .topbar:has(.signup-button) {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 14px !important;
    position: relative;
    z-index: 300;
  }

  .topbar:has(.signup-button) .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: calc(100vw - 112px);
  }

  .topbar:has(.signup-button) .brand-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
  }

  .topbar:has(.signup-button) .brand-name,
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .topbar:has(.signup-button) .brand-name,
  body.home-page.publish-direct-page .topbar:has(.signup-button) .brand-name {
    display: inline-block;
    color: var(--text);
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
  }

  .topbar:has(.signup-button) .nav-actions {
    margin-left: auto;
    gap: 8px;
    flex: 0 0 auto;
  }

  .topbar:has(.signup-button) .signup-wrap,
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .topbar:has(.signup-button) .signup-wrap {
    position: relative;
    top: auto;
    right: auto;
    z-index: 320;
  }

  .topbar:has(.signup-button) .signup-button {
    min-width: 68px;
    height: 35px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(18, 97, 241, 0.14);
  }

  .topbar:has(.signup-button) .login-choice-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(238px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    z-index: 360;
    pointer-events: auto;
  }
}

@media (max-width: 390px) {
  .topbar:has(.signup-button) .brand {
    max-width: calc(100vw - 104px);
  }

  .topbar:has(.signup-button) .brand-name,
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .topbar:has(.signup-button) .brand-name,
  body.home-page.publish-direct-page .topbar:has(.signup-button) .brand-name {
    display: inline-block;
    font-size: 16.5px;
  }

  .topbar:has(.signup-button) .signup-button {
    min-width: 66px;
    height: 34px;
    padding: 0 11px;
    font-size: 12.5px;
  }
}

/* CHAMA - cadastro cliente compacto no mobile */
@media (max-width: 720px) {
  .form-page:has(.client-shell) {
    place-items: start center;
    padding: 12px 14px max(18px, env(safe-area-inset-bottom));
  }

  .client-shell {
    width: min(100%, 390px);
  }

  .client-shell > .back-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 800;
  }

  .client-card {
    margin-top: 4px;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .client-card .form-head {
    margin-bottom: 14px;
  }

  .client-card .form-kicker {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .client-card .form-head h1 {
    margin-bottom: 5px;
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.04;
  }

  .client-card .form-head p {
    font-size: 13px;
    line-height: 1.32;
  }

  .client-form-compact {
    gap: 10px;
  }

  .client-form-compact .client-row {
    gap: 10px;
  }

  .client-form-compact label {
    gap: 5px;
    font-size: 12.5px;
  }

  .client-form-compact input {
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 13.5px;
  }

  .client-form-compact .client-save-button {
    height: 43px;
    min-height: 43px;
    border-radius: 13px;
    font-size: 14px;
  }

  .client-simple-note {
    margin-top: 0;
    font-size: 11.5px;
    line-height: 1.3;
  }
}

@media (max-width: 390px) {
  .form-page:has(.client-shell) {
    padding-top: 9px;
  }

  .client-card {
    padding: 16px 14px 14px;
  }

  .client-card .form-head {
    margin-bottom: 12px;
  }

  .client-card .form-head h1 {
    font-size: 23px;
  }

  .client-card .form-head p {
    font-size: 12.5px;
  }

  .client-form-compact,
  .client-form-compact .client-row {
    gap: 8px;
  }

  .client-form-compact input {
    height: 40px;
    min-height: 40px;
  }

  .client-form-compact .client-save-button {
    height: 42px;
    min-height: 42px;
  }
}

/* CHAMA - valor da diária compacto nos cards */
.service-grid-simple .service-flat-card {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.service-grid-simple .service-flat-meta {
  gap: 5px;
}

.service-grid-simple .service-flat-meta-primary {
  column-gap: 5px;
  row-gap: 1px;
}

@media (min-width: 721px) {
  .service-grid-simple .service-flat-meta-primary {
    font-size: 12.5px;
    line-height: 1.2;
  }
}

/* CHAMA - etapa final de publicação mais compacta */
body.home-page.publish-direct-page .home-wizard-step[data-step="6"] {
  min-height: 206px;
  padding: 16px 28px 18px;
}

body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
  min-height: 206px;
  padding: 16px 28px 18px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-kicker {
  margin-bottom: 5px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] h2 {
  margin-bottom: 4px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] p:not(.home-step-error) {
  margin-bottom: 8px;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
  width: min(100%, 500px);
  gap: 5px;
  padding: 9px 12px;
}

.home-summary-value-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(104px, 148px) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.home-summary-value-row > strong {
  color: var(--text);
}

.home-summary-value-field {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.home-summary-value-field span {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
}

.home-summary-value-field input {
  width: 100%;
  min-width: 0;
  height: 28px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.home-summary-value-field input::placeholder {
  color: #8b93a5;
}

.home-summary-value-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.08);
}

.home-summary-value-row small {
  grid-column: 1 / -1;
  color: #7b8498;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-actions {
  margin-top: 7px;
}

@media (max-height: 760px) and (min-width: 760px) {
  body.home-page.publish-direct-page .home-publish-area .hero-lockup {
    width: clamp(132px, 12vw, 172px);
    margin-bottom: 4px;
  }

  body.home-page.publish-direct-page .home-hero-subtitle {
    margin-bottom: 12px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"],
  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
    min-height: 196px;
    padding: 14px 24px 16px;
  }
}

@media (max-width: 700px) {
  body.home-page.publish-direct-page .home-wizard-step[data-step="6"],
  body.home-page.publish-direct-page.home-step-compact .home-wizard:not([data-current-step="1"]) .home-wizard-step[data-step="6"] {
    min-height: 226px;
    padding: 14px 12px 13px;
  }

  body.home-page.publish-direct-page .home-wizard-step[data-step="6"] .home-wizard-summary {
    gap: 4px;
    padding: 8px 9px;
    font-size: 12px;
  }

  .home-summary-value-row {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 12px;
  }

  .home-summary-value-field {
    width: 100%;
    min-height: 32px;
  }

  .home-summary-value-row small {
    font-size: 10.5px;
  }
}

/* CHAMA - edição e publicações de serviços mais enxutas */
.service-edit-page {
  padding-top: 18px;
  padding-bottom: 24px;
}

.service-edit-shell {
  width: min(100%, 940px);
}

.service-edit-card {
  padding: 20px 22px;
}

.service-edit-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 184px !important;
  align-items: start !important;
  gap: 18px !important;
  min-height: 0 !important;
  margin-bottom: 6px !important;
  padding-right: 0 !important;
}

.service-edit-head {
  gap: 6px !important;
}

.service-edit-head .status-badge {
  min-height: 26px;
  padding: 0 11px;
  font-size: 11px;
}

.service-edit-head h1 {
  max-width: 540px;
  margin-bottom: 0;
  font-size: clamp(23px, 2.25vw, 28px);
  line-height: 1.05;
}

.service-edit-head p {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.3;
}

.service-photo-field-head {
  position: static !important;
  width: 184px !important;
  min-width: 184px !important;
  gap: 5px !important;
  justify-self: end !important;
}

.service-photo-single-trigger {
  min-height: 58px;
  padding: 8px 10px;
  gap: 2px;
  border-radius: 12px;
}

.service-photo-single-trigger .service-photo-svg-icon {
  width: 18px;
  height: 18px;
}

.service-photo-single-trigger span {
  font-size: 11.5px;
}

.service-photo-single-trigger small,
.service-photo-feedback {
  font-size: 10px !important;
  line-height: 1.18 !important;
}

.service-photo-feedback {
  margin: 0 !important;
  max-width: 184px;
}

.service-photo-grid-head {
  gap: 5px !important;
}

.service-edit-form {
  gap: 8px;
}

.service-edit-form > label,
.service-edit-bottom-row > label {
  gap: 6px;
  font-size: 12px;
}

.service-edit-form textarea {
  min-height: 82px;
  padding: 10px 12px;
  border-radius: 13px;
}

.service-edit-form textarea::placeholder {
  font-size: 13px;
}

.service-edit-form select,
.service-edit-value-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background-color: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: 0;
}

.service-edit-value-input {
  padding: 0 13px;
}

.service-edit-value-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.10);
}

.service-edit-bottom-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.service-edit-bottom-row.has-service-value {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .9fr) minmax(104px, .72fr) auto;
}

.service-edit-actions-inline {
  gap: 8px;
  align-items: end;
}

.service-edit-actions-inline button,
.service-edit-actions-inline .small-button {
  min-height: 40px;
  min-width: 104px;
}

.service-edit-skip-link {
  min-height: 40px;
  font-size: 13px;
}

.dashboard-edit-main {
  padding-top: 18px;
  padding-bottom: 26px;
}

.client-panel-card {
  margin-top: 10px;
  padding: 22px 24px;
}

.client-section-head {
  margin-bottom: 14px;
}

.client-section-head .form-kicker {
  margin-bottom: 6px;
  font-size: 11px;
}

.client-section-head h1 {
  margin-bottom: 5px;
  font-size: clamp(24px, 2.55vw, 30px);
  line-height: 1.05;
}

.client-section-head p {
  font-size: 13px;
  line-height: 1.35;
}

.panel-subsection {
  gap: 8px;
}

.panel-subsection-head {
  margin-bottom: 2px;
}

.filter-result-note {
  margin-bottom: 6px;
}

.publication-card-list {
  gap: 8px;
}

.publication-card-clean {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 14px;
}

.publication-card-media,
.publication-card-photo,
.publication-card-photo-placeholder {
  width: 78px;
}

.publication-card-photo,
.publication-card-photo-placeholder {
  height: 62px;
  border-radius: 11px;
}

.publication-card-topline h2 {
  font-size: 16px;
  line-height: 1.15;
}

.publication-card-location {
  margin-top: 2px;
  font-size: 12px;
}

.publication-card-content {
  gap: 4px;
}

.publication-card-summary {
  gap: 6px;
  font-size: 11.5px;
}

.publication-card-quick-actions {
  gap: 7px;
}

.publication-card-quick-actions form {
  margin: 0;
}

.publication-open-button,
.publication-deactivate-button,
.publication-interested-button {
  min-width: 76px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 12px;
}

.publication-interested-button {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--blue);
}

.publication-deactivate-button {
  border-color: #ffd3d3;
  background: #fff8f8;
  color: #c43636;
}

.publication-deactivate-button:hover {
  background: #fff0f0;
}

.service-interested-card {
  max-width: 940px;
}

.service-interested-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
}

.service-interested-summary strong {
  color: var(--ink);
}

.service-interested-list {
  display: grid;
  gap: 12px;
}

.service-interested-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.service-interested-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.service-interested-title-row,
.service-interested-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-interested-title-row strong {
  color: var(--ink);
  font-size: 16px;
}

.service-interested-meta,
.service-interested-info small {
  color: var(--muted);
  font-size: 12px;
}

.service-interested-info p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.service-interested-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.service-interested-action {
  margin: 0;
}

.service-interested-whatsapp-button {
  min-height: 40px;
  border: 1px solid #12b85f;
  background: #12b85f;
  color: #fff;
  border-radius: 11px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(18, 184, 95, 0.18);
}

.service-interested-whatsapp-button:hover {
  background: #10a956;
  border-color: #10a956;
}

.service-interested-whatsapp-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
}

.service-interested-whatsapp-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.service-interested-profile-button {
  min-height: 40px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .service-edit-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-edit-actions-inline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .service-edit-page,
  .dashboard-edit-main {
    padding: 12px 14px 22px;
  }

  .service-edit-card,
  .client-panel-card {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .service-edit-top {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .service-edit-head h1,
  .client-section-head h1 {
    font-size: 23px;
  }

  .service-photo-field-head {
    width: min(100%, 190px) !important;
    min-width: 0 !important;
    justify-self: start !important;
  }

  .service-photo-feedback {
    max-width: 190px;
  }

  .service-edit-bottom-row,
  .service-edit-bottom-row.has-service-value {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-edit-actions-inline {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .publication-card-clean {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .publication-card-media,
  .publication-card-photo,
  .publication-card-photo-placeholder {
    width: 72px;
  }

  .publication-card-photo,
  .publication-card-photo-placeholder {
    height: 58px;
  }

  .publication-card-quick-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .publication-card-quick-actions,
  .publication-card-quick-actions form,
  .publication-open-button,
  .publication-deactivate-button,
  .publication-interested-button {
    width: 100%;
  }

  .publication-card-actions {
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
  }

  .publication-card-actions form {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
  }

  .publication-card-actions .small-button {
    min-width: 0;
    min-height: 30px;
    padding: 0 7px;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .publication-card-actions > .small-button {
    flex: 1 1 auto;
  }

  .service-interested-summary,
  .service-interested-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .service-interested-summary {
    display: grid;
  }

  .service-interested-actions,
  .service-interested-action,
  .service-interested-whatsapp-button {
    width: 100%;
  }

  .service-interested-profile-button {
    width: 100%;
  }
}

.client-service-info {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid #dce8ff;
  border-radius: 14px;
  background: #f6f9ff;
  color: #26345f;
  font-size: 13px;
  line-height: 1.35;
}

.client-service-info[hidden] {
  display: none;
}

.client-service-info strong {
  color: #101a43;
  font-size: 13.5px;
}

.client-all-publications-grid {
  margin-top: 0;
}

.client-only-chama-button {
  width: 100%;
}

/* CHAMA - conter fotos dentro do card de edição */
.service-edit-card,
.service-edit-card * {
  box-sizing: border-box;
}

.service-edit-card {
  overflow: hidden;
}

.service-edit-card .service-edit-top {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 176px) !important;
  align-items: start !important;
  gap: 16px !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
}

.service-edit-card .service-edit-head {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.service-edit-card .service-photo-field-head {
  width: 176px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: end !important;
  align-self: start !important;
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.service-edit-card .service-photo-single-trigger {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 54px !important;
  padding: 7px 9px !important;
}

.service-edit-card .service-photo-feedback {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.service-edit-card .service-photo-grid-head {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin-top: 0 !important;
}

.service-edit-card .service-photo-item {
  min-width: 0;
  border-radius: 10px;
}

.service-edit-card .service-edit-form > label {
  margin-top: 0 !important;
}

.service-edit-card .service-edit-form textarea {
  min-height: 78px;
}

.service-edit-card .service-edit-bottom-row,
.service-edit-card .service-edit-bottom-row.has-service-value {
  align-items: end !important;
}

@media (max-width: 820px) {
  .service-edit-card .service-edit-top {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .service-edit-card .service-photo-field-head {
    width: min(100%, 178px) !important;
    justify-self: start !important;
  }
}

@media (max-width: 520px) {
  .service-edit-card {
    padding: 16px 14px;
  }

  .service-edit-card .service-edit-head h1 {
    font-size: 22px;
  }

  .service-edit-card .service-photo-field-head {
    width: 100% !important;
  }

  .service-edit-card .service-photo-grid-head {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* CHAMA - cadastro profissional compacto */
body.home-page .professional-signup-form-page .professional-signup-main {
  padding-top: 6px;
  padding-bottom: 12px;
}

body.home-page .professional-signup-form-page .professional-signup-hero {
  gap: 0;
  justify-content: flex-start;
  padding-top: 2px;
}

body.home-page .professional-signup-form-page .professional-signup-hero .hero-lockup {
  width: clamp(150px, 15vw, 205px);
  margin: 0 0 8px;
}

body.home-page .professional-signup-form-page .professional-signup-hero .home-hero-subtitle,
body.home-page .professional-signup-form-page .professional-signup-section .field-help {
  display: none;
}

body.home-page .professional-signup-form-page .professional-signup-form {
  width: min(100%, 700px);
}

body.home-page .professional-signup-form-page .professional-signup-card {
  padding: 16px 20px 18px;
  border-radius: 18px;
}

body.home-page .professional-signup-form-page .professional-signup-head {
  margin-bottom: 8px;
}

body.home-page .professional-signup-form-page .professional-signup-head h1 {
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.08;
}

body.home-page .professional-signup-form-page .professional-signup-section {
  padding: 8px 0;
  border-top: 0;
}

body.home-page .professional-signup-form-page .professional-signup-section h2 {
  margin-bottom: 7px;
  font-size: 0.95rem;
}

body.home-page .professional-signup-form-page .professional-signup-form .professional-signup-options,
body.home-page .professional-signup-form-page .professional-signup-specialties {
  gap: 5px;
  margin-top: 0;
}

body.home-page .professional-signup-form-page .professional-signup-form .home-professional-chip,
body.home-page .professional-signup-form-page .professional-signup-specialties .specialty-chip {
  min-height: 30px;
  padding: 0 9px;
  font-size: 11.5px;
  line-height: 1.08;
}

body.home-page .professional-signup-form-page .professional-signup-access-grid {
  gap: 9px;
  margin-top: 0;
}

body.home-page .professional-signup-form-page .professional-signup-access-grid label {
  gap: 4px;
  font-size: 12px;
}

body.home-page .professional-signup-form-page .professional-signup-access-grid input {
  height: 38px;
  border-radius: 12px;
  padding: 0 11px;
  font-size: 13px;
}

body.home-page .professional-signup-form-page .professional-signup-actions {
  margin-top: 10px;
}

body.home-page .professional-signup-form-page .professional-signup-actions .home-wizard-primary {
  min-width: 170px;
  min-height: 40px;
  padding: 0 20px;
}

@media (min-width: 721px) and (max-height: 760px) {
  body.home-page .professional-signup-form-page .professional-signup-main {
    padding-top: 2px;
    padding-bottom: 8px;
  }

  body.home-page .professional-signup-form-page .professional-signup-hero .hero-lockup {
    width: clamp(125px, 12vw, 165px);
    margin-bottom: 5px;
  }

  body.home-page .professional-signup-form-page .professional-signup-card {
    padding: 12px 17px 14px;
  }

  body.home-page .professional-signup-form-page .professional-signup-section {
    padding: 6px 0;
  }

  body.home-page .professional-signup-form-page .professional-signup-form .home-professional-chip,
  body.home-page .professional-signup-form-page .professional-signup-specialties .specialty-chip {
    min-height: 27px;
    font-size: 11px;
  }

  body.home-page .professional-signup-form-page .professional-signup-access-grid input {
    height: 34px;
  }
}

@media (max-width: 720px) {
  body.home-page .professional-signup-form-page .professional-signup-main {
    padding: 10px 14px 18px;
  }

  body.home-page .professional-signup-form-page .professional-signup-card {
    padding: 18px 15px;
  }

  body.home-page .professional-signup-form-page .professional-signup-section {
    padding: 11px 0;
  }

  body.home-page .professional-signup-form-page .professional-signup-form .professional-signup-options {
    gap: 7px;
  }

  body.home-page .professional-signup-form-page .professional-signup-form .home-professional-chip,
body.home-page .professional-signup-form-page .professional-signup-specialties .specialty-chip {
    min-height: 36px;
    font-size: 12px;
  }
}

/* CHAMA - menu Publicações e listagem aberta */
.client-publications-menu {
  position: relative;
  display: inline-flex;
}

.client-publications-menu > summary {
  list-style: none;
  cursor: pointer;
}

.client-publications-menu > summary::-webkit-details-marker {
  display: none;
}

.client-publications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  min-width: 190px;
  padding: 8px;
  border: 1px solid #dce6f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(12, 36, 78, 0.14);
  transform: translateX(-50%);
}

.client-publications-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: #101a43;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.client-publications-dropdown a:hover {
  background: #f3f7ff;
  color: #0f63ff;
}

.client-publications-open .dashboard-edit-main {
  padding: 22px 24px 42px;
}

.client-publications-open .client-panel-shell {
  width: min(1180px, 100%);
}

.client-publications-open .back-link {
  display: none;
}

.client-publications-open .client-panel-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.client-publications-open .client-section-head {
  margin: 0 0 12px;
  padding: 0;
}

.client-publications-open .client-section-head h1 {
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.client-publications-open .client-section-head p {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.client-publications-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 0 14px;
}

.client-publications-open .publication-card-list {
  display: grid;
  gap: 10px;
}

.client-publications-open .publication-card-clean,
.client-publications-open .service-flat-card {
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

@media (max-width: 760px) {
  .client-publications-dropdown {
    left: 0;
    right: auto;
    transform: none;
  }

  .client-publications-open .dashboard-edit-main {
    padding: 14px 14px 26px;
  }

  .client-publications-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* PWA standalone: preserve the approved compact mobile header. */
@media (display-mode: standalone) and (max-width: 720px) {
  .topbar {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .nav-actions:has(.client-mobile-menu) > .login-link,
  .nav-actions:has(.client-mobile-menu) > .client-publications-menu,
  .nav-actions:has(.client-mobile-menu) > .client-publications-link,
  .nav-actions:has(.client-mobile-menu) > .client-proposals-link,
  .nav-actions:has(.client-mobile-menu) > .call-professional-menu,
  .nav-actions:has(.client-mobile-menu) > .client-nav-separator,
  .nav-actions:has(.client-mobile-menu) > .client-settings-menu,
  .nav-actions:has(.client-mobile-menu) > .professional-panel-menu {
    display: none !important;
  }

  .nav-actions:has(.client-mobile-menu) > .client-mobile-menu {
    display: block !important;
  }
}

@media (max-width: 720px) {
html.pwa-standalone .topbar {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .nav-actions.mobile-nav-ready > .login-link,
  .nav-actions.mobile-nav-ready > .client-publications-menu,
  .nav-actions.mobile-nav-ready > .client-publications-link,
  .nav-actions.mobile-nav-ready > .client-proposals-link,
  .nav-actions.mobile-nav-ready > .client-search-link,
  .nav-actions.mobile-nav-ready > .call-professional-menu,
  .nav-actions.mobile-nav-ready > .client-nav-separator,
  .nav-actions.mobile-nav-ready > .client-settings-menu,
  .nav-actions.mobile-nav-ready > .professional-panel-menu {
    display: none !important;
  }

  .nav-actions.mobile-nav-ready > .client-mobile-menu {
    display: block !important;
  }
}

/* CHAMA - chips de profissão/especialidade legíveis no mobile */
@media (max-width: 720px) {
  body.home-page .home-profession-window,
  body.home-page .professional-signup-options,
  body.home-page .professional-signup-specialties {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    overflow: visible;
    white-space: normal;
  }

  body.home-page .home-profession-window .home-professional-chip,
  body.home-page .professional-signup-options .home-professional-chip,
  body.home-page .professional-signup-specialties .specialty-chip,
  body.home-page.publish-direct-page .home-profession-window .home-professional-chip,
  body.home-page.publish-direct-page .home-professional-options-compact .home-professional-chip {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 38px;
    height: auto;
    aspect-ratio: auto;
    flex: none;
    padding: 7px 10px;
    border-radius: 999px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    text-align: center;
    line-height: 1.2;
  }

  .dashboard-edit-form .specialty-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .dashboard-edit-form .specialty-options .specialty-chip {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    height: auto;
    padding: 7px 10px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* CHAMA - botão de contato rápido legível no perfil mobile */
.profile-contact .primary-whatsapp.full {
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  padding: 0 18px;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 560px) {
  .profile-contact .primary-whatsapp.full {
    min-height: 46px;
    height: auto;
    padding: 12px 16px;
  }
}

/* CHAMA - header logado fixo no mobile e PWA */
@media (max-width: 720px) {
  body.mobile-header-fixed .page {
    padding-top: calc(var(--topbar-height) + env(safe-area-inset-top));
  }

  body.mobile-header-fixed .page > .topbar {
    position: fixed !important;
    inset: 0 0 auto;
    width: 100%;
    height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    min-height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    padding: env(safe-area-inset-top) 14px 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7edf7;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 32, 73, 0.06);
    z-index: 1000;
  }

  body.mobile-header-fixed .page > .topbar .brand {
    min-width: 0;
    margin: 0;
  }

  body.mobile-header-fixed .page > .topbar .brand-name {
    display: inline-block !important;
  }

  body.mobile-header-fixed .page > .topbar .nav-actions {
    margin-left: auto;
  }

  body.mobile-header-fixed .page.results-page > .topbar .header-search {
    display: none !important;
  }

body.mobile-header-fixed .client-mobile-menu-dropdown {
    max-height: calc(100dvh - var(--topbar-height) - env(safe-area-inset-top) - 20px);
    overscroll-behavior: contain;
  }
}

/* CHAMA - etapa final do cadastro profissional responsiva */
@media (max-width: 720px) {
  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] {
    min-height: 0;
    padding: 22px 16px 20px;
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 6px;
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid label,
  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid label:last-child {
    width: 100%;
    min-width: 0;
    grid-column: 1;
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .home-wizard-actions {
    width: 100%;
    gap: 10px;
    margin-top: 16px;
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .home-wizard-actions > button {
    min-width: 0;
    flex: 1 1 0;
  }
}

/* CHAMA - altura e scroll naturais da busca no mobile/PWA */
body.results-body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.results-body .page.results-page {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: visible;
}

body.results-body .results-main {
  flex: 1 0 auto;
}

body.results-body .results-main,
body.results-body .results-container,
body.results-body .professionals-grid,
body.results-body .empty-results {
  height: auto;
  min-height: 0;
  overflow: visible;
}

@media (max-width: 720px) {
  body.results-body .results-main {
    padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  }
}

/* CHAMA - Serviços disponíveis no padrão visual da busca */
.services-page .results-head {
  margin: 0 0 16px;
}

.services-page .results-head h1 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.services-page .results-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.services-page .service-filters {
  margin-bottom: 20px;
}

.services-page .services-compact-search {
  width: min(100%, 780px);
  margin: 0 0 22px;
  grid-template-columns: minmax(0, 1fr) auto 112px;
  overflow: visible;
  position: relative;
  z-index: 8;
}

.services-page .services-filter-menu {
  position: relative;
  min-width: 0;
}

.services-page .services-filter-menu summary {
  list-style: none;
}

.services-page .services-filter-menu summary::-webkit-details-marker {
  display: none;
}

.services-page .services-compact-search .results-filter-toggle {
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--blue);
  padding: 0 18px;
  cursor: pointer;
}

.services-page .services-filter-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(12, 36, 78, 0.12);
  display: grid;
  gap: 12px;
}

.services-page .services-filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.services-page .services-filter-panel select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.services-page .services-filter-panel .filter-actions {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .services-page .services-compact-search {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .services-page .services-compact-search .search-input {
    grid-column: 1 / -1;
    min-height: 52px;
  }

  .services-page .services-compact-search .results-filter-toggle {
    min-height: 46px;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: center;
  }

  .services-page .services-filter-menu {
    position: static;
  }

  .services-page .services-filter-panel {
    left: 0;
    right: auto;
    width: 100%;
  }
}

.services-available-grid {
  align-items: stretch;
}

.services-page .service-opportunity-card {
  cursor: default;
  display: flex;
  flex-direction: column;
}

.services-page .service-result-photo-link,
.services-page .service-result-photo,
.services-page .service-result-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 18px;
}

.services-page .service-result-photo-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #f3f7ff;
}

.services-page .service-result-photo {
  border: 1px solid var(--line-strong);
  background: #f3f7ff;
}

.services-page .service-result-photo-link .service-result-photo {
  border: 0;
}

.services-page .service-result-placeholder {
  background: linear-gradient(135deg, #eef4ff, #ffffff);
}

.services-page .service-result-placeholder img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.9;
}

.services-page .service-result-placeholder .service-result-profession-image {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  opacity: 1;
}

.services-page .service-neighborhood-highlight {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #F4F6F8;
  color: #374151;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.services-page .service-description-block {
  position: relative;
  margin: 0 0 14px;
}

.services-page .service-opportunity-description {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.services-page .service-description-block.is-expanded .service-opportunity-description {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.services-page .service-description-toggle {
  width: 28px;
  height: 24px;
  margin: 3px auto 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6c7d96;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.services-page .service-description-toggle.is-visible {
  display: flex;
}

.services-page .service-description-toggle span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.services-page .service-description-toggle[aria-expanded="true"] span {
  transform: translateY(2px) rotate(225deg);
}

.services-page .service-description-toggle:hover,
.services-page .service-description-toggle:focus-visible {
  background: #f1f6ff;
  color: var(--blue);
}

.services-page .service-opportunity-tags:empty {
  display: none;
}

.services-page .professional-actions.has-single-action {
  grid-template-columns: 1fr;
}

.services-page .service-opportunity-card .professional-actions {
  margin-top: auto;
}

.services-page .service-card-action-form {
  margin: 0;
  min-width: 0;
  height: 42px;
}

.services-page .service-card-action-form .service-chama-button {
  width: 100%;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0;
  border-color: #10a84f;
  border-radius: 11px;
  background: #10a84f;
  color: #fff;
  font-size: 14px !important;
  font-weight: 800;
  box-shadow: none;
  cursor: pointer;
}

.services-page .service-card-action-form .service-chama-button:hover {
  border-color: #0e9847;
  background: #0e9847;
  color: #fff;
  box-shadow: none;
}

.services-page .service-card-action-form .service-chama-button.is-sent,
.services-page .service-card-action-form .service-chama-button:disabled {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-color: #bfe8cf;
  background: #effaf3;
  color: #176b3a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  cursor: not-allowed;
  white-space: nowrap;
  text-align: center;
}

.services-page .service-opportunity-helper {
  width: 100%;
  margin: 7px auto 0;
  text-align: center;
  color: #667892;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

/* CHAMA - aviso de proposta nova no menu mobile do cliente */
@media (max-width: 720px) {
  .nav-actions:not(.professional-nav):has(> .client-proposals-link .client-notification-badge)
    .client-mobile-menu-dropdown a[href="/cliente/propostas"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-actions:not(.professional-nav):has(> .client-proposals-link .client-notification-badge)
    .client-mobile-menu-dropdown a[href="/cliente/propostas"]::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
  }
}

/* CHAMA - header de busca em uma linha (/buscar e /servicos) */
.page.results-page > .topbar,
.page-soft > .services-search-topbar {
  display: grid !important;
  grid-template-columns: minmax(42px, 220px) minmax(180px, 600px) max-content !important;
  column-gap: clamp(10px, 2.4vw, 28px) !important;
  align-items: center !important;
  overflow: visible;
}

.page.results-page > .topbar .brand,
.page-soft > .services-search-topbar .brand {
  min-width: 0;
  justify-self: start;
}

.page.results-page > .topbar .nav-actions,
.page-soft > .services-search-topbar .nav-actions {
  justify-self: end;
  min-width: max-content;
  white-space: nowrap;
}

.page.results-page .header-search,
.page-soft > .services-search-topbar .services-header-search {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  margin: 0;
  overflow: visible;
  position: relative;
  z-index: 40;
}

.page-soft > .services-search-topbar .services-header-search {
  height: 42px;
  min-height: 42px;
  grid-template-columns: minmax(0, 1fr);
}

.page-soft > .services-search-topbar .services-header-search > .search-input {
  height: 42px;
  min-height: 42px;
}

@media (max-width: 920px) {
  .page.results-page > .topbar,
  .page-soft > .services-search-topbar {
    grid-template-columns: 34px minmax(0, 1fr) max-content !important;
    column-gap: 9px !important;
    row-gap: 0 !important;
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    padding: 0 10px !important;
  }

  body.mobile-header-fixed .page.results-page > .topbar {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) max-content !important;
    height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    min-height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    padding: env(safe-area-inset-top) 10px 0 !important;
  }

  .page.results-page > .topbar .brand,
  .page-soft > .services-search-topbar .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 34px;
    min-width: 34px;
    overflow: hidden;
  }

  .page.results-page > .topbar .brand-icon,
  .page-soft > .services-search-topbar .brand-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .page.results-page > .topbar .brand-name,
  .page-soft > .services-search-topbar .brand-name,
  body.mobile-header-fixed .page.results-page > .topbar .brand-name {
    display: none !important;
  }

  .page.results-page > .topbar .nav-actions,
  .page-soft > .services-search-topbar .nav-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    gap: 6px !important;
    margin-left: 0 !important;
    min-width: max-content;
    flex-wrap: nowrap !important;
  }

  .page.results-page .header-search,
  .page-soft > .services-search-topbar .services-header-search,
  body.mobile-header-fixed .page.results-page > .topbar .header-search {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 !important;
  }

  .page.results-page .header-search > .search-input,
  .page-soft > .services-search-topbar .services-header-search > .search-input {
    grid-column: 1 !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 13px !important;
    padding: 0 10px !important;
  }

  .page-soft > .services-search-topbar .services-header-search > .search-input {
    border-radius: 13px !important;
  }

  .page.results-page .header-search > .results-filter-toggle,
  .page.results-page .header-search > button[type="submit"] {
    display: none !important;
  }

  .page.results-page .header-search .search-input input,
  .page-soft > .services-search-topbar .services-header-search .search-input input {
    min-width: 0;
    font-size: 12px;
  }

  .page.results-page .header-search .search-input svg,
  .page-soft > .services-search-topbar .services-header-search .search-input svg {
    width: 16px;
    height: 16px;
  }

  .page.results-page > .topbar .signup-button,
  .page-soft > .services-search-topbar .signup-button,
  .page.results-page > .topbar .login-link,
  .page-soft > .services-search-topbar .login-link {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .page.results-page > .topbar,
  .page-soft > .services-search-topbar,
  body.mobile-header-fixed .page.results-page > .topbar {
    grid-template-columns: 30px minmax(0, 1fr) max-content !important;
    column-gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .page.results-page > .topbar .brand,
  .page-soft > .services-search-topbar .brand {
    width: 30px;
    min-width: 30px;
  }

  .page.results-page > .topbar .brand-icon,
  .page-soft > .services-search-topbar .brand-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .page.results-page > .topbar .signup-button,
  .page-soft > .services-search-topbar .signup-button,
  .page.results-page > .topbar .login-link,
  .page-soft > .services-search-topbar .login-link {
    padding: 8px 8px;
  }
}

/* CHAMA - correção mobile/PWA para títulos de listas e painéis do cliente */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.results-body .results-main,
  .page-soft > .services-page,
  .dashboard-edit-main {
    padding-top: 22px !important;
  }

  body.results-body .results-container,
  .services-page .results-container,
  .client-panel-shell,
  .client-panel-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body.results-body .results-heading,
  .services-page .results-heading {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.results-body .results-heading > div,
  .services-page .results-heading > div {
    width: 100%;
    min-width: 0;
    overflow: visible !important;
  }

  body.results-body .results-title-row,
  .services-page .results-title-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    margin: 0 0 8px !important;
    overflow: visible !important;
  }

  body.results-body .results-title-row h1,
  .services-page .results-title-row h1,
  body.results-body .results-heading h1,
  .services-page .results-heading h1 {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    color: var(--text);
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
  }

  body.results-body .results-subline,
  .services-page .results-subline {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  body.results-body .results-subline p,
  .services-page .results-subline p,
  body.results-body .results-heading p,
  .services-page .results-heading p {
    display: block !important;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
  }

  body.results-body .professionals-grid,
  .services-page .services-available-grid {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }

  .client-panel-card {
    padding: 20px 18px !important;
  }

  .client-section-head {
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible;
  }

  .client-section-head .form-kicker {
    display: block;
    margin: 0 0 8px !important;
    line-height: 1.2;
  }

  .client-section-head .results-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 10px !important;
  }

  .client-section-head h1 {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.03em;
  }

  .client-section-head .results-title-publish-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    margin: 0 !important;
    white-space: normal;
    line-height: 1.25;
  }

  .client-section-head p {
    max-width: 34rem;
    margin: 0 !important;
    color: #64748b;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* CHAMA - menu mobile/PWA sempre acima da página e sem corte */
@media (max-width: 720px) {
  .topbar:has(.client-mobile-menu),
  .nav-actions:has(.client-mobile-menu),
  .client-mobile-menu {
    overflow: visible !important;
  }

  .topbar:has(.client-mobile-menu) {
    z-index: 9000 !important;
  }

  .nav-actions:has(.client-mobile-menu),
  .client-mobile-menu {
    z-index: 9010 !important;
  }

  .client-mobile-menu-dropdown,
  .professional-mobile-menu-dropdown {
    position: fixed !important;
    top: calc(var(--topbar-height) + env(safe-area-inset-top) + 8px) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    left: auto !important;
    z-index: 9999 !important;
    width: min(268px, calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right))) !important;
    max-width: calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
    max-height: calc(100dvh - var(--topbar-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 18px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    transform: none !important;
  }

  .client-mobile-menu-dropdown a,
  .professional-mobile-menu-dropdown a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}

/* CHAMA - /servicos usa o mesmo header mobile da busca */
@media (max-width: 920px) {
  body.mobile-header-fixed .page-soft > .services-search-topbar {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) max-content !important;
    column-gap: 9px !important;
    row-gap: 0 !important;
    height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    min-height: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
    padding: env(safe-area-inset-top) 10px 0 !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 34px;
    min-width: 34px;
    overflow: hidden;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .brand-name {
    display: none !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .services-header-search {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .services-header-search > .search-input {
    grid-column: 1 !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 13px !important;
    padding: 0 10px !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .nav-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: max-content;
    margin-left: 0 !important;
    flex-wrap: nowrap !important;
  }
}
/* CHAMA - assinatura institucional discreta */
.site-credit {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  color: #98a0ad;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.site-credit span {
  display: inline-block;
}

.site-credit-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-credit-links a {
  color: #858e9c;
  font: inherit;
  text-decoration: none;
}

.site-credit-links a:hover,
.site-credit-links a:focus-visible {
  color: #5f6875;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.home-page {
  overflow-x: hidden;
  overflow-y: auto;
}

.home-page .page {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.legal-page .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-topbar {
  flex: 0 0 auto;
}

.legal-main {
  flex: 1 0 auto;
  width: 100%;
  padding: 48px 24px 56px;
}

.legal-content {
  width: min(100%, 780px);
  margin: 0 auto;
}

.legal-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #1261f1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-content h1 {
  margin: 0;
  color: #101828;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-intro {
  max-width: 680px;
  margin: 12px 0 32px;
  color: #667085;
  font-size: 16px;
  line-height: 1.65;
}

.legal-content section {
  padding: 22px 0;
  border-top: 1px solid #e6eaf0;
}

.legal-content section:last-child {
  padding-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 9px;
  color: #172033;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-content section p {
  margin: 0;
  color: #596579;
  font-size: 14px;
  line-height: 1.75;
}

.legal-content section p + p {
  margin-top: 9px;
}

.contact-content {
  padding-top: 56px;
}

.contact-support-button {
  width: auto;
  min-height: 44px;
  height: auto;
  padding: 11px 18px;
  text-decoration: none;
}

/* Topo profissional compartilhado, alinhado ao padrão de publicação. */
.topbar:has(.professional-top-actions) {
  overflow: visible;
}

.professional-top-actions .professional-panel-dropdown .settings-whatsapp-link {
  min-height: 42px;
  margin: 4px 0 0;
  padding: 10px 12px;
  font-size: 14px;
}

body.home-page.publish-direct-page .page > .hero,
body.home-page .professional-signup-page > .professional-signup-main {
  height: auto;
  min-height: 0;
}

@media (min-width: 721px) {
  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid {
    width: min(100%, 620px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid label,
  body.home-page .professional-signup-wizard .home-wizard-step[data-professional-step="3"] .professional-signup-access-grid label:last-child {
    grid-column: auto;
  }
}

@media (min-width: 701px) {
  body.home-page .professional-signup-page {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.home-page .professional-signup-page > .professional-signup-main {
    height: auto;
    min-height: calc(100vh - var(--topbar-height));
    padding-top: 24px;
    padding-bottom: 44px;
    align-items: center;
    justify-content: center;
  }

  body.home-page .professional-signup-page .professional-signup-hero {
    justify-content: center;
    padding-top: 0;
  }

  body.home-page .professional-signup-wizard[data-current-step="2"] .home-wizard-step[data-professional-step="2"] {
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-credit {
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px));
    font-size: 10px;
  }

  .site-credit-links {
    gap: 12px;
  }

  .legal-topbar {
    padding-inline: 16px;
  }

  .legal-topbar .brand-name {
    display: none;
  }

  .legal-topbar .login-link {
    white-space: nowrap;
  }

  .legal-main {
    padding: 34px 20px 44px;
  }

  .legal-content h1 {
    font-size: 29px;
  }

  .legal-intro {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .legal-content section {
    padding: 19px 0;
  }

  .contact-content {
    padding-top: 20px;
  }

  .contact-support-button {
    width: 100%;
  }

  .professional-mobile-menu-dropdown {
    display: grid;
    gap: 4px;
    padding: 10px;
  }

  .professional-mobile-menu-dropdown a,
  .professional-mobile-menu-dropdown .settings-whatsapp-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.35;
  }

  .professional-mobile-menu-dropdown .settings-whatsapp-link {
    justify-content: center;
    margin: 4px 0 0;
  }

  .professional-dashboard-cards {
    max-width: 348px;
    gap: 12px;
  }

  .professional-dashboard-card {
    min-height: 236px;
    padding: 14px 16px;
    gap: 8px;
  }

  .professional-dashboard-avatar-slot {
    width: 94px;
    height: 94px;
    margin-bottom: 6px;
  }

}

@media (max-width: 720px) {
  body.results-body.mobile-header-fixed .page.results-page {
    padding-top: calc(var(--topbar-height) + env(safe-area-inset-top)) !important;
  }

  body.results-body .results-main {
    padding-top: 30px !important;
  }

  body.results-body .results-title-row h1,
  body.results-body .results-heading h1 {
    font-size: clamp(23px, 6.5vw, 27px) !important;
    line-height: 1.16 !important;
  }
}

.mobile-bottom-nav {
  display: none;
}

.app-search-icon {
  display: none;
}

.client-app-home {
  display: none;
}

@media (max-width: 768px) {
  body:not(.admin-shell-body):not(.admin-side-body) {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .client-mobile-menu,
  .professional-mobile-menu {
    display: none !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    min-height: 74px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
    border-top: 1px solid #E5E7EB;
    background: #fff;
  }

  .mobile-bottom-nav.mobile-bottom-nav-pro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-bottom-nav.mobile-bottom-nav-guest {
    grid-template-columns: repeat(3, minmax(74px, 92px));
    justify-content: space-evenly;
  }

  .mobile-bottom-nav-item {
    min-width: 0;
    width: 100%;
    height: 58px;
    padding: 6px 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #6B7280;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-bottom-nav-item .material-symbols-outlined {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
  }

  .mobile-bottom-nav-item.active {
    color: #2563EB;
  }

  .mobile-bottom-nav-publish {
    color: #374151;
  }

  .mobile-bottom-nav-publish.active {
    color: #2563EB;
  }

  .mobile-bottom-account {
    position: relative;
    min-width: 0;
  }

  .mobile-bottom-account summary {
    list-style: none;
  }

  .mobile-bottom-account summary::-webkit-details-marker {
    display: none;
  }

  .mobile-bottom-account-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: 190px;
    padding: 8px;
    display: grid;
    gap: 4px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 32, 56, 0.10);
  }

  .mobile-bottom-account:not([open]) .mobile-bottom-account-menu {
    display: none;
  }

  .mobile-bottom-account-menu a {
    min-height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-bottom-account-menu a:hover,
  .mobile-bottom-account-menu a:focus-visible {
    background: #F4F6F8;
  }

  .client-dashboard-home .client-dashboard-hero {
    display: none !important;
  }

  .client-dashboard-home .client-app-home {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top) + 18px) 16px 10px;
    display: grid;
    gap: 28px;
  }

  .client-app-section {
    display: grid;
    gap: 12px;
  }

  .client-app-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .client-app-section-head span {
    color: #111827;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .client-app-section-head a {
    color: #2563EB;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .client-app-rail {
    margin: 0 -16px;
    padding: 0 16px 4px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 42vw);
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .client-app-rail::-webkit-scrollbar {
    display: none;
  }

  .client-app-pro-card {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 6px;
    border: 1px solid #EEF2F7;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    text-decoration: none;
  }

  .client-app-pro-card img,
  .client-app-pro-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
  }

  .client-app-pro-card strong {
    min-width: 0;
    margin-top: 3px;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .client-app-pro-card small,
  .client-app-pro-meta {
    min-width: 0;
    overflow: hidden;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .client-app-empty-card {
    padding: 18px;
    display: grid;
    gap: 8px;
    border: 1px solid #EEF2F7;
    border-radius: 20px;
    background: #fff;
  }

  .client-app-empty-card svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #6B7280;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .client-app-empty-card strong {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
  }

  .client-app-empty-card p {
    margin: 0;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
  }
}

@media (max-width: 768px) {
  body:not(.admin-shell-body):not(.admin-side-body) .page {
    padding-top: 0 !important;
  }

  body:not(.admin-shell-body):not(.admin-side-body):not(.results-body) .page > .topbar:not(.services-search-topbar) {
    display: none !important;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .page > .topbar:not(.services-search-topbar) {
    display: flex !important;
    position: static !important;
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    padding: 0 18px !important;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .topbar .signup-button {
    min-width: 92px;
    height: 35px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-button-desktop-label,
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-option-desktop {
    display: none;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-button-mobile-label {
    display: inline;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .signup-option-mobile {
    display: block;
  }

  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-publish-area > .hero-logo-link,
  body.home-page:not(.client-dashboard-home):not(.professional-dashboard-home):not(.publish-direct-page) .home-publish-area > .home-hero-subtitle {
    display: none !important;
  }

  body.results-body.mobile-header-fixed .page.results-page {
    padding-top: 0 !important;
  }

  body.results-body .page.results-page > .topbar {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: calc(env(safe-area-inset-top) + 12px) 12px 8px !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.results-body .page.results-page > .topbar .brand,
  body.results-body .page.results-page > .topbar .nav-actions {
    display: none !important;
  }

  body.results-body .page.results-page > .topbar .header-search {
    width: min(100%, 640px) !important;
    margin: 0 auto !important;
    display: grid !important;
  }

  body.results-body .results-main {
    padding-top: 12px !important;
  }

  body.mobile-header-fixed .page-soft {
    padding-top: 0 !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: calc(env(safe-area-inset-top) + 12px) 12px 8px !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .brand,
  body.mobile-header-fixed .page-soft > .services-search-topbar .nav-actions {
    display: none !important;
  }

  body.mobile-header-fixed .page-soft > .services-search-topbar .services-header-search {
    width: min(100%, 640px) !important;
    margin: 0 auto !important;
    display: grid !important;
  }

.page-soft > .services-page {
  padding-top: 12px !important;
}

  body.results-body .page.results-page > .topbar,
  .page-soft > .services-search-topbar {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: calc(env(safe-area-inset-top) + 14px) 16px 10px !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.results-body .page.results-page > .topbar .brand,
  body.results-body .page.results-page > .topbar .nav-actions,
  .page-soft > .services-search-topbar .brand,
  .page-soft > .services-search-topbar .nav-actions {
    display: none !important;
  }

  body.results-body .page.results-page > .topbar .header-search,
  .page-soft > .services-search-topbar .services-header-search {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.results-body .page.results-page > .topbar .header-search > .search-input,
  .page-soft > .services-search-topbar .services-header-search > .search-input {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
  }

  body.results-body .page.results-page > .topbar .header-search > .search-input:focus-within,
  .page-soft > .services-search-topbar .services-header-search > .search-input:focus-within {
    border-color: #CBD5E1 !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.10) !important;
  }

  body.results-body .page.results-page > .topbar .header-search .search-input svg,
  .page-soft > .services-search-topbar .services-header-search .search-input svg {
    display: none !important;
  }

  body.results-body .page.results-page > .topbar .header-search .app-search-icon,
  .page-soft > .services-search-topbar .services-header-search .app-search-icon {
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    color: #6B7280 !important;
    font-size: 24px !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    line-height: 1 !important;
  }

  body.results-body .page.results-page > .topbar .header-search .search-input input,
  .page-soft > .services-search-topbar .services-header-search .search-input input {
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
  }

  body.results-body .page.results-page > .topbar .header-search .search-input input::placeholder,
  .page-soft > .services-search-topbar .services-header-search .search-input input::placeholder {
    color: #6B7280 !important;
    opacity: 1 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
  }
}

/* CHAMA - search isolado para /buscar e /servicos */
.page.results-page .app-search-form,
.page-soft > .services-search-topbar .app-search-form {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-search-field {
  width: 100%;
  height: 100%;
  min-height: 42px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #d9e6fb;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.app-search-field .app-search-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #77839a;
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.app-search-field input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.app-search-field input::placeholder {
  color: #6B7280;
  opacity: 1;
  font-weight: 400;
}

.app-search-form .main-search-suggestions {
  position: absolute;
  z-index: 130;
  top: calc(100% + 8px);
  left: 8px;
  right: 8px;
}

@media (max-width: 1040px) and (min-width: 821px) {
  .page.results-page .app-search-form,
  .page-soft > .services-search-topbar .app-search-form {
    max-width: 540px;
  }
}

@media (max-width: 820px) and (min-width: 769px) {
  .page.results-page .app-search-form,
  .page-soft > .services-search-topbar .app-search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
}

@media (max-width: 768px) {
  body.results-body .page.results-page > .topbar .app-search-form,
  .page-soft > .services-search-topbar .app-search-form {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    display: block;
  }

  .app-search-field {
    height: 56px;
    min-height: 56px;
    padding: 0 18px;
    border-color: #E5E7EB;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .app-search-field:focus-within {
    border-color: #CBD5E1;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.10);
  }

  .app-search-field .app-search-icon {
    width: 24px;
    height: 24px;
    color: #6B7280;
    font-size: 24px;
  }

  .app-search-field input {
    color: #111827;
    font-size: 16px;
    font-weight: 500;
  }

  .app-search-field input::placeholder {
    font-size: 16px;
    font-weight: 400;
  }
}

@media (max-width: 900px) {
  body.professional-signup-form-page .page.professional-signup-page > header.topbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  body.professional-signup-form-page .professional-signup-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.professional-signup-form-page {
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.professional-signup-form-page .professional-signup-main {
    height: auto !important;
    min-height: calc(100dvh - 84px - env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 14px calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.professional-signup-form-page .professional-signup-hero {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    justify-content: center !important;
    transform: none !important;
  }

  body.professional-signup-form-page .professional-signup-wizard {
    width: min(100%, 430px) !important;
    gap: 4px !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-track {
    width: 100% !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 18px 14px !important;
    justify-content: center !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step:not(.active) {
    display: none !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step.active {
    display: flex !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step h2 {
    margin: 0 0 14px !important;
    font-size: clamp(23px, 6.4vw, 29px) !important;
    line-height: 1.08 !important;
  }

  body.professional-signup-form-page .professional-signup-subtitle {
    display: none !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step p:not(.home-step-error) {
    max-width: 300px !important;
    margin: 0 0 14px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
  }

  body.professional-signup-form-page .professional-signup-options,
  body.professional-signup-form-page .professional-signup-professions {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 0 12px !important;
    overflow: visible !important;
    max-height: none !important;
  }

  body.professional-signup-form-page .professional-signup-options .home-professional-chip,
  body.professional-signup-form-page .professional-signup-professions .home-professional-chip {
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body.professional-signup-form-page .professional-signup-specialties .home-professional-chip {
    min-height: 36px !important;
    font-size: 12.5px !important;
  }

  body.professional-signup-form-page .professional-signup-access-grid {
    width: 100% !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  body.professional-signup-form-page .professional-signup-access-grid input {
    height: 44px !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-actions {
    margin-top: 8px !important;
    align-items: center !important;
  }

  body.professional-signup-form-page .home-wizard-primary,
  body.professional-signup-form-page .home-wizard-secondary {
    min-height: 38px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  body.professional-signup-form-page .home-wizard-primary {
    min-width: 96px !important;
    padding: 0 16px !important;
    box-shadow: 0 8px 18px rgba(18, 97, 241, 0.14) !important;
  }

  body.professional-signup-form-page .home-wizard-secondary {
    padding: 0 8px !important;
  }

  body.professional-signup-form-page .professional-signup-dots {
    min-height: 12px !important;
    margin-top: 0 !important;
    gap: 6px !important;
  }

  body.professional-signup-form-page .professional-signup-dots button {
    width: 6px !important;
    height: 6px !important;
  }

  body.professional-signup-form-page .professional-signup-dots button.active {
    width: 20px !important;
  }

  body.professional-signup-form-page .site-credit {
    padding-top: 6px;
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  body.professional-signup-form-page .professional-signup-main {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step {
    padding: 16px 14px 12px !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step h2 {
    margin-bottom: 12px !important;
    font-size: clamp(21px, 6.1vw, 26px) !important;
  }

  body.professional-signup-form-page .professional-signup-wizard .home-wizard-step p:not(.home-step-error) {
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }

  body.professional-signup-form-page .professional-signup-options,
  body.professional-signup-form-page .professional-signup-professions {
    gap: 7px !important;
    margin-bottom: 12px !important;
  }

  body.professional-signup-form-page .professional-signup-options .home-professional-chip,
  body.professional-signup-form-page .professional-signup-professions .home-professional-chip {
    min-height: 34px !important;
    font-size: 12px !important;
  }
}

/* CHAMA - /buscar app-like premium cards */
.results-page .search-professional-card {
  min-height: 0;
  padding: 26px 22px 24px;
  border-color: #EDF1F5;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
  align-items: center;
  text-align: center;
  gap: 0;
}

.results-page .search-professional-card:hover,
.results-page .search-professional-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

.results-page .search-professional-card .professional-favorite-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6B7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.results-page .search-professional-card .professional-favorite-button .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.results-page .search-professional-card .professional-favorite-button.is-favorited {
  color: #EF4444;
}

.results-page .search-professional-card .professional-favorite-button.is-favorited .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.results-page .search-professional-card .professional-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
}

.results-page .search-professional-card .professional-photo,
.results-page .search-professional-card .professional-avatar {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
}

.results-page .search-professional-card .professional-avatar {
  font-size: 28px;
}

.results-page .search-professional-card .professional-name-block {
  width: 100%;
  min-width: 0;
}

.results-page .search-professional-card .professional-name-line {
  justify-content: center;
}

.results-page .search-professional-card h2 {
  max-width: 100%;
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
}

.results-page .search-professional-card .professional-role-distance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #4B5563;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-page .search-professional-card .professional-role-distance span:last-child {
  color: #6B7280;
  font-weight: 600;
}

.results-page .search-professional-card .professional-rating {
  min-height: 0;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
}

.results-page .search-professional-card .professional-rating strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.results-page .search-professional-card .star {
  color: #374151;
  font-size: 17px;
}

.results-page .search-professional-card .professional-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: block;
  width: auto;
}

.results-page .search-professional-card .professional-whatsapp-fab {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.results-page .search-professional-card .professional-whatsapp-fab .whatsapp-icon,
.results-page .search-professional-card .professional-whatsapp-fab .whatsapp-icon svg {
  width: 20px;
  height: 20px;
}

.results-page .search-professional-card .professional-whatsapp-fab .whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.results-page .results-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.results-page .results-load-more {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #6B7280;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.results-page .results-load-more:hover,
.results-page .results-load-more:focus-visible {
  color: var(--blue);
}

.results-page .results-load-more .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.results-page .results-load-more.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

@media (max-width: 760px) {
  .results-page .buscar-location-chip-wrap {
    margin-bottom: 14px;
  }

  body.results-body .professionals-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .results-page .search-professional-card {
    width: 100%;
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .results-page .search-professional-card .professional-photo,
  .results-page .search-professional-card .professional-avatar {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .results-page .search-professional-card h2 {
    font-size: 21px;
  }

  .results-page .search-professional-card .professional-role-distance {
    max-width: calc(100vw - 96px);
  }
}

/* CHAMA - favoritos premium */
.favorites-page {
  min-height: 100vh;
  background: #F8FAFC;
  color: var(--text);
}

.favorites-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 34px 22px 110px;
}

.favorites-hero {
  margin-bottom: 22px;
  text-align: center;
}

.favorites-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.favorites-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.favorites-hero p {
  margin: 10px auto 0;
  max-width: 460px;
  color: #6B7280;
  font-size: 15px;
  font-weight: 600;
}

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

.favorite-professional-card {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.favorite-professional-photo,
.favorite-professional-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
}

.favorite-professional-photo {
  object-fit: cover;
}

.favorite-professional-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.favorite-professional-info {
  min-width: 0;
}

.favorite-professional-info h2 {
  margin: 0 0 5px;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-professional-info p,
.favorite-professional-rating {
  margin: 0;
  color: #6B7280;
  font-size: 14px;
  font-weight: 600;
}

.favorite-professional-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.favorite-professional-rating strong {
  color: #111827;
}

.favorite-professional-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.favorite-professional-actions .outline-button,
.favorite-professional-actions .whatsapp-button {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.favorites-empty {
  width: min(100%, 520px);
  margin: 42px auto 0;
  padding: 34px 24px;
  border: 1px solid #E5E7EB;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
  text-align: center;
}

.favorites-empty .material-symbols-outlined {
  color: #9CA3AF;
  font-size: 36px;
}

.favorites-empty h2 {
  margin: 10px 0 6px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.favorites-empty p {
  margin: 0 auto 18px;
  max-width: 320px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .favorites-shell {
    padding: 24px 16px 104px;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .favorite-professional-card {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .favorite-professional-photo,
  .favorite-professional-avatar {
    width: 72px;
    height: 72px;
  }

  .favorite-professional-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .favorite-professional-actions .outline-button,
  .favorite-professional-actions .whatsapp-button {
    flex: 1;
  }
}

/* CHAMA - modal de pre-lancamento */
.launch-modal[hidden] {
  display: none;
}

.launch-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
}

body.launch-modal-open {
  overflow: hidden;
}

.launch-modal-card {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.launch-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #64748B;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.launch-modal-close .material-symbols-outlined {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.launch-modal-wave {
  position: relative;
  height: 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.24) 0 3px, transparent 4px),
    linear-gradient(135deg, #2563EB 0%, #1D4ED8 52%, #3B82F6 100%);
}

.launch-modal-wave::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -54px;
  height: 92px;
  border-radius: 50% 50% 0 0;
  background: #fff;
  transform: rotate(-2deg);
}

.launch-modal-wave::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(160deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 12px);
}

.launch-dot {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  transform: none;
}

.launch-dot::before,
.launch-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.launch-dot::after {
  inset: 3px;
  background: #2563EB;
  opacity: 0.24;
}

.launch-dot-one {
  top: 58px;
  left: 18%;
}

.launch-dot-two {
  top: 42px;
  right: 28%;
}

.launch-dot-three {
  top: 78px;
  right: 16%;
  color: rgba(147, 197, 253, 0.92);
}

.launch-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px 24px;
  text-align: center;
}

.launch-kicker {
  position: relative;
  z-index: 1;
  margin-top: -18px;
  padding: 7px 16px;
  border-radius: 12px;
  background: #2563EB;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-modal-content h2 {
  max-width: 360px;
  margin: 20px auto 10px;
  color: #0F172A;
  font-size: clamp(28px, 4.8vw, 36px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.launch-modal-content p {
  max-width: 330px;
  margin: 0 auto 18px;
  color: #64748B;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.launch-date {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2563EB;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.launch-countdown {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.launch-time-card {
  min-width: 0;
  padding: 11px 7px 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.launch-time-card strong {
  display: block;
  color: #2563EB;
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.launch-time-card span {
  display: block;
  margin-top: 5px;
  color: #64748B;
  font-size: 12px;
  font-weight: 700;
}

.launch-primary,
.launch-secondary {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.launch-primary {
  border: 0;
  background: linear-gradient(135deg, #2563EB 0%, #075CEF 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.launch-primary .material-symbols-outlined {
  font-size: 21px;
}

.launch-secondary {
  margin-top: 10px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #64748B;
  cursor: pointer;
  box-shadow: none;
}

@media (max-width: 760px) {
  .launch-modal {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .launch-modal-card {
    width: 100%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    overflow: hidden;
    border-radius: 28px;
  }

  .launch-modal-wave {
    height: 104px;
  }

  .launch-modal-content {
    padding: 0 22px 22px;
  }

  .launch-modal-content h2 {
    margin-top: 18px;
    font-size: clamp(27px, 7.2vw, 34px);
  }

  .launch-modal-content p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .launch-countdown {
    gap: 7px;
    margin-bottom: 18px;
  }

  .launch-time-card {
    padding: 10px 5px 9px;
    border-radius: 15px;
  }

  .launch-time-card strong {
    font-size: clamp(27px, 9.5vw, 38px);
  }

  .launch-primary,
  .launch-secondary {
    min-height: 48px;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .launch-modal {
    place-items: start center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .launch-modal-wave {
    height: 88px;
  }

  .launch-modal-content {
    padding-bottom: 18px;
  }

  .launch-kicker {
    margin-top: -15px;
    padding: 6px 14px;
  }

  .launch-modal-content h2 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: clamp(25px, 6.6vw, 32px);
  }

  .launch-modal-content p {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .launch-date {
    margin-bottom: 10px;
    font-size: 19px;
  }

  .launch-countdown {
    margin-bottom: 14px;
  }

  .launch-time-card {
    padding: 8px 5px 7px;
  }

  .launch-time-card strong {
    font-size: clamp(24px, 8.8vw, 32px);
  }

  .launch-time-card span {
    font-size: 11px;
  }

  .launch-primary,
  .launch-secondary {
    min-height: 44px;
    font-size: 15px;
  }
}
