/* Public contractor profile page (/contractor/<id>). */

.profile-main { padding: 32px 0 56px; min-height: 70vh; }

.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 24px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.profile-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.profile-header h1 { font-size: 2rem; font-weight: 800; margin: 4px 0 12px 0; line-height: 1.2; }
.profile-eyebrow { font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.profile-main-col { display: flex; flex-direction: column; gap: 20px; }
.profile-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
}

.profile-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.profile-card h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px 0; }
.profile-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 10px 0; }
.profile-card p { margin: 0; line-height: 1.55; color: var(--text); }
.profile-help { color: var(--text-faint); font-size: 0.92rem; }
.profile-help-small { color: var(--text-faint); font-size: 0.85rem; line-height: 1.5; }
.profile-sidebar-card { padding: 20px; }

.profile-dl { display: grid; grid-template-columns: 100px 1fr; gap: 6px 12px; font-size: 0.88rem; margin: 0; }
.profile-dl dt { color: var(--text-faint); font-weight: 600; }
.profile-dl dd { margin: 0; color: var(--text); }

.profile-contact-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.profile-phone-card { padding: 12px 18px; background: var(--bg-alt); border-radius: 8px; font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; }
.profile-phone-card:hover { background: rgba(64,126,201,0.08); color: var(--blue); }

.profile-service-list { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-service-pill { display: inline-block; padding: 4px 10px; background: var(--bg-alt); border-radius: 999px; font-size: 0.82rem; color: var(--text); }
.profile-service-pill a { color: var(--text); text-decoration: none; }
.profile-service-pill a:hover { color: var(--blue); text-decoration: underline; }

.pill-green { display: inline-block; padding: 2px 8px; background: rgba(34,197,94,0.15); color: #15803d; font-size: 0.78rem; font-weight: 600; border-radius: 999px; }

.profile-grant-approved { background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; align-self: flex-start; }

/* Unclaimed public-records seed listing (cold-start). Amber, not green:
   signals "unverified", visually distinct from an active grant-approved row. */
.pill-amber { display: inline-block; padding: 2px 8px; background: rgba(245,158,11,0.16); color: #b45309; font-size: 0.78rem; font-weight: 600; border-radius: 999px; }

.unclaimed-banner { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 14px 18px; margin: 0 0 18px; background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.35); border-radius: 10px; }
.unclaimed-banner-text { font-size: 0.92rem; color: var(--text); flex: 1 1 280px; }
.unclaimed-banner-text strong { color: #b45309; }
.unclaimed-claim-btn { white-space: nowrap; }

/* Claim page (claim.html) — claim an unclaimed seed. */
.claim-card { max-width: 640px; margin: 24px auto; }
.claim-intro { color: var(--text-faint); font-size: 0.95rem; line-height: 1.6; margin: 8px 0 20px; }
.claim-help { color: var(--text-faint); font-size: 0.92rem; line-height: 1.6; margin: 0 0 16px; }
.claim-form .cf-turnstile { margin: 14px 0; }
.claim-result { margin-top: 14px; font-size: 0.92rem; }
.claim-result.success { color: #15803d; }
.claim-result.error { color: #dc2626; }
.claim-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin: 14px 0 6px; }
.claim-input { margin-bottom: 4px; }
.sms-step2 { margin-top: 18px; border-top: 1px solid var(--border-light); padding-top: 4px; }
.sms-step2 .btn { margin-top: 18px; }
