/* "Install app": a slim bar above public pages and inside the buyer/seller dashboards. Hidden until installable, and on phones and tablets only (a desktop browser has its own install icon in the address bar). */
.pwa-bar[hidden], [data-pwa-install][hidden] { display: none !important }
.pwa-bar { background: linear-gradient(90deg, #0c3b68, #155a97); color: #fff; font-size: 13.5px }
.pwa-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 8px 16px }
.pwa-bar-copy { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding-inline-start: 8px }
.pwa-bar-act { display: flex; align-items: center; gap: 6px; flex: none }
.pwa-bar-copy img { width: 28px; height: 28px; border-radius: 7px; background: #fff; flex: none }
.pwa-bar-copy b { font-weight: 700 }
.pwa-bar-copy span { opacity: .85 }
.pwa-bar .pwa-go { border: 0; border-radius: 999px; background: #ee7a2b; color: #fff; font-weight: 700; font-size: 13px; padding: 7px 16px; cursor: pointer }
.pwa-bar .pwa-go:hover { background: #d96a1f }
.pwa-bar .pwa-close { border: 0; background: transparent; color: #fff; opacity: .75; font-size: 20px; line-height: 1; padding: 4px 8px; cursor: pointer }
.pwa-bar .pwa-close:hover { opacity: 1 }
@media (max-width: 640px) {
  .pwa-bar-in { padding: 8px 12px; gap: 8px }
  .pwa-bar-copy span { display: none }
}
/* Inside a dashboard's content area it is a card, not a full-width strip. */
.pwa-bar--inline { border-radius: 14px; margin: 0 0 16px; overflow: hidden }

/* Desktop (wide screen with a mouse): no bar. Phones, tablets and any touch screen keep it. */
@media (min-width: 1025px) and (pointer: fine) { .pwa-bar { display: none !important } }
