/**
 * @file
 * CN Modal: Light/Dark per prefers-color-scheme; Klassen über CNS-Platzhalter (Präfix CLASS-CNS, Slug cn-modal-root usw.).
 *
 * @version 2.0.0 — 16.04.2026 Europe/Berlin
 */

.cns-a0f51d4 {
  --cns-modal-fg: #000;

  position: fixed;
  z-index: 9999;
  box-sizing: border-box;
  max-width: min(100vw - 2rem, var(--cns-modal-width, 90vw));
  width: var(--cns-modal-width, 90vw);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 0;
  margin: 0;
  background: #fff;
  color: var(--cns-modal-fg);
  box-shadow:
    0 0 0 5px #000,
    0 0 24px 8px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  .cns-a0f51d4 {
    --cns-modal-fg: #fff;

    background: #000;
    color: var(--cns-modal-fg);
    box-shadow:
      0 0 0 5px #fff,
      0 0 24px 8px rgba(255, 255, 255, 0.45);
  }

  .cns-f1c30f9 {
    border-color: #ccc;
    color: var(--cns-modal-fg);
    background: #1a1a1a;
  }

  .cns-f1c30f9:hover,
  .cns-f1c30f9:focus-visible {
    background: #333;
  }
}

.cns-46e3614 {
  display: none !important;
}

.cns-7703c9c {
  left: 1rem;
  right: auto;
  top: auto;
  bottom: 1rem;
  transform: none;
}

.cns-9dccdee {
  left: 50%;
  right: auto;
  top: auto;
  bottom: 1rem;
  transform: translateX(-50%);
}

.cns-c40fdc5 {
  left: auto;
  right: 1rem;
  top: auto;
  bottom: 1rem;
  transform: none;
}

.cns-2a4a1da {
  left: 1rem;
  right: auto;
  top: 1rem;
  bottom: auto;
  transform: none;
}

.cns-9cc4664 {
  left: 50%;
  right: auto;
  top: 1rem;
  bottom: auto;
  transform: translateX(-50%);
}

.cns-cbce08c {
  left: auto;
  right: 1rem;
  top: 1rem;
  bottom: auto;
  transform: none;
}

.cns-3ec21fc {
  left: 1rem;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.cns-2ad553a {
  left: auto;
  right: 1rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.cns-a71fc73 {
  padding: 15px;
  text-align: left;
  color: var(--cns-modal-fg);
}

.cns-a71fc73::after {
  content: '';
  display: block;
  width: 90%;
  height: 1px;
  margin: 0 auto;
  margin-top: 15px;
  background: var(--cns-modal-fg);
}

.cns-accdaf4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.cns-f53cbec {
  padding: 15px;
}

.cns-76725a4 {
  padding: 15px;
  color: var(--cns-modal-fg);
}

.cns-76725a4::before {
  content: '';
  display: block;
  width: 90%;
  height: 1px;
  margin: 0 auto 15px;
  background: var(--cns-modal-fg);
}

.cns-c2e7671 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cns-f1c30f9 {
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--cns-modal-fg);
  border-radius: 4px;
  background: #f5f5f5;
  color: var(--cns-modal-fg);
  font: inherit;
}

.cns-f1c30f9:hover,
.cns-f1c30f9:focus-visible {
  background: #e8e8e8;
}

.cns-f1c30f9:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
