/* 4P3X Four Paws Old Dog frontend upgrade overlay — preserves core engines */
.fp-upgrade-panel{margin:1rem 0;padding:1rem;border:1px solid rgba(217,179,95,.35);border-radius:18px;background:linear-gradient(135deg,rgba(9,9,13,.94),rgba(47,33,24,.84));box-shadow:0 18px 44px rgba(0,0,0,.22);color:#f7f1dc}.fp-upgrade-panel h3{margin:.1rem 0 .45rem;color:#f5d485}.fp-upgrade-panel p{margin:.35rem 0;color:#e9dfc4}.fp-upgrade-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.fp-upgrade-actions button,.fp-gate-button{border:1px solid rgba(217,179,95,.45);background:rgba(217,179,95,.12);color:#f8e4a8;border-radius:999px;padding:.62rem .9rem;cursor:pointer;font-weight:700}.fp-upgrade-actions button:disabled{opacity:.55;cursor:not-allowed}.fp-notes-textarea{width:100%;min-height:120px;margin-top:.6rem;border-radius:14px;border:1px solid rgba(217,179,95,.3);background:rgba(0,0,0,.42);color:#fff;padding:.85rem;resize:vertical}.fp-save-status{font-size:.9rem;color:#bff7cc}.fp-gate-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:99999;max-width:760px;margin:auto;padding:1rem;border-radius:18px;border:1px solid rgba(217,179,95,.45);background:rgba(7,7,10,.96);box-shadow:0 20px 70px rgba(0,0,0,.45);color:#fff}.fp-gate-banner strong{color:#f5d485}.fp-gate-card{margin:1rem 0;padding:1rem;border-radius:18px;border:1px solid rgba(141,91,255,.38);background:linear-gradient(135deg,rgba(25,20,38,.95),rgba(6,6,8,.92));color:#fff}.fp-gate-status{font-size:.92rem;color:#e8dec0}.fp-hidden-public-config input[placeholder*="Supabase"],.fp-hidden-public-config input[aria-label*="Supabase"]{display:none!important}@media(max-width:680px){.fp-upgrade-actions{flex-direction:column}.fp-upgrade-actions button{width:100%}.fp-gate-banner{left:.55rem;right:.55rem;bottom:.55rem}}


/* Logo rendering hotfix: use valid PNG/SVG assets and keep brand marks contained on mobile. */
.brand-lockup img,
.pwa-header img,
.site-header img,
.hero img,
.card img,
img[src*="four-paws-owner-icon"],
img[src*="four-paws-owner-edition-logo"],
img[src*="fourpaws-4p3x"] {
  object-fit: contain !important;
  display: block !important;
  max-width: 100% !important;
  height: auto;
}
.brand-lockup img { width: 52px !important; height: 52px !important; flex: 0 0 52px !important; border-radius: 14px; }
.site-header .brand-lockup { align-items: center !important; overflow: hidden; }
.site-header .brand-lockup > div { min-width: 0; }
.site-header .brand-lockup strong,
.site-header .brand-lockup span { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .brand-lockup img { width: 44px !important; height: 44px !important; flex-basis: 44px !important; }
}


/* Uploaded Four Paws branded logo placement fix — uses provided logo assets, not generated placeholders. */
.brand-lockup img[src*="four-paws-owner-icon"],
.brand-lockup img[src*="icon-192"] {
  background:#000 !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:2px !important;
}
img[src*="four-paws-owner-edition-logo"] {
  background:#000 !important;
  object-fit:contain !important;
  object-position:center !important;
}
.fp-uploaded-brand-logo {
  display:block;
  width:min(560px, 100%);
  margin:1rem auto;
  border-radius:22px;
  background:#000;
  box-shadow:0 22px 70px rgba(0,0,0,.42);
  border:1px solid rgba(217,179,95,.28);
}
@media(max-width:680px){.fp-uploaded-brand-logo{border-radius:16px;margin:.75rem auto;}}
.hero .fp-uploaded-brand-logo{grid-column:1 / -1;max-width:min(520px,92vw);justify-self:center;align-self:center;}
