/* [project]/components/primitives/Modal.css [app-client] (css) */
.hn-modal__scrim {
  z-index: var(--z-modal, 400);
  background: #000000b8;
  justify-content: center;
  align-items: center;
  padding: clamp(.75rem, 2vw, 1.5rem);
  animation: .14s ease-out hn-modal-fade;
  display: flex;
  position: fixed;
  inset: 0;
}

.hn-modal {
  background: var(--surface-2, var(--panel, #162132));
  border: 1px solid var(--surface-4, var(--line-bright, #3b567a));
  width: 100%;
  max-height: calc(100vh - 2rem);
  box-shadow: 0 20px 60px #0000008c,
    inset 0 1px 0 color-mix(in srgb, var(--accent, #6cf) 35%, transparent);
  border-radius: 14px;
  outline: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: .18s cubic-bezier(.16, 1, .3, 1) hn-modal-pop;
  display: grid;
  position: relative;
  overflow: hidden;
}

.hn-modal:before {
  content: "";
  background: var(--accent, #6cf);
  pointer-events: none;
  z-index: 1;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hn-modal--sm {
  max-width: 28rem;
}

.hn-modal--md {
  max-width: 44rem;
}

.hn-modal--lg {
  max-width: 64rem;
}

.hn-modal--xl {
  max-width: 80rem;
}

@media (max-width: 640px) {
  .hn-modal__scrim {
    padding: 0;
  }

  .hn-modal {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    min-height: 100vh;
    max-height: 100vh;
  }
}

.hn-modal__head {
  border-bottom: 1px solid color-mix(in srgb, var(--accent, #6cf) 14%, var(--surface-4, #3b567a));
  background: color-mix(in srgb, var(--accent, #6cf) 4%, var(--surface-2, #162132));
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: clamp(.85rem, 1.4vw, 1.15rem) clamp(1rem, 1.6vw, 1.4rem);
  display: flex;
}

.hn-modal__head-titles {
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  display: flex;
}

.hn-modal__eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent, #6cf);
  font-size: .65rem;
  font-weight: 800;
}

.hn-modal__title {
  color: var(--ink, #e8eef8);
  letter-spacing: -.005em;
  margin: 0;
  font-size: clamp(1rem, .9rem + .5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
}

.hn-modal__close {
  min-width: var(--hit-min, 44px);
  min-height: var(--hit-min, 44px);
  border: 1px solid var(--surface-4, var(--line, #1e3252));
  color: var(--ink-dim, #7a8aaa);
  cursor: pointer;
  background: none;
  border-radius: 8px;
  flex: none;
  place-items: center;
  transition: color .12s, border-color .12s, background .12s;
  display: inline-grid;
}

.hn-modal__close:hover {
  color: var(--ink, #e8eef8);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.hn-modal__close:focus-visible {
  color: var(--ink, #e8eef8);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.hn-modal__body {
  min-height: 0;
  padding: clamp(.85rem, 1.4vw, 1.15rem) clamp(1rem, 1.6vw, 1.4rem);
  overflow: auto;
}

@media (max-width: 640px) {
  .hn-modal__head {
    padding: .625rem .875rem;
  }

  .hn-modal__body {
    padding: .75rem .875rem;
  }
}

.hn-modal__footer {
  border-top: 1px solid color-mix(in srgb, var(--accent, #6cf) 14%, var(--surface-4, #3b567a));
  background: color-mix(in srgb, var(--accent, #6cf) 3%, var(--surface-1, #111b2e));
}

@keyframes hn-modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hn-modal-pop {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hn-modal__scrim, .hn-modal {
    animation: none;
  }

  .hn-modal__close {
    transition: none;
  }
}

/*# sourceMappingURL=0-zj7vdt38q6s.css.map*/