.nn-den {
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
  scroll-margin-top: 6rem;
}

.nn-den-form,
.nn-prev-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nn-den-rotulo {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nn-den-opc {
  font-weight: 400;
  opacity: 0.7;
}

.nn-den-campo {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
}

textarea.nn-den-campo {
  min-height: 5.5rem;
  resize: vertical;
}

.nn-den-campo:focus {
  outline: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  outline-offset: 1px;
}

.nn-den-campo[aria-invalid="true"],
.nn-den-motivos[aria-invalid="true"] .nn-den-cards {
  border-color: #dc2626;
}

.nn-den-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nn-den-motivos {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.nn-den-cards {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
}

.nn-den-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 0.75rem;
  cursor: pointer;
}

.nn-den-card:hover {
  border-color: color-mix(in srgb, currentColor 40%, transparent);
}

.nn-den-card input,
.nn-den-outro input {
  accent-color: var(--color-accent, #16a34a);
}

.nn-den-card input {
  position: absolute;
  top: 1rem;
  left: 0.875rem;
  margin: 0;
}

.nn-den-card:has(input:checked) {
  border-color: var(--color-accent, #16a34a);
  box-shadow: 0 0 0 1px var(--color-accent, #16a34a);
}

.nn-den-card:has(input:focus-visible) {
  outline: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  outline-offset: 2px;
}

.nn-den-card-nome {
  font-weight: 700;
}

.nn-den-card-texto {
  font-size: 0.875rem;
  line-height: 1.45;
  opacity: 0.8;
}

.nn-den-outro {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  cursor: pointer;
}

.nn-den-canal {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
}

.nn-den-canal a,
.nn-den-regras a {
  color: inherit;
  text-decoration: underline;
}

.nn-den-botao {
  align-self: flex-start;
  margin-top: 1rem;
  min-height: 2.75rem;
}

.nn-den-regras {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.nn-den-ok,
.nn-den-erro {
  margin: 0 0 1rem;
  padding: 0.75rem 0.875rem;
  border-left: 3px solid;
  border-radius: 0.375rem;
}

.nn-den-ok {
  border-color: #16a34a;
  background: color-mix(in srgb, #16a34a 12%, transparent);
}

.nn-den-erro {
  border-color: #d97706;
  background: color-mix(in srgb, #d97706 12%, transparent);
}

.nn-den-isca {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nn-prev-linha {
  display: flex;
  gap: 0.5rem;
}

.nn-prev-linha .nn-den-campo {
  flex: 1 1 auto;
  min-width: 0;
}

.nn-prev-botao {
  flex: 0 0 auto;
  min-height: 2.75rem;
}

.nn-prev .nn-den-erro {
  margin-top: 1rem;
}

.nn-prev-resultado {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 1rem;
}

.nn-prev-de {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.75;
}

.nn-prev-dominio {
  margin: 0.25rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.375rem, 5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.nn-prev-suspenso {
  font-family: inherit;
  letter-spacing: 0;
}

.nn-prev-itens {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.nn-prev-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, currentColor 5%, transparent);
}

.nn-prev-icone {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: #71717a;
}

.nn-prev-ok .nn-prev-icone {
  background: #16a34a;
}

.nn-prev-alerta {
  background: color-mix(in srgb, #d97706 12%, transparent);
}

.nn-prev-alerta .nn-prev-icone {
  background: #d97706;
}

.nn-prev-txt {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.nn-prev-txt strong {
  display: block;
}

.nn-prev-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nn-prev-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.nn-prev-nota {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
}

.nn-susp {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.nn-susp-titulo {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.nn-susp-texto {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  opacity: 0.85;
}

.nn-susp form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
  margin: 0 auto;
  text-align: left;
}

.nn-susp form label {
  font-size: 0.875rem;
  font-weight: 600;
}

.nn-susp form input[type="password"] {
  padding: 0.65rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 0.6rem;
  background: transparent;
  color: inherit;
  font: inherit;
}

.nn-susp form .nn-susp-texto {
  margin: 0;
}

@media (max-width: 560px) {
  .nn-den-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nn-prev-linha {
    flex-direction: column;
  }

  .nn-prev-resultado {
    padding: 1rem;
  }
}
