/* AlertMe page */
.am-grid {
  display: grid;
  gap: 1.25rem;
}
.am-panel {
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(40, 36, 28, 0.12);
  padding: 1.1rem 1.15rem 1.25rem;
}
.am-label {
  display: block;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: rgba(40, 36, 28, 0.7);
}
.am-input,
.am-textarea {
  width: 100%;
  font: 1rem/1.45 "IBM Plex Mono", ui-monospace, monospace;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(40, 36, 28, 0.18);
  background: #fff;
  color: #1a1814;
  resize: vertical;
}
.am-textarea { min-height: 7rem; }
.am-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.am-status {
  min-height: 1.4em;
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
}
.am-status.is-error { color: #8b2e2e; }
.am-status.is-ok { color: #1f6b3a; }
.am-result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid #0f5c4c;
  background: rgba(15, 92, 76, 0.06);
}
.am-result.is-reject {
  border-left-color: #8b2e2e;
  background: rgba(139, 46, 46, 0.06);
}
.am-result h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}
.am-summary {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.am-summary > div {
  display: grid;
  gap: 0.15rem;
}
.am-summary dt {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(40, 36, 28, 0.65);
}
.am-summary dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.am-source-list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.am-source-list li {
  line-height: 1.35;
}
.am-note-line,
.am-next {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: rgba(40, 36, 28, 0.78);
}
.am-cancel-link {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
}
.am-advanced {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}
.am-advanced summary {
  cursor: pointer;
  color: rgba(40, 36, 28, 0.7);
  font-family: Outfit, system-ui, sans-serif;
}
.am-advanced[open] summary {
  margin-bottom: 0.65rem;
}
.am-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
}
.am-chip {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(40, 36, 28, 0.16);
  background: #fff;
  cursor: pointer;
  color: inherit;
}
.am-chip:hover { border-color: #0f5c4c; }
.am-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Megaphone watermark sits with the title block, below the nav */
.hero-stage--alertme .hero-backdrop--alertme {
  background: #0b1210;
  filter: none;
  transform: none;
  animation: none;
}
.hero-stage--alertme::after {
  display: none; /* solid dark stage — no photo wash */
}
.hero-stage--alertme .hero-backdrop--alertme::after {
  background:
    linear-gradient(
      180deg,
      rgba(11, 18, 16, 0.35) 0%,
      transparent 55%,
      rgba(11, 18, 16, 0.55) 100%
    );
}
.hero-stage--alertme .hero-inner--alertme {
  position: relative;
  isolation: isolate;
  max-width: 40rem;
  overflow: hidden;
  text-align: center;
  padding: 1.75rem 3rem 2rem;
  box-sizing: border-box;
}
.hero-stage--alertme .hero-alertme-mark {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 0;
  width: min(112%, 38rem);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.22;
  filter: none;
  pointer-events: none;
  user-select: none;
}
.hero-stage--alertme .hero-inner--alertme > :not(.hero-alertme-mark) {
  position: relative;
  z-index: 1;
}
.hero-stage--alertme .hero-inner--alertme .kicker,
.hero-stage--alertme .hero-inner--alertme h1,
.hero-stage--alertme .hero-inner--alertme .hero-lede {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 28px rgba(11, 18, 16, 0.95);
}
.hero-stage--alertme .hero-inner--alertme .hero-lede {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) {
  .hero-stage--alertme .hero-inner--alertme {
    max-width: none;
    padding: 1.35rem 1.75rem 1.5rem;
  }
  .hero-stage--alertme .hero-alertme-mark {
    width: min(130%, 28rem);
    top: 60%;
    opacity: 0.28;
  }
}

@media (max-width: 640px) {
  .am-actions .btn { width: 100%; }
}
