.cjInstallButton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 8px 12px; border: 1px solid #f58025;
  border-radius: 8px; background: #102b4e; color: #fff;
  font: inherit; font-size: 12px; font-weight: 700; line-height: 1.25;
  white-space: nowrap; cursor: pointer;
}
.cjInstallButton--compact { min-height: 28px; padding: 4px 7px; font-size: 10px; }
.cjInstallButton[hidden], .cjInstallHelp[hidden] { display: none !important; }
.cjInstallButton:disabled { opacity: .6; cursor: wait; }
.cjInstallButton:focus-visible, .cjInstallHelp button:focus-visible {
  outline: 3px solid #f58025; outline-offset: 3px;
}
.cjInstallHelp {
  position: fixed; inset: 0; z-index: 100000; display: grid;
  place-items: center; padding: 20px; background: rgba(8, 23, 42, .65);
  color: #102b4e; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.cjInstallHelpInner {
  position: relative; width: min(100%, 420px); max-height: calc(100dvh - 40px);
  overflow: auto; box-sizing: border-box; padding: 28px; border-radius: 18px;
  background: #fff; border-top: 4px solid #f58025; box-shadow: 0 20px 60px #07152633;
}
.cjInstallHelpInner img { display: block; width: 64px; height: 64px; object-fit: contain; }
.cjInstallHelpInner h2 { color: #102b4e; margin: 18px 0 12px; font-size: 24px; line-height: 1.3; }
.cjInstallHelpInner p { color: #47576b; font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.cjInstallClose {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 6px; background: #f3f6fa; color: #102b4e;
  font: inherit; font-size: 25px; line-height: 1; cursor: pointer;
}
.cjInstallDismiss {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 8px;
  background: #102b4e; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
@media (max-width: 360px) {
  .cjInstallButton--compact { font-size: 9px; padding-inline: 5px; }
  .cjInstallHelpInner { padding: 22px; }
}
/* Keep original artwork inside the legacy header/footer's declared bounds. */
body .brandLogoLink .brandSurface > img,
body .brandLogoLink > img {
  min-height: 0 !important; max-height: 100% !important;
  max-width: 100% !important; object-fit: contain !important;
}
