/*
 * Basis-Komponenten (5.3, 5.9.1, 5.11.2): Button, Chip, Formularfelder, Karte, Toast, Dialog,
 * Hinweis (notice) und Entwurfsbanner.
 *
 * Zustandsregeln (5.3.1):
 * - Hover nur in @media (hover: hover) and (pointer: fine), damit auf Touch nichts „klebt“.
 * - Fokus über :focus-visible mit outline (base.css), nie outline: none ohne Ersatz.
 * - Gedrückt eine Stufe dunkler bzw. heller; scale(.98) nur ohne reduzierte Bewegung.
 * - Deaktiviert: natives disabled oder aria-disabled="true"; laden: aria-busy="true".
 * - Fehler: aria-invalid="true" am Feld, Text mit Symbol darunter.
 * Selektoren, die Safari 16.4 nicht kennt, stehen in eigenen Regeln oder in @supports.
 */

/* ------------------------------------------------------------------- Button */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--control-h);
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-m);
  background: var(--c-surface);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-synthesis: none;
  font-size: var(--fs-m);
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

/* Trefferfläche immer mindestens 44 × 44 px, auch bei kleineren Knöpfen (5.3.2) */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, var(--tap-min));
  height: max(100%, var(--tap-min));
  transform: translate(-50%, -50%);
}

.btn > .icon {
  margin-inline: -2px;
}

/* Mit Maus: 40 px hoch (Trefferfläche bleibt 44 px über ::before) */
@media (hover: hover) and (pointer: fine) {
  .btn {
    min-height: var(--control-h-mouse);
  }
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-on-accent);
}

.btn-secondary {
  background: var(--c-surface);
  border-color: var(--c-border-strong);
  color: var(--c-text);
}

.btn-quiet {
  background: transparent;
  color: var(--c-accent-text);
}

.btn-danger {
  background: var(--c-danger);
  color: var(--c-on-danger);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--c-surface-2);
  }

  .btn-primary:hover {
    background: var(--c-accent-hover);
  }

  .btn-danger:hover {
    background: var(--c-danger);
    filter: brightness(.92);
  }
}

.btn:active {
  background: var(--c-surface-3);
}

.btn-primary:active {
  background: var(--c-accent-pressed);
}

.btn-danger:active {
  background: var(--c-danger);
  filter: brightness(.85);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: scale(.98);
  }
}

/* Deaktiviert: Text text-disabled, Fläche surface-2 */
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--c-surface-2);
  border-color: transparent;
  color: var(--c-text-disabled);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* Laden: Spinner ersetzt das Icon, die Breite bleibt gleich (Spinner 1,25 rem + Rand = Icon 1,5 rem) */
.btn[aria-busy="true"] {
  cursor: progress;
  pointer-events: none;
}

.btn[aria-busy="true"] > .icon {
  display: none;
}

.btn[aria-busy="true"]::after {
  content: "";
  order: -1;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .125rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

/* Icon-Knopf 44 × 44 (⋯, Glocke, Zurück) */
.btn-icon {
  width: var(--tap-min);
  height: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0;
  background: transparent;
  color: var(--c-text-muted);
}

.btn-icon > .icon {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-icon {
    min-height: var(--tap-min);
  }

  .btn-icon:hover {
    background: var(--c-surface-2);
    color: var(--c-text);
  }
}

.btn-icon:active {
  background: var(--c-surface-3);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------- Chip */

/*
 * Pille, 36 px hoch, 44 px Trefferfläche über ::before, Barlow 600 / 14 px (5.3.3).
 * <label class="chip"><input type="checkbox|radio"> Text</label> oder <button class="chip" aria-pressed>.
 */
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--chip-h);
  padding: 0 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-synthesis: none;
  font-size: var(--fs-s);
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.chip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: max(100%, var(--tap-min));
  transform: translateY(-50%);
}

/* Eingabe unsichtbar, aber fokussierbar und für Screenreader vorhanden */
.chip > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  font-size: var(--fs-m);
  opacity: 0;
}

.chip > .icon {
  width: 1.125rem;
  height: 1.125rem;
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover {
    background: var(--c-surface-3);
  }
}

/* Ausgewählt: Fläche accent-soft, Rand accent-text, Häkchen bzw. Punkt (5.3.1) */
.chip[aria-pressed="true"],
.chip[aria-current="page"] {
  background: var(--c-accent-soft);
  border-color: var(--c-accent-text);
}

.chip:has(> input:checked) {
  background: var(--c-accent-soft);
  border-color: var(--c-accent-text);
}

.chip[aria-pressed="true"]::after {
  content: "";
  order: -1;
  flex: none;
  width: .375rem;
  height: .6875rem;
  margin: -3px 2px 0 1px;
  border: solid var(--c-accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.chip:has(> input[type="checkbox"]:checked)::after {
  content: "";
  order: -1;
  flex: none;
  width: .375rem;
  height: .6875rem;
  margin: -3px 2px 0 1px;
  border: solid var(--c-accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.chip:has(> input[type="radio"]:checked)::after {
  content: "";
  order: -1;
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--c-accent-text);
}

/* Fokus: Ring am Label über :has(:focus-visible), Rückfall :focus-within (5.3.3) */
.chip:focus-within {
  outline: var(--focus-width) solid var(--c-focus);
  outline-offset: var(--focus-offset);
}

@supports selector(:has(*)) {
  .chip:focus-within {
    outline: none;
  }

  .chip:has(:focus-visible) {
    outline: var(--focus-width) solid var(--c-focus);
    outline-offset: var(--focus-offset);
  }
}

button.chip:focus-visible,
a.chip:focus-visible {
  outline: var(--focus-width) solid var(--c-focus);
  outline-offset: var(--focus-offset);
}

/* Deaktiviert */
.chip:disabled,
.chip[aria-disabled="true"] {
  border-color: var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text-disabled);
  cursor: not-allowed;
}

.chip:has(> input:disabled) {
  border-color: var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text-disabled);
  cursor: not-allowed;
}

/* ------------------------------------------------------------- Formularfelder */

.field {
  display: grid;
  gap: var(--sp-1);
  margin: 0 0 var(--sp-4);
  min-width: 0;
}

.field-label {
  color: var(--c-text);
  font-size: var(--fs-s);
  line-height: var(--lh-s);
  font-weight: 600;
}

/* Schrift 16 px, sonst zoomt iOS beim Fokussieren (5.11.2, 6.6.3) */
.field-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: var(--control-h);
  margin: 0;
  padding: 0 var(--sp-3);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-m);
  background: var(--c-surface);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-m);
  line-height: var(--lh-m);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}

textarea.field-input {
  min-height: 6.5rem;
  padding-block: var(--sp-3);
  resize: vertical;
}

/* Auswahlliste: Pfeil aus zwei Verläufen (keine Bilddatei, keine feste Farbe) */
select.field-input {
  padding-right: calc(var(--sp-3) + 24px);
  background-image: linear-gradient(45deg, transparent 50%, var(--c-text-muted) 50%),
    linear-gradient(135deg, var(--c-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field-input::placeholder {
  color: var(--c-text-placeholder);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .field-input:hover {
    border-color: var(--c-text-muted);
  }
}

.field-input:focus {
  border-color: var(--c-focus);
  outline: var(--focus-width) solid var(--c-focus);
  outline-offset: 0;
}

.field-input:disabled {
  border-color: transparent;
  background-color: var(--c-surface-2);
  color: var(--c-text-disabled);
  cursor: not-allowed;
}

.field-input[aria-invalid="true"] {
  border-color: var(--c-danger);
  box-shadow: inset 0 0 0 1px var(--c-danger);
}

.field-input[aria-invalid="true"]:focus {
  border-color: var(--c-danger);
}

.field-hint {
  color: var(--c-text-muted);
  font-size: var(--fs-s);
  line-height: var(--lh-s);
}

/*
 * Fehlertext mit Symbol: CSS-Zeichen, falls kein Icon im Markup steht. Das Symbol steht absolut
 * im linken Polster, damit Text mit Inline-Elementen normal umbricht.
 */
.field-error {
  position: relative;
  min-height: 1.25rem;
  padding-left: calc(1.125rem + var(--sp-2));
  color: var(--c-danger);
  font-size: var(--fs-s);
  line-height: var(--lh-s);
  font-weight: 600;
}

.field-error::before {
  content: "!";
  position: absolute;
  top: .0625rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--c-danger);
  color: var(--c-on-danger);
  font-size: .75rem;
  line-height: 1;
  font-weight: 700;
}

.field-error:has(> .icon)::before {
  content: none;
}

.field-error > .icon:first-child {
  position: absolute;
  top: .0625rem;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
}

/*
 * Checkbox-Zeile: Zeilenfläche mindestens 44 px, natives Steuerelement mit accent-color.
 * Das Kästchen steht absolut im linken Polster, damit Text mit Links ein Fluss bleibt.
 */
.field-check {
  position: relative;
  display: block;
  min-height: var(--tap-min);
  margin: 0 calc(-1 * var(--sp-2));
  padding: var(--sp-2) var(--sp-2) var(--sp-2) calc(var(--sp-2) + 1.25rem + var(--sp-3));
  border-radius: var(--r-m);
  cursor: pointer;
  line-height: var(--lh-m);
}

.field-check > input {
  position: absolute;
  top: calc(var(--sp-2) + .125rem);
  left: var(--sp-2);
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--c-accent-text);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .field-check:hover {
    background: var(--c-surface-2);
  }
}

.field-check:has(> input:disabled) {
  color: var(--c-text-disabled);
  cursor: not-allowed;
}

fieldset.field {
  padding: 0;
  border: 0;
}

fieldset.field > legend {
  margin-bottom: var(--sp-1);
  padding: 0;
}

/* Fehler an einer Gruppe: Rand danger am fieldset (5.3.2) */
fieldset.field:has(> .field-error) {
  padding: var(--sp-3);
  border: 1px solid var(--c-danger);
  border-radius: var(--r-m);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* Handy: Knöpfe füllen die Zeile; ab 600 px natürliche Breite */
.form-actions > .btn {
  flex: 1 1 auto;
}

@media (min-width: 600px) {
  .form-actions > .btn {
    flex: 0 0 auto;
  }
}

/* Honeypot: für Menschen, Screenreader und Tastatur unsichtbar */
.hp-field {
  display: none !important;
}

/* -------------------------------------------------------------------- Karte */

.card {
  position: relative;
  min-width: 0;
  padding: var(--sp-4);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-l);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-1);
}

.card > * + * {
  margin-top: var(--sp-2);
}

.card-title {
  font-family: var(--font-heading);
  font-synthesis: none;
  font-size: var(--fs-l);
  line-height: var(--lh-l);
  font-weight: 600;
}

.card-body {
  color: var(--c-text);
}

@media (min-width: 600px) {
  .card {
    padding: var(--sp-5);
  }
}

@media (hover: hover) and (pointer: fine) {
  .card:has(a:hover, button:hover) {
    box-shadow: var(--shadow-2);
  }
}

/* --------------------------------------------------------------------- Toast */

/* Unten mittig, am Desktop unten rechts; Info role="status", Fehler role="alert" (5.3.4) */
.toast-host {
  position: fixed;
  z-index: var(--z-toast);
  left: 50%;
  bottom: max(var(--sp-4), env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-2);
  width: min(calc(100% - 2 * var(--page-gutter)), 480px);
  transform: translateX(-50%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .toast-host {
    left: auto;
    right: max(var(--page-gutter), env(safe-area-inset-right));
    width: min(calc(100% - 2 * var(--page-gutter)), 400px);
    transform: none;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--control-h);
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4);
  border-radius: var(--r-m);
  background: var(--c-text);
  color: var(--c-surface);
  box-shadow: var(--shadow-3);
  font-size: var(--fs-s);
  line-height: var(--lh-s);
  pointer-events: auto;
}

.toast > :first-child {
  flex: 1 1 auto;
}

.toast .btn {
  flex: none;
  min-height: var(--tap-min);
  padding: 0 var(--sp-3);
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.toast-error {
  background: var(--c-danger);
  color: var(--c-on-danger);
}

@media (prefers-reduced-motion: no-preference) {
  .toast {
    animation: toast-in var(--dur-base) var(--ease-out);
  }
}

/* -------------------------------------------------------------------- Dialog */

/*
 * Natives <dialog> mit showModal() (5.9.1). Handy (< 600 px): Blatt von unten mit Griff,
 * ab 600 px zentriert, höchstens 560 px breit. Aufbau: Kopf, scrollender Inhalt, Fußleiste.
 */
.dialog {
  position: fixed;
  inset: auto 0 var(--kb-bottom, 0px) 0;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 16px - env(safe-area-inset-top));
  max-height: calc(100dvh - 16px - env(safe-area-inset-top));
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-card-border);
  border-bottom: 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.has-app-h .dialog {
  max-height: calc(var(--app-h) - 16px - env(safe-area-inset-top));
}

.dialog[open] {
  display: flex;
  flex-direction: column;
}

/* Griff des Blatts (nur Handy) */
.dialog[open]::before {
  content: "";
  flex: none;
  width: 36px;
  height: 4px;
  margin: var(--sp-2) auto 0;
  border-radius: var(--r-pill);
  background: var(--c-border-strong);
}

/*
 * Ältere Engines (u. a. Safari 16.4) vererben keine Custom Properties an ::backdrop.
 * Deshalb steht der helle Overlay-Wert als Rückfall in var().
 */
.dialog::backdrop {
  background: var(--c-overlay, rgba(21, 24, 28, .48));
}

.dialog-title {
  flex: none;
  padding: var(--sp-4) max(var(--sp-4), env(safe-area-inset-right)) 0 max(var(--sp-4), env(safe-area-inset-left));
  font-family: var(--font-heading);
  font-synthesis: none;
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 600;
}

.dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: var(--sp-3) max(var(--sp-4), env(safe-area-inset-right)) var(--sp-4) max(var(--sp-4), env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-body > * + * {
  margin-top: var(--sp-3);
}

/* Aktionsknopf als letztes Kind; unten nie unter dem Home-Indikator */
.dialog-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--sp-3);
  padding: var(--sp-3) max(var(--sp-4), env(safe-area-inset-right)) max(var(--sp-4), env(safe-area-inset-bottom))
    max(var(--sp-4), env(safe-area-inset-left));
  border-top: 1px solid var(--c-border);
}

.dialog-actions > .btn {
  flex: 1 1 auto;
}

@media (min-width: 600px) {
  .dialog {
    inset: 0;
    width: min(var(--dialog-width), calc(100% - 2 * var(--page-gutter)));
    max-height: calc(100vh - 2 * var(--sp-6));
    max-height: calc(100dvh - 2 * var(--sp-6));
    margin: auto;
    border-bottom: 1px solid var(--c-card-border);
    border-radius: var(--r-l);
  }

  .has-app-h .dialog {
    max-height: calc(var(--app-h) - 2 * var(--sp-6));
  }

  .dialog[open]::before {
    content: none;
  }

  .dialog-title {
    padding: var(--sp-5) var(--sp-5) 0;
  }

  .dialog-body {
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
  }

  .dialog-actions {
    padding: var(--sp-4) var(--sp-5);
  }

  .dialog-actions > .btn {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dialog[open] {
    animation: sheet-in var(--dur-slow) var(--ease-out);
  }

  .dialog[open]::backdrop {
    animation: fade-in var(--dur-slow) var(--ease-out);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 600px) {
  .dialog[open] {
    animation: dialog-in var(--dur-slow) var(--ease-out);
  }
}

/* --------------------------------------------------------- Hinweis (notice) */

/*
 * Symbol + Text, Text immer in --c-text auf der -soft-Fläche (5.2.1).
 * Ohne Icon im Markup zeichnet ::before ein Zeichen im Kreis.
 */
.notice {
  --notice-color: var(--c-info);
  position: relative;
  min-height: calc(1.375rem + 2 * var(--sp-3));
  padding: var(--sp-3) var(--sp-4) var(--sp-3) calc(var(--sp-4) + 1.375rem + var(--sp-3));
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--notice-color);
  border-radius: var(--r-m);
  background: var(--c-surface-2);
  color: var(--c-text);
  line-height: var(--lh-m);
}

.notice::before {
  content: "i";
  position: absolute;
  top: calc(var(--sp-3) + .0625rem);
  left: var(--sp-4);
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid var(--notice-color);
  border-radius: 50%;
  color: var(--notice-color);
  font-family: var(--font-ui);
  font-size: .8125rem;
  line-height: 1;
  font-weight: 600;
}

.notice:has(> .icon)::before {
  content: none;
}

.notice > .icon:first-child {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-4);
  width: 1.375rem;
  height: 1.375rem;
  color: var(--notice-color);
}

.notice-info {
  --notice-color: var(--c-info);
}

.notice-success {
  --notice-color: var(--c-success);
  background: var(--c-success-soft);
}

.notice-success::before {
  content: "✓";
}

.notice-warning {
  --notice-color: var(--c-warning);
  background: var(--c-warning-soft);
}

.notice-warning::before {
  content: "!";
}

.notice-danger {
  --notice-color: var(--c-danger);
  background: var(--c-danger-soft);
}

.notice-danger::before {
  content: "!";
}

/* ----------------------------------------------------------- Entwurfsbanner */

/* „ENTWURF – vor Veröffentlichung rechtlich prüfen lassen“ (3.29): Warnstreifen links */
.draft-banner {
  max-width: var(--read-width);
  padding: var(--sp-3) var(--sp-4) var(--sp-3) calc(10px + var(--sp-4));
  border: 1px solid var(--c-warning);
  border-radius: var(--r-m);
  background-color: var(--c-warning-soft);
  background-image: repeating-linear-gradient(-45deg, var(--c-warning) 0 5px, transparent 5px 10px);
  background-size: 10px 100%;
  background-repeat: no-repeat;
  color: var(--c-text);
  font-family: var(--font-ui);
  font-synthesis: none;
  font-size: var(--fs-s);
  line-height: var(--lh-s);
  font-weight: 600;
  letter-spacing: .02em;
}

/* --------------------------------------------------------- Kontrastmodus */

@media (forced-colors: active) {
  .btn,
  .chip,
  .card,
  .notice,
  .toast,
  .draft-banner,
  .field-input {
    border: 1px solid CanvasText;
  }

  .chip[aria-pressed="true"] {
    border: 2px solid Highlight;
  }

  .chip:has(> input:checked) {
    border: 2px solid Highlight;
  }

  .btn:disabled,
  .btn[aria-disabled="true"] {
    border-color: GrayText;
    color: GrayText;
  }
}

/* ------------------------------------------------------------- Animationen */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes sheet-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}

@keyframes dialog-in {
  from {
    transform: scale(.97);
    opacity: 0;
  }
}
