/* Reviewed mobile website layout. Desktop content and layout are preserved. */
.pnm-mobile-only { display: none; }
@media (max-width: 760px) {
  .pnm-mobile-only { display: block; }
  .pnm-mobile-welcome, .pnm-mobile-about, .pnm-mobile-connect { --pnm-ink: var(--text, #171923); --pnm-muted: var(--muted, #626778); --pnm-line: var(--border, #e4e5ef); --pnm-panel: var(--surface, #fff); --pnm-accent: var(--primary, #5949dd); color: var(--pnm-ink); }
  .welcome-page .wrap, .about-page .wrap { width: min(100% - 32px, 720px); }
  body:has(.pnm-mobile-welcome) #app:focus, body:has(.pnm-mobile-about) #app:focus { outline: none; }
  body:has(.pnm-compact-login) #app:focus { outline: none; }
  .welcome-page .uc-hero, .welcome-page .category-slider-section, .welcome-page .welcome-directory-section, .welcome-page .welcome-footer, .about-page .about-hero { display: none; }
  .pnm-mobile-welcome { padding: 24px 0 4px; }
  .pnm-mobile-welcome > .eyebrow, .pnm-mobile-about > .eyebrow { display: block; padding: 0; background: none; color: var(--pnm-accent); font-size: 12px; letter-spacing: .04em; margin: 0 0 12px; }
  .pnm-mobile-welcome h1, .pnm-mobile-about h1 { font-size: clamp(28px, 8.1vw, 38px); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 14px; }
  .pnm-mobile-welcome > p, .pnm-mobile-about > p { color: var(--pnm-muted); font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
  .pnm-mobile-service-search { display: flex; gap: 10px; align-items: center; border: 1px solid var(--pnm-line); border-radius: 16px; background: var(--pnm-panel); padding: 6px 6px 6px 14px; }
  .pnm-mobile-service-search > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--pnm-muted); }
  .pnm-mobile-service-search input { width: 0; flex: 1; min-width: 0; border: 0; padding: 10px 0; background: transparent; box-shadow: none; border-radius: 0; font-size: 16px; }
  .pnm-mobile-service-search .secondary-btn { width: 44px; min-height: 44px; padding: 10px; flex-shrink: 0; border-radius: 12px; }
  .pnm-mobile-welcome > p.small { font-size: 12px; margin: 9px 2px 20px; }
  .pnm-mobile-role-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pnm-mobile-role-actions button { padding: 12px 8px; font-size: 14px; min-height: 50px; border-radius: 14px; }
  .pnm-mobile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 8px; }
  .pnm-mobile-section-heading h2, .pnm-mobile-how h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
  .pnm-mobile-section-heading a { padding: 12px 0 12px 12px; font-size: 14px; font-weight: 700; }
  .pnm-mobile-service-links { display: grid; border: 1px solid var(--pnm-line); border-radius: 16px; overflow: hidden; background: var(--pnm-panel); }
  .pnm-mobile-service-links a { display: flex; align-items: center; min-height: 60px; padding: 12px 14px; gap: 12px; font-size: 15px; color: var(--pnm-ink); text-decoration: none; }
  .pnm-mobile-service-links a + a { border-top: 1px solid var(--pnm-line); }
  .pnm-mobile-service-links a > svg:first-child { width: 22px; height: 22px; color: var(--pnm-accent); flex: 0 0 22px; }
  .pnm-mobile-service-links a > svg:last-child { width: 18px; height: 18px; margin-left: auto; flex: 0 0 18px; color: var(--pnm-muted); }
  .pnm-mobile-how { margin: 24px 0 0; padding: 20px 0; border-top: 1px solid var(--pnm-line); }
  .pnm-mobile-how ol { counter-reset: mobile-step; display: grid; gap: 15px; list-style: none; padding: 0; margin: 20px 0 0; }
  .pnm-mobile-how li { counter-increment: mobile-step; display: flex; align-items: center; gap: 12px; font-size: 14px; }
  .pnm-mobile-how li::before { content: counter(mobile-step); display: grid; place-items: center; border: 1px solid var(--pnm-line); color: var(--pnm-accent); border-radius: 50%; width: 28px; height: 28px; flex: 0 0 28px; font-size: 13px; font-weight: 800; }
  .welcome-page .uc-section { margin-top: 28px; }
  .welcome-page .uc-section .section-title h2 { font-size: 23px; line-height: 1.25; }
  .pnm-mobile-about { padding: 18px 0 0; }
  .pnm-mobile-about .pnm-mobile-back { display: inline-flex; min-height: 44px; margin-bottom: 22px; padding: 9px 12px; gap: 8px; }
  .pnm-mobile-about > article { border: 1px solid var(--pnm-line); border-radius: 18px; background: var(--pnm-panel); padding: 20px; margin: 16px 0; }
  .pnm-mobile-about > article > svg { color: var(--pnm-accent); width: 24px; height: 24px; }
  .pnm-mobile-about > article h2 { font-size: 21px; margin: 12px 0 8px; }
  .pnm-mobile-about > article p { color: var(--pnm-muted); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
  .pnm-mobile-about > article button { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 14px; }
  .pnm-mobile-privacy { display: flex; gap: 10px; margin: 10px 0; padding: 16px; border: 1px solid var(--pnm-line); border-radius: 14px; font-size: 14px; line-height: 1.5; }
  .pnm-mobile-privacy svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--pnm-accent); }
  .pnm-mobile-resource { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin: 10px 0 26px; font-size: 14px; }
  .about-page .about-section { margin-top: 28px; }
  .about-page .about-values, .about-page .about-split { display: none; }
  .pnm-mobile-connect { margin-top: 32px; padding: 22px 0; border-top: 1px solid var(--pnm-line); }
  .pnm-mobile-connect-cta { padding: 22px; border: 1px solid var(--pnm-line); border-radius: 20px; margin-bottom: 30px; }
  .pnm-mobile-connect-cta h2 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
  .pnm-mobile-connect p { color: var(--pnm-muted); font-size: 14px; line-height: 1.55; }
  .pnm-mobile-connect-cta .primary-btn, .pnm-mobile-connect-cta .secondary-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; width: 100%; margin-top: 12px; padding: 12px; border-radius: 13px; text-decoration: none; font-size: 15px; font-weight: 700; }
  .pnm-mobile-connect-cta .primary-btn { background: #5949dd; color: white; border: 1px solid #5949dd; }
  .pnm-mobile-connect-cta .secondary-btn { color: var(--pnm-ink); border: 1px solid var(--pnm-line); background: transparent; }
  .pnm-mobile-brand { display: flex; align-items: center; gap: 10px; font-size: 23px; }
  .pnm-mobile-brand img { width: 42px; height: 42px; }
  .pnm-mobile-connect h3 { font-size: 15px; margin: 23px 0 12px; }
  .pnm-mobile-social { display: flex; align-items: center; gap: 12px; }
  .pnm-mobile-social a { display: grid; place-items: center; border: 1px solid var(--pnm-line); border-radius: 13px; width: 50px; height: 50px; }
  .pnm-mobile-social img { display: block; width: 28px; height: 28px; }
  .pnm-mobile-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
  .pnm-mobile-footer-links a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; font-size: 14px; color: var(--pnm-muted); }
  .pnm-mobile-footer-legal { display: flex; flex-wrap: wrap; border-top: 1px solid var(--pnm-line); padding-top: 14px; column-gap: 18px; }
  .pnm-mobile-footer-legal a { display: flex; align-items: center; min-height: 44px; color: var(--pnm-muted); font-size: 12px; text-decoration: none; }
  .pnm-mobile-connect p.small { font-size: 11px; }
  .pnm-mobile-only a:focus-visible, .pnm-mobile-only button:focus-visible, .pnm-mobile-toc summary:focus-visible { outline: 3px solid #8b80f9; outline-offset: 3px; }
  /* Standalone help/policy pages keep their full content and dark presentation. */
  .pnm-mobile-legal .legal-shell { width: calc(100% - 32px); padding-top: 18px; }
  .pnm-mobile-legal .brand-row { align-items: center; gap: 12px; margin-bottom: 22px; }
  .pnm-mobile-legal .brand { font-size: 18px; gap: 8px; }
  .pnm-mobile-legal .brand-mark { width: 36px; height: 36px; }
  .pnm-mobile-legal .back-link { font-size: 12px; line-height: 1.4; max-width: 100px; min-height: 44px; display: flex; align-items: center; text-align: right; }
  .pnm-mobile-legal .hero { background: none; box-shadow: none; border: 0; padding: 4px 0 18px; border-radius: 0; }
  .pnm-mobile-legal .hero h1 { font-size: clamp(29px, 8vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin: 13px 0; }
  .pnm-mobile-legal .hero .lead { font-size: 16px; line-height: 1.65; }
  .pnm-mobile-legal .hero .eyebrow { font-size: 11px; padding: 0; background: none; color: #b7afff; }
  .pnm-mobile-legal .contact-grid { gap: 10px; margin-top: 14px; }
  .pnm-mobile-legal .contact-card { padding: 18px; border-radius: 14px; overflow-wrap: anywhere; }
  .pnm-mobile-legal .contact-card strong { font-size: 17px; }
  .pnm-mobile-legal .contact-card .pnm-contact-detail { margin: 10px 0 0; font-size: 13px; line-height: 1.55; }
  .pnm-mobile-legal .hero > h2 { font-size: 20px; margin-top: 25px; }
  .pnm-mobile-legal .document-card { padding: 20px; margin-top: 20px; border-radius: 16px; }
  .pnm-mobile-legal .document-card h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
  .pnm-mobile-legal .document-card p, .pnm-mobile-legal .document-card li { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
  .pnm-mobile-legal .document-card section + section { margin-top: 22px; padding-top: 22px; }
  .pnm-mobile-legal .sms-consent { padding: 16px; }
  .pnm-mobile-resources, .pnm-mobile-toc, .pnm-mobile-deletion, .pnm-mobile-report { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; margin: 16px 0; padding: 18px; }
  .pnm-mobile-resources h2 { font-size: 19px; margin: 0 0 10px; }
  .pnm-mobile-resources a, .pnm-mobile-toc nav a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; text-decoration: none; font-size: 14px; line-height: 1.5; color: var(--text); }
  .pnm-mobile-toc nav a + a, .pnm-mobile-resources a + a { border-top: 1px solid var(--line); }
  .pnm-mobile-toc summary { cursor: pointer; min-height: 44px; padding: 8px 0; font-weight: 700; font-size: 16px; }
  .pnm-mobile-toc nav { margin-top: 8px; }
  .pnm-mobile-legal section[id], .pnm-mobile-legal h2[id] { scroll-margin-top: 20px; }
  .pnm-mobile-emergency { padding: 18px; }
  .pnm-mobile-report { background: transparent; padding: 0; border: 0; }
  .pnm-mobile-report a, .pnm-mobile-primary { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; border: 1px solid #897bff; border-radius: 13px; background: #6a58ef; color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; }
  .pnm-mobile-report p, .pnm-mobile-help { color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
  .pnm-delete-account .hero .contact-grid { display: none; }
  .pnm-mobile-deletion { padding: 20px; }
  .pnm-mobile-deletion ol { padding-left: 20px; margin: 0; }
  .pnm-mobile-deletion li { padding-left: 5px; }
  .pnm-mobile-deletion li + li { margin-top: 20px; }
  .pnm-mobile-deletion strong { font-size: 16px; }
  .pnm-mobile-deletion p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
  .pnm-mobile-deletion aside { border: 1px solid #6b5630; background: #2e2618; border-radius: 12px; padding: 16px; margin: 22px 0; }
  .pnm-mobile-deletion .pnm-mobile-help { font-size: 12px; margin-top: 13px; }
  .pnm-mobile-legal .footer-links { gap: 6px 16px; font-size: 12px; }
  .pnm-mobile-legal .footer-links a { min-height: 44px; display: flex; align-items: center; }
  /* Directory and automotive guide retain real catalogue data and anchored details. */
  .pnm-directory-index .directory-wrap, .pnm-automotive-guide .directory-wrap { width: calc(100% - 32px); }
  .pnm-directory-index .directory-hero { display: none; }
  .pnm-mobile-directory-heading { padding: 25px 0 10px; }
  .pnm-mobile-directory-heading h1 { font-size: 31px; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 12px; }
  .pnm-mobile-directory-heading p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
  .pnm-directory-index .section-heading { display: flex; flex-direction: column; align-items: stretch; margin: 12px 0; gap: 16px; }
  .pnm-directory-index .directory-search { order: -1; max-width: none; width: 100%; }
  .pnm-directory-index .directory-search input { font-size: 16px; }
  .pnm-directory-index .section-heading h2 { font-size: 20px; }
  .pnm-directory-index .section-heading .eyebrow { display: none; }
  .pnm-directory-index .directory-grid { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .pnm-directory-index [data-guide-card] { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; min-height: 0; }
  .pnm-directory-index [data-guide-card]:not([hidden]) + [data-guide-card] { border-top: 1px solid var(--line); }
  .pnm-directory-index [data-guide-card] > :not(.pnm-mobile-directory-row) { display: none; }
  .pnm-mobile-directory-row { display: flex; gap: 12px; align-items: center; min-height: 76px; padding: 13px; color: var(--ink); text-decoration: none; }
  .pnm-mobile-directory-row img { width: 42px; height: 42px; object-fit: cover; border-radius: 11px; flex: 0 0 42px; }
  .pnm-mobile-directory-row > span:first-of-type { flex: 1; min-width: 0; }
  .pnm-mobile-directory-row strong { display: block; font-size: 15px; line-height: 1.35; }
  .pnm-mobile-directory-row small { display: block; font-size: 12px; margin-top: 5px; color: var(--muted); }
  .pnm-mobile-directory-row > span:last-child { font-size: 23px; color: var(--muted); }
  .pnm-directory-index .directory-connect, .pnm-automotive-guide .directory-connect, .pnm-directory-index .directory-footer-bottom, .pnm-automotive-guide .directory-footer-bottom { display: none; }
  .pnm-directory-index .directory-footer, .pnm-automotive-guide .directory-footer { background: #fafaff; border-top: 0; }
  .directory-footer .pnm-mobile-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .directory-footer .pnm-mobile-footer-legal { gap: 0 18px; }
  .pnm-directory-index .directory-header nav, .pnm-automotive-guide .directory-header nav { gap: 6px; }
  .pnm-directory-index .directory-header nav > a:not(.button), .pnm-automotive-guide .directory-header nav > a:not(.button) { display: none; }
  .pnm-automotive-guide .guide-hero { padding: 22px 0; grid-template-columns: 1fr; gap: 0; background: none; border: 0; box-shadow: none; }
  .pnm-automotive-guide .guide-art { display: none; }
  .pnm-automotive-guide .guide-hero h1 { font-size: 31px; line-height: 1.16; letter-spacing: -.03em; }
  .pnm-automotive-guide .guide-hero p { font-size: 15px; line-height: 1.6; }
  .pnm-automotive-guide .guide-hero .button { width: 100%; min-height: 48px; justify-content: center; }
  .pnm-automotive-guide .guide-hero .small { font-size: 12px; }
  .pnm-mobile-automotive-links { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 0 0 24px; }
  .pnm-mobile-automotive-links h2 { font-size: 20px; padding: 18px; margin: 0; }
  .pnm-mobile-automotive-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
  .pnm-mobile-automotive-links a::after { content: '›'; margin-left: 12px; color: var(--muted); }
  .pnm-mobile-more-services summary { cursor: pointer; min-height: 48px; border-top: 1px solid var(--line); padding: 13px 18px; color: var(--brand); font-size: 14px; font-weight: 700; }
  .pnm-automotive-guide .guide-preparation { padding: 20px; border-radius: 16px; }
  .pnm-automotive-guide .guide-preparation h2 { font-size: 23px; }
  .pnm-automotive-guide .guide-preparation li { font-size: 14px; line-height: 1.6; }
  .pnm-automotive-guide .service-detail { padding: 18px; gap: 12px; scroll-margin-top: 110px; }
  .pnm-automotive-guide .service-detail img { width: 44px; height: 44px; }
  .pnm-automotive-guide .service-detail h3 { font-size: 19px; }
  .pnm-automotive-guide .service-detail p { font-size: 14px; line-height: 1.6; }
}
