/**
 * GateNoc Theme 2 — public chrome utilities
 */

.gn-font {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.gn-font-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.gn-container {
  width: 100%;
  max-width: min(var(--gn-container), 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1280px) {
  .gn-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.gn-section {
  padding-top: var(--gn-section-y);
  padding-bottom: var(--gn-section-y);
}

.gn-hero-title {
  font-size: var(--gn-text-hero);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--gn-text);
}

.gn-h1 {
  font-size: var(--gn-text-h1);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--gn-text);
}

.gn-h2 {
  font-size: var(--gn-text-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--gn-text);
}

.gn-h3 {
  font-size: var(--gn-text-h3);
  line-height: 1.25;
  font-weight: 600;
  color: var(--gn-text);
}

.gn-body {
  font-size: var(--gn-text-body);
  line-height: 1.6;
  color: var(--gn-text-secondary);
}

.gn-body-lg {
  font-size: var(--gn-text-body-lg);
  line-height: 1.6;
  color: var(--gn-text-secondary);
}

.gn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--gn-radius-btn);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color var(--gn-duration-hover) var(--gn-ease),
    color var(--gn-duration-hover) var(--gn-ease),
    border-color var(--gn-duration-hover) var(--gn-ease),
    box-shadow var(--gn-duration-hover) var(--gn-ease),
    transform var(--gn-duration-hover) var(--gn-ease);
}

.gn-btn:focus-visible {
  outline: 2px solid var(--gn-border-focus);
  outline-offset: 2px;
}

.gn-btn-primary {
  background: var(--gn-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--gn-shadow-sm);
}

.gn-btn-primary:hover {
  background: var(--gn-primary-hover);
  box-shadow: var(--gn-shadow-md);
  transform: translateY(-1px);
}

.gn-btn-secondary {
  background: var(--gn-surface);
  color: var(--gn-text);
  border: 1px solid var(--gn-border);
}

.gn-btn-secondary:hover {
  border-color: var(--gn-border-strong);
  box-shadow: var(--gn-shadow-sm);
  transform: translateY(-1px);
}

.gn-btn-ghost {
  background: transparent;
  color: var(--gn-text-secondary);
  border: 1px solid transparent;
}

.gn-btn-ghost:hover {
  color: var(--gn-primary);
}

.gn-input {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  background: var(--gn-input-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-input);
  color: var(--gn-text);
  font-size: var(--gn-text-body);
  transition: border-color var(--gn-duration-state) var(--gn-ease),
    box-shadow var(--gn-duration-state) var(--gn-ease);
}

.gn-input::placeholder {
  color: var(--gn-text-placeholder);
}

.gn-input:focus {
  outline: none;
  border-color: var(--gn-border-focus);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.gn-card {
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  box-shadow: var(--gn-shadow-sm);
}

.gn-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gn-text-secondary);
  transition: color var(--gn-duration-hover) var(--gn-ease);
}

.gn-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: var(--gn-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gn-duration-hover) var(--gn-ease);
}

.gn-nav-link:hover,
.gn-nav-link.is-active {
  color: var(--gn-text);
}

.gn-nav-link:hover::after,
.gn-nav-link.is-active::after {
  transform: scaleX(1);
}

/* Header */
.gn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--gn-header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: background-color var(--gn-duration-state) var(--gn-ease),
    border-color var(--gn-duration-state) var(--gn-ease),
    box-shadow var(--gn-duration-state) var(--gn-ease),
    backdrop-filter var(--gn-duration-state) var(--gn-ease);
}

.gn-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--gn-border);
  box-shadow: var(--gn-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--gn-header-height);
  gap: 1rem;
}

.gn-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 44px;
}

.gn-logo img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.gn-logo-wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gn-text);
  letter-spacing: -0.02em;
}

/* Mobile drawer */
.gn-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gn-duration-state) var(--gn-ease);
}

.gn-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gn-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(100%, 360px);
  height: 100%;
  background: var(--gn-surface);
  border-left: 1px solid var(--gn-border);
  box-shadow: var(--gn-shadow-lg);
  transform: translateX(100%);
  transition: transform var(--gn-duration-state) var(--gn-ease);
  display: flex;
  flex-direction: column;
}

.gn-drawer.is-open {
  transform: translateX(0);
}

/* Footer */
.gn-footer {
  background: var(--gn-slate-900);
  color: var(--gn-slate-300);
  padding-top: 80px;
  padding-bottom: 40px;
}

.gn-footer a {
  color: #fff;
  transition: color var(--gn-duration-hover) var(--gn-ease);
}

.gn-footer a:hover {
  color: var(--gn-primary);
}

.gn-footer-muted {
  color: var(--gn-slate-400);
}

.gn-footer-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gn-slate-500);
  margin-bottom: 1rem;
}

.gn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gn-slate-700);
  border-radius: var(--gn-radius-btn);
  color: var(--gn-slate-300);
}

.gn-social:hover {
  color: var(--gn-primary);
  border-color: var(--gn-primary);
}

.gn-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gn-slate-800);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--gn-text-sm);
  color: var(--gn-slate-500);
}

@media (max-width: 767px) {
  .gn-btn-full-mobile {
    width: 100%;
  }
}

/* —— Part 2: marketing page utilities —— */

.gn-section-alt {
  background: var(--gn-surface-alt);
}

.gn-section-surface {
  background: var(--gn-surface);
}

.gn-link {
  color: var(--gn-text-secondary);
  text-decoration: none;
  transition: color var(--gn-duration-hover) var(--gn-ease);
}

.gn-link:hover {
  color: var(--gn-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gn-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  padding: 1.5rem;
  box-shadow: var(--gn-shadow-sm);
  transition: border-color var(--gn-duration-hover) var(--gn-ease),
    box-shadow var(--gn-duration-hover) var(--gn-ease);
}

.gn-feature-card:hover {
  border-color: var(--gn-primary);
  box-shadow: var(--gn-shadow-md);
}

.gn-icon {
  width: 40px;
  height: 40px;
  color: var(--gn-text-secondary);
  flex-shrink: 0;
}

.gn-icon-lg {
  width: 48px;
  height: 48px;
}

.gn-icon-accent {
  color: var(--gn-primary);
}

.gn-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gn-text-secondary);
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-pill);
  padding: 0.375rem 0.75rem;
  min-height: 32px;
}

.gn-trust-chip svg {
  width: 14px;
  height: 14px;
  color: var(--gn-primary);
  flex-shrink: 0;
}

.gn-mono-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.gn-mono-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gn-slate-500);
  text-transform: uppercase;
}

.gn-mono-strip-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.gn-how-card {
  position: relative;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  padding: 1.75rem;
  box-shadow: var(--gn-shadow-sm);
  height: 100%;
}

.gn-how-arrow {
  display: none;
  color: var(--gn-slate-300);
}

@media (min-width: 768px) {
  .gn-how-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.gn-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  padding: 1.75rem;
  box-shadow: var(--gn-shadow-sm);
  transition: border-color var(--gn-duration-hover) var(--gn-ease),
    box-shadow var(--gn-duration-hover) var(--gn-ease);
}

.gn-pricing-card:hover {
  box-shadow: var(--gn-shadow-md);
}

.gn-pricing-card.is-popular {
  border-color: var(--gn-primary);
  border-width: 2px;
  box-shadow: var(--gn-shadow-md);
}

.gn-pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gn-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--gn-radius-pill);
  white-space: nowrap;
}

.gn-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gn-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gn-text-secondary);
  line-height: 1.45;
}

.gn-check-list li svg {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  color: var(--gn-primary);
  flex-shrink: 0;
}

.gn-accordion {
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  overflow: hidden;
  background: var(--gn-surface);
}

.gn-accordion-item + .gn-accordion-item {
  border-top: 1px solid var(--gn-border);
}

.gn-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gn-text);
  background: transparent;
  transition: background-color var(--gn-duration-hover) var(--gn-ease);
}

.gn-accordion-btn:hover {
  background: var(--gn-slate-50);
}

.gn-accordion-btn:focus-visible {
  outline: 2px solid var(--gn-border-focus);
  outline-offset: -2px;
}

.gn-accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--gn-text-muted);
  transition: transform var(--gn-duration-state) var(--gn-ease);
  flex-shrink: 0;
}

.gn-accordion-btn[aria-expanded="true"] .gn-accordion-icon {
  transform: rotate(180deg);
}

.gn-accordion-panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gn-text-secondary);
}

.gn-accordion-panel.is-open {
  display: block;
}

.gn-code-panel {
  background: var(--gn-code-bg);
  border-radius: var(--gn-radius-card);
  overflow: hidden;
  box-shadow: var(--gn-shadow-lg);
}

.gn-code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gn-slate-800);
  background: rgba(255, 255, 255, 0.03);
}

.gn-code-tab {
  min-height: 36px;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gn-slate-400);
  transition: color var(--gn-duration-hover) var(--gn-ease),
    background-color var(--gn-duration-hover) var(--gn-ease);
}

.gn-code-tab.is-active,
.gn-code-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.gn-code-body {
  padding: 1.25rem 1.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--gn-slate-300);
  overflow-x: auto;
  white-space: pre;
}

.gn-browser-frame {
  border: 1px solid var(--gn-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gn-surface);
  box-shadow: var(--gn-shadow-lg);
}

.gn-browser-frame--compact .gn-browser-chrome {
  padding: 0.5rem 0.75rem;
}

.gn-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--gn-slate-100);
  border-bottom: 1px solid var(--gn-border);
}

.gn-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gn-slate-300);
}

.gn-browser-url {
  flex: 1;
  margin-left: 0.5rem;
  height: 24px;
  border-radius: 6px;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  font-size: 0.6875rem;
  color: var(--gn-text-muted);
  display: flex;
  align-items: center;
  padding: 0 0.625rem;
  overflow: hidden;
  white-space: nowrap;
}

.gn-browser-preview {
  filter: blur(0.6px);
  transform: scale(1.01);
  transform-origin: top center;
  pointer-events: none;
  user-select: none;
}

.gn-alert {
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.gn-alert-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.gn-alert-success {
  background: var(--gn-primary-50);
  border: 1px solid var(--gn-primary-200);
  color: var(--gn-primary-800);
}

.gn-alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.gn-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  background: var(--gn-surface);
}

.gn-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.gn-compare-table th,
.gn-compare-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gn-border);
  text-align: left;
}

.gn-compare-table th {
  background: var(--gn-slate-50);
  font-weight: 600;
  color: var(--gn-text);
}

.gn-compare-table td:first-child,
.gn-compare-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--gn-surface);
  z-index: 1;
  font-weight: 600;
  color: var(--gn-text);
  box-shadow: 1px 0 0 var(--gn-border);
}

.gn-compare-table th:first-child {
  background: var(--gn-slate-50);
  z-index: 2;
}

.gn-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.gn-skeleton {
  background: linear-gradient(90deg, var(--gn-slate-100) 25%, var(--gn-slate-50) 50%, var(--gn-slate-100) 75%);
  background-size: 200% 100%;
  animation: gn-shimmer 1.2s ease-out infinite;
  border-radius: 8px;
}

@keyframes gn-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gn-skeleton {
    animation: none;
  }
  .gn-btn-primary:hover,
  .gn-btn-secondary:hover {
    transform: none;
  }
}

.gn-hero-landing {
  min-height: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.gn-container--hero {
  max-width: min(1440px, 100%);
}

@media (min-width: 1024px) {
  .gn-hero-landing {
    min-height: 0;
    display: block;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.gn-field-error {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--gn-danger);
}

/* Demo generate-invoice block */
.gn-demo-amount {
  position: relative;
  display: flex;
  align-items: center;
}
.gn-demo-amount__prefix {
  position: absolute;
  left: 14px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 650;
  color: var(--gn-text-muted);
  pointer-events: none;
}
.gn-demo-amount__input {
  padding-left: 2rem !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  min-height: 52px;
}
.gn-demo-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--gn-border);
  background: var(--gn-surface);
  color: var(--gn-text-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gn-demo-chip:hover {
  border-color: var(--gn-border-strong, var(--gn-border));
  color: var(--gn-text);
  background: var(--gn-slate-50);
}
.gn-demo-chip:focus-visible {
  outline: 2px solid var(--gn-border-focus);
  outline-offset: 2px;
}

.gn-demo-variants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.gn-demo-variant {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--gn-border);
  background: var(--gn-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.gn-demo-variant.is-selected {
  border-color: var(--gn-primary);
  background: var(--gn-primary-50);
  box-shadow: 0 0 0 1px var(--gn-primary);
}
.gn-demo-variant.is-soon {
  cursor: not-allowed;
  opacity: 0.72;
  background: var(--gn-slate-50);
  pointer-events: none;
  user-select: none;
}
.gn-demo-variant__name {
  font-size: 14px;
  font-weight: 650;
  color: var(--gn-text);
}
.gn-demo-variant__hint {
  font-size: 12px;
  color: var(--gn-text-muted);
}
.gn-demo-variant__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gn-text-muted);
  background: var(--gn-slate-100);
  border: 1px solid var(--gn-border);
}
@media (max-width: 639px) {
  .gn-demo-variants {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gn-spin 0.6s linear infinite;
  display: inline-block;
}

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

@media (prefers-reduced-motion: reduce) {
  .gn-spinner {
    animation: none;
    border-top-color: #fff;
    opacity: 0.7;
  }
}

/* —— Part 4: auth chrome + recovery —— */

.gn-auth-body {
  background-color: var(--gn-bg);
  background-image: radial-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}

.gn-auth-header {
  height: 64px;
  background: transparent;
  flex-shrink: 0;
}

.gn-auth-footer a {
  color: inherit;
  text-decoration: none;
}

.gn-auth-card {
  width: 100%;
  max-width: var(--gn-container-xs);
  margin-left: auto;
  margin-right: auto;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  box-shadow: var(--gn-shadow-md);
  padding: 32px;
}

.gn-auth-card-wide {
  max-width: 480px;
}

.gn-auth-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gn-primary);
  margin-bottom: 0.5rem;
}

.gn-auth-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: var(--gn-text);
}

.gn-auth-desc {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 22px;
  color: var(--gn-text-secondary);
  max-width: 360px;
}

.gn-pw-rules {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  border: 1px solid var(--gn-border);
  border-radius: 10px;
  background: var(--gn-slate-50);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.gn-pw-rules li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--gn-text-muted);
}

.gn-pw-rules li[data-state="met"] {
  color: var(--gn-primary);
  font-weight: 500;
}

.gn-pw-rules li[data-state="unmet"] {
  color: var(--gn-danger);
}

.gn-pw-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.gn-pw-meter span {
  height: 4px;
  border-radius: 999px;
  background: var(--gn-slate-200);
}

.gn-pw-meter[data-level="1"] span:nth-child(1) { background: var(--gn-danger); }
.gn-pw-meter[data-level="2"] span:nth-child(-n+2) { background: var(--gn-warning); }
.gn-pw-meter[data-level="3"] span:nth-child(-n+3) { background: var(--gn-info); }
.gn-pw-meter[data-level="4"] span { background: var(--gn-primary); }

.gn-pw-meter-label {
  margin-top: 0.375rem;
  font-size: 12px;
  color: var(--gn-text-muted);
}

.gn-toast-region {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 90;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.gn-admin-shell {
  width: 100%;
  max-width: var(--gn-container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .gn-admin-shell {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 2rem;
  }
}

.gn-admin-panel {
  background: var(--gn-slate-900);
  color: var(--gn-slate-300);
  border-radius: var(--gn-radius-card);
  padding: 2rem;
}

.gn-admin-panel h1 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gn-admin-panel .gn-admin-accent {
  color: var(--gn-primary-400, #4ADE80);
}

.gn-admin-card {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  background: var(--gn-surface);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-card);
  box-shadow: var(--gn-shadow-md);
  padding: 2rem;
}

@media (max-width: 899px) {
  .gn-admin-panel {
    display: none;
  }
  .gn-admin-mobile-note {
    display: block;
  }
}

.gn-admin-mobile-note {
  display: none;
}

@media (max-width: 480px) {
  .gn-auth-card,
  .gn-admin-card {
    border: 0;
    box-shadow: none;
    padding: 20px 0;
    background: transparent;
  }
  .gn-auth-title {
    font-size: 24px;
    line-height: 32px;
  }
  .gn-toast-region {
    top: 72px;
    left: 16px;
    right: 16px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gn-auth-body {
    background-image: none;
  }
}
