/* neonatica design system: minimal, dark.
   Near-black page, hairline borders, system fonts, one accent colour per project.
   This file is shared verbatim between the neonatica projects. Set --accent in the project's own stylesheet. */
:root {
  --accent: #2fe0b0;                 /* the project colour: the only colour on the page */
  --accent-text: #0b0c0f;            /* text on top of --accent */
  --bg: #0b0c0f; --surface: #121318; --surface-2: #20232b;
  --text: #eceef2; --muted: #8a909d;
  --line: #23262e;                   /* hairlines */
  --border: #2d313b;                 /* stronger edges: inputs, buttons */
  --danger: #ff6b6b; --ok: #4ade80; --warn: #f5b301;
  --radius: 10px; --radius-sm: 6px; --gap: 8px; --shadow: 0 8px 24px #0008;
  --display: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  /* Legacy names, kept so older stylesheets keep working. */
  --accent-2: var(--accent); --accent-soft: color-mix(in srgb, var(--accent) 16%, var(--surface));
  --serif: var(--display); --outline: 1px solid var(--border); --shadow-c: transparent; --dots: transparent;
  color-scheme: dark;
}
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--display); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; animation-duration: 0s !important; } }

/* Components (opt in with the nx- prefix) */
.nx-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.nx-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font: inherit; font-size: 14px; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; }
.nx-btn:hover { border-color: var(--muted); }
.nx-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.nx-btn.primary:hover { filter: brightness(1.08); }
.nx-chip { display: inline-block; padding: 2px 10px; font: 12px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; }
.nx-mono { font-family: var(--mono); font-size: 12px; }
.nx-muted { color: var(--muted); }
.nx-accent { color: var(--accent); }

/* Page chrome shared by the neonatica homepage and admin */
.nx-page { max-width: 68rem; margin: 0 auto; padding: 28px 24px 40px; }
.nx-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-bottom: 16px; margin-bottom: 56px; border-bottom: 1px solid var(--line); font-size: 14px; }
.nx-header nav { display: flex; gap: 22px; color: var(--muted); margin-left: auto; }
.nx-header nav a { color: inherit; text-decoration: none; }
.nx-header nav a:hover { color: var(--text); }
.nx-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.nx-logo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nx-footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
