@charset "UTF-8";

:root {
  --nf-bg: #f4f6f8;
  --nf-bg-image: none;
  --nf-card: #ffffff;
  --nf-text: #1f2933;
  --nf-muted: #5f6c7b;
  --nf-primary: #79ad4b;
  --nf-primary-hover: #6a9842;
  --nf-secondary: #203a1d;
  --nf-border: #dde3ea;
  --nf-radius: 12px;
  --nf-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

body.nf-body-lock {
  overflow: hidden;
}

#wrapper.nf-wrapper-overlay {
  position: relative;
}

.nf-page {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background-color: var(--nf-bg);
  background-image: var(--nf-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: auto;
}

.nf-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.nf-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: var(--nf-card);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  box-shadow: var(--nf-shadow);
  padding: 28px 24px 24px;
  text-align: center;
}

.nf-brand {
  margin: -28px -24px 20px;
  padding: 10px 24px 0;
}

.nf-brand-logo {
  display: block;
  width: min(200px, 68vw);
  height: auto;
  margin: 0 auto;
}

.nf-brand-accent {
  height: 10px;
  margin: 10px -24px 0;
  background-color: var(--nf-primary);
}

.nf-code {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(121, 173, 75, 0.14);
  color: var(--nf-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nf-title {
  margin: 0 0 12px;
  color: var(--nf-text);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
}

.nf-lead {
  margin: 0 0 22px;
  color: var(--nf-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.nf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--nf-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nf-btn-primary:hover,
.nf-btn-primary:focus-visible {
  background: var(--nf-primary-hover);
  color: #fff;
  text-decoration: none;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 8px;
}

.nf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--nf-secondary);
  border-radius: 8px;
  background: #fff;
  color: var(--nf-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nf-btn-secondary:hover,
.nf-btn-secondary:focus-visible {
  background: #eef3ea;
  color: var(--nf-secondary);
  text-decoration: none;
}

.nf-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.nf-stack .nf-card {
  width: 100%;
  max-width: none;
}

.nf-copy-debug {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nf-copy-debug:hover,
.nf-copy-debug:focus-visible {
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

.nf-copy-debug.is-copied {
  background: rgba(121, 173, 75, 0.85);
  border-color: rgba(121, 173, 75, 0.95);
  color: #fff;
}

.nf-copy-debug__icon {
  display: block;
  pointer-events: none;
}

.nf-copy-debug__icon--done {
  display: none;
}

.nf-copy-debug.is-copied .nf-copy-debug__icon--copy {
  display: none;
}

.nf-copy-debug.is-copied .nf-copy-debug__icon--done {
  display: block;
}

.nf-copy-src {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nf-links-title {
  margin: 26px 0 10px;
  color: var(--nf-muted);
  font-size: 0.95rem;
}

.nf-links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nf-links a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--nf-border);
  border-radius: 999px;
  background: #f8fafb;
  color: var(--nf-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nf-links a:hover,
.nf-links a:focus-visible {
  background: #eef3ea;
  border-color: #c9ddb8;
  color: var(--nf-secondary);
  text-decoration: none;
}

.nf-search-label {
  display: block;
  margin: 0 0 8px;
  color: var(--nf-muted);
  font-size: 0.95rem;
  text-align: left;
}

.nf-search-form {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.nf-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--nf-border);
  border-radius: 8px;
  font-size: 1rem;
}

.nf-search-input:focus {
  outline: 2px solid rgba(121, 173, 75, 0.35);
  border-color: var(--nf-primary);
}

.nf-search-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--nf-secondary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nf-search-btn:hover,
.nf-search-btn:focus-visible {
  background: #0f1a0d;
}

.nf-back {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--nf-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nf-back:hover,
.nf-back:focus-visible {
  color: #0f1a0d;
}

.nf-tagline {
  margin: 0;
  color: var(--nf-muted);
  font-size: 0.88rem;
  font-style: italic;
}

@media (max-width: 575px) {
  .nf-card {
    padding: 24px 18px 18px;
  }

  .nf-brand {
    margin: -24px -18px 16px;
    padding: 8px 18px 0;
  }

  .nf-brand-accent {
    margin-left: -18px;
    margin-right: -18px;
  }

  .nf-search-form {
    flex-direction: column;
  }

  .nf-actions {
    flex-direction: column;
  }

  .nf-btn-primary,
  .nf-btn-secondary {
    width: 100%;
  }

  .nf-search-btn {
    width: 100%;
  }
}
