/* Scoped installation control, shared by public and standalone headers. */
button.bs-pwa-install{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  flex:0 0 auto;width:44px;min-width:44px;min-height:44px;margin:0;padding:9px;
  border:1px solid #aacbea;border-radius:13px;background:linear-gradient(145deg,#fff,#eaf4ff);
  color:#154f87;font:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;
  box-shadow:0 3px 9px #164e7912;vertical-align:middle;
}
.bs-pwa-install svg{display:block;width:24px;height:24px;flex:0 0 24px}
.bs-pwa-install .bs-pwa-install-tray{stroke:#c65308}
.bs-pwa-install-label{display:none}
button.bs-pwa-install:hover{border-color:#e97825;background:#fff6ed}
button.bs-pwa-install:focus-visible,.bs-pwa-dialog button:focus-visible,.bs-pwa-dialog a:focus-visible{outline:3px solid #ef7c26;outline-offset:3px}
button.bs-pwa-install:disabled{cursor:default}
button.bs-pwa-install.is-installed{color:#286448;border-color:#81b99b;background:#f0faf4}
.v2b-header .v2b-header-main{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;height:auto;min-height:64px}
.v2b-header .v2b-brand{min-width:0}
.v2b-header .v2b-head-actions{gap:7px}
.v2b-header .v2b-drawer{top:100%}
.city-topbar .city-topbar-in{flex-wrap:wrap;gap:10px}
.city-topbar .city-top-actions{flex-wrap:wrap}
.bs-pwa-owner-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bs-pwa-owner-header .owner-brand{margin:0}
.bs-sc-admin>header,.lc-top,.bsm-public>.bsm-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bs-notif-head{flex-wrap:wrap}
.bs-invoice-header>.bs-pwa-install{align-self:flex-start}
.bs-pwa-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid #aacbea;border-radius:20px;background:#fff;color:#172b46;font:inherit;line-height:1.7;box-shadow:0 16px 70px #102f5940;z-index:10000}
.bs-pwa-dialog::backdrop{background:#0c244ab3}
.bs-pwa-dialog h2{margin:0 0 14px;font-size:21px;color:#154f87;line-height:1.6}
.bs-pwa-dialog p{margin:12px 0}
.bs-pwa-dialog .bs-pwa-help-note{font-size:14px;color:#4b5d70}
.bs-pwa-dialog a{display:block;margin:12px 0;color:#154f87}
.bs-pwa-dialog button.bs-pwa-help-close{display:block;min-height:44px;margin:18px 0 0 auto;padding:9px 22px;border:0;border-radius:11px;background:#154f87;color:#fff;font:inherit;font-weight:700;cursor:pointer}
@media(min-width:1100px){.v2b-head-actions>.bs-pwa-install{width:auto;padding-inline:13px}.v2b-head-actions .bs-pwa-install-label{display:inline}}
@media(max-width:370px){
  .v2b-header .v2b-header-main{grid-template-columns:44px minmax(0,1fr);padding:7px 12px;gap:5px 10px}
  .v2b-header .v2b-brand{justify-self:end}
  .v2b-header .v2b-head-actions{grid-column:1 / -1;justify-content:flex-end}
  .v2b-head-actions>.bs-pwa-install{margin-right:auto}
  .v2b-head-actions .bs-pwa-install-label{display:inline;font-size:11px}
  .v2b-head-actions>.bs-pwa-install{width:auto;max-width:calc(100% - 100px);padding:7px;gap:5px}
  .bs-pwa-dialog{padding:20px}
}
@media print{.bs-pwa-install,.bs-pwa-dialog{display:none!important}}
