/* =========================================================================
   Component — note
   An aside that is a note, not an alert. Colour carries nothing: the heading
   says what it is (audit rule E-4), and the rule is a border rather than a
   tinted fill, so it needs none of the semantic pairs L-FE-03 warns about.
   ========================================================================= */

.note {
  border-left: 3px solid var(--sd-secondary);
  padding: 4px 0 4px 18px;
  margin: 0;
}

.note h2,
.note h3 {
  font-size: var(--text-body);
  margin: 0 0 6px;
}

.note p {
  margin: 0;
  font-size: var(--text-body);
  color: var(--doc-ink-soft);
}

/* -------------------------------------------------------------------------
   The upsell layer (U-2181, ADR-0163): the real page, blurred and inert,
   under a notice that the capability needs a paid tier. The backdrop is
   `inert` in the markup, so nothing under the notice can be focused, clicked
   or submitted; the blur is what the reader sees, not what holds it.
   ------------------------------------------------------------------------- */

.upsell {
  position: relative;
}

.upsell-backdrop {
  filter: blur(3px);
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

.upsell-notice {
  position: absolute;
  inset: 24px 0 auto;
  margin: 0 auto;
  max-width: 460px;
  padding: 18px 22px;
  background: var(--doc-panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}

.upsell-notice p + p,
.upsell-banner p + p {
  margin-top: 8px;
}

.upsell-banner {
  margin: 0 0 18px;
}
