/* noteframe sign-in / create-account panel. Shared by the landing page and the studio gate. */
.nfa-root { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: rgba(4, 5, 5, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: "Instrument", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #ecece9; }
.nfa-root[hidden] { display: none; }
.nfa-root.is-page { background: #070808; backdrop-filter: none; }
.nfa-card { position: relative; width: min(420px, 100%); margin: auto; background: #0e1011; border: 1px solid rgba(236, 236, 234, .14); border-radius: 6px;
  padding: 28px 28px 24px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.nfa-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: #9a9f9f; border-radius: 4px; cursor: pointer; font-size: 18px; line-height: 1; }
.nfa-close:hover { color: #ecece9; background: rgba(236, 236, 234, .06); }
.nfa-brand { display: flex; align-items: center; gap: 8px; font: 500 11px/1 "JB", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #9a9f9f; }
.nfa-brand i { width: 7px; height: 7px; border-radius: 50%; background: #7fd0dc; }
.nfa-title { margin: 16px 0 6px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.nfa-lede { margin: 0 0 20px; color: #9a9f9f; font-size: 14px; line-height: 1.5; }
.nfa-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(236, 236, 234, .14); border-radius: 4px; padding: 2px; margin-bottom: 18px; }
.nfa-tabs button { height: 34px; border: 0; background: none; color: #9a9f9f; font: inherit; font-size: 13px; border-radius: 3px; cursor: pointer; }
.nfa-tabs button[aria-selected="true"] { background: rgba(236, 236, 234, .09); color: #ecece9; }
.nfa-google { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(236, 236, 234, .18); border-radius: 4px;
  background: #15181a; color: #ecece9; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.nfa-google:hover { border-color: rgba(236, 236, 234, .32); }
.nfa-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #62686a; font: 11px "JB", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.nfa-or::before, .nfa-or::after { content: ""; flex: 1; height: 1px; background: rgba(236, 236, 234, .1); }
.nfa-form { display: grid; gap: 12px; }
.nfa-field { display: grid; gap: 6px; }
.nfa-field label { display: flex; justify-content: space-between; font-size: 12px; color: #a0a5a5; }
.nfa-field label button { border: 0; background: none; color: #7fd0dc; font: inherit; font-size: 12px; cursor: pointer; padding: 0; }
.nfa-field input { height: 44px; width: 100%; border: 1px solid rgba(236, 236, 234, .16); border-radius: 4px; background: #070808; color: #ecece9; padding: 0 12px; font: inherit; font-size: 15px; outline: none; }
.nfa-field input:focus { border-color: #7fd0dc; box-shadow: 0 0 0 3px rgba(127, 208, 220, .14); }
.nfa-field input[aria-invalid="true"] { border-color: #ff8f87; }
.nfa-hint { font-size: 12px; color: #62686a; }
.nfa-err { display: none; border: 1px solid rgba(255, 143, 135, .3); background: rgba(255, 143, 135, .07); color: #ffb3ad; border-radius: 4px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.nfa-err.show { display: block; }
.nfa-ok { border: 1px solid rgba(127, 214, 168, .3); background: rgba(127, 214, 168, .07); color: #b6ecd0; border-radius: 4px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.nfa-submit { height: 46px; border: 0; border-radius: 4px; background: #7fd0dc; color: #04191d; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 4px; }
.nfa-submit:hover { background: #a6e2ea; }
.nfa-submit:disabled { opacity: .55; cursor: progress; }
.nfa-ghost { height: 42px; border: 1px solid rgba(236, 236, 234, .18); border-radius: 4px; background: none; color: #ecece9; font: inherit; font-size: 14px; cursor: pointer; }
.nfa-foot { margin: 18px 0 0; font-size: 12px; color: #62686a; line-height: 1.5; text-align: center; }
.nfa-foot a { color: #9a9f9f; text-decoration: underline; text-underline-offset: 2px; }
.nfa-mail { display: grid; gap: 12px; }
.nfa-mail b { font-weight: 600; color: #ecece9; }
.nfa-check { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; font-size: 13px; color: #a0a5a5; }
.nfa-check li { display: flex; gap: 10px; }
.nfa-check li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: #7fd0dc; }
.nfa-root :focus-visible { outline: 2px solid #7fd0dc; outline-offset: 2px; }
body.nfa-lock { overflow: hidden; }
@media (max-width: 480px) { .nfa-card { padding: 24px 18px 20px; } .nfa-title { font-size: 21px; } }
@media (prefers-reduced-motion: no-preference) { .nfa-card { animation: nfa-in .22s ease both; } @keyframes nfa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
