/* A compact contact dock; only the listing detail loads this stylesheet. */
@media (max-width: 760px) {
  body.has-mobile-contact {
    padding-bottom: calc(var(--nap-contact-clearance, 80px) + env(safe-area-inset-bottom));
  }
  .nap-mobile-contact-bar {
    box-sizing: border-box;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    gap: 4px;
    padding: 6px !important;
    border: 1px solid #deddd5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nap-mobile-contact-bar .nap-mobile-contact-action {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #191919;
    font: 700 14px/1.25 system-ui, sans-serif;
    overflow-wrap: anywhere;
    text-decoration: none;
  }
  .nap-mobile-contact-bar .nap-mobile-contact-action.is-primary {
    background: #ffe45c;
    color: #111;
  }
  .nap-mobile-contact-bar .nap-mobile-contact-action:active { background: #eeeae0; }
  .nap-mobile-contact-bar .nap-mobile-contact-action.is-primary:active { background: #edd241; }
  .nap-mobile-contact-bar.nap-contact-reading {
    opacity: 0;
    transform: translateY(calc(100% + 16px + env(safe-area-inset-bottom))) !important;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nap-mobile-contact-bar { transition: none; }
}
@media print {
  .nap-mobile-contact-bar { display: none !important; }
  body.has-mobile-contact { padding-bottom: 0; }
}
