/* Canonical private-beta product header. Home adds its activity action; every
   other gated product page uses only the shared brand group. */
.beta-product-topbar {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(250, 250, 247, 0.16);
  background: #1b2a4e;
  color: #fafaf7;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
}

.beta-product-brand-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.beta-product-brand {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.beta-product-brand .p65wordmark {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.beta-product-brand-mark {
  --mark-size: 30px;
  width: var(--mark-size);
  height: var(--mark-size);
  flex: 0 0 var(--mark-size);
  display: grid;
  place-items: center;
  color: #1b2a4e;
  line-height: 0;
}

.beta-product-brand-accent {
  color: #e89b2e;
}

.beta-product-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(250, 250, 247, 0.28);
  border-radius: 999px;
  color: #e8ebf3;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.beta-product-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.beta-product-brand:focus-visible {
  border-radius: 8px;
  outline: 3px solid #bd6500;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .beta-product-topbar {
    gap: 12px;
    padding: 10px 16px;
  }

  .beta-product-brand-group {
    gap: 10px;
  }

  .beta-product-brand .p65wordmark {
    font-size: 19px;
  }

  .beta-product-brand-mark {
    --mark-size: 28px;
  }

  .beta-product-chip {
    padding-inline: 8px;
    font-size: 10px;
  }
}

@media (forced-colors: active) {
  .beta-product-topbar,
  .beta-product-chip {
    border-color: CanvasText;
  }
}
