/* PermitVista Pro page (v48pro). Same palette as the rest of the site:
   navy #20334e / #1d3a62, blue CTA #1a6fd4, teal #0f766e. */
.pro-body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; margin: 0; background: #f5f7fa; color: #1f2937; }
.pro-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

.pro-hero { background: #20334e; color: #f3f4f6; padding: 40px 0 36px; }
.pro-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d4a564; }
.pro-hero h1 { margin: 0 0 12px; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.15; color: #ffffff; max-width: 780px; text-wrap: balance; }
.pro-lede { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: #d7dee8; max-width: 640px; }
.pro-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pro-hero-price { font-size: 15px; color: #d7dee8; }
.pro-hero-price b { font-size: 22px; color: #ffffff; }
.pro-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; font-size: 14px; color: #c5cfdc; }
.pro-hero-points li::before { content: "\2713"; color: #5fd0b8; font-weight: 700; margin-right: 7px; }

.pro-btn { display: inline-block; border: 0; border-radius: 10px; padding: 13px 24px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; }
.pro-btn--primary { background: linear-gradient(135deg, #1a6fd4 0%, #1553a8 100%); color: #ffffff; box-shadow: 0 6px 16px rgba(21, 83, 168, .25); }
.pro-btn--primary:hover { filter: brightness(1.08); color: #ffffff; }
.pro-btn--ghost { background: #ffffff; color: #0f766e; border: 2px solid #0f766e; padding: 11px 20px; }
.pro-btn[disabled] { opacity: .6; cursor: default; }

.pro-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin: 20px 0; box-sizing: border-box; }
.pro-card h2 { margin: 0 0 6px; font-size: 21px; color: #1d3a62; }
.pro-sub { margin: 0 0 18px; font-size: 15px; color: #64748b; }
.pro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0 20px; }
.pro-list { margin: 10px 0 0; padding: 0; list-style: none; }
.pro-list li { position: relative; padding: 6px 0 6px 24px; font-size: 15px; line-height: 1.5; }
.pro-list li::before { content: "\2713"; position: absolute; left: 0; color: #0f766e; font-weight: 700; }
.pro-faq h3 { margin: 18px 0 4px; font-size: 16px; color: #20334e; }
.pro-faq p { margin: 0; font-size: 15px; line-height: 1.6; color: #374151; }
.pro-faq a { color: #1553a8; }

.pro-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 16px; }
.pro-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #20334e; min-width: 0; }
.pro-field em, .pro-checks em { font-style: normal; font-weight: 400; color: #6b7280; }
.pro-field select, .pro-field input { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; color: #1f2937; width: 100%; box-sizing: border-box; }
.pro-field select:focus, .pro-field input:focus { outline: 2px solid #1a6fd4; outline-offset: 1px; border-color: #1a6fd4; }
.pro-field select:disabled { background: #f1f5f9; color: #94a3b8; }
.pro-note { font-weight: 400; font-size: 12.5px; color: #6b7280; line-height: 1.4; }
.pro-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }
.pro-checks label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pro-checks input { width: 18px; height: 18px; accent-color: #0f766e; }
.pro-form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pro-status { font-size: 14px; color: #64748b; }
.pro-status.is-error { color: #b91c1c; }

.pro-results { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e2e8f0; }
.pro-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; margin-bottom: 14px; }
.pro-count { font-size: 26px; font-weight: 700; color: #1d3a62; line-height: 1.2; }
.pro-filters { font-size: 13.5px; color: #64748b; margin-top: 4px; }
.pro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; color: #64748b; }
.pro-table-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 10px; }
.pro-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pro-table th { text-align: left; background: #1d3a62; color: #ffffff; font-weight: 600; padding: 10px 12px; white-space: nowrap; }
.pro-table td { padding: 10px 12px; border-top: 1px solid #e2e8f0; vertical-align: top; line-height: 1.45; }
.pro-table tbody tr:nth-child(even) td { background: #f8fafc; }
.pro-table .pro-dim { color: #64748b; font-size: 13px; }
.pro-table .pro-lock { color: #94a3b8; letter-spacing: .04em; }
.pro-tag { display: inline-block; margin: 3px 6px 0 0; padding: 1px 8px; border-radius: 999px; background: #e6f4f1; color: #0f5f58; font-size: 12px; font-weight: 600; }
.pro-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; color: #64748b; }
.pro-pager button { font: inherit; font-weight: 600; color: #1553a8; background: none; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.pro-pager button[disabled] { color: #94a3b8; cursor: default; }

.pro-unlock { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 16px; padding: 20px; border-radius: 12px; background: #eef6ff; border: 1px solid #c7ddf7; }
.pro-unlock h3 { margin: 0 0 4px; font-size: 18px; color: #1d3a62; }
.pro-unlock p { margin: 0; font-size: 14.5px; color: #374151; max-width: 520px; line-height: 1.5; }
.pro-unlock-cta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pro-unlock-cta small { font-size: 12.5px; color: #64748b; }

/* Phone: each row becomes a card, so nothing scrolls sideways. */
@media (max-width: 720px) {
  .pro-hero { padding: 28px 0 26px; }
  .pro-card { padding: 18px 16px; }
  .pro-table-wrap { border: 0; overflow: visible; }
  .pro-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pro-table, .pro-table tbody, .pro-table tr, .pro-table td { display: block; width: 100%; box-sizing: border-box; }
  .pro-table tr { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; padding: 10px 12px; background: #ffffff; }
  .pro-table tbody tr:nth-child(even) td { background: none; }
  .pro-table td { border: 0; padding: 3px 0; }
  .pro-table td[data-label]::before { content: attr(data-label) ": "; color: #64748b; font-size: 13px; }
  .pro-table td.pro-main::before { content: none; }
  .pro-table td.pro-main { font-weight: 600; font-size: 15px; }
  .pro-unlock-cta, .pro-unlock-cta .pro-btn, .pro-form-actions .pro-btn { width: 100%; box-sizing: border-box; }
  .pro-count { font-size: 22px; }
}

/* Card form */
.pro-modal { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pro-modal-box { background: #ffffff; border-radius: 14px; max-width: 420px; width: 100%; padding: 24px 22px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); max-height: 92vh; overflow: auto; box-sizing: border-box; }
.pro-modal-box h3 { margin: 0 0 4px; font-size: 19px; color: #20334e; }
.pro-modal-box p.pro-modal-sub { margin: 0 0 16px; font-size: 14px; color: #6b7280; line-height: 1.45; }
.pro-modal-box input { width: 100%; box-sizing: border-box; padding: 11px 12px; margin-bottom: 10px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; font-size: 16px; }
.pro-modal-err { margin: 0 0 12px; font-size: 13px; color: #b91c1c; }
.pro-modal-box .pro-btn { width: 100%; }
.pro-modal-cancel { width: 100%; background: none; border: 0; color: #6b7280; font: inherit; font-size: 13px; margin-top: 10px; cursor: pointer; padding: 8px; }
.pro-modal-fine { margin: 12px 0 0; font-size: 11.5px; color: #9ca3af; text-align: center; line-height: 1.5; }

.pro-body [hidden] { display: none !important; }
