/* nle — the sign-in gate over the whole app.
   One section of the old nle.css. The pieces load in filename order
   and that order is the cascade, so do not rearrange them. */
/* ---------- THE SIGN-IN GATE COVERS THE WHOLE APP ----------

   It used to be confined to the generation column, on the reasoning that the
   panel is the thing you sign in to and the shell around it is not. That
   reasoning is wrong now and was probably always wrong to look at: signing in
   is not a state of one column, it is a state of the application. Nothing in
   the window works signed out — the timeline has no project to open, the
   shots grid has no folder to read, the node space has no models to call — so
   a gate over one fifth of the screen was a dialog that looked dismissable,
   sitting beside four panes that appeared usable and were not.

   Fixed to the window and centred in it, exactly like the project gate, which
   is the same kind of thing and has always done this.

   ABOVE EVERYTHING, INCLUDING THE RAIL. #railnav is deliberately z-index 300
   so that no room can ever bury the way out of itself — but the sign-in gate
   is the one thing that legitimately outranks that, because there is nowhere
   worth navigating to until it is answered. 950 rather than 900 puts it over
   the project gate too: you sign in, then you pick a project, and if the two
   are ever up together that is the order they have to be in. */
html.desktop.nle-on #authgate {
  position: fixed; inset: 0; z-index: var(--z-toast);
  display: flex; align-items: center; justify-content: center;
}
/* `.hidden` is `display: none !important` at the top of style.css, so it wins
   over the line above on its own — this is here so that stays true if that
   !important is ever cleaned up, which is exactly the tidy-up that would
   otherwise leave a sign-in gate nobody can dismiss. */
html.desktop.nle-on #authgate.hidden { display: none; }

/* ==================================================================
   THE EDITOR — the timeline, the viewer, the bin cards, the inspector.

   Every rule below is under `html.desktop.nle-on`, which is the only reason
   this is safe to add to a document that already carries a 130KB stylesheet
   for the panel. The engine these came from styled bare `input[type=file]`,
   `::-webkit-scrollbar` and `input[type=range]` at document level and set
   `:root{font-size:13px}` — dropped in here that would have hidden every
   file input in the panel, restyled every slider and moved every `rem`.
   ================================================================== */
