/* Shared Tokenpilot header logo styling. Loaded only by pages that opt in. */
:root {
  --tp-header-logo-url: url("/assets/pwa/icon-192.png?v=20260519-logo");
}

/* Public landing page logo */
.logo svg {
  display: none;
}
.logo::before {
  content: "";
  width: 34px;
  height: 34px;
  display: inline-block;
  flex: 0 0 34px;
  border-radius: 10px;
  background-image: var(--tp-header-logo-url);
  background-size: cover;
  background-position: center;
  box-shadow: var(--cockpit-shadow, 0 8px 22px rgba(0, 0, 0, 0.24));
}

/* Info app headers */
.info-header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.info-header-brand::before,
.info-auth-brand::before,
.info-step-head::before {
  content: "";
  width: 34px;
  height: 34px;
  display: inline-block;
  flex: 0 0 34px;
  border-radius: 10px;
  background-image: var(--tp-header-logo-url);
  background-size: cover;
  background-position: center;
  box-shadow: var(--cockpit-shadow, 0 8px 22px rgba(0, 0, 0, 0.16));
}
.info-auth-brand::before,
.info-step-head::before {
  margin: 0 auto 10px;
  display: block;
}

/* Cockpit/internal app headers */
.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-row::before {
  content: "";
  width: 46px;
  height: 46px;
  display: inline-block;
  flex: 0 0 46px;
  border-radius: 14px;
  background-image: var(--tp-header-logo-url);
  background-size: cover;
  background-position: center;
  box-shadow: var(--cockpit-shadow, 0 12px 28px rgba(0, 0, 0, 0.24));
}

/* Private app headers show logo plus page heading only. */
.brand-row .brand-eyebrow,
.brand-row .brand-copy > p:not(.brand-eyebrow) {
  display: none;
}
.brand-row .brand-copy h1 {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .logo::before,
  .info-header-brand::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }
  .brand-row::before {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }
}