/* ============================================================
   Landscapey — pros.css
   Pro signup (reuses .auth/.auth-card) + pro dashboard.
   ============================================================ */

/* ── Pro signup steps ── */
.ps-card { max-width: 500px; text-align: left; }
.ps-card .eyebrow { justify-content: flex-start; }
.ps-card .auth-headline, .ps-card .auth-sub { text-align: left; margin-left: 0; margin-right: 0; }
.ps-step[hidden] { display: none !important; }
.ps-back {
  background: none; border: 0; color: var(--mist); font: inherit; font-size: 13px;
  cursor: pointer; margin-top: 16px; padding: 0;
}
.ps-back:hover { color: var(--ink); }

.auth-field em {
  font-style: normal; text-transform: none; letter-spacing: 0;
  color: var(--mist); opacity: .75; font-size: 10px; margin-left: 6px;
}
.auth-field textarea {
  font: inherit; font-size: 16px; padding: 13px 16px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--paper); color: var(--ink); outline: none; resize: vertical;
  min-height: 84px; line-height: 1.5;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.auth-field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(63,82,53,.12); }

/* ── ZIP tag input ── */
.ps-zips {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 10px 12px; background: var(--paper);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ps-zips:focus-within { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(63,82,53,.12); }
.ps-zip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e9e1c8; color: var(--ink);
  border-radius: 999px; padding: 5px 6px 5px 12px; font-size: 13px; white-space: nowrap;
}
.ps-zip-x {
  background: rgba(63,82,53,.14); border: 0; color: var(--moss-deep);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 14px;
  display: grid; place-items: center;
}
.ps-zip-x:hover { background: rgba(63,82,53,.28); }
.ps-zip-input {
  flex: 1; min-width: 120px; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 16px; color: var(--ink); padding: 4px 2px;
}
.ps-hint { font-size: 12px; color: var(--mist); margin: 8px 0 0; }

/* ============================================================
   Pro dashboard
   ============================================================ */
.page-pro-dash {
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(148, 165, 133, 0.16), transparent 70%),
    var(--paper);
  min-height: 100vh;
}
.prodash { padding: clamp(40px, 7vh, 88px) 0 clamp(56px, 9vh, 110px); }
.prodash-container { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }

.prodash-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.prodash-title {
  font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px);
  line-height: 1; letter-spacing: -0.02em; font-weight: 400; color: var(--ink);
  margin: 10px 0 8px;
}
.prodash-cov { font-size: 14px; color: var(--ink-soft); margin: 0; }
.prodash-cov strong { color: var(--moss-deep); font-weight: 500; }
.prodash-head-actions { display: flex; gap: 10px; }

.prodash-loading {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--mist); padding: 60px 0;
}
.prodash-loading[hidden] { display: none !important; }
.prodash-pulse {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(63,82,53,.2); border-top-color: var(--moss);
  animation: ps-spin .9s linear infinite;
}
@keyframes ps-spin { to { transform: rotate(360deg); } }

.prodash-leads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prodash-leads[hidden] { display: none !important; }
@media (max-width: 640px) { .prodash-leads { grid-template-columns: 1fr; } }

.lead-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 18px 36px -28px rgba(28,31,26,.2);
}
.lead-card.is-contacted { opacity: 0.72; }
.lead-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lead-loc { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.lead-date { display: block; font-size: 12px; color: var(--mist); margin-top: 2px; }
.lead-badge {
  font-size: 11px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--moss-deep); background: rgba(148,165,133,.2); padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.lead-idea { font-size: 15px; color: var(--ink); line-height: 1.5; margin: 0; }
.lead-idea-muted { color: var(--mist); font-style: italic; }
.lead-contact { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.lead-name { font-weight: 500; color: var(--ink); font-size: 14px; }
.lead-email { font-size: 13px; color: var(--moss-deep); text-decoration: underline; text-underline-offset: 3px; }
.lead-email-muted { color: var(--mist); text-decoration: none; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lead-btn { font-size: 13px; padding: 10px 16px; }
.lead-link {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px;
  color: var(--mist); text-decoration: underline; text-underline-offset: 3px;
}
.lead-link:hover { color: var(--ink); }
.lead-dismiss:hover { color: var(--terracotta); }

.prodash-empty {
  text-align: center; max-width: 480px; margin: 40px auto; padding: 40px 0;
}
.prodash-empty[hidden] { display: none !important; }
.prodash-empty h2 { font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--ink); margin: 0 0 12px; }
.prodash-empty p { color: var(--ink-soft); line-height: 1.55; margin: 0 0 20px; }

/* ── Edit-coverage modal ── */
.prodash-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(18,21,15,.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.prodash-modal[hidden] { display: none !important; }
.prodash-modal-card {
  background: var(--paper); border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px); width: 100%; max-width: 460px;
  box-shadow: 0 50px 100px -28px rgba(0,0,0,.6);
}
.prodash-modal-card h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--ink); margin: 0 0 20px; }
.prodash-modal-card .auth-field { margin-bottom: 14px; }
.prodash-modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.prodash-modal-actions .btn { flex: 1; }

/* ============================================================
   Settings — profile content (services, portfolio, reviews)
   ============================================================ */
.ps-checks { display: flex; gap: 18px; align-items: center; padding: 13px 2px; }
.ps-checks label { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.ps-checks input { accent-color: var(--moss); width: 16px; height: 16px; }

/* Services picker — toggleable chips */
.ps-svc-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-svc {
  font: inherit; font-size: 13.5px; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.ps-svc:hover { border-color: var(--moss); color: var(--moss-deep); }
.ps-svc.is-on {
  background: var(--moss-deep); border-color: var(--moss-deep); color: var(--paper);
}
.ps-svc-x { font-size: 15px; line-height: 1; opacity: .75; }

/* Portfolio manager — photo grid */
.ps-pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 480px) { .ps-pf-grid { grid-template-columns: repeat(2, 1fr); } }
.ps-pf-cell {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: #fff;
}
.ps-pf-cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ps-pf-tools {
  position: absolute; top: 6px; right: 6px; display: flex; gap: 4px;
}
.ps-pf-tools button {
  width: 26px; height: 26px; border: 0; border-radius: 8px; cursor: pointer;
  background: rgba(18, 21, 15, .62); color: #fff; font-size: 15px; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.ps-pf-tools button:hover { background: rgba(18, 21, 15, .85); }
.ps-pf-tools button:disabled { opacity: .35; cursor: default; }
.ps-pf-cap {
  width: 100%; border: 0; border-top: 1px solid var(--line);
  font: inherit; font-size: 12.5px; color: var(--ink); background: #fff;
  padding: 8px 10px; outline: none;
}
.ps-pf-cap::placeholder { color: var(--mist); }

/* Reviews manager */
.ps-rv-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ps-rv-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px;
}
.ps-rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ps-rv-stars { color: #c89b3c; font-size: 14px; letter-spacing: 2px; }
.ps-rv-del {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 12.5px; color: var(--mist); text-decoration: underline;
}
.ps-rv-del:hover { color: var(--terracotta); }
.ps-rv-body { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ps-rv-by { margin: 0; font-size: 12.5px; color: var(--mist); }
.ps-rv-form { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px; }
.ps-rv-form select {
  font: inherit; width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
}
