.hero h1 {
  max-width: 360px;
  font-size: 37px;
  line-height: 1.08;
}

.hero p {
  max-width: 360px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-post-cta {
  min-height: 54px;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 850;
}

.home-scope-card {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-scope-card:hover,
.home-scope-card:focus-visible {
  border-color: rgba(10, 132, 255, 0.28);
  box-shadow: 0 14px 30px rgba(10, 132, 255, 0.1);
  transform: translateY(-1px);
}

.home-scope-card h2 {
  line-height: 1.22;
}

.quick-grid,
.category-grid,
.town-grid,
.plan-grid {
  display: grid;
  gap: 9px;
}

.quick-grid {
  grid-template-columns: repeat(2, 1fr);
}

.quick-card {
  min-height: 132px;
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.quick-card-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.quick-copy {
  display: grid;
  gap: 7px;
}

.quick-card strong {
  font-size: 16px;
  line-height: 22px;
}

.quick-card .quick-copy > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.quick-submit-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-tags span {
  padding: 4px 8px;
  color: #41515f;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
}

.subcategory-chip-panel {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: var(--radius-md);
}

.subcategory-chip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 500;
}

.subcategory-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subcategory-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.subcategory-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.subcategory-chip:hover {
  border-color: var(--blue-200);
  box-shadow: 0 0 0 3px rgba(24, 129, 242, 0.08);
}

.subcategory-chip.active,
.subcategory-chip:has(input:checked) {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.subcategory-chip-all {
  font-family: inherit;
}

.search-result-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.search-result-note button {
  margin-left: 6px;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 750;
}

.location-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  background:
    radial-gradient(circle at 78% 24%, rgba(10, 132, 255, 0.2) 0 42px, transparent 43px),
    linear-gradient(135deg, rgba(63, 160, 92, 0.16), transparent 42%),
    linear-gradient(42deg, transparent 0 45%, rgba(10, 132, 255, 0.13) 45% 56%, transparent 56%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.65) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.65) 1px, transparent 1px),
    #eef8ef;
  background-size: auto, auto, auto, 30px 30px, 30px 30px, auto;
  border: 1px solid rgba(33, 120, 75, 0.08);
  border-radius: var(--radius-md);
}

.pin {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  font-weight: 850;
}

.radius-row {
  margin-top: 12px;
}

.category-grid {
  max-height: 252px;
  overflow-y: auto;
  padding-right: 3px;
}

.category-card {
  min-height: 76px;
  padding: 13px 12px;
  display: grid;
  gap: 6px;
  text-align: left;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.category-card strong {
  font-size: 16px;
  line-height: 22px;
}

.category-card.active {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.18);
}

.category-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.map-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(80, 170, 106, 0.2), transparent 38%),
    linear-gradient(45deg, transparent 0 42%, rgba(10, 132, 255, 0.2) 42% 64%, transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    #dff0dd;
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.map-preview[data-map-status="loading"] .map-circle,
.map-preview[data-map-status="loading"] .map-pin,
.map-preview[data-map-status="loading"] .map-label {
  opacity: 0;
}

.map-circle {
  position: absolute;
  left: 34%;
  top: 18%;
  width: 180px;
  height: 180px;
  background: rgba(10, 132, 255, 0.2);
  border: 2px solid rgba(10, 132, 255, 0.28);
  border-radius: 50%;
}

.map-pin {
  position: absolute;
  left: 53%;
  top: 45%;
  z-index: 2;
  width: 26px;
  height: 26px;
  background: var(--red);
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 18px rgba(255, 55, 95, 0.28);
  transform: rotate(-45deg);
}

.map-label {
  position: absolute;
  z-index: 2;
  color: #323238;
  font-weight: 800;
}

.google-map-canvas {
  width: 100%;
  height: 100%;
}

.google-map-status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.label-town {
  left: 48%;
  top: 25%;
  font-size: 20px;
}

.label-city {
  left: 43%;
  top: 47%;
  font-size: 25px;
}

.town-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-profile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 118px;
}

.detail-profile-main {
  min-width: 0;
}

.detail-rating-row,
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.detail-rating-row span:last-child {
  color: var(--ink);
  font-weight: 760;
}

.detail-contact-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
}

.detail-contact-item {
  display: grid;
  flex: 1 1 0;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.detail-contact-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.detail-contact-item strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.detail-favorite-button {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  background: transparent;
  border: 0;
  padding: 3px 0;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.detail-favorite-button:hover {
  transform: translateY(-1px);
}

.detail-favorite-button.favorited {
  color: #f25f3a;
}

.detail-favorite-heart {
  font-size: 20px;
  font-weight: 800;
  line-height: 0.9;
}

.detail-title-cta {
  min-width: 178px;
}

.metric-rating-value {
  display: flex;
  align-items: center;
  gap: 7px;
}

.metric-rating-value .star-row {
  font-size: 17px;
}

.provider-signal-row {
  margin-top: 8px;
}

.review-summary strong {
  color: var(--ink);
  font-size: 17px;
}

.provider-review-reply-note {
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.14);
  border-radius: var(--radius-sm);
}

.provider-review-manager {
  display: grid;
  gap: 14px;
}

.provider-review-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.provider-review-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.provider-review-head > div:first-child > strong,
.provider-review-head > div:first-child > span {
  display: block;
}

.provider-review-head > div:first-child span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.provider-review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.provider-review-rating .star-row {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.provider-review-rating .star-row span {
  display: inline;
  margin-top: 0;
}

.provider-review-content {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.provider-review-reply {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.provider-review-reply p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.provider-review-reply span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.provider-review-reply-box textarea {
  min-height: 96px;
}

@media (max-width: 720px) {
  .detail-profile {
    grid-template-columns: auto 1fr;
  }

  .detail-contact-grid {
    flex-wrap: wrap;
  }

  .detail-contact-item {
    flex-basis: 138px;
  }
}

.provider-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.admin-layout {
  display: grid;
  gap: 14px;
}

.growth-layout {
  display: grid;
  gap: 14px;
}

.billing-layout {
  display: grid;
  gap: 14px;
}

.growth-strip,
.recruit-hero,
.local-landing {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.growth-strip h2,
.recruit-hero h2,
.local-landing h2 {
  font-size: 24px;
  line-height: 1.18;
}

.recruit-hero p,
.local-landing p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.section-head.compact {
  margin-bottom: 0;
  align-items: start;
}

.detail-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  margin-bottom: 10px;
  font-size: 21px;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
  line-height: 1.65;
}

.price-row {
  display: grid;
  gap: 10px;
}

.price-row div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.budget-slider-box {
  display: grid;
  gap: 16px;
  padding: 18px 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.budget-slider-box strong {
  padding: 0 16px;
  font-size: 18px;
  line-height: 1.35;
}

.budget-slider-box input[type="range"] {
  width: 100%;
  margin: 4px 0;
  padding: 0;
  box-sizing: border-box;
}

.budget-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.contact-choice-field {
  display: grid;
  gap: 10px;
}

.contact-choice-list {
  display: grid;
  gap: 8px;
}

.contact-choice {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-choice input[type="text"],
.contact-choice input:not([type]) {
  min-width: 0;
  background: white;
}

.upload {
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed #c7c7cc;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.post-image-upload {
  place-items: stretch;
  gap: 10px;
  padding: 16px;
}

.post-image-upload label {
  display: grid;
  gap: 10px;
  place-items: center;
  cursor: pointer;
}

.post-image-upload input {
  max-width: 100%;
}

.refund-evidence-heading {
  color: var(--text);
  text-align: center;
  font-weight: 800;
}

.refund-evidence-picker {
  width: max-content;
  margin: 0 auto;
  padding: 9px 16px;
  color: var(--primary);
  background: white;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 800;
}

.refund-evidence-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.post-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.post-image-list > span,
.refund-evidence-file {
  padding: 7px 10px;
  color: var(--text);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

.refund-evidence-file {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.refund-evidence-remove {
  padding: 0 2px;
  color: #b42318;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.upload-helper {
  margin: -4px 0 0;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.progress-next {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.progress-next h3 {
  margin: 0;
  font-size: 15px;
}

.progress-next-item {
  display: grid;
  gap: 4px;
}

.progress-next-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.metric-action-card {
  min-height: 76px;
  padding: 14px 16px;
  text-align: left;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.metric-action-card strong,
.metric-action-card span {
  display: block;
}

.metric-action-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.metric-action-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.metric-action-card.active {
  border-color: rgba(17, 132, 255, 0.45);
  background: #eef6ff;
  box-shadow: inset 0 0 0 1px rgba(17, 132, 255, 0.2);
}

.progress-insight {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.progress-provider-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.progress-provider-card .card-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.progress-provider-card .card-main span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.progress-provider-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.accepted-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.accepted-summary strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 50%;
  font-size: 24px;
}

.accepted-summary span {
  color: var(--muted);
  line-height: 1.55;
}

.progress-rematch-form {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.progress-rematch-form h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

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

@media (max-width: 720px) {
  .progress-provider-card {
    grid-template-columns: auto 1fr;
  }

  .progress-provider-card .btn {
    grid-column: 1 / -1;
  }

  .progress-provider-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }

  .rematch-field-grid {
    grid-template-columns: 1fr;
  }
}

.locked {
  filter: blur(3px);
  user-select: none;
}

.doc-note {
  margin-top: 18px;
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.55;
}
